From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22750 invoked by alias); 14 Aug 2012 13:00:27 -0000 Received: (qmail 22565 invoked by uid 22791); 14 Aug 2012 13:00:19 -0000 X-SWARE-Spam-Status: No, hits=-7.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga14.intel.com (HELO mga14.intel.com) (143.182.124.37) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Aug 2012 12:59:57 +0000 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 14 Aug 2012 05:59:55 -0700 X-ExtLoop1: 1 Received: from swsutil001.isw.intel.com ([10.237.237.11]) by AZSMGA002.ch.intel.com with ESMTP; 14 Aug 2012 05:59:53 -0700 Received: from ulslx001.iul.intel.com (ulslx001.iul.intel.com [172.28.207.63]) by swsutil001.isw.intel.com (8.13.6/8.13.6/MailSET/Hub) with ESMTP id q7ECxrsN029057; Tue, 14 Aug 2012 13:59:53 +0100 Received: from ulslx001.iul.intel.com (localhost [127.0.0.1]) by ulslx001.iul.intel.com with ESMTP id q7ECxqiu009926; Tue, 14 Aug 2012 14:59:52 +0200 Received: (from mmetzger@localhost) by ulslx001.iul.intel.com with id q7ECxqe0009922; Tue, 14 Aug 2012 14:59:52 +0200 From: markus.t.metzger@intel.com To: gdb-patches@sourceware.org Cc: markus.t.metzger@gmail.com, jan.kratochvil@redhat.com, palves@redhat.com, tromey@redhat.com, kettenis@gnu.org, Markus Metzger Subject: [patch v3 07/16] configure: add check for perf_event header Date: Tue, 14 Aug 2012 13:01:00 -0000 Message-Id: <1344949171-9545-8-git-send-email-markus.t.metzger@intel.com> In-Reply-To: <1344949171-9545-1-git-send-email-markus.t.metzger@intel.com> References: <1344949171-9545-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00397.txt.bz2 From: Markus Metzger 2012-08-14 Markus Metzger * configure.ac: check for linux/perf_event.h. * config.in: Regenerated. * configure: Regenerated. gdbserver/ * configure.ac: check for linux/perf_event.h. * config.in: Regenerated. * configure: Regenerated. --- gdb/config.in | 3 +++ gdb/configure | 2 +- gdb/configure.ac | 2 +- gdb/gdbserver/config.in | 3 +++ gdb/gdbserver/configure | 2 +- gdb/gdbserver/configure.ac | 2 +- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/config.in b/gdb/config.in index 0f795c6..0f6ccb8 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -222,6 +222,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LINK_H +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_PERF_EVENT_H + /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H diff --git a/gdb/configure b/gdb/configure index 90927ff..f9e748b 100755 --- a/gdb/configure +++ b/gdb/configure @@ -8878,7 +8878,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \ sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ - dlfcn.h sys/socket.h sys/un.h + dlfcn.h sys/socket.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" diff --git a/gdb/configure.ac b/gdb/configure.ac index b33de61..19a0716 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1046,7 +1046,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \ sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ - dlfcn.h sys/socket.h sys/un.h]) + dlfcn.h sys/socket.h sys/un.h linux/perf_event.h]) AC_CHECK_HEADERS(link.h, [], [], [#if HAVE_SYS_TYPES_H # include diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index bacf005..19b7a6c 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -76,6 +76,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LINUX_ELF_H +/* Define to 1 if you have the 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 69953c2..b524808 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" diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index dc3c3cd..167116f 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -55,7 +55,7 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl stdlib.h unistd.h dnl errno.h fcntl.h signal.h sys/file.h malloc.h dnl sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl - netinet/tcp.h arpa/inet.h sys/wait.h sys/un.h) + netinet/tcp.h arpa/inet.h sys/wait.h sys/un.h linux/perf_event.h) AC_CHECK_FUNCS(pread pwrite pread64 readlink) AC_REPLACE_FUNCS(vasprintf vsnprintf) -- 1.7.1