diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 04:28:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 04:28:16 +0000 |
commit | 5c60df97af1da3cf699a78ba0bd7f9f9d751d8b0 (patch) | |
tree | 657366d4a2494cb92c1e1dfd0cbc36e2fa893abb /configure.in | |
parent | 566cab9427e5d6ce8bdff82d911ec76662ca7927 (diff) | |
download | fetchmail-5c60df97af1da3cf699a78ba0bd7f9f9d751d8b0.tar.gz fetchmail-5c60df97af1da3cf699a78ba0bd7f9f9d751d8b0.tar.bz2 fetchmail-5c60df97af1da3cf699a78ba0bd7f9f9d751d8b0.zip |
Normal build is now with POP2 disabled and optimization on.
svn path=/trunk/; revision=1080
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 4398fa4c..d98ceff8 100644 --- a/configure.in +++ b/configure.in @@ -8,8 +8,8 @@ AC_INIT(fetchmail.h) dnl A distinctive file to look for in srcdir. AC_CONFIG_HEADER(config.h) # We want these before the checks, so the checks can modify their values. -test -z "$CFLAGS" && CFLAGS=-g AC_SUBST(CFLAGS) -test -z "$LDFLAGS" && LDFLAGS=-g AC_SUBST(LDFLAGS) +test -z "$CFLAGS" && CFLAGS=-O AC_SUBST(CFLAGS) +test -z "$LDFLAGS" && LDFLAGS=-s AC_SUBST(LDFLAGS) AC_CANONICAL_HOST AC_PROG_CC @@ -131,6 +131,13 @@ AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) +### use option --enable-POP2 to compile in the POP2 fallback support +AC_ARG_ENABLE(POP2, + [ --enable-POP2 compile in POP2 protocol support (obsolete)], + [with_POP2=$enableval], + [with_POP2=no]) +test "$with_POP2" = "yes" && AC_DEFINE(POP2_ENABLE) + AC_OUTPUT(Makefile, [ # Makefile uses this timestamp file to know when to remake Makefile, # build.sh, and glob/Makefile. |