more index work

fixed gnome detection (i think)
added back/forward navigation to gui debugger
This commit is contained in:
brianb
2003-01-09 20:24:19 +00:00
parent c3386d2a43
commit f35c3f05b9
6 changed files with 514 additions and 62 deletions

View File

@@ -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"