AC_PREREQ(2.52)
dnl Initialize the automake stuff
-AM_INIT_AUTOMAKE(SimGear, 0.0.19pre2)
+AM_INIT_AUTOMAKE(SimGear, 0.3.0)
dnl Specify KAI C++ compiler and flags.
dnl Borrowed with slight modification from blitz distribution.
AC_PROG_INSTALL
AC_PROG_LN_S
+
+# Used on the Irix platform
AR="ar"
+ARFLAGS="cru"
OS=`uname -s`
if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then
if test "$CXX" = "CC"; then
AR="CC -ar"
- AC_SUBST(AR)
+ ARFLAGS="-o"
fi
fi
+AC_SUBST(AR)
+AC_SUBST(ARFLAGS)
+
if echo $includedir | egrep "simgear$" > /dev/null; then
echo "includedir is" $includedir "libdir is" $libdir
if test "x$HOSTTYPE" != "xmacintosh" -a "x$is_mingw" != "xyes"; then
dnl extra library and include directories
- EXTRA_DIRS="/usr/local /usr/X11R6"
+ EXTRA_DIRS="/usr/X11R6"
if test -d /opt/X11R6 ; then
EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6"
dnl check for OpenGL related libraries
+AM_CONDITIONAL(EXTGL_NEEDED, test "x$ac_cv_header_windows_h" = "xyes")
+
if test "x$HOSTTYPE" = "xmacintosh" ; then
dnl Macintosh OSX
LIBS="$LIBS -framework OpenGL -framework GLUT"
simgear/screen/Makefile \
simgear/serial/Makefile \
simgear/sky/Makefile \
+ simgear/sky/clouds3d/Makefile \
simgear/threads/Makefile \
simgear/timing/Makefile \
simgear/xgl/Makefile \