1 --- libetpan-1.1/configure.ac.orig 2012-09-22 10:40:15.782709486 +0200
2 +++ libetpan-1.1/configure.ac 2012-09-22 17:24:21.455537464 +0200
4 AC_CHECK_HEADER(curl/curl.h, [libcurl=yes])
5 if test "x$libcurl" = "xyes"; then
6 AC_MSG_CHECKING([whether curl-config hints compiles and links fine])
8 - LDFLAGS="$LDFLAGS `$libcurlconfig --libs 2>/dev/null`"
10 + LIBS="$LIBS `$libcurlconfig --libs 2>/dev/null`"
11 AC_TRY_LINK([], [curl_easy_init();], [libcurl=yes], [libcurl=no])
12 AC_MSG_RESULT([$libcurl])
13 if test "x$libcurl" = "xno"; then
20 AC_CHECK_HEADER(expat.h, [libexpat=yes])
21 if test "x$libexpat" = "xyes"; then
22 AC_MSG_CHECKING([whether libexpat compiles and links fine])
24 - LDFLAGS="$LDFLAGS -lexpat"
26 + LIBS="$LIBS -lexpat"
27 AC_TRY_LINK([], [XML_SetElementHandler();], [libexpat=yes], [libexpat=no])
28 AC_MSG_RESULT([$libexpat])
29 if test "x$libexpat" = "xno"; then