]> git.mxchange.org Git - simgear.git/commitdiff
Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers
authorehofman <ehofman>
Sun, 13 Jul 2003 12:34:52 +0000 (12:34 +0000)
committerehofman <ehofman>
Sun, 13 Jul 2003 12:34:52 +0000 (12:34 +0000)
configure.ac
simgear/Makefile.am

index 527f6b62bc7695b0fe9b57bb7bd029128521f059..52e3a7b3790d840d9fc1428b70701dd8ab76582a 100644 (file)
@@ -42,19 +42,24 @@ dnl set the $host variable based on local machine/os
 AC_CANONICAL_HOST
 
 dnl Used on the Irix platform
-AR="ar"
-ARFLAGS="cru"
 case "${host}" in
 *-*-irix*)
     if test "x$CXX" = "xCC" -o "x$CXX" = "xccache CC"; then
         AR="$CXX -ar"
         ARFLAGS="-o"
         CXXFLAGS="$CXXFLAGS -I$(top_srcdir)/simgear/compatibility"
+        compatability_DIR="compatability"
     fi
     ;;
+*)
+    AR="ar"
+    ARFLAGS="cru"
+    compatability_DIR=
+    ;;
 esac
 AC_SUBST(AR)
 AC_SUBST(ARFLAGS)
+AC_SUBST(compatability_DIR)
 
 if echo $includedir | egrep "simgear$" > /dev/null; then
     echo "includedir is" $includedir "libdir is" $libdir
index 99e8d6016ce6a0090df1e70c0daeaf94b4cde235..795b0602589dfc6234aa185af082c2819a9adc33 100644 (file)
@@ -13,7 +13,7 @@ include_HEADERS = \
        compiler.h constants.h sg_inlines.h sg_traits.hxx version.h
 
 SUBDIRS = \
-       compatibility \
+       $(compatability_DIR) \
        xml \
        debug \
        misc \