summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Carpenter <mcarpenter@free.fr>2013-03-27 11:12:50 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-04-09 17:54:57 +0200
commit08a63f4987b7bfd694a85b53b3385af3bda3ad2f (patch)
treee8147f2ce957623e535b9ebfe5e3eeca8b4a0e97
parent2de4a04b7e728f533382c9839345a89cbf73db89 (diff)
downloadrsyslog-08a63f4987b7bfd694a85b53b3385af3bda3ad2f.tar.gz
rsyslog-08a63f4987b7bfd694a85b53b3385af3bda3ad2f.tar.bz2
rsyslog-08a63f4987b7bfd694a85b53b3385af3bda3ad2f.zip
Set pkgconfig variables for libuuid on Solaris
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c1fa991..1df9e7d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,10 @@ case "${host}" in
AC_DEFINE([OS_SOLARIS], [1], [Indicator for a Solaris OS])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], [1], [Use POSIX pthread semantics])
SOL_LIBS="-lsocket -lnsl"
+ # Solaris libuuid does not ship with a pkgconfig file so override the appropriate
+ # variables (but only if they have not been set by the user).
+ LIBUUID_CFLAGS=${LIBUUID_CFLAGS:= }
+ LIBUUID_LIBS=${LIBUUID_LIBS:=-luuid}
AC_SUBST(SOL_LIBS)
;;
esac