Bugzilla – Attachment 77 Details for
Bug 213
-SNAP-20020410 fails to compile under AIX 4.3.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
My first ever attempt at an autoconf/autoheader configuration based on the above recommendation! Can someone knowlegable review with a view to having this committed? Thanks.
aix-xlc.patch (text/plain), 1.10 KB, created by
Doug Manton
on 2002-04-17 00:54:11 AEST
(
hide
)
Description:
My first ever attempt at an autoconf/autoheader configuration based on the above recommendation! Can someone knowlegable review with a view to having this committed? Thanks.
Filename:
MIME Type:
Creator:
Doug Manton
Created:
2002-04-17 00:54:11 AEST
Size:
1.10 KB
patch
obsolete
>--- configure.ac Tue Apr 16 05:10:11 2002 >+++ ../openssh-SNAP-20020416/configure.ac Tue Apr 16 15:14:11 2002 >@@ -602,6 +602,21 @@ > [AC_CHECK_LIB(ucb, getpagesize, [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])] > ) > >+# Check if the system defined ALIGN works >+dnl compiler_chokes_on_system_align >+AC_MSG_CHECKING([if your compiler chokes on system ALIGN]) >+AC_TRY_COMPILE([ >+#include <sys/socket.h> >+#ifndef ALIGN >+#define ALIGN(p) p >+#endif >+ ], >+ [ char tmp[ALIGN(1)]; ], >+ [ AC_MSG_RESULT(no) ], >+ [ AC_MSG_RESULT(yes) >+ AC_DEFINE(COMPILER_CHOKES_ON_SYSTEM_ALIGN)] >+) >+ > # Check for broken snprintf > if test "x$ac_cv_func_snprintf" = "xyes" ; then > AC_MSG_CHECKING([whether snprintf correctly terminates long strings]) >--- acconfig.h Sat Apr 13 02:04:41 2002 >+++ ../openssh-SNAP-20020416/acconfig.h Tue Apr 16 15:16:31 2002 >@@ -61,6 +61,9 @@ > /* Define if your snprintf is busted */ > #undef BROKEN_SNPRINTF > >+/* Define if your compiler chokes on system ALIGN */ >+#undef COMPILER_CHOKES_ON_SYSTEM_ALIGN >+ > /* Define if you are on Cygwin */ > #undef HAVE_CYGWIN >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213
:
71
| 77 |
78