diff options
author | Stig Bakken <ssb@php.net> | 1999-04-22 02:48:28 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-04-22 02:48:28 +0000 |
commit | 2c0ad3ee25cd8e449b02c4668a39f48998507739 (patch) | |
tree | 8064c7ee59309ffed3d9c5b8fd5c329ede193561 /ext/interbase/config.m4 | |
parent | 2a78f92804ae6f3e32cd278afbb9aa8ec3d2f52d (diff) | |
download | php-git-2c0ad3ee25cd8e449b02c4668a39f48998507739.tar.gz |
last bunch of extensions moving to ext/
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
Diffstat (limited to 'ext/interbase/config.m4')
-rw-r--r-- | ext/interbase/config.m4 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ext/interbase/config.m4 b/ext/interbase/config.m4 new file mode 100644 index 0000000000..2328e25e1a --- /dev/null +++ b/ext/interbase/config.m4 @@ -0,0 +1,29 @@ +dnl $Id$ + +AC_MSG_CHECKING(for InterBase support) +AC_ARG_WITH(interbase, +[ --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base + install directory, defaults to /usr/interbase], +[ + if test "$withval" != "no"; then + if test "$withval" = "yes"; then + IBASE_INCDIR=/usr/interbase/include + IBASE_LIBDIR=/usr/interbase/lib + else + IBASE_INCDIR=$withval/include + IBASE_LIBDIR=$withval/lib + fi + IBASE_INCLUDE=-I$IBASE_INCDIR + IBASE_LFLAGS=-L$IBASE_LIBDIR + IBASE_LIBS="-lgds" + AC_DEFINE(HAVE_IBASE) + AC_MSG_RESULT(yes) + EXTRA_LIBS="$EXTRA_LIBS $IBASE_LFLAGS $IBASE_LIBS" + INCLUDES="$INCLUDES $IBASE_INCLUDE" + PHP_EXTENSION(interbase) + else + AC_MSG_RESULT(no) + fi +],[ + AC_MSG_RESULT(no) +]) |