mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
fix two gcc 2.95 incompatibilities
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@207 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
daf3938a9e
commit
19294e4b38
2 changed files with 5 additions and 4 deletions
|
|
@ -40,8 +40,6 @@ AC_SUBST(INCLTDL)
|
||||||
AC_SUBST(LIBLTDL)
|
AC_SUBST(LIBLTDL)
|
||||||
AC_LIBTOOL_DLOPEN
|
AC_LIBTOOL_DLOPEN
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
AC_PROG_LEX
|
|
||||||
AC_PROG_YACC
|
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
@ -108,7 +106,10 @@ AM_CONDITIONAL([HAVE_GLIB12], [test "x$HAVE_GLIB12" = x1])
|
||||||
|
|
||||||
# If using GCC specifiy some additional parameters
|
# If using GCC specifiy some additional parameters
|
||||||
if test "x$GCC" = "xyes" ; then
|
if test "x$GCC" = "xyes" ; then
|
||||||
CFLAGS="$CFLAGS -pipe -W -Wall -Wno-unused-parameter -pedantic -std=c99"
|
CFLAGS="$CFLAGS -pipe -W -Wall -pedantic"
|
||||||
|
|
||||||
|
AC_LANG_CONFTEST([int main()])
|
||||||
|
$CC -std=c99 -Wno-unused-parameter -E conftest.c -o - > /dev/null 2>&1 && CFLAGS="$CFLAGS -std=c99 -Wno-unused-parameter"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# LYNX documentation generation
|
# LYNX documentation generation
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ static void short_info(const char *name, const char *path, struct pa_modinfo *i)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void long_info(const char *name, const char *path, struct pa_modinfo *i) {
|
static void long_info(const char *name, const char *path, struct pa_modinfo *i) {
|
||||||
assert(name && i);
|
|
||||||
static int nl = 0;
|
static int nl = 0;
|
||||||
|
assert(name && i);
|
||||||
|
|
||||||
if (nl)
|
if (nl)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue