cvs: php4 /ext/dbplus config.m4
| From: | Hartmut Holzgraefe | Date: | Sun, 26 Aug 2001 14:15:39 +0000 |
| Subject: | cvs: php4 /ext/dbplus config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7078@lists.php.net to get a copy of this message | ||
hholzgra Sun Aug 26 10:15:39 2001 EDT
Modified files:
/php4/ext/dbplus config.m4
Log:
added -lm to LIBS, whitespae
Index: php4/ext/dbplus/config.m4
diff -u php4/ext/dbplus/config.m4:1.2 php4/ext/dbplus/config.m4:1.3
--- php4/ext/dbplus/config.m4:1.2 Fri Jul 6 07:51:11 2001
+++ php4/ext/dbplus/config.m4 Sun Aug 26 10:15:39 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.2 2001/07/06 11:51:11 sas Exp $
+dnl $Id: config.m4,v 1.3 2001/08/26 14:15:39 hholzgra Exp $
dnl config.m4 for extension dbplus
@@ -7,7 +7,7 @@
if test "$PHP_DBPLUS" != "no"; then
# --with-dbplus -> check with-path
- SEARCH_PATH="/usr/dbplus"
+ SEARCH_PATH="/usr/dbplus"
SEARCH_FOR="/include/dbconfig.h"
if test -r $PHP_DBPLUS/; then # path given as parameter
DBPLUS_DIR=$PHP_DBPLUS
@@ -30,12 +30,12 @@
AC_ADD_INCLUDE($DBPLUS_DIR/include)
# --with-dbplus -> chech for lib and symbol presence
- LIBNAME=Ddb
+ LIBNAME=Ddb
LIBSYMBOL=Db_Init
old_LIBS=$LIBS
- LIBS="$LIBS -L$DBPLUS_DIR/lib -ldl -lDmacc -lDracc"
+ LIBS="-L$DBPLUS_DIR/lib -lm -ldl -lDmacc -lDracc"
AC_CHECK_LIB($LIBNAME, $LIBSYMBOL, [AC_DEFINE(HAVE_DBPLUSLIB,1,[ ])],
- [AC_MSG_ERROR(wrong dbplus lib version or lib not found)])
+ [AC_MSG_ERROR(wrong dbplus lib version or lib not found)])
LIBS=$old_LIBS
PHP_SUBST(DBPLUS_SHARED_LIBADD)