From: jorton Date: Tue, 11 Jun 2002 12:54:34 +0000 (+0000) Subject: * give description for AC_DEFINE(USE_GPM) X-Git-Tag: r0-50-36~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b43a9bf319e92f5a8b24aabc6326c8790b565da;p=thirdparty%2Fnewt.git * give description for AC_DEFINE(USE_GPM) * check for presence of alloca.h --- diff --git a/config.h.in b/config.h.in index 156c545..d2d5e7a 100644 --- a/config.h.in +++ b/config.h.in @@ -1,3 +1,8 @@ /* config.h.in. Generated automatically from configure.in by autoheader. */ +/* Define if you have the header file. */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if GPM support is enabled */ #undef USE_GPM + diff --git a/configure.in b/configure.in index 993c209..446fa86 100644 --- a/configure.in +++ b/configure.in @@ -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)