]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - configure.in
Fix xvm stripe detection in libdisk - pass correctly
[thirdparty/xfsprogs-dev.git] / configure.in
CommitLineData
fc49813f 1AC_INIT(include/libxfs.h)
9440d84d
NS
2AC_CONFIG_HEADER(include/platform_defs.h)
3
534b0bfd 4AC_ARG_ENABLE(shared,
dfc13ce1 5[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
d5dca43b
NS
6 enable_shared=yes)
7AC_SUBST(enable_shared)
8
16c44ed2
NS
9AC_ARG_ENABLE(gettext,
10[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
11 enable_gettext=yes)
12AC_SUBST(enable_gettext)
13
e246ba5f 14AC_ARG_ENABLE(readline,
16c44ed2
NS
15[ --enable-readline=[yes/no] Enable readline command editing [default=no]],
16 test $enable_readline = yes && libreadline="-lreadline -ltermcap",
e246ba5f 17 enable_readline=no)
e246ba5f
NS
18AC_SUBST(libreadline)
19AC_SUBST(enable_readline)
20
d4b9ebda 21AC_ARG_ENABLE(editline,
16c44ed2
NS
22[ --enable-editline=[yes/no] Enable editline command editing [default=no]],
23 test $enable_editline = yes && libeditline="-ledit -ltermcap",
d4b9ebda 24 enable_editline=no)
d4b9ebda
NS
25AC_SUBST(libeditline)
26AC_SUBST(enable_editline)
27
16c44ed2
NS
28AC_PACKAGE_GLOBALS(xfsprogs)
29AC_PACKAGE_UTILITIES(xfsprogs)
93d9f139 30
0686de0f
NS
31AC_PACKAGE_NEED_UUID_H
32AC_PACKAGE_NEED_UUIDCOMPARE
655782c8 33AC_ARG_ENABLE(shared-uuid,
dfc13ce1 34[ --enable-shared-uuid=[yes/no] Link shared libuuid [default=no].],
655782c8 35 libuuid="/usr/lib/libuuid.a"
16c44ed2 36 test "$enable_shared_uuid" = yes && libuuid="-luuid",
655782c8 37 libuuid="/usr/lib/libuuid.a")
0686de0f 38AC_PACKAGE_CHECK_LIBUUID
639231be 39AC_SUBST(libuuid)
fc49813f 40
16c44ed2
NS
41AC_TYPE_PSINT
42AC_TYPE_PSUNSIGNED
43AC_SIZEOF_POINTERS_AND_LONG
44AC_MANUAL_FORMAT
fc49813f 45
6c6508ec 46AC_OUTPUT(include/builddefs)