chiark / gitweb /
portability: Provide implementation of fmemopen
[secnet.git] / configure
index b9cf39a164d763ab5e2586c02033738abf647a88..43de16e885044aaede33ad0150f872308ca93a1a 100755 (executable)
--- a/configure
+++ b/configure
@@ -4119,6 +4119,19 @@ fi
 
 
 
+for ac_func in fmemopen funopen
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking requirements for IPv6 support..." >&5
 $as_echo "$as_me: Checking requirements for IPv6 support..." >&6;}
 enable_ipv6=true