1. 15 May, 2010 4 commits
    • Eli Zaretskii's avatar
      config.bat: Remove support for DJGPP v1.x. · 78248b76
      Eli Zaretskii authored
      78248b76
    • Glenn Morris's avatar
      Choose dependency of oldxmenu using configure. · 1a82cca9
      Glenn Morris authored
      * configure.in (OLDXMENU_TARGET): New output variable.
      
      * src/Makefile.in (OLDXMENU_TARGET): New, set by configure.
      (really-lwlib, really-oldXMenu): Always define.
      ($OLDXMENU): Depend on $OLDXMENU_TARGET.
      
      * msdos/sed1v2.inp (OLDXMENU_TARGET): Edit to empty.
      * msdos/sed1x.inp (OLDXMENU_TARGET): Edit to really-oldxmenu.
      1a82cca9
    • Glenn Morris's avatar
      Minor NS build fixes. · 2b5f541b
      Glenn Morris authored
      * Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.
      
      * src/Makefile.in (${ns_appdir}): Simplify using umask.
      2b5f541b
    • Glenn Morris's avatar
      Remove references to CVS directories etc in Makefiles. · 02be533b
      Glenn Morris authored
      * Makefile.in (install-arch-indep): Remove references to RCS, CVS,
      and other files that no longer exist.
      
      * leim/Makefile.in (install): Remove references to CVS-related files.
      
      * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
      Remove references to CVS, RCS and Old directories.
      
      * src/Makefile.in (${ns_appdir}): Remove references to CVS-related files.
      02be533b
  2. 14 May, 2010 3 commits
    • Glenn Morris's avatar
      Move some undefs from src/Makefile.in to configure. · fbc00890
      Glenn Morris authored
      * configure.in (cpp_undefs): Add mktime, register, X11.
      
      * src/Makefile.in (mktime, X11, register): Move undefs to configure.
      
      * admin/CPP-DEFINES: Remove X11.
      fbc00890
    • Glenn Morris's avatar
      Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure. · 11842bd8
      Glenn Morris authored
      * configure.in (GPM_MOUSE_SUPPORT): Remove.
      (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): New output variables.
      (HAVE_WINDOW_SYSTEM, HAVE_MOUSE): Move out of AC_BOTTOM.
      
      * src/Makefile.in (REAL_MOUSE_SUPPORT): New constant.
      (GPM_MOUSE_SUPPORT): Now it's a constant.
      (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure, not cpp.
      
      * msdos/sed2x.inp (HAVE_WINDOW_SYSTEM): Define.
      * msdos/sed1x.inp (TOOLTIP_SUPPORT): Edit to ${lispsource}tooltip.elc.
      (WINDOW_SUPPORT): Edit to $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT).
      * msdos/sed1v2.inp (MOUSE_SUPPORT): Edit to $(REAL_MOUSE_SUPPORT).
      (TOOLTIP_SUPPORT, WINDOW_SUPPORT): Edit to empty.
      11842bd8
    • Glenn Morris's avatar
      Minor build simplification for NS. · 489d31a4
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_INC): New output variable.
      (GNUSTEP_MAKEFILES): Do not output.
      
      * src/Makefile.in (@NS_IMPL_GNUSTEP_INC@): Use in place of #ifdef.
      
      * msdos/sed1v2.inp (@NS_IMPL_GNUSTEP_INC@): Edit to nil.
      489d31a4
  3. 13 May, 2010 3 commits
  4. 12 May, 2010 2 commits
    • Glenn Morris's avatar
      Remove unused output variable LIB_SRC_EXTRA_INSTALLABLES. · 44b031a6
      Glenn Morris authored
      * configure.in (LIB_SRC_EXTRA_INSTALLABLES): Remove, unused.
      
      * lib-src/Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
      
      * msdos/sed3v2.inp (INSTALLABLES): No more @LIB_SRC_EXTRA_INSTALLABLES@.
      44b031a6
    • Glenn Morris's avatar
      Move LIB_GCC from cpp to configure. · 1a0d7c06
      Glenn Morris authored
      * configure.in (LIB_GCC): New output variable.
      
      * src/Makefile.in (LIB_GCC): Set using configure, not cpp.
      (GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
      * src/m/arm.h (LIB_GCC) [GNU_LINUX]:
      * src/s/cygwin.h (LIB_GCC):
      * src/s/freebsd.h (LIB_GCC):
      * src/s/gnu-linux.h (LIB_GCC):
      * src/s/msdos.h (LIB_GCC):
      * src/s/netbsd.h (LIB_GCC):
      Move to configure.
      
      * msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
      1a0d7c06
  5. 11 May, 2010 3 commits
  6. 10 May, 2010 3 commits
    • Glenn Morris's avatar
      Move LIBS_SYSTEM from cpp to configure. · 97efb629
      Glenn Morris authored
      * configure.in (LIBS_SYSTEM): New output variable, replacing cpp.
      
      * lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
      (NOT_C_CODE): Remove, no longer used.
      (config.h) [!MSDOS]: No longer include.
      (LOADLIBES): Use LIBS_SYSTEM as a variable.
      
      * src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
      (LIBES): Use LIBS_SYSTEM as a variable.
      * src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
      * src/s/aix4-2.h (LIBS_SYSTEM):
      * src/s/freebsd.h (LIBS_SYSTEM):
      * src/s/hpux10-20.h (LIBS_SYSTEM):
      * src/s/sol2-6.h (LIBS_SYSTEM):
      * src/s/unixware.h (LIBS_SYSTEM):
      Move to configure.
      
      * msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
      97efb629
    • Miles Bader's avatar
      Backport from trunk: close bug#5857. · 8290c6b9
      Miles Bader authored
      * configure.in: Get rid of "unix" pre-defined macro when
      preprocessing Makefile.  (Bug#5857)  [Backport from trunk]
      8290c6b9
    • Glenn Morris's avatar
      Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure. · 7490175b
      Glenn Morris authored
      * configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
      (BLESSMAIL_TARGET): New output variable.
      
      * lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
      
      * src/s/aix4-2.h (MAIL_USE_LOCKF):
      * src/s/bsd-common.h (MAIL_USE_FLOCK):
      * src/s/darwin.h (MAIL_USE_FLOCK):
      * src/s/gnu-linux.h (MAIL_USE_FLOCK):
      * src/s/irix6-5.h (MAIL_USE_FLOCK):
      * src/s/template.h (MAIL_USE_FLOCK):
      Move to configure.
      
      * src/s/ms-w32.h: Comment.
      
      * msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
      7490175b
  7. 08 May, 2010 2 commits
    • Chong Yidong's avatar
      Bump version to 23.2. · 61a808e8
      Chong Yidong authored
      61a808e8
    • Glenn Morris's avatar
      Move TERMINFO, LIBS_TERMCAP from cpp to configure. · 40c17879
      Glenn Morris authored
      * configure.in (HAVE_LIBNCURSES): New local variable.
      (TERMINFO, LIBS_TERMCAP, TERMCAP_OBJ): New output variables,
      replacing cpp in src/s/*.h and src/Makefile.in.
      
      * src/Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
      (TERMCAP_OBJ): New, set by configure, replacing termcapobj.
      (termcapobj): Replace with TERMCAP_OBJ.
      (otherobj): Use $TERMCAP_OBJ instead of $termcapobj.
      (LIBES): Use LIBS_TERMCAP as a variable.
      
      * src/s/freebsd.h (osreldate.h): No longer include, since this file
      does not use __FreeBSD_version any more.
      
      * srs/s/aix4-2.h (TERMINFO):
      * srs/s/cygwin.h (TERMINFO):
      * srs/s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/freebsd.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/hpux10-20.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/irix6-5.h (TERMINFO):
      * srs/s/netbsd.h (LIBS_TERMCAP):
      * srs/s/openbsd.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]:
      * srs/s/usg5-4.h (TERMINFO):
      Move to configure.
      
      * msdos/sed1v2.inp (LIBS_TERMCAP): Edit to empty.
      (TERMCAP_OBJ): Edit to tparam.o.
      
      * admin/CPP-DEFINES (LIBS_TERMCAP, TERMINFO): Remove.
      40c17879
  8. 07 May, 2010 4 commits
    • Vincent Belaïche's avatar
      * floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions. · 15e12598
      Vincent Belaïche authored
      * configure.in: Add tests for `isnan' and `copysign'.
      15e12598
    • Eli Zaretskii's avatar
      Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury). · f724825e
      Eli Zaretskii authored
       config.bat: Allow for 2 leading `#'s in comments in src/Makefile.in.
       src/Makefile.in: Don't use Make-style comments past the
       "start of cpp stuff" line.
      f724825e
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM from cpp to configure. · 2f86b22b
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
      Merges logic from src/s/* and src/Makefile.in.
      (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
      (LD_SWITCH_SYSTEM_EXTRA): New variable, set by configure.
      (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM and $LD_SWITCH_SYSTEM_EXTRA,
      move out of cpp section.
      * src/s/freebsd.h (LD_SWITCH_SYSTEM):
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM):
      * src/s/netbsd.h (LD_SWITCH_SYSTEM):
      
      * admin/CPP-DEFINES: Remove LD_SWITCH_SYSTEM.
      2f86b22b
    • Dan Nicolaescu's avatar
      Define LIB_STANDARD and START_FILES using autoconf. · 49ebbd65
      Dan Nicolaescu authored
      * s/usg5-4.h (LIB_STANDARD):
      * s/netbsd.h (START_FILES):
      * s/irix6-5.h (LIB_STANDARD):
      * s/hpux10-20.h (LIB_STANDARD, START_FILES):
      * s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * s/freebsd.h (START_FILES):
      * s/darwin.h (START_FILES):
      * s/cygwin.h (START_FILES):
      * s/aix4-2.h (LIB_STANDARD):
      * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in.
      * Makefile.in (STARTFILES): Rename to START_FILES, define using
      autoconf, not cpp.
      
      Define START_FILES and LIB_STANDARD using autoconf.
      * configure.in (START_FILES, LIB_STANDARD): New definitions, moved
      here from src/s/*.h.
      (HAVE_CRTIN): Remove, inline logic in the netbsd
      START_FILES/LIB_STANDARD computation.
      49ebbd65
  9. 06 May, 2010 1 commit
    • Glenn Morris's avatar
      Remove some unused Makefile.in variables. · e3cf0cde
      Glenn Morris authored
      * configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
      
      * Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
      (LD_SWITCH_X_SITE): Remove unused variables.
      
      * lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
      
      * oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
      (STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
      
      * src/Makefile.in (CPP, LN_S): Remove unused variables.
      
      * msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
      e3cf0cde
  10. 04 May, 2010 4 commits
    • Glenn Morris's avatar
      Yet another missing piece of C_SWITCH commit. · fa5e317a
      Glenn Morris authored
      * Makefile.in (C_SWITCH_SYSTEM): Use @C_SWITCH_SYSTEM@ rather than
      @c_switch_system@.
      
      * oldXMenu/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Use
      @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
      @c_switch_system@, @c_switch_machine@.
      fa5e317a
    • Glenn Morris's avatar
      Move LD_SWITCH_X_SITE_AUX from cpp to autoconf. · 27a2cdfc
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
      (LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
      
      * nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
      
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
      variable.
      * src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
      * src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
      LD_SWITCH_SYSTEM_tmp.
      * src/Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
      New variables, set by configure.
      27a2cdfc
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf. · eb21eab5
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      
      * src/s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure.
      (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM_TEMACS.
      eb21eab5
    • Glenn Morris's avatar
      Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf. · 49628785
      Glenn Morris authored
      * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
      variables, replacing c_switch_machine, c_switch_system.
      
      * src/s/aix4-2.h (C_SWITCH_SYSTEM):
      * src/m/alpha.h (C_SWITCH_MACHINE):
      Move to configure.in.
      * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
      New variables, set by configure.
      (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
      $c_switch_machine and $c_switch_system.
      
      * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
      rather than @c_switch_system@, @c_switch_machine@.
      49628785
  11. 03 May, 2010 4 commits
  12. 01 May, 2010 2 commits
    • Dan Nicolaescu's avatar
      Remove LD_SWITCH_MACHINE. · cd03c74a
      Dan Nicolaescu authored
      * Makefile.in (LD_SWITCH_MACHINE): Remove definition, unused.
      (TEMACS_LDFLAGS): Do not use LD_SWITCH_MACHINE.
      
      * configure.in (LD_SWITCH_MACHINE, ld_switch_machine): Remove, unused.
      (ac_link): Do not use ld_switch_machine.
      cd03c74a
    • Glenn Morris's avatar
      Rework previous autoconf changes, hopefully to make clearer. · 7acac9f4
      Glenn Morris authored
      * configure.in (OTHER_OBJ): Remove.
      (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New output variables.
      
      * configure: Regenerate.
      
      * src/Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null,
      for clarity.
      (OTHER_OBJ): Remove.
      (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure.
      (otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ.
      7acac9f4
  13. 30 Apr, 2010 3 commits
    • Glenn Morris's avatar
      Hopefully fix bug#6065. · 5a1bb006
      Glenn Morris authored
      * configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin.
      Elsewhere, maybe include it.
      * src/Makefile.in (vmlimitobj) [!SYSTEM_MALLOC]: New variable.
      (OTHER_OBJ): Define as a separate variable, for clarity.
      
      * configure: Regenerate.
      5a1bb006
    • Glenn Morris's avatar
      Replace some xmenu cpp with autoconf. · d5096f16
      Glenn Morris authored
      * configure.in (TOOLKIT_LIBW) [HAVE_GTK]: Set to $GTK_LIBS.
      (OLDXMENU, LIBXMENU): New output variables.
      * src/Makefile.in (OLDXMENU, LIBXMENU) [HAVE_MENUS]:
      Set with configure, not cpp.
      (LIBW): Remove, replace with $TOOLKIT_LIBW.
      d5096f16
    • Glenn Morris's avatar
      Replace some cpp with autoconf. · 7eb1ac33
      Glenn Morris authored
      * configure.in (OTHER_OBJ): New output variable.
      * src/Makefile.in (mallocobj): Remove.
      (otherobj): Simplify using @OTHER_OBJ@.
      7eb1ac33
  14. 28 Apr, 2010 2 commits