aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc Schink <jaylink-dev@marcschink.de>2014-06-28 14:14:30 -0400
committerMarc Schink <jaylink-dev@marcschink.de>2015-03-02 03:20:26 -0500
commit4374e97a5c79454acd72814151c17d4e4c617126 (patch)
treeef6caaf1f1fadf67482dc98355fa55fc08515672 /configure.ac
downloadlibjaylink-4374e97a5c79454acd72814151c17d4e4c617126.zip
libjaylink-4374e97a5c79454acd72814151c17d4e4c617126.tar.gz
libjaylink-4374e97a5c79454acd72814151c17d4e4c617126.tar.bz2
Initial commit.
Basic structure of the library which supports enumeration of J-Link USB devices.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac59
1 files changed, 59 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..c803c52
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,59 @@
+##
+## This file is part of the libjaylink project.
+##
+## Copyright (C) 2014 Marc Schink <jaylink-dev@marcschink.de>
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+##
+
+AC_PREREQ([2.69])
+
+AC_INIT([libjaylink], [0.1.0], [BUG-REPORT-ADDRESS])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_AUX_DIR([build-aux])
+
+AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+
+# Enable additional compiler warnings via -Wall and -Wextra.
+CFLAGS="$CFLAGS -Wall -Wextra -Werror"
+
+# Checks for programs.
+AC_PROG_CC
+
+# Initialize libtool.
+LT_INIT
+
+# Initialize pkg-config.
+PKG_PROG_PKG_CONFIG
+
+# Checks for libraries.
+
+# Check for libusb-1.0 which is always needed.
+PKG_CHECK_MODULES([libusb], [libusb-1.0 >= 1.0.9],
+ [CFLAGS="$CFLAGS $libusb_CFLAGS"; LIBS="$LIBS $libusb_LIBS"])
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+
+# Disable progress and informational output of libtool.
+AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([libjaylink/Makefile])
+
+AC_OUTPUT