Skip to content

Commit

Permalink
./configure --with-curl=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Jun 9, 2010
1 parent 66ac916 commit 726d12d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions configure.ac
Expand Up @@ -99,8 +99,16 @@ AC_SUBST(PROFILER_FLAGS)

AC_SEARCH_LIBS(pthread_create, pthread,
[], AC_MSG_ERROR([Can't enable pthreads.]))
AC_SEARCH_LIBS(curl_global_init, curl, [],
AC_MSG_ERROR([Can't find curl]))

AC_ARG_WITH([curl],
[AS_HELP_STRING([--with-curl=yes], [search libs for curl])])

if test "x$with_curl" != "xno"; then
AC_SEARCH_LIBS(curl_global_init, curl, [],
AC_MSG_ERROR([Can't find curl]))
else
AC_MSG_NOTICE([skipping search for curl library])
fi

AC_ARG_WITH([check],
[AS_HELP_STRING([--with-check=yes], [look for check tool for unit tests])])
Expand Down

0 comments on commit 726d12d

Please sign in to comment.