Changeset 09f06e184f9dee241e8cc4b07293fecd080e487f
- 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
| rdaa85a7 |
r09f06e1 |
|
| 1063 | 1063 | |
|---|
| 1064 | 1064 | dnl Check for -fvisibility=hidden |
|---|
| | 1065 | dnl Don't test on mingw32, because it is going to work with just a warning |
|---|
| | 1066 | dnl even if it doesn't support it |
|---|
| | 1067 | if test "${SYS}" != "mingw32" |
|---|
| | 1068 | then |
|---|
| 1065 | 1069 | AC_CACHE_CHECK([if \$CC accepts -fvisibility=hidden], |
|---|
| 1066 | 1070 | [ac_cv_c_visibility_hidden], |
|---|
| … | … | |
| 1069 | 1073 | if test "${ac_cv_c_visibility_hidden}" != "no"; then |
|---|
| 1070 | 1074 | VLC_ADD_CFLAGS([libvlc plugin],[-fvisibility=hidden]) |
|---|
| | 1075 | fi |
|---|
| 1071 | 1076 | fi |
|---|
| 1072 | 1077 | |
|---|
| … | … | |
| 3005 | 3010 | VLC_ADD_CPPFLAGS([ffmpeg stream_out_switcher],[-I${real_ffmpeg_tree}]) |
|---|
| 3006 | 3011 | else |
|---|
| 3007 | | dnl The given libavcodec wasn't built with --enable-pp |
|---|
| | 3012 | dnl The given libavcodec wasn't built with --enable-postproc |
|---|
| 3008 | 3013 | 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]) |
|---|
| 3010 | 3015 | fi |
|---|
| 3011 | 3016 | fi |
|---|
| … | … | |
| 3119 | 3124 | AC_CHECK_LIB(postproc, pp_postprocess, [ |
|---|
| 3120 | 3125 | 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.]), |
|---|
| 3122 | 3127 | [$LDAVUTIL]) |
|---|
| 3123 | 3128 | |
|---|
| … | … | |
| 3157 | 3162 | fi |
|---|
| 3158 | 3163 | 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 |
|---|
| 3160 | 3165 | 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]) |
|---|
| 3162 | 3167 | fi |
|---|
| 3163 | 3168 | dnl Use a custom libffmpeg |
|---|