From: Glenn Morris <rgm@gnu.org>
To: Han Boetes <han@boetes.org>
Cc: 15769@debbugs.gnu.org
Subject: bug#15769: building on OpenBSD fails because of a shell pattern problem
Date: Thu, 31 Oct 2013 14:06:48 -0400 [thread overview]
Message-ID: <58fvrhs4av.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <xq1u315p1f.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 31 Oct 2013 13:27:24 -0400")
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
next prev parent reply other threads:[~2013-10-31 18:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 13:41 bug#15769: building on OpenBSD fails because of a shell pattern problem Han Boetes
2013-10-31 17:27 ` Glenn Morris
2013-10-31 17:30 ` Glenn Morris
2013-10-31 21:11 ` Han Boetes
2013-10-31 21:42 ` Glenn Morris
2013-10-31 21:51 ` Han Boetes
2013-10-31 18:06 ` Glenn Morris [this message]
2013-10-31 20:51 ` Han Boetes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58fvrhs4av.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=15769@debbugs.gnu.org \
--cc=han@boetes.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).