cvs: /php4/ext/pgsql config.m4
| From: | Sascha Schumann | Date: | Sat, 04 Dec 1999 18:31:24 +0000 |
| Subject: | cvs: /php4/ext/pgsql config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7407@lists.php.net to get a copy of this message | ||
sas Sat Dec 4 13:31:24 1999 EDT
Modified files:
/php4/ext/pgsql config.m4
Log:
Remove custom LDFLAGS/LIBS changes
Index: php4/ext/pgsql/config.m4
diff -u php4/ext/pgsql/config.m4:1.5 php4/ext/pgsql/config.m4:1.6
--- php4/ext/pgsql/config.m4:1.5 Mon Oct 4 11:18:17 1999
+++ php4/ext/pgsql/config.m4 Sat Dec 4 13:30:53 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.5 1999/10/04 15:18:17 sas Exp $
+dnl $Id: config.m4,v 1.6 1999/12/04 18:30:53 sas Exp $
AC_MSG_CHECKING(for PostgresSQL support)
AC_ARG_WITH(pgsql,
@@ -35,10 +35,8 @@
PGSQL_LFLAGS=-L$PGSQL_LIBDIR
PGSQL_LIBS=-lpq
- old_CFLAGS=$CFLAGS; old_LDFLAGS=$LDFLAGS; old_LIBS=$LIBS
+ old_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $PGSQL_INCLUDE"
- LDFLAGS="$LDFLAGS $PGSQL_LFLAGS"
- LIBS="$LIBS $PGSQL_LIBS"
AC_DEFINE(HAVE_PGSQL)
if test "$shared" = "yes"; then
AC_MSG_RESULT(yes (shared))
@@ -50,7 +48,7 @@
PGSQL_STATIC="libphpext_pgsql.la"
fi
AC_CHECK_FUNC(PQcmdTuples,AC_DEFINE(HAVE_PQCMDTUPLES))
- CFLAGS=$old_CFLAGS; LDFLAGS=$old_LDFLAGS; LIBS=$old_LIBS
+ CFLAGS=$old_CFLAGS
PHP_EXTENSION(pgsql,$shared)
else
AC_MSG_RESULT(no)