make configure.ac automagically do the right thing on redhat 9
authorNathan Bryant <loanshark@uncensored.citadel.org>
Fri, 16 May 2003 04:07:37 +0000 (04:07 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Fri, 16 May 2003 04:07:37 +0000 (04:07 +0000)
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
citadel/citadel.h
citadel/configure.ac

index 3c8edd6ed1e80bd271c78142fa71f0a872790c60..e3398e3d12019c8fc97dd428dbfb34a51ff496ce 100644 (file)
@@ -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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 7fff11ec189fa915e89be46f63c29d6d27e3d8f1..ee5bfb174175caf77882f89d889598c47171f594 100644 (file)
@@ -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 */
index 49044a476dc16ab82ec7e6e1669c1ab9c44e43d1..8b9c895ce1226e1959f306213b519b97647e6413 100644 (file)
@@ -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"