summaryrefslogtreecommitdiffstats
path: root/missing
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-22 08:08:22 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-22 08:08:22 +0000
commit151ad919455c7143abb03ba325d073e7f86523bc (patch)
tree352a946a9a021cf654cd9c81e8de516ff587ce85 /missing
parent3fdf82207a854f72901eca52b478968bf9a2ab36 (diff)
downloadppe42-gcc-151ad919455c7143abb03ba325d073e7f86523bc.tar.gz
ppe42-gcc-151ad919455c7143abb03ba325d073e7f86523bc.zip
merge with /cvs/src
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'missing')
-rwxr-xr-xmissing26
1 files changed, 14 insertions, 12 deletions
diff --git a/missing b/missing
index cbe2b0ef0e3..7789652e877 100755
--- a/missing
+++ b/missing
@@ -82,15 +82,17 @@ 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."
- 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
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case "$f" in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
;;
automake)
@@ -99,9 +101,9 @@ WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
- find . -type f -name Makefile.am -print \
- | sed 's/^\(.*\).am$/touch \1.in/' \
- | sh
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
;;
bison|yacc)
OpenPOWER on IntegriCloud