]> sigrok.org Git - sigrok-androidutils.git/blob - configure.ac
Created a new repository for Android support code
[sigrok-androidutils.git] / configure.ac
1 AC_INIT([sigrok-androidutils], [0.1.0])
2
3 AC_CONFIG_SRCDIR([src/org/sigrok/androidutils/UsbHelper.java])
4 AM_INIT_AUTOMAKE
5
6 AC_ARG_WITH([android-sdk],
7         [AS_HELP_STRING([--with-android-sdk],
8           [specify path to android SDK @<:@default=/usr/local/android@:>@])],
9         [ANDROID_SDK="$withval"],
10         [ANDROID_SDK=/usr/local/android])
11
12 AC_ARG_WITH([android-platform],
13         [AS_HELP_STRING([--with-android-platform],
14           [select android platform to build for @<:@default=android-14@:>@])],
15         [ANDROID_PLATFORM="$withval"],
16         [ANDROID_PLATFORM=android-14])
17
18 AC_SUBST([ANDROID_SDK])
19 AC_SUBST([ANDROID_PLATFORM])
20
21 AC_OUTPUT([Makefile])