summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMagnus Hagander2008-11-24 09:15:16 +0000
committerMagnus Hagander2008-11-24 09:15:16 +0000
commitcb10467d305726bf13bc1cb9ad9f7054c722c7dd (patch)
tree43443f9d721a3b8609f5e90f078ebec3e243d45c /configure.in
parenta37855550100f93887ffb289a8a9c2f15706bad2 (diff)
Add support for matching wildcard server certificates to the new SSL code.
This uses the function fnmatch() which is not available on all platforms (notably Windows), so import the implementation from NetBSD into src/port.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 64b8b4eca3d..f8f507cd0c3 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.572 2008/11/18 13:10:20 petere Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.573 2008/11/24 09:15:15 mha Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1625,6 +1625,11 @@ fi
# SunOS doesn't handle negative byte comparisons properly with +/- return
AC_FUNC_MEMCMP
+# Check for fnmatch()
+AC_FUNC_FNMATCH
+if test x"$ac_cv_func_fnmatch_works" != x"yes"; then
+ AC_LIBOBJ(fnmatch)
+fi
# Select semaphore implementation type.
if test "$PORTNAME" != "win32"; then