Changeset cf5b3832dc6ad3fb4e55e9506e7e803d3e26ed53

Show
Ignore:
Timestamp:
04/05/02 03:05:22 (6 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1017968722 +0000
git-parent:

[a33d6accd4cf7ff908b2bf17bb6a01cc3e77daee]

git-author:
Gildas Bazin <gbazin@videolan.org> 1017968722 +0000
Message:

* introduced a memalign wrapper that will align the memory manually if

memalign doesn't exist.

void *vlc_memalign( size_t align, size_t size, void **pp_orig )
where the return value is the aligned pointer and *pp_orig is the pointer
that has to be freed afterwards.

the arithmetic I'm doing on the pointer to align it is not portable to
64bits architectures. If someone knows how to something portable, please
tell me ( and no I don't want to do if(sizeof(void *) == blabla) ).

Other little problem, I was planning to use posix_memalign by default in
the wrapper implementation but it doesn't work (someone can tell me what
I'm doing wrong ?)

* re-enabled the sse plugins on win32 as we don't have anymore alignment

issues.

* fixed typo in vout_directx.c

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure

    ra33d6ac rcf5b383  
    31843184esac 
    31853185 
    3186 for ac_func in gettimeofday select strerror strtod strtol isatty usleep vasprintf swab sigrelse getpwuid memalign valloc 
     3186for ac_func in gettimeofday select strerror strtod strtol isatty usleep vasprintf swab sigrelse getpwuid memalign posix_memalign 
    31873187do 
    31883188echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
     
    52895289MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext" 
    52905290THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn" 
    5291 if test x$SYS != xmingw32; then 
    5292   SSE_MODULES="imdctsse downmixsse" 
    5293 fi 
     5291SSE_MODULES="imdctsse downmixsse" 
    52945292ALTIVEC_MODULES="idctaltivec motionaltivec" 
    52955293 
    52965294echo $ac_n "checking if \$CC groks MMX inline assembly""... $ac_c" 1>&6 
    5297 echo "configure:5298: checking if \$CC groks MMX inline assembly" >&5 
     5295echo "configure:5296: checking if \$CC groks MMX inline assembly" >&5 
    52985296if eval "test \"`echo '$''{'ac_cv_mmx_inline'+set}'`\" = set"; then 
    52995297  echo $ac_n "(cached) $ac_c" 1>&6 
    53005298else 
    53015299  cat > conftest.$ac_ext <<EOF 
    5302 #line 5303 "configure" 
     5300#line 5301 "configure" 
    53035301#include "confdefs.h" 
    53045302 
     
    53075305; return 0; } 
    53085306EOF 
    5309 if { (eval echo configure:5310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5307if { (eval echo configure:5308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    53105308  rm -rf conftest* 
    53115309  ac_cv_mmx_inline=yes 
     
    53255323 
    53265324echo $ac_n "checking if \$CC groks MMX EXT inline assembly""... $ac_c" 1>&6 
    5327 echo "configure:5328: checking if \$CC groks MMX EXT inline assembly" >&5 
     5325echo "configure:5326: checking if \$CC groks MMX EXT inline assembly" >&5 
    53285326if eval "test \"`echo '$''{'ac_cv_mmxext_inline'+set}'`\" = set"; then 
    53295327  echo $ac_n "(cached) $ac_c" 1>&6 
    53305328else 
    53315329  cat > conftest.$ac_ext <<EOF 
    5332 #line 5333 "configure" 
     5330#line 5331 "configure" 
    53335331#include "confdefs.h" 
    53345332 
     
    53375335; return 0; } 
    53385336EOF 
    5339 if { (eval echo configure:5340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5337if { (eval echo configure:5338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    53405338  rm -rf conftest* 
    53415339  ac_cv_mmxext_inline=yes 
     
    53555353 
    53565354echo $ac_n "checking if \$CC groks 3D Now! inline assembly""... $ac_c" 1>&6 
    5357 echo "configure:5358: checking if \$CC groks 3D Now! inline assembly" >&5 
     5355echo "configure:5356: checking if \$CC groks 3D Now! inline assembly" >&5 
    53585356if eval "test \"`echo '$''{'ac_cv_3dnow_inline'+set}'`\" = set"; then 
    53595357  echo $ac_n "(cached) $ac_c" 1>&6 
    53605358else 
    53615359  cat > conftest.$ac_ext <<EOF 
    5362 #line 5363 "configure" 
     5360#line 5361 "configure" 
    53635361#include "confdefs.h" 
    53645362 
     
    53675365; return 0; } 
    53685366EOF 
    5369 if { (eval echo configure:5370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5367if { (eval echo configure:5368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    53705368  rm -rf conftest* 
    53715369  ac_cv_3dnow_inline=yes 
     
    53895387 
    53905388echo $ac_n "checking if \$CC groks SSE inline assembly""... $ac_c" 1>&6 
    5391 echo "configure:5392: checking if \$CC groks SSE inline assembly" >&5 
     5389echo "configure:5390: checking if \$CC groks SSE inline assembly" >&5 
    53925390if eval "test \"`echo '$''{'ac_cv_sse_inline'+set}'`\" = set"; then 
    53935391  echo $ac_n "(cached) $ac_c" 1>&6 
    53945392else 
    53955393  cat > conftest.$ac_ext <<EOF 
    5396 #line 5397 "configure" 
     5394#line 5395 "configure" 
    53975395#include "confdefs.h" 
    53985396 
     
    54015399; return 0; } 
    54025400EOF 
    5403 if { (eval echo configure:5404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5401if { (eval echo configure:5402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    54045402  rm -rf conftest* 
    54055403  ac_cv_sse_inline=yes 
     
    54265424if test x$SYS != xmingw32; then 
    54275425echo $ac_n "checking if \$CC groks Altivec inline assembly""... $ac_c" 1>&6 
    5428 echo "configure:5429: checking if \$CC groks Altivec inline assembly" >&5 
     5426echo "configure:5427: checking if \$CC groks Altivec inline assembly" >&5 
    54295427if eval "test \"`echo '$''{'ac_cv_altivec_inline'+set}'`\" = set"; then 
    54305428  echo $ac_n "(cached) $ac_c" 1>&6 
    54315429else 
    54325430  cat > conftest.$ac_ext <<EOF 
    5433 #line 5434 "configure" 
     5431#line 5432 "configure" 
    54345432#include "confdefs.h" 
    54355433 
     
    54385436; return 0; } 
    54395437EOF 
    5440 if { (eval echo configure:5441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5438if { (eval echo configure:5439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    54415439  rm -rf conftest* 
    54425440  ac_cv_altivec_inline=yes 
     
    54485446          CFLAGS="$CFLAGS -Wa,-m7400" 
    54495447          cat > conftest.$ac_ext <<EOF 
    5450 #line 5451 "configure" 
     5448#line 5449 "configure" 
    54515449#include "confdefs.h" 
    54525450 
     
    54555453; return 0; } 
    54565454EOF 
    5457 if { (eval echo configure:5458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5455if { (eval echo configure:5456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    54585456  rm -rf conftest* 
    54595457  ac_cv_altivec_inline="-Wa,-m7400" 
     
    54875485 
    54885486echo $ac_n "checking if \$CC groks Altivec C extensions""... $ac_c" 1>&6 
    5489 echo "configure:5490: checking if \$CC groks Altivec C extensions" >&5 
     5487echo "configure:5488: checking if \$CC groks Altivec C extensions" >&5 
    54905488if eval "test \"`echo '$''{'ac_cv_c_altivec'+set}'`\" = set"; then 
    54915489  echo $ac_n "(cached) $ac_c" 1>&6 
     
    54955493     # Darwin test 
    54965494     cat > conftest.$ac_ext <<EOF 
    5497 #line 5498 "configure" 
     5495#line 5496 "configure" 
    54985496#include "confdefs.h" 
    54995497 
     
    55025500; return 0; } 
    55035501EOF 
    5504 if { (eval echo configure:5505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5502if { (eval echo configure:5503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    55055503  rm -rf conftest* 
    55065504  ac_cv_c_altivec=-faltivec 
     
    55135511        CFLAGS="$save_CFLAGS $CFLAGS_IDCTALTIVEC -fvec" 
    55145512        cat > conftest.$ac_ext <<EOF 
    5515 #line 5516 "configure" 
     5513#line 5514 "configure" 
    55165514#include "confdefs.h" 
    55175515 
     
    55205518; return 0; } 
    55215519EOF 
    5522 if { (eval echo configure:5523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     5520if { (eval echo configure:5521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    55235521  rm -rf conftest* 
    55245522  ac_cv_c_altivec="-fvec" 
     
    55515549 
    55525550echo $ac_n "checking if linker needs -framework vecLib""... $ac_c" 1>&6 
    5553 echo "configure:5554: checking if linker needs -framework vecLib" >&5 
     5551echo "configure:5552: checking if linker needs -framework vecLib" >&5 
    55545552if eval "test \"`echo '$''{'ac_cv_ld_altivec'+set}'`\" = set"; then 
    55555553  echo $ac_n "(cached) $ac_c" 1>&6 
     
    55585556     LDFLAGS="$LDFLAGS -framework vecLib" 
    55595557     cat > conftest.$ac_ext <<EOF 
    5560 #line 5561 "configure" 
     5558#line 5559 "configure" 
    55615559#include "confdefs.h" 
    55625560 
     
    55655563; return 0; } 
    55665564EOF 
    5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     5565if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    55685566  rm -rf conftest* 
    55695567  ac_cv_ld_altivec=yes 
     
    56965694ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    56975695echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    5698 echo "configure:5699: checking for $ac_hdr" >&5 
     5696echo "configure:5697: checking for $ac_hdr" >&5 
    56995697if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    57005698  echo $ac_n "(cached) $ac_c" 1>&6 
    57015699else 
    57025700  cat > conftest.$ac_ext <<EOF 
    5703 #line 5704 "configure" 
     5701#line 5702 "configure" 
    57045702#include "confdefs.h" 
    57055703#include <$ac_hdr> 
    57065704EOF 
    57075705ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    5708 { (eval echo configure:5709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     5706{ (eval echo configure:5707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    57095707ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    57105708if test -z "$ac_err"; then 
     
    57375735    else 
    57385736      echo $ac_n "checking for libdvdcss.a in ${with_dvdcss_tree}""... $ac_c" 1>&6 
    5739 echo "configure:5740: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5 
     5737echo "configure:5738: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5 
    57405738      real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`" 
    57415739      if test "x$real_dvdcss_tree" = x 
     
    57635761  *) 
    57645762    echo $ac_n "checking for dvdcss headers in ${with_dvdcss}""... $ac_c" 1>&6 
    5765 echo "configure:5766: checking for dvdcss headers in ${with_dvdcss}" >&5 
     5763echo "configure:5764: checking for dvdcss headers in ${with_dvdcss}" >&5 
    57665764    if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h 
    57675765    then 
     
    57985796ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    57995797echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    5800 echo "configure:5801: checking for $ac_hdr" >&5 
     5798echo "configure:5799: checking for $ac_hdr" >&5 
    58015799if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    58025800  echo $ac_n "(cached) $ac_c" 1>&6 
    58035801else 
    58045802  cat > conftest.$ac_ext <<EOF 
    5805 #line 5806 "configure" 
     5803#line 5804 "configure" 
    58065804#include "confdefs.h" 
    58075805#include <$ac_hdr> 
    58085806EOF 
    58095807ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     5808{ (eval echo configure:5809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    58115809ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    58125810if test -z "$ac_err"; then 
     
    58385836  *) 
    58395837    echo $ac_n "checking for dvdread headers in ${withval}""... $ac_c" 1>&6 
    5840 echo "configure:5841: checking for dvdread headers in ${withval}" >&5 
     5838echo "configure:5839: checking for dvdread headers in ${withval}" >&5 
    58415839    if test -f ${withval}/include/dvdread/dvd_reader.h 
    58425840    then 
     
    58635861then 
    58645862  cat > conftest.$ac_ext <<EOF 
    5865 #line 5866 "configure" 
     5863#line 5864 "configure" 
    58665864#include "confdefs.h" 
    58675865#include <linux/cdrom.h> 
     
    59045902 
    59055903echo $ac_n "checking for inet_pton""... $ac_c" 1>&6 
    5906 echo "configure:5907: checking for inet_pton" >&5 
     5904echo "configure:5905: checking for inet_pton" >&5 
    59075905if eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then 
    59085906  echo $ac_n "(cached) $ac_c" 1>&6 
    59095907else 
    59105908  cat > conftest.$ac_ext <<EOF 
    5911 #line 5912 "configure" 
     5909#line 5910 "configure" 
    59125910#include "confdefs.h" 
    59135911/* System header to define __stub macros and hopefully few prototypes, 
     
    59325930; return 0; } 
    59335931EOF 
    5934 if { (eval echo configure:5935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     5932if { (eval echo configure:5933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    59355933  rm -rf conftest* 
    59365934  eval "ac_cv_func_inet_pton=yes" 
     
    59885986ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    59895987echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    5990 echo "configure:5991: checking for $ac_hdr" >&5 
     5988echo "configure:5989: checking for $ac_hdr" >&5 
    59915989if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    59925990  echo $ac_n "(cached) $ac_c" 1>&6 
    59935991else 
    59945992  cat > conftest.$ac_ext <<EOF 
    5995 #line 5996 "configure" 
     5993#line 5994 "configure" 
    59965994#include "confdefs.h" 
    59975995#include <$ac_hdr> 
    59985996EOF 
    59995997ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6000 { (eval echo configure:6001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     5998{ (eval echo configure:5999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    60015999ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    60026000if test -z "$ac_err"; then 
     
    60286026 
    60296027  echo $ac_n "checking for mad_bit_init in -lmad""... $ac_c" 1>&6 
    6030 echo "configure:6031: checking for mad_bit_init in -lmad" >&5 
     6028echo "configure:6029: checking for mad_bit_init in -lmad" >&5 
    60316029ac_lib_var=`echo mad'_'mad_bit_init | sed 'y%./+-%__p_%'` 
    60326030if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    60366034LIBS="-lmad  $LIBS" 
    60376035cat > conftest.$ac_ext <<EOF 
    6038 #line 6039 "configure" 
     6036#line 6037 "configure" 
    60396037#include "confdefs.h" 
    60406038/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    60476045; return 0; } 
    60486046EOF 
    6049 if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     6047if { (eval echo configure:6048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    60506048  rm -rf conftest* 
    60516049  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    60996097ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    61006098echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6101 echo "configure:6102: checking for $ac_hdr" >&5 
     6099echo "configure:6100: checking for $ac_hdr" >&5 
    61026100if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    61036101  echo $ac_n "(cached) $ac_c" 1>&6 
    61046102else 
    61056103  cat > conftest.$ac_ext <<EOF 
    6106 #line 6107 "configure" 
     6104#line 6105 "configure" 
    61076105#include "confdefs.h" 
    61086106#include <$ac_hdr> 
    61096107EOF 
    61106108ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6111 { (eval echo configure:6112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6109{ (eval echo configure:6110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    61126110ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    61136111if test -z "$ac_err"; then 
     
    61526150ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    61536151echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6154 echo "configure:6155: checking for $ac_hdr" >&5 
     6152echo "configure:6153: checking for $ac_hdr" >&5 
    61556153if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    61566154  echo $ac_n "(cached) $ac_c" 1>&6 
    61576155else 
    61586156  cat > conftest.$ac_ext <<EOF 
    6159 #line 6160 "configure" 
     6157#line 6158 "configure" 
    61606158#include "confdefs.h" 
    61616159#include <$ac_hdr> 
    61626160EOF 
    61636161ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6164 { (eval echo configure:6165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6162{ (eval echo configure:6163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    61656163ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    61666164if test -z "$ac_err"; then 
     
    62216219ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    62226220echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6223 echo "configure:6224: checking for $ac_hdr" >&5 
     6221echo "configure:6222: checking for $ac_hdr" >&5 
    62246222if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    62256223  echo $ac_n "(cached) $ac_c" 1>&6 
    62266224else 
    62276225  cat > conftest.$ac_ext <<EOF 
    6228 #line 6229 "configure" 
     6226#line 6227 "configure" 
    62296227#include "confdefs.h" 
    62306228#include <$ac_hdr> 
    62316229EOF 
    62326230ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6233 { (eval echo configure:6234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6231{ (eval echo configure:6232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    62346232ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    62356233if test -z "$ac_err"; then 
     
    62846282ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    62856283echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6286 echo "configure:6287: checking for $ac_hdr" >&5 
     6284echo "configure:6285: checking for $ac_hdr" >&5 
    62876285if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    62886286  echo $ac_n "(cached) $ac_c" 1>&6 
    62896287else 
    62906288  cat > conftest.$ac_ext <<EOF 
    6291 #line 6292 "configure" 
     6289#line 6290 "configure" 
    62926290#include "confdefs.h" 
    62936291#include <$ac_hdr> 
    62946292EOF 
    62956293ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6296 { (eval echo configure:6297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6294{ (eval echo configure:6295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    62976295ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    62986296if test -z "$ac_err"; then 
     
    63186316    CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext" 
    63196317    echo $ac_n "checking for XvSetPortAttribute in -lXv_pic""... $ac_c" 1>&6 
    6320 echo "configure:6321: checking for XvSetPortAttribute in -lXv_pic" >&5 
     6318echo "configure:6319: checking for XvSetPortAttribute in -lXv_pic" >&5 
    63216319ac_lib_var=`echo Xv_pic'_'XvSetPortAttribute | sed 'y%./+-%__p_%'` 
    63226320if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    63266324LIBS="-lXv_pic  $LIBS" 
    63276325cat > conftest.$ac_ext <<EOF 
    6328 #line 6329 "configure" 
     6326#line 6327 "configure" 
    63296327#include "confdefs.h" 
    63306328/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    63376335; return 0; } 
    63386336EOF 
    6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     6337if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    63406338  rm -rf conftest* 
    63416339  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    63956393set dummy sdl12-config; ac_word=$2 
    63966394echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    6397 echo "configure:6398: checking for $ac_word" >&5 
     6395echo "configure:6396: checking for $ac_word" >&5 
    63986396if eval "test \"`echo '$''{'ac_cv_path_SDL12_CONFIG'+set}'`\" = set"; then 
    63996397  echo $ac_n "(cached) $ac_c" 1>&6 
     
    64356433set dummy sdl11-config; ac_word=$2 
    64366434echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    6437 echo "configure:6438: checking for $ac_word" >&5 
     6435echo "configure:6436: checking for $ac_word" >&5 
    64386436if eval "test \"`echo '$''{'ac_cv_path_SDL11_CONFIG'+set}'`\" = set"; then 
    64396437  echo $ac_n "(cached) $ac_c" 1>&6 
     
    64766474set dummy sdl-config; ac_word=$2 
    64776475echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    6478 echo "configure:6479: checking for $ac_word" >&5 
     6476echo "configure:6477: checking for $ac_word" >&5 
    64796477if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then 
    64806478  echo $ac_n "(cached) $ac_c" 1>&6 
     
    65226520ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    65236521echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6524 echo "configure:6525: checking for $ac_hdr" >&5 
     6522echo "configure:6523: checking for $ac_hdr" >&5 
    65256523if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    65266524  echo $ac_n "(cached) $ac_c" 1>&6 
    65276525else 
    65286526  cat > conftest.$ac_ext <<EOF 
    6529 #line 6530 "configure" 
     6527#line 6528 "configure" 
    65306528#include "confdefs.h" 
    65316529#include <$ac_hdr> 
    65326530EOF 
    65336531ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6534 { (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6532{ (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    65356533ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    65366534if test -z "$ac_err"; then 
     
    66026600ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    66036601echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6604 echo "configure:6605: checking for $ac_hdr" >&5 
     6602echo "configure:6603: checking for $ac_hdr" >&5 
    66056603if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    66066604  echo $ac_n "(cached) $ac_c" 1>&6 
    66076605else 
    66086606  cat > conftest.$ac_ext <<EOF 
    6609 #line 6610 "configure" 
     6607#line 6608 "configure" 
    66106608#include "confdefs.h" 
    66116609#include <$ac_hdr> 
    66126610EOF 
    66136611ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6614 { (eval echo configure:6615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6612{ (eval echo configure:6613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    66156613ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    66166614if test -z "$ac_err"; then 
     
    66416639    else 
    66426640      echo $ac_n "checking for directX headers in ${withval}""... $ac_c" 1>&6 
    6643 echo "configure:6644: checking for directX headers in ${withval}" >&5 
     6641echo "configure:6642: checking for directX headers in ${withval}" >&5 
    66446642      if test -f ${withval}/ddraw.h 
    66456643      then 
     
    66686666ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    66696667echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6670 echo "configure:6671: checking for $ac_hdr" >&5 
     6668echo "configure:6669: checking for $ac_hdr" >&5 
    66716669if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    66726670  echo $ac_n "(cached) $ac_c" 1>&6 
    66736671else 
    66746672  cat > conftest.$ac_ext <<EOF 
    6675 #line 6676 "configure" 
     6673#line 6674 "configure" 
    66766674#include "confdefs.h" 
    66776675#include <$ac_hdr> 
    66786676EOF 
    66796677ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6680 { (eval echo configure:6681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6678{ (eval echo configure:6679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    66816679ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    66826680if test -z "$ac_err"; then 
     
    67736771  ac_safe=`echo "aalib.h" | sed 'y%./+-%__p_%'` 
    67746772echo $ac_n "checking for aalib.h""... $ac_c" 1>&6 
    6775 echo "configure:6776: checking for aalib.h" >&5 
     6773echo "configure:6774: checking for aalib.h" >&5 
    67766774if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    67776775  echo $ac_n "(cached) $ac_c" 1>&6 
    67786776else 
    67796777  cat > conftest.$ac_ext <<EOF 
    6780 #line 6781 "configure" 
     6778#line 6779 "configure" 
    67816779#include "confdefs.h" 
    67826780#include <aalib.h> 
    67836781EOF 
    67846782ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6785 { (eval echo configure:6786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6783{ (eval echo configure:6784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    67866784ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    67876785if test -z "$ac_err"; then 
     
    68346832ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    68356833echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    6836 echo "configure:6837: checking for $ac_hdr" >&5 
     6834echo "configure:6835: checking for $ac_hdr" >&5 
    68376835if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    68386836  echo $ac_n "(cached) $ac_c" 1>&6 
    68396837else 
    68406838  cat > conftest.$ac_ext <<EOF 
    6841 #line 6842 "configure" 
     6839#line 6840 "configure" 
    68426840#include "confdefs.h" 
    68436841#include <$ac_hdr> 
    68446842EOF 
    68456843ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     6844{ (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    68476845ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    68486846if test -z "$ac_err"; then 
     
    68676865    PLUGINS="${PLUGINS} dsp" 
    68686866    echo $ac_n "checking for main in -lossaudio""... $ac_c" 1>&6 
    6869 echo "configure:6870: checking for main in -lossaudio" >&5 
     6867echo "configure:6868: checking for main in -lossaudio" >&5 
    68706868ac_lib_var=`echo ossaudio'_'main | sed 'y%./+-%__p_%'` 
    68716869if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    68756873LIBS="-lossaudio  $LIBS" 
    68766874cat > conftest.$ac_ext <<EOF 
    6877 #line 6878 "configure" 
     6875#line 6876 "configure" 
    68786876#include "confdefs.h" 
    68796877 
     
    68826880; return 0; } 
    68836881EOF 
    6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     6882if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    68856883  rm -rf conftest* 
    68866884  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    69186916set dummy esd-config; ac_word=$2 
    69196917echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    6920 echo "configure:6921: checking for $ac_word" >&5 
     6918echo "configure:6919: checking for $ac_word" >&5 
    69216919if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then 
    69226920  echo $ac_n "(cached) $ac_c" 1>&6 
     
    69696967set dummy artsc-config; ac_word=$2 
    69706968echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    6971 echo "configure:6972: checking for $ac_word" >&5 
     6969echo "configure:6970: checking for $ac_word" >&5 
    69726970if eval "test \"`echo '$''{'ac_cv_path_ARTS_CONFIG'+set}'`\" = set"; then 
    69736971  echo $ac_n "(cached) $ac_c" 1>&6 
     
    70197017     ac_safe=`echo "alsa/asoundlib.h" | sed 'y%./+-%__p_%'` 
    70207018echo $ac_n "checking for alsa/asoundlib.h""... $ac_c" 1>&6 
    7021 echo "configure:7022: checking for alsa/asoundlib.h" >&5 
     7019echo "configure:7020: checking for alsa/asoundlib.h" >&5 
    70227020if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    70237021  echo $ac_n "(cached) $ac_c" 1>&6 
    70247022else 
    70257023  cat > conftest.$ac_ext <<EOF 
    7026 #line 7027 "configure" 
     7024#line 7025 "configure" 
    70277025#include "confdefs.h" 
    70287026#include <alsa/asoundlib.h> 
    70297027EOF 
    70307028ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7031 { (eval echo configure:7032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7029{ (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    70327030ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    70337031if test -z "$ac_err"; then 
     
    70467044  echo "$ac_t""yes" 1>&6 
    70477045  echo $ac_n "checking for main in -lasound""... $ac_c" 1>&6 
    7048 echo "configure:7049: checking for main in -lasound" >&5 
     7046echo "configure:7047: checking for main in -lasound" >&5 
    70497047ac_lib_var=`echo asound'_'main | sed 'y%./+-%__p_%'` 
    70507048if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    70547052LIBS="-lasound  $LIBS" 
    70557053cat > conftest.$ac_ext <<EOF 
    7056 #line 7057 "configure" 
     7054#line 7055 "configure" 
    70577055#include "confdefs.h" 
    70587056 
     
    70617059; return 0; } 
    70627060EOF 
    7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     7061if { (eval echo configure:7062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    70647062  rm -rf conftest* 
    70657063  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    71387136set dummy gtk12-config; ac_word=$2 
    71397137echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    7140 echo "configure:7141: checking for $ac_word" >&5 
     7138echo "configure:7139: checking for $ac_word" >&5 
    71417139if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then 
    71427140  echo $ac_n "(cached) $ac_c" 1>&6 
     
    71777175set dummy gtk-config; ac_word=$2 
    71787176echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    7179 echo "configure:7180: checking for $ac_word" >&5 
     7177echo "configure:7178: checking for $ac_word" >&5 
    71807178if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then 
    71817179  echo $ac_n "(cached) $ac_c" 1>&6 
     
    72277225ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    72287226echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    7229 echo "configure:7230: checking for $ac_hdr" >&5 
     7227echo "configure:7228: checking for $ac_hdr" >&5 
    72307228if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    72317229  echo $ac_n "(cached) $ac_c" 1>&6 
    72327230else 
    72337231  cat > conftest.$ac_ext <<EOF 
    7234 #line 7235 "configure" 
     7232#line 7233 "configure" 
    72357233#include "confdefs.h" 
    72367234#include <$ac_hdr> 
    72377235EOF 
    72387236ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7239 { (eval echo configure:7240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7237{ (eval echo configure:7238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    72407238ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    72417239if test -z "$ac_err"; then 
     
    72837281set dummy gnome-config; ac_word=$2 
    72847282echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    7285 echo "configure:7286: checking for $ac_word" >&5 
     7283echo "configure:7284: checking for $ac_word" >&5 
    72867284if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then 
    72877285  echo $ac_n "(cached) $ac_c" 1>&6 
     
    73287326ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    73297327echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    7330 echo "configure:7331: checking for $ac_hdr" >&5 
     7328echo "configure:7329: checking for $ac_hdr" >&5 
    73317329if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    73327330  echo $ac_n "(cached) $ac_c" 1>&6 
    73337331else 
    73347332  cat > conftest.$ac_ext <<EOF 
    7335 #line 7336 "configure" 
     7333#line 7334 "configure" 
    73367334#include "confdefs.h" 
    73377335#include <$ac_hdr> 
    73387336EOF 
    73397337ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7340 { (eval echo configure:7341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7338{ (eval echo configure:7339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    73417339ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    73427340if test -z "$ac_err"; then 
     
    74287426ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    74297427echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    7430 echo "configure:7431: checking for $ac_hdr" >&5 
     7428echo "configure:7429: checking for $ac_hdr" >&5 
    74317429if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    74327430  echo $ac_n "(cached) $ac_c" 1>&6 
    74337431else 
    74347432  cat > conftest.$ac_ext <<EOF 
    7435 #line 7436 "configure" 
     7433#line 7434 "configure" 
    74367434#include "confdefs.h" 
    74377435#include <$ac_hdr> 
    74387436EOF 
    74397437ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7440 { (eval echo configure:7441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7438{ (eval echo configure:7439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    74417439ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    74427440if test -z "$ac_err"; then 
     
    74837481ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    74847482echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    7485 echo "configure:7486: checking for $ac_hdr" >&5 
     7483echo "configure:7484: checking for $ac_hdr" >&5 
    74867484if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    74877485  echo $ac_n "(cached) $ac_c" 1>&6 
    74887486else 
    74897487  cat > conftest.$ac_ext <<EOF 
    7490 #line 7491 "configure" 
     7488#line 7489 "configure" 
    74917489#include "confdefs.h" 
    74927490#include <$ac_hdr> 
    74937491EOF 
    74947492ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7495 { (eval echo configure:7496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7493{ (eval echo configure:7494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    74967494ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    74977495if test -z "$ac_err"; then 
     
    75547552  ac_safe=`echo "lirc/lirc_client.h" | sed 'y%./+-%__p_%'` 
    75557553echo $ac_n "checking for lirc/lirc_client.h""... $ac_c" 1>&6 
    7556 echo "configure:7557: checking for lirc/lirc_client.h" >&5 
     7554echo "configure:7555: checking for lirc/lirc_client.h" >&5 
    75577555if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    75587556  echo $ac_n "(cached) $ac_c" 1>&6 
    75597557else 
    75607558  cat > conftest.$ac_ext <<EOF 
    7561 #line 7562 "configure" 
     7559#line 7560 "configure" 
    75627560#include "confdefs.h" 
    75637561#include <lirc/lirc_client.h> 
    75647562EOF 
    75657563ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    7566 { (eval echo configure:7567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     7564{ (eval echo configure:7565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    75677565ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    75687566if test -z "$ac_err"; then 
     
    75817579  echo "$ac_t""yes" 1>&6 
    75827580  echo $ac_n "checking for lirc_init in -llirc_client""... $ac_c" 1>&6 
    7583 echo "configure:7584: checking for lirc_init in -llirc_client" >&5 
     7581echo "configure:7582: checking for lirc_init in -llirc_client" >&5 
    75847582ac_lib_var=`echo lirc_client'_'lirc_init | sed 'y%./+-%__p_%'` 
    75857583if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    75897587LIBS="-llirc_client  $LIBS" 
    75907588cat > conftest.$ac_ext <<EOF 
    7591 #line 7592 "configure" 
     7589#line 7590 "configure" 
    75927590#include "confdefs.h" 
    75937591/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    76007598; return 0; } 
    76017599EOF 
    7602 if { (eval echo configure:7603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     7600if { (eval echo configure:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    76037601  rm -rf conftest* 
    76047602  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    76577655    *) 
    76587656                  echo $ac_n "checking whether the byte order is big-endian""... $ac_c" 1>&6 
    7659 echo "configure:7660: checking whether the byte order is big-endian" >&5 
     7657echo "configure:7658: checking whether the byte order is big-endian" >&5 
    76607658if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 
    76617659  echo $ac_n "(cached) $ac_c" 1>&6 
     
    77427740   if test x$enableval = xyes; then 
    77437741    echo $ac_n "checking for pth_init in -lpth""... $ac_c" 1>&6 
    7744 echo "configure:7745: checking for pth_init in -lpth" >&5 
     7742echo "configure:7743: checking for pth_init in -lpth" >&5 
    77457743ac_lib_var=`echo pth'_'pth_init | sed 'y%./+-%__p_%'` 
    77467744if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    77507748LIBS="-lpth  $LIBS" 
    77517749cat > conftest.$ac_ext <<EOF 
    7752 #line 7753 "configure" 
     7750#line 7751 "configure" 
    77537751#include "confdefs.h" 
    77547752/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    77617759; return 0; } 
    77627760EOF 
    7763 if { (eval echo configure:7764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     7761if { (eval echo configure:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    77647762  rm -rf conftest* 
    77657763  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    77897787 
    77907788    cat > conftest.$ac_ext <<EOF 
    7791 #line 7792 "configure" 
     7789#line 7790 "configure" 
    77927790#include "confdefs.h" 
    77937791#include <pth.h> 
     
    78157813   if test x$enableval = xyes; then 
    78167814    echo $ac_n "checking for st_init in -lst""... $ac_c" 1>&6 
    7817 echo "configure:7818: checking for st_init in -lst" >&5 
     7815echo "configure:7816: checking for st_init in -lst" >&5 
    78187816ac_lib_var=`echo st'_'st_init | sed 'y%./+-%__p_%'` 
    78197817if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    78237821LIBS="-lst  $LIBS" 
    78247822cat > conftest.$ac_ext <<EOF 
    7825 #line 7826 "configure" 
     7823#line 7824 "configure" 
    78267824#include "confdefs.h" 
    78277825/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    78347832; return 0; } 
    78357833EOF 
    7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     7834if { (eval echo configure:7835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    78377835  rm -rf conftest* 
    78387836  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    78627860 
    78637861    cat > conftest.$ac_ext <<EOF 
    7864 #line 7865 "configure" 
     7862#line 7863 "configure" 
    78657863#include "confdefs.h" 
    78667864#include <st.h> 
  • configure.in

    ra33d6ac rcf5b383  
    8989 
    9090dnl Check for system libs needed 
    91 AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty usleep vasprintf swab sigrelse getpwuid memalign valloc
     91AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty usleep vasprintf swab sigrelse getpwuid memalign posix_memalign
    9292 
    9393AC_CHECK_FUNC(connect,,[ 
     
    378378MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext" 
    379379THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn" 
    380 if test x$SYS != xmingw32; then 
    381   SSE_MODULES="imdctsse downmixsse" 
    382 fi 
     380SSE_MODULES="imdctsse downmixsse" 
    383381ALTIVEC_MODULES="idctaltivec motionaltivec" 
    384382 
  • include/ac3_imdct.h

    re5b4af9 rcf5b383  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999, 2000 VideoLAN 
    5  * $Id: ac3_imdct.h,v 1.6 2001/10/30 19:34:53 reno Exp $ 
     5 * $Id: ac3_imdct.h,v 1.7 2002/04/05 01:05:22 gbazin Exp $ 
    66 * 
    77 * Authors: Michel Kaempf <maxx@via.ecp.fr> 
     
    3333{ 
    3434    complex_t * buf; 
     35    void *      buf_orig;                         /* pointer before memalign */ 
    3536 
    3637    /* Delay buffer for time domain interleaving */ 
    3738    float * delay; 
     39    void *  delay_orig;                           /* pointer before memalign */ 
    3840    float * delay1; 
     41    void *  delay1_orig;                          /* pointer before memalign */ 
    3942 
    4043    /* Twiddle factors for IMDCT */ 
    4144    float * xcos1; 
     45    void *  xcos1_orig;                           /* pointer before memalign */ 
    4246    float * xsin1; 
     47    void *  xsin1_orig;                           /* pointer before memalign */ 
    4348    float * xcos2; 
     49    void *  xcos2_orig;                           /* pointer before memalign */ 
    4450    float * xsin2; 
     51    void *  xsin2_orig;                           /* pointer before memalign */ 
    4552    float * xcos_sin_sse; 
     53    void *  xcos_sin_sse_orig;                    /* pointer before memalign */ 
    4654    
    4755    /* Twiddle factor LUT */ 
    4856    complex_t * w_2; 
     57    void *      w_2_orig;                         /* pointer before memalign */ 
    4958    complex_t * w_4; 
     59    void *      w_4_orig;                         /* pointer before memalign */ 
    5060    complex_t * w_8; 
     61    void *      w_8_orig;                         /* pointer before memalign */ 
    5162    complex_t * w_16; 
     63    void *      w_16_orig;                        /* pointer before memalign */ 
    5264    complex_t * w_32; 
     65    void *      w_32_orig;                        /* pointer before memalign */ 
    5366    complex_t * w_64; 
     67    void *      w_64_orig;                        /* pointer before memalign */ 
    5468    complex_t * w_1; 
     69    void *      w_1_orig;                         /* pointer before memalign */ 
    5570     
    5671    /* Module used and shortcuts */ 
  • include/common.h