comparison configure.in @ 17:8ebecad6530f stable-1-6

Add src/daemon* missing from source control. Switch to Mercurial source control.
author Carl Byington <carl@five-ten-sg.com>
date Fri, 21 Mar 2008 16:00:13 -0700
parents 72a94c46c2be
children b24369330483
comparison
equal deleted inserted replaced
16:e57053cd7d20 17:8ebecad6530f
1 AC_PREREQ(2.59) 1 AC_PREREQ(2.59)
2 AC_INIT(sm-archive,1.5,carl@five-ten-sg.com) 2 AC_INIT(sm-archive,1.6,carl@five-ten-sg.com)
3 AC_CONFIG_SRCDIR([config.h.in]) 3 AC_CONFIG_SRCDIR([config.h.in])
4 AC_CONFIG_HEADER([config.h]) 4 AC_CONFIG_HEADER([config.h])
5 5
6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) 6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
7 7
8 # Checks for programs. 8 # Checks for programs.
9 AC_PATH_PROGS(BASH, bash) 9 AC_PATH_PROGS(BASH, bash)
10 if test "x$BASH" = x ; then
11 AC_MSG_ERROR([bash required for init script])
12 fi
10 AC_PROG_CXX 13 AC_PROG_CXX
11 AC_PROG_CC 14 AC_PROG_CC
12 AC_PROG_CPP 15 AC_PROG_CPP
13 AC_PROG_INSTALL 16 AC_PROG_INSTALL
14 AC_PROG_LN_S 17 AC_PROG_LN_S
15 AC_PROG_MAKE_SET 18 AC_PROG_MAKE_SET
16 AC_PROG_RANLIB 19 AC_PROG_RANLIB
17 20
18 # Checks for header files. 21 # Checks for header files.
19 AC_HEADER_SYS_WAIT 22 AC_HEADER_SYS_WAIT
20 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h]) 23 AC_CHECK_HEADERS([fcntl.h stdlib.h syslog.h unistd.h])
21 24
22 # Checks for typedefs, structures, and compiler characteristics. 25 # Checks for typedefs, structures, and compiler characteristics.
23 AC_HEADER_STDBOOL 26 AC_HEADER_STDBOOL
24 AC_C_CONST 27 AC_C_CONST
25 28
26 # Checks for library functions. 29 # Checks for library functions.
27 AC_FUNC_FORK 30 AC_FUNC_FORK
28 AC_FUNC_GETPGRP 31 AC_FUNC_GETPGRP
29 AC_HEADER_STDC
30 AC_FUNC_STAT 32 AC_FUNC_STAT
31 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon]) 33 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon])
32 34
33 # check for posix threads 35 # check for posix threads
34 ACX_PTHREAD 36 ACX_PTHREAD
35 37
36 AC_CONFIG_FILES([Makefile 38 AC_CONFIG_FILES([Makefile
39 sm-archive.rc
37 sm-archive.spec 40 sm-archive.spec
38 html/Makefile 41 html/Makefile
39 info/Makefile 42 info/Makefile
40 man/Makefile 43 man/Makefile
41 src/Makefile 44 src/Makefile