components/apache24/patches/apr_common.m4.patch
changeset 2079 46ce7840065c
parent 278 77b380ba9d84
equal deleted inserted replaced
2078:86a0793d713a 2079:46ce7840065c
       
     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
       
     7 +++ build/apr_common.m4
       
     8 @@ -959,7 +959,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