aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Eggert2014-04-13 22:23:31 -0700
committerPaul Eggert2014-04-13 22:23:31 -0700
commit93ca48872e6473db782382fc828e65e6540229d6 (patch)
treea4ce4e90eab7bcbb5494a44c6b9709a2db7c6547 /admin
parentf7993853c2512d2cb8067c37ea01db4175e37be3 (diff)
downloademacs-93ca48872e6473db782382fc828e65e6540229d6.tar.gz
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')
-rw-r--r--admin/CPP-DEFINES4
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
200HAVE_KRB_H 200HAVE_KRB_H
201HAVE_LANGINFO_CODESET 201HAVE_LANGINFO_CODESET
202HAVE_LIBDGC 202HAVE_LIBDGC
203HAVE_LIBDNET
204HAVE_LIBKSTAT 203HAVE_LIBKSTAT
205HAVE_LIBLOCKFILE 204HAVE_LIBLOCKFILE
206HAVE_LIBM
207HAVE_LIBMAIL 205HAVE_LIBMAIL
208HAVE_LIBOTF 206HAVE_LIBOTF
209HAVE_LIBPERFSTAT 207HAVE_LIBPERFSTAT
210HAVE_LIBPNG_PNG_H 208HAVE_LIBPNG_PNG_H
211HAVE_LIBPTHREADS
212HAVE_LIBSELINUX 209HAVE_LIBSELINUX
213HAVE_LIBXEXT
214HAVE_LIBXML2 210HAVE_LIBXML2
215HAVE_LIBXMU 211HAVE_LIBXMU
216HAVE_LOCALTIME_R 212HAVE_LOCALTIME_R