1 program="libBlocksRuntime"
5 abi_version="$abi_major.$abi_minor"
8 sources="runtime.c data.c"
12 headers="Block.h Block_private.h"
16 pre_configure_hook() {
17 cflags="-DBlocksRuntime_EXPORTS -fPIC -std=c99 -Wall -Wextra -W -pedantic -Wno-unused-parameter $cflags"
21 post_configure_hook() {
22 # FIXME - Need to compile a test program to confirm these are available
24 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1
25 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1" >> config.h