Commit 8247e8b2 by Richard Guenther Committed by Richard Biener

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
parent 4dacb1ad
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>
......
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>
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment