version 1.4, 2013/04/10 00:04:10
|
version 1.5, 2015/06/17 14:14:17
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(suX, 3.1, misho@aitnet.org) | AC_INIT(suX, 3.2, misho@aitnet.org) |
AC_CONFIG_SRCDIR([src/sux.c]) |
AC_CONFIG_SRCDIR([src/sux.c]) |
AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
|
|
Line 23 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 23 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
AC_CHECK_LIB([pthread], [pthread_create]) |
AC_CHECK_LIB([pthread], [pthread_create]) |
AC_CHECK_LIB([util], [setusercontext]) |
AC_CHECK_LIB([util], [setusercontext]) |
AC_CHECK_LIB([elwix], [array_Args]) |
AC_CHECK_LIB([elwix], [array_Args]) |
AC_CHECK_LIB([aitcfg], [cfgLoadConfig]) | AC_CHECK_LIB([aitcfg], [cfg_getAttribute]) |
|
|
# Checks for header files. |
# Checks for header files. |
AC_CHECK_HEADERS([stdlib.h string.h sys/param.h syslog.h unistd.h]) |
AC_CHECK_HEADERS([stdlib.h string.h sys/param.h syslog.h unistd.h]) |
Line 63 AC_ARG_ENABLE(debug,
|
Line 63 AC_ARG_ENABLE(debug,
|
;; |
;; |
esac ], AC_DEFINE(NDEBUG,, [Turn off debug asserts])) |
esac ], AC_DEFINE(NDEBUG,, [Turn off debug asserts])) |
AC_MSG_RESULT($DEBUG) |
AC_MSG_RESULT($DEBUG) |
|
|
|
GROUP="www" |
|
AC_MSG_CHECKING(suX execution group) |
|
AC_ARG_WITH(group, |
|
[ --with-group=<user> Permitted group for suX ], |
|
[ GROUP=$withval ],) |
|
AC_MSG_RESULT($GROUP) |
|
AC_SUBST(GROUP) |
|
|
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
bin/Makefile |
bin/Makefile |