From c9ac1b5a06a27e8ebc42e02a1a093b1ef591a09e Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 13 Jul 2003 12:34:52 +0000 Subject: [PATCH] Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers --- configure.ac | 9 +++++++-- simgear/Makefile.am | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 527f6b62..52e3a7b3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 99e8d601..795b0602 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -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 \ -- 2.39.5