From owner-freebsd-ports Sat May 16 14:17:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07905 for freebsd-ports-outgoing; Sat, 16 May 1998 14:17:42 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07874 for ; Sat, 16 May 1998 14:17:36 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id QAA18318; Sat, 16 May 1998 16:15:12 -0400 (EDT) Date: Sat, 16 May 1998 16:15:12 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: Peter Haight cc: freebsd-ports@FreeBSD.ORG Subject: Re: Autoconf macro for finding include subdirectories In-Reply-To: <199805162037.NAA16078@wartch.rih.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 16 May 1998, Peter Haight wrote: > > A bunch of the library ports install header files in subdirectories off of > /usr/local/include. Giflib and tiff are examples. Most of the various > programs that use these libraries just look in the normal include paths. > Does anyone have an Autoconf macro that works like AC_CHECK_LIB, but will > also find the include directory with the header file in it? You can easily check where they install, by inspecting each port's pkg/PLIST. Usually, the installed directory is the one the library intends as a default, so other software that uses those libraries finds it easily. The installation is conditioned against the user's setting of PREFIX, because not everyone wants to use /usr/local. The only ports I've had problems with are the tcl ones, for reasons that are very well known. All ports that use those libraries are already set up to find the required libraries correctly, with no modifications at all, irregardless of local PREFIX settings, as long as those settings are stable on any particular machine. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message