[svn-commits] seanbright: branch 1.0 r680 - /branches/1.0/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 23 10:48:35 CST 2009


Author: seanbright
Date: Wed Dec 23 10:48:32 2009
New Revision: 680

URL: http://svnview.digium.com/svn/menuselect?view=rev&rev=680
Log:
Actually look for alloca() in alloca.h so that HAVE_ALLOCA_H will get defined.

Modified:
    branches/1.0/autoconfig.h.in
    branches/1.0/configure
    branches/1.0/configure.ac

Modified: branches/1.0/autoconfig.h.in
URL: http://svnview.digium.com/svn/menuselect/branches/1.0/autoconfig.h.in?view=diff&rev=680&r1=679&r2=680
==============================================================================
--- branches/1.0/autoconfig.h.in (original)
+++ branches/1.0/autoconfig.h.in Wed Dec 23 10:48:32 2009
@@ -7,6 +7,21 @@
 #define _REENTRANT
 #endif
 
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+#undef CRAY_STACKSEG_END
+
+/* Define to 1 if using `alloca.c'. */
+#undef C_ALLOCA
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#undef HAVE_ALLOCA
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+#undef HAVE_ALLOCA_H
 
 /* Define to 1 if you have the `asprintf' function. */
 #undef HAVE_ASPRINTF
@@ -92,6 +107,14 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at runtime.
+	STACK_DIRECTION > 0 => grows toward higher addresses
+	STACK_DIRECTION < 0 => grows toward lower addresses
+	STACK_DIRECTION = 0 => direction of growth unknown */
+#undef STACK_DIRECTION
+
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 

Modified: branches/1.0/configure.ac
URL: http://svnview.digium.com/svn/menuselect/branches/1.0/configure.ac?view=diff&rev=680&r1=679&r2=680
==============================================================================
--- branches/1.0/configure.ac (original)
+++ branches/1.0/configure.ac Wed Dec 23 10:48:32 2009
@@ -42,7 +42,7 @@
 
 
 AC_LANG(C)
-
+AC_FUNC_ALLOCA
 AC_CHECK_FUNCS([asprintf getloadavg setenv strcasestr strndup strnlen strsep strtoq unsetenv vasprintf])
 
 # The frontend can use curses, ncurses or GTK2 so check for all of them




More information about the svn-commits mailing list