Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers

This commit is contained in:
ehofman
2003-07-13 12:34:52 +00:00
parent 51dff6b537
commit c9ac1b5a06
2 changed files with 8 additions and 3 deletions

View 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

View 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 \