]> sigrok.org Git - sigrok-androidutils.git/blame - configure.ac
Add some missing license headers.
[sigrok-androidutils.git] / configure.ac
CommitLineData
5de7ce63
UH
1##
2## This file is part of the sigrok-androidutils project.
3##
4## Copyright (C) 2014 Marcus Comstedt <marcus@mc.pp.se>
5##
6## This program is free software: you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation, either version 3 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program. If not, see <http://www.gnu.org/licenses/>.
18##
19
ea3ce762
MC
20AC_INIT([sigrok-androidutils], [0.1.0])
21
22AC_CONFIG_SRCDIR([src/org/sigrok/androidutils/UsbHelper.java])
23AM_INIT_AUTOMAKE
24
25AC_ARG_WITH([android-sdk],
26 [AS_HELP_STRING([--with-android-sdk],
27 [specify path to android SDK @<:@default=/usr/local/android@:>@])],
28 [ANDROID_SDK="$withval"],
29 [ANDROID_SDK=/usr/local/android])
30
31AC_ARG_WITH([android-platform],
32 [AS_HELP_STRING([--with-android-platform],
33 [select android platform to build for @<:@default=android-14@:>@])],
34 [ANDROID_PLATFORM="$withval"],
35 [ANDROID_PLATFORM=android-14])
36
2b68989a
MC
37LT_INIT
38AC_PROG_CXX
39
ea3ce762
MC
40AC_SUBST([ANDROID_SDK])
41AC_SUBST([ANDROID_PLATFORM])
42
2b68989a 43AC_OUTPUT([Makefile lib/Makefile lib/libsigrokandroidutils.pc])