From 419f3a51603752bcc088b735389d2faff342402e Mon Sep 17 00:00:00 2001 From: Nathan Bryant Date: Fri, 16 May 2003 04:07:37 +0000 Subject: [PATCH] make configure.ac automagically do the right thing on redhat 9 remove crappy tolower() hack that was breaking the build on redhat 9 (because the kerberized openssl includes ctype.h) before anyone yells at me, i did a little cvs archaeology on the tolower thing, and it appears to have been in the Citadel source base since, roughly, the Epoch. I doubt that the hack is needed any longer, and using the OS's tolower() will handle extended charsets. Anyone who is stupid enough to be using an OS with such a horribly broken tolower() can just scratch their head and figure things out for themselves. Citadel needs higher barriers to entry, there are too many weirdos on the IGnet lately. :-) --- citadel/ChangeLog | 16 ++++++++++++++++ citadel/citadel.h | 9 --------- citadel/configure.ac | 2 ++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 3c8edd6ed..e3398e3d1 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,19 @@ $Log$ + Revision 605.49 2003/05/16 04:07:37 nbryant + make configure.ac automagically do the right thing on redhat 9 + remove crappy tolower() hack that was breaking the build on redhat 9 + (because the kerberized openssl includes ctype.h) + + before anyone yells at me, i did a little cvs archaeology on the tolower + thing, and it appears to have been in the Citadel source base since, + roughly, the Epoch. I doubt that the hack is needed any longer, and using + the OS's tolower() will handle extended charsets. + + Anyone who is stupid enough to be using an OS with such a horribly broken + tolower() can just scratch their head and figure things out for + themselves. Citadel needs higher barriers to entry, there are too many + weirdos on the IGnet lately. :-) + Revision 605.48 2003/05/13 03:22:04 ajc * Implemented the IMAP STARTTLS command as specified in RFC 2595. @@ -4686,3 +4701,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/citadel.h b/citadel/citadel.h index 7fff11ec1..ee5bfb174 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -47,15 +47,6 @@ extern "C" { #define SERVER_TYPE 0 /* zero for stock Citadel/UX; other developers please obtain SERVER_TYPE codes for your implementations */ -/* - * This is a better implementation of tolower() than that found on some - * systems (there are operating systems out there on which tolower() will - * screw up if you give it a character that is already lower case). - */ -#ifdef tolower -#undef tolower -#endif -#define tolower(x) ( ((x>='A')&&(x<='Z')) ? (x+'a'-'A') : x ) #define NEW_CONFIG /* Various length constants */ diff --git a/citadel/configure.ac b/citadel/configure.ac index 49044a476..8b9c895ce 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -197,6 +197,8 @@ if test "$check_pthread" != no; then AC_CHECK_LIB(pthreads, pthread_create) fi +test -d /usr/kerberos/include && CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" + # The big search for OpenSSL if test "$with_ssl" != "no"; then saved_LIBS="$LIBS" -- 2.39.2