components/apr/patches/apr_common.m4.patch
changeset 203 887f23af6934
equal deleted inserted replaced
202:272e371b3a44 203:887f23af6934
       
     1 === This is added to fix the MKDEP value for Sun Studio compiler
       
     2 --- build/apr_common.m4.orig	Mon Oct 29 04:47:32 2007
       
     3 +++ build/apr_common.m4	Wed Aug 13 01:36:00 2008
       
     4 @@ -948,7 +948,7 @@
       
     5    int main() { return 0; }
       
     6  EOF
       
     7    MKDEP="true"
       
     8 -  for i in "$CC -MM" "$CC -M" "$CPP -MM" "$CPP -M" "cpp -M"; do
       
     9 +  for i in "$CC -MM" "$CC -M" "$CC -xM" "$CPP -MM" "$CPP -M" "$CPP -xM" "cpp -M"; do
       
    10      AC_MSG_CHECKING([if $i can create proper make dependencies])
       
    11      if $i conftest.c 2>/dev/null | grep 'conftest.o: conftest.c' >/dev/null; then
       
    12        MKDEP=$i