X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=configure;fp=configure;h=5e61ddd1e44e24ddb81d48460a5f4958b10f1105;hp=84dac8b640520873cb610b613742e2d88071b533;hb=d1925e0c515fcb4f815d75292566d600fd715ff5;hpb=0d4dfd0731eacefd7e1fc8493522021f50ff92db diff --git a/configure b/configure index 84dac8b..5e61ddd 100755 --- a/configure +++ b/configure @@ -849,6 +849,7 @@ Optional Features: --enable-largefile enable Large File System support (default is YES) --enable-qfa enable Quick File Access support (default is YES) --enable-qfadebug include Quick File Access debugging code (default is NO) + --enable-macosx include Mac OSX restore compatibility (default is NO) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -3508,6 +3509,27 @@ else fi; +# Check whether --enable-macosx or --disable-macosx was given. +if test "${enable_macosx+set}" = set; then + enableval="$enable_macosx" + if test "$enableval" = "yes" +then + +cat >>confdefs.h <<\_ACEOF +#define DUMP_MACOSX 1 +_ACEOF + + echo "Including Mac OSX restore compatibility code" +else + echo "Not including Mac OSX restore compatibility code" +fi + +else + echo "Not including Mac OSX restore compatibility code by default" + +fi; + + # Check whether --with-cc or --without-cc was given. if test "${with_cc+set}" = set; then