• Jim Blandy's avatar
    The GNU coding standards specify that CFLAGS should be left for · e4474817
    Jim Blandy authored
    	users to set.
    	* Makefile.in (CFLAGS): Let configure determine the default value
    	for this.  Don't
    	have it default to DEFS.
    	(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
    	(lib-src/Makefile, src/Makefile): Edit the default value for
    	CFLAGS into these files, not DEFS.
    	* configure.in (CFLAGS): Choose a default value for this - "-g"
    	normally, or "-g -O" if we're using GCC.  Edit it into the
    	top-level Makefile.
    
    	* configure.in: When scanning the machine and system description
    	#include files, write their names to conftest.c properly.
    
    	* configure.in: In configuration name case for Apallos running
    	Domainios, set opsys, not opsysfile.
    
    	* configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce
    	src/config.h, instead of AC_OUTPUT; the latter overwrites
    	src/config.h even when it hasn't changed, puts a makefile-style
    	comment at the top even though it's C code, and produces a
    	config.status script which doesn't do the job right.
    
    	* configure.in: Add AC_LN_S test, so we can tell whether or not we
    	can use a symbolic link to get the X Menu library into src.
    	* Makefile.in (LN_S): New variable.
    	(src/Makefile): Edit the value of LN_S into this makefile.
    e4474817
configure1.in 27.3 KB