]> code.citadel.org Git - citadel.git/commitdiff
* Mac OS X build fixes (everything but serv_imap now builds)
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 14 Oct 2002 08:27:41 +0000 (08:27 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 14 Oct 2002 08:27:41 +0000 (08:27 +0000)
citadel/ChangeLog
citadel/Makefile.in
citadel/citadel_ipc.c
citadel/configure.ac
citadel/control.c

index 04706b32196ad81f6e6f20e12640347dc520807c..71ec8db9bec670c72bf6229f61a24b284b410e56 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 601.23  2002/10/14 08:27:40  error
+ * Mac OS X build fixes (everything but serv_imap now builds)
+
  Revision 601.22  2002/10/08 09:44:52  error
  * Build environment:  cvs ignore .diff/.patch files
 
@@ -4061,3 +4064,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 5c13c94866a4153a6901e40f6a12c5c0b96bfc6b..6e65f962de3f2ea4274bc5b5f427c282a9bc0236 100644 (file)
@@ -165,8 +165,8 @@ modules/libpop3.la: serv_pop3.lo md5.lo $(LIBTOOL) libcitserver.la
 modules/libmrtg.la: serv_mrtg.lo md5.lo $(LIBTOOL) libcitserver.la
        $(LTSHARE) -o libmrtg.la ../serv_mrtg.lo ../libcitserver.la
 
-modules/libspam.la: serv_spam.lo md5.lo $(LIBTOOL) libcitserver.la
-       $(LTSHARE) -o libspam.la ../serv_spam.lo ../libcitserver.la
+modules/libspam.la: serv_spam.lo md5.lo domain.lo $(LIBTOOL) libcitserver.la
+       $(LTSHARE) -o libspam.la ../serv_spam.lo ../domain.lo ../libcitserver.la
 
 modules/libinetcfg.la: serv_inetcfg.lo $(LIBTOOL) libcitserver.la
        $(LTSHARE) -o libinetcfg.la ../serv_inetcfg.lo ../libcitserver.la
index 88a3b5a91af168bb82ae403e123e5dd22021c494..93ad9ce65a341c979a91e9176726577fa9458fe3 100644 (file)
@@ -19,7 +19,9 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 #include <stdlib.h>
 #include <ctype.h>
 #include <sys/socket.h>
index 57238fe597144523767c6eaabb3e8db1063cc304..732c348b5b6c26fea15d6e9caf61dfda18517bd1 100644 (file)
@@ -201,8 +201,9 @@ fi
 test -f /usr/local/lib/libresolv.a && LDFLAGS="$LDFLAGS -L/usr/local/lib"
 AC_CHECK_LIB(resolv, res_query, RESOLV="$RESOLV -lresolv")
 
-if test "x$with_ncurses" != xno; then
+if test "x$with_ncurses" != "xno"; then
        AC_SEARCH_LIBS(tgetent, [ncurses curses termcap])
+       AC_SEARCH_LIBS(scrollok, [ncurses curses])
        AC_SEARCH_LIBS(initscr, [ncurses curses])
 else
        AC_SEARCH_LIBS(tgetent, [curses termcap])
index 8a507f22c7edceae28d93a5b3570428657cc356d..d1baeae509c359c68dafcc630d27ebb3495f7ee5 100644 (file)
@@ -50,7 +50,7 @@
 #endif
 
 struct CitControl CitControl;
-struct config config;
+extern struct config config;
 FILE *control_fp = NULL;
 
 /*