This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patch: fix shell lossage in BFD_HAVE_SYS_PROCFS_TYPE_MEMBER
- To: binutils at sourceware dot cygnus dot com
- Subject: Patch: fix shell lossage in BFD_HAVE_SYS_PROCFS_TYPE_MEMBER
- From: Jim Blandy <jimb at cygnus dot com>
- Date: Wed, 9 Feb 2000 17:48:45 -0500 (EST)
(I can't check this in myself, because I'm not sure how to regenerate
the dependent files appropriately.)
2000-02-09 Jim Blandy <jimb@redhat.com>
* acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Don't forget to
put quotes around the cache variable referenc when passing it to
`test', so it'll always expand into an argument.
Index: acinclude.m4
===================================================================
RCS file: /cvs/src/src/bfd/acinclude.m4,v
retrieving revision 1.3
diff -c -c -b -F'^(' -r1.3 acinclude.m4
*** acinclude.m4 1999/08/08 16:01:13 1.3
--- acinclude.m4 2000/02/09 22:47:53
***************
*** 97,103 ****
bfd_cv_have_sys_procfs_type_member_$1_$2=yes,
bfd_cv_have_sys_procfs_type_member_$1_$2=no
)])
! if test $bfd_cv_have_sys_procfs_type_member_$1_$2 = yes; then
AC_DEFINE([HAVE_]translit($1, [a-z], [A-Z])[_]translit($2, [a-z], [A-Z]), 1,
[Define if <sys/procfs.h> has $1.$2.])
fi
--- 97,103 ----
bfd_cv_have_sys_procfs_type_member_$1_$2=yes,
bfd_cv_have_sys_procfs_type_member_$1_$2=no
)])
! if test "$bfd_cv_have_sys_procfs_type_member_$1_$2" = yes; then
AC_DEFINE([HAVE_]translit($1, [a-z], [A-Z])[_]translit($2, [a-z], [A-Z]), 1,
[Define if <sys/procfs.h> has $1.$2.])
fi