From f55c6ab714f565d99951192a2c888e6a3c0c887f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 17 Feb 2008 01:23:58 +0000 Subject: [PATCH] fix some minor broken autoconf defines --- configure.ac | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6764dfef5..1d616c608 100644 --- a/configure.ac +++ b/configure.ac @@ -220,9 +220,15 @@ AC_ARG_ENABLE([daemon], AM_CONDITIONAL([BUILD_DAEMON],[test "x$build_daemon" = "xyes"]) -AC_DEFINE([HAVE_BEOS],[test "x$have_beos" = "xyes"]) -AC_DEFINE([HAVE_DARWIN],[test "x$have_darwin" = "xyes"]) -AC_DEFINE([HAVE_WINDOWS],[test "x$have_msw" = "xyes"]) +if test "x$have_beos" = "xyes"; then + AC_DEFINE([HAVE_BEOS], 1) +fi +if test "x$have_darwin" = "xyes"; then + AC_DEFINE([HAVE_DARWIN], 1) +fi +if test "x$have_msw" = "xyes"; then + AC_DEFINE([HAVE_MSW], 1) +fi dnl ----------------------------------------------------------------------------