]> git.mxchange.org Git - simgear.git/blobdiff - configure.ac
Fixes to allow MingW compilation.
[simgear.git] / configure.ac
index cc7c437c0209f8a2095e7b57f154ddd5334d6899..a9afad5fdf743eac1d7754e66c2ad3d6204386d8 100644 (file)
@@ -38,14 +38,20 @@ AC_PROG_RANLIB
 AC_PROG_INSTALL
 AC_PROG_LN_S
 
+
+# Used on the Irix platform
 AR="ar"
+ARFLAGS="cru"
 OS=`uname -s`
 if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then
     if test "$CXX" = "CC"; then
         AR="CC -ar"
-        AC_SUBST(AR)
+        ARFLAGS="-o"
     fi
 fi
+AC_SUBST(AR)
+AC_SUBST(ARFLAGS)
+
 
 if echo $includedir | egrep "simgear$" > /dev/null; then
     echo "includedir is" $includedir "libdir is" $libdir