Fix sword and clucene detection

This resolves Bug 1145
r14.0.x
Francois Andriot 12 years ago committed by Slávek Banko
parent 5974c6ec2b
commit 932676d433

@ -133,7 +133,7 @@ int main(int argc, char* argv[[]]) {
EOF EOF
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' ac_link='$LIBTOOL_SHELL --silent --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
if AC_TRY_EVAL(ac_link) && test -s conftest; then if AC_TRY_EVAL(ac_link) && test -s conftest; then
if test -x conftest; then if test -x conftest; then
eval ac_cv_installed_clucene_version=`./conftest 2>&5` eval ac_cv_installed_clucene_version=`./conftest 2>&5`

@ -119,7 +119,7 @@ int main(int argc, char** argv) {
EOF EOF
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' ac_link='$LIBTOOL_SHELL --silent --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
if AC_TRY_EVAL(ac_link) && test -s conftest; then if AC_TRY_EVAL(ac_link) && test -s conftest; then
if test -x conftest; then if test -x conftest; then
eval ac_cv_installed_sword_version=`./conftest 2>&5` eval ac_cv_installed_sword_version=`./conftest 2>&5`
@ -192,7 +192,7 @@ int main(int argc, char** argv) {
} }
EOF EOF
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' ac_link='$LIBTOOL_SHELL --silent --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
if AC_TRY_EVAL(ac_link) && test -s conftest; then if AC_TRY_EVAL(ac_link) && test -s conftest; then
if test -x conftest; then if test -x conftest; then
eval ac_cv_sword_recent_version=`./conftest $1 2>&5` eval ac_cv_sword_recent_version=`./conftest $1 2>&5`

Loading…
Cancel
Save