components/apr-1_5/patches/apr_common.m4.patch
branchs11-update
changeset 3668 614657dc60eb
equal deleted inserted replaced
3666:f6b2b3066ff4 3668:614657dc60eb
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 This is added to fix the MKDEP value for Solaris Studio compiler.
       
     5 
       
     6 --- build/apr_common.m4.orig	Mon Oct 29 04:47:32 2007
       
     7 +++ build/apr_common.m4	Wed Aug 13 01:36:00 2008
       
     8 @@ -948,7 +948,7 @@
       
     9    int main() { return 0; }
       
    10  EOF
       
    11    MKDEP="true"
       
    12 -  for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
       
    13 +  for i in "$CC -MM" "$CC -M" "$CC -xM" "$CPP -MM" "$CPP -M" "$CPP -xM" "cpp -M"; do
       
    14      AC_MSG_CHECKING([if $i can create proper make dependencies])
       
    15      if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
       
    16        MKDEP=$i