Skip to content

Commit

Permalink
Updated Ogg Vorbis libraries for Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 21, 2007
1 parent 6cfafe6 commit d8e586c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file modified Xcode.tar.gz
Binary file not shown.
11 changes: 6 additions & 5 deletions configure.in
Expand Up @@ -117,9 +117,10 @@ $srcdir/music.c"

find_lib()
{
gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
gcc_bin_path=[`$CC -print-search-dirs 2>/dev/null | fgrep programs: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
env_lib_path=[`echo $LIBS $LDFLAGS | sed 's/-L[ ]*//g'`]
for path in $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do
for path in $gcc_bin_path $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do
lib=[`ls -- $path/$1 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
if test x$lib != x; then
echo $lib
Expand Down Expand Up @@ -270,7 +271,7 @@ if test x$enable_music_ogg = xyes; then
fi
;;
*-*-cygwin* | *-*-mingw32*)
ogg_lib=[`find_lib "vorbisidec*dll"`]
ogg_lib=[`find_lib "vorbisidec*.dll"`]
;;
*)
ogg_lib=[`find_lib "libvorbisidec.so.[0-9]"`]
Expand All @@ -297,7 +298,7 @@ if test x$enable_music_ogg = xyes; then
ogg_lib=[`find_lib libvorbisfile*.dylib`]
;;
*-*-cygwin* | *-*-mingw32*)
ogg_lib=[`find_lib "vorbisfile*dll"`]
ogg_lib=[`find_lib "libvorbisfile*.dll"`]
;;
*)
ogg_lib=[`find_lib "libvorbisfile.so.[0-9]"`]
Expand Down Expand Up @@ -332,7 +333,7 @@ AC_HELP_STRING([--enable-music-mp3-shared], [dynamically load MP3 support [[defa
smpeg_lib=[`find_lib libsmpeg*.dylib`]
;;
*-*-cygwin* | *-*-mingw32*)
smpeg_lib=[`find_lib "smpeg*dll"`]
smpeg_lib=[`find_lib "smpeg*.dll"`]
;;
*)
smpeg_lib=[`find_lib "libsmpeg.so.[0-9]"`]
Expand Down

0 comments on commit d8e586c

Please sign in to comment.