From 7951de863c35a1f3084a916bb59e3a9682913131 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 14 Sep 2006 16:27:32 +0000 Subject: [PATCH] Add cross-compiling workaround to AC_TRY_RUN macros git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14846 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index 881aebbdd2..169c16f7b4 100644 --- a/configure.in +++ b/configure.in @@ -433,6 +433,11 @@ AC_TRY_RUN([ sizeof(gint64))) ],[ AC_MSG_RESULT(no) +],[ + AC_MSG_RESULT(assuming yes) + AC_CHECK_LIB(guile, scm_long_long2num, + AC_DEFINE(GUILE_LONG_LONG_OK,1,is sizeof(long_long) >= + sizeof(gint64))) ]) CFLAGS="$GNC_OLDCFLAGS" @@ -452,6 +457,8 @@ AC_TRY_RUN([ ],[ AC_MSG_RESULT(no) AC_MSG_ERROR(cannot continue, size of unsigned long too small.) +],[ + AC_MSG_RESULT(assuming yes) ]) CFLAGS="$GNC_OLDCFLAGS"