summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-09-24 15:34:06 +0000
committerStig Bakken <ssb@php.net>1999-09-24 15:34:06 +0000
commit701bd7cfad32b3d3464d4223bcd047ce1e5c9586 (patch)
treebfd42bbeaab0b24e0e7f833cefab2683b6ccd5be
parent032b4592057948d119a3f8c9bd509f7e031e4b86 (diff)
downloadphp-git-701bd7cfad32b3d3464d4223bcd047ce1e5c9586.tar.gz
set "phplibdir" in configure so it doesn't have to be set in Makefile.am
-rw-r--r--configure.in.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in.in b/configure.in.in
index adca9209d8..89529e38e4 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -68,6 +68,9 @@ AC_SUBST(PHP_VERSION)
AM_CONFIG_HEADER(php_config.h)
AM_MAINTAINER_MODE
+phplibdir=$libdir/php
+AC_SUBST(phplibdir)
+
dnl We want this one before the checks, so the checks can modify CFLAGS.
test -z "$CFLAGS" && auto_cflags=1
@@ -966,7 +969,6 @@ AC_SUBST(EXTRA_LIBS)
# reading config stubs
esyscmd(./scripts/config-stubs)
-
divert(4)
dnl If we're using gcc and the user hasn't specified CFLAGS, add -O2.