File: configure.in

package info (click to toggle)
corkscrew 2.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: sh: 2,295; ansic: 1,574; makefile: 18
file content (31 lines) | stat: -rw-r--r-- 684 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
28
29
30
31
AC_INIT(corkscrew.c)
AM_INIT_AUTOMAKE(corkscrew, 2.0)
AM_CONFIG_HEADER(config.h:config.in)

AC_PROG_CC
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S

AC_CANONICAL_HOST
case "$host_os" in
  solaris*)
    AC_CHECK_LIB(xnet, socket)
    AC_CHECK_LIB(xnet, gethostbyname)
    AC_CHECK_LIB(xnet, inet_addr)
    AC_CHECK_LIB(xnet, connect)
    AC_CHECK_HEADERS(sys/filio.h)
  ;;
esac

AC_HEADER_STDC
AC_HEADER_TIME
dnl AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h arpa/inet.h errno.h netdb.h netinet/in.h stdio.h stdlib.h string.h sys/socket.h sys/types.h)

dnl AC_CHECK_TYPE

AC_CHECK_FUNCS(select socket strerror)
dnl check for working const (hpux)
AC_C_CONST

AC_OUTPUT(Makefile)