Mercurial > sm-archive
annotate configure.in @ 23:37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Feb 2017 10:45:07 -0800 |
parents | 09564d4acd9e |
children | 9298f8b00db2 |
rev | line source |
---|---|
9 | 1 AC_PREREQ(2.59) |
23
37793d4c90a0
changes for rhel7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
21
diff
changeset
|
2 AC_INIT(sm-archive,1.9,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 |