search for: ac_try_compil

Displaying 20 results from an estimated 36 matches for "ac_try_compil".

Did you mean: ac_try_compile
2016 Mar 30
2
[Bug 11813] New: m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro
https://bugzilla.samba.org/show_bug.cgi?id=11813 Bug ID: 11813 Summary: m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 Component: core Assignee: wayned at samba.org Reporter: brant at gurganus.name Q...
2009 Oct 03
2
[Bug 1658] New: configure.ac AC_TRY_COMPILE() causes failure with autoconf-2.64
https://bugzilla.mindrot.org/show_bug.cgi?id=1658 Summary: configure.ac AC_TRY_COMPILE() causes failure with autoconf-2.64 Product: Portable OpenSSH Version: 5.2p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo:...
1999 Dec 30
4
ANNOUNCE: openssh-1.2.1pre23
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre23 is available on: http://violet.ibs.com.au/openssh/files/ Highlights of this release: - - A cleanup of the PAM code (it now lives in auth-pam.[ch]). This also fixes a bug where sshd was ignoring a "PermitRootLogin without-password" directive. - - David Randkin's SOCKS support using the Dante libraries. I have not
1999 Dec 30
4
ANNOUNCE: openssh-1.2.1pre23
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre23 is available on: http://violet.ibs.com.au/openssh/files/ Highlights of this release: - - A cleanup of the PAM code (it now lives in auth-pam.[ch]). This also fixes a bug where sshd was ignoring a "PermitRootLogin without-password" directive. - - David Randkin's SOCKS support using the Dante libraries. I have not
2001 Aug 21
0
[patch] 64 bit types in bitypes.h
...i +# if we didn't find int64_t and u_int64_t in sys/types.h but there is +# a sys/bitypes.h, check it too. +if (test -z "$have_int64_t" && \ + test "x$ac_cv_header_sys_bitypes_h" = "xyes") +then + AC_MSG_CHECKING([for int64_t in sys/bitypes.h]) + AC_TRY_COMPILE( + [ #include <sys/bitypes.h> ], + [ int64_t a; a = 1;], + [ ac_cv_have_int64_t="yes" ], + [ ac_cv_have_int64_t="no" ] + ) + if test "x$ac_cv_have_int64_t" = "xyes" ; then + AC_DEFINE(HAVE_INT64_T) + AC_MSG_RESULT([yes]) + have_int64_t=1 + else...
2000 Jan 18
0
More NetBSD patches
...= "/usr"; then - CFLAGS="$CFLAGS -I$ssldir/include" - LDFLAGS="$LDFLAGS -L$ssldir/lib" -fi -AC_MSG_RESULT($ssldir) + ;; +esac dnl Check for RSAref library. AC_MSG_CHECKING([for RSAref library]) @@ -246,7 +251,10 @@ AC_MSG_CHECKING([for struct sockaddr_storage]) AC_TRY_COMPILE( - [#include <sys/socket.h>], + [ +#include <sys/types.h> +#include <sys/socket.h> + ], [struct sockaddr_storage s;], [ AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE) @@ -257,7 +265,10 @@ AC_MSG_CHECKING([for struct sockaddr_in6]) AC_TRY_COMPILE( - [#include <netinet/in.h&...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the #ifdef from config.h.in to there. several files had __progname defined in the middle of the code, as well as at the top of the code, so cleaned those out. all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus added appropriate
2004 Oct 21
3
1.0-test51
http://dovecot.org/test/ This release is built with autoconf 2.59 and libtool 1.9. We'll see how it works out :) The required changes were done by Matthias Andree. - The last fix for connection hanging made IDLE use 100% CPU - We don't use Maildir/.INBOX/ directory anymore, indexes are stored in Maildir-root - Don't crash with FETCH BODY[n.MIME] - Changed %p (protocol)
2001 May 21
1
2.9p1 patches
...== 1) + ? 1 : -1]; + ]]) + +dnl Internal subroutine of AC_SYS_LARGEFILE. +dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY) +AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE, + [AC_CACHE_CHECK([for $1 value needed for large files], $3, + [$3=no + AC_TRY_COMPILE([$5], + [$6], + , + [AC_TRY_COMPILE([#define $1 $2] +[$5] + , + [$6], + [$3=$2])])]) + if test "[$]$3" != no; then + AC_DEFINE_UNQUOTED([$1], [$]$3, [$4]) + fi]) + +AC_DEFUN(AC_SYS_LARGEFILE, + [AC_REQUIRE([AC_PROG_CC]) + AC_ARG_ENABLE(largefile, + [ --disable-l...
2007 Apr 15
1
dovecot pam const
...that may come out. Here is the autoconf test I use in pam_otp_auth: --8<-- # Check PAM headers for brokenness otp_CFLAGS="$CFLAGS" # save CFLAGS="$CFLAGS $EXTRA_CFLAGS -Werror" # Linux-PAM has (incorrectly) overdone const AC_MSG_CHECKING(for extra const in PAM headers) AC_TRY_COMPILE([#include <security/pam_appl.h>], [ pam_handle_t *pamh = NULL; char *item; pam_get_item(pamh, PAM_SERVICE, (void **) &item); ], [ AC_MSG_RESULT(no) DEFINES="...
2002 Jun 05
0
Build problems with 3.2.3p1 under Tru64 UNIX 4.0D
...t thewrittenword.com) -- snip snip --- configure.ac.orig Wed May 29 17:51:40 2002 +++ configure.ac Tue Jun 4 18:02:20 2002 @@ -1045,7 +1024,20 @@ AC_DEFINE(HAVE_INT64_T) have_int64_t=1 fi - + +if test -z "$have_int64_t" ; then + AC_MSG_CHECKING([for int64_t type in stdint.h]) + AC_TRY_COMPILE( + [ #include <stdint.h> ], + [ int64_t a; a = 1], + [ + AC_DEFINE(HAVE_INT64_T) + AC_MSG_RESULT(yes) + ], + [ AC_MSG_RESULT(no) ] + ) +fi + if test -z "$have_int64_t" ; then AC_MSG_CHECKING([for int64_t type in sys/socket.h]) AC_TRY_COMPILE( --- includes.h.orig T...
2007 Nov 26
1
Enable gcc's -fstack-protector-all by default?
...configure.ac 26 Nov 2007 09:30:15 -0000 @@ -105,6 +105,15 @@ if test "$GCC" = "yes" || test "$GCC" = *) ;; esac + AC_MSG_CHECKING(if $GCC understands -fstack-protector-all) + saved_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fstack-protector-all" + AC_TRY_COMPILE([], [ int main(void){return 0;} ], + [ AC_MSG_RESULT(yes) ], + [ AC_MSG_RESULT(no) + CFLAGS="$saved_CFLAGS" ] + ) + if test -z "$have_llong_max"; then # retry LLONG_MAX with -std=gnu99, needed on some Linuxes unset ac_cv_have_decl_LLONG_MAX -- Darren Tuc...
1999 Dec 23
0
Patch to make pre19 work with NetBSD
...ISABLE_LASTLOG) struct lastlog ll; char *lastlog; int fd; --- configure.in.orig Thu Dec 23 13:41:02 1999 +++ configure.in Thu Dec 23 13:48:33 1999 @@ -151,6 +151,18 @@ [AC_MSG_RESULT(no)] ) +dnl On NetBSD (at least), lastlog is in utmp.h +AC_MSG_CHECKING([For struct lastlog in utmp.h]) +AC_TRY_COMPILE( + [#include <utmp.h>], + [struct lastlog c; c.ll_time = 0;], + [ + AC_DEFINE(HAVE_LASTLOG) + AC_MSG_RESULT(yes) + ], + [AC_MSG_RESULT(no)] +) + dnl Check PAM strerror arguments AC_MSG_CHECKING([whether pam_strerror takes only one argument]) AC_TRY_COMPILE(
1999 Dec 28
2
autoconf check for socklen_t
...er, about the uncast connect, accept and bind calls. context diff on 1.2.1pre21 *** configure.in~ Sat Dec 25 18:21:48 1999 --- configure.in Mon Dec 27 00:55:17 1999 *************** *** 180,185 **** --- 180,197 ---- [AC_MSG_RESULT(no)] ) + AC_MSG_CHECKING([For socklen_t]) + AC_TRY_COMPILE( + [#include <sys/types.h>], + [#include <sys/socket.h>], + [socklen_t foo; foo = 1235;], + [ + AC_DEFINE(HAVE_SOCKLEN_T) + AC_MSG_RESULT(yes) + ], + [AC_MSG_RESULT(no)] + ) + dnl Check PAM strerror arguments AC_MSG_CHECKING([whether pam_strerror takes only one argument...
2001 Oct 30
1
[PATCH] for solaris 2.6
...trieving revision 1.3 diff -u -r1.3 configure.ac --- configure.ac 2001/10/27 17:45:37 1.3 +++ configure.ac 2001/10/30 18:42:57 @@ -24,6 +24,32 @@ # System features AC_SYS_LARGEFILE +if test "$ac_cv_sys_file_offset_bits" != no; then + AC_MSG_CHECKING(if _LARGEFILE64_SOURCE is needed) + AC_TRY_COMPILE( + [ +#include "confdefs.h" +#include <sys/resource.h> + ], + [ struct rlimit rlim; ], + [ AC_MSG_RESULT(no) ], + [ + AC_TRY_COMPILE( + [ +#include "confdefs.h" +#define _LARGEFILE64_SOURCE +#include <sys/resource.h> + ], + [ struct rlimit rlim; ], +...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
..._DEFINE(BROKEN_SNPRINTF) ], + [ AC_DEFINE(BROKEN_SNPRINTF) ] ) fi AC_SUBST(NO_SFTP) @@ -1523,13 +1531,16 @@ dnl make sure we're using the real structure members and not defines AC_CACHE_CHECK([for msg_accrights field in struct msghdr], ac_cv_have_accrights_in_msghdr, [ - AC_TRY_RUN( + AC_TRY_COMPILE( [ #include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> + ], + [ int main() { #ifdef msg_accrights +#error "msg_accrights is a macro" exit(1); #endif struct msghdr m; @@ -1547,13 +1558,16 @@ AC_CACHE_CHECK([for msg_control field in struct...
2015 Apr 08
10
Build-system cleanups
Hi everyone Following are a number of build-system cleanup patches. Some of them are prep-work for a possible upcoming automake/gnulib introduction. Best regards, Tiziano
2015 Jun 28
2
[Bug 11369] New: obsoleted autoconf macros
...ter: brant at gurganus.name QA Contact: rsync-qa at samba.org There are a few autoconf macros in use deemed obsolete upstream with straight forward alternatives. The autoscan tool can correct most of them, but there are two that take a little bit of code analysis. Most items are replacing AC_TRY_COMPILE with AC_COMPILE_IFELSE. Of those taking a bit more code analysis, there is the assessment by the autoconf developers that sufficient time has passed that you can assume the signal return type. In other words, it's my understanding that instead of having it return RETSIGTYPE and having autocon...
2004 Jan 25
3
[Bug 673] skeychallenge call has 4 args in NetBSD
http://bugzilla.mindrot.org/show_bug.cgi?id=673 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |793 nThis| | Status|NEW |ASSIGNED ------- Additional
2005 Sep 30
4
[Bug 1097] Cross-compile fixes
http://bugzilla.mindrot.org/show_bug.cgi?id=1097 Summary: Cross-compile fixes Product: Portable OpenSSH Version: -current Platform: Other OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: dtucker at zip.com.au