X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=inline;f=configure.ac;h=b17892c09a7a980ab14fd7be80151a8d91428e17;hb=45ff435b9ab009961399c235039d190b4f62fba7;hp=465099a70ee620543108329110ea658ce138747f;hpb=402b2ed2f093bdf8d22e691a6d5b893623decece;p=vlc diff --git a/configure.ac b/configure.ac index 465099a70e..b17892c09a 100644 --- a/configure.ac +++ b/configure.ac @@ -264,7 +264,9 @@ case "${target_os}" in VLC_ADD_CXXFLAGS([beos],[]) VLC_ADD_LDFLAGS([vlc logger],[-lbe]) VLC_ADD_LDFLAGS([beos],[-lbe -lmedia -ltranslation -ltracker -lgame]) - + VLC_ADD_LDFLAGS([dvdnav dvdread],[-ldl]) + VLC_ADD_LDFLAGS([access_file],[-lpoll]) + LDFLAGS_save="${LDFLAGS_save} -lintl"; LDFLAGS="${CFLAGS_save}" dnl Check for BONE if test -f /boot/beos/system/lib/libbind.so; then VLC_ADD_LDFLAGS([access_file access_ftp access_mms access_output_udp telnet netsync sap ipv4 vlc growl],[-lbind -lsocket]) @@ -718,9 +720,9 @@ VLC_ADD_LDFLAGS([vlc plugin],[${THREAD_LIB}]) dnl Don't link with rt when using GNU-pth if test "${THREAD_LIB}" != "-lpth" && test "${THREAD_LIB}" != "-lst"; then - AC_CHECK_LIB(rt, clock_gettime, [ + AC_CHECK_LIB(rt, clock_nanosleep, [ VLC_ADD_LDFLAGS([vlc],[-lrt]) - AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define to 1 if you have clock_gettime.]) + AC_DEFINE(HAVE_CLOCK_NANOSLEEP, 1, [Define to 1 if you have clock_nanosleep.]) ], [ dnl HP/UX port AC_CHECK_LIB(rt,sem_init, [VLC_ADD_LDFLAGS([vlc],[-lrt])]) @@ -2720,7 +2722,7 @@ dnl Trying with pkg-config if test "${enable_sout}" != "no"; then VLC_ADD_BUILTINS([stream_out_switcher]) fi], - [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ], [$LDAVUTIL]) + [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (svn version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ], [$LDAVUTIL]) AC_CHECK_LIB(avformat, av_open_input_stream, [ @@ -4601,6 +4603,18 @@ then fi fi +dnl +dnl QT 4 +dnl +enableqt4=false +AC_ARG_ENABLE(qt4, + [ --enable-qt4 QT 4 support (default disabled) ], + [if test "${enable_qt4}" = "yes"; then + VLC_ADD_PLUGINS([qt4]) + enableqt4=true + fi]) +AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true") + dnl dnl WinCE GUI module dnl @@ -5492,6 +5506,7 @@ AC_CONFIG_FILES([ modules/gui/pda/Makefile modules/gui/macosx/Makefile modules/gui/qnx/Makefile + modules/gui/qt4/Makefile modules/gui/skins2/Makefile modules/gui/wxwidgets/Makefile modules/gui/wince/Makefile