-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfigure.ac
39 lines (37 loc) · 1.15 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
AC_INIT([NSRL Server], [1.6RC2], [Robert J. Hansen <rjh@sixdemonbag.org>], [nsrlsvr], [http://rjhansen.github.com/nsrlsvr/])
AC_ARG_WITH([warning],
[AS_HELP_STRING([--warning],
[display a compilation hint @<:@default: yes@:>@])],
[warning=${withval}], [warning=yes])
AC_PROG_SED
AM_PATH_PYTHON([2.7])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/main.cc])
AC_PREREQ([2.58])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_LANG([C++])
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_14(noext,mandatory)
AC_CHECK_FUNCS([inet_ntoa])
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([socket])
AC_CHECK_HEADERS([arpa/inet.h])
AC_CHECK_HEADERS([limits.h])
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([sys/socket.h])
AC_CHECK_HEADERS([syslog.h])
AC_FUNC_FORK
AC_TYPE_PID_T
AC_OUTPUT([Makefile src/Makefile man/Makefile])
if test "x$warning" == "xyes" ; then
AC_MSG_NOTICE([
***
*** As of 1.4, nsrlsvr no longer automatically downloads the NSRL RDS.
*** You must do this yourself. After installation, you must run
*** "nsrlupdate /path/to/rds" to populate the database before running
*** nsrlsvr.
***
]);
fi