# Checks for library functions.
AC_FUNC_VPRINTF
+AC_FUNC_ALLOCA
+
AC_CHECK_FUNCS(atexit on_exit)
AC_CHECK_SIZEOF(char)
GLIB_SIZEOF([$size_includes], intmax_t, intmax_t)
# Check for some functions
-AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
+AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll getcwd)
# Check if bcopy can be used for overlapping copies, if memmove isn't found.
# The check is borrowed from the PERL Configure script.
if test x$g_mutex_header_file != x; then
echo '#include <'"$g_mutex_header_file"'>' >> $outfile
fi
+ if test "$glib_header_alloca_h" = "yes"; then
+ echo '#include <alloca.h>' >> $outfile
+ fi
if test x$glib_sys_poll_h = xyes; then
echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile
fi
# on variable expansion in case labels. Look at the generated config.status
# for a hint.
+glib_header_alloca_h="$ac_cv_header_alloca_h"
+
case xyes in
x$ac_cv_header_float_h)
glib_float_h=yes