From: John Ellson Date: Fri, 16 Aug 2013 17:07:10 +0000 (-0400) Subject: trying different approach to libANN/ann test X-Git-Tag: LAST_LIBGRAPH~32^2~71^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f66b6b8c5483c6e40bfc1ce5b7bd934b82d9f72;p=graphviz trying different approach to libANN/ann test --- diff --git a/configure.ac b/configure.ac index 600f86989..190cf06a9 100644 --- a/configure.ac +++ b/configure.ac @@ -2491,6 +2491,9 @@ else AC_SUBST([ANN_CFLAGS]) AC_SUBST([ANN_LIBS]) ],[ + use_ann="No (no ann.pc found)" + ]) + if test "$use_ann" != "Yes"; then if test -f /usr/lib$LIBPOSTFIX/libANN.so; then AC_DEFINE_UNQUOTED(HAVE_ANN,1, [Define if you have the ann library]) @@ -2508,7 +2511,7 @@ else use_ann="No (ANN library not available)" fi fi - ]) + fi fi AM_CONDITIONAL(WITH_ANN, [test x"${use_ann%% *}" == "xYes"])