Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dbbd844969
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.438 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
AC_INIT([Haskell curl package], [1.1], [dons@galois.com], [curl])

AC_TRY_CPP([#include <curl/curl.h>],,[no_curl=yes])

# Build the package if we found curl stuff
if test "$no_curl" = yes; then
  AC_MSG_FAILURE([curl libraries not found, so curl package cannot be built])
else
  CURL_BUILD_PACKAGE=yes
  BUILD_PACKAGE_BOOL=True
fi
AC_SUBST([CURL_BUILD_PACKAGE])
AC_SUBST([BUILD_PACKAGE_BOOL])

AC_CONFIG_FILES([curl.buildinfo])
AC_OUTPUT
Something went wrong with that request. Please try again.