summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2018-12-29 09:49:31 +0100
committerFrancis Dupont <fdupont@isc.org>2019-01-25 15:05:45 +0100
commit3f03045b3ace13759b1f4c95f61caaea088c6dcd (patch)
tree0c769cf674042793a13fa47c4499bfa317d3a5fc /configure.ac
parentCorrected subnets/subnet4 argument in subnet4-add. (diff)
downloadkea-3f03045b3ace13759b1f4c95f61caaea088c6dcd.tar.xz
kea-3f03045b3ace13759b1f4c95f61caaea088c6dcd.zip
[371-ld-warning-message-on-macos-build] Add lib64 only when it exists and is a directory406-update-cb_cmds-with-get-commands_base
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a721b37dda..06459df446 100644
--- a/configure.ac
+++ b/configure.ac
@@ -985,11 +985,14 @@ else
do
if test -f $d/include/log4cplus/logger.h; then
LOG4CPLUS_INCLUDES="-I$d/include"
- LOG4CPLUS_LIBS="-L$d/lib -L$d/lib64"
+ LOG4CPLUS_LIBS="-L$d/lib"
+ if test -d $d/lib64; then
+ LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -L$d/lib64"
+ fi
break
fi
done
- DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG="-with-log4cplus"
+ DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG="-with-log4cplus"
fi
LOG4CPLUS_LIBS="$LOG4CPLUS_LIBS -llog4cplus"