components/apache2/patches/apr_common.m4.patch
changeset 278 77b380ba9d84
child 4696 96b9957387bf
equal deleted inserted replaced
277:12ebd29ad46c 278:77b380ba9d84
       
     1 === This is added to fix the MKDEP value for Sun Studio compiler
       
     2 --- build/apr_common.m4.orig	Sat Dec  6 07:17:56 2008
       
     3 +++ build/apr_common.m4	Mon Jan  5 02:28:50 2009
       
     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