From 7f42602646dff69ae69acecec318fd6b32bbf8f5 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 14 Feb 2007 02:21:08 +0000 Subject: Tidy up the configure screen output, and fixed warning about uninitialized variable in PortAudio's ALSA (which causes error with gcc -Werror option) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@946 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure | 21 ++++++++++----------- aconfigure.ac | 9 ++++----- pjmedia/src/pjmedia/portaudio/pa_linux_alsa.c | 2 +- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/aconfigure b/aconfigure index 3a0237df..3ddb9f02 100755 --- a/aconfigure +++ b/aconfigure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for pjproject 0.5.8. +# Generated by GNU Autoconf 2.59 for pjproject 0.5.10. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -267,8 +267,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='pjproject' PACKAGE_TARNAME='pjproject' -PACKAGE_VERSION='0.5.8' -PACKAGE_STRING='pjproject 0.5.8' +PACKAGE_VERSION='0.5.10' +PACKAGE_STRING='pjproject 0.5.10' PACKAGE_BUGREPORT='' # Factoring default headers for most tests. @@ -785,7 +785,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. +\`configure' configures pjproject 0.5.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -847,7 +847,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pjproject 0.5.8:";; + short | recursive ) echo "Configuration of pjproject 0.5.10:";; esac cat <<\_ACEOF @@ -866,8 +866,7 @@ Optional Features: --disable-gsm-codec Exclude GSM codec in the build --disable-speex-codec Exclude Speex codecs in the build --disable-ilbc-codec Exclude iLBC codec in the build - - --disable-ssl Exclude SSL support the build (default: autodetect) + --disable-ssl Exclude SSL support the build (default: autodetect) Some influential environment variables: @@ -979,7 +978,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -pjproject configure 0.5.8 +pjproject configure 0.5.10 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -993,7 +992,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pjproject $as_me 0.5.8, which was +It was created by pjproject $as_me 0.5.10, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -9495,7 +9494,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by pjproject $as_me 0.5.8, which was +This file was extended by pjproject $as_me 0.5.10, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9555,7 +9554,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -pjproject config.status 0.5.8 +pjproject config.status 0.5.10 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" diff --git a/aconfigure.ac b/aconfigure.ac index cfa74921..f94dcd73 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -1,4 +1,4 @@ -AC_INIT(pjproject,0.5.8) +AC_INIT(pjproject,0.5.10) host_orig="$host" @@ -400,10 +400,9 @@ dnl # dnl # Include SSL support AC_SUBST(ac_no_ssl) AC_ARG_ENABLE(ssl, - [ - AC_HELP_STRING([--disable-ssl], - [Exclude SSL support the build (default: autodetect)]) - ], + AC_HELP_STRING([--disable-ssl], + [Exclude SSL support the build (default: autodetect)]) + , [ if test "$enable_ssl" = "no"; then [ac_no_ssl=1] diff --git a/pjmedia/src/pjmedia/portaudio/pa_linux_alsa.c b/pjmedia/src/pjmedia/portaudio/pa_linux_alsa.c index 3b047163..0214ddaa 100644 --- a/pjmedia/src/pjmedia/portaudio/pa_linux_alsa.c +++ b/pjmedia/src/pjmedia/portaudio/pa_linux_alsa.c @@ -1756,7 +1756,7 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi, PaTime inputLatency, outputLatency; unsigned long framesPerHostBuffer; PaUtilHostBufferSizeMode hostBufferSizeMode = paUtilBoundedHostBufferSize; - unsigned long maxHostBufferSize; /* Upper bound of host buffer size */ + unsigned long maxHostBufferSize=0; /* Upper bound of host buffer size */ if( (streamFlags & paPlatformSpecificFlags) != 0 ) return paInvalidFlag; -- cgit v1.2.3