diff options
author | orlikowski <orlikowski@13f79535-47bb-0310-9956-ffa450edef68> | 2001-05-11 19:46:22 +0000 |
---|---|---|
committer | orlikowski <orlikowski@13f79535-47bb-0310-9956-ffa450edef68> | 2001-05-11 19:46:22 +0000 |
commit | 2db4c901f1138a184b20904cbdb26da55c37322a (patch) | |
tree | 506ebbeec8096a6453221503c6d5f518f092b032 /build | |
parent | bb4e045c6fd89ce4a19ee2283c4e920ddc33223d (diff) | |
download | libapr-2db4c901f1138a184b20904cbdb26da55c37322a.tar.gz |
Hum. On systems that don't necessarily have gcc, this is a breakage.
However, this doesn't seem quite clean. Anyone have any better ideas?
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61614 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rwxr-xr-x | build/mkdep.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/mkdep.sh b/build/mkdep.sh index 510bdc02f..baa741471 100755 --- a/build/mkdep.sh +++ b/build/mkdep.sh @@ -7,6 +7,10 @@ # Note that we use && to ensure that Makefile is not changed if an error # occurs during the process # +if [ -z $CC ]; then + CC=cc +fi + sed -ne '1,/^# DO NOT REMOVE/p' Makefile > Makefile.new \ - && gcc -MM $* | sed -e "s/\.o:/\.lo:/" >> Makefile.new \ + && $CC -MM $* | sed -e "s/\.o:/\.lo:/" >> Makefile.new \ && mv Makefile.new Makefile |