diff options
Diffstat (limited to 'ext/dbase/config.m4')
-rw-r--r-- | ext/dbase/config.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/dbase/config.m4 b/ext/dbase/config.m4 new file mode 100644 index 0000000000..29f54923bf --- /dev/null +++ b/ext/dbase/config.m4 @@ -0,0 +1,21 @@ +dnl $Id$ + +AC_MSG_CHECKING(whether to include the bundled dbase library) +AC_ARG_WITH(dbase, +[ --with-dbase Include the bundled dbase library], +[ + if test "$withval" = "yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE(DBASE,1) + PHP_EXTENSION(dbase) + else + AC_MSG_RESULT(no) + AC_DEFINE(DBASE,0) + DBASE_LIB= + fi +],[ + AC_MSG_RESULT(no) + AC_DEFINE(DBASE,0) + DBASE_LIB= +]) +AC_SUBST(DBASE_LIB) |