1. 18 May, 2010 1 commit
    • Glenn Morris's avatar
      Define some malloc objects with configure, not cpp. · be4ff9da
      Glenn Morris authored
      * configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables.
      * config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc.
      
      * src/Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
      (gmallocobj, vmlimitobj): Replace with previous two variables.
      (otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.
      
      * msdos/sed1v2.inp (GMALLOC_OBJ): Edit to gmalloc.o.
      (VMLIMIT_OBJ): Edit to vm-limit.o.
      be4ff9da
  2. 17 May, 2010 2 commits
  3. 16 May, 2010 6 commits
    • Glenn Morris's avatar
      * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir. · 9a436f0c
      Glenn Morris authored
      * configure: Regenerate.
      9a436f0c
    • Glenn Morris's avatar
      Tweak ns_app*dir values set by configure. · da53fab9
      Glenn Morris authored
      * configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value.
      * Makefile.in (install-arch-dep): Update for above change.
      
      * src/Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
      trailing "/".
      da53fab9
    • Glenn Morris's avatar
      Remove one variable from Makefile.in. · 58dfab18
      Glenn Morris authored
      * Makefile.in (ns_appdir): Remove.
      (install-arch-dep): Test $ns_appresdir instead of $ns_appdir.
      58dfab18
    • Glenn Morris's avatar
      Simplify temacs build rule. · b02a6645
      Glenn Morris authored
      * configure.in (TEMACS_LDFLAGS2): New output variable.
      * configure: Regenerate.
      
      * msdos/sed1v2.inp (TEMACS_LDFLAGS2): Edit to $(LDFLAGS).
      
      * src/Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
      (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.
      b02a6645
    • Glenn Morris's avatar
      Simplify temacs build rule. · 8877ca0f
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable.
      (START_FILES): Set to empty if NS_IMPL_GNUSTEP.
      (GNUSTEP_SYSTEM_HEADERS, GNUSTEP_SYSTEM_LIBRARIES): Do not output,
      nothing uses.
      
      * configure: Regenerate.
      
      * src/Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
      (LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
      (temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
      Make most of the NS_IMPL_GNUSTEP case the same as the default case.
      
      * msdos/sed1v2.inp (GNUSTEP_SYSTEM_LIBRARIES): Remove.
      (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): Edit to empty.
      8877ca0f
    • Dan Nicolaescu's avatar
      * configure.in: Remove references to usg5-4 and bsd-common, $opsys · 35a20d6c
      Dan Nicolaescu authored
      does not use them.
      (X11R5_INHIBIT_I18N): Remove, unused.
      35a20d6c
  4. 15 May, 2010 7 commits
    • Glenn Morris's avatar
      Always define LIBXMENU in src/Makefile.in. · 4235ca47
      Glenn Morris authored
      * configure.in (LIBXMENU): Set to empty if !HAVE_X_WINDOWS.
      
      * src/Makefile.in (LIBXMENU): Always define.
      
      * msdos/sed1v2.inp (LIBXMENU): Edit to empty.
      * msdos/sed1x.inp (LIBXMENU): Expect empty initial value.
      4235ca47
    • Glenn Morris's avatar
      Always define FONT_OBJ; to empty in the non-X case. · 6e546d18
      Glenn Morris authored
      * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS.
      
      * src/Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
      (obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ.
      
      * msdos/sed1v2.inp (FONT_OBJ): Edit to empty for non-X case.
      * msdos/sed1x.inp (FONT_OBJ): Edit to xfont.o for X case.
      6e546d18
    • Ken Raeburn's avatar
      Handle --version reasonably in CANNOT_DUMP configuration. · 8c5ff6dd
      Ken Raeburn authored
      * src/emacs.c (emacs_version, emacs_copyright): New string
      variables.
      (Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
      (syms_of_emacs): Defvar them, and initialize them from the C
      string variables.
      (main): If initialization hasn't been done, print initial version
      info from the C strings, instead of starting an interactive session.
      * lisp/version.el (emacs-copyright, emacs-version): Don't define
      here.
      * configure.in: Look for version string in its new place.
      8c5ff6dd
    • 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
  5. 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
  6. 13 May, 2010 3 commits
  7. 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
  8. 11 May, 2010 3 commits
  9. 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
  10. 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
  11. 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
  12. 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
  13. 04 May, 2010 3 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