summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-10-15 03:27:42 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-15 03:27:42 +0200
commit42549c3bf6a38bc9e7005f9a0756ab40c5d2ba62 (patch)
tree659849d9903e558cfec648fd574a8c6bc08e0aba
parent92c8a3f24dcdbc1d3a52530933e715f43f839dfb (diff)
downloadtdeio-sword-42549c3bf6a38bc9e7005f9a0756ab40c5d2ba62.tar.gz
tdeio-sword-42549c3bf6a38bc9e7005f9a0756ab40c5d2ba62.zip
Fix sword detection
-rw-r--r--sword.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/sword.m4 b/sword.m4
index 55e6dfe..0b8c687 100644
--- a/sword.m4
+++ b/sword.m4
@@ -119,7 +119,7 @@ int main(int argc, char* argv[]) {
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 test -x conftest; then
eval ac_cv_installed_sword_version=`./conftest 2>&5`
@@ -192,7 +192,7 @@ int main(int argc, char* argv[[]]) {
}
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 test -x conftest; then
eval ac_cv_sword_recent_version=`./conftest $1 2>&5`