Hello,
Of course there are several ways how to make this check.
But, selecting between
"[[ ]]_gurkmacka" (SPACE+TAB)
and
"[[[:blank:]]]_gurkmacka"
it seems for me that the last solution is more clear.
Any way, if there are no objections let's select and commit one of them.
> "gurkmacka" means "cucumber sandwich"
:-)
Best regards,
-Pavel
On 01/26/2016 09:17 PM, Niels Möller wrote:
Marc Glisse <[email protected]> writes:
IIRC, \<\> is not a
standard feature of grep but a GNU extension.
Maybe it's good enough to grep for " _gurkmacka", i.e., with a leading
space. Or maybe allow a TAB character too.
For non-swedish speakers, "gurkmacka" means "cucumber sandwich". ;-)
Regards,
/Niels
changeset: 17032:03eaa297c633
tag: tip
user: Pavel Kopyl <[email protected]>
date: Mon Feb 08 13:58:25 2016 +0300
summary: Fix wrong prefix checking of global variables.
diff -r c59c3879f982 -r 03eaa297c633 acinclude.m4
--- a/acinclude.m4 Wed Jan 27 20:57:29 2016 +0100
+++ b/acinclude.m4 Mon Feb 08 13:58:25 2016 +0300
@@ -1754,9 +1754,9 @@
gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&AC_FD_CC"
if AC_TRY_EVAL(gmp_compile); then
$NM conftest.$OBJEXT >conftest.out
- if grep _gurkmacka conftest.out >/dev/null; then
+ if grep "[[ ]]_gurkmacka" conftest.out >/dev/null; then
gmp_cv_asm_underscore=yes
- elif grep gurkmacka conftest.out >/dev/null; then
+ elif grep "[[ ]]gurkmacka" conftest.out >/dev/null; then
gmp_cv_asm_underscore=no
else
echo "configure: $NM doesn't have gurkmacka:" >&AC_FD_CC
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs