components/apr/patches/apr_common.m4.patch
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Wed, 15 Mar 2017 10:30:53 -0700
branchs11u3-sru
changeset 7925 9029178fe4cd
parent 203 887f23af6934
permissions -rw-r--r--
25727003 Upgrade Samba to 4.4.13 25833834 problem in UTILITY/SAMBA 25511645 smbclient fails to list shares from Solaris 11 SPARC kernel SMB server
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
203
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     1
=== This is added to fix the MKDEP value for Sun Studio compiler
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     2
--- build/apr_common.m4.orig	Mon Oct 29 04:47:32 2007
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     3
+++ build/apr_common.m4	Wed Aug 13 01:36:00 2008
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     4
@@ -948,7 +948,7 @@
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     5
   int main() { return 0; }
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     6
 EOF
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     7
   MKDEP="true"
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     8
-  for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     9
+  for i in "$CC -MM" "$CC -M" "$CC -xM" "$CPP -MM" "$CPP -M" "$CPP -xM" "cpp -M"; do
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    10
     AC_MSG_CHECKING([if $i can create proper make dependencies])
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    11
     if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
887f23af6934 7035055 move apr and apr-util to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    12
       MKDEP=$i