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
This commit is contained in:
Richard Guenther 2012-07-02 14:05:07 +00:00 committed by Richard Biener
parent 4dacb1adec
commit 8247e8b286
4 changed files with 15 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2012-07-02 Richard Guenther <rguenther@suse.de>
* configure: Regenerated.
2012-07-02 Richard Guenther <rguenther@suse.de> 2012-07-02 Richard Guenther <rguenther@suse.de>
Michael Matz <matz@suse.de> Michael Matz <matz@suse.de>
Tobias Grosser <tobias@grosser.es> Tobias Grosser <tobias@grosser.es>

View File

@ -1,3 +1,8 @@
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> 2012-07-02 Richard Guenther <rguenther@suse.de>
Michael Matz <matz@suse.de> Michael Matz <matz@suse.de>
Tobias Grosser <tobias@grosser.es> Tobias Grosser <tobias@grosser.es>

View File

@ -107,12 +107,9 @@ AC_DEFUN([ISL_REQUESTED],
m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM( m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
[#include <isl/version.h> [#include <isl/version.h>
#include <string.h>], #include <string.h>],
[int main() [if (strncmp (isl_version (), "isl-$1.$2", strlen ("isl-$1.$2")) != 0)
{ return 1;
if (strncmp (isl_version (), "isl-0.10", strlen ("isl-$1.$2")) != 0) ])])
return 1;
return 0;
}])])
# ISL_CHECK_VERSION ISL_CHECK_VERSION (MAJOR, MINOR) # ISL_CHECK_VERSION ISL_CHECK_VERSION (MAJOR, MINOR)
# ---------------------------------------------------------------- # ----------------------------------------------------------------

9
configure vendored
View File

@ -5712,12 +5712,9 @@ else
int int
main () main ()
{ {
int main() if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
{ return 1;
if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
return 1;
return 0;
}
; ;
return 0; return 0;
} }