File: configure.ac

package info (click to toggle)
haskell-unix-time 0.2.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 212 kB
  • ctags: 41
  • sloc: haskell: 237; ansic: 100; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 261 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
AC_INIT(cbits/conv.c)

AC_DISABLE_OPTION_CHECKING

AC_CONFIG_HEADER(cbits/config.h)

AC_CHECK_FUNCS(strptime_l)
AC_CHECK_FUNCS(timegm)

host=`uname -a`
case $host in
  Linux*)
	LINUX=1
	;;
  *)
	LINUX=0
	;;
esac

AC_DEFINE_UNQUOTED(IS_LINUX,$LINUX)
AC_OUTPUT