gvfs r2213 - trunk
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2213 - trunk
- Date: Fri, 13 Feb 2009 14:46:39 +0000 (UTC)
Author: cosimoc
Date: Fri Feb 13 14:46:38 2009
New Revision: 2213
URL: http://svn.gnome.org/viewvc/gvfs?rev=2213&view=rev
Log:
2009-02-13 Cosimo Cecchi <cosimoc gnome org>
Bug 531705 â Won't build with libarchive 1.3.1
* configure.ac: check for archive_entry_filetype() instead of
archive_read_open(). Patch from Tom Parker.
Modified:
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Feb 13 14:46:38 2009
@@ -449,7 +449,7 @@
LDFLAGS_save="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$with_archive_libs"
- AC_CHECK_LIB(archive, archive_read_open, archive_libs="yes", archive_libs="no")
+ AC_CHECK_LIB(archive, archive_entry_filetype, archive_libs="yes", archive_libs="no")
LDFLAGS="$LDFLAGS_save"
if test "x${archive_libs}" != "xno"; then
AC_DEFINE(HAVE_ARCHIVE,, [Define to 1 if you have the libarchive library])
@@ -460,7 +460,7 @@
ARCHIVE_LIBS="-larchive"
fi
else
- AC_CHECK_LIB(archive, archive_read_open, archive_old_libs="yes", archive_old_libs="no")
+ AC_CHECK_LIB(archive, archive_entry_filetype, archive_old_libs="yes", archive_old_libs="no")
if test "x${archive_old_libs}" != "xno"; then
msg_archive="Too old, need at least archive 3.0.22"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]