]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (dtucker) [configure.ac] Add sanity test after system-dependant compiler
authorDarren Tucker <dtucker@zip.com.au>
Sun, 29 Jun 2003 11:30:41 +0000 (21:30 +1000)
committerDarren Tucker <dtucker@zip.com.au>
Sun, 29 Jun 2003 11:30:41 +0000 (21:30 +1000)
   flag modifications.

ChangeLog
configure.ac

index 37cbe9cf6320e890d9352b9da747318d6fd0d019..89ec48ffd6fbc18e0d78ba40dc5609ace8e0f9a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 20030629
- - (dtucker) Bug #602: move #include of netdb.h to after in.h (fixes compiler
-   warnings on Solaris 2.5.1).
+ - (dtucker) [includes.h] Bug #602: move #include of netdb.h to after in.h
+   (fixes compiler warnings on Solaris 2.5.1).
+ - (dtucker) [configure.ac] Add sanity test after system-dependant compiler
+   flag modifications.
    
 20030628
  - (djm) Bug #591: use PKCS#15 private key label as a comment in case 
  - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
    Report from murple@murple.net, diagnosis from dtucker@zip.com.au
 
-$Id: ChangeLog,v 1.2833 2003/06/29 11:23:37 dtucker Exp $
+$Id: ChangeLog,v 1.2834 2003/06/29 11:30:41 dtucker Exp $
index 0992744c1ccbe1a05618ce82404cb2d211e615a4..bf00443a01a9091ec7fc397b00cd659de4e18469 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.128 2003/06/28 02:54:33 dtucker Exp $
+# $Id: configure.ac,v 1.129 2003/06/29 11:30:41 dtucker Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([ssh.c])
@@ -438,6 +438,18 @@ AC_ARG_WITH(libs,
        ]       
 )
 
+AC_MSG_CHECKING(compiler and flags for sanity)
+AC_TRY_RUN([
+#include <stdio.h>
+int main(){exit(0);}
+       ],
+       [       AC_MSG_RESULT(yes) ],
+       [
+               AC_MSG_RESULT(no)
+               AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***])
+       ]
+)
+
 # Checks for header files.
 AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \
        getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \