diff mbox

libgomp sysctl check

Message ID 55899916.1030309@fgznet.ch
State New
Headers show

Commit Message

Andreas Tobler June 23, 2015, 5:36 p.m. UTC
Hi all,

this patch fixes a long standing bug in the libgomp configury.
The initial patch was correct, but the commit I did was wrong.

Ok for trunk?

Thanks,

Andreas

2015-06-23  Andreas Tobler  <andreast@gcc.gnu.org>

	* configure.ac: Fix check for header <sys/sysctl.h>
         * configure: Regenerate.
         * config.h.in: Likewise.

  GCC_HEADER_STDINT(gstdint.h)

Comments

Jakub Jelinek June 23, 2015, 5:47 p.m. UTC | #1
On Tue, Jun 23, 2015 at 07:36:22PM +0200, Andreas Tobler wrote:
> Hi all,
> 
> this patch fixes a long standing bug in the libgomp configury.
> The initial patch was correct, but the commit I did was wrong.
> 
> Ok for trunk?
> 
> Thanks,
> 
> Andreas
> 
> 2015-06-23  Andreas Tobler  <andreast@gcc.gnu.org>
> 
> 	* configure.ac: Fix check for header <sys/sysctl.h>
>         * configure: Regenerate.
>         * config.h.in: Likewise.

The last 2 lines are weidly indented (should be one tab before *),
the first line lacks full stop at the end.
Ok with those changes.

> --- configure.ac	(revision 224759)
> +++ configure.ac	(working copy)
> @@ -170,7 +170,7 @@
>  AC_STDC_HEADERS
>  AC_HEADER_TIME
>  ACX_HEADER_STRING
> -AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h sys/time.h
> sys/time.h)
> +AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h sys/sysctl.h
> sys/time.h)
> 
>  GCC_HEADER_STDINT(gstdint.h)

	Jakub
Andreas Tobler June 23, 2015, 6 p.m. UTC | #2
On 23.06.15 19:47, Jakub Jelinek wrote:
> On Tue, Jun 23, 2015 at 07:36:22PM +0200, Andreas Tobler wrote:
>> Hi all,
>>
>> this patch fixes a long standing bug in the libgomp configury.
>> The initial patch was correct, but the commit I did was wrong.
>>
>> Ok for trunk?
>>
>> Thanks,
>>
>> Andreas
>>
>> 2015-06-23  Andreas Tobler  <andreast@gcc.gnu.org>
>>
>> 	* configure.ac: Fix check for header <sys/sysctl.h>
>>          * configure: Regenerate.
>>          * config.h.in: Likewise.
>
> The last 2 lines are weidly indented (should be one tab before *),
> the first line lacks full stop at the end.
> Ok with those changes.

Committed with issues fixed.

Thanks,
Andreas
>
diff mbox

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 224759)
+++ configure.ac	(working copy)
@@ -170,7 +170,7 @@ 
  AC_STDC_HEADERS
  AC_HEADER_TIME
  ACX_HEADER_STRING
-AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h 
sys/time.h sys/time.h)
+AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h 
sys/sysctl.h sys/time.h)