From d2f8307ac60cc462ef1f0b6f038c0d7bd1b20caa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 27 Jan 2005 19:35:38 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5222 --- checkin_notes | 5 +++++ configure.ac | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 2f19bb19ed..a5841807cc 100755 --- a/checkin_notes +++ b/checkin_notes @@ -23297,3 +23297,8 @@ David 27 Jan 2005 sched/ sched_shmem.C + +David 27 Jan 2005 + - build fixes from Reinhard + + configure.ac diff --git a/configure.ac b/configure.ac index a2a365d89b..c40725c5b2 100644 --- a/configure.ac +++ b/configure.ac @@ -140,6 +140,7 @@ dnl (note, we also don't define HAVE_LIBXXX, because currently they aren't used AC_CHECK_LIB(nsl, gethostbyname, [BOINC_EXTRA_LIBS="-lnsl ${BOINC_EXTRA_LIBS}"]) AC_CHECK_LIB(socket, setservent, [BOINC_EXTRA_LIBS="-lsocket ${BOINC_EXTRA_LIBS}"]) AC_CHECK_LIB(z, gzopen, [BOINC_EXTRA_LIBS="-lz ${BOINC_EXTRA_LIBS}"]) +AC_CHECK_LIB(dl, dlopen, [BOINC_EXTRA_LIBS="-ldl ${BOINC_EXTRA_LIBS}"]) dnl check for pthread ACX_PTHREAD(AC_DEFINE(HAVE_PTHREAD,1, [Have pthread])) @@ -381,7 +382,14 @@ if test "${enable_client_release}" = yes; then ## extend this list as necessary if you find additional libs required on your system ## **************************************** - blacklist="gtk gdk gmodule gthread glib Xi png jpeg tiff nsl z socket" + blacklist="gtk gdk gmodule gthread glib Xi png jpeg tiff nsl socket" + case $target in + *linux*) + blacklist="$blacklist z" + ;; + *) + ;; + esac ## **************************************** ## now we walk through the blacklist and turn all matching libs found in