1. 06 Aug, 2012 2 commits
    • Glenn Morris's avatar
      Guard against potential configure bug wrt HAVE_GETWD · 1db4583a
      Glenn Morris authored
      * configure.ac (BROKEN_GETWD) [unixware]: New define.
      * src/sysdep.c: Respect BROKEN_GETWD.
    • Glenn Morris's avatar
      Glenn Morris authored
      * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
      (DISPNEW_NEEDS_STDIO_EXT): New define.
      Let configure handle it.
      (stdio_ext.h) [DISPNEW_NEEDS_STDIO_EXT]: Include it.
      * nt/config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
      (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
  2. 05 Aug, 2012 1 commit
  3. 03 Aug, 2012 1 commit
  4. 02 Aug, 2012 1 commit
    • Paul Eggert's avatar
      Port to Solaris 8. · 13294f95
      Paul Eggert authored
      Without this change, 'configure' fails because the recently-added
      wait3 prototype in config.h messes up later 'configure' tests.
      Fix this problem by droping wait3 and WRETCODE, as they're
      no longer needed on hosts that are current porting targets.
      * configure.ac (wait3, WRETCODE): Remove, fixing a FIXME.
      All uses changed to waitpid and WEXITSTATUS.
      * src/syswait.h (WRETCODE): Remove, consistently with ../configure.ac.
  5. 01 Aug, 2012 5 commits
  6. 31 Jul, 2012 14 commits
  7. 30 Jul, 2012 8 commits
    • Glenn Morris's avatar
      Use an include file in configure.ac's AH_BOTTOM · b429a4ee
      Glenn Morris authored
      * configure.ac (AH_BOTTOM): Use an include file, so that the
      contents do not get processed by autoheader.  Eg this prevents undefs
      being commented out, and is the recommended technique from the
      autoconf manual.
      * src/conf_post.h: New, split from configure.ac's AH_BOTTOM.
      * src/Makefile.in (config_h): Add conf_post.h.
      * src/makefile.w32-in (CONFIG_H): Add conf_post.h.
    • Paul Eggert's avatar
      Do not overwrite config.status while executing it. · 8f25abd3
      Paul Eggert authored
      * Makefile.in (MAKEFILE_NAME): New macro.
      ($(MAKEFILE_NAME)): Rename rule from Makefile.
      * configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
      so that GNU 'make' isn't tempted to make the Makefile and then
      regenerate config.status while config.status is running.
      Fixes: debbugs:11214
    • Glenn Morris's avatar
      Move TIOCSIGSEND from src/s to configure · b65e7c46
      Glenn Morris authored
      * configure.ac (TIOCSIGSEND): Move here from src/s.
      * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it.
      * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
    • Glenn Morris's avatar
      Empty src/s/netbsd.h and remove the file · 32bac6d6
      Glenn Morris authored
      * configure.ac (SIGNAL_H_AHB): New hack macro.
      (opsysfile): Set to empty on netbsd, openbsd.
      (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
      * src/s/netbsd.h: Let configure include signal.h if needed.
      Remove file, which is now empty.
    • Glenn Morris's avatar
      Move _longjmp, _setjmp from src/s to configure · 0a763bd1
      Glenn Morris authored
      * configure.ac (_longjmp, _setjmp): Move here from src/s.
      * src/s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them.
      * src/s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
    • Glenn Morris's avatar
      Remove s/aix4-2.h · 227f5bd0
      Glenn Morris authored
      * configure.ac (opsysfile): Set to empty on aix4-2.
      * src/s/aix4-2.h: Remove empty file.
    • Glenn Morris's avatar
      * configure.ac (opsysfile): Tweak message for null case. · abc7ec54
      Glenn Morris authored
      (The autoconf manual says this is portable.)
    • Glenn Morris's avatar
      Remove some empty src/s files. · d34d6ffc
      Glenn Morris authored
      * configure.ac (opsysfile): Set to empty on freebsd, gnu-linux,
      gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.
      * src/s/freebsd.h, src/s/gnu-linux.h, src/s/sol2-6.h, src/s/unixware.h:
      Remove empty files.
  8. 28 Jul, 2012 1 commit
    • Paul Eggert's avatar
      Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). · e32a5799
      Paul Eggert authored
      * .bzrignore: Add lib/stdalign.h.
      * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
      Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
      * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
      fiddles with this, as gnulib now does this for us.
      * admin/merge-gnulib: Add environ, stdalign.
      * m4/environ.m4: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
      * sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
      * sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
      * nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
      * src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
      Simplify by using alignof.
      (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
      * src/lisp.h: Include <stdalign.h>.
      (GCALIGNMENT): New macro and constant.
      (DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
      (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
      (stdalign): New macro, if not already defined.
  9. 17 Jul, 2012 2 commits
    • Dmitry Antipov's avatar
      Fix toolkit configuration report. · 441efe9f
      Dmitry Antipov authored
      * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
      --with-x-toolkit=gtk3 is used.
    • Paul Eggert's avatar
      Fix regression with pthread_sigmask on FreeBSD. · 5dad233c
      Paul Eggert authored
      * configure.ac: Configure gnulib at the end, not before running
      pkg-config.  This restores the behavior before 2012-06-22, when
      higher-resolution time stamps were added, and fixes a bug whereby
      LIB_PTHREAD was not used and gnulib's part of 'configure'
      therefore incorrectly assumed that pthread_sigmask wasn't working.
      Fix the problem with -lrt and clock_gettime a different way.
      This should complete the fix for Bug#11884.
      (pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars.
  10. 14 Jul, 2012 1 commit
    • Glenn Morris's avatar
      Move GC_SETJMP_WORKS, GC_MARK_STACK from src/s to configure · 5b3f250f
      Glenn Morris authored
      * configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s.
      (AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body.
      * src/s/aix4-2.h, src/s/freebsd.h, src/s/gnu-linux.h, src/s/hpux10-20.h:
      * src/s/irix6-5.h, src/s/netbsd.h, src/s/sol2-6.h, src/s/unixware.h:
      Let configure set GC_SETJMP_WORKS, GC_MARK_STACK.
  11. 13 Jul, 2012 4 commits
    • Glenn Morris's avatar
      Move GC_MARK_SECONDARY_STACK from src/s to configure · 5b633342
      Glenn Morris authored
      * configure.ac (GC_MARK_SECONDARY_STACK): Move here from src/s.
      * src/s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Let configure set it.
    • Glenn Morris's avatar
      Move SETUP_SLAVE_PTY from src/s to configure · 33d63ff4
      Glenn Morris authored
      * configure.ac (SETUP_SLAVE_PTY): Move here from src/s.
      (FIRST_PTY_LETTER, PTY_NAME_SPRINTF): Combine sol2/unixware cases.
      * src/s/usg5-4-common.h (SETUP_SLAVE_PTY): Let configure set it.
      * src/s/irix6-5.h (SETUP_SLAVE_PTY): No more need to unset it.
    • Glenn Morris's avatar
      Remove some src/s files that are now empty · 32fb4bb6
      Glenn Morris authored
      * configure.ac (opsysfile): Set to empty on gnu, cygwin.
      * src/s/bsd-common, src/s/cygwin.h: Remove empty files.
      * src/s/freebsd.h, src/s/netbsd.h: Do not include bsd-common.h.
    • Glenn Morris's avatar
      Move "system type" macros from src/s to configure · 983188fd
      Glenn Morris authored
      * configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
      Move "system type" macros here from src/s.
      (BSD_SYSTEM_AHB): New hack macro.
      * src/s/usg5-4-common.h (USG, USG5):
      * src/s/template.h (USG5, USG, HPUX, BSD4_2, BSD_SYSTEM):
      * src/s/sol2-6.h (SOLARIS2):
      * src/s/irix6-5.h (IRIX6_5):
      * src/s/hpux10-20.h (USG, USG5, HPUX):
      * src/s/gnu-linux.h (USG, GNU_LINUX):
      * src/s/freebsd.h (BSD_SYSTEM):
      * src/s/darwin.h (BSD4_2, BSD_SYSTEM, DARWIN_OS):
      * src/s/cygwin.h (CYGWIN):
      * src/s/bsd-common.h (BSD_SYSTEM, BSD4_2):
      * src/s/aix4-2.h (USG, USG5, _AIX): Move "system type" macros to configure.