diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-13 22:23:31 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-13 22:23:31 -0700 |
commit | 93ca48872e6473db782382fc828e65e6540229d6 (patch) | |
tree | a4ce4e90eab7bcbb5494a44c6b9709a2db7c6547 /admin/CPP-DEFINES | |
parent | f7993853c2512d2cb8067c37ea01db4175e37be3 (diff) | |
download | emacs-93ca48872e6473db782382fc828e65e6540229d6.tar.gz emacs-93ca48872e6473db782382fc828e65e6540229d6.tar.bz2 emacs-93ca48872e6473db782382fc828e65e6540229d6.zip |
Clean up configure-time library handling a bit.
This patch was inspired by emacs-24 2014-04-09T13:37:49Z!sdl.web@gmail.com, which fixed
a bug due to sloppy library handling in 'configure'.
* configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU):
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual.
(LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS)
(DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL)
(with_kerberos):
Don't let the library choice infect $LIBS.
(dnet_ntoa, cma_open): Remove obsolete tests.
(emacs_pthread_function): Probe for pthread_kill, not pthread_self,
as that's a bit more selective on GNU/Linux.
(LIBXEXT): Remove.
(touchlock): Test for existence when $LIBS_MAIL is in use.
(AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS
when testing for typical functions like accept4, lrand48.
(random, rint): Remove obsolete HP-UX 9 A.09.05 test.
Diffstat (limited to 'admin/CPP-DEFINES')
-rw-r--r-- | admin/CPP-DEFINES | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 8bfe2cac570..9d9699d8cc8 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -200,17 +200,13 @@ HAVE_KRB5_H HAVE_KRB_H HAVE_LANGINFO_CODESET HAVE_LIBDGC -HAVE_LIBDNET HAVE_LIBKSTAT HAVE_LIBLOCKFILE -HAVE_LIBM HAVE_LIBMAIL HAVE_LIBOTF HAVE_LIBPERFSTAT HAVE_LIBPNG_PNG_H -HAVE_LIBPTHREADS HAVE_LIBSELINUX -HAVE_LIBXEXT HAVE_LIBXML2 HAVE_LIBXMU HAVE_LOCALTIME_R |