From patchwork Tue Mar 18 16:06:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 331467 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 700562C00AD for ; Wed, 19 Mar 2014 03:03:06 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=UvYOp2JAKHcuzH1z1GMHAtMBG727a3elrBnOp7u/ND9 9CHf6GPYr5J4OhRjrdmLfMF5o4cn2ZlJD2KRvmfUlf3JBvQy9VuEwKeULoyeIAXq kYX5cjnw9xzj1Y9WWrTEaKMW7Qx4YhrEK+Mit/axZeKt2fEZ3ywQ+t64BnWiFF7I = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=o7PZYLuEujZ7IgkIoYCpTfl0WqE=; b=wZDDUHXydmqKWDYad IYT08dX0dbLEWjvxO1/jEkWLo5eMhn9yXp4GPyskqTBatyXYwaozEljIETeOZU+7 sVVA8ucyAh6CamAQ/udDxEWSqJJcpVYdMm8VB8IkDEq3Apee4Y7RxcnKh5Q1Jyok 3oHePoJ32/4IcU+Z1qlX7A7vok= Received: (qmail 18354 invoked by alias); 18 Mar 2014 16:02:58 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 18343 invoked by uid 89); 18 Mar 2014 16:02:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, MIME_BASE64_BLANKS autolearn=ham version=3.3.2 X-HELO: cyclops.biessmann.org Received: from cyclops.biessmann.org (HELO cyclops.biessmann.org) (134.0.25.77) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Mar 2014 16:02:53 +0000 Received: from localhost (er.biessmann.org [80.81.14.92]) by cyclops.biessmann.org (Postfix) with ESMTPSA id B32A4B6A01; Tue, 18 Mar 2014 17:01:13 +0100 (CET) MIME-Version: 1.0 Subject: [PATCH] configure.ac: respect 'g' variants of libtool/libtoolize X-Mercurial-Node: 2f1530b54afcb6a00e1d3ecc2595f588a3dd7315 Message-Id: <2f1530b54afcb6a00e1d.1395158786@andreas-mbp.er.biessmann.org> User-Agent: Mercurial-patchbomb/2.9.1 Date: Tue, 18 Mar 2014 17:06:26 +0100 From: andreas@biessmann.de To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes # HG changeset patch # User Andreas Bießmann # Date 1395158470 -3600 # Tue Mar 18 17:01:10 2014 +0100 # Node ID 2f1530b54afcb6a00e1d3ecc2595f588a3dd7315 # Parent e11a8a2e225d3fa882c24e05ea097979ba8925eb configure.ac: respect 'g' variants of libtool/libtoolize BSD OS'es (OS X for me) provide GNU tools with prefixed 'g'. To find correct versions of libtool/libtoolize on those systems search also for glibtool/glibtoolize. Signed-off-by: Andreas Bießmann Signed-off-by: Bryan Hundven diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,7 @@ [Specify the full PATH to GNU libtool >= 1.5.26]), [ac_cv_path_LIBTOOL=$withval])]) AC_CACHE_CHECK([for GNU libtool >= 1.5.26], [ac_cv_path_LIBTOOL], - [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOL], [libtool], + [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOL], [libtool glibtool], [[LIBTOOL_ver=$($ac_path_LIBTOOL --version 2>&1 \ |$EGREP '\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)') test -n "$LIBTOOL_ver" && ac_cv_path_LIBTOOL=$ac_path_LIBTOOL ac_path_LIBTOOL_found=:]], @@ -258,7 +258,7 @@ [Specify the full PATH to GNU libtoolize >= 1.5.26]), [ac_cv_path_LIBTOOLIZE=$withval])]) AC_CACHE_CHECK([for GNU libtoolize >= 1.5.26], [ac_cv_path_LIBTOOLIZE], - [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [libtoolize], + [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [libtoolize glibtoolize], [[LIBTOOLIZE_ver=$($ac_path_LIBTOOLIZE --version 2>&1 \ |$EGREP '\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)') test -n "$LIBTOOLIZE_ver" && ac_cv_path_LIBTOOLIZE=$ac_path_LIBTOOLIZE ac_path_LIBTOOLIZE_found=:]],