From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/photoprint/files: photoprint-0.4.2_pre2-cups-automagic.patch |
Date: | Mon, 28 Feb 2011 07:08:16 |
Message-Id: | 20110228070731.F305420057@flycatcher.gentoo.org |
1 | radhermit 11/02/28 07:07:31 |
2 | |
3 | Added: photoprint-0.4.2_pre2-cups-automagic.patch |
4 | Log: |
5 | Initial import (bug #192847). Ebuild by me. |
6 | |
7 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photoprint/files/photoprint-0.4.2_pre2-cups-automagic.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: photoprint-0.4.2_pre2-cups-automagic.patch |
16 | =================================================================== |
17 | --- photoprint-0.4.2-pre2/configure.ac.orig |
18 | +++ photoprint-0.4.2-pre2/configure.ac |
19 | @@ -68,7 +68,12 @@ |
20 | echo "Not using -lnsl since you are running IRIX." |
21 | fi) |
22 | |
23 | -AC_CHECK_LIB(cups,httpConnect) |
24 | +AC_ARG_ENABLE([cups], |
25 | + AS_HELP_STRING([--enable-cups], [Enable cups support])) |
26 | + |
27 | +AS_IF([test "x$enable_cups" = "xyes"], [ |
28 | + AC_CHECK_LIB(cups,httpConnect) |
29 | +]) |
30 | |
31 | # Checks for header files. |
32 | AC_HEADER_STDC |