xz: change to new library paths
[unleashed-userland.git] / components / apr-util / patches / apr_common.m4.patch
blob0e4621965cb86c5145dbd050674a4cd1064e7706
1 === This is added to fix the MKDEP value for Sun Studio compiler
2 --- build/apr_common.m4.~1~ 2011-11-08 06:49:49.000000000 +0400
3 +++ build/apr_common.m4 2013-07-16 11:40:00.966434400 +0400
4 @@ -954,7 +954,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