diff options
author | foobar <sniper@php.net> | 2002-04-23 02:47:34 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-04-23 02:47:34 +0000 |
commit | 3679c6e0548bf00c24659d882624a8ddda591741 (patch) | |
tree | b5f24358509d156100bf551f6f4caf889523c60e | |
parent | 675ff2d81117bda6fb660a2c61a09f808da91e8f (diff) | |
download | php-git-3679c6e0548bf00c24659d882624a8ddda591741.tar.gz |
Part 1 of commits to fix some issues with static apache (1.3.x) compile:
- Made the OPENSSL_INCDIR available to be added in the PHP_CFLAGS
in libphp4.module
- Make it possible to set SAPI specific include dirs
-rw-r--r-- | acinclude.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 0dbb94a35b..c7ad867ec9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -239,6 +239,9 @@ AC_DEFUN(PHP_SETUP_OPENSSL,[ ],[ -L$OPENSSL_LIBDIR ]) + + AC_SUBST(OPENSSL_INCDIR) + ]) dnl PHP_EVAL_LIBLINE(LINE, SHARED-LIBADD) @@ -1091,7 +1094,7 @@ EOF ]) dnl -dnl PHP_SELECT_SAPI(name, type[, sources]) +dnl PHP_SELECT_SAPI(name, type[, sources [, extra-cflags]]) dnl dnl Selects the SAPI name and type (static, shared, programm) dnl and optionally also the source-files for the SAPI-specific @@ -1106,8 +1109,10 @@ AC_DEFUN(PHP_SELECT_SAPI,[ bundle) PHP_BUILD_BUNDLE;; program) PHP_BUILD_PROGRAM;; esac + + ifelse($,,ac_extra=,[ac_extra=$4]) - ifelse($3,,,[PHP_ADD_SOURCES(sapi/$1, $3,,sapi)]) + ifelse($3,,,[PHP_ADD_SOURCES(sapi/$1, $3, $ac_extra, sapi)]) ]) dnl deprecated |