summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 55f1dde9552622ff76d1a14add2fee0f173009b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ([2.70])

AC_INIT([eps], [0.1.0], [durand@jsdurand.xyz], [], [])

AC_COPYRIGHT([This package is covered by GPL v3.])

AM_PROG_AR

dnl Check for RANLIB
AC_PROG_RANLIB

AC_CONFIG_SRCDIR([src/grammar.h])

AC_CONFIG_HEADERS([src/config.h])

AC_CONFIG_AUX_DIR([build-aux])

AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])

AM_SILENT_RULES([yes])

dnl Checks for programs.
AC_PROG_CC

dnl Subdirectory

dnl AC_CONFIG_SUBDIRS([src])

dnl Checks for DEBUG option.

dnl This is bad practice.  Use the script configure.debug instead.
dnl AC_ARG_ENABLE([debug],
dnl AS_HELP_STRING([--enable-debug],
dnl [enable the debugging features]))

dnl if test "x$enable_debug" = "xyes"; then
dnl    AC_DEFINE([DEBUG], [], [Define if one wants to debug the program.])
dnl    dnl AC_CHECK_FUNCS([clock_gettime])
dnl fi

AC_CONFIG_FILES([Makefile src/Makefile])

AC_OUTPUT