link with libcares instead of libares
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Feb 2004 13:58:38 +0000 (13:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Feb 2004 13:58:38 +0000 (13:58 +0000)
configure.ac

index 83e3070..3c67593 100644 (file)
@@ -1073,7 +1073,7 @@ AC_HELP_STRING([--disable-ares],[Disable ares for name lookups]),
        HAVE_ARES="1"
        AC_SUBST(HAVE_ARES)
 
-       LIBS="$LIBS -lares"
+       LIBS="$LIBS -lcares"
 
        dnl For backwards compatibility default to includes/lib in srcdir/ares
        dnl If a value is specified it is assumed that the libs are in $val/lib