LIBFUSE_LDADD
LIBXML2_CFLAGS
LIBXML2_LDADD
+pkgconfigdir
LTLIBICONV
LIBICONV
OTOOL64
enable_libtool_lock
enable_rpath
with_libiconv_prefix
+with_pkgconfigdir
enable_debug
enable_more_debug
enable_error_messages
--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
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-unmount.1 doc/mkwinpeimg.1 rpm/wimlib.spec archlinux/PKGBUILD"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
+
if test "X$prefix" = "XNONE"; then
acl_final_prefix="$ac_default_prefix"
else
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 :
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
$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; }
fi
+ LIBFUSE_LDADD="`pkg-config --libs fuse` -lrt"
+ LIBFUSE_CFLAGS="`pkg-config --cflags fuse`"
else
LIBFUSE_LDADD=
LIBFUSE_CFLAGS=
$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=
"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-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