|
|
5ab6b46 |
--- gnucash-2.0.5/configure.moo 2007-02-24 01:41:41.000000000 -0500
|
|
|
5ab6b46 |
+++ gnucash-2.0.5/configure 2007-02-24 01:41:41.000000000 -0500
|
|
|
5ab6b46 |
@@ -27485,44 +27485,6 @@
|
|
|
5ab6b46 |
LIBOFX_CFLAGS="-I${OFXPREFIX}/include"
|
|
|
5ab6b46 |
fi
|
|
|
5ab6b46 |
|
|
|
5ab6b46 |
- ### Check libofx version
|
|
|
5ab6b46 |
- # Obtain version string
|
|
|
5ab6b46 |
- { echo "$as_me:$LINENO: checking for libofx version >= 0.7.0" >&5
|
|
|
5ab6b46 |
-echo $ECHO_N "checking for libofx version >= 0.7.0... $ECHO_C" >&6; }
|
|
|
5ab6b46 |
- if test x${OFXPREFIX} = x ; then
|
|
|
5ab6b46 |
- ofx_version_output=`ofxdump --version`
|
|
|
5ab6b46 |
- else
|
|
|
5ab6b46 |
- ofx_version_output=`${OFXPREFIX}/bin/ofxdump --version`
|
|
|
5ab6b46 |
- fi
|
|
|
5ab6b46 |
- # Extract version number; output format changed from 0.6.x to 0.7.x
|
|
|
5ab6b46 |
- LIBOFX_VERSION=`echo ${ofx_version_output} | sed 's/\([^0-9]*\)\([0-9]*\.\)/\2/' `
|
|
|
5ab6b46 |
- LIBOFX_VERSION_MAJOR=`echo ${LIBOFX_VERSION} | cut -d. -f1`
|
|
|
5ab6b46 |
- LIBOFX_VERSION_MINOR=`echo ${LIBOFX_VERSION} | cut -d. -f2`
|
|
|
5ab6b46 |
- # Make sure the numbers are not empty
|
|
|
5ab6b46 |
- if test x${LIBOFX_VERSION_MAJOR} = x ; then
|
|
|
5ab6b46 |
- LIBOFX_VERSION_MAJOR=0
|
|
|
5ab6b46 |
- fi
|
|
|
5ab6b46 |
- if test x${LIBOFX_VERSION_MINOR} = x ; then
|
|
|
5ab6b46 |
- LIBOFX_VERSION_MINOR=0
|
|
|
5ab6b46 |
- fi
|
|
|
5ab6b46 |
- # Now check for >= 0.7.x or >= 1.x.x
|
|
|
5ab6b46 |
- if test "${LIBOFX_VERSION_MAJOR}" -ge 1 -o \
|
|
|
5ab6b46 |
- "${LIBOFX_VERSION_MINOR}" -ge 7; then
|
|
|
5ab6b46 |
- # This is libofx >= 0.7.x
|
|
|
5ab6b46 |
- { echo "$as_me:$LINENO: result: found ${LIBOFX_VERSION}" >&5
|
|
|
5ab6b46 |
-echo "${ECHO_T}found ${LIBOFX_VERSION}" >&6; }
|
|
|
5ab6b46 |
- else
|
|
|
5ab6b46 |
- if test x${want_ofx} = xyes ; then
|
|
|
5ab6b46 |
- { { echo "$as_me:$LINENO: error: found ${LIBOFX_VERSION}; Libofx 0.7.0 or newer needed for ofx support" >&5
|
|
|
5ab6b46 |
-echo "$as_me: error: found ${LIBOFX_VERSION}; Libofx 0.7.0 or newer needed for ofx support" >&2;}
|
|
|
5ab6b46 |
- { (exit 1); exit 1; }; }
|
|
|
5ab6b46 |
- else
|
|
|
5ab6b46 |
- { echo "$as_me:$LINENO: result: found ${LIBOFX_VERSION}; Libofx 0.7.0 or newer needed for ofx support" >&5
|
|
|
5ab6b46 |
-echo "${ECHO_T}found ${LIBOFX_VERSION}; Libofx 0.7.0 or newer needed for ofx support" >&6; }
|
|
|
5ab6b46 |
- want_ofx=no
|
|
|
5ab6b46 |
- fi
|
|
|
5ab6b46 |
- fi
|
|
|
5ab6b46 |
-
|
|
|
5ab6b46 |
if test "x${want_ofx}" != xno ; then
|
|
|
5ab6b46 |
# Version number verified. Now check header files.
|
|
|
5ab6b46 |
{ echo "$as_me:$LINENO: checking for libofx/libofx.h" >&5
|