From 8247e8b286a031ce137d137124bbf27e629454f1 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Mon, 2 Jul 2012 14:05:07 +0000 Subject: [PATCH] isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. 2012-07-02 Richard Guenther config/ * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. Fix version test. * configure: Regenerated. From-SVN: r189159 --- ChangeLog | 4 ++++ config/ChangeLog | 5 +++++ config/isl.m4 | 9 +++------ configure | 9 +++------ 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index f32899f37bec..74cb620e7ff2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-07-02 Richard Guenther + + * configure: Regenerated. + 2012-07-02 Richard Guenther Michael Matz Tobias Grosser diff --git a/config/ChangeLog b/config/ChangeLog index b0b6690cf9d7..c2c93fc2e398 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2012-07-02 Richard Guenther + + * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. + Fix version test. + 2012-07-02 Richard Guenther Michael Matz Tobias Grosser diff --git a/config/isl.m4 b/config/isl.m4 index 0ddeddba9c24..c5411587c1df 100644 --- a/config/isl.m4 +++ b/config/isl.m4 @@ -107,12 +107,9 @@ AC_DEFUN([ISL_REQUESTED], m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM( [#include #include ], - [int main() - { - if (strncmp (isl_version (), "isl-0.10", strlen ("isl-$1.$2")) != 0) - return 1; - return 0; - }])]) + [if (strncmp (isl_version (), "isl-$1.$2", strlen ("isl-$1.$2")) != 0) + return 1; + ])]) # ISL_CHECK_VERSION ISL_CHECK_VERSION (MAJOR, MINOR) # ---------------------------------------------------------------- diff --git a/configure b/configure index b157a7219896..0dd80caba4d3 100755 --- a/configure +++ b/configure @@ -5712,12 +5712,9 @@ else int main () { -int main() - { - if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0) - return 1; - return 0; - } +if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0) + return 1; + ; return 0; }