--- configure 2014-02-27 14:03:45.132445608 +0100 +++ configure 2014-02-27 14:03:05.502448091 +0100 @@ -6356,7 +6356,7 @@ hold_cflags=$CFLAGS -CFLAGS="$CFLAGS -export-dynamic" +CFLAGS="$CFLAGS -Wl,-export-dynamic" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need the -export-dynamic flag" >&5 $as_echo_n "checking if we need the -export-dynamic flag... " >&6; } if ${ac_cv_export_dynamic+:} false; then : @@ -6395,7 +6395,7 @@ else if test "$ac_cv_c_compiler_gnu" = "yes"; then - ac_cv_pic="-fPIC -DPIC -shared" + ac_cv_pic="-std=gnu89 -fPIC -DPIC -shared" case `uname -s` in Darwin*) ac_cv_pic="-bundle -flat_namespace -undefined suppress"