From owner-freebsd-usb@FreeBSD.ORG Tue Jun 30 17:29:27 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3E4F1065672 for ; Tue, 30 Jun 2009 17:29:27 +0000 (UTC) (envelope-from bsdfan@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 0AE088FC22 for ; Tue, 30 Jun 2009 17:29:26 +0000 (UTC) (envelope-from bsdfan@nurfuerspam.de) Received: (qmail invoked by alias); 30 Jun 2009 17:02:45 -0000 Received: from dslb-092-073-081-027.pools.arcor-ip.net (EHLO [192.168.1.100]) [92.73.81.27] by mail.gmx.net (mp028) with SMTP; 30 Jun 2009 19:02:45 +0200 X-Authenticated: #931807 X-Provags-ID: V01U2FsdGVkX187+z1rWAI7AxdG757RUTnUuubXhTODM9L2JC3DY9 zP95z3JrtuWxr+ Message-ID: <4A4A4540.5010508@nurfuerspam.de> Date: Tue, 30 Jun 2009 19:02:56 +0200 From: Markus Dolze User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Subject: Migrating pkg-config checks for libusb X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 17:29:27 -0000 Hello, I have a port (sysutils/lcdproc) using pkg-config to check for the presence and flags of libusb. While this works fine for FreeBSD up to 7.2, it does not work for 8-current. Instead of fixing it in the ports I am looking for a way to detect the availability of libusb properly in the original source. Any ideas how to do this? Some autotools M4/shell code is appreciated. Regards, Markus