]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[371-ld-warning-message-on-macos-build] Add lib64 only when it exists and is a directory 371-ld-warning-message-on-macos-build 406-update-cb_cmds-with-get-commands_base
authorFrancis Dupont <fdupont@isc.org>
Sat, 29 Dec 2018 08:49:31 +0000 (09:49 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 25 Jan 2019 14:05:45 +0000 (09:05 -0500)
configure.ac

index a721b37dda7f41e1767058af7c03436e6c0d5722..06459df4468290f35bab2e2b6e9e9d20426de08f 100644 (file)
@@ -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"