set "phplibdir" in configure so it doesn't have to be set in Makefile.am

This commit is contained in:
Stig Bakken 1999-09-24 15:34:06 +00:00
parent 032b459205
commit 701bd7cfad

View File

@ -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.