Changeset: e0a5b904ebc0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e0a5b904ebc0
Modified Files:
        MonetDB5/configure.ag
Branch: default
Log Message:

link against libsphinxclient also when not explicitly telling where it is


diffs (22 lines):

diff -r 696ecfcd9268 -r e0a5b904ebc0 MonetDB5/configure.ag
--- a/MonetDB5/configure.ag     Fri Nov 05 10:50:41 2010 +0100
+++ b/MonetDB5/configure.ag     Fri Nov 05 12:43:34 2010 +0100
@@ -203,7 +203,7 @@
            ;;
        *)
            SPHINXCLIENT_CFLAGS="-I$have_sphinxclient/include"
-           SPHINXCLIENT_LIBS="-L$have_sphinxclient/lib -lsphinxclient"
+           SPHINXCLIENT_LIBS="-L$have_sphinxclient/lib"
            ;;
        esac
 
@@ -214,7 +214,8 @@
        AC_CHECK_HEADER(sphinxclient.h,
                AC_CHECK_LIB(sphinxclient, sphinx_create,
                        AC_DEFINE(HAVE_SPHINXCLIENT, 1, [Define if you have the 
sphinxclient library])
-                       have_sphinxclient=yes,
+                       have_sphinxclient=yes
+                       SPHINXCLIENT_LIBS="SPHINXCLIENT_LIBS -lsphinxclient",
                        [ if test "x$have_sphinxclient" != xauto; then 
AC_MSG_ERROR([-lsphinxclient library not found]); fi; have_sphinxclient=no ]),
                [ if test "x$have_sphinxclient" != xauto; then 
AC_MSG_ERROR([sphinxclient.h header not found]); fi; have_sphinxclient=no ])
        LDFLAGS="$save_LDFLAGS"
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to