[Freeswitch-svn] [commit] r5075 - freeswitch/trunk/libs/sqlite

Freeswitch SVN mikej at freeswitch.org
Thu May 3 05:36:04 EDT 2007


Author: mikej
Date: Thu May  3 05:36:04 2007
New Revision: 5075

Modified:
   freeswitch/trunk/libs/sqlite/configure.ac

Log:
you cant check for file existance when cross compiling

Modified: freeswitch/trunk/libs/sqlite/configure.ac
==============================================================================
--- freeswitch/trunk/libs/sqlite/configure.ac	(original)
+++ freeswitch/trunk/libs/sqlite/configure.ac	Thu May  3 05:36:04 2007
@@ -627,10 +627,11 @@
 if test "$found" = "yes"; then
   AC_MSG_RESULT($TARGET_READLINE_INC)
 else
-  AC_MSG_RESULT(not specified: still searching...)
-  AC_CHECK_HEADER(readline.h, [found=yes])
+    AC_MSG_RESULT(not specified: still searching...)
+    AC_CHECK_HEADER(readline.h, [found=yes])
 fi
 if test "$found" = "no"; then
+  if test "$cross_compiling" != "yes"; then
   for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
     AC_CHECK_FILE($dir/include/readline.h, found=yes)
     if test "$found" = "yes"; then
@@ -643,6 +644,7 @@
       break
     fi
   done
+  fi
 fi
 if test "$found" = "yes"; then
   if test "$TARGET_READLINE_LIBS" = ""; then



More information about the Freeswitch-svn mailing list