Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 12. október 2024

Súbor: [Platon] / libplaton / configure.in (stiahnutie)

Revízia 1.14, Sat Apr 24 14:03:11 2010 UTC (14 years, 5 months ago) by nepto


Zmeny od 1.13: +2 -1 [lines]

Added CPU related subroutines

dnl $Platon: libplaton/configure.in,v 1.13 2008-09-22 18:54:28 nepto Exp $

AC_INIT(platon/macros.h)

PACKAGE="libplaton"
VERSION="0.1"
DATE="`date '+%e %B %Y' || echo '2002-??-??'`"
MANVOLNUM=3

AC_ARG_ENABLE(extended,
              [  --enable-extended      Include some non-free sources.],
              [enable_extended="yes"; NET_SUBDIRS="atlantis smtp pop3"; ],
              [enable_extended="no";  NET_SUBDIRS="smtp pop3"; ])

# AC_CONFIG_HEADER {{{
AC_CONFIG_HEADER(config.h)
# }}} AC_CONFIG_HEADER

# Checks for programs. {{{
# -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_CXX
AC_PROG_AWK

AC_PROG_LN_S
LN_S="$LN_S -f" # adds '-f' parameter to 'ln'
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_RANLIB

# AC_CHECK_PROG STRIP {{{
# Don't strip if we don't have it
AC_CHECK_PROG(STRIP, strip, strip, :)
# }}} AC_CHECK_PROG STRIP

#AC_CHECK_PROG(JADEWRAP, jw, jw, :)
AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, :)
#AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, :)
#AC_CHECK_PROG(DOCBOOK2MAN, docbook2man, docbook2man, :)
#AC_CHECK_PROG(DB_HTML2MAN, db-html2man, `which db-html2man`, :)
#AC_CHECK_PROG(DB_GET_ID,   db-get-id,   `which db-get-id`, :)

# }}} Checks for programs.

# AC_CHECK_HEADERS {{{
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(ctype.h errno.h float.h limits.h math.h stdarg.h stdio.h stdlib.h string.h strings.h unistd.h)
# }}} AC_CHECK_HEADERS

# AC_CHECK_FUNCS {{{
dnl AC_CHECK_FUNCS(strerror)
# }}} AC_CHECK_FUNCS

AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(DATE)
AC_SUBST(MANVOLNUM)
AC_SUBST(NET_SUBDIRS)

OUTPUT_FILES=" \
Rules.make \
Makefile \
doc/Makefile \
platon/Makefile \
platon/compress/Makefile \
platon/cpu/Makefile \
platon/dsn/Makefile \
platon/hash/Makefile \
platon/html/Makefile \
platon/misc/Makefile \
platon/net/Makefile \
platon/net/smtp/Makefile \
platon/net/pop3/Makefile \
platon/str/Makefile \
utils/Makefile"

if test "$enable_extended" = "yes"; then
    OUTPUT_FILES="$OUTPUT_FILES platon/net/atlantis/Makefile"
fi

# {{{ AC_OUTPUT
AC_OUTPUT($OUTPUT_FILES)
# }}} AC_OUTPUT

# vim600: fdm=marker fdc=3


Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok