From 81bef35b0298952f17bbed0c326406262e28b25e Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 1 Jul 2007 12:49:11 +0200 Subject: [PATCH] configure.in: Do not check for SEE without --enable-see. Use #error instead of choke_on_see(), because choke_on_see could be defined by some library (very unlikely). --- configure.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 54eb6361..f1636c6d 100644 --- a/configure.in +++ b/configure.in @@ -587,8 +587,6 @@ AC_ARG_WITH(see, [ --with-see enable Simple Ecmascript Engine (SEE CONFIG_ECMASCRIPT_SEE=no if test "$enable_see" = "yes"; then - ## Based on the SEE_FLAGS macro. - if test -d "$withval"; then SEE_PATH="$withval:$PATH" else @@ -604,7 +602,7 @@ if test "$enable_see" = "yes"; then CPPFLAGS="$SEE_CFLAGS $CPPFLAGS" LIBS="$SEE_LIBS $LIBS_X" AC_TRY_LINK([#include ],[#if SEE_VERSION_API_MAJOR < 2 - choke_on_see(); + #error SEE too old #endif ], cf_result=yes, cf_result=no) EL_RESTORE_FLAGS @@ -621,9 +619,6 @@ if test "$enable_see" = "yes"; then AC_MSG_WARN([SEE support disabled]) fi fi -else - AC_MSG_CHECKING([for SEE (2.0.1131 or later)]) - AC_MSG_RESULT(no); fi dnl ===================================================================