Displaying 20 results from an estimated 75 matches for "ac_link_ifelse".
2015 Feb 17
2
[LLVMdev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...ility=no ?
I would like to test w/o your patches.
- Sedat -
> - save_CFLAGS="$CFLAGS"
> - AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
> - VISIBILITY_CFLAGS="-fvisibility=hidden"
> - CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
> - AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]),
> - [VISIBILITY_CFLAGS=""; AC_MSG_RESULT([no])]);
> -
> - # Restore CFLAGS; VISIBILITY_CFLAGS are added to it where needed.
> - CFLAGS=$save_CFLAGS
> + if test "x${ax_cv_have_func_attribute_visibility...
2013 Feb 05
5
[Bug 2011] sandbox selection needs some kind of fallback mechanism
https://bugzilla.mindrot.org/show_bug.cgi?id=2011
--- Comment #8 from Petr Lautrbach <plautrba at redhat.com> ---
Created attachment 2214
--> https://bugzilla.mindrot.org/attachment.cgi?id=2214&action=edit
don't probe seccomp capability of running kernel in configure
I'd like to add also possibility to build seccomp_filter sandbox on
system with older kernel, E.g. Fedora
2018 Jun 08
4
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
...ntly yes. not generally, though.
[...]
> What's *intended* re: openssh? Support for LD=ld or only =gcc, or undef'd ?
Well the intent is you should be able to set CC and LD to whatever you
want as long as they work. In this case, the OSSH_CHECK_LDFLAG_LINK
test invokes autoconf's AC_LINK_IFELSE with uses CC not LD. I'm not
sure what to do about it yet though.
--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
2015 Feb 26
2
[LLVMdev] [Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...supports it
As spotted by Sedat, please update the comment.
> - save_CFLAGS="$CFLAGS"
> - AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
> - VISIBILITY_CFLAGS="-fvisibility=hidden"
> - CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
> - AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]),
> - [VISIBILITY_CFLAGS=""; AC_MSG_RESULT([no])]);
> -
> - # Restore CFLAGS; VISIBILITY_CFLAGS are added to it where needed.
> - CFLAGS=$save_CFLAGS
> + if test "x${ax_cv_have_func_attribute_visibility}" = xye...
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)
2015 Feb 17
7
[LLVMdev] [PATCH 0/2 v3] add visibility hidden to tls entry points
Patch 1 adds a check for the compilers visibility macro to configure.ac.
Patch 2 avoids redefined symbol errors in clang of the tls entry points.
Based on a suggestion from Rafael Ávila de Espíndola <rafael.espindola at gmail.com>
in http://llvm.org/bugs/show_bug.cgi?id=19778.
Tested with gcc 4.9 and clang 3.6(rc)
Marc Dietrich (2):
configure: add visibility macro detection to configure
2017 Feb 04
0
[PATCH] Clean up CFLAGS detecting code and add AX macro for _FORTIFY_SOURCE
...c_cv_c_compiler_gnu = xyes ; then
dnl some distributions (such as Gentoo) have _FORTIFY_SOURCE always
dnl enabled. We test for this situation in order to prevent polluting
dnl the console with messages of macro redefinitions.
- AC_MSG_CHECKING([whether to add -D_FORTIFY_SOURCE=2 to CFLAGS])
- AC_LINK_IFELSE([
- AC_LANG_SOURCE(
- [[
- int main() {
- #ifndef _FORTIFY_SOURCE
- return 0;
- #else
- this_is_an_error;
- #endif
- }
- ]]
- )], [
- AC_MSG_RESULT([yes])
- XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
- ], [
- AC_MSG_RESULT([no])
- ])
+ AX_ADD_FORTIFY_SOURCE
AC_L...
2016 Jan 27
1
opus-tools: fix PIE configure test
...quot;
saved_LDFLAGS="$LDFLAGS"
saved_LIBS="$LIBS"
- CFLAGS="$CFLAGS -fPIE"
+ CFLAGS="$CFLAGS $OPUS_CFLAGS -fPIE"
LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
LIBS="$LIBS $OPUS_LIBS"
AC_MSG_CHECKING([for PIE support])
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <opus/opus.h>]],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <opus.h>]],
[[OpusDecoder *dec = opus_decoder_create(48000, 2, 0L)]])],
[ AC_MSG_RESULT([yes]) ],
[ AC_MSG_RESULT([no])
--
Christian "naddy"...
2017 Feb 04
3
Minor CFLAGS-related cleanups
Hi Erik,
similar to what I did for libsndfile, this is to simplify the
handling of adding -D_FORTIFY_SOURCE=2.
Regards
David
2018 Jun 08
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
...Thu, Jun 07, 2018 at 06:14:42PM -0700, PGNet Dev wrote:
> On 6/7/18 6:08 PM, Darren Tucker wrote:
> > Well the intent is you should be able to set CC and LD to whatever you
> > want as long as they work. In this case, the OSSH_CHECK_LDFLAG_LINK
> > test invokes autoconf's AC_LINK_IFELSE with uses CC not LD. I'm not
> > sure what to do about it yet though.
I don't see a way to get AC_LINK_IFELSE to use $LD rather than $CC,
but I think we can prevent this problem by detecting the unsupported
option earlier. Please try this diff. It should also prevent the
warnings...
2018 Apr 18
3
[PATCH] configure.ac/cipher.c: Check for OpenSSL with EVP_des_ede3_cbc
...,
diff --git a/configure.ac b/configure.ac
index 889f506..6c664ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2672,6 +2672,26 @@ if test "x$openssl" = "xyes" ; then
]
)
+ # Check for OpenSSL with EVP_des_ede3_cbc
+ AC_MSG_CHECKING([whether OpenSSL has DES support])
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([[
+ #include <string.h>
+ #include <openssl/evp.h>
+ ]], [[
+ exit(EVP_des_ede3_cbc() == NULL);
+ ]])],
+ [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([OPENSSL_HAVE_DES], [1],
+ [libcrypto has DES support])
+ ],
+ [
+ AC_MSG_RESULT([no])
+ ]
+ )
+
+
# Check for Open...
2012 Dec 21
2
more compiler safety flags
...d
+dnl 'check_flag'.
+AC_DEFUN([OSSH_CHECK_LDFLAG_LINK], [{
+ AC_MSG_CHECKING([if $LD supports $1])
+ saved_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $1"
+ _define_flag="$2"
+ test "x$_define_flag" = "x" && _define_flag="$1"
+ AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])],
+ [ AC_MSG_RESULT([yes])
+ LDFLAGS="$saved_LDFLAGS $_define_flag"],
+ [ AC_MSG_RESULT([no])
+ LDFLAGS="$saved_LDFLAGS" ]
+ )
+}])
dnl OSSH_CHECK_HEADER_FOR_FIELD(field, header, symbol)
dnl Does AC_EGREP_HEADER on ...
2012 Jul 04
0
[xen-unstable test] 13460: regressions - FAIL
...d AC_LANG_SOURCE as suggested
by upstream documentation.
...
# bash autogen.sh
configure.ac:141: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded fro...
2016 Aug 01
2
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The same result without CFLAGS:
configure:17300: checking for mblen
configure:17356: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
-fstack-protector-strong -fPIE
2014 Jul 30
2
[PATCH libdrm] configure: Support symbol visibility when available
...# Enable -fvisibility=hidden if using a gcc that supports it
> + save_CFLAGS="$CFLAGS"
> + AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
> + VISIBILITY_CFLAGS="-fvisibility=hidden"
> + CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
> + AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]),
> + [VISIBILITY_CFLAGS=""; AC_MSG_RESULT([no])]);
> +
> + # Restore CFLAGS; VISIBILITY_CFLAGS are added to it where needed.
> + CFLAGS=$save_CFLAGS
> +
> + if test "x$VISIBILITY_CFLAGS" != x;...
2006 Mar 14
2
Problem compiling openssh-4.3p2 w/ openssl.0.9.8a on FC3
Hi there,
I have tried compiling OpenSSH 4.3p2 using the following steps:
Upgrade OpenSSL
tar xvfz openssl-0.9.8a.tar.gz
cd openssl-0.9.8a
./config
make
make install
Upgrade zlib
tar xvfz zlib-1.2.3.tar.gz
./configure
make test
make install
Upgrade OpenSSH
tar xvfz openssh-4.3p2.tar.gz
cd openssh-4.3p2.tar.gz
./configure --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl
2014 Jul 30
3
[PATCH] libdrm: hide all private symbols
On 30/07/14 11:16, Christian K?nig wrote:
> [CCing Emil as well]
>
> Am 30.07.2014 um 11:38 schrieb Maarten Lankhorst:
>> Using -export-symbols-regex all private symbols are hidden, resulting in the
>> following changes:
>
> Wasn't "-export-symbols-regex" exactly that stuff we are trying to avoid in mesa?
>
IMHO we should try to pick up Thierry
2013 Mar 22
1
additional compiler hardening flags
...d
+dnl 'check_flag'.
+AC_DEFUN([OSSH_CHECK_LDFLAG_LINK], [{
+ AC_MSG_CHECKING([if $LD supports $1])
+ saved_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $1"
+ _define_flag="$2"
+ test "x$_define_flag" = "x" && _define_flag="$1"
+ AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])],
+ [ AC_MSG_RESULT([yes])
+ LDFLAGS="$saved_LDFLAGS $_define_flag"],
+ [ AC_MSG_RESULT([no])
+ LDFLAGS="$saved_LDFLAGS" ]
+ )
+}])
dnl OSSH_CHECK_HEADER_FOR_FIELD(field, header, symbol)
dnl Does AC_EGREP_HEADER on ...
2017 Jun 18
3
Unable to use nut-2.7.4 with Eaton 5E1500I USB
...> configure.ac:887: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> /usr/share/aclocal...
2018 Nov 19
2
[PATCH] openssl-compat: Test for OpenSSL_add_all_algorithms before using.
OpenSSL 1.1.0 has deprecated this function.
---
configure.ac | 1 +
openbsd-compat/openssl-compat.c | 2 ++
openbsd-compat/openssl-compat.h | 4 ++++
3 files changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index 3f7fe2cd..db2aade8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2710,6 +2710,7 @@ if test "x$openssl" = "xyes" ; then
])