annotate configure.in @ 15:72a94c46c2be stable-1-5

fix bash header
author carl
date Sat, 25 Aug 2007 11:37:34 -0700
parents 75e1a9bcbc2e
children 8ebecad6530f
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)
13
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 11
diff changeset
2 AC_INIT(sm-archive,1.5,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.
15
72a94c46c2be fix bash header
carl
parents: 13
diff changeset
9 AC_PATH_PROGS(BASH, bash)
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
10 AC_PROG_CXX
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
11 AC_PROG_CC
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
12 AC_PROG_CPP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
13 AC_PROG_INSTALL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
14 AC_PROG_LN_S
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
15 AC_PROG_MAKE_SET
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
16 AC_PROG_RANLIB
1
45c8592d5d13 initial version
carl
parents:
diff changeset
17
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
18 # Checks for header files.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
19 AC_HEADER_SYS_WAIT
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
20 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
21
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
22 # Checks for typedefs, structures, and compiler characteristics.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
23 AC_HEADER_STDBOOL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
24 AC_C_CONST
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
25
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
26 # Checks for library functions.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
27 AC_FUNC_FORK
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
28 AC_FUNC_GETPGRP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
29 AC_HEADER_STDC
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
30 AC_FUNC_STAT
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
31 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
32
10
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
33 # check for posix threads
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
34 ACX_PTHREAD
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
35
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
36 AC_CONFIG_FILES([Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
37 sm-archive.spec
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
38 html/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
39 info/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
40 man/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
41 src/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
42 xml/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
43 xml/sm-archive])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
44 AC_OUTPUT