[Box Backup-dev] COMMIT r378 - box/chris/win32/vc2005-compile-fixes
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Feb 4 14:54:59 GMT 2006
Author: chris
Date: 2006-02-04 14:54:57 +0000 (Sat, 04 Feb 2006)
New Revision: 378
Modified:
box/chris/win32/vc2005-compile-fixes/configure.ac
Log:
* configure.ac
- Don't detect <dirent.h> on MinGW, as we mustn't use it (we need the emulated
functions which return filenames in UTF-8 instead)
Modified: box/chris/win32/vc2005-compile-fixes/configure.ac
===================================================================
--- box/chris/win32/vc2005-compile-fixes/configure.ac 2006-02-04 13:31:53 UTC (rev 377)
+++ box/chris/win32/vc2005-compile-fixes/configure.ac 2006-02-04 14:54:57 UTC (rev 378)
@@ -73,10 +73,13 @@
### Checks for header files.
-AC_HEADER_DIRENT
+if test "$target_os" != "mingw32"; then
+ AC_HEADER_DIRENT
+fi
+
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([dirent.h execinfo.h process.h pwd.h regex.h signal.h])
+AC_CHECK_HEADERS([execinfo.h process.h pwd.h regex.h signal.h])
AC_CHECK_HEADERS([syslog.h time.h])
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h])
More information about the Boxbackup-dev
mailing list