From: Tom Tromey Date: Tue, 5 Aug 1997 23:36:52 +0000 (+0000) Subject: fix to missing program X-Git-Tag: Release-1-2b~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4753666669db4dcfd9671cbb57458f0b8b23d3c2;p=thirdparty%2Fautomake.git fix to missing program --- diff --git a/ChangeLog b/ChangeLog index 035fa8130..4c89e9687 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Aug 5 16:59:41 1997 Tom Tromey + * missing: Examine A[CM]_CONFIG_HEADER for name of files to + touch. From Markus F.X.J. Oberhumer. + * automake.in (require_file_internal): Better error message when installing. diff --git a/THANKS b/THANKS index ef676b0dc..6d5b5fee4 100644 --- a/THANKS +++ b/THANKS @@ -2,6 +2,7 @@ Automake was originally written by David J. MacKenzie . It would not be what it is today without the invaluable help of these people: +"Markus F.X.J. Oberhumer" Akim Demaille Alexander V. Lukyanov Alexandre Oliva diff --git a/lib/missing b/lib/missing index a6abd0698..79a3e4ed6 100755 --- a/lib/missing +++ b/lib/missing @@ -80,7 +80,15 @@ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." - touch config.h.in + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in` + if test -z "$files"; then + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in` + test -z "$files" || files="$files.in" + else + files=`echo "$files" | sed -e 's/:/ /g'` + fi + test -z "$files" && files="config.h.in" + touch $files ;; automake) diff --git a/missing b/missing index a6abd0698..79a3e4ed6 100755 --- a/missing +++ b/missing @@ -80,7 +80,15 @@ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." - touch config.h.in + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in` + if test -z "$files"; then + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in` + test -z "$files" || files="$files.in" + else + files=`echo "$files" | sed -e 's/:/ /g'` + fi + test -z "$files" && files="config.h.in" + touch $files ;; automake)