2020-12-06 21:35:18 +01:00
|
|
|
diff -uNr php-8.0.0.orig/sapi/apache2handler/config.m4 php-8.0.0/sapi/apache2handler/config.m4
|
|
|
|
--- php-8.0.0.orig/sapi/apache2handler/config.m4 2020-11-24 22:34:03.000000000 +0530
|
|
|
|
+++ php-8.0.0/sapi/apache2handler/config.m4 2020-12-06 22:10:55.658675537 +0530
|
2019-12-30 01:17:09 +01:00
|
|
|
@@ -64,18 +64,9 @@
|
2017-06-14 13:30:48 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
|
|
|
|
- if test -z `$APXS -q SYSCONFDIR`; then
|
|
|
|
INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
|
|
|
|
$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
|
2020-12-06 21:35:18 +01:00
|
|
|
-i -n php"
|
2017-06-14 13:30:48 +02:00
|
|
|
- else
|
|
|
|
- APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
|
|
|
|
- INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
|
|
|
|
- \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
|
|
|
|
- $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
|
|
|
|
- -S SYSCONFDIR='$APXS_SYSCONFDIR' \
|
2020-12-06 21:35:18 +01:00
|
|
|
- -i -a -n php"
|
2017-06-14 13:30:48 +02:00
|
|
|
- fi
|
|
|
|
|
2020-12-06 21:35:18 +01:00
|
|
|
LIBPHP_CFLAGS="-shared"
|
|
|
|
PHP_SUBST(LIBPHP_CFLAGS)
|
|
|
|
@@ -103,6 +94,8 @@
|
2020-01-02 00:15:03 +01:00
|
|
|
INSTALL_IT="$INSTALL_IT $SAPI_SHARED"
|
|
|
|
;;
|
|
|
|
*)
|
2020-12-06 21:35:18 +01:00
|
|
|
+ EXTRA_LDFLAGS="`$APR_CONFIG --ldflags --link-ld --libs`"&
|
2020-01-02 00:15:03 +01:00
|
|
|
+ EXTRA_LDFLAGS="`$APU_CONFIG --ldflags --link-ld --libs` $EXTRA_LDFLAGS"
|
2020-12-06 21:35:18 +01:00
|
|
|
PHP_SELECT_SAPI(apache2handler, shared, mod_php.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
|
2020-01-02 00:15:03 +01:00
|
|
|
INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
|
|
|
|
;;
|