git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@207
fefdeb5f-60dc-0310-8127-
8f9354f1896f
AC_SUBST(LIBLTDL)
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
-AC_PROG_LEX
-AC_PROG_YACC
# Checks for header files.
AC_HEADER_STDC
# If using GCC specifiy some additional parameters
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
# LYNX documentation generation
}
static void long_info(const char *name, const char *path, struct pa_modinfo *i) {
- assert(name && i);
static int nl = 0;
+ assert(name && i);
if (nl)
printf("\n");