acconfig.h: Revert.
[platform/upstream/gcc.git] / contrib / gcc_update
index a8d2ed7..486d9fe 100755 (executable)
@@ -43,6 +43,8 @@ UPDATE_OPTIONS=-P
 #        locally.
 # Add -A to reset any sticky tags, dates, or `-k' options.
 
+# Arrange for the value of $0 to be available for functions
+self=$0
 
 # This function prints a list of all generated files, along with their
 # dependencies.  Note that only one target is supported per line: the
@@ -63,19 +65,11 @@ texinfo/util/Makefile.in: texinfo/util/Makefile.am texinfo/configure.in texinfo/
 gcc/configure: gcc/configure.in
 gcc/cstamp-h.in: gcc/configure.in gcc/acconfig.h
 gcc/config.in: gcc/cstamp-h.in
-gcc/c-parse.y: gcc/c-parse.in
-gcc/c-parse.c: gcc/c-parse.y
-gcc/c-parse.h: gcc/c-parse.c
 gcc/c-gperf.h: gcc/c-parse.gperf
 gcc/fixinc/fixincl.x: gcc/fixinc/fixincl.tpl gcc/fixinc/inclhack.def
+gcc/tradcif.c: gcc/tradcif.y
 # And then, language-specific files
-gcc/cp/parse.c: gcc/cp/parse.y
-gcc/cp/parse.h: gcc/cp/parse.c
-gcc/objc/objc-parse.y: gcc/c-parse.in
-gcc/objc/objc-parse.c: gcc/objc/objc-parse.y
 gcc/java/parse.h: gcc/java/parse.y
-gcc/java/parse.c: gcc/java/parse.y gcc/java/lex.c gcc/java/parse.h gcc/java/lex.h
-gcc/java/parse-scan.c: gcc/java/parse-scan.y gcc/java/lex.c gcc/java/parse.h gcc/java/lex.h
 # And libraries, at last
 libchill/configure: libchill/configure.in
 libf2c/configure: libf2c/configure.in
@@ -117,7 +111,7 @@ touch_files () {
 # dependencies and rules will be used.
 touch_files_reexec () {
     echo "Adjusting file timestamps"
-    exec ${CONFIG_SHELL-/bin/sh} $0 --touch
+    exec ${CONFIG_SHELL-/bin/sh} $self --touch
 }    
 
 # This functions applies a patch to an existing tree.