File: configure.ac

package info (click to toggle)
haskell-curl 1.3.8-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 264 kB
  • sloc: haskell: 1,528; ansic: 33; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (8)
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