From: Glenn Morris Date: Tue, 31 Jul 2012 06:52:13 +0000 (-0700) Subject: * configure.ac (opsysfile, S_FILE): Now they are always empty. X-Git-Tag: emacs-24.2.90~972 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3a56300576ddf134de691b3b3b1e5610331f515;p=emacs.git * configure.ac (opsysfile, S_FILE): Now they are always empty. --- diff --git a/ChangeLog b/ChangeLog index 8d4b71742ec..6250248c305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-07-31 Glenn Morris + * configure.ac (opsysfile, S_FILE): Now they are always empty. + * configure.ac (opsysfile): Forgot to set it to empty on sol2-10 when removing src/s/sol2-6.h yesterday. diff --git a/configure.ac b/configure.ac index 78e70138797..6776c09a8bc 100644 --- a/configure.ac +++ b/configure.ac @@ -365,9 +365,6 @@ case "${srcdir}" in * ) srcdir="`(cd ${srcdir}; pwd)`" ;; esac -#### Given the configuration name, set opsysfile to the -#### name of s/*.h file we should use. - ### Canonicalize the configuration name. AC_CANONICAL_HOST @@ -555,8 +552,6 @@ if test $unported = yes; then Check `etc/MACHINES' for recognized configuration names.]) fi -opsysfile="s/${opsys}.h" - #### Choose a compiler. @@ -3689,7 +3684,6 @@ AH_TEMPLATE(USG5_4, [Define if the system is compatible with System V Release 4. case $opsys in aix4-2) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(USG5, []) dnl This symbol should be defined on AIX Version 3 ??????? @@ -3701,12 +3695,10 @@ case $opsys in ;; cygwin) - opsysfile= AC_DEFINE(CYGWIN, 1, [Define if the system is Cygwin.]) ;; darwin) - opsysfile= dnl BSD4_3 and BSD4_4 are already defined in sys/param.h. AC_DEFINE(BSD4_2, []) AC_DEFINE(BSD_SYSTEM, []) @@ -3718,7 +3710,6 @@ case $opsys in ;; freebsd) - opsysfile= AC_DEFINE(BSD4_2, []) dnl Hack to avoid calling AC_PREPROC_IFELSE multiple times. dnl Would not be needed with autoconf >= 2.67, where the @@ -3736,20 +3727,17 @@ case $opsys in ;; gnu-linux | gnu-kfreebsd ) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(GNU_LINUX, [], [Define if ths system is compatible with GNU/Linux.]) ;; hpux*) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(USG5, []) AC_DEFINE(HPUX, [], [Define if the system is HPUX.]) ;; irix6-5) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(USG5, []) AC_DEFINE(USG5_4, []) @@ -3757,7 +3745,6 @@ case $opsys in ;; sol2*) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(USG5, []) AC_DEFINE(USG5_4, []) @@ -3765,7 +3752,6 @@ case $opsys in ;; unixware) - opsysfile= AC_DEFINE(USG, []) AC_DEFINE(USG5, []) AC_DEFINE(USG5_4, []) @@ -3784,8 +3770,6 @@ case $opsys in using GTK.]) ;; - gnu) opsysfile= ;; - hpux11) dnl See comments in sysdep.c:sys_signal. dnl SA_RESTART resets the timeout of `select' on hpux11. @@ -3806,12 +3790,9 @@ case $opsys in should not call setpgrp.]) ;; - netbsd | openbsd ) opsysfile= ;; - sol2-10) AC_DEFINE(_STRUCTURED_PROC, 1, [Needed for system_process_attributes on Solaris.]) - opsysfile= ;; esac @@ -3865,11 +3846,7 @@ AC_SUBST(GNUSTEP_CFLAGS) AC_SUBST(CFLAGS) ## Used in lwlib/Makefile.in. AC_SUBST(X_TOOLKIT_TYPE) -if test -n "${opsysfile}"; then - S_FILE="\$(srcdir)/${opsysfile}" -else - S_FILE= -fi +S_FILE= AC_SUBST(S_FILE) AC_SUBST(ns_appdir) AC_SUBST(ns_appbindir) @@ -3882,9 +3859,8 @@ AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", [Define to the canonical Emacs configuration name.]) AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}", [Define to the options passed to configure.]) -if test -n "$opsysfile"; then - AC_DEFINE_UNQUOTED(config_opsysfile, "${opsysfile}", - [Define to the used os dependent file.]) +if test -z "No longer used"; then + AC_DEFINE(config_opsysfile, [], [Define to the used os dependent file.]) fi XMENU_OBJ= @@ -4247,7 +4223,6 @@ echo " Configured for \`${canonical}'. Where should the build process find the source code? ${srcdir} - What operating system file should Emacs use? ${opsysfile:-none} What compiler should emacs be built with? ${CC} ${CFLAGS} Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}