summaryrefslogtreecommitdiffstats
path: root/rfc2045
diff options
context:
space:
mode:
authorSam Varshavchik2021-05-17 22:48:17 -0400
committerSam Varshavchik2021-05-19 08:03:46 -0400
commit34b6dbb743654fdb6edccf101c4da7e671b7a92d (patch)
tree9328e2bd91c4fb8bf5f5103e97ca3456b1c09943 /rfc2045
parentf47a71576c377269f5c5ca6156b2f319256e2738 (diff)
downloadcourier-libs-34b6dbb743654fdb6edccf101c4da7e671b7a92d.tar.bz2
Tolerate -Wall and -Werror
Fixes to configure scripts and code so that it compiles (hopefully correctly) with -Wall and -Werror. Remove support for ancient BSD stricmp and strnicmp functions. AC_CHECK_FUNC does not work for strcasecmp and strncasecmp under -Wall, it's simpler to remove it.
Diffstat (limited to 'rfc2045')
-rw-r--r--rfc2045/configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/rfc2045/configure.ac b/rfc2045/configure.ac
index 27c5deb..74a06f2 100644
--- a/rfc2045/configure.ac
+++ b/rfc2045/configure.ac
@@ -60,8 +60,6 @@ AC_SUBST(COURIER_UNICODE_CXXFLAGS)
dnl Checks for library functions.
AC_CHECK_FUNCS(setlocale)
-AC_CHECK_FUNC(strncasecmp,,CFLAGS="$CFLAGS -Dstrncasecmp=strnicmp")
-AC_CHECK_FUNC(strcasecmp,,CFLAGS="$CFLAGS -Dstrcasecmp=stricmp")
AC_ARG_WITH(package, [], package="$withval",
[