Tizen 2.1 base
[platform/upstream/gcd.git] / BlocksRuntime-0.1 / config.inc
1 program="libBlocksRuntime"
2 version="0.1"
3 abi_major="0"
4 abi_minor="0"
5 abi_version="$abi_major.$abi_minor"
6 cflags=""
7 ldflags=""
8 sources="runtime.c data.c"
9 libdepends=""
10 deps=""
11 mans=""
12 headers="Block.h Block_private.h"
13 extra_dist=""
14 subdirs=""
15
16 pre_configure_hook() {
17     cflags="-DBlocksRuntime_EXPORTS -fPIC -std=c99 -Wall -Wextra -W -pedantic -Wno-unused-parameter $cflags"
18     return
19 }
20
21 post_configure_hook() {
22   # FIXME - Need to compile a test program to confirm these are available
23   echo "
24 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1
25 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1" >> config.h
26 }