diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-06-28 03:00:41 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-06-28 03:00:41 -0600 |
commit | b19b4d666223723ff5406efe042daad899f2b9a1 (patch) | |
tree | ac00c0cbd466d48b591874c421197d47679cc88f /configure.ac | |
parent | 184498a593cdd82cf387ef4dcc0e1ad4119bfe88 (diff) | |
download | alpine-b19b4d666223723ff5406efe042daad899f2b9a1.tar.xz |
* 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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 6 insertions, 5 deletions
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? |