[Box Backup-dev] COMMIT r408 - box/chris/win32/vc2005-compile-fixes

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Wed, 8 Feb 2006 00:19:47 +0000 (GMT)


Author: chris
Date: 2006-02-08 00:19:40 +0000 (Wed, 08 Feb 2006)
New Revision: 408

Modified:
   box/chris/win32/vc2005-compile-fixes/configure.ac
Log:
* configure.ac
- Detect if we need to link with pcreposix.dll to get regex functions


Modified: box/chris/win32/vc2005-compile-fixes/configure.ac
===================================================================
--- box/chris/win32/vc2005-compile-fixes/configure.ac	2006-02-08 00:19:01 UTC (rev 407)
+++ box/chris/win32/vc2005-compile-fixes/configure.ac	2006-02-08 00:19:40 UTC (rev 408)
@@ -85,6 +85,9 @@
 AC_CHECK_HEADERS([sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h])
 AC_CHECK_HEADERS([sys/xattr.h])
 
+if test "$ac_cv_header_regex_h" = "yes"; then
+  AC_SEARCH_LIBS([regcomp], [pcreposix])
+fi
 
 ### Checks for typedefs, structures, and compiler characteristics.