mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 02:09:49 +08:00
more index work
fixed gnome detection (i think) added back/forward navigation to gui debugger
This commit is contained in:
37
configure.in
37
configure.in
@@ -25,16 +25,29 @@ OPTDIRS=""
|
||||
dnl ---------------------------------------------------------------------
|
||||
dnl Compile time options
|
||||
dnl ---------------------------------------------------------------------
|
||||
AC_ARG_ENABLE(sql,
|
||||
[ --enable-sql Enable SQL engine])
|
||||
|
||||
if test "$enable_sql" = "yes" ; then
|
||||
CFLAGS="$CFLAGS -DSQL"
|
||||
sql=true
|
||||
OPTDIRS="$OPTDIRS sql"
|
||||
sql=true
|
||||
AC_MSG_CHECKING( Are we using flex )
|
||||
if test "x$LEX" = "xflex"; then
|
||||
LFLAGS="$LFLAGS -i"
|
||||
AC_MSG_RESULT( yes );
|
||||
else
|
||||
AC_MSG_RESULT( no - SQL engine disable);
|
||||
sql=false
|
||||
fi
|
||||
|
||||
if test "x$YACC" = "x"; then
|
||||
sql=false
|
||||
fi
|
||||
|
||||
if test "x$sql" = "xtrue"; then
|
||||
CFLAGS="$CFLAGS -DSQL"
|
||||
OPTDIRS="$OPTDIRS sql"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(SQL, test x$sql = xtrue)
|
||||
AC_SUBST(SQL)
|
||||
AC_SUBST(LFLAGS)
|
||||
|
||||
dnl check for iODBC
|
||||
|
||||
@@ -45,9 +58,9 @@ if test "$with_iodbc"; then
|
||||
ODBC_INC=$with_iodbc/include;
|
||||
odbc=true
|
||||
OPTDIRS="$OPTDIRS odbc"
|
||||
if test "$enable_sql" != "yes" ; then
|
||||
if test "x$sql" != "xtrue" ; then
|
||||
echo
|
||||
echo ODBC requires the --enable-sql flag
|
||||
echo ODBC requires flex and bison for the SQL engine
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@@ -60,9 +73,9 @@ if test "$with_unixodbc"; then
|
||||
ODBC_INC=$with_unixodbc/include
|
||||
odbc=true
|
||||
OPTDIRS="$OPTDIRS odbc"
|
||||
if test "$enable_sql" != "yes" ; then
|
||||
if test "x$sql" != "xtrue" ; then
|
||||
echo
|
||||
echo ODBC requires the --enable-sql flag
|
||||
echo ODBC requires flex and bison for the SQL engine
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@@ -81,9 +94,9 @@ if test "$no_glib" == yes; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES(GNOME,libglade-2.0 libgnomeui-2.0)
|
||||
PKG_CHECK_MODULES(GNOME,libglade-2.0 libgnomeui-2.0, HAVE_GNOME=true, HAVE_GNOME=false)
|
||||
|
||||
if test "$GNOME_CFLAGS" != ""; then
|
||||
if test "x$HAVE_GNOME" = "xtrue"; then
|
||||
AC_SUBST(GNOME_CFLAGS)
|
||||
AC_SUBST(GNOME_LIBS)
|
||||
OPTDIRS="$OPTDIRS gmdb2"
|
||||
|
||||
Reference in New Issue
Block a user