Skip to content

Commit 6094128

Browse files
committed
moved dbase into ext/ along with the bundled library
dbase programs are no longer included
1 parent b515f34 commit 6094128

14 files changed

+1786
-0
lines changed

ext/dbase/Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Process this file with automake to produce Makefile.in -*- makefile -*-
2+
INCLUDES=@INCLUDES@ -I@top_srcdir@ -I@top_srcdir@/libzend
3+
noinst_LIBRARIES=libphpext_dbase.a
4+
libphpext_dbase_a_SOURCES=dbf_head.c dbf_rec.c dbf_misc.c dbf_ndx.c dbase.c
5+

ext/dbase/config.m4

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
dnl $Id$
2+
3+
AC_MSG_CHECKING(whether to include the bundled dbase library)
4+
AC_ARG_WITH(dbase,
5+
[ --with-dbase Include the bundled dbase library],
6+
[
7+
if test "$withval" = "yes"; then
8+
AC_MSG_RESULT(yes)
9+
AC_DEFINE(DBASE,1)
10+
PHP_EXTENSION(dbase)
11+
else
12+
AC_MSG_RESULT(no)
13+
AC_DEFINE(DBASE,0)
14+
DBASE_LIB=
15+
fi
16+
],[
17+
AC_MSG_RESULT(no)
18+
AC_DEFINE(DBASE,0)
19+
DBASE_LIB=
20+
])
21+
AC_SUBST(DBASE_LIB)

0 commit comments

Comments
 (0)