summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-06-16 21:22:03 +0200
committerpgen <p.gen.progs@gmail.com>2018-07-08 11:57:31 +0200
commitc66c2c8e1bf92160dc74a631d5d451a770c8fd59 (patch)
tree0b988de1c61c8227214463fbf3282a6acbc9e7c6 /configure
parent24428c616f6824ee109f7658da010bff8788710a (diff)
Add special cases for memmem, memrmem and strcasecmp
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure b/configure
index 089ed03..c3dd96d 100755
--- a/configure
+++ b/configure
@@ -4981,7 +4981,19 @@ _ACEOF
fi
done
-for ac_func in strchr strrchr strspn
+for ac_func in strchr strrchr strspn strcasecmp
+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
+
+for ac_func in memmem memrmem
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"