--- /dev/null
+Return-Path: <pioto@pioto.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 6EAFC431FC4\r
+ for <notmuch@notmuchmail.org>; Wed, 30 May 2012 00:02:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id D5cv68cjOjtp for <notmuch@notmuchmail.org>;\r
+ Wed, 30 May 2012 00:02:54 -0700 (PDT)\r
+Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com\r
+ [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 8A192431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 30 May 2012 00:02:54 -0700 (PDT)\r
+Received: by vbbfc26 with SMTP id fc26so4786690vbb.26\r
+ for <notmuch@notmuchmail.org>; Wed, 30 May 2012 00:02:53 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
+ :x-gm-message-state;\r
+ bh=/7uqjQzKaQt8LwyMUGKmgyCm0nF/X42iAhOUk0x2r/A=;\r
+ b=R5JJr1mATrCwrAWFP9HB4XaB40P4CP/U6TgD3i5Nd4/rkfdRpkxSsVk/VoKQe67a4w\r
+ PXTgk34mwXNjjt+zRTt8iFWDzTRVbM59BxaK5hyG8I17lRXjqgMoqAzVYgOBIiCGUZ/h\r
+ xoZA/56g/eMG7lELezw38JqhCUACuLGJdLBFwAbFOFp6iXz7fAAxS6aqY+jiW4rb2Z2a\r
+ z6OhRjXm0+TiO/KrU1i2ZXVBuMmlEtBqp0fbVoWmQ4vHkJMS/3yrNIjGvSGT+aP1yliZ\r
+ NCML6nLtMIS2XkAoQFB7TFRgqt+psQOPA/qsUrFYXq63aN6RIWfTKmVya/09fzcB+zU4\r
+ d0Ag==\r
+Received: by 10.52.73.42 with SMTP id i10mr13341708vdv.116.1338361373749;\r
+ Wed, 30 May 2012 00:02:53 -0700 (PDT)\r
+Received: from nas.home.pioto.org (pool-71-182-155-97.pitbpa.fios.verizon.net.\r
+ [71.182.155.97])\r
+ by mx.google.com with ESMTPS id i4sm28326771vdk.8.2012.05.30.00.02.52\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Wed, 30 May 2012 00:02:53 -0700 (PDT)\r
+Received: by nas.home.pioto.org (Postfix, from userid 1001)\r
+ id 87F34287DE; Wed, 30 May 2012 03:02:51 -0400 (EDT)\r
+From: Mike Kelly <pioto@pioto.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 1/9] configure: Add support for FreeBSD.\r
+Date: Wed, 30 May 2012 03:01:56 -0400\r
+Message-Id: <1338361324-57289-2-git-send-email-pioto@pioto.org>\r
+X-Mailer: git-send-email 1.7.10.2\r
+In-Reply-To: <1338361324-57289-1-git-send-email-pioto@pioto.org>\r
+References: <1338361324-57289-1-git-send-email-pioto@pioto.org>\r
+X-Gm-Message-State:\r
+ ALoCoQkGSP/kUFxMMsAY7+Ue/rFnVjHLbylLwGahu99xsBx7msqZU7izWyMrHXXB+cMvHw6Glmi+\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 30 May 2012 07:02:55 -0000\r
+\r
+This makes FreeBSD a recognized platform. Follow up patches make it\r
+work properly.\r
+---\r
+ configure | 6 +++++-\r
+ 1 file changed, 5 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/configure b/configure\r
+index 5602be2..344f413 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -360,6 +360,10 @@ elif [ $uname = "SunOS" ] ; then\r
+ printf "Solaris.\n"\r
+ platform=SOLARIS\r
+ linker_resolves_library_dependencies=0\r
++elif [ $uname = "FreeBSD" ] ; then\r
++ printf "FreeBSD.\n"\r
++ platform=FREEBSD\r
++ linker_resolves_library_dependencies=0\r
+ elif [ $uname = "Linux" ] || [ $uname = "GNU" ] ; then\r
+ printf "$uname\n"\r
+ platform="$uname"\r
+@@ -649,7 +653,7 @@ HAVE_GETLINE = ${have_getline}\r
+ # build its own version)\r
+ HAVE_STRCASESTR = ${have_strcasestr}\r
+ \r
+-# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS\r
++# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS, FREEBSD\r
+ PLATFORM = ${platform}\r
+ \r
+ # Whether the linker will automatically resolve the dependency of one\r
+-- \r
+1.7.10.2\r
+\r