* NEWS: Document AC_ARG_VAR.
* acspecific.m4 (AC_C_LONG_DOUBLE): Avoid a needed execution by
using a pure compilation test. Excellent for cross compilation.
From Kaveh R. Ghazi.
+1999-09-23 Akim Demaille <akim@epita.fr>
+
+ * NEWS: Document AC_ARG_VAR.
+
+ * acspecific.m4 (AC_C_LONG_DOUBLE): Avoid a needed execution by
+ using a pure compilation test. Excellent for cross compilation.
+ From Kaveh R. Ghazi.
+
1999-09-22 Akim Demaille <akim@epita.fr>
* install.texi: Give emore details on envvar handling.
- AC_HELP_STRING
To format an Autoconf macro's help string so that it looks pretty
when the user executes `configure --help'.
+ - AC_ARG_VAR
+ Document and ask for the registration of an envvar.
* Environment variables are kept when reconfiguring.
The previous scheme to set envvar before running configure was
ENV=VAL ./configure
it was run, therefore --recheck was run in an inconsistent environment.
Now, one runs
./configure ENV=VAR
- and the --recheck works correctly.
+ and the --recheck works correctly. Variable declared with AC_ARG_VAR
+ are also preserved.
* Support for automatically determining a Fortran 77 compilers
name-mangling scheme. New CPP macros F77_FUNC and F77_FUNC_ are
provided to wrap C/C++ identifiers, thus making it easier and more
[if test "$GCC" = yes; then
ac_cv_c_long_double=yes
else
-AC_TRY_RUN([int main() {
-/* The Stardent Vistra knows sizeof(long double), but does not support it. */
+AC_TRY_COMPILE(,
+[/* The Stardent Vistra knows sizeof(long double), but does not support it. */
long double foo = 0.0;
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
-exit(sizeof(long double) < sizeof(double)); }],
+switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;],
ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
fi])
if test $ac_cv_c_long_double = yes; then
[if test "$GCC" = yes; then
ac_cv_c_long_double=yes
else
-AC_TRY_RUN([int main() {
-/* The Stardent Vistra knows sizeof(long double), but does not support it. */
+AC_TRY_COMPILE(,
+[/* The Stardent Vistra knows sizeof(long double), but does not support it. */
long double foo = 0.0;
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
-exit(sizeof(long double) < sizeof(double)); }],
+switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;],
ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
fi])
if test $ac_cv_c_long_double = yes; then