summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure41
1 files changed, 24 insertions, 17 deletions
diff --git a/configure b/configure
index 3dd1f77..507a169 100755
--- a/configure
+++ b/configure
@@ -905,6 +905,7 @@ enable_libtool_lock
enable_debug
enable_debug_magic
enable_file_attr
+enable_expert_mode
'
ac_precious_vars='build_alias
host_alias
@@ -1553,6 +1554,7 @@ Optional Features:
--enable-debug Turn on debugging
--enable-debug-magic Turn on debugging magic-scan-engine
--enable-file-attr enable restore of file attribute
+ --enable-expert-mode enable advanced options for expert mode
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -2494,7 +2496,7 @@ fi
# Define the identity of the package.
PACKAGE=ext4magic
- VERSION=0.2.0
+ VERSION=0.2.1
cat >>confdefs.h <<_ACEOF
@@ -4365,13 +4367,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:4368: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:4370: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:4371: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:4373: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:4374: output\"" >&5)
+ (eval echo "\"\$as_me:4376: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -5577,7 +5579,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5580 "configure"' > conftest.$ac_ext
+ echo '#line 5582 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7430,11 +7432,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7433: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7435: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7437: \$? = $ac_status" >&5
+ echo "$as_me:7439: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7769,11 +7771,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7772: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7774: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7776: \$? = $ac_status" >&5
+ echo "$as_me:7778: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7874,11 +7876,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7877: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7881: \$? = $ac_status" >&5
+ echo "$as_me:7883: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -7929,11 +7931,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7932: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7934: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7936: \$? = $ac_status" >&5
+ echo "$as_me:7938: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10729,7 +10731,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10732 "configure"
+#line 10734 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10825,7 +10827,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10828 "configure"
+#line 10830 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11782,8 +11784,8 @@ else
fi
test $fail = 1 &&
-{ { $as_echo "$as_me:$LINENO: error: library libmagic.so file-version >= 5.04 not found, install the package \"file-5.04\" to build ext4magic" >&5
-$as_echo "$as_me: error: library libmagic.so file-version >= 5.04 not found, install the package \"file-5.04\" to build ext4magic" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: library libmagic.so >= 5.04 not found, install package \"file-5.04\" and \"file-devel\" (workaround see INSTALL)" >&5
+$as_echo "$as_me: error: library libmagic.so >= 5.04 not found, install package \"file-5.04\" and \"file-devel\" (workaround see INSTALL)" >&2;}
{ (exit 1); exit 1; }; }
@@ -11803,6 +11805,11 @@ if test "${enable_file_attr+set}" = set; then
enableval=$enable_file_attr; if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DFILE_ATTR"; fi
fi
+# Check whether --enable-expert-mode was given.
+if test "${enable_expert_mode+set}" = set; then
+ enableval=$enable_expert_mode; if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DEXPERT_MODE"; fi
+fi
+
ac_config_files="$ac_config_files Makefile src/Makefile"