mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly in...
Original commit message from CVS: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly involved supporting ISO style variable-argument macros.
This commit is contained in:
parent
1c7d5ad0d8
commit
65d0e5af3d
2 changed files with 15 additions and 11 deletions
10
configure.ac
10
configure.ac
|
@ -41,12 +41,16 @@ AM_PROG_AS
|
||||||
AS="${CC}"
|
AS="${CC}"
|
||||||
|
|
||||||
dnl decide on error flags
|
dnl decide on error flags
|
||||||
AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",GST_ERROR="$GST_ERROR")
|
AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
|
||||||
|
|
||||||
|
if test "x$GST_WALL" = "xyes"; then
|
||||||
|
GST_ERROR="$GST_ERROR -Wall"
|
||||||
|
|
||||||
if test "x$GST_CVS" = "xyes"; then
|
if test "x$GST_CVS" = "xyes"; then
|
||||||
AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
|
AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
|
||||||
|
fi
|
||||||
|
|
||||||
# Only set these optimization flags if gcc is being used.
|
dnl set gcc-style optimization flags if using the gnu compiler.
|
||||||
#
|
|
||||||
GST_FUNROLL_CFLAGS="$GST_FUNROLL_CFLAGS -funroll-all-loops"
|
GST_FUNROLL_CFLAGS="$GST_FUNROLL_CFLAGS -funroll-all-loops"
|
||||||
GST_FINLINE_CFLAGS="$GST_FINLINE_CFLAGS -finline-functions"
|
GST_FINLINE_CFLAGS="$GST_FINLINE_CFLAGS -finline-functions"
|
||||||
GST_FFASTMATH_CFLAGS="$GST_FFASTMATH_CFLAGS -ffast-math"
|
GST_FFASTMATH_CFLAGS="$GST_FFASTMATH_CFLAGS -ffast-math"
|
||||||
|
|
|
@ -84,7 +84,7 @@ inline int ShiftRight (int x, const unsigned char s)
|
||||||
px et py indique la nouvelle position (en sqrtperte ieme de pixel)
|
px et py indique la nouvelle position (en sqrtperte ieme de pixel)
|
||||||
(valeur * 16)
|
(valeur * 16)
|
||||||
*/
|
*/
|
||||||
inline void calculatePXandPY (int x, int y, int *px, int *py)
|
void calculatePXandPY (int x, int y, int *px, int *py)
|
||||||
{
|
{
|
||||||
if (theMode == WATER_MODE)
|
if (theMode == WATER_MODE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue