diff options
author | Richard Guenther <rguenther@suse.de> | 2012-07-02 14:05:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-07-02 14:05:07 +0000 |
commit | 8247e8b286a031ce137d137124bbf27e629454f1 (patch) | |
tree | 6505fb8e27b5e5e83a8b0465f563c945cf348174 | |
parent | 4dacb1adec29303a79d310e2ef208c184f1fb479 (diff) | |
download | gcc-8247e8b286a031ce137d137124bbf27e629454f1.zip gcc-8247e8b286a031ce137d137124bbf27e629454f1.tar.gz gcc-8247e8b286a031ce137d137124bbf27e629454f1.tar.bz2 |
isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
2012-07-02 Richard Guenther <rguenther@suse.de>
config/
* isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
Fix version test.
* configure: Regenerated.
From-SVN: r189159
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | config/ChangeLog | 5 | ||||
-rw-r--r-- | config/isl.m4 | 9 | ||||
-rwxr-xr-x | configure | 9 |
4 files changed, 15 insertions, 12 deletions
@@ -1,4 +1,8 @@ 2012-07-02 Richard Guenther <rguenther@suse.de> + + * configure: Regenerated. + +2012-07-02 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> Tobias Grosser <tobias@grosser.es> Sebastian Pop <sebpop@gmail.com> diff --git a/config/ChangeLog b/config/ChangeLog index b0b6690..c2c93fc 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,4 +1,9 @@ 2012-07-02 Richard Guenther <rguenther@suse.de> + + * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. + Fix version test. + +2012-07-02 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> Tobias Grosser <tobias@grosser.es> Sebastian Pop <sebpop@gmail.com> diff --git a/config/isl.m4 b/config/isl.m4 index 0ddeddb..c541158 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 <isl/version.h> #include <string.h>], - [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) # ---------------------------------------------------------------- @@ -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; } |