conftest.val, not conftestval.
* acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
Likewise.
+2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
+
+ * 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 <akim@epita.fr>
Create actypes.m4.
* actypes.m4: here.
Adjust the test suite.
-
2001-01-22 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Include a default case for non
* tests/mktest.sh: Create one test file per Autoconf source
file instead of separating syntax/update.
-
2001-01-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Some about diff and cmp.
# 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)
else
_AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
fi
-rm -f conftestval[]dnl
+rm -f conftest.val[]dnl
])# _AC_COMPUTE_INT
# 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, $@)])
# inclusion of `stdio.h'.
m4_define([AC_LANG_INT_SAVE(C)],
[AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
-[FILE *f = fopen ("conftestval", "w");
+[FILE *f = fopen ("conftest.val", "w");
if (!f)
exit (1);
fprintf (f, "%d", ($2));
# 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, $@)])
# inclusion of `stdio.h'.
m4_define([AC_LANG_INT_SAVE(C)],
[AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
-[FILE *f = fopen ("conftestval", "w");
+[FILE *f = fopen ("conftest.val", "w");
if (!f)
exit (1);
fprintf (f, "%d", ($2));
# 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, $@)])
# inclusion of `stdio.h'.
m4_define([AC_LANG_INT_SAVE(C)],
[AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
-[FILE *f = fopen ("conftestval", "w");
+[FILE *f = fopen ("conftest.val", "w");
if (!f)
exit (1);
fprintf (f, "%d", ($2));
# 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)
else
_AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
fi
-rm -f conftestval[]dnl
+rm -f conftest.val[]dnl
])# _AC_COMPUTE_INT
# 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, $@)])
# inclusion of `stdio.h'.
m4_define([AC_LANG_INT_SAVE(C)],
[AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
-[FILE *f = fopen ("conftestval", "w");
+[FILE *f = fopen ("conftest.val", "w");
if (!f)
exit (1);
fprintf (f, "%d", ($2));