search for: ac_lang_pop

Displaying 8 results from an estimated 8 matches for "ac_lang_pop".

2015 Feb 17
2
[LLVMdev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...ILITY_CXXFLAGS="-fvisibility=hidden" > - CXXFLAGS="$CXXFLAGS $VISIBILITY_CXXFLAGS" > - AC_LANG_PUSH([C++]) > - AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]), > - [VISIBILITY_CXXFLAGS="" ; AC_MSG_RESULT([no])]); > - AC_LANG_POP([C++]) > - > - # Restore CXXFLAGS; VISIBILITY_CXXFLAGS are added to it where needed. > - CXXFLAGS=$save_CXXFLAGS > - > # Work around aliasing bugs - developers should comment this out > CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" > > diff --git a/src/...
2015 Feb 26
2
[LLVMdev] [Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detection to configure
...t; - VISIBILITY_CXXFLAGS="-fvisibility=hidden" > - CXXFLAGS="$CXXFLAGS $VISIBILITY_CXXFLAGS" > - AC_LANG_PUSH([C++]) > - AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]), > - [VISIBILITY_CXXFLAGS="" ; AC_MSG_RESULT([no])]); > - AC_LANG_POP([C++]) > - > - # Restore CXXFLAGS; VISIBILITY_CXXFLAGS are added to it where needed. > - CXXFLAGS=$save_CXXFLAGS > - > # Work around aliasing bugs - developers should comment this out > CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" > > diff --git a/sr...
2013 Oct 06
1
R 3.1.0 and C++11
...at max:~/svn/r-devel$ svn di configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 64031) +++ configure.ac (working copy) @@ -906,6 +906,7 @@ AC_LANG_PUSH(C++) AC_OPENMP +AX_CXX_COMPILE_STDCXX_11(noext) AC_LANG_POP(C++) ### *** ObjC compiler edd at max:~/svn/r-devel$ After running 'aclocal -Im4; autoheader; autoconf', the configure test then properly detected C++11 (or, in one case, C++0x) on four different compilers: [ g++-4.7 case, Ubuntu 13.04 ] checking whether g++ supports C++11 fea...
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
2003 Mar 22
1
vorbis.m4 macro glitch
...vered a little error in vorbis.m4. The source for the test compile uses vorbis_encode_init() but does not include vorbisenc.h. This causes the test to fail when AC_LANG(C++) is used in my configure.ac script. For now my work-around is to surround the Ogg Vorbis tests with AC_LANG_PUSH(C) ... AC_LANG_POP(C) calls, but it should probably be fixed. Thanks, Davy --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe...
2012 Feb 28
0
[LLVMdev] [patch] atomic functions on darwin
...<libkern/OSAtomic.h> + #else volatile unsigned long val = 1; __sync_synchronize(); __sync_val_compare_and_swap(&val, 1, 0); __sync_add_and_fetch(&val, 1); __sync_sub_and_fetch(&val, 1); + #endif return 0; } ]]), AC_LANG_POP([C++]) AC_MSG_RESULT(yes) - AC_DEFINE(LLVM_HAS_ATOMICS, 1, Has gcc/MSVC atomic intrinsics), + AC_DEFINE(LLVM_HAS_ATOMICS, 1, Has gcc/MSVC/Apple atomic intrinsics), AC_MSG_RESULT(no) - AC_DEFINE(LLVM_HAS_ATOMICS, 0, Has gcc/MSVC atomic intrinsics) + AC_DEFINE(LLVM_HAS_ATOMICS, 0, Has gcc/M...
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
This reverts commit 2860f1780ca92c779ee0a2c545ae1b9c4818dc53. Conflicts: configure.ac Do not use -fgnu89-inline as it can emit duplicate symbols for inline functions that are declared in multiple object files being linked together. For example on clang 5.0 targetting iOS (clang advertises itself as gcc 4.2, the last GPL version of gcc) --- configure.ac | 12 ++++-------- 1 file changed, 4
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