summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 1187cec..023f6cb 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
AC_INIT(configure.in)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(ext4magic, 0.2.0)
+AM_INIT_AUTOMAKE(ext4magic, 0.2.1)
AC_LANG_C
AC_PROG_CC
@@ -24,7 +24,7 @@ AC_MSG_ERROR([You must have ext2fs version >= 1.41.9 to build ext4magic])
fail=0
AC_SEARCH_LIBS([magic_getpath], [magic], [], [fail=1])
test $fail = 1 &&
-AC_MSG_ERROR([library libmagic.so file-version >= 5.04 not found, install the package "file-5.04" to build ext4magic])
+AC_MSG_ERROR([library libmagic.so >= 5.04 not found, install package "file-5.04" and "file-devel" (workaround see INSTALL)])
@@ -34,5 +34,7 @@ AC_ARG_ENABLE(debug-magic,[ --enable-debug-magic Turn on debugging m
[if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DDEBUG_MAGIC_SCAN"; fi])
AC_ARG_ENABLE(file-attr,[ --enable-file-attr enable restore of file attribute ],
[if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DFILE_ATTR"; fi])
+AC_ARG_ENABLE(expert-mode,[ --enable-expert-mode enable advanced options for expert mode ],
+ [if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DEXPERT_MODE"; fi])
AC_OUTPUT(Makefile src/Makefile)