Skip to content

Commit

Permalink
Merge pull request #18 from umireon/recover-to-link-curl-expat
Browse files Browse the repository at this point in the history
Recover to link with libexpat and lib curl
  • Loading branch information
sshock authored Nov 26, 2016
2 parents e46567b + d44a5a2 commit e4d553e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ AC_ARG_WITH([expat],
have_expat=no
AS_IF([test "x$with_expat" != xno],
[AC_CHECK_HEADER([expat.h],
[AC_CHECK_LIB([expat], [XML_ParserCreate],
[have_expat=yes])])
[AC_CHECK_LIB([expat], [XML_ParserCreate])])
have_expat=${ac_cv_lib_expat_XML_ParserCreate-no}
AS_IF([test "x$with_expat" != xcheck && test "x$have_expat" = xno],
[AC_MSG_FAILURE([--with-expat was given but test for expat failed])])])

Expand All @@ -146,8 +146,8 @@ AC_ARG_WITH([curl],
have_curl=no
AS_IF([test "x$with_curl" != xno],
[AC_CHECK_HEADER([curl/curl.h],
[AC_CHECK_LIB([curl], [curl_global_init],
[have_curl=yes])])
[AC_CHECK_LIB([curl], [curl_global_init],,)],)
have_curl=${ac_cv_lib_curl_curl_global_init-no}
AS_IF([test "x$with_curl" != xcheck && test "x$have_curl" = xno],
[AC_MSG_FAILURE([--with-curl was given but test for curl failed])])])

Expand Down

0 comments on commit e4d553e

Please sign in to comment.