annotate configure.in @ 12:bb3d2cd6007e stable-1-4

more fixes for solaris
author carl
date Mon, 19 Mar 2007 22:38:37 -0700
parents 61a4e8773e2e
children 75e1a9bcbc2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
1 AC_PREREQ(2.59)
11
61a4e8773e2e remove extraneous include files
carl
parents: 10
diff changeset
2 AC_INIT(sm-archive,1.4,carl@five-ten-sg.com)
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
3 AC_CONFIG_SRCDIR([config.h.in])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
4 AC_CONFIG_HEADER([config.h])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
5
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
1
45c8592d5d13 initial version
carl
parents:
diff changeset
7
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
8 # Checks for programs.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
9 AC_PROG_CXX
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
10 AC_PROG_CC
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
11 AC_PROG_CPP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
12 AC_PROG_INSTALL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
13 AC_PROG_LN_S
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
14 AC_PROG_MAKE_SET
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
15 AC_PROG_RANLIB
1
45c8592d5d13 initial version
carl
parents:
diff changeset
16
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
17 # Checks for header files.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
18 AC_HEADER_SYS_WAIT
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
19 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h])
1
45c8592d5d13 initial version
carl
parents:
diff changeset
20
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
21 # Checks for typedefs, structures, and compiler characteristics.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
22 AC_HEADER_STDBOOL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
23 AC_C_CONST
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
24
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
25 # Checks for library functions.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
26 AC_FUNC_FORK
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
27 AC_FUNC_GETPGRP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
28 AC_HEADER_STDC
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
29 AC_FUNC_STAT
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
30 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
31
10
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
32 # check for posix threads
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
33 ACX_PTHREAD
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
34
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
35 AC_CONFIG_FILES([Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
36 sm-archive.spec
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
37 html/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
38 info/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
39 man/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
40 src/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
41 xml/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
42 xml/sm-archive])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
43 AC_OUTPUT