Changeset 13935
- Timestamp:
- 11/09/12 18:10:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r13840 r13935 1318 1318 dnl with-android{{{ 1319 1319 AC_ARG_WITH([android], 1320 AS_HELP_STRING([--with-android = YES], [compile with android capabilities (default is no)]),1320 AS_HELP_STRING([--with-android = EXE], [compile with android capabilities (default is no, alternatives are exe and jni)]), 1321 1321 [ANDROID=$withval],[ANDROID=no]) 1322 1322 AC_MSG_CHECKING(for android capability compilation) 1323 1323 1324 if test "x$ANDROID" = "x yes"; then1325 1326 dnl defaults 1327 HAVE_ANDROID= yes1324 if test "x$ANDROID" = "xjni"; then 1325 1326 dnl defaults 1327 HAVE_ANDROID=jni 1328 1328 1329 1329 AC_DEFINE([_HAVE_ANDROID_],[1],[with android capability]) 1330 else 1330 elif test "x$ANDROID" = "xexe"; then 1331 dnl defaults 1332 HAVE_ANDROID=exe 1333 1334 AC_DEFINE([_HAVE_ANDROID_],[1],[with android capability]) 1335 elif test "x$ANDROID" = "xno"; then 1331 1336 HAVE_ANDROID=no 1332 fi 1333 AM_CONDITIONAL([ANDROID], [test x$HAVE_ANDROID = xyes]) 1337 else 1338 AC_MSG_ERROR([--with-android should be either no, exe or jni]) 1339 fi 1340 AM_CONDITIONAL([ANDROID], [test x$HAVE_ANDROID != xno]) 1341 AM_CONDITIONAL([ANDROIDJNI], [test x$HAVE_ANDROID = xjni]) 1342 AM_CONDITIONAL([ANDROIDEXE], [test x$HAVE_ANDROID = xexe]) 1334 1343 AC_MSG_RESULT($HAVE_ANDROID) 1335 1344 dnl }}}
Note:
See TracChangeset
for help on using the changeset viewer.