From d0c053e3e97a4598c7f5b72640567e6b28465396 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 9 Dec 2004 18:45:32 +0000 Subject: Patches added recently for Solaris don't work on Linux, because they include headers which are unavailable on Linux. Modify the patches so that those headers are included only when they are found by configure. --- sysutils/fam/patches/patch-ax | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysutils/fam/patches/patch-ax') diff --git a/sysutils/fam/patches/patch-ax b/sysutils/fam/patches/patch-ax index 4b9cccf3458..7b032993970 100644 --- a/sysutils/fam/patches/patch-ax +++ b/sysutils/fam/patches/patch-ax @@ -1,6 +1,6 @@ -$NetBSD: patch-ax,v 1.9 2004/11/19 12:35:22 sketch Exp $ +$NetBSD: patch-ax,v 1.10 2004/12/09 18:45:32 minskim Exp $ ---- configure.orig 2003-11-26 20:47:26.000000000 +0100 +--- configure.orig 2003-11-26 13:47:26.000000000 -0600 +++ configure @@ -1,6 +1,6 @@ #! /bin/sh @@ -26,7 +26,7 @@ $NetBSD: patch-ax,v 1.9 2004/11/19 12:35:22 sketch Exp $ -for ac_header in fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h + + -+for ac_header in fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/mnttab.h sys/sysmacros.h ++for ac_header in fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpc/rcpent.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/filio.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/mnttab.h sys/sysmacros.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then -- cgit v1.2.3