X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.in;h=fffe05c5e762c7dae46ed9718184d240bac0e3bc;hb=9af5f9f094706685bae09a885fb6adf6394124c2;hp=fde76c7f6f7d005a97ebbc011266232f9b68e8b1;hpb=b5705ff47a847ebbd6cf78130bdb710692e4fdd3;p=simgear.git diff --git a/configure.in b/configure.in index fde76c7f..fffe05c5 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,24 @@ dnl $Id$ AC_INIT(simgear/bucket/newbucket.cxx) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.0.11) +AM_INIT_AUTOMAKE(SimGear, 0.0.14) + +dnl Specify KAI C++ compiler and flags. +dnl Borrowed with slight modification from blitz distribution. +AC_ARG_WITH(cxx, + [ --with-cxx=COMPILER[:name-flags] set options for COMPILER (KCC)], + [case "$withval" in + KCC*) # KAI C++ http://www.kai.com/ + echo "Configuring for KAI C++" + AC_SG_SET_COMPILER($withval,"KCC","--restrict --strict_warnings") + CXX_OPTIMIZE_FLAGS=="+K3 -O3" + CXX_DEBUG_FLAGS="-g +K0" + ;; + esac +]) + +echo CXX = $CXX +echo CC = $CC dnl Checks for programs. AC_PROG_MAKE_SET @@ -251,16 +268,20 @@ AC_OUTPUT( \ simgear/Makefile \ simgear/version.h \ simgear/bucket/Makefile \ + simgear/camera/Makefile \ simgear/debug/Makefile \ simgear/ephemeris/Makefile \ + simgear/io/Makefile \ simgear/magvar/Makefile \ simgear/math/Makefile \ simgear/misc/Makefile \ + simgear/route/Makefile \ simgear/screen/Makefile \ simgear/serial/Makefile \ simgear/sky/Makefile \ simgear/timing/Makefile \ simgear/xgl/Makefile \ + simgear/xml/Makefile \ simgear/zlib/Makefile \ )