summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-07 14:01:41 +1100
committerDamien Miller <djm@mindrot.org>2000-01-07 14:01:41 +1100
commit75b1d106d7a6c8826c74d7be561e2cf71602d429 (patch)
treec4eac80333f64e2e9d78bc4fc06adb11fb2b54c9
parent2edcda5d4c716e849459e87faeb3b03c1282cbbe (diff)
- Solaris build fix from Gary E. Miller <gem@rellim.com>V_1_2_1_PRE25
-rw-r--r--ChangeLog1
-rw-r--r--configure.in15
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 99a7c0b0..e55d3572 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
20000107
- New config.sub and config.guess to fix problems on SCO. Supplied
by Gary E. Miller <gem@rellim.com>
+ - Solaris build fix from Gary E. Miller <gem@rellim.com>
20000106
- Documentation update & cleanup
diff --git a/configure.in b/configure.in
index 127cd055..a6654022 100644
--- a/configure.in
+++ b/configure.in
@@ -40,6 +40,9 @@ AC_C_INLINE
dnl Check for some target-specific stuff
case "$host" in
+*-*-aix*)
+ AFS_LIBS="-lld"
+ ;;
*-*-hpux10*)
if test -z "$GCC"; then
CFLAGS="$CFLAGS -Aa"
@@ -58,12 +61,6 @@ case "$host" in
AC_DEFINE(DISABLE_SHADOW)
fi
;;
-*-*-solaris*)
- AC_DEFINE(USE_UTMPX)
- ;;
-*-*-aix*)
- AFS_LIBS="-lld"
- ;;
*-*-irix5*)
no_libsocket=1
no_libnsl=1
@@ -73,6 +70,12 @@ case "$host" in
no_libsocket=1
no_libnsl=1
;;
+*-*-solaris*)
+ AC_DEFINE(USE_UTMPX)
+ ;;
+*-*-sysv*)
+ LIBS="$LIBS -lgen -lsocket"
+ ;;
esac
dnl Check for OpenSSL/SSLeay directories.