summaryrefslogtreecommitdiff
path: root/bitmask_android/openvpn/m4/ax_emptyarray.m4
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-09 16:03:55 +0200
committerParménides GV <parmegv@sdf.org>2014-04-09 16:07:34 +0200
commit1684c8f398922065a97e7da4dac4ac6a33cc5218 (patch)
tree76a4b11ae0d7b217c088f3c2b8fc7e69a7b8ae0d /bitmask_android/openvpn/m4/ax_emptyarray.m4
parentb9a2b085a8f508cd09e2639c70be845c992c4a3e (diff)
Back to the standard "app" module.
This return to "app" instead of "bitmask_android" is due to this reading: https://developer.android.com/sdk/installing/studio-build.html#projectStructure I'll have to tweak the final apk name in build.gradle.
Diffstat (limited to 'bitmask_android/openvpn/m4/ax_emptyarray.m4')
-rw-r--r--bitmask_android/openvpn/m4/ax_emptyarray.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/bitmask_android/openvpn/m4/ax_emptyarray.m4 b/bitmask_android/openvpn/m4/ax_emptyarray.m4
deleted file mode 100644
index c6781c17..00000000
--- a/bitmask_android/openvpn/m4/ax_emptyarray.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-dnl @synopsis AX_EMPTY_ARRAY
-dnl
-dnl Define EMPTY_ARRAY_SIZE to be either "0"
-dnl or "" depending on which syntax the compiler
-dnl prefers for empty arrays in structs.
-dnl
-dnl @version
-dnl @author James Yonan <jim@yonan.net>
-AC_DEFUN([AX_EMPTY_ARRAY], [
- AS_VAR_PUSHDEF([VAR],[ax_cv_c_empty_array])dnl
- AC_CACHE_CHECK(
- [for C compiler empty array size],
- [VAR],
- [AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- ,
- [[
-struct { int foo; int bar[0]; } mystruct;
- ]]
- )],
- [VAR=0],
- [AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- ,
- [[
-struct { int foo; int bar[]; } mystruct;
- ]]
- )],
- [VAR=],
- [AC_MSG_ERROR([C compiler is unable to creaty empty arrays])]
- )]
- )]
- )dnl
- AC_DEFINE_UNQUOTED(
- [EMPTY_ARRAY_SIZE],
- [$VAR],
- [Dimension to use for empty array declaration]
- )dnl
- AS_VAR_POPDEF([VAR])dnl
-])