File: configure.ac

package info (click to toggle)
chaosread 1.1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 64 kB
  • sloc: ansic: 270; makefile: 10; sh: 7
file content (41 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download | duplicates (2)
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
dnl
dnl  Copyright © 2017 Keith Packard <keithp@keithp.com>
dnl
dnl  This program is free software; you can redistribute it and/or modify
dnl  it under the terms of the GNU General Public License as published by
dnl  the Free Software Foundation; either version 2 of the License, or
dnl  (at your option) any later version.
dnl
dnl  This program is distributed in the hope that it will be useful, but
dnl  WITHOUT ANY WARRANTY; without even the implied warranty of
dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
dnl  General Public License for more details.
dnl
dnl  You should have received a copy of the GNU General Public License along
dnl  with this program; if not, write to the Free Software Foundation, Inc.,
dnl  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
dnl
dnl Process this file with autoconf to create configure.

AC_PREREQ(2.57)
AC_INIT([chaosread], 1.1)
AC_CONFIG_SRCDIR([chaosread.c])
AM_INIT_AUTOMAKE([foreign dist-bzip2])

RELEASE_DATE=2019-01-07

AC_CONFIG_HEADERS(config.h)

AC_DEFINE_UNQUOTED(RELEASE_DATE, "$RELEASE_DATE", [Release date])

AC_PROG_CC
AC_PROG_INSTALL
PKG_PROG_PKG_CONFIG

WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
AC_SUBST(WARN_CFLAGS)

PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])

AC_OUTPUT([
Makefile])