Grr.
authorMonty <xiphmont@xiph.org>
Wed, 19 Dec 2001 00:48:41 +0000 (00:48 +0000)
committerMonty <xiphmont@xiph.org>
Wed, 19 Dec 2001 00:48:41 +0000 (00:48 +0000)
svn path=/trunk/vorbis/; revision=2822

configure.in
examples/encoder_example.c

index f9f49896ec3fcaeca0cea2d6e2b92dd7d9c5c56d..7a9b8bfdbd5845e6db8eabd280e60b0c657ba6d5 100644 (file)
@@ -75,7 +75,7 @@ else
 
        case $host in 
        *86-*-linux*)
-               DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+               DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
                CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
 #                      PROFILE="-Wall -W -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
                PROFILE="-Wall -W -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline -static"
@@ -120,11 +120,11 @@ else
                PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
                fi;;
        *-*-linux*)
-               DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+               DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
                CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
                PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
        sparc-sun-*)
-               DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
+               DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char -mv8"
                CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
                PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
        *-*-darwin*)
@@ -132,7 +132,7 @@ else
                CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
                PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
        *)
-               DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+               DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char"
                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
         esac
index b2a62f06441dde3bc8c93f17ffd94abf615063b8..102ce76cc46e7591262488d01ac31a3923ed896b 100644 (file)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.28 2001/12/12 09:45:22 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.29 2001/12/19 00:48:41 xiphmont Exp $
 
  ********************************************************************/
 
@@ -100,7 +100,7 @@ int main(){
 
   /* add a comment */
   vorbis_comment_init(&vc);
-  vorbis_comment_add(&vc,"Track encoded by encoder_example.c");
+  vorbis_comment_add(&vc,"ENCODER=encoder_example.c");
 
   /* set up the analysis state and auxiliary encoding storage */
   vorbis_analysis_init(&vd,&vi);