[file-roller] configure: don't give an error if libmagic could not be found
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] configure: don't give an error if libmagic could not be found
- Date: Mon, 27 Aug 2012 19:04:57 +0000 (UTC)
commit a80adc5113bdbec058c175c69d3528a77b9b7e66
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Aug 27 20:24:16 2012 +0200
configure: don't give an error if libmagic could not be found
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3f78bc9..3c9b1d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,9 +201,11 @@ int main () { magic_t m = magic_open(MAGIC_NONE); }
])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
- AC_MSG_ERROR([libmagic is needed for magic])])
+ enable_magic=no])
LIBS="$save_LIBS"
+fi
+if test x"$enable_magic" = x"yes" ; then
MAGIC_CFLAGS=
MAGIC_LIBS=-lmagic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]