RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 03-Jul-2007 17:27:14 Branch: HEAD Handle: 2007070316271400 Modified files: rpm configure.ac Log: when File/magic is internal we have to fake the HAVE_MAGIC_H result Summary: Revision Changes Path 2.160 +4 -1 rpm/configure.ac ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/configure.ac ============================================================================ $ cvs diff -u -r2.159 -r2.160 configure.ac --- rpm/configure.ac 2 Jul 2007 08:48:31 -0000 2.159 +++ rpm/configure.ac 3 Jul 2007 15:27:14 -0000 2.160 @@ -728,7 +728,10 @@ [File (magic)], [file], [magic], [magic_open], [magic.h], [yes,external:internal:none], [file:src:src], - [], []) + [ if test ".$RPM_CHECK_LIB_LOCATION" = .internal; then + AC_DEFINE(HAVE_MAGIC_H, 1, [Define to 1 if you have <magic.h>]) + fi + ], []) dnl # POPT RPM_CHECK_LIB( @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org