-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfigure.ac
More file actions
62 lines (49 loc) · 1.21 KB
/
configure.ac
File metadata and controls
62 lines (49 loc) · 1.21 KB
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT([pxtools], [0.0.21])
AC_CONFIG_SRCDIR([src/pxparse.c])
AC_CONFIG_HEADERS([config.h])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
AM_SILENT_RULES([yes])
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AM_GNU_GETTEXT([external])
AC_SUBST(INTLINC)
AC_SUBST(INTLLIBS)
AC_USE_SYSTEM_EXTENSIONS
dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_BIGENDIAN
AC_STRUCT_TM
ALL_LINGUAS="de"
AC_ARG_ENABLE(y2k,
[ --enable-y2k enables a Y2k workaround for paradox < 7.0],
[case "${enableval}" in
yes) y2k=1;;
no) y2k=0;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-y2k) ;;
esac],
[y2k=0]
)
AC_DEFINE_UNQUOTED(Y2K_WORKAROUND, [$y2k],
[Whether to enable the paradox < 7.0 Y2K workaround or not])
AC_CHECK_HEADERS([getopt.h])
AC_CHECK_FUNCS([getopt_long])
localedir='${datadir}/locale'
AC_SUBST(localedir)
dnl Checks for library functions.
AC_CONFIG_FILES([
src/Makefile
doc/Makefile
po/Makefile
Makefile
pxtools.spec
])
AC_OUTPUT