[Box Backup-commit] COMMIT r2277 - box/trunk
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Sep 13 14:47:22 BST 2008
Author: chris
Date: 2008-09-13 14:47:21 +0100 (Sat, 13 Sep 2008)
New Revision: 2277
Modified:
box/trunk/configure.ac
Log:
Fix cross-compiling checks for ar, ranlib and windres.
Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac 2008-09-12 20:39:45 UTC (rev 2276)
+++ box/trunk/configure.ac 2008-09-13 13:47:21 UTC (rev 2277)
@@ -47,11 +47,18 @@
AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["$TARGET_PERL"],
[Location of the perl executable])
-AC_CHECK_PROGS([AR], [ar],
+AC_CHECK_TOOL([AR], [ar],
[AC_MSG_ERROR([[cannot find ar executable]])])
-AC_CHECK_PROGS([RANLIB], [ranlib],
+AC_CHECK_TOOL([RANLIB], [ranlib],
[AC_MSG_ERROR([[cannot find ranlib executable]])])
+case $target_os in
+mingw*)
+ AC_CHECK_TOOL([WINDRES], [windres],
+ [AC_MSG_ERROR([[cannot find windres executable]])])
+ ;;
+esac
+
### Checks for libraries.
case $target_os in
More information about the Boxbackup-commit
mailing list