X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/185449d25b2f9c93d2928e4745e8aa64d7d9ab9c..f0cd5b9c13a412c2248b74da2cef04ec9bcffc10:/configure.ac diff --git a/configure.ac b/configure.ac index 1d66b9f..89d0d85 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright © 2019 Nick Bowler +dnl Copyright © 2019-2021 Nick Bowler dnl dnl Based on original work Copyright © 1999-2013 Jiri (George) Lebl. dnl @@ -6,23 +6,34 @@ dnl License GPLv2+: GNU General Public License version 2 or any later version. dnl This is free software: you are free to change and redistribute it. dnl There is NO WARRANTY, to the extent permitted by law. -AC_INIT([gob-dx], [2.0.20a], [nbowler@draconx.ca]) +AC_INIT([GObject Builder], [2.0.20a], [nbowler@draconx.ca], [gob-dx]) AC_CONFIG_SRCDIR([src/treefuncs.def]) +AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE([-Wall subdir-objects dist-xz]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability subdir-objects dist-xz]) AM_SILENT_RULES([yes]) +DX_AUTOMAKE_COMPAT AC_PROG_CC +gl_EARLY + AC_PROG_CXX -AC_PROG_LEX AC_PROG_YACC +LT_INIT +gl_INIT + +AC_CACHE_SAVE + +m4_include([lib/gnulib.mk]) + AC_ARG_VAR([PERL], [command to execute perl programs]) AC_CHECK_PROGS([PERL], [perl], [false]) AM_CONDITIONAL([HAVE_PERL], [$PERL -e 'my $x = 42; exit $x'; test $? = 42]) -LT_INIT +DX_PROG_FLEX([], [have_flex=yes], [have_flex=no]) +AM_CONDITIONAL([HAVE_FLEX], [test x"$have_flex" = x"yes"]) DX_LIB_GLIB2 @@ -37,5 +48,5 @@ AC_CONFIG_TESTDIR([.], [t:.]) DX_PROG_AUTOTEST AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"]) -AC_CONFIG_FILES([Makefile gob2.spec doc/gob2.1 atlocal]) +AC_CONFIG_FILES([Makefile gob2.spec doc/gob2.1]) AC_OUTPUT