Displaying 20 results from an estimated 76 matches for "ac_lang_program".
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
2
[LLVMdev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...ld 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}" = xyes; t...
2012 May 03
2
Portablility patch for openssh 6.0p1 configure.ac
...in something not a structure or union
sftp-server.c:510: error: request for member `val' in something not a structure or union
The patch is:
--- configure.ac.orig 2012-04-19 05:46:38.000000000 -0600
+++ configure.ac 2012-05-03 08:25:49.429260884 -0600
@@ -3236,6 +3236,7 @@
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/param.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
Thanks,
Pieter
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
])
2015 Feb 26
2
[LLVMdev] [Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...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}" = xyes; then
> + VI...
2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
...- exit(1);
+ return 1;
return 0;
}
]])],[rsync_cv_MAKEDEV_TAKES_3_ARGS=yes],[rsync_cv_MAKEDEV_TAKES_3_ARGS=no],[rsync_cv_MAKEDEV_TAKES_3_ARGS=no])])
@@ -647,6 +650,7 @@ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
AC_CACHE_CHECK([for SYS_fallocate],rsync_cv_have_sys_fallocate,[
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/syscall.h>
+#include <unistd.h>
#include <sys/types.h>]], [[syscall(SYS_fallocate, 0, 0, (loff_t)0, (loff_t)0);]])],[rsync_cv_have_sys_fallocate=yes],[rsync_cv_have_sys_fallocate=no])])
if test x"$rsync_cv_have_sys_fallocate" = x"yes"; then...
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
2009 Mar 10
2
[LLVMdev] linux mixed 32/64 systems
Currently the build systems sets ARCH based on the result of 'uname -m'.
On a mixed 32/64 system (one with a 64-bit kernel and a 32-bit
userspace) this will result in "x86_64" which is wrong.
We'd like the ARCH variable to represent the userspace we're compiling
in/for, not what the kernel happens to be.
Does anyone know of a clean way to detect this sort of system
2009 Mar 10
0
[LLVMdev] linux mixed 32/64 systems
...e ARCH variable to represent the userspace we're compiling
> in/for, not what the kernel happens to be.
>
> Does anyone know of a clean way to detect this sort of system
> configuration?
Cleanest way is probably to explicitly test if __x86_64__ is defined, ie
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[#ifndef __x86_64__
error: Not x86-64 even if uname says so!
#endif
]])],
[ARCH=x86_64],
[ARCH=i386])
Or in the alternative you can always key off sizeof(void *) == 8.
Cheers,
Nathan
2014 Jun 21
1
[PATCH 1/2] glamor: fix build without glamor.h
...igure.ac b/configure.ac
index c34e575..92e047a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,13 @@ XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
AC_MSG_CHECKING([whether to include GLAMOR support])
-if pkg-config --exists "xorg-server >= 1.15.99.901"
+
+AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
+[[
+ #include <glamor.h>
+]],[[]]),[found_glamor_header=yes],[found_glamor_header=no])
+
+if test "$found_glamor_header" = "yes" && pkg-config --exists "xorg-server >= 1.15.99.901"
then
AC_DEFINE(HAVE_GLAMOR, 1, [Build support for glamor accelera...
2016 Jan 27
1
opus-tools: fix PIE configure test
...DFLAGS="$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" Weisgerber...
2013 Nov 27
2
non-standard alloca.h
...06:27:54.930255200 +0000
+++ opus-1.1-beta/configure.ac 2013-07-31 06:28:56.746104800 +0000
@@ -99,9 +99,13 @@
AS_IF([test "$has_var_arrays" = "no"],
[
AC_CHECK_HEADERS([alloca.h])
+ AC_CHECK_HEADERS([malloc.h])
AC_MSG_CHECKING(for alloca)
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <alloca.h>]],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_ALLOCA_H
+ #include <alloca.h>
+ #endif
+ #include <malloc.h>]],...
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
...bility=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; then
> +...
2001 Sep 17
1
autoconf cleanup for AC_FUNC_GETPGRP and GETPGRP_VOID
...st.
+# Figure out whether getpgrp requires zero arguments.
AC_DEFUN([AC_FUNC_GETPGRP],
-[AC_CACHE_CHECK(whether getpgrp takes no argument, ac_cv_func_getpgrp_void,
+[AC_CACHE_CHECK(whether getpgrp requires zero arguments,
+ ac_cv_func_getpgrp_void,
[# Use it with a single arg.
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])],
- [ac_func_getpgrp_1=yes],
- [ac_func_getpgrp_1=no])
-# Use it with no arg.
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp ();])],
- [ac_func_getpgrp_0=yes],
- [ac_func_...
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
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
2014 Dec 09
1
[RFC PATCH v2] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...available, but the headers existed, the #include would succeed
but no functions would get defined. My arm_neon.h seems to be written
better than that, but I'd like to guard against other implementations
having similar problems (and keep things consistent with the SSE tests).
> + [AC_LANG_PROGRAM([[#include <arm_neon.h>]], [])],
You also need to include a call to an actual NEON intrinsic here. If the
function is not defined, even a call to it here will compile (with an
implicit declaration warning), but linking will fail.
> + [
> + OPUS_ARM_NEON_INTR=1
>...
2008 Apr 03
0
configure patch to check for SSE
...next part --------------
Index: configure.ac
===================================================================
--- configure.ac (revision 14652)
+++ configure.ac (working copy)
@@ -72,6 +72,22 @@
)
AC_MSG_RESULT($has_alloca)
+AC_MSG_CHECKING(for SSE in current arch/CFLAGS)
+AC_LINK_IFELSE([
+AC_LANG_PROGRAM([[
+#include <xmmintrin.h>
+__m128 testfunc(float *a, float *b) {
+ return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
+}
+]])],
+[
+has_sse=yes
+],
+[
+has_sse=no
+]
+)
+AC_MSG_RESULT($has_sse)
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
@@ -102,12 +118,19 @@
AC_DEFINE([ENAB...
2011 Sep 01
0
[PATCH 4/5] configure.ac: Add ARM NEON support
...++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 255c0b4..08d3d5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,23 @@ has_sse=no
)
AC_MSG_RESULT($has_sse)
+AC_MSG_CHECKING(for NEON in current arch/CFLAGS)
+AC_LINK_IFELSE([
+AC_LANG_PROGRAM([[
+#include <arm_neon.h>
+int32x4_t testfunc(int16_t *a, int16_t *b) {
+ return vmull_s16(vld1_s16(a), vld1_s16(b));
+}
+]])],
+[
+has_neon=yes
+],
+[
+has_neon=no
+]
+)
+AC_MSG_RESULT($has_neon)
+
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden"
AC_MS...