From: Roy Marples <roy@marples.name>
To: zsh-workers@sunsite.dk
Subject: [PATCH] Fix configure.ac to not to treate [ ] as quotes when using them in case
Date: Thu, 16 Aug 2007 10:59:23 +0100 [thread overview]
Message-ID: <1187258364.1408.4.camel@uberlaptop.development.ltl> (raw)
[-- Attachment #1: Type: text/plain, Size: 407 bytes --]
Hi list.
Attached is a patch to fix configure on FreeBSD.
This is needed as it uses a shell case statement to test for specific
FreeBSD versions. When run through autotools, it strips the [ ] bit as
it thinks they are quotes.
This fixes Gentoo bug #188930.
http://bugs.gentoo.org/show_bug.cgi?id=188930
Thanks
Roy Marples
PS - I'm not subscribed to this list, so email me directly if you have
queries.
[-- Attachment #2: zsh-4.3.4-configure-changequote.patch --]
[-- Type: text/x-patch, Size: 694 bytes --]
diff -ur a/configure.ac b/configure.ac
--- a/configure.ac 2007-01-05 13:58:04 +0000
+++ b/configure.ac 2007-08-16 09:17:29 +0100
@@ -2249,6 +2249,10 @@
zsh_cv_sys_elf=yes,
zsh_cv_sys_elf=no,
zsh_cv_sys_elf=yes)])
+
+ # We use [0-9]* in case statements, so need to change quoting
+ changequote(, )
+
DL_EXT="${DL_EXT=so}"
if test x$zsh_cv_sys_elf = xyes; then
case "$host" in
@@ -2352,6 +2356,10 @@
esac
;;
esac
+
+ # Done with our shell code, so restore autotools quoting
+ changequote([, ])
+
AC_CACHE_CHECK(if your dlsym() needs a leading underscore,
zsh_cv_func_dlsym_needs_underscore,
[echo failed >conftestval && cat >conftest.c <<EOM
next reply other threads:[~2007-08-16 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-16 9:59 Roy Marples [this message]
2007-08-16 10:55 ` Peter Stephenson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1187258364.1408.4.camel@uberlaptop.development.ltl \
--to=roy@marples.name \
--cc=zsh-workers@sunsite.dk \
/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.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).