Changeset 09f06e184f9dee241e8cc4b07293fecd080e487f

Show
Ignore:
Timestamp:
03/12/08 05:51:25 (4 months ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1205297485 -0700
git-parent:

[17e390747cc2335d797cae1897f27c382062ca40]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1205297485 -0700
Message:

Don't test for attribute visibility, because it doesn't support it, but it will pass the test and fill the warning output with messages.
Profit to s/enable-pp/enable-postproc in the comments.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    rdaa85a7 r09f06e1  
    10631063 
    10641064dnl Check for -fvisibility=hidden 
     1065dnl Don't test on mingw32, because it is going to work with just a warning 
     1066dnl even if it doesn't support it 
     1067if test "${SYS}" != "mingw32" 
     1068then 
    10651069AC_CACHE_CHECK([if \$CC accepts -fvisibility=hidden], 
    10661070    [ac_cv_c_visibility_hidden], 
     
    10691073if test "${ac_cv_c_visibility_hidden}" != "no"; then 
    10701074    VLC_ADD_CFLAGS([libvlc plugin],[-fvisibility=hidden]) 
     1075fi 
    10711076fi 
    10721077 
     
    30053010        VLC_ADD_CPPFLAGS([ffmpeg stream_out_switcher],[-I${real_ffmpeg_tree}]) 
    30063011     else 
    3007        dnl  The given libavcodec wasn't built with --enable-pp 
     3012       dnl  The given libavcodec wasn't built with --enable-postproc 
    30083013       AC_MSG_RESULT(no) 
    3009        AC_MSG_ERROR([cannot find libpostproc.a in ${real_ffmpeg_tree}/[libavcodec/]libpostproc/. Make sure you configured ffmpeg with --enable-pp]) 
     3014       AC_MSG_ERROR([cannot find libpostproc.a in ${real_ffmpeg_tree}/[libavcodec/]libpostproc/. Make sure you configured ffmpeg with --enable-postproc]) 
    30103015     fi 
    30113016   fi 
     
    31193124      AC_CHECK_LIB(postproc, pp_postprocess, [ 
    31203125        VLC_ADD_LIBS([ffmpeg],[-lpostproc])], 
    3121       AC_MSG_ERROR([Could not find libpostproc inside FFmpeg. You should configure FFmpeg with --enable-gpl --enable-pp.]), 
     3126      AC_MSG_ERROR([Could not find libpostproc inside FFmpeg. You should configure FFmpeg with --enable-gpl --enable-postproc.]), 
    31223127        [$LDAVUTIL]) 
    31233128 
     
    31573162    fi 
    31583163    if ! fgrep -s "pp_get_context" "${real_ffmpeg_tree}/libavcodec/libavcodecaltivec.a"; then 
    3159       dnl  The given libavcodecaltivec wasn't built with --enable-pp 
     3164      dnl  The given libavcodecaltivec wasn't built with --enable-postproc 
    31603165      AC_MSG_RESULT(no) 
    3161       AC_MSG_ERROR([${real_ffmpeg_tree}/libavcodec/libavcodecaltivec.a was not compiled with postprocessing support, make sure you configured ffmpeg with --enable-pp]) 
     3166      AC_MSG_ERROR([${real_ffmpeg_tree}/libavcodec/libavcodecaltivec.a was not compiled with postprocessing support, make sure you configured ffmpeg with --enable-postproc]) 
    31623167    fi 
    31633168    dnl  Use a custom libffmpeg