]>
Commit | Line | Data |
---|---|---|
fc49813f | 1 | AC_INIT(include/libxfs.h) |
9440d84d NS |
2 | AC_CONFIG_HEADER(include/platform_defs.h) |
3 | ||
534b0bfd | 4 | AC_ARG_ENABLE(shared, |
dfc13ce1 | 5 | [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],, |
d5dca43b NS |
6 | enable_shared=yes) |
7 | AC_SUBST(enable_shared) | |
8 | ||
16c44ed2 NS |
9 | AC_ARG_ENABLE(gettext, |
10 | [ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],, | |
11 | enable_gettext=yes) | |
12 | AC_SUBST(enable_gettext) | |
13 | ||
e246ba5f | 14 | AC_ARG_ENABLE(readline, |
16c44ed2 | 15 | [ --enable-readline=[yes/no] Enable readline command editing [default=no]], |
541a1d4f | 16 | test $enable_readline = yes && libreadline="-lreadline", |
e246ba5f | 17 | enable_readline=no) |
e246ba5f NS |
18 | AC_SUBST(libreadline) |
19 | AC_SUBST(enable_readline) | |
20 | ||
d4b9ebda | 21 | AC_ARG_ENABLE(editline, |
16c44ed2 | 22 | [ --enable-editline=[yes/no] Enable editline command editing [default=no]], |
541a1d4f | 23 | test $enable_editline = yes && libeditline="-ledit", |
d4b9ebda | 24 | enable_editline=no) |
d4b9ebda NS |
25 | AC_SUBST(libeditline) |
26 | AC_SUBST(enable_editline) | |
27 | ||
541a1d4f NS |
28 | AC_ARG_ENABLE(termcap, |
29 | [ --enable-termcap=[yes/no] Enable terminal capabilities library [default=no]], | |
30 | test $enable_termcap = yes && libtermcap="-ltermcap",) | |
31 | AC_SUBST(libtermcap) | |
32 | ||
82805b60 TS |
33 | AC_ARG_ENABLE(lib64, |
34 | [ --enable-lib64=[yes/no] Enable lib64 support [default=no]],, | |
35 | enable_lib64=no) | |
36 | AC_SUBST(enable_lib64) | |
37 | ||
16c44ed2 NS |
38 | AC_PACKAGE_GLOBALS(xfsprogs) |
39 | AC_PACKAGE_UTILITIES(xfsprogs) | |
82805b60 | 40 | AC_MULTILIB($enable_lib64) |
93d9f139 | 41 | |
6ec3f6ba NS |
42 | AC_PACKAGE_NEED_AIO_H |
43 | AC_PACKAGE_NEED_LIO_LISTIO | |
44 | ||
0686de0f | 45 | AC_PACKAGE_NEED_UUID_H |
7b9d2be9 | 46 | AC_PACKAGE_NEED_UUIDCOMPARE |
fc49813f | 47 | |
949c0f10 NS |
48 | AC_PACKAGE_NEED_PTHREAD_H |
49 | AC_PACKAGE_NEED_PTHREADMUTEXINIT | |
50 | ||
0bba1a49 NS |
51 | AC_HAVE_FADVISE |
52 | AC_HAVE_MADVISE | |
53 | AC_HAVE_MINCORE | |
54 | AC_HAVE_SENDFILE | |
cfe6e3f0 NS |
55 | AC_HAVE_GETMNTENT |
56 | AC_HAVE_GETMNTINFO | |
0bba1a49 | 57 | |
16c44ed2 NS |
58 | AC_TYPE_PSINT |
59 | AC_TYPE_PSUNSIGNED | |
8dd34538 | 60 | AC_CHECK_TYPES(__u32,,,[#include <asm/types.h>]) |
16c44ed2 NS |
61 | AC_SIZEOF_POINTERS_AND_LONG |
62 | AC_MANUAL_FORMAT | |
fc49813f | 63 | |
6c6508ec | 64 | AC_OUTPUT(include/builddefs) |