aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 07:49:23 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 07:49:23 +0000
commit5adb342147085dbb920f7b6608145f449e5438d2 (patch)
tree7490918dbe8fe6015cb71ffb7c13e109882461c4 /configure
parent3b0bd5a3e6b4265e1d44ec4d5a96b63dcec3a1fb (diff)
downloadrtmux-5adb342147085dbb920f7b6608145f449e5438d2.tar.gz
rtmux-5adb342147085dbb920f7b6608145f449e5438d2.tar.bz2
rtmux-5adb342147085dbb920f7b6608145f449e5438d2.zip
SunOS tweaks.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 57c39d10..0c062728 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/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`
@@ -80,14 +80,16 @@ EOF
# ------------------------------------------------------------------------------
SunOS)
cat <<EOF >>$CONFIG_H
+#define HAVE_CRYPT_H
#define HAVE_POLL
#define HAVE_STRLCAT
#define HAVE_STRLCPY
#define HAVE_VSYSLOG
EOF
cat <<EOF >>$CONFIG_MK
-CPPFLAGS+= -I/usr/local/include/ncurses
-LDFLAGS+= -L/usr/gnu/lib
+CPPFLAGS+= -I/usr/local/include/ncurses \
+ -I/opt/csw/include -I/opt/csw/include/ncurses
+LDFLAGS+= -L/usr/gnu/lib -L/opt/csw/lib
LIBS+= -lsocket -lnsl
SRCS+= osdep-unknown.c \
compat/asprintf.c \