search for: ac_try_link

Displaying 20 results from an estimated 47 matches for "ac_try_link".

2006 Nov 19
2
SSL flags (was Re: [nut-commits] svn commit r593 - branches/deb_fixes_for_trunk)
Peter, Any objections to adding this to the trunk? When I run 'ldd upsc' without this patch, it lists the OpenSSL libraries, and the default ./configure setting is to not use OpenSSL. - Charles > Log: > If we are not using SSL_CFLAGS or SSL_LDFLAGS, do not add the OpenSSL libraries > to all of the binaries. > > > Modified: branches/deb_fixes_for_trunk/configure.in >
2002 Jan 04
1
Patch for 2.5.1 on Tru64 UNIX 5.x
Tru64 UNIX has getaddrinfo but not by that name. Including <netdb.h> #defines getaddrinfo to ogetaddrinfo or ngetaddrinfo which exists in /usr/shlib/libc.so. So, AC_CHECK_FUNC(getaddrinfo) isn't enough to test for getaddrinfo. Best to AC_TRY_LINK so the #define takes effect. -- albert chin (china@thewrittenword.com) -- snip snip --- configure.in.orig Thu Jan 3 19:03:54 2002 +++ configure.in Thu Jan 3 19:09:17 2002 @@ -273,7 +273,18 @@ AC_CHECK_FUNCS(inet_ntop, , AC_LIBOBJ(lib/inet_ntop)) AC_CHECK_FUNCS(inet_pton, , AC_LIBOBJ(lib/ine...
2002 Apr 03
2
cross compilation?
...], - [ - AC_MSG_RESULT(no) - AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME) - ] -) - # Check whether user wants S/Key support SKEY_MSG="no" AC_ARG_WITH(skey, @@ -469,11 +455,13 @@ SKEY_MSG="yes" AC_MSG_CHECKING([for s/key support]) - AC_TRY_RUN( + AC_TRY_LINK( [ -#include <stdio.h> -#include <skey.h> -int main() { char *ff = skey_keyinfo(""); ff=""; return 0; } + #include <stdio.h> + #include <skey.h> + ], + [ + char *ff = skey_keyinfo(""); ff=""; ], [...
2020 Oct 07
2
[PATCH] add with-openssl option
...4 +29,16 @@ else > > fi > > fi > > > > -# Now try linking to openssl > > -xt_save_CFLAGS="$CFLAGS" > > -xt_save_LIBS="$LIBS" > > -CFLAGS="$CFLAGS $OPENSSL_CFLAGS" > > -LIBS="$OPENSSL_LIBS $LIBS" > > -AC_TRY_LINK([#include <openssl/ssl.h>], [void *a = SSL_new], > > [openssl_ok='yes']) > > -CFLAGS="$xt_save_CFLAGS" > > -LIBS="$xt_save_LIBS" > > +if test "x$openssl_prefix" != "xno"; then > > + # Now try linking to openssl &...
2020 Oct 07
1
[PATCH] add with-openssl option
...t;>> > >>> -# Now try linking to openssl > >>> -xt_save_CFLAGS="$CFLAGS" > >>> -xt_save_LIBS="$LIBS" > >>> -CFLAGS="$CFLAGS $OPENSSL_CFLAGS" > >>> -LIBS="$OPENSSL_LIBS $LIBS" > >>> -AC_TRY_LINK([#include <openssl/ssl.h>], [void *a = SSL_new], > >>> [openssl_ok='yes']) > >>> -CFLAGS="$xt_save_CFLAGS" > >>> -LIBS="$xt_save_LIBS" > >>> +if test "x$openssl_prefix" != "xno"; then > >>...
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)
2020 Oct 05
0
[PATCH] add with-openssl option
...index f62a524..52308ec 100644 --- a/m4/xiph_openssl.m4 +++ b/m4/xiph_openssl.m4 @@ -29,14 +29,16 @@ else fi fi -# Now try linking to openssl -xt_save_CFLAGS="$CFLAGS" -xt_save_LIBS="$LIBS" -CFLAGS="$CFLAGS $OPENSSL_CFLAGS" -LIBS="$OPENSSL_LIBS $LIBS" -AC_TRY_LINK([#include <openssl/ssl.h>], [void *a = SSL_new], [openssl_ok='yes']) -CFLAGS="$xt_save_CFLAGS" -LIBS="$xt_save_LIBS" +if test "x$openssl_prefix" != "xno"; then + # Now try linking to openssl + xt_save_CFLAGS="$CFLAGS" + xt_sav...
2020 Oct 07
0
[PATCH] add with-openssl option
...t; fi >>> fi >>> >>> -# Now try linking to openssl >>> -xt_save_CFLAGS="$CFLAGS" >>> -xt_save_LIBS="$LIBS" >>> -CFLAGS="$CFLAGS $OPENSSL_CFLAGS" >>> -LIBS="$OPENSSL_LIBS $LIBS" >>> -AC_TRY_LINK([#include <openssl/ssl.h>], [void *a = SSL_new], >>> [openssl_ok='yes']) >>> -CFLAGS="$xt_save_CFLAGS" >>> -LIBS="$xt_save_LIBS" >>> +if test "x$openssl_prefix" != "xno"; then >>> + # Now try linki...
2002 Apr 09
3
getaddrinfo.c error compiling rsync on tru64 5.1A
i've applied albert chin's patch on configure.in file: http://lists.samba.org/pipermail/rsync/2002-January/005726.html, but i still getting the error: cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not declared. (undeclared) thanks for any advice Martin Sigilfredo _________________________________________________________________ Join the world’s
2012 Dec 12
8
[PATCH 0/5] update build system
This patch series modernizes various aspects of the autotools based build system. There is a lot more that could and should be done, but I tried to stay conservative for now and just resolve some of the most obvious issues. Max Horn (5): configure: replace XIPH_C_FIND_ENDIAN by AC_C_BIGENDIAN autogen.sh: replace this by a simple call to autoreconf configure: always print
2003 Aug 30
1
Fink's vorbis-tools patch
...ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.curltest ; then - : - else - echo "*** Could not run libcurl test program, checking why..." - CFLAGS="$CFLAGS $CURL_CFLAGS" - LIBS="$LIBS $CURL_LIBS" - AC_TRY_LINK([ + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + if test "x$no_curl" = "x" ; then + AC_MSG_RESULT(yes) + ifelse([$1], , :, [$1]) + else + AC_MSG_RESULT(no) + if test -f conf.curltest ; then +...
2019 Nov 15
1
Re: [PATCH libnbd v2 2/2] api: Implement local command with systemd socket activation.
...ac +++ b/configure.ac @@ -79,10 +79,6 @@ AC_CHECK_HEADERS([\ AC_CHECK_HEADERS([linux/vm_sockets.h], [], [], [#include <sys/socket.h>]) -dnl Check for functions, all optional. -AC_CHECK_FUNCS([\ - execvpe]) - dnl Check for sys_errlist (optional). AC_MSG_CHECKING([for sys_errlist]) AC_TRY_LINK([], [extern int sys_errlist; char *p = &sys_errlist;], [ diff --git a/generator/states-connect-socket-activation.c b/generator/states-connect-socket-activation.c index 243ba36..ee08dff 100644 --- a/generator/states-connect-socket-activation.c +++ b/generator/states-connect-socket-activation.c...
2007 Dec 12
0
Patch to make libogg detection a bit smarter
...ssible without som hacking of Speex build scripts, because if cross-compiling enabled speex silently assume that you have libogg compiled and installed. Such behaviour was used (as far as I could imagine) because with AC_TRY_RUN() syntax it is the simplest way. My patch try to link with libogg with AC_TRY_LINK() first and only if it succeed it go with AC_TRY_RUN(). So, if you do not have libogg compiled and installed, test will fail. In other cases it should behave the same way as before. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617)...
2002 Jul 19
0
SOLUTION :to can't copy files to samba volume
...-lattr" before the check for acl_get_file (at around line 2596, so it looks like: LIBS="$LIBS -lattr" AC_CHECK_LIB(acl,acl_get_file) AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACL S,[ AC_TRY_LINK([#include <sys/types.h> ran "autoconf" to rebuild the configure.in file, and repackaged the samba tree into the tarball so I could have RPM build things for me. It all worked great, though changing ACL's from win2k does NOT stick. I'm not sure if this is "normal"...
2002 Jan 18
1
[patch] openssh 3.0.2p1: Libwrap gets linked in unnecessarily
...sh-3.0.1p1/configure.ac Wed Dec 19 21:37:19 2001 @@ -546,7 +546,8 @@ AC_ARG_WITH(tcp-wrappers, CPPFLAGS="-I${withval} ${CPPFLAGS}" fi fi - LIBS="-lwrap $LIBS" + LIBWRAP="-lwrap" + LIBS="$LIBS $LIBWRAP" AC_MSG_CHECKING(for libwrap) AC_TRY_LINK( [ @@ -557,12 +558,14 @@ AC_ARG_WITH(tcp-wrappers, [ AC_MSG_RESULT(yes) AC_DEFINE(LIBWRAP) + AC_SUBST(LIBWRAP) TCPW_MSG="yes" ], [ AC_MSG_ERROR([*** libwrap missing]) ] ) + LIBS="$saved_LIBS" fi ] )
2002 Apr 03
3
Do you like rsync 2.5.5?
I'd very much like to get a stable 2.5 release out so that people can upgrade their production machines with confidence and so that distributors can freeze it. I know some people are still running 2.4.6 (+backports) for understandable reasons, but it would be good to give them the option to upgrade and avoid the hang bug. After this we can perhaps move on to 2.6 and be a bit more liberal in
2013 Mar 12
2
Can't cross-compile from git now.
Erik de Castro Lopo wrote: > JonY wrote: > > > Please do a link time test instead, I am not getting this error and > > would like to keep stack protector on. > > I'll write an m4 macro. I have attampted to write a macro that reliably detects the availability of stack smash protection. I currently have two configurations where my detection says that SSP is available
2001 Oct 07
3
socks and misc patch to 2.9.9p2
...s was compiled with Kerberos support, we will need + # to link against kerberos libraries. Temporarily append + # to LIBS. This is harmless if there is no kerberos support. + TMPLIBS="$LIBS" + LIBS="$LIBS $KERBEROS_LIBS" + AC_TRY_LINK([], + [ SOCKSconnect(); ], + [], + [ AC_MSG_ERROR(Could not find the $withval library. You must first install socks5.) ]) + LIBS="$TMPLIBS" + ;; + esac ], + AC_MSG_RESULT(no) +...
2010 Feb 12
1
[RFC] add support for fallocate()
...@@ -761,6 +761,15 @@ if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [Define to 1 if gettimeofday() takes a time-zone arg]) fi +AC_CACHE_CHECK([if fallocate with mode FALLOC_FL_KEEP_SIZE is available],rsync_cv_HAVE_FALLOCATE,[ +AC_TRY_LINK([#include <fcntl.h> +#include <linux/falloc.h>], +[exit(fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 10));], +rsync_cv_HAVE_FALLOCATE=yes,rsync_cv_HAVE_FALLOCATE=no)]) +if test x"$rsync_cv_HAVE_FALLOCATE" != x"no"; then + AC_DEFINE(HAVE_FALLOCATE, 1, [Define to 1 if fallo...
2004 Oct 13
0
[LLVMdev] RESOLVED: [LLVMbugs] [Bug 451] Libtool does not create libNAME.$(SHLIBEXT) files when building dynamic libs
...vm/autoconf/ltmain.sh 4. Adjust the llvm/autoconf/m4/libtool.m4 file to ensure that the variable default_ofile is set to "mklib" instead of "libtool" 5. Possibly adjust llvm/autoconf/m4/libtool.m4 to get rid of autoconf warnings related to obsolete autconf features (e.g. AC_TRY_LINK) ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ LLVMbugs mailing list LLVMbugs at cs.uiuc.edu http://mail.cs.uiuc.edu/mailman/listinfo/llvmbugs