summaryrefslogtreecommitdiff
path: root/ext/pfpro/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pfpro/config.m4')
-rw-r--r--ext/pfpro/config.m445
1 files changed, 0 insertions, 45 deletions
diff --git a/ext/pfpro/config.m4 b/ext/pfpro/config.m4
deleted file mode 100644
index fcc6ddef10..0000000000
--- a/ext/pfpro/config.m4
+++ /dev/null
@@ -1,45 +0,0 @@
-dnl $Id$
-dnl config.m4 for extension pfpro
-
-PHP_ARG_WITH(pfpro, whether to include Verisign Payflow Pro support,
-[ --with-pfpro[=DIR] Include Verisign Payflow Pro support])
-
-if test "$PHP_PFPRO" != "no"; then
-
- for i in /usr/local /usr $PHP_PFPRO; do
- if test -r $i/pfpro.h; then
- PFPRO_INC_DIR=$i
- elif test -r $i/include/pfpro.h; then
- PFPRO_INC_DIR=$i/include
- fi
-
- if test -r $i/libpfpro.so; then
- PFPRO_LIB_DIR=$i
- elif test -r $i/lib/libpfpro.so; then
- PFPRO_LIB_DIR=$i/lib
- fi
- done
-
- if test -z "$PFPRO_INC_DIR"; then
- AC_MSG_ERROR(Could not find pfpro.h. Please make sure you have the
- Verisign Payflow Pro SDK installed. Use
- ./configure --with-pfpro=<pfpro-dir> if necessary)
- fi
-
- if test -z "$PFPRO_LIB_DIR"; then
- AC_MSG_ERROR(Could not find libpfpro.so. Please make sure you have the
- Verisign Payflow Pro SDK installed. Use
- ./configure --with-pfpro=<pfpro-dir> if necessary)
- fi
-
- AC_MSG_RESULT(found in $PFPRO_LIB_DIR)
-
- AC_ADD_INCLUDE($PFPRO_INC_DIR)
-
- PHP_SUBST(PFPRO_SHARED_LIBADD)
- AC_ADD_LIBRARY_WITH_PATH(pfpro, $PFPRO_LIB_DIR, PFPRO_SHARED_LIBADD)
-
- AC_DEFINE(HAVE_PFPRO, 1, [ ])
-
- PHP_EXTENSION(pfpro, $ext_shared)
-fi