]> granicus.if.org Git - graphviz/commitdiff
try again for libann on ubuntu
authorJohn Ellson <john.ellson@gmail.com>
Tue, 13 Nov 2018 19:50:31 +0000 (14:50 -0500)
committerJohn Ellson <john.ellson@gmail.com>
Tue, 13 Nov 2018 19:50:31 +0000 (14:50 -0500)
configure.ac

index 1a722c29d2b9ae7d1645b72dbac2bdf58e91de27..14a5cca015cf21e109217a33c7080a25d4de7a49 100644 (file)
@@ -2267,12 +2267,12 @@ else
         AC_SUBST([ANN_LIBS])
         use_ann="Yes (but no ann.pc found)"
       else
-        if test -f /usr/lib/libann.so; then
+        if test -f /usr/lib/x86_64-linux-gnu/libann.so; then
           AC_DEFINE_UNQUOTED(HAVE_ANN,1,
             [Define if you have the ann library])
-          ANN_LIBS=-lann
+          ANN_LIBS=-L/usr/lib/x86_64-linux-gnu  -lann
           AC_SUBST([ANN_LIBS])
-          use_ann="Yes (but no ann.pc found, and found in the wrong place)"
+          use_ann="Yes (but no ann.pc found so taking a wild guess its ubuntu)"
         else
           use_ann="No (ANN library not available)"
         fi