gnucash maint: Fix dbi driver detection on linux and similar
Geert Janssens
gjanssens at code.gnucash.org
Sat Apr 25 03:32:40 EDT 2015
Updated via https://github.com/Gnucash/gnucash/commit/df1fc7d9 (commit)
from https://github.com/Gnucash/gnucash/commit/ef8dbd1d (commit)
commit df1fc7d9034fb6412a478e50be67bf6166ae3933
Author: Geert Janssens <janssens-geert at telenet.be>
Date: Sat Apr 25 09:25:28 2015 +0200
Fix dbi driver detection on linux and similar
This is a follow up on the fix for
Bug 747300 - SQL backend missing from most recent DMG?
which broke dbi driver detection on linux
diff --git a/configure.ac b/configure.ac
index 752f8f2..f6e9623 100644
--- a/configure.ac
+++ b/configure.ac
@@ -634,8 +634,8 @@ then
;;
esac
old_ld_library_path="$LD_LIBRARY_PATH"
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SEARCH_LIBS"
- AC_MSG_NOTICE([Search Path $(LD_LIBRARY_PATH)])
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SEARCH_LIBS"
+ AC_MSG_NOTICE([Search Path $LD_LIBRARY_PATH])
AC_MSG_CHECKING([Looking for at least one supported DBD module])
AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
[[if (!$lt_cv_dlopen("libdbdsqlite3.$LDEXT"$LDFUNCARGS)) return -1;
@@ -663,7 +663,7 @@ to the configure argument list and run it again.
LIBDBI_LIBS=-ldbi
_COMPONENTS="$_COMPONENTS dbi"
LIBS=$saved_libs
- LD_LIBRARY_PATH="$old_ld_library_path"
+ export LD_LIBRARY_PATH="$old_ld_library_path"
else
AC_MSG_ERROR([
Summary of changes:
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list