]>
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 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 |
18 | AC_SUBST(libreadline) |
19 | AC_SUBST(enable_readline) | |
20 | ||
d4b9ebda | 21 | AC_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 |
25 | AC_SUBST(libeditline) |
26 | AC_SUBST(enable_editline) | |
27 | ||
16c44ed2 NS |
28 | AC_PACKAGE_GLOBALS(xfsprogs) |
29 | AC_PACKAGE_UTILITIES(xfsprogs) | |
93d9f139 | 30 | |
0686de0f NS |
31 | AC_PACKAGE_NEED_UUID_H |
32 | AC_PACKAGE_NEED_UUIDCOMPARE | |
655782c8 | 33 | AC_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 | 38 | AC_PACKAGE_CHECK_LIBUUID |
639231be | 39 | AC_SUBST(libuuid) |
fc49813f | 40 | |
16c44ed2 NS |
41 | AC_TYPE_PSINT |
42 | AC_TYPE_PSUNSIGNED | |
43 | AC_SIZEOF_POINTERS_AND_LONG | |
44 | AC_MANUAL_FORMAT | |
fc49813f | 45 | |
6c6508ec | 46 | AC_OUTPUT(include/builddefs) |