Commit 0afe4616 authored by Christophe Massiot's avatar Christophe Massiot

Do not link twice with -logg under Darwin.

parent 5a0b0cf0
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.25 2003/07/06 23:14:50 massiot Exp $ dnl $Id: configure.ac,v 1.26 2003/07/07 14:56:22 massiot Exp $
AC_INIT(vlc,0.6.0) AC_INIT(vlc,0.6.0)
...@@ -1930,7 +1930,12 @@ then ...@@ -1930,7 +1930,12 @@ then
AC_CHECK_HEADERS(theora/theora.h, [ AC_CHECK_HEADERS(theora/theora.h, [
AC_CHECK_LIB(theora, theora_granule_time, [ AC_CHECK_LIB(theora, theora_granule_time, [
AX_ADD_BUILTINS([theora]) AX_ADD_BUILTINS([theora])
AX_ADD_LDFLAGS([theora],[-ltheora -logg]) ],[ if test "${SYS}" = "darwin"; then
theora_libs="-ltheora"
else
theora_libs="-ltheora -logg"
fi
AX_ADD_LDFLAGS([theora],[${theora_libs}]) ],[
AC_MSG_ERROR([libtheora doesn't appear to be installed on you system. AC_MSG_ERROR([libtheora doesn't appear to be installed on you system.
You also need to check that you have a libogg posterior to the 1.0 release.])], You also need to check that you have a libogg posterior to the 1.0 release.])],
[-logg]) [-logg])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment