]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
fix to missing program
authorTom Tromey <tromey@redhat.com>
Tue, 5 Aug 1997 23:36:52 +0000 (23:36 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 5 Aug 1997 23:36:52 +0000 (23:36 +0000)
ChangeLog
THANKS
lib/missing
missing

index 035fa813044aa543c985e625ccbcf0e1e33a812f..4c89e96874bda3438048d4afc54ea2775d00147f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Tue Aug  5 16:59:41 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * 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 ef676b0dc7e516f3e314c91dc9f0875d6f011857..6d5b5fee4a3828ace7d56dc4113cb0430c261f51 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -2,6 +2,7 @@ Automake was originally written by David J. MacKenzie <djm@uunet.uu.net>.
 It would not be what it is today without the invaluable help of these
 people:
 
+"Markus F.X.J. Oberhumer" <k3040e4@wildsau.idv-edu.uni-linz.ac.at>
 Akim Demaille <demaille@inf.enst.fr>
 Alexander V. Lukyanov <lav@yars.free.net>
 Alexandre Oliva <oliva@dcc.unicamp.br>
index a6abd069801c46405ffa88e6b85edc5bbb07e32d..79a3e4ed66ba2e50e5ea2bb1f2b0705d5977ebde 100755 (executable)
@@ -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 a6abd069801c46405ffa88e6b85edc5bbb07e32d..79a3e4ed66ba2e50e5ea2bb1f2b0705d5977ebde 100755 (executable)
--- 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)