File: configure.ac

package info (click to toggle)
metar 20060405.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 484 kB
  • ctags: 62
  • sloc: sh: 3,438; ansic: 531; makefile: 69
file content (29 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
m4_include([VERSION.m4])dnl

AC_INIT([metar], [METAR_VERSION], [kees@leune.org])

AC_PREREQ(2.59)

AC_COPYRIGHT([
Copyright (C) 2004,2005 Kees Leune
])

AC_CONFIG_SRCDIR([src/metar.c])
AM_INIT_AUTOMAKE()

AC_PROG_CC
AC_HEADER_STDC
AC_TYPE_SIZE_T
AC_CHECK_LIB([curl], [curl_easy_init])
AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
AC_CHECK_FUNCS([memset regcomp])


if test "$ac_cv_lib_curl_curl_easy_init" = "no"
then
	AC_MSG_ERROR(Unable to find required library libcurl)
fi

AC_OUTPUT([ Makefile src/Makefile doc/Makefile ])