summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 4868717e9c5..3e2f0d608a8 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.535 2007/11/05 17:43:20 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.536 2007/11/13 00:13:19 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -793,6 +793,16 @@ if test "$with_libxslt" = yes ; then
AC_CHECK_LIB(xslt, xsltLibxmlVersion, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])])
fi
+# for contrib/uuid-ossp
+if test "$with_ossp_uuid" = yes ; then
+ AC_CHECK_LIB(ossp-uuid, uuid_export,
+ [OSSP_UUID_LIBS="-lossp-uuid"],
+ [AC_CHECK_LIB(uuid, uuid_export,
+ [OSSP_UUID_LIBS="-luuid"],
+ [AC_MSG_ERROR([library 'ossp-uuid' or 'uuid' is required for OSSP-UUID])])])
+fi
+AC_SUBST(OSSP_UUID_LIBS)
+
##
## Header files