X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=configure.ac;h=a2d84ce689dc7ed7ca0a45abd3c637e8ffe8b669;hp=dc0a36ced0e8134681d2b15e516942d25625fd77;hb=630f457666b48321be0a5b6fbf391efef1fa3eb4;hpb=e9915aad4fe97cd253b88805646085c64181baef diff --git a/configure.ac b/configure.ac index dc0a36ce..a2d84ce6 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]) @@ -386,6 +389,31 @@ 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]) + +AC_ARG_WITH([strip-nondeterminism], + [AS_HELP_STRING([--with-strip-nondeterminism], + [Name of non-deterministic build data stripping tool])], + [], + [with_strip_nondeterminism=auto]) + +if test "x$with_strip_nondeterminism" != "xno"; then + if test "x$with_strip_nondeterminism" = "xauto"; then + with_strip_nondeterminism="strip-nondeterminism" + AC_CHECK_PROG([HAVE_STRIP_NONDETERMINISM],[$with_strip_nondeterminism], yes, no) + else + HAVE_STRIP_NONDETERMINISM=yes + fi +else + HAVE_STRIP_NONDETERMINISM=no +fi +AM_CONDITIONAL([STRIP_NONDETERMINISM], [test x$HAVE_STRIP_NONDETERMINISM != xno]) +AC_SUBST(STRIP_NONDETERMINISM, "$with_strip_nondeterminism") + PKG_CHECK_MODULES([JANSSON], [jansson]) AC_ARG_WITH([readline], @@ -539,7 +567,6 @@ ao-tools/ao-cal-accel/Makefile ao-tools/ao-cal-freq/Makefile ao-tools/ao-test-gps/Makefile ao-tools/ao-usbtrng/Makefile -ao-tools/ao-chaosread/Makefile ao-tools/ao-makebin/Makefile ao-utils/Makefile map-server/Makefile @@ -564,6 +591,7 @@ echo " STlink support..............: ${HAVE_STLINK}" echo " Newlib-nano support.........: ${NEWLIB_NANO}" echo " i386 and amd64 libaltos.....: ${MULTI_ARCH}" echo " install shared mime info....: ${INSTALL_SHARED_MIME_INFO}" +echo " Strip jar timestamps........: ${STRIP_NONDETERMINISM}" echo "" echo " Java" echo " freetts.....................: ${FREETTS}"