m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1999-03-11 Tom Tromey <tromey@cygnus.com>
+ * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
+ m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
+
From Jim Meyering:
* automake.in (handle_dist): Add `;\' to end of distcheck-hook
line.
still won't put the file into the disty. This is wrong.
From Mark H Wilkinson <mhw@kremvax.demon.co.uk>
+* If we see `foo.o' in LIBOBJS, and we've seen AC_OBJEXT, then complain.
+
* subdir warning for source files is bogus. I removed it at Cygnus;
probably should remove it from net release
am_cv_lib_error_at_line=yes,
am_cv_lib_error_at_line=no)])
if test $am_cv_lib_error_at_line = no; then
- LIBOBJS="$LIBOBJS error.o"
+ LIBOBJS="$LIBOBJS error.$ac_objext"
fi
AC_SUBST(LIBOBJS)dnl
])
am_cv_func_working_mktime=no)
])
if test $am_cv_func_working_mktime = no; then
- LIBOBJS="$LIBOBJS mktime.o"
+ LIBOBJS="$LIBOBJS mktime.$ac_objext"
fi
])
if test $am_cv_func_obstack = yes; then
AC_DEFINE(HAVE_OBSTACK,1,[Define if libc includes obstacks])
else
- LIBOBJS="$LIBOBJS obstack.o"
+ LIBOBJS="$LIBOBJS obstack.$ac_objext"
fi
])
AC_TRY_LINK([], [extern int re_max_failures; re_max_failures = 1],
am_cv_gnu_regex=yes, am_cv_gnu_regex=no))
if test $am_cv_gnu_regex = no; then
- LIBOBJS="$LIBOBJS regex.o"
+ LIBOBJS="$LIBOBJS regex.$ac_objext"
fi
else
AC_MSG_RESULT(rx)
- AC_CHECK_FUNC(re_rx_search, , [LIBOBJS="$LIBOBJS rx.o"])
+ AC_CHECK_FUNC(re_rx_search, , [LIBOBJS="$LIBOBJS rx.$ac_objext"])
fi
AC_SUBST(LIBOBJS)dnl
])
## @maindex FUNC_STRTOD
## @ovindex LIBOBJS
## If the @code{strtod} function is not available, or does not work
-## correctly (like the one on SunOS 5.4), add @samp{strtod.o} to output
+## correctly (like the one on SunOS 5.4), add @samp{strtod.$ac_objext} to output
## variable @code{LIBOBJS}.
## @end defmac
exit (0);
}
], am_cv_func_strtod=yes, am_cv_func_strtod=no, am_cv_func_strtod=no)])
-test $am_cv_func_strtod = no && LIBOBJS="$LIBOBJS strtod.o"
+test $am_cv_func_strtod = no && LIBOBJS="$LIBOBJS strtod.$ac_objext"
AC_SUBST(LIBOBJS)dnl
am_cv_func_strtod_needs_libm=no
if test $am_cv_func_strtod = no; then