X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.in;h=083e3a5530b7adf575c09920c2bca9607960cad8;hb=0b316a8c5ee9c36f183c2ad0ef6686e2ed5f47c1;hp=4be68112705925e821330ce9f572baa61bead6f8;hpb=1a6e2509c729c596e6ce06d010c59dad69ec1a1d;p=simgear.git diff --git a/configure.in b/configure.in index 4be68112..083e3a55 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.12) +AM_INIT_AUTOMAKE(SimGear, 0.0.15) + +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 @@ -253,14 +270,18 @@ AC_OUTPUT( \ simgear/bucket/Makefile \ simgear/debug/Makefile \ simgear/ephemeris/Makefile \ + simgear/io/Makefile \ simgear/magvar/Makefile \ simgear/math/Makefile \ + simgear/metar/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 \ )