Diff for libplaton/configure.in between version 1.4 and 1.13
version 1.4, 2002/10/03 23:25:35 |
version 1.13, 2008/09/22 18:54:28 |
|
|
dnl $Id$ |
|
|
dnl $Platon: libplaton/configure.in,v 1.12 2004/08/27 19:24:00 nepto Exp $ |
|
|
AC_INIT(platon/macros.h) |
AC_INIT(platon/macros.h) |
|
|
|
|
|
|
AC_ARG_ENABLE(extended, |
AC_ARG_ENABLE(extended, |
[ --enable-extended Include some non-free sources.], |
[ --enable-extended Include some non-free sources.], |
[enable_extended="yes"; NET_SUBDIRS="atlantis smtp"; ], |
[enable_extended="yes"; NET_SUBDIRS="atlantis smtp pop3"; ], |
[enable_extended="no"; NET_SUBDIRS="smtp"; ]) |
[enable_extended="no"; NET_SUBDIRS="smtp pop3"; ]) |
|
|
# AC_CONFIG_HEADER {{{ |
# AC_CONFIG_HEADER {{{ |
AC_CONFIG_HEADER(config.h) |
AC_CONFIG_HEADER(config.h) |
# }}} AC_CONFIG_HEADER |
# }}} AC_CONFIG_HEADER |
|
|
# Checks for programs. {{{ |
# Checks for programs. {{{ |
AC_PROG_AWK |
# -Wno-long-long is due to <platon/hash/tiger.c> |
|
CFLAGS=${CFLAGS-"-O2 -Wall -Wno-shadow -Wno-long-long -pedantic -fPIC"} |
AC_PROG_CC |
AC_PROG_CC |
AC_PROG_CXX |
AC_PROG_CXX |
#AC_PROG_CPP |
AC_PROG_AWK |
|
|
# AC_GCC_TRADITIONAL {{{ |
|
AC_GCC_TRADITIONAL |
|
# }}} AC_GCC_TRADITIONAL |
|
if test "X$CC" = "Xgcc"; then |
|
CFLAGS="-Wall $CFLAGS" |
|
fi |
|
|
|
AC_PROG_LN_S |
AC_PROG_LN_S |
LN_S="$LN_S -f" # adds '-f' parameter to 'ln' |
LN_S="$LN_S -f" # adds '-f' parameter to 'ln' |
|
|
Rules.make \ |
Rules.make \ |
Makefile \ |
Makefile \ |
doc/Makefile \ |
doc/Makefile \ |
|
platon/Makefile \ |
|
platon/compress/Makefile \ |
|
platon/dsn/Makefile \ |
|
platon/hash/Makefile \ |
platon/html/Makefile \ |
platon/html/Makefile \ |
platon/misc/Makefile \ |
platon/misc/Makefile \ |
platon/net/smtp/Makefile \ |
|
platon/net/Makefile \ |
platon/net/Makefile \ |
|
platon/net/smtp/Makefile \ |
|
platon/net/pop3/Makefile \ |
platon/str/Makefile \ |
platon/str/Makefile \ |
platon/Makefile \ |
|
utils/Makefile" |
utils/Makefile" |
|
|
if test "$enable_extended" = "yes"; then |
if test "$enable_extended" = "yes"; then |
Platon Group <platon@platon.org> http://platon.org/
|
|