X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=configure;h=118ae8508fc7d4765c0e9376accd6d697065292f;hp=94a14474b1a18d866648dcfbce2602ba17497deb;hb=094dfab07d82eba2287a852a622deb3389cce94d;hpb=517d621bc7baf7b49bb5b2609cc6a624f64155f3 diff --git a/configure b/configure index 94a14474..118ae850 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for wimlib 0.6.3. +# Generated by GNU Autoconf 2.69 for wimlib 0.7.0. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='wimlib' PACKAGE_TARNAME='wimlib' -PACKAGE_VERSION='0.6.3' -PACKAGE_STRING='wimlib 0.6.3' +PACKAGE_VERSION='0.7.0' +PACKAGE_STRING='wimlib 0.7.0' PACKAGE_BUGREPORT='ebiggers3@gmail.com' PACKAGE_URL='' @@ -646,6 +646,7 @@ LIBFUSE_CFLAGS LIBFUSE_LDADD LIBXML2_CFLAGS LIBXML2_LDADD +pkgconfigdir LTLIBICONV LIBICONV OTOOL64 @@ -769,12 +770,14 @@ with_sysroot enable_libtool_lock enable_rpath with_libiconv_prefix +with_pkgconfigdir enable_debug enable_more_debug enable_error_messages enable_custom_memory_allocator enable_assertions enable_verify_compression +enable_security_data with_fuse enable_ssse3_sha1 with_libcrypto @@ -1328,7 +1331,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures wimlib 0.6.3 to adapt to many kinds of systems. +\`configure' configures wimlib 0.7.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1398,7 +1401,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of wimlib 0.6.3:";; + short | recursive ) echo "Configuration of wimlib 0.7.0:";; esac cat <<\_ACEOF @@ -1427,6 +1430,8 @@ Optional Features: --disable-verify-compression disable checking if blocks we compress can be correctly decompressed + --disable-security-data disable the ability to retain the security data of + existing WIMs --enable-ssse3-sha1 use assembly language implementation of SHA1 from Intel, accelerated with vector instructions (SSSE3-enabled CPU required) @@ -1442,6 +1447,7 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-pkgconfigdir=DIR pkgconfig file in DIR [LIBDIR/pkgconfig] --without-fuse build without libfuse. This will disable the ability to mount WIM files. --without-libcrypto build in the SHA1 algorithm, rather than use @@ -1524,7 +1530,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -wimlib configure 0.6.3 +wimlib configure 0.7.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1802,7 +1808,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by wimlib $as_me 0.6.3, which was +It was created by wimlib $as_me 0.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2633,7 +2639,7 @@ fi # Define the identity of the package. PACKAGE='wimlib' - VERSION='0.6.3' + VERSION='0.7.0' cat >>confdefs.h <<_ACEOF @@ -11622,7 +11628,7 @@ CC="$lt_save_CC" ac_config_headers="$ac_config_headers config.h" -ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile src/Makefile programs/Makefile" +ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile src/Makefile programs/Makefile wimlib.pc doc/imagex.1 doc/imagex-append.1 doc/imagex-apply.1 doc/imagex-capture.1 doc/imagex-delete.1 doc/imagex-dir.1 doc/imagex-export.1 doc/imagex-info.1 doc/imagex-join.1 doc/imagex-mount.1 doc/imagex-mountrw.1 doc/imagex-split.1 doc/imagex-unmount.1 doc/mkwinpeimg.1 rpm/wimlib.spec archlinux/PKGBUILD" ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -12293,6 +12299,7 @@ fi + if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else @@ -13264,8 +13271,16 @@ if test "x$am_cv_func_iconv" != "xyes"; then libraries." "$LINENO" 5 fi -LIBXML2_LDADD=`pkg-config libxml-2.0 --libs` -LIBXML2_CFLAGS=`pkg-config libxml-2.0 --cflags` + +# Check whether --with-pkgconfigdir was given. +if test "${with_pkgconfigdir+set}" = set; then : + withval=$with_pkgconfigdir; pkgconfigdir=$withval +else + pkgconfigdir='${libdir}/pkgconfig' +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; } if ${ac_cv_lib_xml2_xmlParseFile+:} false; then : @@ -13308,6 +13323,8 @@ else as_fn_error $? "\"cannot find libxml2\"" "$LINENO" 5 fi +LIBXML2_LDADD=`pkg-config libxml-2.0 --libs` +LIBXML2_CFLAGS=`pkg-config libxml-2.0 --cflags` LIBXML2_LDADD=$LIBXML2_LDADD LIBXML2_CFLAGS=$LIBXML2_CFLAGS @@ -13422,6 +13439,24 @@ $as_echo "#define ENABLE_VERIFY_COMPRESSION 1" >>confdefs.h fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include support for copying security data" >&5 +$as_echo_n "checking whether to include support for copying security data... " >&6; } +# Check whether --enable-security_data was given. +if test "${enable_security_data+set}" = set; then : + enableval=$enable_security_data; ENABLE_SECURITY_DATA=$enableval +else + ENABLE_SECURITY_DATA=yes + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_SECURITY_DATA" >&5 +$as_echo "$ENABLE_SECURITY_DATA" >&6; } +if test "x$ENABLE_SECURITY_DATA" = "xyes"; then + +$as_echo "#define ENABLE_SECURITY_DATA 1" >>confdefs.h + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include support for mounting WIMs" >&5 $as_echo_n "checking whether to include support for mounting WIMs... " >&6; } @@ -13440,8 +13475,6 @@ if test "x$WITH_FUSE" = "xyes"; then $as_echo "#define WITH_FUSE 1" >>confdefs.h - LIBFUSE_LDADD=`pkg-config --libs fuse` - LIBFUSE_CFLAGS=`pkg-config --cflags fuse` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main_real in -lfuse" >&5 $as_echo_n "checking for fuse_main_real in -lfuse... " >&6; } @@ -13536,6 +13569,8 @@ else fi + LIBFUSE_LDADD="`pkg-config --libs fuse` -lrt" + LIBFUSE_CFLAGS="`pkg-config --cflags fuse`" else LIBFUSE_LDADD= LIBFUSE_CFLAGS= @@ -13685,8 +13720,11 @@ if test "x$WITH_LIBCRYPTO" = "xyes" -a "x$ENABLE_SSSE3_SHA1" = "xno"; then $as_echo "#define WITH_LIBCRYPTO 1" >>confdefs.h - LIBCRYPTO_LDADD=`pkg-config --libs libcrypto` - LIBCRYPTO_CFLAGS=`pkg-config --cflags libcrypto` + LIBCRYPTO_LDADD=`pkg-config --libs libcrypto 2>/dev/null` + if test $? -ne 0; then + LIBCRYPTO_LDADD=-lcrypto; + fi + LIBCRYPTO_CFLAGS=`pkg-config --cflags libcrypto 2>/dev/null` else LIBCRYPTO_LDADD= LIBCRYPTO_CFLAGS= @@ -14233,7 +14271,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by wimlib $as_me 0.6.3, which was +This file was extended by wimlib $as_me 0.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14299,7 +14337,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -wimlib config.status 0.6.3 +wimlib config.status 0.7.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -14713,6 +14751,23 @@ do "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;; + "wimlib.pc") CONFIG_FILES="$CONFIG_FILES wimlib.pc" ;; + "doc/imagex.1") CONFIG_FILES="$CONFIG_FILES doc/imagex.1" ;; + "doc/imagex-append.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-append.1" ;; + "doc/imagex-apply.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-apply.1" ;; + "doc/imagex-capture.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-capture.1" ;; + "doc/imagex-delete.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-delete.1" ;; + "doc/imagex-dir.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-dir.1" ;; + "doc/imagex-export.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-export.1" ;; + "doc/imagex-info.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-info.1" ;; + "doc/imagex-join.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-join.1" ;; + "doc/imagex-mount.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-mount.1" ;; + "doc/imagex-mountrw.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-mountrw.1" ;; + "doc/imagex-split.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-split.1" ;; + "doc/imagex-unmount.1") CONFIG_FILES="$CONFIG_FILES doc/imagex-unmount.1" ;; + "doc/mkwinpeimg.1") CONFIG_FILES="$CONFIG_FILES doc/mkwinpeimg.1" ;; + "rpm/wimlib.spec") CONFIG_FILES="$CONFIG_FILES rpm/wimlib.spec" ;; + "archlinux/PKGBUILD") CONFIG_FILES="$CONFIG_FILES archlinux/PKGBUILD" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac