]> git.draconx.ca Git - cdecl99.git/blobdiff - configure.ac
Convert invalid declaration test to Autotest.
[cdecl99.git] / configure.ac
index 0b9bab10e6fd10134028855e7edc06f60d57a0ab..eed1a1974ef7826944b1c3336d7f781309ee2e05 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright © 2011-2012 Nick Bowler
+dnl Copyright © 2011-2013, 2020 Nick Bowler
 dnl
 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
 dnl This is free software: you are free to do what the fuck you want to.
@@ -10,6 +10,7 @@ AC_CONFIG_HEADER([config.h])
 
 AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])
 AM_SILENT_RULES([yes])
+DX_AUTOMAKE_COMPAT
 
 AC_PROG_CC_C99
 AM_PROG_CC_C_O
@@ -56,9 +57,6 @@ AC_ARG_VAR([BISONFLAGS], [Additional options to pass to Bison.])
 AC_CHECK_PROGS([BISON], [bison], [bison])
 BISON_I18N
 
-GLOBAL_SYMBOL_PIPE=$lt_cv_sys_global_symbol_pipe
-AC_SUBST([GLOBAL_SYMBOL_PIPE])
-
 AH_TOP([#include <conf_pre.h>])
 AH_BOTTOM([#include <conf_post.h>])
 
@@ -73,6 +71,10 @@ AS_CASE([$with_gsl],
        [DX_CHECK_GSL([1.0], [have_gsl=yes], [have_gsl=no])])
 AM_CONDITIONAL([HAVE_GSL], [test x"$have_gsl" = x"yes"])
 
+AC_CONFIG_TESTDIR([.])
+DX_PROG_AUTOTEST
+AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"])
+
 AC_CONFIG_FILES([
        Makefile
 ])