r23187 - gnucash/trunk - Revert dbi check
Geert Janssens
janssens-geert at telenet.be
Sat Sep 21 12:29:48 EDT 2013
Oops, this one slipped through but was intended for local-use only on my machine to be able to
continue to work while the new configure issue was being sorted out.
I have just pushed a revert-the-revert commit :)
Geert
On Saturday 21 September 2013 12:12:10 Geert Janssens wrote:
> Author: gjanssens
> Date: 2013-09-21 12:12:07 -0400 (Sat, 21 Sep 2013)
> New Revision: 23187
> Trac: http://svn.gnucash.org/trac/changeset/23187
>
> Modified:
> gnucash/trunk/configure.ac
> Log:
> Revert dbi check
>
> Modified: gnucash/trunk/configure.ac
>
==========================================================
=========
> --- gnucash/trunk/configure.ac 2013-09-20 22:41:50 UTC (rev 23186)
> +++ gnucash/trunk/configure.ac 2013-09-21 16:12:07 UTC (rev 23187)
> @@ -537,41 +537,41 @@
> [AS_HELP_STRING([--with-dbi-dbd-dir=PATH],[specify location of
> libdbi drivers @<:@default=${libdir}/dbd@:>@])],
> GNC_DBD_DIR="$with_dbi_dbd_dir",
> GNC_DBD_DIR="")
> - case $host_os in
> - win32*|mingw*)
> - LDINC="#include <windows.h>"
> - LDFUNC=LoadLibrary
> - LDFUNCARGS=""
> - LDEXT=dll
> - ;;
> - Darwin*)
> - LDINC="#include <dlfcn.h>"
> - LDFUNC=dlopen
> - LDFUNCARGS=", RTLD_NOW"
> - LDEXT=so
> - ;;
> - *)
> - LDINC="#include <dlfcn.h>"
> - LDFUNC=dlopen
> - LDFUNCARGS=", RTLD_NOW"
> - LDEXT=so
> - export LDFLAGS="$LDFLAGS -ldl"
> - ;;
> - esac
> - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GNC_DBD_DIR"
> - AC_MSG_CHECKING([Looking for at least one supported DBD
> module]) - AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> - [[if (!$LDFUNC("libdbdsqlite3.
$LDEXT"$LDFUNCARGS)) return
> -1; - ]])],AC_MSG_RESULT([SQLite3]),
> - AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> - [[if (!$LDFUNC("libdbdmysql.
$LDEXT"$LDFUNCARGS)) return -1;
> - ]])],AC_MSG_RESULT([MySql]),
> - AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> - [[if (!$LDFUNC("libdbdpgsql.
$LDEXT"$LDFUNCARGS)) return -1;
> - ]])],AC_MSG_RESULT([Postgresql]),
> - AC_MSG_FAILURE([[
> -Unable to find any of the supported dbd modules (libdbdsqlite3,
> libdbdmysql, or libdbdpgsql) needed to actually use the SQL backend.
> Please install one or more of them to proceed. - ]]))))
> +# case $host_os in
> +# win32*|mingw*)
> +# LDINC="#include <windows.h>"
> +# LDFUNC=LoadLibrary
> +# LDFUNCARGS=""
> +# LDEXT=dll
> +# ;;
> +# Darwin*)
> +# LDINC="#include <dlfcn.h>"
> +# LDFUNC=dlopen
> +# LDFUNCARGS=", RTLD_NOW"
> +# LDEXT=so
> +# ;;
> +# *)
> +# LDINC="#include <dlfcn.h>"
> +# LDFUNC=dlopen
> +# LDFUNCARGS=", RTLD_NOW"
> +# LDEXT=so
> +# export LDFLAGS="$LDFLAGS -ldl"
> +# ;;
> +# esac
> +# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GNC_DBD_DIR"
> +# AC_MSG_CHECKING([Looking for at least one supported DBD
> module]) +# AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> +# [[if (!$LDFUNC("libdbdsqlite3.
$LDEXT"$LDFUNCARGS)) return
> -1; +# ]])],AC_MSG_RESULT([SQLite3]),
> +# AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> +# [[if (!$LDFUNC("libdbdmysql.
$LDEXT"$LDFUNCARGS)) return -1;
> +# ]])],AC_MSG_RESULT([MySql]),
> +# AC_RUN_IFELSE([AC_LANG_PROGRAM([$LDINC],
> +# [[if (!$LDFUNC("libdbdpgsql.
$LDEXT"$LDFUNCARGS)) return -1;
> +# ]])],AC_MSG_RESULT([Postgresql]),
> +# AC_MSG_FAILURE([[
> +#Unable to find any of the supported dbd modules (libdbdsqlite3,
> libdbdmysql, or libdbdpgsql) needed to actually use the SQL backend.
> Please install one or more of them to proceed. +# ]]))))
>
> LIBDBI_LIBS=-ldbi
> _COMPONENTS="$_COMPONENTS dbi"
>
> _______________________________________________
> gnucash-changes mailing list
> gnucash-changes at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-changes
More information about the gnucash-devel
mailing list