Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Benedikt Boehm (hollow)" <hollow@g.o>
Subject: gentoo-x86 commit in app-admin/apachetop/files: apachetop-0.12.6-configure.patch CAN-2005-2660.patch
Date: Sat, 23 Feb 2008 20:26:08 +0000
hollow      08/02/23 20:26:08

  Added:                apachetop-0.12.6-configure.patch
  Removed:              CAN-2005-2660.patch
  Log:
  fix #198553; remove old version
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  app-admin/apachetop/files/apachetop-0.12.6-configure.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apachetop/files/apachetop-0.12.6-configure.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apachetop/files/apachetop-0.12.6-configure.patch?rev=1.1&content-type=text/plain

Index: apachetop-0.12.6-configure.patch
===================================================================
Index: apachetop-0.12.6/configure.ac
===================================================================
--- apachetop-0.12.6.orig/configure.ac
+++ apachetop-0.12.6/configure.ac
@@ -52,48 +52,60 @@ AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([inet_aton memset strchr strdup kqueue strerror strstr])
 
 # pcre {{{
-AC_ARG_WITH(pcre,
-	[  --with-pcre=<path>      prefix of pcre installation (eg /usr/local)],
-	[
-		CPPFLAGS="$CPPFLAGS -I $withval/include"
-		LDFLAGS="$LDFLAGS -L $withval/lib"
-	]
-)
-
-AC_CHECK_HEADERS(pcre.h,
-	AC_SEARCH_LIBS([pcre_compile], [pcre]) ,
-	AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre])
-)
+AC_ARG_WITH([pcre],
+			[  --with-pcre=<path>      prefix of pcre installation (eg /usr/local)],
+			[case "${withval}" in
+			  yes) with_pcre="/usr";;
+			  no)  with_pcre="no";;
+			  *)   with_pcre="/usr";;
+			 esac],
+			 [with_pcre="/usr"])
+
+if test x$with_pcre != xno; then
+	CPPFLAGS="$CPPFLAGS -I $withval/include"
+	LDFLAGS="$LDFLAGS -L $withval/lib"
+	AC_CHECK_HEADERS(pcre.h,
+					 AC_SEARCH_LIBS([pcre_compile], [pcre]),
+					 AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre]))
+fi
 # }}}
 
 # fam {{{
-AC_ARG_WITH(fam,
-	[  --with-fam=<path>      prefix of fam installation (eg /usr/local)],
-	[
-		CPPFLAGS="$CPPFLAGS -I $withval/include"
-		LDFLAGS="$LDFLAGS -L $withval/lib"
-	]
-)
-
-AC_CHECK_HEADERS(fam.h,
-	AC_SEARCH_LIBS([FAMOpen], [fam]) ,
-	AC_MSG_WARN([*** fam.h not found -- consider using --with-fam])
-)
+AC_ARG_WITH([fam],
+			[  --with-fam=<path>      prefix of fam installation (eg /usr/local)],
+			[case "${withval}" in
+			  yes) with_fam="/usr";;
+			  no)  with_fam="no";;
+			  *)   with_fam="/usr";;
+			 esac],
+			 [with_fam="/usr"])
+
+if test x$with_fam != xno; then
+	CPPFLAGS="$CPPFLAGS -I $with_fam/include"
+	LDFLAGS="$LDFLAGS -L $with_fam/lib"
+	AC_CHECK_HEADERS(fam.h,
+					 AC_SEARCH_LIBS([FAMOpen], [fam]),
+					 AC_MSG_WARN([*** fam.h not found -- consider using --with-fam]))
+fi
 # }}}
 
 # adns {{{
-AC_ARG_WITH(adns,
-	[  --with-adns=<path>     prefix of adns installation (eg /usr/local)],
-	[
-		CPPFLAGS="$CPPFLAGS -I $withval/include"
-		LDFLAGS="$LDFLAGS -L $withval/lib"
-	]
-)
-
-AC_CHECK_HEADERS(adns.h,
-	AC_SEARCH_LIBS([adns_submit], [adns]) ,
-	AC_MSG_WARN([*** adns.h not found -- consider using --with-adns])
-)
+AC_ARG_WITH([adns],
+			[  --with-adns=<path>     prefix of adns installation (eg /usr/local)],
+			[case "${withval}" in
+			  yes) with_adns="/usr";;
+			  no)  with_adns="no";;
+			  *)   with_adns="/usr";;
+			 esac],
+			 [with_adns="/usr"])
+
+if test x$with_adns != xno; then
+	CPPFLAGS="$CPPFLAGS -I $with_adns/include"
+	LDFLAGS="$LDFLAGS -L $with_adns/lib"
+	AC_CHECK_HEADERS(adns.h,
+					 AC_SEARCH_LIBS([adns_submit], [adns]),
+					 AC_MSG_WARN([*** adns.h not found -- consider using --with-adns]))
+fi
 # }}}
 
 # --with-logfile {{{



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in app-admin/apachetop: apachetop-0.12.6.ebuild metadata.xml ChangeLog apachetop-0.12.5-r1.ebuild
Next by thread:
gentoo-x86 commit in dev-perl/TimeDate: TimeDate-1.16.ebuild
Previous by date:
gentoo-x86 commit in app-admin/apachetop: apachetop-0.12.6.ebuild metadata.xml ChangeLog apachetop-0.12.5-r1.ebuild
Next by date:
gentoo-x86 commit in dev-perl/TimeDate: TimeDate-1.16.ebuild


Updated Apr 20, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.