program="libBlocksRuntime" version="0.1" abi_major="0" abi_minor="0" abi_version="$abi_major.$abi_minor" cflags="" ldflags="" sources="runtime.c data.c" libdepends="" deps="" mans="" headers="Block.h Block_private.h" extra_dist="" subdirs="" pre_configure_hook() { cflags="-DBlocksRuntime_EXPORTS -fPIC -std=c99 -Wall -Wextra -W -pedantic -Wno-unused-parameter $cflags" return } post_configure_hook() { # FIXME - Need to compile a test program to confirm these are available echo " #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1" >> config.h }