-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfigure.ac
67 lines (57 loc) · 1.35 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
AC_INIT([neolith], [0.1.3])
AC_CONFIG_SRCDIR([gettext.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([auto])
AM_INIT_AUTOMAKE
AC_USE_SYSTEM_EXTENSIONS
AH_TOP([#define debug(x,y)
])
AH_TEMPLATE([ENABLE_NLS],
[Enables i18n of string messages with GNU gettext.])
AH_TEMPLATE([HAVE_GETTEXT],
[Defined when GNU gettext is available.])
AH_BOTTOM([#if defined(ENABLE_NLS) && defined(HAVE_GETTEXT)
#include <gettext.h>
#define _(s) gettext(s)
#else
#define _(s) (s)
#endif
])
AC_PROG_CC_C99
AC_PROG_YACC
AM_PROG_LIBTOOL
AM_GNU_GETTEXT([external])
localedir=$datadir/locale
AC_SUBST(localedir)
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_MAJOR
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([argp.h fcntl.h malloc.h sys/ioctl.h sys/time.h unistd.h\
stdint.h sys/inttypes.h arpa/telnet.h netdb.h socket.h sys/socket.h\
sys/types.h sys/param.h])
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_STRUCT_ST_RDEV
AC_HEADER_TIME
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_FUNC_WAIT3
AC_CHECK_LIB([rt],[timer_settime])
AC_CHECK_FUNCS(getcwd gethostname getline gettimeofday getwd mkdir putenv\
regcomp rmdir select socket stpcpy strcspn strerror strstr strtol)
AC_OUTPUT([po/Makefile.in
Makefile
lib/Makefile
lib/adt/Makefile
lib/efuns/Makefile
lib/lpc/Makefile
lib/socket/Makefile
src/Makefile
LPC/Makefile
])