This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: fix shell lossage in BFD_HAVE_SYS_PROCFS_TYPE_MEMBER



(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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]