1. 02 Jul, 2010 1 commit
  2. 30 Jun, 2010 4 commits
    • Dan Nicolaescu's avatar
      Fix CFLAGS for non-GCC compilers. · f71cd38a
      Dan Nicolaescu authored
      * configure.in (CFLAGS): Always use -g like it was done before the
      2010-03-30 change.
      (REAL_CFLAGS): Use CFLAGS for non-GCC to get optimization flags.  (Bug#6538)
      f71cd38a
    • Glenn Morris's avatar
      * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): · a46007e9
      Glenn Morris authored
      Set with AC_DEFINE rather than AH_BOTTOM.
      
      * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now.
      
      * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM.
      
      * configure, src/config.in: Regenerate.
      a46007e9
    • Glenn Morris's avatar
      Remove last internal use of cpp and src/{m,s}/*.h files in configure.in. · e7586c7a
      Glenn Morris authored
      * configure.in (CFLAGS, REAL_CFLAGS): Set with shell, not cpp.
      * configure, src/config.in: Regenerate.
      e7586c7a
    • Glenn Morris's avatar
      Remove some cpp that is internal to configure.in. · 6259c2ec
      Glenn Morris authored
      * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC):
      (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp.
      (LIBX): Remove, just use -lX11 in the one place this was used.
      (cannot_dump): Replace with CANNOT_DUMP.
      
      * src/Makefile.in (CANNOT_DUMP): Update for configure name change.
      
      * src/s/freebsd.h (USE_MMAP_FOR_BUFFERS):
      * src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS):
      * src/s/darwin.h (SYSTEM_MALLOC):
      * src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure.
      
      * src/m/alpha.h: Remove old comment.
      * src/s/aix4-2.h: Update comment.
      * src/s/template.h: Remove USE_MMAP_FOR_BUFFERS.
      
      * msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change.
      
      * admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP.
      
      * etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references.
      Some re-filling.
      6259c2ec
  3. 28 Jun, 2010 2 commits
    • Jan D's avatar
      Mention bug number · 5224c41a
      Jan D authored
      5224c41a
    • Jan D's avatar
      Use non-deprecated Gtk+ functions, add changes for Gtk+3 with GSEAL_ENABLE. · e547b051
      Jan D authored
      * configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
      check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied
      by minimum required Gtk+ 2.6).  Add checks for functions introduced
      in Gtk+ 2.14 or newer.
      
      * xterm.h (gtk_widget_get_window, gtk_widget_get_mapped)
      (gtk_adjustment_get_page_size, gtk_adjustment_get_upper): New
      defines based on what configure finds.
      
      * xterm.c (XTflash): Use gtk_widget_get_window.
      (xg_scroll_callback): Use gtk_adjustment_get_upper and
      gtk_adjustment_get_page_size.
      (handle_one_xevent): Use gtk_widget_get_mapped.
      (x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error
      messages.
      
      * xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped.
      
      * gtkutil.h: Replace HAVE_GTK_FILE_BOTH with
      HAVE_GTK_FILE_SELECTION_NEW.
      
      * gtkutil.c (xg_display_open, xg_display_close): Remove
      HAVE_GTK_MULTIDISPLAY, it is always defined.
      (xg_display_open): Return type is void.
      (gtk_widget_set_has_window)
      (gtk_dialog_get_action_area, gtk_dialog_get_content_area)
      (gtk_widget_get_sensitive, gtk_adjustment_set_page_size)
      (gtk_adjustment_set_page_increment)
      (gtk_adjustment_get_step_increment): #define these if not found
      by configure.
      (remove_submenu): New define based on Gtk+ version.
      (xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar): Use
      gtk_widget_get_window.
      (xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped.
      (xg_create_frame_widgets): Use gtk_widget_set_has_window.
      (create_dialog): Use gtk_dialog_get_action_area and
      gtk_dialog_get_content_area.
      (xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH
      and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW.  File chooser is always
      available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough.
      (xg_update_menubar, xg_update_submenu, xg_show_toolbar_item): Use
      g_object_ref and g_object_unref.
      (xg_update_menu_item, xg_tool_bar_menu_proxy): Use
      gtk_widget_get_sensitive.
      (xg_update_submenu): Use remove_submenu.
      (xg_update_scrollbar_pos): Don't use GtkFixedChild, use child
      properties instead to get old x and y position.
      (xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size,
      gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size,
      gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment.
      (xg_get_tool_bar_widgets): New function.
      (xg_tool_bar_menu_proxy, xg_show_toolbar_item)
      (update_frame_tool_bar): Call xg_get_tool_bar_widgets.
      (toolbar_set_orientation): New #define based on if configure
      finds gtk_orientable_set_orientation.
      (xg_create_tool_bar): Call toolbar_set_orientation.
      (xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start
      instead of gtk_box_pack_start_defaults.
      e547b051
  4. 26 Jun, 2010 1 commit
    • Eli Zaretskii's avatar
      Fix the MS-DOS build due to changes in configury. · 394f2386
      Eli Zaretskii authored
       config.bat: Remove white space around "+" in COPY commands.
       msods/mainmake.v2 (version): Use emacs_version[] in src/emacs.c
       instead of lisp/version.el (see 2010-05-15T21:11:37Z!raeburn@raeburn.org).
       msdos/sed1v2.inp (MKDEPDIR): Edit to empty.
       Delete lines in rules that invoke $(MKDEPDIR).
       Fix editing rules that begin with "cd ../lisp".
       Edit out sh if-then-else-fi constructs that test ${CANNOT_DUMP}.
       Edit out "|| exit ;\" constructs in emacs${EXEEXT} rule.
      394f2386
  5. 12 Jun, 2010 2 commits
  6. 11 Jun, 2010 1 commit
    • Glenn Morris's avatar
      Make compressing the info files optional. · 338648ad
      Glenn Morris authored
      * configure.in (--without-compress-info): New option.
      (GZIP_INFO): New output variable.
      
      * Makefile.in (GZIP_INFO): New, set by configure.
      (install-arch-indep): Don't gzip info pages if GZIP_INFO is nil.
      Handle man pages in the same way.
      
      * etc/NEWS: Re-order installation section, and add new item.
      338648ad
  7. 10 Jun, 2010 3 commits
  8. 08 Jun, 2010 1 commit
  9. 06 Jun, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove BSTRING related code, all platforms define it. · 3085237c
      Dan Nicolaescu authored
      * src/s/usg5-4.h (BSTRING): Remove definition.
      * src/s/template.h (BSTRING):
      * src/s/msdos.h (BSTRING):
      * src/s/ms-w32.h (BSTRING):
      * src/s/hpux10-20.h (BSTRING):
      * src/s/gnu-linux.h (BSTRING):
      * src/s/darwin.h (BSTRING):
      * src/s/cygwin.h (BSTRING):
      * src/s/bsd-common.h (BSTRING):
      * src/s/aix4-2.h (BSTRING): Likewise.
      * src/sysdep.c: Remove code depending on BSTRING not being defined.
      
      * configure.in: Remove code dealing with BSTRING.
      
      * lib-src/ntlib.h: Remove code dealing with BSTRING.
      
      * nt/config.nt: Remove code depending on BSTRING.
      3085237c
  10. 03 Jun, 2010 3 commits
    • Dan Nicolaescu's avatar
      d8198da0
    • Dan Nicolaescu's avatar
      Move UNEXEC definition to autoconf. · eb697db5
      Dan Nicolaescu authored
      * configure.in (unxec): Do not define and substitute.
      (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
      
      * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec.
      
      * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in.
      * src/s/sol2-10.h (UNEXEC):
      * src/s/irix6-5.h (UNEXEC):
      * src/s/hpux10-20.h (UNEXEC):
      * src/s/gnu-linux.h (UNEXEC):
      * src/s/darwin.h (UNEXEC):
      * src/s/cygwin.h (UNEXEC):
      * src/s/bsd-common.h (UNEXEC):
      * src/s/aix4-2.h (UNEXEC):
      * src/m/alpha.h (UNEXEC): Likewise.
      * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
      eb697db5
    • Glenn Morris's avatar
      NOT_C_CODE is always true now. · 0d4bcf4d
      Glenn Morris authored
      * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
      
      * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
      Remove NOT_C_CODE tests, it is always true now.
      
      * nt/config.nt: Remove NOT_C_CODE tests, it is always true now.
      
      * admin/CPP-DEFINES: Remove NOT_C_CODE.
      0d4bcf4d
  11. 02 Jun, 2010 1 commit
  12. 30 May, 2010 1 commit
  13. 28 May, 2010 2 commits
  14. 27 May, 2010 1 commit
    • Glenn Morris's avatar
      Do not preprocess src/Makefile.in. · 81ac4f35
      Glenn Morris authored
      * configure.in: Do not preprocess src/Makefile.in.
      (cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
      (AC_EGREP_CPP): Test no longer needed.
      * configure: Regenerate.
      
      * config.bat: Do not preprocess src/Makefile.in.
      
      * make-dist: No more Makefile.c files.
      
      * INSTALL, src/README: Makefiles are not preprocessed.
      
      * src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
      Convert comments to Makefile format.
      
      * lib-src/Makefile.in (distclean): No more Makefile.c.
      * src/Makefile.in (bootstrap-clean): No more Makefile.c.
      
      * admin/notes/cpp: Remove file.
      
      * admin/quick-install-emacs (AVOID): No more Makefile.c files.
      
      * etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
      no longer occur.
      81ac4f35
  15. 26 May, 2010 3 commits
    • Glenn Morris's avatar
      Replace YMF_PASS_LDFLAGS with autoconf. · 90278cb6
      Glenn Morris authored
      * configure.in (YMF_PASS_LDFLAGS): Remove.
      (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables.
      * configure: Regenerate.
      
      * src/Makefile.in (YMF_PASS_LDFLAGS): Remove.
      (temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
      
      * msdos/sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing.
      90278cb6
    • Glenn Morris's avatar
      Add GNUSTEP_LOCAL_HEADERS/LIBRARIES to build flags. · cd54a599
      Glenn Morris authored
      * configure.in (CPPFLAGS, CFLAGS, REAL_CFLAGS):
      Add $GNUSTEP_LOCAL_HEADERS.
      (LDFLAGS, LD_SWITCH_SYSTEM_TEMACS): Add $GNUSTEP_LOCAL_LIBRARIES.
      cd54a599
    • Glenn Morris's avatar
      Remove some NS_IMPL_GNUSTEP build dead code. · ccd89fb3
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS)
      (GNUSTEP_MAKEFILES): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move NS_IMPL_GNUSTEP_TEMACS_LDFLAGS
      stuff to here.
      
      * src/Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      Remove.
      (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
      
      * msdos/sed1v2.inp (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      No longer present.
      
      Comments:
      See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00846.html.
      Nothing from gui.make was used at all in src/Makefile.in.  The only
      thing used from base.make was $CONFIG_SYSTEM_LIBS, but because we only
      set shared _after_ sourcing base.make, it was always empty.  We can
      move the remaining flags, set in configure, to the standard variable
      LD_SWITCH_SYSTEM_TEMACS.
      ccd89fb3
  16. 25 May, 2010 2 commits
    • Glenn Morris's avatar
      Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS. · 8009a5e8
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM): Move some gnu-linux stuff...
      (LD_SWITCH_SYSTEM_TEMACS): ... to here.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): Move definition after some
      variables it may reference.
      8009a5e8
    • Glenn Morris's avatar
      Remove LD_SWITCH_SYSTEM_EXTRA. · e5458003
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Put darwin stuff from LD_SWITCH_SYSTEM_EXTRA
      here instead.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
      (TEMACS_LDFLAGS): Remove LD_SWITCH_SYSTEM_EXTRA.
      
      * msdos/sed1v2.inp (LD_SWITCH_SYSTEM_EXTRA): No longer present.
      e5458003
  17. 24 May, 2010 1 commit
  18. 21 May, 2010 4 commits
    • Glenn Morris's avatar
      * configure.in (MKDEPDIR): Parallel build tweak. · 6a6dbace
      Glenn Morris authored
      * src/Makefile.in: Comment.
      6a6dbace
    • Glenn Morris's avatar
      Handle some HAVE_NS Makefile conditionals with configure. · 66dbf213
      Glenn Morris authored
      * configure.in (ns_frag): New output file.
      
      * src/Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
      Move these rules to ns.mk.
      * ns.mk: New file.  Copyright years based on date of nextstep merge.
      
      * msdos/sed1v2.inp(@ns_frag@): Edit to nothing.
      66dbf213
    • Glenn Morris's avatar
      Build simplifications for oldxmenu. · 04384b2d
      Glenn Morris authored
      * configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK.
      (OLDXMENU_TARGET): Set to empty if USE_GTK.
      
      * src/Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.
      
      * msdos/sed1x.inp (OLDXMENU): Replace any initial value.
      * msdos/sed1v2.inp (OLDXMENU): Edit to "nothing".
      04384b2d
    • Glenn Morris's avatar
      Handle CANNOT_DUMP (partially) with configure. · e8752c66
      Glenn Morris authored
      * configure.in (cannot_dump): New output variable.
      
      * src/Makefile.in (CANNOT_DUMP): New, set by configure.
      (emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.
      
      * msdos/sed1v2.inp (CANNOT_DUMP): Edit to no.
      e8752c66
  19. 20 May, 2010 3 commits
    • enami tsugutomo's avatar
      Use terminfo rather than termcap on recent NetBSD. · 0a5a0089
      enami tsugutomo authored
      * configure.in: On NetBSD, if terminfo is found, use it in preference
      to termcap.  (Bug#6190)
      0a5a0089
    • Glenn Morris's avatar
      Handle auto-depend with configure. · 9d5cf9b6
      Glenn Morris authored
      * make-dist (src): Include *.mk.
      * config.bat: Concatenate deps.mk onto the end of src/Makefile.
      * configure.in (DEPFLAGS, MKDEPDIR): New output variables.
      (deps_frag): New output file.
      (AUTO_DEPEND): Remove this definition.
      
      * src/Makefile.in (DEPDIR): New constant.
      (DEPFLAGS): Set with configure, not cpp.
      (MKDEPDIR): New, set by configure.
      (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
      (clean): Use $DEPDIR.
      (deps_frag): Include from configure.
      Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
      * src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.
      
      * msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
      (MKDEPDIR): Edit to ':'.
      9d5cf9b6
    • Glenn Morris's avatar
  20. 19 May, 2010 1 commit
    • Glenn Morris's avatar
      Set linker-related things with configure. · c1d0dcfd
      Glenn Morris authored
      * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
      (ORDINARY_LINK): New AC_DEFINE.
      (LIB_GCC): No need to set if ORDINARY_LINK.
      
      * src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
      (GNULIB_VAR): Remove.
      (LIBES): Use LIB_GCC instead of GNULIB_VAR.
      
      * src/m/ibms390x.h (LINKER):
      * src/m/macppc.h (LINKER) [GNU_LINUX]:
      * src/s/aix4-2.h (ORDINARY_LINK):
      * src/s/cygwin.h (LINKER):
      * src/s/darwin.h (ORDINARY_LINK):
      * src/s/gnu.h (ORDINARY_LINK):
      * src/s/netbsd.h (LINKER):
      * src/s/usg5-4.h (ORDINARY_LINK):
      Move to configure.
      
      * msdos/sed1v2.inp (LD): Edit to $(CC).
      (YMF_PASS_LDFLAGS): Edit to `flags'.
      c1d0dcfd
  21. 18 May, 2010 2 commits
    • Glenn Morris's avatar
      Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o. · 6665f4c5
      Glenn Morris authored
      * configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o.
      (POST_ALLOC_OBJ) [!cygwin]: Set to empty.
      
      * src/Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
      $(POST_ALLOC_OBJ).
      6665f4c5
    • Glenn Morris's avatar
      Set rallocobj with configure, not cpp. · 40dc6bf4
      Glenn Morris authored
      * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
      (RALLOC_OBJ): New output variable.
      * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.
      
      * src/Makefile.in (RALLOC_OBJ): New, set by configure.
      (rallocobj): Replace with the previous variable.
      (otherobj): Use $RALLOC_OBJ.
      
      * src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
      * src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.
      
      * msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
      40dc6bf4