mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 09:50:07 +08:00
Merge branch 'master' into remove-old-docs
This commit is contained in:
@@ -92,6 +92,7 @@ jobs:
|
||||
- libiodbc
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --disable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -105,6 +106,7 @@ jobs:
|
||||
- glib
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --enable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -117,6 +119,7 @@ jobs:
|
||||
- unixodbc
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --disable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -130,6 +133,7 @@ jobs:
|
||||
- glib
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --enable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -142,6 +146,7 @@ jobs:
|
||||
- libiodbc
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --disable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -154,6 +159,7 @@ jobs:
|
||||
- unixodbc
|
||||
- bison
|
||||
- gawk
|
||||
- pkg-config
|
||||
env:
|
||||
- CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --disable-glib"
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
@@ -180,3 +186,5 @@ script:
|
||||
- ./src/util/mdb-sql -i test/sql/nwind.sql test/data/nwind.mdb
|
||||
- ./src/util/mdb-queries test/data/ASampleDatabase.accdb qryCostsSummedByOwner
|
||||
- env MDBPATH=test/data ./src/odbc/unittest
|
||||
- env PKG_CONFIG_PATH=. pkg-config libmdb --exists
|
||||
- env PKG_CONFIG_PATH=. pkg-config libmdbsql --exists
|
||||
|
@@ -212,9 +212,11 @@ AC_ARG_ENABLE(glib,
|
||||
[enable_glib=$enableval], [enable_glib=yes])
|
||||
|
||||
if test "$enable_glib" = "yes"; then
|
||||
PKG_CHECK_MODULES([GLIB], [glib-2.0], HAVE_GLIB=true, HAVE_GLIB=false)
|
||||
GLIB_PACKAGE=glib-2.0
|
||||
PKG_CHECK_MODULES([GLIB], [GLIB_PACKAGE], HAVE_GLIB=true, HAVE_GLIB=false)
|
||||
if test "x$HAVE_GLIB" = "xtrue"; then
|
||||
GLIB_CFLAGS="$GLIB_CFLAGS -DHAVE_GLIB=1"
|
||||
AC_SUBST(GLIB_PACKAGE)
|
||||
else
|
||||
enable_glib=no
|
||||
fi
|
||||
|
@@ -9,7 +9,7 @@ includedir=@includedir@
|
||||
|
||||
Name: libmdb
|
||||
Description: core MDB file support library
|
||||
Requires: glib-2.0
|
||||
Requires: @GLIB_PACKAGE@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lmdb
|
||||
Cflags:
|
||||
|
Reference in New Issue
Block a user