# HG changeset patch # User Jim Blandy # Date 739522777 0 # Node ID 8324ae8fe473047c52696c69bcd1c44ccfc808fc # Parent 8399d8e4ad225d662143a93731ecb9a5e0a492be * ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these; people shouldn't edit this file to choose optimization and debugging switches anyway. ../configure will set CFLAGS to an appropriate default, which they will be able to override. * Makefile.in (xmakefile): Don't try to turn -g and -O in CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH. CFLAGS should be the sole source of such switches, so that setting CFLAGS controls them completely. diff -r 8399d8e4ad22 -r 8324ae8fe473 src/=Makefile.in --- a/src/=Makefile.in Tue Jun 08 06:20:56 1993 +0000 +++ b/src/=Makefile.in Tue Jun 08 06:59:37 1993 +0000 @@ -76,10 +76,7 @@ xmakefile: ymakefile config.h ../config.status -rm -f xmakefile xmakefile.new junk.c junk.cpp cp ${srcdir}/ymakefile junk.c - ${CPP} -I${srcdir} ${CFLAGS} junk.c > junk.cpp \ - -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ - | sed -e 's/-g /C_DEBUG_SWITCH /' \ - -e 's/-O[0-9]* /C_OPTIMIZE_SWITCH /'`" + ${CPP} -I${srcdir} ${CFLAGS} junk.c > junk.cpp < junk.cpp \ sed -e 's/^#.*//' \ -e 's/^[ \f\t][ \f\t]*$$//' \