configure

changeset 109
8a0a7754f123
parent 94
6b15a094d996
child 204
e870a7c8f223
equal deleted inserted replaced
108:2a394ccdd778 109:8a0a7754f123
70 if [ $OS = Darwin ]; then 70 if [ $OS = Darwin ]; then
71 CCONF=clang.mk 71 CCONF=clang.mk
72 PLATFORM=osx.mk 72 PLATFORM=osx.mk
73 fi 73 fi
74 74
75 ISBSD=`echo $OS | grep -c BSD`
76 if [ $ISBSD = 1 ]; then
77 if `type clang > /dev/null`; then
78 CCONF=clang.mk
79 else
80 CCONF=gcc.mk
81 fi
82 PLATFORM=bsd.mk
83 fi
84
75 echo " 85 echo "
76 include \$(BUILD_ROOT)/make/$CCONF 86 include \$(BUILD_ROOT)/make/$CCONF
77 include \$(BUILD_ROOT)/make/$PLATFORM 87 include \$(BUILD_ROOT)/make/$PLATFORM
78 88
79 CFLAGS += $LIBS_CFLAGS 89 CFLAGS += $LIBS_CFLAGS

mercurial