Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5292

Modified Files:
        compat.h configure 
Log Message:
I am almost certain we don't need crypt or rt now, and it builds fine on
Linux without.



Index: compat.h
===================================================================
RCS file: /cvsroot/tmux/tmux/compat.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- compat.h    27 Oct 2010 21:34:59 -0000      1.29
+++ compat.h    27 Oct 2010 21:40:03 -0000      1.30
@@ -63,10 +63,6 @@
 #include "compat/bitstring.h"
 #endif
 
-#ifdef HAVE_CRYPT_H
-#include <crypt.h>
-#endif
-
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif

Index: configure
===================================================================
RCS file: /cvsroot/tmux/tmux/configure,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- configure   27 Oct 2010 20:21:00 -0000      1.55
+++ configure   27 Oct 2010 21:40:03 -0000      1.56
@@ -34,7 +34,6 @@
 #undef HAVE_BROKEN_POLL
 #undef HAVE_BZERO
 #undef HAVE_CLOSEFROM
-#undef HAVE_CRYPT_H
 #undef HAVE_DAEMON
 #undef HAVE_DIRFD
 #undef HAVE_FCNTL_CLOSEM
@@ -115,7 +114,7 @@
 EOF
        cat <<EOF >>$CONFIG_MK
 CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE
-LIBS+= -lncurses -lcrypt -lutil -levent -lrt
+LIBS+= -lncurses -lutil -levent
 SRCS+= osdep-linux.c \
        compat/closefrom.c \
        compat/fgetln.c \
@@ -161,7 +160,6 @@
     SunOS)
        cat <<EOF >>$CONFIG_H
 #define HAVE_CLOSEFROM
-#define HAVE_CRYPT_H
 #define HAVE_STRLCAT
 #define HAVE_STRLCPY
 EOF
@@ -247,7 +245,7 @@
 #define HAVE_U_INT
 EOF
        cat <<EOF >>$CONFIG_MK
-LIBS+= -lcurses -lcrypt -lutil -levent
+LIBS+= -lcurses -lutil -levent
 SRCS+= osdep-freebsd.c \
        compat/vis.c \
        compat/unvis.c \
@@ -293,7 +291,7 @@
 EOF
        fi
        cat <<EOF >>$CONFIG_MK
-LIBS+= -lcrypt -lutil -levent
+LIBS+= -lutil -levent
 SRCS+= osdep-netbsd.c \
        compat/strtonum.c \
        compat/vis.c \


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to