Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A33EF4196F2 for ; Sat, 24 Apr 2010 16:39:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.801 X-Spam-Level: X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_SORBS_DUL=0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WqLvSfTlTjRb for ; Sat, 24 Apr 2010 16:39:04 -0700 (PDT) X-Greylist: delayed 351 seconds by postgrey-1.32 at olra; Sat, 24 Apr 2010 16:39:04 PDT Received: from ced.ryick.net (ced.ryick.net [82.229.97.62]) by olra.theworths.org (Postfix) with ESMTP id 8AA03431FC1 for ; Sat, 24 Apr 2010 16:39:04 -0700 (PDT) Received: from lappy.localnet (lappy.ryick.net [192.168.0.1]) by ced.ryick.net (Postfix) with ESMTPSA id 343D287A6D for ; Sun, 25 Apr 2010 01:33:12 +0200 (CEST) X-Mailbox-Line: From 6c4da8735dfe1b84940654832c2aaab6fd9e7a1b Mon Sep 17 00:00:00 2001 From: =?iso-8859-1?q?C=E9dric_Cabessa?= Date: Sun, 25 Apr 2010 01:33:10 +0200 Subject: [PATCH] configure: add ignored options for compatibility. To: notmuch@notmuchmail.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201004250133.11327.ced@ryick.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 23:39:05 -0000 gentoo's ebuild script expects 2 more options for configure: --host (same format as --build) --datadir --- configure | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/configure b/configure index ec8c3fd..c522ad8 100755 --- a/configure +++ b/configure @@ -77,7 +77,9 @@ Additional options are accepted for compatibility with other configure-script calling conventions, but don't do anything yet: --build=-- Currently ignored + --host=-- Currently ignored --infodir=DIR Currently ignored + --datadir=DIR Currently ignored --localstatedir=DIR Currently ignored --libexecdir=DIR Currently ignored --disable-maintainer-mode Currently ignored @@ -119,8 +121,26 @@ for option; do build_option=${build_option#*-} build_vendor=${build_option%%-*} build_os=${build_option#*-} + elif [ "${option%%=*}" = '--host' ] ; then + host_option="${option#*=}" + case ${host_option} in + *-*-*) ;; + *) + echo "Unrecognized value for --host option: ${host_option}" + echo "Should be: --" + echo "See:" + echo " $0 --help" + echo "" + exit 1 + esac + host_cpu=${host_option%%-*} + host_option=${host_option#*-} + host_vendor=${host_option%%-*} + host_os=${host_option#*-} elif [ "${option%%=*}" = '--infodir' ] ; then true + elif [ "${option%%=*}" = '--datadir' ] ; then + true elif [ "${option%%=*}" = '--localstatedir' ] ; then true elif [ "${option%%=*}" = '--libexecdir' ] ; then -- 1.7.0.4