cvs: pecl /inclued config.m4
| From: | Antony Dovgal | Date: | Wed, 23 Jan 2008 22:56:00 +0000 |
| Subject: | cvs: pecl /inclued config.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9584@lists.php.net to get a copy of this message | ||
tony2001 Wed Jan 23 22:56:00 2008 UTC
Modified files:
/pecl/inclued config.m4
Log:
nuke commented out garbage
http://cvs.php.net/viewvc.cgi/pecl/inclued/config.m4?r1=1.1&r2=1.2&diff_format=u
Index: pecl/inclued/config.m4
diff -u pecl/inclued/config.m4:1.1 pecl/inclued/config.m4:1.2
--- pecl/inclued/config.m4:1.1 Wed Jan 23 20:05:28 2008
+++ pecl/inclued/config.m4 Wed Jan 23 22:56:00 2008
@@ -1,50 +1,10 @@
-dnl $Id: config.m4,v 1.1 2008/01/23 20:05:28 gopalv Exp $
+dnl $Id: config.m4,v 1.2 2008/01/23 22:56:00 tony2001 Exp $
dnl config.m4 for extension inclued
PHP_ARG_ENABLE(inclued, whether to enable inclued support,
[ --enable-inclued Enable inclued support])
if test "$PHP_INCLUED" != "no"; then
- dnl Write more examples of tests here...
-
- dnl # --with-inclued -> check with-path
- dnl SEARCH_PATH="/usr/local /usr" # you might want to change this
- dnl SEARCH_FOR="/include/inclued.h" # you most likely want to change this
- dnl if test -r $PHP_INCLUED/; then # path given as parameter
- dnl INCLUED_DIR=$PHP_INCLUED
- dnl else # search default path list
- dnl AC_MSG_CHECKING([for inclued files in default path])
- dnl for i in $SEARCH_PATH ; do
- dnl if test -r $i/$SEARCH_FOR; then
- dnl INCLUED_DIR=$i
- dnl AC_MSG_RESULT(found in $i)
- dnl fi
- dnl done
- dnl fi
- dnl
- dnl if test -z "$INCLUED_DIR"; then
- dnl AC_MSG_RESULT([not found])
- dnl AC_MSG_ERROR([Please reinstall the inclued distribution])
- dnl fi
-
- dnl # --with-inclued -> add include path
- dnl PHP_ADD_INCLUDE($INCLUED_DIR/include)
-
- dnl # --with-inclued -> check for lib and symbol presence
- dnl LIBNAME=inclued # you may want to change this
- dnl LIBSYMBOL=inclued # you most likely want to change this
-
- dnl PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
- dnl [
- dnl PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $INCLUED_DIR/lib, INCLUED_SHARED_LIBADD)
- dnl AC_DEFINE(HAVE_INCLUEDLIB,1,[ ])
- dnl ],[
- dnl AC_MSG_ERROR([wrong inclued lib version or lib not found])
- dnl ],[
- dnl -L$INCLUED_DIR/lib -lm -ldl
- dnl ])
- dnl
- dnl PHP_SUBST(INCLUED_SHARED_LIBADD)
inclued_sources="inclued.c \
inclued_zend.c"