]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - configure.in
Ongoing xfs_repair/libxfs scaling work - incorporate lio_listio detection into the...
[thirdparty/xfsprogs-dev.git] / configure.in
1 AC_INIT(include/libxfs.h)
2 AC_CONFIG_HEADER(include/platform_defs.h)
3
4 AC_ARG_ENABLE(shared,
5 [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
6 enable_shared=yes)
7 AC_SUBST(enable_shared)
8
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
14 AC_ARG_ENABLE(readline,
15 [ --enable-readline=[yes/no] Enable readline command editing [default=no]],
16 test $enable_readline = yes && libreadline="-lreadline",
17 enable_readline=no)
18 AC_SUBST(libreadline)
19 AC_SUBST(enable_readline)
20
21 AC_ARG_ENABLE(editline,
22 [ --enable-editline=[yes/no] Enable editline command editing [default=no]],
23 test $enable_editline = yes && libeditline="-ledit",
24 enable_editline=no)
25 AC_SUBST(libeditline)
26 AC_SUBST(enable_editline)
27
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
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
38 AC_PACKAGE_GLOBALS(xfsprogs)
39 AC_PACKAGE_UTILITIES(xfsprogs)
40 AC_MULTILIB($enable_lib64)
41
42 AC_PACKAGE_NEED_AIO_H
43 AC_PACKAGE_NEED_LIO_LISTIO
44
45 AC_PACKAGE_NEED_UUID_H
46 AC_PACKAGE_NEED_UUIDCOMPARE
47
48 AC_PACKAGE_NEED_PTHREAD_H
49 AC_PACKAGE_NEED_PTHREADMUTEXINIT
50
51 AC_HAVE_FADVISE
52 AC_HAVE_MADVISE
53 AC_HAVE_MINCORE
54 AC_HAVE_SENDFILE
55 AC_HAVE_GETMNTENT
56 AC_HAVE_GETMNTINFO
57
58 AC_TYPE_PSINT
59 AC_TYPE_PSUNSIGNED
60 AC_SIZEOF_POINTERS_AND_LONG
61 AC_MANUAL_FORMAT
62
63 AC_OUTPUT(include/builddefs)