cvs: /php4/sapi/apache config.m4

From: Date: Fri, 24 Dec 1999 15:57:11 +0000
Subject: cvs: /php4/sapi/apache config.m4
Groups: php.version4 
Request: Send a blank email to php-version4+get-8486@lists.php.net to get a copy of this message
sas Fri Dec 24 10:57:11 1999 EDT Modified files: /php4/sapi/apache config.m4 Log: Add -rdynamic, if supported by gcc and static Apache build is used Index: php4/sapi/apache/config.m4 diff -u php4/sapi/apache/config.m4:1.14 php4/sapi/apache/config.m4:1.15 --- php4/sapi/apache/config.m4:1.14 Sat Dec 11 12:48:41 1999 +++ php4/sapi/apache/config.m4 Fri Dec 24 10:56:40 1999 @@ -1,5 +1,15 @@ dnl ## -*- sh -*- +AC_DEFUN(PHP_APACHE_CHECK_RDYNAMIC,[ + if test -n "$GCC"; then + dnl we should use a PHP-specific macro here + TSRM_CHECK_GCC_ARG(-rdynamic, gcc_rdynamic) + if test "$gcc_rdynamic" = "yes"; then + PHP_LDFLAGS="$PHP_LDFLAGS -rdynamic" + fi + fi +]) + AC_MSG_CHECKING(for Apache module support via DSO through APXS) AC_ARG_WITH(apxs, [ --with-apxs[=FILE] Build shared Apache module. FILE is the optional @@ -195,6 +205,7 @@ APACHE_WANT_HSREGEX=no fi AC_SUBST(APACHE_WANT_HSREGEX) + PHP_APACHE_CHECK_RDYNAMIC PHP_EXTENSION(apache) PHP_OUTPUT(sapi/apache/libphp4.module) PHP_BUILD_STATIC

« previous php.version4 (#8486) next »