This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 07/17] configure: autoreconf
- From: markus dot t dot metzger at intel dot com
- To: jan dot kratochvil at redhat dot com
- Cc: gdb-patches at sourceware dot org, markus dot t dot metzger at gmail dot com, Markus Metzger <markus dot t dot metzger at intel dot com>
- Date: Wed, 6 Jun 2012 14:32:25 +0200
- Subject: [PATCH 07/17] configure: autoreconf
- References: <1338985955-28749-1-git-send-email-markus.t.metzger@intel.com>
From: Markus Metzger <markus.t.metzger@intel.com>
Ran autoreconf in gdb.
2012-06-06 Markus Metzger <markus.t.metzger@intel.com>
gdb/
* config.in: Regenerate.
* configure: Regenerate.
gdb/gdbserver/
* config.in: Regenerate.
* configure: Regenerate.
---
gdb/config.in | 3 +++
gdb/configure | 13 +++++++++++++
gdb/gdbserver/config.in | 3 +++
gdb/gdbserver/configure | 2 +-
4 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/gdb/config.in b/gdb/config.in
index 5767773..6e01215 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -225,6 +225,9 @@
/* Define to 1 if you have the <link.h> header file. */
#undef HAVE_LINK_H
+/* Define to 1 if you have the <linux/perf_event.h> header file. */
+#undef HAVE_LINUX_PERF_EVENT_H
+
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
diff --git a/gdb/configure b/gdb/configure
index 6e92ddf..9da47a8 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8960,6 +8960,19 @@ fi
done
+for ac_header in linux/perf_event.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/perf_event.h" "ac_cv_header_linux_perf_event_h" "$ac_includes_default"
+if test "x$ac_cv_header_linux_perf_event_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_PERF_EVENT_H 1
+_ACEOF
+
+fi
+
+done
+
+
# ------------------------- #
# Checks for declarations. #
# ------------------------- #
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 26742ac..11d2194 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -72,6 +72,9 @@
/* Define to 1 if you have the <linux/elf.h> header file. */
#undef HAVE_LINUX_ELF_H
+/* Define to 1 if you have the <linux/perf_event.h> header file. */
+#undef HAVE_LINUX_PERF_EVENT_H
+
/* Define if the target supports register sets. */
#undef HAVE_LINUX_REGSETS
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 63e25c2..29e52e6 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -4419,7 +4419,7 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach
cd "$ac_popdir"
-for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h thread_db.h linux/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.h sys/wait.h sys/un.h
+for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h thread_db.h linux/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.h sys/wait.h sys/un.h linux/perf_event.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
--
1.7.1