From: Akim Demaille Date: Wed, 29 Nov 2000 16:08:43 +0000 (+0000) Subject: * acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use X-Git-Tag: autoconf-2.50~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0efbaeec6b7c2abb0956b7c3fa6540f9ee6b10bf;p=thirdparty%2Fautoconf.git * acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use `... echo "error: \`$f'" ...` as it's not portable to BSDI 1.3. Do this instead: `... echo "error: $f" ...` Reported by Daniele Arena. --- diff --git a/ChangeLog b/ChangeLog index 6be75c1cb..6cef0b786 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-11-29 Akim Demaille + + * acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use + `... echo "error: \\\`$f'" ...` + as it's not portable to BSDI 1.3. + Do this instead: + `... echo "error: $f" ...` + Reported by Daniele Arena. + 2000-11-29 Akim Demaille QNX 4.2.5's expr always exits 1 when `:' is used with parens. diff --git a/THANKS b/THANKS index 6696d3c25..ab8ee6631 100644 --- a/THANKS +++ b/THANKS @@ -26,6 +26,7 @@ Christian Krackowizer ckrackowiz@std.schuler-ag.com Christian Krone krischan@sql.de Chris Torek torek@bsdi.com Cort Dougan cort@cs.nmt.edu +Daniele Arena daniele@ripe.net Dave Adams adams@hpesdwa.fc.hp.com Dave Love fx@gnu.org David Morgan dmorgan@symark.com diff --git a/acgeneral.m4 b/acgeneral.m4 index 08806f288..f3c5c460d 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -4179,7 +4179,7 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], -) echo $tmp/stdin ;; [[\\/$]]* | ?:[[\\/]]*) # Absolute - test -f "$f" || AC_MSG_ERROR([cannot find input file \\`$f']) + test -f "$f" || AC_MSG_ERROR([cannot find input file: $f]) echo $f;; *) # Relative if test -f "$f"; then @@ -4190,7 +4190,7 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], echo $ac_given_srcdir/$f else # /dev/null tree - AC_MSG_ERROR([cannot find input file \\`$f']) + AC_MSG_ERROR([cannot find input file: $f]) fi;; esac done` || AS_EXIT([1]) @@ -4326,7 +4326,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue -) echo $tmp/stdin ;; [[\\/$]]* | ?:[[\\/]]*) # Absolute - test -f "$f" || AC_MSG_ERROR([cannot find input file \\`$f']) + test -f "$f" || AC_MSG_ERROR([cannot find input file: $f]) echo $f;; *) # Relative if test -f "$f"; then @@ -4337,7 +4337,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue echo $ac_given_srcdir/$f else # /dev/null tree - AC_MSG_ERROR([cannot find input file \\`$f']) + AC_MSG_ERROR([cannot find input file: $f]) fi;; esac done` || AS_EXIT([1]) diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 08806f288..f3c5c460d 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -4179,7 +4179,7 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], -) echo $tmp/stdin ;; [[\\/$]]* | ?:[[\\/]]*) # Absolute - test -f "$f" || AC_MSG_ERROR([cannot find input file \\`$f']) + test -f "$f" || AC_MSG_ERROR([cannot find input file: $f]) echo $f;; *) # Relative if test -f "$f"; then @@ -4190,7 +4190,7 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], echo $ac_given_srcdir/$f else # /dev/null tree - AC_MSG_ERROR([cannot find input file \\`$f']) + AC_MSG_ERROR([cannot find input file: $f]) fi;; esac done` || AS_EXIT([1]) @@ -4326,7 +4326,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue -) echo $tmp/stdin ;; [[\\/$]]* | ?:[[\\/]]*) # Absolute - test -f "$f" || AC_MSG_ERROR([cannot find input file \\`$f']) + test -f "$f" || AC_MSG_ERROR([cannot find input file: $f]) echo $f;; *) # Relative if test -f "$f"; then @@ -4337,7 +4337,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue echo $ac_given_srcdir/$f else # /dev/null tree - AC_MSG_ERROR([cannot find input file \\`$f']) + AC_MSG_ERROR([cannot find input file: $f]) fi;; esac done` || AS_EXIT([1]) diff --git a/tests/torture.at b/tests/torture.at index e066ba253..8b1f4a271 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -70,7 +70,7 @@ AC_OUTPUT AT_CHECK_AUTOCONF AT_CHECK([./configure], 1, ignore, -[[config.status: error: cannot find input file `nonexistent.in' +[[config.status: error: cannot find input file: nonexistent.in ]]) # Make sure that the output file doesn't exist AT_CHECK([test -f nonexistent], 1)