aboutsummaryrefslogtreecommitdiff
path: root/texinfo/missing
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-03-24 12:41:43 -0700
committerJeff Law <law@gcc.gnu.org>1998-03-24 12:41:43 -0700
commitd275726b338f876c210555d7eadf8c3d81bae6a5 (patch)
tree136f1d20658da254fd386793ce216800b7356521 /texinfo/missing
parentf35e74f9a615e8b93da23af446667ee0bbfad0d0 (diff)
downloadgcc-d275726b338f876c210555d7eadf8c3d81bae6a5.zip
gcc-d275726b338f876c210555d7eadf8c3d81bae6a5.tar.gz
gcc-d275726b338f876c210555d7eadf8c3d81bae6a5.tar.bz2
Merge in texinfo-3.12.
From-SVN: r18811
Diffstat (limited to 'texinfo/missing')
-rwxr-xr-xtexinfo/missing10
1 files changed, 9 insertions, 1 deletions
diff --git a/texinfo/missing b/texinfo/missing
index a6abd06..79a3e4e 100755
--- a/texinfo/missing
+++ b/texinfo/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)