components/apache24/patches/apr_common.m4.patch
author dongszha <dongsheng.zhang@oracle.com>
Wed, 04 Nov 2015 09:09:22 -0800
changeset 5058 2d501f209a1a
parent 2079 46ce7840065c
permissions -rw-r--r--
21813225 update Nettle to version 3.1.1

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