diff options
-rw-r--r-- | CREDITS | 1 | ||||
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.in | 20 |
3 files changed, 19 insertions, 5 deletions
@@ -8,6 +8,7 @@ Ben Taylor <bent@clark.net> - Solaris debugging and fixes | |||
8 | Chip Salzenberg <chip@valinux.com> - Assorted patches | 8 | Chip Salzenberg <chip@valinux.com> - Assorted patches |
9 | Chris Saia <csaia@wtower.com> - SuSE packaging | 9 | Chris Saia <csaia@wtower.com> - SuSE packaging |
10 | Chris, the Young One <cky@pobox.com> - Password auth fixes | 10 | Chris, the Young One <cky@pobox.com> - Password auth fixes |
11 | Christos Zoulas <christos@zoulas.com> - Autoconf fixes | ||
11 | Chun-Chung Chen <cjj@u.washington.edu> - RPM fixes | 12 | Chun-Chung Chen <cjj@u.washington.edu> - RPM fixes |
12 | Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes | 13 | Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes |
13 | Darren Hall <dhall@virage.org> - AIX patches | 14 | Darren Hall <dhall@virage.org> - AIX patches |
@@ -14,6 +14,9 @@ | |||
14 | <jhuuskon@hytti.uku.fi> | 14 | <jhuuskon@hytti.uku.fi> |
15 | - Fix hang on logout if processes are still using the pty. Needs | 15 | - Fix hang on logout if processes are still using the pty. Needs |
16 | further testing. | 16 | further testing. |
17 | - Patch from Christos Zoulas <christos@zoulas.com> | ||
18 | - Try $prefix first when looking for OpenSSL. | ||
19 | - Include sys/types.h when including sys/socket.h in test programs | ||
17 | 20 | ||
18 | 20000116 | 21 | 20000116 |
19 | - Renamed --with-xauth-path to --with-xauth | 22 | - Renamed --with-xauth-path to --with-xauth |
diff --git a/configure.in b/configure.in index 7c0b1491b..e7524cd62 100644 --- a/configure.in +++ b/configure.in | |||
@@ -96,7 +96,7 @@ esac | |||
96 | 96 | ||
97 | dnl Check for OpenSSL/SSLeay directories. | 97 | dnl Check for OpenSSL/SSLeay directories. |
98 | AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) | 98 | AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) |
99 | for ssldir in /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do | 99 | for ssldir in $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do |
100 | if test -f "$ssldir/include/openssl/crypto.h"; then | 100 | if test -f "$ssldir/include/openssl/crypto.h"; then |
101 | AC_DEFINE(HAVE_OPENSSL) | 101 | AC_DEFINE(HAVE_OPENSSL) |
102 | GOT_SSL="yes" | 102 | GOT_SSL="yes" |
@@ -246,7 +246,10 @@ AC_TRY_COMPILE( | |||
246 | 246 | ||
247 | AC_MSG_CHECKING([for struct sockaddr_storage]) | 247 | AC_MSG_CHECKING([for struct sockaddr_storage]) |
248 | AC_TRY_COMPILE( | 248 | AC_TRY_COMPILE( |
249 | [#include <sys/socket.h>], | 249 | [ |
250 | #include <sys/types.h> | ||
251 | #include <sys/socket.h> | ||
252 | ], | ||
250 | [struct sockaddr_storage s;], | 253 | [struct sockaddr_storage s;], |
251 | [ | 254 | [ |
252 | AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE) | 255 | AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE) |
@@ -280,6 +283,7 @@ AC_TRY_COMPILE( | |||
280 | AC_MSG_CHECKING([for struct addrinfo]) | 283 | AC_MSG_CHECKING([for struct addrinfo]) |
281 | AC_TRY_COMPILE( | 284 | AC_TRY_COMPILE( |
282 | [ | 285 | [ |
286 | #include <sys/types.h> | ||
283 | #include <sys/socket.h> | 287 | #include <sys/socket.h> |
284 | #include <netdb.h> | 288 | #include <netdb.h> |
285 | ], | 289 | ], |
@@ -432,7 +436,10 @@ AC_EGREP_HEADER(ut_addr_v6, utmpx.h, | |||
432 | 436 | ||
433 | AC_MSG_CHECKING([whether struct sockaddr_storage has ss_family field]) | 437 | AC_MSG_CHECKING([whether struct sockaddr_storage has ss_family field]) |
434 | AC_TRY_COMPILE( | 438 | AC_TRY_COMPILE( |
435 | [#include <sys/socket.h>], | 439 | [ |
440 | #include <sys/types.h> | ||
441 | #include <sys/socket.h> | ||
442 | ], | ||
436 | [struct sockaddr_storage s; s.ss_family = 1;], | 443 | [struct sockaddr_storage s; s.ss_family = 1;], |
437 | [ | 444 | [ |
438 | AC_DEFINE(HAVE_SS_FAMILY_IN_SS) | 445 | AC_DEFINE(HAVE_SS_FAMILY_IN_SS) |
@@ -442,7 +449,10 @@ AC_TRY_COMPILE( | |||
442 | ) | 449 | ) |
443 | AC_MSG_CHECKING([whether struct sockaddr_storage has __ss_family field]) | 450 | AC_MSG_CHECKING([whether struct sockaddr_storage has __ss_family field]) |
444 | AC_TRY_COMPILE( | 451 | AC_TRY_COMPILE( |
445 | [#include <sys/socket.h>], | 452 | [ |
453 | #include <sys/types.h> | ||
454 | #include <sys/socket.h> | ||
455 | ], | ||
446 | [struct sockaddr_storage s; s.__ss_family = 1;], | 456 | [struct sockaddr_storage s; s.__ss_family = 1;], |
447 | [ | 457 | [ |
448 | AC_DEFINE(HAVE___SS_FAMILY_IN_SS) | 458 | AC_DEFINE(HAVE___SS_FAMILY_IN_SS) |
@@ -636,7 +646,7 @@ dnl Use ip address instead of hostname in $DISPLAY | |||
636 | AC_ARG_WITH(ipaddr-display, | 646 | AC_ARG_WITH(ipaddr-display, |
637 | [ --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY], | 647 | [ --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY], |
638 | [ | 648 | [ |
639 | if test "x$withval" != "xno" ; then | 649 | if test "x$withval" = "xno" ; then |
640 | AC_DEFINE(IPADDR_IN_DISPLAY) | 650 | AC_DEFINE(IPADDR_IN_DISPLAY) |
641 | fi | 651 | fi |
642 | ] | 652 | ] |