summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2004-01-13 16:35:34 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2004-01-13 16:35:34 +0000
commit4421518b5035cff9329807a902edc7e8702861d5 (patch)
tree62736cf30471198c865466f8871ae0d4f8b8f9da
parenta82ecb9de9f88a633249492f3af6a8e139a4034c (diff)
Tell configure.ac to generate a config.h instead of a long gcc comand line.
-rwxr-xr-xautogen.sh1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index dab68d0..ec58c07 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,7 @@
#! /bin/sh
aclocal \
+&& autoheader \
&& automake --gnu --add-missing \
&& autoconf \
&& CFLAGS="-Wall -pedantic -g" ./configure --enable-maintainer-mode
diff --git a/configure.ac b/configure.ac
index 8aeac89..09ebee6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
AC_INIT(esmtp, 0.5.1)
AC_CONFIG_SRCDIR(Makefile.am)
+AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE(1.7 dist-bzip2)
AM_MAINTAINER_MODE