2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
1999-04-22 02:48:28 +00:00
|
|
|
dnl $Id$
|
2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
1999-04-22 02:48:28 +00:00
|
|
|
|
2000-05-02 04:26:22 +00:00
|
|
|
PHP_ARG_WITH(interbase,for InterBase support,
|
1999-04-22 02:48:28 +00:00
|
|
|
[ --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
|
2000-05-02 04:26:22 +00:00
|
|
|
install directory, defaults to /usr/interbase])
|
|
|
|
|
|
|
|
if test "$PHP_INTERBASE" != "no"; then
|
|
|
|
if test "$PHP_INTERBASE" = "yes"; then
|
|
|
|
IBASE_INCDIR=/usr/interbase/include
|
|
|
|
IBASE_LIBDIR=/usr/interbase/lib
|
1999-04-22 02:48:28 +00:00
|
|
|
else
|
2000-05-02 04:26:22 +00:00
|
|
|
IBASE_INCDIR=$PHP_INTERBASE/include
|
|
|
|
IBASE_LIBDIR=$PHP_INTERBASE/lib
|
1999-04-22 02:48:28 +00:00
|
|
|
fi
|
2001-03-27 20:35:04 +00:00
|
|
|
PHP_ADD_LIBRARY_WITH_PATH(gds, $IBASE_LIBDIR, INTERBASE_SHARED_LIBADD)
|
|
|
|
PHP_ADD_INCLUDE($IBASE_INCDIR)
|
2000-05-02 04:26:22 +00:00
|
|
|
AC_DEFINE(HAVE_IBASE,1,[ ])
|
2000-05-12 03:02:14 +00:00
|
|
|
dnl AC_CHECK_LIB(c, strptime, [AC_DEFINE(HAVE_STRPTIME,1,[])])
|
2002-03-12 16:44:00 +00:00
|
|
|
PHP_NEW_EXTENSION(interbase, interbase.c, $ext_shared)
|
2000-05-02 04:26:22 +00:00
|
|
|
PHP_SUBST(INTERBASE_SHARED_LIBADD)
|
|
|
|
fi
|