From b19b4d666223723ff5406efe042daad899f2b9a1 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 28 Jun 2020 03:00:41 -0600 Subject: * Alpine links with tcl, even if WebAlpine is not built. The solution was to test for header files before we test for library files. If the former do not exists, we do not test for the latter. --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3bc8c2fa..c93f7690 100644 --- a/configure.ac +++ b/configure.ac @@ -1706,11 +1706,6 @@ if test -n "$WEB_BUILD" ; then TCL_VERSIONS_DOT="tcl8.6 tcl8.5 tcl8.4 tcl8.3" TCL_VERSIONS_NODOT="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`" TCL_VERSIONS="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl" - AC_SEARCH_LIBS([Tcl_Eval],[$alpine_TCLLIB ${TCL_VERSIONS}],, - [ - WEB_BUILD= - ]) - dnl look for header file if test -n "$alpine_TCLINC" ; then AC_CHECK_HEADER($alpine_TCLINC/tcl.h,, @@ -1741,6 +1736,12 @@ TCL_VERSIONS="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl" fi ]) fi + if test -n "$WEB_BUILD" ; then + AC_SEARCH_LIBS([Tcl_Eval],[$alpine_TCLLIB ${TCL_VERSIONS}],, + [ + WEB_BUILD= + ]) + fi fi dnl Local or supplied regex? -- cgit v1.2.3-54-g00ecf