mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...
Original commit message from CVS: * autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We require GNU make in almost every Makefile anyway. * configure.ac: Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o at the same time is required for per target flags.
This commit is contained in:
parent
016c84228c
commit
df28e0bdb6
3 changed files with 15 additions and 1 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* autogen.sh:
|
||||
Add -Wno-portability to the automake parameters to stop warnings
|
||||
about GNU make extensions being used. We require GNU make in almost
|
||||
every Makefile anyway.
|
||||
|
||||
* configure.ac:
|
||||
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
|
||||
at the same time is required for per target flags.
|
||||
|
||||
2008-01-09 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -96,7 +96,7 @@ tool_run "$autoheader"
|
|||
echo timestamp > stamp-h.in 2> /dev/null
|
||||
|
||||
tool_run "$autoconf"
|
||||
tool_run "$automake" "-a -c"
|
||||
tool_run "$automake" "-a -c -Wno-portability"
|
||||
|
||||
# if enable exists, add an -enable option for each of the lines in that file
|
||||
if test -f enable; then
|
||||
|
|
|
@ -74,6 +74,9 @@ AC_PROG_CC
|
|||
AM_PROG_CC_STDC
|
||||
AS="${CC}"
|
||||
|
||||
dnl check if the compiler supports '-c' and '-o' options
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
||||
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
||||
|
||||
|
|
Loading…
Reference in a new issue