summaryrefslogtreecommitdiff
blob: 16607a22b9b14e9d6e11139508c6a25653b6633a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
echo -n isn't supported by all shells, use printf instead, which is portable.

Patch by Andrew Miller.

https://bugs.gentoo.org/529992

--- a/configure
+++ b/configure
@@ -235,10 +235,7 @@
 
 echo 'Generating MCONFIG...'
 (
-    echo -n '# Generated by configure (confgen version 2) on '
-    date
-    echo '#'
-    echo
+    printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n"
 
     echo "SBINDIR=$SBINDIR"
     echo "MANDIR=$MANDIR"