]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - configure.in
xfsprogs update - Andi's mkfs log size default change and enabling large
[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 -ltermcap",
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 -ltermcap",
24 enable_editline=no)
25 AC_SUBST(libeditline)
26 AC_SUBST(enable_editline)
27
28 AC_PACKAGE_GLOBALS(xfsprogs)
29 AC_PACKAGE_UTILITIES(xfsprogs)
30
31 AC_PACKAGE_NEED_UUID_H
32 AC_PACKAGE_NEED_UUIDCOMPARE
33 AC_ARG_ENABLE(shared-uuid,
34 [ --enable-shared-uuid=[yes/no] Link shared libuuid [default=no].],
35 libuuid="/usr/lib/libuuid.a"
36 test "$enable_shared_uuid" = yes && libuuid="-luuid",
37 libuuid="/usr/lib/libuuid.a")
38 AC_PACKAGE_CHECK_LIBUUID
39 AC_SUBST(libuuid)
40
41 AC_TYPE_PSINT
42 AC_TYPE_PSUNSIGNED
43 AC_SIZEOF_POINTERS_AND_LONG
44 AC_MANUAL_FORMAT
45
46 AC_OUTPUT(include/builddefs)