diff options
author | Ian Lance Taylor <ian@cygnus.com> | 1998-10-08 23:28:38 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-08 17:28:38 -0600 |
commit | 8af142753690529708d7da54d2a5a371ecd6d406 (patch) | |
tree | ce9ce44c640c6a55163c8ae142547168ea63ba05 | |
parent | 9f2f70f40485e9a96342c15f1a958343b489919b (diff) | |
download | gcc-8af142753690529708d7da54d2a5a371ecd6d406.zip gcc-8af142753690529708d7da54d2a5a371ecd6d406.tar.gz gcc-8af142753690529708d7da54d2a5a371ecd6d406.tar.bz2 |
missing: Update to version from automake 1.3.
Wed Jun 10 11:19:47 1998 Ian Lance Taylor <ian@cygnus.com>
* missing: Update to version from automake 1.3.
Bring over from devo.
From-SVN: r22946
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | missing | 62 |
2 files changed, 62 insertions, 4 deletions
@@ -171,6 +171,10 @@ Thu Jun 18 11:26:03 1998 Robert Lipe <robertl@dgii.com> * config.guess: Detection of Pentium II for *-sco-3.2v5*. +Wed Jun 10 11:19:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * missing: Update to version from automake 1.3. + Sat May 23 23:44:13 1998 Alexandre Oliva <oliva@dcc.unicamp.br> * Makefile.in (boostrap2-lean, bootstrap3-lean, @@ -41,9 +41,11 @@ Supported PROGRAM values: autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files - bison touch file \`y.tab.c' + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file - yacc touch file \`y.tab.c'" + yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) @@ -80,7 +82,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) @@ -100,7 +110,51 @@ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." - touch y.tab.c + rm -f y.tab.c y.tab.h + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if [ ! -f y.tab.h ]; then + echo >y.tab.h + fi + if [ ! -f y.tab.c ]; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if [ ! -f lex.yy.c ]; then + echo 'main() { return 0; }' >lex.yy.c + fi ;; makeinfo) |