summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-06-29 21:30:41 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-06-29 21:30:41 +1000
commit6eb9304782a7404fca406f742d4546e55c8dc1c7 (patch)
tree8ec48dd80c804ea3f77e7bd132074200e583ba14
parentcc9fd54a3636d98dbada76f71bd5e6e82495f9c0 (diff)
- (dtucker) [configure.ac] Add sanity test after system-dependant compiler
flag modifications.
-rw-r--r--ChangeLog8
-rw-r--r--configure.ac14
2 files changed, 18 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 37cbe9cf6..89ec48ffd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120030629 120030629
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
520030628 720030628
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
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -438,6 +438,18 @@ AC_ARG_WITH(libs,
438 ] 438 ]
439) 439)
440 440
441AC_MSG_CHECKING(compiler and flags for sanity)
442AC_TRY_RUN([
443#include <stdio.h>
444int 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.
442AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ 454AC_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 \