automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing does not support configure.ac in CVS or in 1.4-p4


From: Kevin Dalley
Subject: missing does not support configure.ac in CVS or in 1.4-p4
Date: 10 Jun 2001 22:17:29 -0700
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Copyleft)

Martin Dickopp <address@hidden> reported noticed that the file
missing does not support configure.ac in either the latest CVS release
or in 1.4-p4.  This problem is limited to echo statements, but should
still be fixed.  Here is Martin's suggested patch:

diff -ur automake-1.4-p3.orig/missing automake-1.4-p3/missing
--- automake-1.4-p3.orig/missing        Mon Jan 11 05:53:30 1999
+++ automake-1.4-p3/missing     Sun Jun 10 01:56:12 2001
@@ -23,6 +23,12 @@
   exit 1
 fi
 
+if test -f configure.ac; then
+  configure_ac=configure.ac
+else
+  configure_ac=configure.in
+fi
+
 case "$1" in
 
   -h|--h|--he|--hel|--help)
@@ -61,7 +67,7 @@
   aclocal)
     echo 1>&2 "\
 WARNING: \`$1' is missing on your system.  You should only need it if
-         you modified \`acinclude.m4' or \`configure.in'.  You might want
+         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
          to install the \`Automake' and \`Perl' packages.  Grab them from
          any GNU archive site."
     touch aclocal.m4
@@ -70,7 +76,7 @@
   autoconf)
     echo 1>&2 "\
 WARNING: \`$1' is missing on your system.  You should only need it if
-         you modified \`configure.in'.  You might want to install the
+         you modified \`${configure_ac}'.  You might want to install the
          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
          archive site."
     touch configure
@@ -79,10 +85,10 @@
   autoheader)
     echo 1>&2 "\
 WARNING: \`$1' is missing on your system.  You should only need it if
-         you modified \`acconfig.h' or \`configure.in'.  You might want
+         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' 
${configure_ac}`
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
@@ -98,7 +104,7 @@
   automake)
     echo 1>&2 "\
 WARNING: \`$1' is missing on your system.  You should only need it if
-         you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
+         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
     find . -type f -name Makefile.am -print |


-- 
Kevin Dalley
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]