File: configure.ac

package info (click to toggle)
tcd-utils 20061127-2
  • links: PTS
  • area: main
  • in suites: bullseye, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 604 kB
  • ctags: 44
  • sloc: ansic: 4,587; sh: 808; makefile: 58
file content (24 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: configure.ac 1222 2006-11-26 23:21:24Z flaterco $

# FIXME: Update version info on each release
AC_INIT([tcd-utils], [20061127], [dave@flaterco.com])

AM_INIT_AUTOMAKE([-Wall -Werror])

# Disable automatic checks that are incompatible with how subversion
# sets timestamps.
AM_MAINTAINER_MODE

AC_LANG([C])
AC_PROG_CC

LIBS="$LIBS -lm"

# libtcd 2.2 or compatible newer version is required.
AC_CHECK_HEADER([tcd.h], [],
                [AC_MSG_ERROR([cannot find tcd.h; try setting CPPFLAGS.])])
AC_CHECK_LIB([tcd], [get_tide_db_header], [],
             [AC_MSG_ERROR([cannot find libtcd; try setting LDFLAGS.])])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT