]> git.deb.at Git - pkg/abook.git/blobdiff - configure
Fix the inclusion of strcasestr() used by the vCard parser.
[pkg/abook.git] / configure
index 8afd54f9e2f0d9018ee84d3eef5ee44903829624..1275ba4b96a174d5c47eb0b0bb01fc0f04ae4ba1 100755 (executable)
--- a/configure
+++ b/configure
 done
 
 
+for ac_func in strcasestr
+do :
+  ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
+if test "x$ac_cv_func_strcasestr" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_STRCASESTR 1
+_ACEOF
+ $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
+
+fi
+done
+
+
 # Check whether --enable-debug was given.
 if test "${enable_debug+set}" = set; then :
   enableval=$enable_debug; case "${enableval}" in
@@ -13112,4 +13125,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
-