--- config.h.in.orig	Tue Jul  2 19:30:48 2002
+++ config.h.in	Tue Jul  2 19:35:53 2002
@@ -35,8 +35,10 @@
 
 #undef ORBIT_HAVE_ALLOCA_H
 
-#ifdef ORBIT_HAVE_ALLOCA_H
+#if defined(ORBIT_HAVE_ALLOCA_H) 
+#if ORBIT_HAVE_ALLOCA_H != 0
 #include <alloca.h>
+#endif
 #endif
 
 /* Define if you have the `basename' function. */

Index: ORBit.m4
--- ORBit.m4.orig	2002-06-06 13:07:26 +0200
+++ ORBit.m4	2007-06-11 17:57:33 +0200
@@ -1,7 +1,7 @@
 dnl AM_PATH_ORBIT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
 dnl Test for ORBit, and define ORBIT_CFLAGS and ORBIT_LIBS
 dnl
-AC_DEFUN(AM_PATH_ORBIT,
+AC_DEFUN([AM_PATH_ORBIT],
 [dnl 
 dnl Get the cflags and libraries from the orbit-config script
 dnl
Index: libIDL.m4.in
--- libIDL/libIDL.m4.in.orig	2002-06-06 13:07:29 +0200
+++ libIDL/libIDL.m4.in	2007-06-11 17:59:38 +0200
@@ -3,7 +3,7 @@
 dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
 dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
 dnl
-AC_DEFUN(AM_PATH_LIBIDL,
+AC_DEFUN([AM_PATH_LIBIDL],
 [dnl 
 dnl Get the cflags and libraries from the libIDL-config script
 dnl

