Re-run configure if Makefile.in, configure, or c-parse.in changes.
authormillert <millert@openbsd.org>
Mon, 7 Apr 1997 00:18:17 +0000 (00:18 +0000)
committermillert <millert@openbsd.org>
Mon, 7 Apr 1997 00:18:17 +0000 (00:18 +0000)
This should fix the problem people were seeing with gcc reporting
unresolved symbols (Makefile and Makefile.in were inconsistent).

gnu/usr.bin/gcc/Makefile.bsd-wrapper

index 00d5c1d..8174450 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile.bsd-wrapper,v 1.21 1996/12/16 01:07:22 downsj Exp $
+#      $OpenBSD: Makefile.bsd-wrapper,v 1.22 1997/04/07 00:18:17 millert Exp $
 
 MAN=           cccp.1 gcc.1 cp/g++.1 f/g77.1
 MLINKS+=       gcc.1 cc.1
@@ -32,10 +32,10 @@ config: .FORCE
        /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
                --prefix=/usr --local-prefix=/usr \
                --gxx-include=${GPP_INC_DIR} ${GCCARCH}
-config.status:
+config.status: Makefile.in configure c-parse.in
        /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
                --prefix=/usr --local-prefix=/usr \
-               --gxx-include=${GPP_INC_DIR} ${GCCARCH}
+               --gxx-include=${GPP_INC_DIR} ${GCCARCH} && touch config.status
 
 install:       maninstall
        ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \