From: Kurt Zeilenga Date: Sun, 22 Nov 1998 19:18:58 +0000 (+0000) Subject: Use environment $CC is available, otherwise cc. New makefiles X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1050 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1eba97fc91fa3501b8b63cb06c575860ad7f09dd;p=openldap Use environment $CC is available, otherwise cc. New makefiles actually use -c option. --- diff --git a/build/mkdep b/build/mkdep index 67dc3e01bf..fbaea123b4 100755 --- a/build/mkdep +++ b/build/mkdep @@ -25,7 +25,7 @@ set -e # exit immediately if any errors occur MAKE=Makefile # default makefile name is "Makefile" NOSLASH="no" # by default, / dependencies are included -CC=cc # default compiler is cc +CC=${CC-cc} # default compiler is cc while : do case "$1" in