summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-04 18:30:53 +0000
committerSascha Schumann <sas@php.net>1999-12-04 18:30:53 +0000
commit4993f93c7c02037a67651a69abf73f47f21fd8dc (patch)
tree7805ac14d55e36db96d87f956128867589fbe63d
parent7fc583f7ff456af98cd76b9769646ce68827b4d4 (diff)
downloadphp-git-4993f93c7c02037a67651a69abf73f47f21fd8dc.tar.gz
Remove custom LDFLAGS/LIBS changes
-rw-r--r--ext/pgsql/config.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4
index d78136bc5c..2cc65420c6 100644
--- a/ext/pgsql/config.m4
+++ b/ext/pgsql/config.m4
@@ -35,10 +35,8 @@ AC_ARG_WITH(pgsql,
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 @@ AC_ARG_WITH(pgsql,
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)