]> git.mxchange.org Git - flightgear.git/blobdiff - configure.ac
Win32 fix
[flightgear.git] / configure.ac
index 7c8aa4065b39b24a1cfba15e14bf569d8f8b9d9b..85a50bd6b17696d9835d22ae487ee9510a625c6d 100644 (file)
@@ -10,7 +10,7 @@ AC_PREREQ(2.52)
 dnl Initialize the automake stuff
 dnl set the $host variable based on local machine/os
 AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE(FlightGear, 0.9.10)
+AM_INIT_AUTOMAKE(FlightGear, 1.0.0)
 
 dnl Checks for programs.
 AC_PROG_MAKE_SET
@@ -464,11 +464,11 @@ if test "x$ac_cv_header_plib_ul_h" != "xyes"; then
     exit
 fi
 
-AC_MSG_CHECKING([for plib 1.8.4 or newer])
+AC_MSG_CHECKING([for plib 1.8.5 or newer])
 AC_TRY_RUN([
 #include <plib/ul.h>
 
-#define MIN_PLIB_VERSION 184
+#define MIN_PLIB_VERSION 185
 
 int main() {
     int major, minor, micro;
@@ -483,7 +483,7 @@ int main() {
 ],
   AC_MSG_RESULT(yes),
   [AC_MSG_RESULT(wrong version);
-   AC_MSG_ERROR([Install plib 1.8.4 or later first...])],
+   AC_MSG_ERROR([Install plib 1.8.5 or later first...])],
   AC_MSG_RESULT(yes)
 )
 
@@ -534,6 +534,7 @@ case "${host}" in
         AC_CHECK_LIB(osgUtild,osgUtilGetVersion)
         AC_CHECK_LIB(osgDBd,osgDBGetVersion)
         AC_CHECK_LIB(osgSimd,osgSimGetVersion)
+        AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
         AC_CHECK_LIB(osgd,osgGetVersion)
         AC_CHECK_LIB(OpenThreadsd,OpenThreadsGetVersion)
     else
@@ -544,6 +545,7 @@ case "${host}" in
         AC_CHECK_FRAMEWORK(osgUtil, [#include <osgUtil/Version>])
         AC_CHECK_FRAMEWORK(osgDB, [#include <osgDB/Version>])
         AC_CHECK_FRAMEWORK(osgSim, [#include <osgSim/Version>])
+        AC_CHECK_FRAMEWORK(osgParticle, [#include <osgParticle/Version>])
         AC_CHECK_FRAMEWORK(osg, [#include <osg/Version>])
         AC_CHECK_FRAMEWORK(OpenThreads, [#include <OpenThreads/Version>])
     fi
@@ -558,6 +560,7 @@ case "${host}" in
         AC_CHECK_LIB(osgGAd,osgGAGetVersion)
         AC_CHECK_LIB(osgViewerd,osgViewerGetVersion)
         AC_CHECK_LIB(osgSimd,osgSimGetVersion)
+        AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
         LIBS="$LIBS -losgFXd"
     else
         AC_CHECK_LIB(OpenThreads,OpenThreadsGetVersion)
@@ -568,6 +571,7 @@ case "${host}" in
         AC_CHECK_LIB(osgGA,osgGAGetVersion)
         AC_CHECK_LIB(osgViewer,osgViewerGetVersion)
         AC_CHECK_LIB(osgSim,osgSimGetVersion)
+        AC_CHECK_LIB(osgParticle,osgParticleGetVersion)
         LIBS="$LIBS -losgFX"
     fi
     ;;
@@ -683,6 +687,8 @@ AC_CONFIG_FILES([ \
        tests/Makefile \
        utils/Makefile \
        utils/GPSsmooth/Makefile \
+       utils/fgadmin/Makefile
+       utils/fgadmin/src/Makefile \
        utils/js_server/Makefile \
        utils/Modeller/Makefile \
        utils/TerraSync/Makefile \