Mercurial > sm-archive
annotate 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 |
rev | line source |
---|---|
9 | 1 AC_PREREQ(2.59) |
17
8ebecad6530f
Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
15
diff
changeset
|
2 AC_INIT(sm-archive,1.6,carl@five-ten-sg.com) |
9 | 3 AC_CONFIG_SRCDIR([config.h.in]) |
4 AC_CONFIG_HEADER([config.h]) | |
5 | |
6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) | |
1 | 7 |
9 | 8 # Checks for programs. |
15 | 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 | 13 AC_PROG_CXX |
14 AC_PROG_CC | |
15 AC_PROG_CPP | |
16 AC_PROG_INSTALL | |
17 AC_PROG_LN_S | |
18 AC_PROG_MAKE_SET | |
19 AC_PROG_RANLIB | |
1 | 20 |
9 | 21 # Checks for header files. |
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 | 24 |
9 | 25 # Checks for typedefs, structures, and compiler characteristics. |
26 AC_HEADER_STDBOOL | |
27 AC_C_CONST | |
28 | |
29 # Checks for library functions. | |
30 AC_FUNC_FORK | |
31 AC_FUNC_GETPGRP | |
32 AC_FUNC_STAT | |
33 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon]) | |
34 | |
10 | 35 # check for posix threads |
36 ACX_PTHREAD | |
37 | |
9 | 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 | 40 sm-archive.spec |
41 html/Makefile | |
42 info/Makefile | |
43 man/Makefile | |
44 src/Makefile | |
45 xml/Makefile | |
46 xml/sm-archive]) | |
47 AC_OUTPUT |