This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 06/16] configure: add check for perf_event header


On Wed, 23 May 2012 13:22:21 +0200, markus.t.metzger@intel.com wrote:
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -1057,6 +1057,8 @@ AC_CHECK_HEADERS(term.h, [], [],
>  #endif
>  ])
>  
> +AC_CHECK_HEADERS(linux/perf_event.h)
> +

There is already existing big AC_CHECK_HEADERS block at line 1014.

>  # ------------------------- #
>  # Checks for declarations.  #
>  # ------------------------- #
> diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
> index 7013a21..f6748af 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


Thanks,
Jan


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