]> git.mxchange.org Git - simgear.git/blobdiff - configure.in
Tweaks ...
[simgear.git] / configure.in
index e857a2fb287c1db019311fdc7d1578955b3a81b5..c27176f41741e90b3e87d0d861b43fa48dc32ce7 100644 (file)
@@ -5,6 +5,9 @@ dnl $Id$
 
 AC_INIT(simgear/bucket/newbucket.cxx)
 
+# Require at least automake 2.13
+AC_PREREQ(2.13)
+
 dnl Initialize the automake stuff
 AM_INIT_AUTOMAKE(SimGear, 0.0.17)
 
@@ -103,8 +106,8 @@ AC_EGREP_CPP(yes,
  #endif
 ],is_mingw=yes, is_mingw=no)
 
-echo "IS_MINGW = "$is_mingw
-AM_CONDITIONAL(IS_MINGW, test $is_mingw="yes")
+echo "IS_MINGW = $is_mingw"
+AM_CONDITIONAL(IS_MINGW, test "x$is_mingw" = "xyes")
 
 AC_EGREP_CPP(yes,
 [#ifdef __CYGWIN__
@@ -112,8 +115,8 @@ AC_EGREP_CPP(yes,
  #endif
 ],is_cygwin=yes, is_cygwin=no)
 
-echo "IS_CYGWIN = "$is_cygwin
-AM_CONDITIONAL(IS_CYGWIN, test $is_cygwin="yes")
+echo "IS_CYGWIN = $is_cygwin"
+AM_CONDITIONAL(IS_CYGWIN, test "x$is_cygwin" = "xyes")
 
 if test "x$HOSTTYPE" != "xmacintosh" -a "x$is_mingw" != "xyes"; then
     dnl extra library and include directories