pybliographer r1273 - trunk



Author: fredgo
Date: Wed Feb 13 23:55:24 2008
New Revision: 1273
URL: http://svn.gnome.org/viewvc/pybliographer?rev=1273&view=rev

Log:
Revision: gobry pybliographer org--2007/pyblio--stable--1.2--patch-17
Creator:  Frederic Gobry <gobry pybliographer org>

added --disable-depchecks

Gour remarked that packagers have to work around dependency checks that
fail when run under fakeroot (gnomevfs for instance will try to create
$HOME/.gnome2). This option disable unneeded tests (as the dependencies
are already checked by the packaging system)


Modified:
   trunk/NEWS
   trunk/configure.ac

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Wed Feb 13 23:55:24 2008
@@ -1,5 +1,11 @@
 -*- text -*-
 
+New in ...
+
+       * added a --disable-depchecks configure option to let packagers
+         avoid failing checks when running under fakeroot (gnomevfs
+         for instance would try to create $HOME/.gnome2 when imported)
+
 New in 1.2.11 - 2007-09-24
 
        * Fixed multiple creation of entries (Fréric)

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Feb 13 23:55:24 2008
@@ -39,8 +39,15 @@
 dnl Python version
 MINIMUM_VERSION="2.2"
 
+# PACKAGERS
+AC_ARG_ENABLE(depchecks, 
+[  --disable-depchecks     skip dependency checks (while building packages for instance)],,
+ enable_depchecks="yes")
+
 AC_MSG_CHECKING([python requirements])
 
+if test ${enable_depchecks} = "yes" ; then
+
 ${Python} ${srcdir}/setup-check.py ${MINIMUM_VERSION} 2>&5 1>&2
 
 result=$?
@@ -63,6 +70,9 @@
 	AC_MSG_RESULT([no])
 	AC_MSG_ERROR([${Status}])
 fi
+else
+  AC_MSG_RESULT([disabled by user])
+fi
 
 dnl NLS is now hand-managed for python.
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]