diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.ac | 14 |
2 files changed, 18 insertions, 4 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20030629 | 1 | 20030629 |
2 | - (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler | 2 | - (dtucker) [includes.h] Bug #602: move #include of netdb.h to after in.h |
3 | warnings on Solaris 2.5.1). | 3 | (fixes compiler warnings on Solaris 2.5.1). |
4 | - (dtucker) [configure.ac] Add sanity test after system-dependant compiler | ||
5 | flag modifications. | ||
4 | 6 | ||
5 | 20030628 | 7 | 20030628 |
6 | - (djm) Bug #591: use PKCS#15 private key label as a comment in case | 8 | - (djm) Bug #591: use PKCS#15 private key label as a comment in case |
@@ -611,4 +613,4 @@ | |||
611 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 613 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
612 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 614 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
613 | 615 | ||
614 | $Id: ChangeLog,v 1.2833 2003/06/29 11:23:37 dtucker Exp $ | 616 | $Id: ChangeLog,v 1.2834 2003/06/29 11:30:41 dtucker Exp $ |
diff --git a/configure.ac b/configure.ac index 0992744c1..bf00443a0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.128 2003/06/28 02:54:33 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.129 2003/06/29 11:30:41 dtucker Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -438,6 +438,18 @@ AC_ARG_WITH(libs, | |||
438 | ] | 438 | ] |
439 | ) | 439 | ) |
440 | 440 | ||
441 | AC_MSG_CHECKING(compiler and flags for sanity) | ||
442 | AC_TRY_RUN([ | ||
443 | #include <stdio.h> | ||
444 | int main(){exit(0);} | ||
445 | ], | ||
446 | [ AC_MSG_RESULT(yes) ], | ||
447 | [ | ||
448 | AC_MSG_RESULT(no) | ||
449 | AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***]) | ||
450 | ] | ||
451 | ) | ||
452 | |||
441 | # Checks for header files. | 453 | # Checks for header files. |
442 | AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ | 454 | AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ |
443 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | 455 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ |