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

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Feb 11 22:12:09 GMT 2006


Author: chris
Date: 2006-02-11 22:12:06 +0000 (Sat, 11 Feb 2006)
New Revision: 424

Modified:
   box/chris/win32/vc2005-compile-fixes/configure.ac
Log:
* configure.ac
- Detect whether the system has _cgetws(), and in what version of the
  Microsoft C Runtime library, and link to that library


Modified: box/chris/win32/vc2005-compile-fixes/configure.ac
===================================================================
--- box/chris/win32/vc2005-compile-fixes/configure.ac	2006-02-11 14:53:32 UTC (rev 423)
+++ box/chris/win32/vc2005-compile-fixes/configure.ac	2006-02-11 22:12:06 UTC (rev 424)
@@ -89,6 +89,9 @@
   AC_SEARCH_LIBS([regcomp], [pcreposix])
 fi
 
+AC_SEARCH_LIBS([_cgetws], [msvcr71 msvcr80],
+  AC_DEFINE([HAVE_CGETWS], [1], [Define to 1 if we have a _cgetws function]))
+
 ### Checks for typedefs, structures, and compiler characteristics.
 
 AC_CHECK_TYPES([u_int8_t, u_int16_t, u_int32_t, u_int64_t])




More information about the Boxbackup-dev mailing list