From 44a9ec5bca140979a35ab21704ea1aada1c2f0f4 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 24 Dec 2013 14:07:16 +0100 Subject: added/fixed few things necessary to cross-compile i686 ddb on x86_64 host (WIP) --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c1457b0d..2980f33b 100644 --- a/configure.ac +++ b/configure.ac @@ -291,7 +291,9 @@ dnl curl lib AS_IF([test "${enable_staticlink}" != "no"], [ HAVE_CURL=yes CURL_LIBS="../../$LIB/lib/libcurl.a -lrt" + CURL_CFLAGS="-I../../$LIB/include" AC_SUBST(CURL_LIBS) + AC_SUBST(CURL_CFLAGS) ], [ AC_CHECK_LIB([curl], [main], [HAVE_CURL=yes]) CURL_LIBS="-lcurl" @@ -386,6 +388,8 @@ AS_IF([test "${enable_vfs_curl}" != "no"], [ HAVE_VFS_CURL=yes VFS_CURL_LIBS="$CURL_LIBS" AC_SUBST(VFS_CURL_LIBS) + VFS_CURL_CFLAGS="$CURL_CFLAGS" + AC_SUBST(VFS_CURL_CFLAGS) ]) ]) -- cgit v1.2.3