components/apache24/patches/apr_common.m4.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 11 Sep 2014 12:35:18 -0700
changeset 2079 46ce7840065c
parent 278 components/apache2/patches/apr_common.m4.patch@77b380ba9d84
permissions -rw-r--r--
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2 15795895 SUNBT7174116 Update Apache HTTP server to 2.4 15582360 SUNBT6871471 don't load big or infrequently-used modules that can't do anything 15806981 SUNBT7187825 Improve Apache HTTPD packaging in regards to loadable modules 15253627 SUNBT6239654 RFE: Apache2 could run with reduced privileges by default

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

This is added to fix the MKDEP value for Solaris Studio compiler.

--- build/apr_common.m4
+++ build/apr_common.m4
@@ -959,7 +959,7 @@
   int main() { return 0; }
 EOF
   MKDEP="true"
-  for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
+  for i in "$CC -MM" "$CC -M" "$CC -xM" "$CPP -MM" "$CPP -M" "$CPP -xM" "cpp -M"; do
     AC_MSG_CHECKING([if $i can create proper make dependencies])
     if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
       MKDEP=$i