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