On Wed, Apr 29, 2009 at 10:49:54PM +0200, Matthias Kilian wrote:
> Index: patches/patch-configure
> ===================================================================
> RCS file: /cvs/ports/multimedia/libquicktime/patches/patch-configure,v
> retrieving revision 1.7
> diff -u -p -r1.7 patch-configure
> --- patches/patch-configure 9 Jul 2008 02:13:01 -0000 1.7
> +++ patches/patch-configure 29 Apr 2009 20:31:45 -0000
> @@ -26,30 +26,39 @@ $OpenBSD: patch-configure,v 1.7 2008/07/
>
>
> { echo "$as_me:$LINENO: checking for lame" >&5
> -@@ -27562,7 +27562,7 @@ cat >>conftest.$ac_ext <<_ACEOF
> +@@ -27956,7 +27956,7 @@ cat confdefs.h >>conftest.$ac_ext
> + cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
>
> - #include <stdio.h>
> -- #include <ffmpeg/avcodec.h>
> -+ #include <libavcodec/avcodec.h>
> - int main()
> - {
> - FILE * output;
> -@@ -27728,7 +27728,7 @@ cat >>conftest.$ac_ext <<_ACEOF
> +-#include <ffmpeg/avcodec.h>
> ++#include <libavcodec/avcodec.h>
> + int
> + main ()
> + {
> +@@ -27982,7 +27982,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
> + test -z "$ac_c_werror_flag" ||
> + test ! -s conftest.err
> + } && test -s conftest.$ac_objext; then
> +- found_header="true";AVCODEC_HEADER="<ffmpeg/avcodec.h>"
> ++ found_header="true";AVCODEC_HEADER="<libavcodec/avcodec.h>"
> + else
> + echo "$as_me: failed program was:" >&5
> + sed 's/^/| /' conftest.$ac_ext >&5
> +@@ -28258,7 +28258,7 @@ cat confdefs.h >>conftest.$ac_ext
> + cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
>
> - #include <stdio.h>
> -- #include <ffmpeg/avcodec.h>
> -+ #include <libavcodec/avcodec.h>
> - int main()
> - {
> - FILE * output;
> -@@ -27893,7 +27893,7 @@ cat >>conftest.$ac_ext <<_ACEOF
> - /* end confdefs.h. */
> -
> - #include <stdio.h>
> -- #include <ffmpeg/avcodec.h>
> -+ #include <libavcodec/avcodec.h>
> - int main()
> - {
> - FILE * output;
> +-#include <ffmpeg/avcodec.h>
> ++#include <libavcodec/avcodec.h>
> + int
> + main ()
> + {
> +@@ -28284,7 +28284,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
> + test -z "$ac_c_werror_flag" ||
> + test ! -s conftest.err
> + } && test -s conftest.$ac_objext; then
> +- found_header="true";AVCODEC_HEADER="<ffmpeg/avcodec.h>"
> ++ found_header="true";AVCODEC_HEADER="<libavcodec/avcodec.h>"
> + else
> + echo "$as_me: failed program was:" >&5
> + sed 's/^/| /' conftest.$ac_ext >&5
what's the purpose of this? configure first looks for
'libavcodec/avcodec.h', then 'avcodec.h', then 'ffmpeg/avcodec.h'.
--
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org