summaryrefslogtreecommitdiff
path: root/m4/wint_t.m4
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2009-01-12 21:48:17 +0000
committerNeil Jerram <neil@ossau.uklinux.net>2009-01-12 22:08:56 +0000
commit4a462e35440fdc3f10b0f88b3fb737fa76ed146d (patch)
treef061bae888c82f95e32a03add76c21bfe927e896 /m4/wint_t.m4
parentdc686d7b0a1490e26482e018489dec040b79b952 (diff)
downloadguile-4a462e35440fdc3f10b0f88b3fb737fa76ed146d.tar.gz
Make sure that we have a real on-the-stack alloca()
Because of how Guile saves and restores continuations (by copying the stack), and how it uses alloca to create space for debug information on the stack, we must have an alloca() that really does use the stack, and not one that uses the heap. To do this, we use the Gnulib "alloca-opt" module instead of "alloca". This commit also updates the Gnulib sources from the current Gnulib Git repository.
Diffstat (limited to 'm4/wint_t.m4')
-rw-r--r--m4/wint_t.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/wint_t.m4 b/m4/wint_t.m4
index af5ed936c..0026a1318 100644
--- a/m4/wint_t.m4
+++ b/m4/wint_t.m4
@@ -1,5 +1,5 @@
-# wint_t.m4 serial 2 (gettext-0.17)
-dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+# wint_t.m4 serial 3 (gettext-0.18)
+dnl Copyright (C) 2003, 2007-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -10,7 +10,7 @@ dnl Prerequisite: AC_PROG_CC
AC_DEFUN([gt_TYPE_WINT_T],
[
- AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
+ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
[AC_TRY_COMPILE([
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
@@ -21,8 +21,8 @@ AC_DEFUN([gt_TYPE_WINT_T],
#include <time.h>
#include <wchar.h>
wint_t foo = (wchar_t)'\0';], ,
- gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
+ [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])])
if test $gt_cv_c_wint_t = yes; then
- AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
+ AC_DEFINE([HAVE_WINT_T], 1, [Define if you have the 'wint_t' type.])
fi
])