* configure.ac: fixed libspeex > 1.1.0 detection.
authorGildas Bazin <gbazin@videolan.org>
Fri, 21 May 2004 11:54:37 +0000 (11:54 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 21 May 2004 11:54:37 +0000 (11:54 +0000)
* ALL: bumped version number to 0.7.2.

configure.ac
extras/MacOSX/Resources/English.lproj/InfoPlist.strings
extras/MacOSX/vlc.pbproj/project.pbxproj

index add1de2..db2b63b 100644 (file)
@@ -1,7 +1,7 @@
 dnl Autoconf settings for vlc
 dnl $Id$
  
-AC_INIT(vlc,0.7.2-test3)
+AC_INIT(vlc,0.7.2)
 
 CONFIGURE_LINE="$0 $*"
 CODENAME="Bond"
@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM
 
 dnl XXX: we don't put any flags here, because automake 1.5 doesn't support
 dnl them. And we need the comma otherwize automake will choke on it.
-AM_INIT_AUTOMAKE(vlc,0.7.2-test3)
+AM_INIT_AUTOMAKE(vlc,0.7.2)
 AM_CONFIG_HEADER(config.h)
 
 dnl
@@ -2306,8 +2306,19 @@ AC_ARG_ENABLE(speex,
 if test "${enable_speex}" != "no"
 then
   AC_CHECK_HEADERS(speex.h, [
-    AX_ADD_PLUGINS([speex])
-    AX_ADD_LDFLAGS([speex],[-lspeex]) ],[])
+    AC_MSG_CHECKING(for libspeex version > 1.1.0)
+    AC_EGREP_CPP(yes,
+      [#include <speex.h>
+       #ifdef SPEEX_SET_SUBMODE_ENCODING
+       yes
+       #endif],
+      [ AC_MSG_RESULT([yes])
+        AX_ADD_PLUGINS([speex])
+        AX_ADD_LDFLAGS([speex],[-lspeex]) ],
+      [ AC_MSG_RESULT([no])
+        AC_MSG_WARN([Your libspeex is too old, please get the development
+                     version.]) ] )
+    ],[])
 fi
 
 dnl
index 3599354..048a99b 100644 (file)
@@ -1,6 +1,6 @@
 /* Localized versions of Info.plist keys */
 
 CFBundleName = "VLC";
-CFBundleShortVersionString = "0.7.2-test3";
-CFBundleGetInfoString = "VLC media player 0.7.2-test3, Copyright (c) 1996-2004 VideoLAN.";
+CFBundleShortVersionString = "0.7.2";
+CFBundleGetInfoString = "VLC media player 0.7.2, Copyright (c) 1996-2004 VideoLAN.";
 NSHumanReadableCopyright = "Copyright (c) 1996-2004 VideoLAN.";
index 0443c31..33b427f 100644 (file)
        <key>CFBundleExecutable</key>
        <string>VLC</string>
        <key>CFBundleGetInfoString</key>
-       <string>VLC media player 0.7.2-test3, Copyright (c) 1996-2003 VideoLAN.</string>
+       <string>VLC media player 0.7.2, Copyright (c) 1996-2003 VideoLAN.</string>
        <key>CFBundleIconFile</key>
        <string>vlc.icns</string>
        <key>CFBundleIdentifier</key>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
-       <string>0.7.2-test3</string>
+       <string>0.7.2</string>
        <key>CFBundleSignature</key>
        <string>VLC#</string>
        <key>CFBundleURLTypes</key>
                </dict>
        </array>
        <key>CFBundleVersion</key>
-       <string>0.7.2-test3</string>
+       <string>0.7.2</string>
        <key>NSAppleScriptEnabled</key>
        <string>YES</string>
        <key>NSMainNibFile</key>