X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=9225c0fa00c1f3294e2224c1fce3dcdf60a2bb7d;hb=8ec60b663df2a19ba83d6540ce4c71d71f0b99e8;hp=daf88fe9c0475f9acf3e2abc0b5e9db01d54aa98;hpb=76712b6b97292082efbc1ac9bf6ad979b23cddef;p=flightgear.git diff --git a/configure.ac b/configure.ac index daf88fe9c..9225c0fa0 100644 --- a/configure.ac +++ b/configure.ac @@ -179,13 +179,13 @@ AM_CONDITIONAL(ENABLE_SP_FDM, test "x$enable_sp_fdms" != "xno") # Specify whether we want to compile ATCDCL. # default to with_atcdcl=yes -AC_ARG_ENABLE(atcdcl, [ --enable-atcdcl Compile and link the depricated atc/ai module], [enable_atcdcl="$enableval"] ) -if test "x$enable_atcdcl" != "xno"; then +AC_ARG_ENABLE(atcdcl, [ --enable-atcdcl Compile and link the depricated atc/ai module], [], [enable_atcdcl="$enableval"] ) +if test "x$enable_atcdcl" = "xyes"; then AC_DEFINE([ENABLE_ATCDCL], 1, [Define to include old ATC/AI module]) else AC_DEFINE([ENABLE_ATCDCL], 0, [Define to include old ATC/AI module]) fi -AM_CONDITIONAL(ENABLE_ATCDCL, test "x$enable_atcdcl" != "xno") +AM_CONDITIONAL(ENABLE_ATCDCL, test "x$enable_atcdcl" = "xyes") @@ -908,7 +908,7 @@ else echo "Include special purpose flight models: no" fi -if test "x$enable_atcdcl" != "xno"; then +if test "x$enable_atcdcl" = "xyes"; then echo "Build depricated ATC/AI module: yes" else echo "Build depricated ATC/AI module: no"