$OpenBSD: patch-configure,v 1.5 2016/01/30 11:20:01 ajacoutot Exp $

undefined reference to `free'

--- configure.orig	Sat Jan 23 11:48:18 2016
+++ configure	Fri Jan 29 00:21:58 2016
@@ -16670,7 +16670,6 @@ if ${ax_cv_check_ldflags___Wl___no_undefined+:} false;
 else
 
   ax_check_save_flags=$LDFLAGS
-  LDFLAGS="$LDFLAGS  -Wl,--no-undefined"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -16694,7 +16693,6 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_undefined" >&5
 $as_echo "$ax_cv_check_ldflags___Wl___no_undefined" >&6; }
 if test "x$ax_cv_check_ldflags___Wl___no_undefined" = xyes; then :
-  LDFLAGS="-Wl,--no-undefined $LDFLAGS"
 else
   :
 fi
