Patchwork FYI: minor fix in gcc/configure

login
register
mail settings
Submitter Tom Tromey
Date Oct. 17, 2011, 2:45 p.m.
Message ID <m3wrc3brte.fsf@fleche.redhat.com>
Download mbox | patch
Permalink /patch/120219/
State New
Headers show

Comments

Tom Tromey - Oct. 17, 2011, 2:45 p.m.
I'm checking this in as obvious.

Sergio pointed out, via this patch, that gcc/configure didn't properly
emit whether sys/std.h was discovered.

Tested by re-running configure and examining the output.

Tom

2011-10-17  Sergio Durigan Junior  <sergiodj@redhat.com>

	* configure.ac: Display `yes' if the SystemTap header has been
	found.
	* configure: Regenerate.

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 180092)
+++ configure.ac	(working copy)
@@ -4578,6 +4578,7 @@ 
 AC_MSG_CHECKING(sys/sdt.h in the target C library)
 have_sys_sdt_h=no
 if test -f $target_header_dir/sys/sdt.h; then
+  have_sys_sdt_h=yes
   AC_DEFINE(HAVE_SYS_SDT_H, 1,
             [Define if your target C library provides sys/sdt.h])
 fi