aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: e827a182bedba42ccca768491f2faea9be1e2d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Autoconf and automake init
AC_INIT([lg-downloader], [0.1], [contact@paulk.fr])
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects foreign])

# Checks
AC_CONFIG_SRCDIR([src/lg-downloader.c])
AC_PROG_CC
AC_PROG_INSTALL

# Language
AC_LANG_C

# libusb
PKG_CHECK_MODULES(USB, libusb-1.0, [], [])

LIBS="$LIBS $USB_LIBS"
CFLAGS="$CFLAGS $USB_CFLAGS"

# Files to generate
AC_CONFIG_FILES([Makefile src/Makefile])

AC_OUTPUT