mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-26 15:59:23 +01:00
SunOS tweaks.
This commit is contained in:
parent
3b0bd5a3e6
commit
5adb342147
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-set-password.c,v 1.3 2009-01-19 18:23:40 nicm Exp $ */
|
/* $Id: cmd-set-password.c,v 1.4 2009-05-14 07:49:23 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -23,6 +23,10 @@
|
|||||||
|
|
||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_CRYPT_H
|
||||||
|
#include <crypt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set server password.
|
* Set server password.
|
||||||
*/
|
*/
|
||||||
|
8
configure
vendored
8
configure
vendored
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: configure,v 1.8 2009-05-14 00:40:58 nicm Exp $
|
# $Id: configure,v 1.9 2009-05-14 07:49:23 nicm Exp $
|
||||||
|
|
||||||
UNAME=`uname -s`
|
UNAME=`uname -s`
|
||||||
|
|
||||||
@ -80,14 +80,16 @@ EOF
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
SunOS)
|
SunOS)
|
||||||
cat <<EOF >>$CONFIG_H
|
cat <<EOF >>$CONFIG_H
|
||||||
|
#define HAVE_CRYPT_H
|
||||||
#define HAVE_POLL
|
#define HAVE_POLL
|
||||||
#define HAVE_STRLCAT
|
#define HAVE_STRLCAT
|
||||||
#define HAVE_STRLCPY
|
#define HAVE_STRLCPY
|
||||||
#define HAVE_VSYSLOG
|
#define HAVE_VSYSLOG
|
||||||
EOF
|
EOF
|
||||||
cat <<EOF >>$CONFIG_MK
|
cat <<EOF >>$CONFIG_MK
|
||||||
CPPFLAGS+= -I/usr/local/include/ncurses
|
CPPFLAGS+= -I/usr/local/include/ncurses \
|
||||||
LDFLAGS+= -L/usr/gnu/lib
|
-I/opt/csw/include -I/opt/csw/include/ncurses
|
||||||
|
LDFLAGS+= -L/usr/gnu/lib -L/opt/csw/lib
|
||||||
LIBS+= -lsocket -lnsl
|
LIBS+= -lsocket -lnsl
|
||||||
SRCS+= osdep-unknown.c \
|
SRCS+= osdep-unknown.c \
|
||||||
compat/asprintf.c \
|
compat/asprintf.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user