]> granicus.if.org Git - sudo/commitdiff
BSD/OS >= 2.0 now uses shlicc instead of just gcc
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Jul 1996 04:04:40 +0000 (04:04 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Jul 1996 04:04:40 +0000 (04:04 +0000)
configure.in

index ebad538a5211d36817974d41ad85220908bb9223..ecc1aa9ae91058b450de2dfccadbeb56cb194f8c 100644 (file)
@@ -453,6 +453,14 @@ case "$OS" in
     "next")    echo "Looks like NeXTstep"
                ;;
     "bsd/386" | "bsd/os") echo "Looks like BSDi BSD/OS"
+               # Use shlicc unless asked to do otherwise
+               if test "$OSREV" -ge 2 -a "${with_CC+set}" != set -a \
+                       "$ac_cv_prog_CC" = "gcc"; then
+                   echo 'using shlicc as CC'
+                   ac_cv_prog_CC=shlicc
+                   CC="$ac_cv_prog_CC"
+               fi  
+               # This should always be true but why not be careful...
                if test "$with_C2" = "yes"; then
                    SHADOW_TYPE="SPW_BSD"
                fi