Displaying 20 results from an estimated 46 matches for "ac_cv_c_compiler_gnu".
2012 Dec 12
0
[PATCH 3/5] configure: always print ac_cv_c_compiler_gnu
...>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1c936b3..abc1640 100644
--- a/configure.ac
+++ b/configure.ac
@@ -474,7 +474,7 @@ AC_MSG_RESULT([
Host OS : ............................. ${host_os}
])
-if test x$ac_cv_c_compiler_gnu = xyes ; then
echo " Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
+if test x$ac_cv_c_compiler_gnu = xyes ; then
echo " GCC version : ......................... ${GCC_VERSION}"
- fi
+fi
--
1.8.0.1.525.gaaf5ad5
2015 Apr 10
3
[PATCH] configure: only use -mstackrealign for mingw32
Tristan Matthews wrote:
> ---
> configure.ac | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index eb9b0cc..e7d68c3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -399,9 +399,11 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
>
> if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> XIPH_ADD_CFLAGS([-msse2])
> - XIPH_ADD_CFLAGS([-mstackrealign])
> fi
> + fi
>
> +if test "$host_os" = "mingw32" ; then
> + XIPH_ADD_CFLAGS([-mst...
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
...ting iOS
(clang advertises itself as gcc 4.2, the last GPL version of gcc)
---
configure.ac | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7f63a04..fa6f4fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -396,7 +396,7 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test x$enable_gcc_werror = "xyes" ; then
CFLAGS="$CFLAGS -Werror "
CXXFLAGS="$CXXFLAGS -Werror "
- fi
+ fi
XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
@@ -409,18 +409,14 @@ if test x$ac_cv_c_co...
2014 May 25
2
extend visibility attributes usage to osx builds
...Tested by cross-compiling on a linux host using
gcc-.4.0.2 and gcc-4.2.1 against 10.4 and 10.6 SDKs.
Regards.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 6d0fa00..d3c302a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -395,7 +395,6 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Winline -Wconversion
CXXFLAGS="$CX...
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
On Fri, Apr 10, 2015 at 1:40 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Tristan Matthews wrote:
>
> > if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> > XIPH_ADD_CFLAGS([-msse2])
> > - XIPH_ADD_CFLAGS([-mstackrealign])
> > + if test "$host_os" = "mingw32" ; then
>
2015 Apr 11
3
[PATCH] configure: only use -mstackrealign on mingw32/os2
And only for i686.
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..8dd5b0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,11 +399,16 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
fi
-
fi
+case "$host_os" in
+ "mingw32"|"os2")
+ if test "$host_cpu" = "i686"; then...
2009 Jun 18
1
cross compiling (arm)
...for the arm)
I run:
./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu
--cache-file=config.cache
These are some values from config.cache which I think are pertinent:
ac_cv_build=${ac_cv_build=x86_64-pc-linux-gnu}
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=yes}
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=armv5tel-softfloat-linux-gnueabi
acl_cv_path_LD=${acl_cv_path_LD='/usr/x86_...
2012 Dec 12
8
[PATCH 0/5] update 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 ac_cv_c_compiler_gnu
configure: merge AC_CHECK_HEADERS calls
configure: modernize autoconf usage
Makefile.am | 2 -
autogen.sh | 168 +--------------------------
configure.ac | 36 +++---
doc/Makefile.am...
2005 Sep 05
1
[PATCH] fix gcc 3.4 warnings
On Tue, Sep 06, 2005 at 08:54:18AM +1000, Jean-Marc Valin wrote:
> I usually compile with several warning flags, but I prefer not to impose
> any (especially since not everyone uses gcc!).
FWIW, configure is already checking to see whether the compiler is gcc
or not. There's an if clause in the configure scripts for ogg, vorbis,
theora, and other of our packages that uses this to add
2012 Dec 27
0
[PATCH 0/5] update build system
...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 ac_cv_c_compiler_gnu
> configure: merge AC_CHECK_HEADERS calls
> configure: modernize autoconf usage
>
> Makefile.am | 2 -
> autogen.sh | 168 +--------------------------
> configure.ac | 36 +++---
> d...
2014 May 25
2
replace -Wextra with -W
...with XIPH_ADD_CFLAGS([-Wextra]), so
this allows build using older compilers.
Regards.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 6d0fa00..cc5a247 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,8 +392,8 @@ fi
XIPH_GCC_VERSION
if test x$ac_cv_c_compiler_gnu = xyes ; then
- CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Winline -Wconversion
- CXXFLAGS="$CX...
2014 May 25
2
XIPH_C_COMPILER_IS_CLANG preventing many flags
XIPH_C_COMPILER_IS_CLANG in configury (commit a6a4b6f) is blocking
many flags including the visibility attributes: I guess this needs
relaxing, possibly a lot. What incompatibility led to this commit?
--
O.S.
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..4347c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,9 +399,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
+ if test "$host_os" = "mingw32" ; then
+ XIPH_ADD_CFLAGS([-mstackrealign])
+ fi
fi
-
fi
XIPH_ADD_CFLAGS([-...
2016 Jan 24
1
Wextra in configury
...ii) allows older gcc
versions to compile the tree peacefully. Please consider applying.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 99c471d..2ee2be0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -380,8 +380,8 @@ fi
XIPH_GCC_VERSION
if test x$ac_cv_c_compiler_gnu = xyes ; then
- CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
- CXXFLAGS="$CX...
2017 Feb 04
0
[PATCH] Clean up CFLAGS detecting code and add AX macro for _FORTIFY_SOURCE
...uot; && test "x${enable_flags_setting}" = "xyes"], [
- AC_PROG_SED
- CFLAGS=$(echo "$CFLAGS" | $SED 's/-O2//')
- CFLAGS="-O3 -funroll-loops $CFLAGS"
+ CFLAGS="-O3 -funroll-loops"
])
XIPH_GCC_VERSION
@@ -409,24 +407,7 @@ if test x$ac_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([
-...
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
2012 Dec 03
0
[PATCH 3/5] Hide symbols with gcc.
...| 13 +++++++++----
src/libFLAC/Makefile.am | 10 +++++++++-
src/test_libFLAC/Makefile.am | 2 +-
5 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index f4a31e4..3899d68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,9 +360,15 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test x$enable_gcc_werror = "xyes" ; then
CFLAGS="-Wall -Wextra -Werror $CFLAGS"
CXXFLAGS="-Wall -Wextra -Werror $CXXFLAGS"
- fi
fi
+ if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then
+ CPPFLA...
2013 Mar 15
22
[PATCH 00/09] arm: tools: build for arm64 and enable cross-compiling for both arm32 and arm64
The following patches shave some rough edges off the tools build system
to allow cross compiling for at least arm32 and arm64 based on the
Debian/Ubuntu multiarch infrastructure. They also add the necessary
fixes to build for arm64 (which I have only tried cross, not native).
I have posted some instructions on how to compile with these patches on
the wiki:
2004 Oct 27
0
[LLVMdev] Re: Patch for missing rand48 on win32
Morten Ofstad wrote:
>> Hi,
>>
>> There's no HAVE_RAND48 symbol provided by autoconf. You'll have to
>> add the appropriate check to autoconf/configure.ac before we can take
>> this patch.
I installed autoconf with cygwin now and I think I've managed to do this
right now -- there are some strange problems with running the
AutoRegen.sh script, so I
2004 Oct 26
2
[LLVMdev] Re: Patch for missing rand48 on win32
> Hi,
>
> There's no HAVE_RAND48 symbol provided by autoconf. You'll have to add
> the appropriate check to autoconf/configure.ac before we can take this
> patch.
Sorry I forgot to mention I didn't make any changes to the configure
script. The problem is that I can't test these things since I'm not on a
Unix platform, and I'm not even using the