mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* configure.in -- fix OFX search to look in /usr/local if it cannot
find it in /usr. It skips the second check if you supply an ofx-prefix. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7509 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-11-18 Derek Atkins <derek@ihtfp.com>
|
||||
* configure.in -- fix OFX search to look in /usr/local if it cannot
|
||||
find it in /usr. It skips the second check if you supply an ofx-prefix.
|
||||
|
||||
2002-11-18 David Hampton <hampton@employees.org>
|
||||
|
||||
* configure.in: Fix problems with gtkhtml 1.1.
|
||||
|
||||
14
configure.in
14
configure.in
@@ -456,14 +456,22 @@ then
|
||||
LIBOFX_LIBS="-L${OFXPREFIX}/lib"
|
||||
LIBOFX_CFLAGS="-I${OFXPREFIX}/include"
|
||||
fi
|
||||
LIBOFX_LIBS="${LIBOFX_LIBS} -lofx -lstdc++"
|
||||
|
||||
AC_MSG_CHECKING(for libofx/libofx.h)
|
||||
save_CPPFLAGS="${CPPFLAGS}"
|
||||
CPPFLAGS="${CPPFLAGS} ${LIBOFX_CFLAGS}"
|
||||
AC_TRY_CPP( [#include <libofx/libofx.h>], AC_MSG_RESULT(yes),
|
||||
[ AC_MSG_ERROR([cannot find libofx header, needed for OFX support.]) ] )
|
||||
AC_TRY_CPP( [#include <libofx/libofx.h>], AC_MSG_RESULT(yes), OFXfound=no )
|
||||
|
||||
if test x${OFXPREFIX} = x -a x${OFXfound} = no ; then
|
||||
LIBOFX_LIBS="-L$/usr/local/lib"
|
||||
LIBOFX_CFLAGS="-I$/usr/local/include"
|
||||
CPPFLAGS="${CPPFLAGS} ${LIBOFX_CFLAGS}"
|
||||
|
||||
AC_TRY_CPP( [#include <libofx/libofx.h>], AC_MSG_RESULT([yes (in /usr/local)]),
|
||||
[ AC_MSG_ERROR([cannot find libofx header, needed for OFX support.]) ] )
|
||||
fi
|
||||
|
||||
LIBOFX_LIBS="${LIBOFX_LIBS} -lofx -lstdc++"
|
||||
AC_MSG_CHECKING(for libofx)
|
||||
save_LIBS="${LIBS}"
|
||||
LIBS="${LIBS} ${LIBOFX_LIBS}"
|
||||
|
||||
Reference in New Issue
Block a user