File: configure.ac

package info (click to toggle)
haskell-old-time 1.1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: sh: 3,201; ansic: 63; makefile: 4; haskell: 4
file content (24 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
AC_INIT([Haskell old-time package], [1.0], [libraries@haskell.org], [old-time])

# Safety check: Ensure that we are in the correct source directory.
AC_CONFIG_SRCDIR([include/HsTime.h])

AC_CONFIG_HEADERS([include/HsTimeConfig.h])

AC_ARG_WITH([cc],
            [C compiler],
            [CC=$withval])
AC_PROG_CC()

# check for specific header (.h) files that we are interested in
AC_CHECK_HEADERS([sys/time.h sys/timeb.h time.h])

AC_CHECK_FUNCS([ftime gmtime_r localtime_r gettimeofday])

dnl ** how do we get a timezone name, and UTC offset ?
AC_STRUCT_TIMEZONE

dnl ** do we have altzone?
FP_DECL_ALTZONE

AC_OUTPUT