#! /bin/sh
-# From configure.ac Revision: 197738 .
+# From configure.ac Revision: 200519 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63 for asterisk 1.6.
#
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute pure' support" >&5
$as_echo_n "checking for compiler 'attribute pure' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((pure)) *test(void *muffin, ...) {}
+static void __attribute__((pure)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute malloc' support" >&5
$as_echo_n "checking for compiler 'attribute malloc' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((malloc)) *test(void *muffin, ...) {}
+static void __attribute__((malloc)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute const' support" >&5
$as_echo_n "checking for compiler 'attribute const' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((const)) *test(void *muffin, ...) {}
+static void __attribute__((const)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute unused' support" >&5
$as_echo_n "checking for compiler 'attribute unused' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((unused)) *test(void *muffin, ...) {}
+static void __attribute__((unused)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute always_inline' support" >&5
$as_echo_n "checking for compiler 'attribute always_inline' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((always_inline)) *test(void *muffin, ...) {}
+static void __attribute__((always_inline)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute deprecated' support" >&5
$as_echo_n "checking for compiler 'attribute deprecated' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((deprecated)) *test(void *muffin, ...) {}
+static void __attribute__((deprecated)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute sentinel' support" >&5
$as_echo_n "checking for compiler 'attribute sentinel' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((sentinel)) *test(void *muffin, ...) {}
+static void __attribute__((sentinel)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute warn_unused_result' support" >&5
$as_echo_n "checking for compiler 'attribute warn_unused_result' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((warn_unused_result)) *test(void *muffin, ...) {}
+static void __attribute__((warn_unused_result)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute weakref' support" >&5
$as_echo_n "checking for compiler 'attribute weakref' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "xweakref("foo")" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((weakref)) *test(void *muffin, ...) {}
+static void __attribute__((weakref)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((weakref("foo"))) *test(void *muffin, ...) {}
+static void __attribute__((weakref("foo"))) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
{ $as_echo "$as_me:$LINENO: checking for compiler 'attribute weak_import' support" >&5
$as_echo_n "checking for compiler 'attribute weak_import' support... " >&6; }
saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -Werror"
+CFLAGS="$CFLAGS -Wall -Wno-unused -Werror"
if test "x" = "x"
then
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__((weak_import)) *test(void *muffin, ...) {}
+static void __attribute__((weak_import)) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-void __attribute__(()) *test(void *muffin, ...) {}
+static void __attribute__(()) *test(void *muffin, ...) {return (void *) 0;}
int
main ()
{