From cf15a494384b128330ec45fed5ed48473ba4dfbc Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 17 Jul 2006 20:22:45 +0000 Subject: [PATCH] Somehow this test stopped working on my PC. At least the new solution should work for ages. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5511b6074..6f828eac7 100644 --- a/configure.ac +++ b/configure.ac @@ -91,7 +91,11 @@ if test "x$with_logging" = "xno" ; then fi AC_ARG_ENABLE(sp_fdms, [ --enable-sp-fdms Include special purpose Flight Models], [enable_sp_fdms="$enableval"] ) -AC_DEFINE([ENABLE_SP_FDM], test "x$enable_sp_fdms" = "xyes", [Define to include special purpose FDMs]) +if test "x$enable_sp_fdms" != "xno"; then + AC_DEFINE([ENABLE_SP_FDM], 1, [Define to include special purpose FDMs]) +else + AC_DEFINE([ENABLE_SP_FDM], 0, [Define to include special purpose FDMs]) +fi AM_CONDITIONAL(ENABLE_SP_FDM, test "x$enable_sp_fdms" != "xno") -- 2.39.5