From 9f1d69b41766ae87ca2f5b2b177e74bfd71b0021 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Sat, 26 Aug 2006 19:03:11 +0000 Subject: [PATCH] Revert libgoffice pkgconfig filename change. Add CFLAGS at gnucash configure. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14729 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index b3542b9798..a02f6f8e47 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -531,7 +531,7 @@ function inst_goffice() { _GOFFICE_UDIR=`unix_path $GOFFICE_DIR` add_to_env $_GOFFICE_UDIR/lib/pkgconfig PKG_CONFIG_PATH set +e - quiet pkg-config --exists libgoffice-0.3 + quiet pkg-config --exists libgoffice-1 if [ $? = 0 ] ; then set -e echo "goffice already installed. skipping." @@ -557,7 +557,8 @@ function inst_goffice() { make install qpopd fi - pkg-config --exists libgoffice-0.3 || die "goffice not installed correctly" + pkg-config --exists libgoffice-0.3 && die "Sorry, for goffice gnucash expects a pkgconfig file with the name libgoffice-1.pc, but you have an installed file libgoffice-0.3.pc. You should probably rename that file." + pkg-config --exists libgoffice-1 || die "goffice not installed correctly" } function inst_svn() { @@ -600,8 +601,9 @@ function inst_gnucash() { ./configure \ --prefix=$_GNUCASH_WFSDIR \ --enable-debug \ - CPPFLAGS="${AUTOTOOLS_CPPFLAGS}" \ - LDFLAGS="${AUTOTOOLS_LDFLAGS}" + CPPFLAGS="${AUTOTOOLS_CPPFLAGS} ${REGEX_CPPFLAGS}" \ + CFLAGS="${AUTOTOOLS_CPPFLAGS} ${REGEX_CPPFLAGS}" \ + LDFLAGS="${AUTOTOOLS_LDFLAGS} ${REGEX_LDFLAGS}" # make qpopd }