From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#15769: building on OpenBSD fails because of a shell pattern problem Date: Thu, 31 Oct 2013 14:06:48 -0400 Message-ID: <58fvrhs4av.fsf@fencepost.gnu.org> References: <20131031134133.GF5834@boetes.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1383242830 29643 80.91.229.3 (31 Oct 2013 18:07:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2013 18:07:10 +0000 (UTC) Cc: 15769@debbugs.gnu.org To: Han Boetes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 31 19:07:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VbweE-00031a-AY for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2013 19:07:10 +0100 Original-Received: from localhost ([::1]:58707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbweD-0002Gb-PZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2013 14:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbweA-0002GV-1N for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 14:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vbwe5-00009k-W9 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 14:07:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbwe5-00009g-Sx for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 14:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vbwe5-0008Om-OJ for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 14:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2013 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15769 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15769-submit@debbugs.gnu.org id=B15769.138324281332269 (code B ref 15769); Thu, 31 Oct 2013 18:07:01 +0000 Original-Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 18:06:53 +0000 Original-Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbwdw-0008OO-Dj for submit@debbugs.gnu.org; Thu, 31 Oct 2013 14:06:52 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:33302 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbwdu-0008OE-Aw for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 14:06:50 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vbwds-0003Ch-RT; Thu, 31 Oct 2013 14:06:48 -0400 X-Spook: bce Bush Wired STARLAN rs9512c Mole blackjack Kosovo X-Ran: LGn?3+jpj5#%j{]lR|PP5%|5Q$N&?sm(tcA*nU%T4+`z3|QC*l;"&uA`$8{d$1f{[<`"sp X-Hue: cyan X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Thu, 31 Oct 2013 13:27:24 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79828 Archived-At: Or maybe sed will work better than the shell? *** configure.ac 2013-10-27 18:57:20 +0000 --- configure.ac 2013-10-31 18:02:36 +0000 *************** *** 91,99 **** "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do dnl configure sets LC_ALL=C early on, so this range should work. ! case "$var" in ! *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; ! esac done --- 91,100 ---- "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do dnl configure sets LC_ALL=C early on, so this range should work. ! dnl This seems more portable than using a case statement with *[[^\ -~]]*) ! var=`echo "$var" | sed 's/[[ -~]]//g'` ! ! test -n "$var" && AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) done