1. 04 May, 2010 2 commits
    • 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
  2. 03 May, 2010 2 commits
  3. 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
  4. 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
  5. 28 Apr, 2010 6 commits
  6. 27 Apr, 2010 8 commits
    • Glenn Morris's avatar
      Move LIBXTR6 from cpp to autoconf. · 8fdac2c3
      Glenn Morris authored
      * configure.in (LIBXTR6): New output variable.  Move unixware special
      case here from src/s/unixware.h.
      
      * src/Makefile.in (LIBXTR6): Set with configure, not cpp.
      * src/s/unixware.h (NEED_LIBW): Remove definition.
      
      * admin/CPP-DEFINES: Remove NEED_LIBW.
      8fdac2c3
    • Glenn Morris's avatar
      Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW. · 986fb647
      Glenn Morris authored
      * configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute in Makefiles.
      (TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW.
      
      * src/Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
      (TOOLKIT_LIBW): New, set by configure.
      (@X_TOOLKIT_TYPE@): No longer define it.
      986fb647
    • Glenn Morris's avatar
      Move MOTIF_LIBW to autoconf. · c6ea2936
      Glenn Morris authored
      * configure.in (HAVE_MOTIF_2_1): Remove unused variable.
      (LIBXP): No longer substitute in Makefiles.
      (MOTIF_LIBW): New output variable.  Move system-specific settings here
      from src/s files.
      
      * src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
      (MOTIF_LIBW): Set with configure, not cpp.
      * s/aix4-2.h (LIB_MOTIF):
      * s/gnu-linux.h (LIB_MOTIF):
      * s/unixware.h (LIB_MOTIF): Move to configure.in.
      
      * admin/CPP-DEFINES: Remove LIB_MOTIF.
      c6ea2936
    • Dan Nicolaescu's avatar
      Reduce CPP usage. · ed6281b0
      Dan Nicolaescu authored
      * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE, C_SWITCH_X_SITE): Remove
      definitions and undefs.  Inline definitions in the only user.
      (ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf.
      
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      
      * configure.in (C_SWITCH_X_SYSTEM): Define using autoconf, not cpp.
      ed6281b0
    • Dan Nicolaescu's avatar
      Reduce CPP usage. · aaa36002
      Dan Nicolaescu authored
      * Makefile.in (LIB_X11_LIB): Remove, inline in the only user.
      (obj): Use autoconf for unexec instead of cpp.
      
      * configure.in (LIB_X11_LIB): Remove, inline in the only user.
      (unexec): Define unconditionally, all platforms define
      UNEXEC.  AC_SUBST it.
      (UNEXEC_SRC): Remove, unused.
      aaa36002
    • Glenn Morris's avatar
      Remove some AC_DEFINEs that are now unused. · 8ea5f2d9
      Glenn Morris authored
      * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
      replaced by LIBXP.
      
      * configure, src/config.in: Regenerate.
      8ea5f2d9
    • Glenn Morris's avatar
      Use $CRT_DIR in more places. · 76cda504
      Glenn Morris authored
      * configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
      (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
      On hpux10-20, default to /lib.
      
      * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
      since the defaults (set by the system file) are fine in most cases.
      [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
      * src/m/ibms390x.h (START_FILES, LIB_STANDARD):
      * src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
      * src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
      Remove definitions, since they are set correctly in s/gnu-linux.h.
      * src/s/freebsd.h (START_FILES, LIB_STANDARD):
      * src/s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * src/s/hpux10-20.h (START_FILES):
      * src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
      Use $CRT_DIR in place of fixed /usr/lib, /lib directories.
      
      * src/Makefile.in: Comment.
      76cda504
    • Glenn Morris's avatar
      Replace some more cpp with autoconf. · b678dd8b
      Glenn Morris authored
      * configure.in (LUCID_LIBW, LIBXP, WIDGET_OBJ): New output variables.
      
      * src/Makefile.in (LIBXP, LUCID_LIBW, WIDGET_OBJ): Set via configure.
      (MOTIF_LIBW): Use $LIBXP.
      (otherobj): Use $WIDGET_OBJ.
      b678dd8b
  7. 26 Apr, 2010 1 commit
  8. 24 Apr, 2010 1 commit
    • Glenn Morris's avatar
      Close bug#5655. · 70eab5c1
      Glenn Morris authored
      * configure.in (CRT_DIR): New output variable.
      (--with-crt-dir): New option.  (Bug#5655)
      (HAVE_LIB64_DIR): Remove.
      
      * src/Makefile.in (CRT_DIR): New variable, set by configure.
      * src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
      Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
      70eab5c1
  9. 23 Apr, 2010 1 commit
  10. 22 Apr, 2010 2 commits
  11. 21 Apr, 2010 5 commits
    • Andreas Schwab's avatar
      Avoid non-portable shell command negation · bf3126f6
      Andreas Schwab authored
      * configure.in: Revert last change.
      bf3126f6
    • Jan Djärv's avatar
      configure.in: Change "if test ! -f" to "if ! test -f". · e765bf58
      Jan Djärv authored
      Regenerate configure.
      e765bf58
    • Glenn Morris's avatar
      Remove some more cpp in favor of autoconf. · 10efe302
      Glenn Morris authored
      * configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
      (GTK_OBJ, DBUS_OBJ, LIBXSM, XMENU_OBJ, XOBJ): New output variables.
      
      * src/Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
      Define using autoconf, not cpp.
      (LIBXSM): New variable, set by autoconf.
      (LIBXT): Use $LIBXSM.
      10efe302
    • Glenn Morris's avatar
      Remove LIBSELINUX_LIBS need for cpp in Makefiles. · 2807228d
      Glenn Morris authored
      * configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
      * src/Makefile.in (LIBSELINUX_LIBS): Remove containing #ifdef.
      2807228d
    • Karel Klíc's avatar
      Add SELinux support. · 574c05e2
      Karel Klíc authored
      * configure.in: New option: --with(out)-selinux, on by default.
      Set HAVE_LIBSELINUX if we find libselinux, and substitute
      LIBSELINUX_LIBS in Makefiles.
      
      * src/Makefile.in (LIBSELINUX_LIBS): New.
      (LIBES): Add $LIBSELINUX_LIBS.
      * src/eval.c, lisp.h (call7): New function.
      * src/fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
      (Ffile_selinux_context, Fset_file_selinux_context):
      New functions.
      (Fcopy_file): New parameter preserve-selinux-context.
      (Frename_file): Preserve selinux context when renaming by copy-file.
      
      * lisp/files.el (backup-buffer): Handle SELinux context, and return it
      if a backup was made by renaming.
      (backup-buffer-copy): Set SELinux context to the target file.
      (basic-save-buffer): Set SELinux context of the newly written file.
      (basic-save-buffer-1): Now it also returns any SELinux context.
      (basic-save-buffer-2): Set SELinux context of the newly created file,
      and return it.
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      Add file-selinux-context.
      574c05e2
  12. 02 Apr, 2010 1 commit
  13. 01 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove all uses of LIBX11_SYSTEM. · 8224f93d
      Dan Nicolaescu authored
      * Makefile.in (LIBX11_SYSTEM): Remove.
      * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
      instead.
      
      * configure.in: Remove all references to LIBX11_SYSTEM.
      8224f93d
  14. 30 Mar, 2010 2 commits
    • Dan Nicolaescu's avatar
      Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG. · 32a8894e
      Dan Nicolaescu authored
      * s/usg5-4.h (LIBS_DEBUG):
      * s/irix6-5.h (C_DEBUG_SWITCH):
      * s/gnu-linux.h (LIBS_DEBUG):
      * s/darwin.h (LIBS_DEBUG):
      * s/bsd-common.h (LIBS_DEBUG):
      * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH):
      * m/iris4d.h (LIBS_DEBUG):
      * m/hp800.h (LIBS_DEBUG): Remove definitions.
      
      * Makefile.in (LIBES): Remove reference to LIBS_DEBUG.
      (LIBS_DEBUG): Remove definition.
      
      * configure.in: Remove all references to C_DEBUG_SWITCH.
      32a8894e
    • Nick Roberts's avatar
      *** empty log message *** · 146b8b16
      Nick Roberts authored
      146b8b16
  15. 27 Mar, 2010 2 commits
    • Nick Roberts's avatar
      Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz: · 691cf4a0
      Nick Roberts authored
      added:
        lisp/progmodes/gdb-mi.el
      removed:
        lisp/progmodes/gdb-ui.el
      modified:
        doc/emacs/building.texi
        doc/emacs/emacs.texi
        etc/NEWS
        lisp/Makefile.in
        lisp/progmodes/gud.el
      691cf4a0
    • Eli Zaretskii's avatar
      Fix the MSDOS build as fallout from the latest Makefile.in changes. · 2201e7e2
      Eli Zaretskii authored
       config.bat <lib-src>: Edit out lines that begin with several #
       characters.
      
       msdos/sedlisp.inp (VPATH): Don't edit, no longer needed.
       (lisp, srcdir): Adapt to lisp/Makefile.in changes.
       (abs_top_builddir): New edit.
       msdos/sed3v2.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
       (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
       msdos/sed3.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
       (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
       msdos/sed1v2.inp (abs_builddir): Edit into "../src".
      2201e7e2
  16. 20 Mar, 2010 1 commit