mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-30 04:33:55 -06:00
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
This commit is contained in:
parent
7dcc2b5e45
commit
7951de863c
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user