components/apr/patches/apr_common.m4.patch
author Kristina Tripp <Kristina.Tripp@oracle.com>
Mon, 20 Oct 2014 13:13:15 -0700
branchs11u2-sru
changeset 3407 e5c7eb70e0b8
parent 203 887f23af6934
permissions -rw-r--r--
18354422 facter cannot parse the output of GNU uptime 18960283 problem in UTILITY/PUPPET 18960296 Update Facter to 2.1.0 19357281 facter --help doesn't work 19402424 puppet error when no swap devices configured 19646677 facter-19 package not installed if ruby-19 not installed 19596952 Update facter 2.1.0 license 17797881 Add facter support for ldoms

=== This is added to fix the MKDEP value for Sun Studio compiler
--- build/apr_common.m4.orig	Mon Oct 29 04:47:32 2007
+++ build/apr_common.m4	Wed Aug 13 01:36:00 2008
@@ -948,7 +948,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