Detect Irix/CC compiler and substitute AR="CC -ar".
This commit is contained in:
+3
-7
@@ -35,16 +35,12 @@ AC_PROG_INSTALL
|
|||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
if test $OS = "IRIX" -o $OS = "IRIX64"; then
|
if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then
|
||||||
if text $CC = "CC"; then
|
if test "$CXX" = "CC"; then
|
||||||
AR="CC -ar"
|
AR="CC -ar"
|
||||||
else
|
AC_SUBST(AR)
|
||||||
AR="ar"
|
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
AR="ar"
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST(AR)
|
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user