File: configure.in

package info (click to toggle)
hlfl 0.60.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 564 kB
  • ctags: 154
  • sloc: ansic: 3,113; sh: 1,996; makefile: 49
file content (27 lines) | stat: -rw-r--r-- 720 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
25
26
27
dnl Set up the main lines of the config script

AC_PREREQ(2.52)
AC_INIT(hlfl, `cat $srcdir/VERSION`, hlfl@hlfl.org)
AM_CONFIG_HEADER(src/config.h)

dnl Check for several programs
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h stdio.h stdlib.h string.h sys/socket.h sys/types.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([inet_aton inet_ntoa memset strchr strdup strstr])

# Needed for Solaris
AC_CHECK_LIB(nsl, inet_ntoa)

AM_INIT_AUTOMAKE(hlfl, `cat $srcdir/VERSION`)
AC_OUTPUT([Makefile doc/Makefile doc/hlfl.1 src/Makefile hlfl.spec])