diff options
author | Paul Kocialkowski | 2016-01-27 20:25:41 +0100 |
---|---|---|
committer | Paul Kocialkowski | 2016-01-27 20:28:18 +0100 |
commit | 2e31eedce5bc7d2fc37f8cd6be1a7177dd7f6da7 (patch) | |
tree | af51cb4c77bb03259848bc29352bc2819134e5e1 /configure.ac |
lg-downloader: Tool for flashing LG devices' internal storage from download mode
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..e827a18 --- /dev/null +++ b/configure.ac @@ -0,0 +1,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 |