X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=configure.ac;h=32fcea3a344f9fba60dbd84a339c7376e1a0717b;hp=e888aa99304b24279de57ce88586a5b9892840ba;hb=6f729ff46b2f4531db68f0af85e7e9fe0f6d1969;hpb=0686a7b8aec524d81bda4c572549a3a068ce0eed diff --git a/configure.ac b/configure.ac index e888aa99..32fcea3a 100644 --- a/configure.ac +++ b/configure.ac @@ -18,13 +18,13 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([altos], 1.8.7.1) +AC_INIT([altos], 1.9) ANDROID_VERSION=18 AC_CONFIG_SRCDIR([src/kernel/ao.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE -RELEASE_DATE=2018-10-08 +RELEASE_DATE=2018-12-31 AC_SUBST(RELEASE_DATE) VERSION_DASH=`echo $VERSION | sed 's/\./-/g'` @@ -184,6 +184,9 @@ else HAVE_GOOGLE_KEY="no" fi +WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs" +AC_SUBST(WARN_CFLAGS) + AC_ARG_ENABLE(faketime, AS_HELP_STRING([--enable-faketime], [Use faketime program to ensure pdf files are reproducible (default=no)]), [FAKETIME=$enableval], [FAKETIME=no]) @@ -198,7 +201,6 @@ AC_PROG_LN_S AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG -CFLAGS="-g" WARN_CFLAGS="" if test "x$GCC" = "xyes"; then WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ @@ -387,6 +389,12 @@ if test "x$HAVE_NICKLE" = "xno"; then AC_MSG_ERROR([Please install nickle to build AltOs]) fi +AC_CHECK_PROG([HAVE_ASCIIDOCTOR_PDF], [asciidoctor-pdf], yes, no) +if test "x$HAVE_ASCIIDOCTOR_PDF" = "xno"; then + AC_MSG_WARN([asciidoctor-pdf not found, PDF docs will not be built]) +fi +AM_CONDITIONAL([ASCIIDOCTOR_PDF], [test x$HAVE_ASCIIDOCTOR_PDF != xno]) + PKG_CHECK_MODULES([JANSSON], [jansson]) AC_ARG_WITH([readline],