]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
* give description for AC_DEFINE(USE_GPM)
authorjorton <jorton>
Tue, 11 Jun 2002 12:54:34 +0000 (12:54 +0000)
committerjorton <jorton>
Tue, 11 Jun 2002 12:54:34 +0000 (12:54 +0000)
* check for presence of alloca.h

config.h.in
configure.in

index 156c545ec3f5ec8b43e7ee63c909c719fd2f04fb..d2d5e7aad9d9f335853660c21570411da1b13b34 100644 (file)
@@ -1,3 +1,8 @@
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
 
+/* Define if you have the <alloca.h> header file.  */
+#undef HAVE_ALLOCA_H
+
+/* Define to 1 if GPM support is enabled */
 #undef USE_GPM
+
index 993c209b799ffbc11bfb39169a1708ca9368df8e..446fa86ebc2285b524f01d4f481f033d1c700fac 100644 (file)
@@ -13,10 +13,12 @@ AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_LN_S
 
+AC_CHECK_HEADERS(alloca.h)
+
 AC_ARG_WITH(gpm-support, [  --with-gpm-support         Compile with GPM support])
 
 if test "x$with_gpm_support" = "xyes"; then
-  AC_DEFINE(USE_GPM)
+  AC_DEFINE(USE_GPM, 1, [Define to 1 if GPM support is enabled])
 fi
 
 AC_OUTPUT(Makefile)