1 Return-Path: <too@guru.guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id AD455431FC0
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Mar 2012 08:00:09 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id Jz5xoAiw5TcN for <notmuch@notmuchmail.org>;
\r
16 Wed, 14 Mar 2012 08:00:07 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 9AF69431FBC
\r
19 for <notmuch@notmuchmail.org>; Wed, 14 Mar 2012 08:00:07 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 4257068055; Wed, 14 Mar 2012 17:00:06 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/2] configure: store $IFS to $DEFAULT_IFS readonly variable
\r
25 Date: Wed, 14 Mar 2012 16:59:59 +0200
\r
26 Message-Id: <1331737200-16570-1-git-send-email-tomi.ollila@iki.fi>
\r
27 X-Mailer: git-send-email 1.7.6.1
\r
28 In-Reply-To: <1331402091-15663-1-git-send-email-tom.prince@ualberta.net>
\r
29 References: <1331402091-15663-1-git-send-email-tom.prince@ualberta.net>
\r
30 Cc: Tomi Ollila <tomi.ollila@iki.fi>
\r
31 X-BeenThere: notmuch@notmuchmail.org
\r
32 X-Mailman-Version: 2.1.13
\r
34 List-Id: "Use and development of the notmuch mail system."
\r
35 <notmuch.notmuchmail.org>
\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
37 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
39 List-Post: <mailto:notmuch@notmuchmail.org>
\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
43 X-List-Received-Date: Wed, 14 Mar 2012 15:00:10 -0000
\r
45 In the future, IFS value needs to be changed in a few places
\r
46 in configure -- and then restored. Store the original value
\r
47 to $DEFAULT_IFS for easy restoration.
\r
49 configure | 8 +++++---
\r
50 1 files changed, 5 insertions(+), 3 deletions(-)
\r
52 diff --git a/configure b/configure
\r
53 index ee0ae73..3b2b6b7 100755
\r
59 +# Store original IFS value so it can be changed (and restored) in many places.
\r
60 +readonly DEFAULT_IFS=$IFS
\r
62 srcdir=$(dirname "$0")
\r
64 # For a non-srcdir configure invocation (such as ../configure), create
\r
65 @@ -379,7 +382,6 @@ elif [ $uname = "Linux" ] ; then
\r
66 # IFS=$(printf '\n')
\r
68 # because the shell's command substitution deletes any trailing newlines.
\r
72 for path in $ldconfig_paths; do
\r
73 @@ -387,7 +389,7 @@ elif [ $uname = "Linux" ] ; then
\r
74 libdir_in_ldconfig=1
\r
79 if [ "$libdir_in_ldconfig" = '0' ]; then
\r
80 printf "No (will set RPATH)\n"
\r
82 @@ -536,7 +538,7 @@ done
\r
83 printf "\n\t${WARN_CFLAGS}\n"
\r
85 rm -f minimal minimal.c
\r
90 All required packages were found. You may now run the following
\r