From: Akim Demaille Date: Mon, 22 Jan 2001 09:06:11 +0000 (+0000) Subject: * aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use X-Git-Tag: autoconf-2.50~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58abf2dab3cb691e58ffcce07cf29775256e4d7;p=thirdparty%2Fautoconf.git * aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use conftest.val, not conftestval. * acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT): Likewise. --- diff --git a/ChangeLog b/ChangeLog index dcfc1d6fb..c7824cc3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-01-22 Tim Van Holder + + * aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use + conftest.val, not conftestval. + * acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT): + Likewise. + 2001-01-22 Akim Demaille Create actypes.m4. @@ -15,7 +22,6 @@ * actypes.m4: here. Adjust the test suite. - 2001-01-22 Akim Demaille * tests/atgeneral.m4 (AT_INIT): Include a default case for non @@ -28,7 +34,6 @@ * tests/mktest.sh: Create one test file per Autoconf source file instead of separating syntax/update. - 2001-01-22 Akim Demaille * doc/autoconf.texi: Some about diff and cmp. diff --git a/acgeneral.m4 b/acgeneral.m4 index b6789e6a6..01cf8d697 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -3079,7 +3079,7 @@ $2=$ac_lo[]dnl # Store the evaluation of the integer EXPRESSION in VARIABLE. m4_define([_AC_COMPUTE_INT_RUN], [AC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])], - [$2=`cat conftestval`], [$4])]) + [$2=`cat conftest.val`], [$4])]) # _AC_COMPUTE_INT(EXPRESSION, VARIABLE, INCLUDES, IF-FAILS) @@ -3090,7 +3090,7 @@ m4_define([_AC_COMPUTE_INT], else _AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4]) fi -rm -f conftestval[]dnl +rm -f conftest.val[]dnl ])# _AC_COMPUTE_INT diff --git a/aclang.m4 b/aclang.m4 index 221bc687d..aba1ccc7b 100644 --- a/aclang.m4 +++ b/aclang.m4 @@ -326,7 +326,7 @@ AC_DEFUN([AC_LANG_BOOL_COMPILE_TRY], # AC_LANG_INT_SAVE(PROLOGUE, EXPRESSION) # -------------------------------------- # Produce a program that saves the runtime evaluation of the integer -# EXPRESSION into `conftestval'. +# EXPRESSION into `conftest.val'. AC_DEFUN([AC_LANG_INT_SAVE], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) @@ -417,7 +417,7 @@ m4_define([AC_LANG_BOOL_COMPILE_TRY(C)], # inclusion of `stdio.h'. m4_define([AC_LANG_INT_SAVE(C)], [AC_LANG_PROGRAM([m4_default([$1], [@%:@include ])], -[FILE *f = fopen ("conftestval", "w"); +[FILE *f = fopen ("conftest.val", "w"); if (!f) exit (1); fprintf (f, "%d", ($2)); diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 221bc687d..aba1ccc7b 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -326,7 +326,7 @@ AC_DEFUN([AC_LANG_BOOL_COMPILE_TRY], # AC_LANG_INT_SAVE(PROLOGUE, EXPRESSION) # -------------------------------------- # Produce a program that saves the runtime evaluation of the integer -# EXPRESSION into `conftestval'. +# EXPRESSION into `conftest.val'. AC_DEFUN([AC_LANG_INT_SAVE], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) @@ -417,7 +417,7 @@ m4_define([AC_LANG_BOOL_COMPILE_TRY(C)], # inclusion of `stdio.h'. m4_define([AC_LANG_INT_SAVE(C)], [AC_LANG_PROGRAM([m4_default([$1], [@%:@include ])], -[FILE *f = fopen ("conftestval", "w"); +[FILE *f = fopen ("conftest.val", "w"); if (!f) exit (1); fprintf (f, "%d", ($2)); diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 221bc687d..aba1ccc7b 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -326,7 +326,7 @@ AC_DEFUN([AC_LANG_BOOL_COMPILE_TRY], # AC_LANG_INT_SAVE(PROLOGUE, EXPRESSION) # -------------------------------------- # Produce a program that saves the runtime evaluation of the integer -# EXPRESSION into `conftestval'. +# EXPRESSION into `conftest.val'. AC_DEFUN([AC_LANG_INT_SAVE], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) @@ -417,7 +417,7 @@ m4_define([AC_LANG_BOOL_COMPILE_TRY(C)], # inclusion of `stdio.h'. m4_define([AC_LANG_INT_SAVE(C)], [AC_LANG_PROGRAM([m4_default([$1], [@%:@include ])], -[FILE *f = fopen ("conftestval", "w"); +[FILE *f = fopen ("conftest.val", "w"); if (!f) exit (1); fprintf (f, "%d", ($2)); diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index b6789e6a6..01cf8d697 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -3079,7 +3079,7 @@ $2=$ac_lo[]dnl # Store the evaluation of the integer EXPRESSION in VARIABLE. m4_define([_AC_COMPUTE_INT_RUN], [AC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])], - [$2=`cat conftestval`], [$4])]) + [$2=`cat conftest.val`], [$4])]) # _AC_COMPUTE_INT(EXPRESSION, VARIABLE, INCLUDES, IF-FAILS) @@ -3090,7 +3090,7 @@ m4_define([_AC_COMPUTE_INT], else _AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4]) fi -rm -f conftestval[]dnl +rm -f conftest.val[]dnl ])# _AC_COMPUTE_INT diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index 221bc687d..aba1ccc7b 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -326,7 +326,7 @@ AC_DEFUN([AC_LANG_BOOL_COMPILE_TRY], # AC_LANG_INT_SAVE(PROLOGUE, EXPRESSION) # -------------------------------------- # Produce a program that saves the runtime evaluation of the integer -# EXPRESSION into `conftestval'. +# EXPRESSION into `conftest.val'. AC_DEFUN([AC_LANG_INT_SAVE], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) @@ -417,7 +417,7 @@ m4_define([AC_LANG_BOOL_COMPILE_TRY(C)], # inclusion of `stdio.h'. m4_define([AC_LANG_INT_SAVE(C)], [AC_LANG_PROGRAM([m4_default([$1], [@%:@include ])], -[FILE *f = fopen ("conftestval", "w"); +[FILE *f = fopen ("conftest.val", "w"); if (!f) exit (1); fprintf (f, "%d", ($2));