From: fenner Date: Tue, 18 Jan 2000 03:46:49 +0000 (+0000) Subject: Move all Makefile munging (including "make depend") to config.status . X-Git-Tag: tcpdump-3.5.1~405 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5c9d36fd1213f0f4fd2470cd2ec7271b3d0ba775?ds=inline Move all Makefile munging (including "make depend") to config.status . Now it's not possible to overwrite the .devel Makefile changes by rerunning config.status (e.g. if Makefile.in changes) --- diff --git a/configure.in b/configure.in index 797a8ade..1f517837 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.99 2000-01-17 06:07:16 itojun Exp $ (LBL) +dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.100 2000-01-18 03:46:49 fenner Exp $ (LBL) dnl dnl Copyright (c) 1994, 1995, 1996, 1997 dnl The Regents of the University of California. All rights reserved. @@ -6,7 +6,7 @@ dnl dnl Process this file with autoconf to produce a configure script. dnl -AC_REVISION($Revision: 1.99 $) +AC_REVISION($Revision: 1.100 $) AC_PREREQ(2.13) AC_INIT(tcpdump.c) @@ -643,9 +643,10 @@ AC_PROG_INSTALL AC_CONFIG_HEADER(config.h) -AC_OUTPUT(Makefile) -if test -f .devel ; then - mv -f Makefile Makefile.normal - cat Makefile.normal Makefile-devel-adds > Makefile +AC_OUTPUT_COMMANDS([if test -f .devel; then + echo timestamp > stamp-h + cat Makefile-devel-adds >> Makefile make depend -fi +fi]) +AC_OUTPUT(Makefile) +exit 0