diff options
author | Francis Dupont <fdupont@isc.org> | 2018-12-29 09:49:31 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-01-25 15:05:45 +0100 |
commit | 3f03045b3ace13759b1f4c95f61caaea088c6dcd (patch) | |
tree | 0c769cf674042793a13fa47c4499bfa317d3a5fc /configure.ac | |
parent | Corrected subnets/subnet4 argument in subnet4-add. (diff) | |
download | kea-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.ac | 7 |
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" |