From e1a4414ad77a29266d3d2b346a000ded475fd080 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 ac52c43a..58064449 100644 --- a/configure.in +++ b/configure.in @@ -575,8 +575,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 @@ -592,7 +590,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 @@ -609,9 +607,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 =================================================================== -- 2.11.4.GIT