Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/pm-utils/files: 1.3.0-fix_autotools.patch
Date: Sun, 04 Apr 2010 16:10:30
Message-Id: E1NySP3-00039l-UI@stork.gentoo.org
1 scarabeus 10/04/04 16:10:25
2
3 Added: 1.3.0-fix_autotools.patch
4 Log:
5 Version bump per bug #311059.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-power/pm-utils/files/1.3.0-fix_autotools.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/files/1.3.0-fix_autotools.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/files/1.3.0-fix_autotools.patch?rev=1.1&content-type=text/plain
13
14 Index: 1.3.0-fix_autotools.patch
15 ===================================================================
16 diff -urN pm-utils-1.3.0.old//configure.ac pm-utils-1.3.0/configure.ac
17 --- pm-utils-1.3.0.old//configure.ac 2010-03-15 04:44:45.000000000 +0100
18 +++ pm-utils-1.3.0/configure.ac 2010-04-04 17:00:13.000000000 +0200
19 @@ -8,28 +8,28 @@
20 AC_PROG_LN_S
21
22 dnl ---------------------------------------------------------------------------
23 -dnl - Extra verbose warning switches
24 -dnl ---------------------------------------------------------------------------
25 -CPPFLAGS="$CPPFLAGS -Wall -Werror"
26 -
27 -dnl ---------------------------------------------------------------------------
28 -dnl - Debugging switches
29 -dnl ---------------------------------------------------------------------------
30 -CPPFLAGS="$CPPFLAGS -g"
31 -
32 -dnl ---------------------------------------------------------------------------
33 dnl - Manual page build
34 dnl ---------------------------------------------------------------------------
35 -AC_PATH_PROG(XMLTO, xmlto, no)
36 -AM_CONDITIONAL(HAVE_XMLTO, [test "x$XMLTO" != xno])
37 -
38 -dnl ---------------------------------------------------------------------------
39 -dnl - Make paths available for source files
40 -dnl ---------------------------------------------------------------------------
41 -AC_SUBST(SYSCONFDIR, $sysconfdir)
42 -AC_SUBST(DATADIR, $datadir)
43 -AC_SUBST(BINDIR, $bindir)
44 -AC_SUBST(SBINDIR, $sbindir)
45 +AC_ARG_ENABLE([doc],
46 + AC_HELP_STRING([--disable-docs],
47 + [Disable manpage generating via xmlto [[default=auto]]]),
48 + [MAN="$enableval"],
49 + [MAN=auto])
50 + AC_PATH_PROG(XMLTO, xmlto, no)
51 + AS_IF([test "x$MAN" = "xyes"],
52 + [
53 + AS_IF([test "x$XMLTO" != "xyes"],
54 + [AC_MSG_ERROR([Manpage generating requested but xmlto not found.])
55 + ])
56 + ],
57 + [test "x${MAN}" != "xno"],
58 + [
59 + AS_IF([test "x$XMLTO" = "xyes"],
60 + [MAN="yes"],
61 + [MAN="no"])
62 + ])
63 +AM_CONDITIONAL(HAVE_XMLTO, [test "x$MAN" != xno])
64 +AC_MSG_RESULT([checking whether to build manpages... $MAN])
65
66 dnl ---------------------------------------------------------------------------
67 dnl - Makefiles, etc.