annotate configure.in @ 19:b24369330483 stable-1-0-7

Fedora 9 compile and const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 12 Jun 2008 18:17:33 -0700
parents 8ebecad6530f
children 09564d4acd9e
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)
19
b24369330483 Fedora 9 compile and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 17
diff changeset
2 AC_INIT(sm-archive,1.7,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)
17
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents: 15
diff changeset
10 if test "x$BASH" = x ; then
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents: 15
diff changeset
11 AC_MSG_ERROR([bash required for init script])
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents: 15
diff changeset
12 fi
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
13 AC_PROG_CXX
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
14 AC_PROG_CC
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
15 AC_PROG_CPP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
16 AC_PROG_INSTALL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
17 AC_PROG_LN_S
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
18 AC_PROG_MAKE_SET
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
19 AC_PROG_RANLIB
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 header files.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
22 AC_HEADER_SYS_WAIT
17
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents: 15
diff changeset
23 AC_CHECK_HEADERS([fcntl.h stdlib.h syslog.h unistd.h])
1
45c8592d5d13 initial version
carl
parents:
diff changeset
24
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
25 # Checks for typedefs, structures, and compiler characteristics.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
26 AC_HEADER_STDBOOL
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
27 AC_C_CONST
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
28
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
29 # Checks for library functions.
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
30 AC_FUNC_FORK
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
31 AC_FUNC_GETPGRP
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
32 AC_FUNC_STAT
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
33 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
34
10
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
35 # check for posix threads
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
36 ACX_PTHREAD
f9e8bbf33a2a more fixes for solaris
carl
parents: 9
diff changeset
37
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
38 AC_CONFIG_FILES([Makefile
17
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents: 15
diff changeset
39 sm-archive.rc
9
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
40 sm-archive.spec
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
41 html/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
42 info/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
43 man/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
44 src/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
45 xml/Makefile
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
46 xml/sm-archive])
48880e61ce5e better autoconf, changes for solaris portability
carl
parents: 1
diff changeset
47 AC_OUTPUT