[FFmpeg-devel] Build failed on Solaris 10

Unknown a
Tue Jun 5 07:29:04 CEST 2007


As you can see from config.err, the PATH has /usr/xpg4/bin before
/usr/bin.
Now, I excluded Solaris ld at all.
But nothing has changed: configure script hangs with full CPU load:

$ ./configure --extra-cflags=-B/usr/sfw/i386-sun-solaris2.10/bin/
--extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/
Broken shell detected.  Trying alternatives.
Trying shell bash
install prefix            /usr/local
source path               /home/elisej/tmp/ffmpeg/ffmpeg
C compiler                gcc
make                      gmake
.align is power-of-two    no
ARCH                      x86_32 (generic)
big-endian                no
MMX enabled               yes
CMOV enabled              no
CMOV is fast              no
gprof enabled             no
debug symbols             yes
strip symbols             yes
optimize                  yes
static                    yes
shared                    no
postprocessing support    no
software scaler enabled   no
video hooking             yes
Imlib2 support            no
FreeType support          yes
network support           yes
IPv6 support              no
threading support         no
SDL support               no
Sun medialib support      no
AVISynth enabled          no
liba52 support            no
liba52 dlopened           no
libamr-nb support         no
libamr-wb support         no
libfaac enabled           no
libfaad enabled           no
faadbin enabled           no
libgsm enabled            no
libmp3lame enabled        no
libnut enabled            no
libogg enabled            no
libtheora enabled         no
libvorbis enabled         no
x264 enabled              no
XviD enabled              no
zlib enabled              yes
License: LGPL
Creating config.mak and config.h...




On Tue, 2007-06-05 at 01:40, M?ns Rullg?rd wrote:
> Piero Bugoni <crboca32 at yahoo.com> writes:
> 
> >> gcc: unrecognized option `-rdynamic'
> >> ld: fatal: option -dn and -P are incompatible
> >> ld: fatal: Flags processing errors
> >> collect2: ld returned 1 exit status
> >> check_cc
> >> BEGIN /tmp/ffmpeg-conf-31317-29245-30497.c
> >>      1	asm (".align 3");
> >> END /tmp/ffmpeg-conf-31317-29245-30497.c
> >> gcc -fomit-frame-pointer -g
> >> -Wdeclaration-after-statement -Wall -Wno-switch
> >> -Wdisabled-optimization -Wpointer-arith
> >> -Wredundant-decls -O3 -c -o
> >> /tmp/ffmpeg-conf-27206-29245-3450.o
> >> /tmp/ffmpeg-conf-31317-29245-30497.c
> >> /var/tmp//ccmJkNNh.s: Assembler messages:
> >> /var/tmp//ccmJkNNh.s:11: Error: alignment not a
> >> power of 2
> >
> > Note that you still have errors at the end of your
> > output.
> 
> Those are normal.
> 
> > What was said in the previous post regarding POSIX may
> > work, by using the compiler stuff under /usr/xpg4/bin.
> > (PATH, and other environment variables are important).
> 
> Solaris unfortunately has a host of non-POSIX compliant tools under
> /bin, including grep and sed (and of course sh which we detect).
> Proper tools are available in /usr/xpg4/bin so I really recommend
> trying those.  If that still doesn't work we can start talking.
> 
> -- 
> M?ns Rullg?rd
> mans at mansr.com
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 
-------------- next part --------------
# ./configure --extra-cflags=-B/usr/sfw/i386-sun-solaris2.10/bin/ --extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/
AB_CARDCATALOG=/usr/dt/share/answerbooks/en_US.UTF-8/ab_cardcatalog
BASH=/usr/bin/bash
BASH_ARGC=([0]="2")
BASH_ARGV=([0]="--extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/" [1]="--extra-cflags=-B/usr/sfw/i386-sun-solaris2.10/bin/")
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="./configure")
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="i386-pc-solaris2.10")
BASH_VERSION='3.00.16(1)-release'
BONOBO_ACTIVATION_OD_IOR=IOR:010000001f00000049444c3a426f6e6f626f2f4f626a6563744469726563746f72793a312e300000040000000054424f540000000101020005000000554e49580000000005000000686f7374000000002f0000002f7661722f746d702f6f726269742d656c6973656a2f6c696e632d3261662d302d3436363466633438333932643700000000000000000000340000000101020005000000686f737400001d801c000000000000008570da7f824ff3d7fef868d629539e6a05000000f60ef40000000000caaedfba5c000000010102002f0000002f7661722f746d702f6f726269742d656c6973656a2f6c696e632d3261662d302d343636346663343833393264370000000000001c000000000000008570da7f824ff3d7fef868d629539e6a05000000f60ef40001000000480000000100000002000000050000001c000000000000008570da7f824ff3d7fef868d629539e6a05000000f60ef40001000000140000000100000001000105000000000901010000000000
BSF_LIST=$'dump_extradata_bsf\nremove_extradata_bsf\nnoise_bsf\nmp3_header_compress_bsf\nmp3_header_decompress_bsf\nmjpega_dump_header_bsf\nimx_dump_header_bsf'
BUILDSUF=
CFLAGS=' -B/usr/sfw/i386-sun-solaris2.10/bin/'
CMDLINE_SELECT=$'\n    \n    encoders\n    decoders\n    parsers\n    bsfs\n    muxers\n    demuxers\n    audio_beos\n    audio_oss\n    avisynth\n    beos_netserver\n    bktr\n    dc1394\n    dv1394\n    ffmpeg\n    ffplay\n    ffserver\n    gpl\n    gprof\n    ipv6\n    liba52\n    liba52bin\n    libamr\n    libamr_nb\n    libamr_wb\n    libfaac\n    libfaad\n    libfaadbin\n    libgsm\n    libmp3lame\n    libnut\n    libogg\n    libtheora\n    libvorbis\n    memalign_hack\n    mpegaudio_hp\n    network\n    powerpc_perf\n    pp\n    protocols\n    swscaler\n    vhook\n    v4l\n    v4l2\n    x11grab\n    x264\n    xvid\n    zlib\n\n    \n    altivec\n    armv5te\n    armv6\n    iwmmxt\n    mmi\n    mmx\n\n    \n    beosthreads\n    os2threads\n    pthreads\n    w32threads\n\n    debug\n    extra_warnings\n    shared\n    static\n'
COLORTERM=gnome-terminal
CONFIG_LIST=$'\n    encoders\n    decoders\n    parsers\n    bsfs\n    muxers\n    demuxers\n    audio_beos\n    audio_oss\n    avisynth\n    beos_netserver\n    bktr\n    dc1394\n    dv1394\n    ffmpeg\n    ffplay\n    ffserver\n    gpl\n    gprof\n    ipv6\n    liba52\n    liba52bin\n    libamr\n    libamr_nb\n    libamr_wb\n    libfaac\n    libfaad\n    libfaadbin\n    libgsm\n    libmp3lame\n    libnut\n    libogg\n    libtheora\n    libvorbis\n    memalign_hack\n    mpegaudio_hp\n    network\n    powerpc_perf\n    pp\n    protocols\n    swscaler\n    vhook\n    v4l\n    v4l2\n    x11grab\n    x264\n    xvid\n    zlib\n'
DECODER_LIST=$'aasc_decoder\nasv1_decoder\nasv2_decoder\navs_decoder\nbethsoftvid_decoder\nbmp_decoder\nc93_decoder\ncavs_decoder\ncinepak_decoder\ncljr_decoder\ncscd_decoder\ncyuv_decoder\ndnxhd_decoder\ndsicinvideo_decoder\ndvvideo_decoder\ndxa_decoder\neightbps_decoder\nffv1_decoder\nffvhuff_decoder\nflashsv_decoder\nflic_decoder\nflv_decoder\nfourxm_decoder\nfraps_decoder\ngif_decoder\nh261_decoder\nh263_decoder\nh263i_decoder\nh264_decoder\nhuffyuv_decoder\nidcin_decoder\nindeo2_decoder\nindeo3_decoder\ninterplay_video_decoder\njpegls_decoder\nkmvc_decoder\nloco_decoder\nmdec_decoder\nmjpeg_decoder\nmjpegb_decoder\nmmvideo_decoder\nmpeg_xvmc_decoder\nmpeg1video_decoder\nmpeg2video_decoder\nmpeg4_decoder\nmpegvideo_decoder\nmsmpeg4v1_decoder\nmsmpeg4v2_decoder\nmsmpeg4v3_decoder\nmsrle_decoder\nmsvideo1_decoder\nmszh_decoder\nnuv_decoder\npng_decoder\nptx_decoder\nqdraw_decoder\nqpeg_decoder\nqtrle_decoder\nrawvideo_decoder\nroq_decoder\nrpza_decoder\nrv10_decoder\nrv20_decoder\nsgi_decoder\nsmacker_decoder\nsmc_decoder\nsnow_decoder\nsp5x_decoder\nsvq1_decoder\nsvq3_decoder\ntarga_decoder\ntheora_decoder\nthp_decoder\ntiertexseqvideo_decoder\ntiff_decoder\ntruemotion1_decoder\ntruemotion2_decoder\ntscc_decoder\ntxd_decoder\nulti_decoder\nvc1_decoder\nvcr1_decoder\nvmdvideo_decoder\nvmnc_decoder\nvp3_decoder\nvp5_decoder\nvp6_decoder\nvp6f_decoder\nvqa_decoder\nwmv1_decoder\nwmv2_decoder\nwmv3_decoder\nwnv1_decoder\nxan_wc3_decoder\nxl_decoder\nzlib_decoder\nzmbv_decoder\nmpeg4aac_decoder\nalac_decoder\natrac3_decoder\ncook_decoder\ndca_decoder\ndsicinaudio_decoder\nflac_decoder\nimc_decoder\nlibamr_nb_decoder\nlibamr_wb_decoder\nliba52_decoder\nlibfaad_decoder\nlibgsm_decoder\nlibgsm_ms_decoder\nlibvorbis_decoder\nmace3_decoder\nmace6_decoder\nmp2_decoder\nmp3_decoder\nmp3adu_decoder\nmp3on4_decoder\nmpc7_decoder\nqdm2_decoder\nra_144_decoder\nra_288_decoder\nshorten_decoder\nsmackaud_decoder\nsonic_decoder\ntruespeech_decoder\ntta_decoder\nvmdaudio_decoder\nvorbis_decoder\nwavpack_decoder\nwmav1_decoder\nwmav2_decoder\nws_snd1_decoder\npcm_alaw_decoder\npcm_mulaw_decoder\npcm_s8_decoder\npcm_s16be_decoder\npcm_s16le_decoder\npcm_s24be_decoder\npcm_s24daud_decoder\npcm_s24le_decoder\npcm_s32be_decoder\npcm_s32le_decoder\npcm_u8_decoder\npcm_u16be_decoder\npcm_u16le_decoder\npcm_u24be_decoder\npcm_u24le_decoder\npcm_u32be_decoder\npcm_u32le_decoder\ninterplay_dpcm_decoder\nroq_dpcm_decoder\nsol_dpcm_decoder\nxan_dpcm_decoder\nadpcm_4xm_decoder\nadpcm_adx_decoder\nadpcm_ct_decoder\nadpcm_ea_decoder\nadpcm_g726_decoder\nadpcm_ima_dk3_decoder\nadpcm_ima_dk4_decoder\nadpcm_ima_qt_decoder\nadpcm_ima_smjpeg_decoder\nadpcm_ima_wav_decoder\nadpcm_ima_ws_decoder\nadpcm_ms_decoder\nadpcm_sbpro_2_decoder\nadpcm_sbpro_3_decoder\nadpcm_sbpro_4_decoder\nadpcm_swf_decoder\nadpcm_thp_decoder\nadpcm_xa_decoder\nadpcm_yamaha_decoder\ndvbsub_decoder\ndvdsub_decoder'
DEMUXER_LIST=$'aac_demuxer\nac3_demuxer\naiff_demuxer\namr_demuxer\napc_demuxer\nasf_demuxer\nau_demuxer\naudio_demuxer\navi_demuxer\navs_demuxer\nbethsoftvid_demuxer\nc93_demuxer\ndaud_demuxer\ndc1394_demuxer\ndsicin_demuxer\ndts_demuxer\ndv_demuxer\ndv1394_demuxer\ndxa_demuxer\nea_demuxer\nffm_demuxer\nflac_demuxer\nflic_demuxer\nflv_demuxer\nfourxm_demuxer\ngif_demuxer\ngxf_demuxer\nh261_demuxer\nh263_demuxer\nh264_demuxer\nidcin_demuxer\nimage2_demuxer\nimage2pipe_demuxer\ningenient_demuxer\nipmovie_demuxer\nlibnut_demuxer\nm4v_demuxer\nmatroska_demuxer\nmjpeg_demuxer\nmm_demuxer\nmmf_demuxer\nmov_demuxer\nmp3_demuxer\nmpc_demuxer\nmpegps_demuxer\nmpegts_demuxer\nmpegvideo_demuxer\nmtv_demuxer\nmxf_demuxer\nnsv_demuxer\nnut_demuxer\nnuv_demuxer\nogg_demuxer\npcm_alaw_demuxer\npcm_mulaw_demuxer\npcm_s16be_demuxer\npcm_s16le_demuxer\npcm_s8_demuxer\npcm_u16be_demuxer\npcm_u16le_demuxer\npcm_u8_demuxer\nrawvideo_demuxer\nrm_demuxer\nroq_demuxer\nredir_demuxer\nrtsp_demuxer\nsdp_demuxer\nsegafilm_demuxer\nshorten_demuxer\nsmacker_demuxer\nsol_demuxer\nstr_demuxer\nswf_demuxer\nthp_demuxer\ntiertexseq_demuxer\ntta_demuxer\ntxd_demuxer\nv4l2_demuxer\nvc1_demuxer\nvideo_grab_bktr_demuxer\nvideo_grab_v4l_demuxer\nvmd_demuxer\nvoc_demuxer\nwav_demuxer\nwc3_demuxer\nwsaud_demuxer\nwsvqa_demuxer\nwv_demuxer\nx11_grab_device_demuxer\nyuv4mpegpipe_demuxer'
DIRSTACK=()
DISPLAY=:0.0
DTAPPSEARCHPATH=/home/elisej/.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
DTDATABASESEARCHPATH=/home/elisej/.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
DTDEVROOT=
DTHELPSEARCHPATH=/home/elisej/.dt/help/elisej-host-0/%H:/home/elisej/.dt/help/elisej-host-0/%H.sdl:/home/elisej/.dt/help/elisej-host-0/%H.hv:/home/elisej/.dt/help/%H:/home/elisej/.dt/help/%H.sdl:/home/elisej/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTSCREENSAVERLIST='StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank'
DTSOURCEPROFILE=true
DTUSERSESSION=elisej-host-0
DTXSERVERLOCATION=local
E1=0
E2=1
EDITOR=/usr/dt/bin/dtpad
ENCODER_LIST=$'asv1_encoder\nasv2_encoder\nbmp_encoder\ndvvideo_encoder\nffv1_encoder\nffvhuff_encoder\nflashsv_encoder\nflv_encoder\ngif_encoder\nh261_encoder\nh263_encoder\nh263p_encoder\nhuffyuv_encoder\njpegls_encoder\nljpeg_encoder\nmjpeg_encoder\nmpeg1video_encoder\nmpeg2video_encoder\nmpeg4_encoder\nmsmpeg4v1_encoder\nmsmpeg4v2_encoder\nmsmpeg4v3_encoder\npam_encoder\npbm_encoder\npgm_encoder\npgmyuv_encoder\npng_encoder\nppm_encoder\nrawvideo_encoder\nrv10_encoder\nrv20_encoder\nsgi_encoder\nsnow_encoder\nsvq1_encoder\ntarga_encoder\ntiff_encoder\nwmv1_encoder\nwmv2_encoder\nx264_encoder\nxvid_encoder\nzlib_encoder\nzmbv_encoder\nac3_encoder\nflac_encoder\nlibamr_nb_encoder\nlibamr_wb_encoder\nlibfaac_encoder\nlibgsm_encoder\nlibgsm_ms_encoder\nlibtheora_encoder\nlibvorbis_encoder\nmp2_encoder\nmp3lame_encoder\nsonic_encoder\nsonic_ls_encoder\nvorbis_encoder\nwmav1_encoder\nwmav2_encoder\npcm_alaw_encoder\npcm_mulaw_encoder\npcm_s8_encoder\npcm_s16be_encoder\npcm_s16le_encoder\npcm_s24be_encoder\npcm_s24daud_encoder\npcm_s24le_encoder\npcm_s32be_encoder\npcm_s32le_encoder\npcm_u8_encoder\npcm_u16be_encoder\npcm_u16le_encoder\npcm_u24be_encoder\npcm_u24le_encoder\npcm_u32be_encoder\npcm_u32le_encoder\nroq_dpcm_encoder\nadpcm_4xm_encoder\nadpcm_adx_encoder\nadpcm_ct_encoder\nadpcm_ea_encoder\nadpcm_g726_encoder\nadpcm_ima_dk3_encoder\nadpcm_ima_dk4_encoder\nadpcm_ima_qt_encoder\nadpcm_ima_smjpeg_encoder\nadpcm_ima_wav_encoder\nadpcm_ima_ws_encoder\nadpcm_ms_encoder\nadpcm_sbpro_2_encoder\nadpcm_sbpro_3_encoder\nadpcm_sbpro_4_encoder\nadpcm_swf_encoder\nadpcm_xa_encoder\nadpcm_yamaha_encoder\ndvbsub_encoder\ndvdsub_encoder'
EUID=100
EXESUF=
FFLDFLAGS=-Wl,--warn-common
FFMPEG_CONFIGURATION='--extra-cflags=-B/usr/sfw/i386-sun-solaris2.10/bin/ --extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/'
FFSERVERLDFLAGS=-Wl,-E
FF_CONF_EXEC=1
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/var/tmp/keyring-CPfvgh/socket
GROUPS=()
GTK_IM_MODULE=iiim
GTK_RC_FILES=/etc/gtk/gtkrc:/home/elisej/.gtkrc-1.2-gnome2
G_BROKEN_FILENAMES=yes
G_FILENAME_ENCODING=@locale,UTF-8
HAVE_LIST=$'\n    \n    beosthreads\n    os2threads\n    pthreads\n    w32threads\n\n    altivec\n    altivec_h\n    armv5te\n    armv6\n    arpa_inet_h\n    byteswap_h\n    cmov\n    dcbzl\n    dev_bktr_ioctl_bt848_h\n    dev_bktr_ioctl_meteor_h\n    dev_ic_bt8xx_h\n    dev_video_meteor_ioctl_meteor_h\n    dev_video_bktr_ioctl_bt848_h\n    dlfcn_h\n    dlopen\n    ebp_available\n    ebx_available\n    fast_64bit\n    fast_cmov\n    fast_unaligned\n    freetype2\n    imlib2\n    inet_aton\n    iwmmxt\n    localtime_r\n    lrintf\n    machine_ioctl_bt848_h\n    machine_ioctl_meteor_h\n    malloc_h\n    memalign\n    mlib\n    mmi\n    mmx\n    os2\n    sdl\n    sdl_video_size\n    soundcard_h\n    ssse3\n    sys_poll_h\n    sys_soundcard_h\n    threads\n'
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
HOME=/home/elisej
HOSTNAME=host
HOSTTYPE=i386
IFS=$' \t\n'
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LDCONFIG=ldconfig
LDFLAGS=' -B/usr/sfw/i386-sun-solaris2.10/bin/'
LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
LESS=-FMi
LIB='$(LIBPREF)$(NAME)$(LIBSUF)'
LIBOBJFLAGS=
LIBPREF=lib
LIBSUF=.a
LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(libdir)/$(LIB)"'
LOGNAME=elisej
MACHTYPE=i386-pc-solaris2.10
MAIL=/var/mail/elisej
MANPATH=/usr/share/man:/usr/openwin/share/man:/usr/sfw/share/man:/opt/sfw/man:/usr/local/man:/opt/SUNWspro/man:/opt/gnu/man
MUXER_LIST=$'ac3_muxer\nadts_muxer\naiff_muxer\namr_muxer\nasf_muxer\nasf_stream_muxer\nau_muxer\naudio_muxer\navi_muxer\ncrc_muxer\ndv_muxer\nffm_muxer\nflac_muxer\nflv_muxer\nframecrc_muxer\ngif_muxer\ngxf_muxer\nh261_muxer\nh263_muxer\nh264_muxer\nimage2_muxer\nimage2pipe_muxer\nlibnut_muxer\nm4v_muxer\nmjpeg_muxer\nmmf_muxer\nmov_muxer\nmp2_muxer\nmp3_muxer\nmp4_muxer\nmpeg1system_muxer\nmpeg1vcd_muxer\nmpeg1video_muxer\nmpeg2dvd_muxer\nmpeg2svcd_muxer\nmpeg2video_muxer\nmpeg2vob_muxer\nmpegts_muxer\nmpjpeg_muxer\nnull_muxer\nogg_muxer\npcm_alaw_muxer\npcm_mulaw_muxer\npcm_s16be_muxer\npcm_s16le_muxer\npcm_s8_muxer\npcm_u16be_muxer\npcm_u16le_muxer\npcm_u8_muxer\npsp_muxer\nrawvideo_muxer\nrm_muxer\nroq_muxer\nrtp_muxer\nswf_muxer\ntg2_muxer\ntgp_muxer\nvoc_muxer\nwav_muxer\nyuv4mpegpipe_muxer'
OPENWINHOME=/usr/openwin
OPTERR=1
OPTIND=1
OSTYPE=solaris2.10
PAGER=less
PARSER_LIST=$'aac_parser\nac3_parser\ncavsvideo_parser\ndca_parser\ndvbsub_parser\ndvdsub_parser\nh261_parser\nh263_parser\nh264_parser\nmjpeg_parser\nmpeg4video_parser\nmpegaudio_parser\nmpegvideo_parser\npnm_parser\nvc1_parser'
PATH=/usr/sbin:/usr/xpg4/bin:/usr/bin:/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin:/opt/SUNWspro/bin:/opt/gnu/bin
PIPESTATUS=([0]="0")
PPID=722
PREFIX=/usr/local
PROTOCOL_LIST=$'file_protocol\nhttp_protocol\npipe_protocol\nrtp_protocol\ntcp_protocol\nudp_protocol'
PS4='+ '
PWD=/home/elisej/tmp/ffmpeg/ffmpeg
RANDOM=26185
SDT_NO_DTDBCACHE=1
SDT_NO_TOOLTALK=1
SESSIONTYPE=altDt
SESSION_MANAGER=local/host:/tmp/.ICE-unix/677,inet6/host:32795,inet/host:32796
SESSION_SVR=host
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHFLAGS='-shared -Wl,-soname,$@'
SHLVL=3
SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
SLIBPREF=lib
SLIBSUF=.so
START_SPECKEYSD=no
TARGET_LIST=$'\n    altivec\n    armv5te\n    armv6\n    iwmmxt\n    mmi\n    mmx\n'
TERM=xterm
THREADS_LIST=$'\n    beosthreads\n    os2threads\n    pthreads\n    w32threads\n'
TMPC=/tmp/ffmpeg-conf-8529-1397-10731.c
TMPDIR1=/tmp
TMPE=/tmp/ffmpeg-conf-21484-1397-3132
TMPH=/tmp/ffmpeg-conf-22002-1397-26185.h
TMPO=/tmp/ffmpeg-conf-28014-1397-29276.o
TMPS=/tmp/ffmpeg-conf-18396-1397-20349.S
TZ=Europe/Kiev
UID=100
USER=elisej
VHOOKSHFLAGS='$(SHFLAGS)'
WINDOWID=29360175
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
XMBINDDIR=/usr/dt/lib/bindings
XMICONBMSEARCHPATH=/home/elisej/.dt/icons/%B%M.bm:/home/elisej/.dt/icons/%B%M.pm:/home/elisej/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
XMICONSEARCHPATH=/home/elisej/.dt/icons/%B%M.pm:/home/elisej/.dt/icons/%B%M.bm:/home/elisej/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
_=--extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/
aac_demuxer=yes
aac_parser=yes
aasc_decoder=yes
ac3_demuxer=yes
ac3_demuxer_deps=ac3_parser
ac3_encoder=yes
ac3_muxer=yes
ac3_parser=yes
adpcm_4xm_decoder=yes
adpcm_4xm_encoder=yes
adpcm_adx_decoder=yes
adpcm_adx_encoder=yes
adpcm_ct_decoder=yes
adpcm_ct_encoder=yes
adpcm_ea_decoder=yes
adpcm_ea_encoder=yes
adpcm_g726_decoder=yes
adpcm_g726_encoder=yes
adpcm_ima_dk3_decoder=yes
adpcm_ima_dk3_encoder=yes
adpcm_ima_dk4_decoder=yes
adpcm_ima_dk4_encoder=yes
adpcm_ima_qt_decoder=yes
adpcm_ima_qt_encoder=yes
adpcm_ima_smjpeg_decoder=yes
adpcm_ima_smjpeg_encoder=yes
adpcm_ima_wav_decoder=yes
adpcm_ima_wav_encoder=yes
adpcm_ima_ws_decoder=yes
adpcm_ima_ws_encoder=yes
adpcm_ms_decoder=yes
adpcm_ms_encoder=yes
adpcm_sbpro_2_decoder=yes
adpcm_sbpro_2_encoder=yes
adpcm_sbpro_3_decoder=yes
adpcm_sbpro_3_encoder=yes
adpcm_sbpro_4_decoder=yes
adpcm_sbpro_4_encoder=yes
adpcm_swf_decoder=yes
adpcm_swf_encoder=yes
adpcm_thp_decoder=yes
adpcm_xa_decoder=yes
adpcm_xa_encoder=yes
adpcm_yamaha_decoder=yes
adpcm_yamaha_encoder=yes
adts_muxer=yes
aiff_demuxer=yes
aiff_muxer=yes
alac_decoder=yes
altivec=default
amr_demuxer=yes
amr_muxer=yes
apc_demuxer=yes
ar=ar
arch=x86_32
armv5te=default
armv6=default
asf_demuxer=yes
asf_muxer=yes
asf_stream_muxer=yes
asmalign_pot=unknown
asv1_decoder=yes
asv1_encoder=yes
asv2_decoder=yes
asv2_encoder=yes
atrac3_decoder=yes
au_demuxer=yes
au_muxer=yes
audio_beos=default
audio_demuxer=yes
audio_demuxer_deps_any='audio_oss audio_beos'
audio_muxer=yes
audio_muxer_deps_any='audio_oss audio_beos'
audio_oss=yes
avi_demuxer=yes
avi_muxer=yes
avisynth=no
avs_decoder=yes
avs_demuxer=yes
beos_netserver=no
beosthreads=no
bethsoftvid_decoder=yes
bethsoftvid_demuxer=yes
bigendian=no
bindir='${PREFIX}/bin'
bktr=yes
bmp_decoder=yes
bmp_encoder=yes
c93_decoder=yes
c93_demuxer=yes
cavs_decoder=yes
cavsvideo_parser=yes
cc=gcc
cinepak_decoder=yes
cljr_decoder=yes
cmov=no
cook_decoder=yes
cpu=generic
crc_muxer=yes
cross_compile=no
cross_prefix=
cscd_decoder=yes
cyuv_decoder=yes
daud_demuxer=yes
dc1394=no
dc1394_demuxer=yes
dc1394_demuxer_deps=dc1394
dca_decoder=yes
dca_parser=yes
dcbzl=no
debug=yes
dlfcn_h=no
dlopen=no
dnxhd_decoder=yes
dostrip=yes
dsicin_demuxer=yes
dsicinaudio_decoder=yes
dsicinvideo_decoder=yes
dts_demuxer=yes
dtstart_sessionlogfile=/dev/null
dump_extradata_bsf=yes
dv1394=yes
dv1394_demuxer=yes
dv1394_demuxer_deps=dv1394
dv_demuxer=yes
dv_muxer=yes
dvbsub_decoder=yes
dvbsub_encoder=yes
dvbsub_parser=yes
dvdsub_decoder=yes
dvdsub_encoder=yes
dvdsub_parser=yes
dvvideo_decoder=yes
dvvideo_encoder=yes
dxa_decoder=yes
dxa_decoder_deps=zlib
dxa_demuxer=yes
ea_demuxer=yes
eightbps_decoder=yes
extra_warnings=no
extralibs=' -lm'
fast_cmov=no
fast_unaligned=yes
ffm_demuxer=yes
ffm_muxer=yes
ffmpeg=yes
ffplay=yes
ffplay_deps=sdl
ffserver=yes
ffserver_deps='muxers rtp_protocol'
ffv1_decoder=yes
ffv1_encoder=yes
ffvhuff_decoder=yes
ffvhuff_encoder=yes
file_protocol=yes
flac_decoder=yes
flac_demuxer=yes
flac_encoder=yes
flac_muxer=yes
flashsv_decoder=yes
flashsv_decoder_deps=zlib
flashsv_encoder=yes
flashsv_encoder_deps=zlib
flic_decoder=yes
flic_demuxer=yes
flv_decoder=yes
flv_decoder_deps=h263_decoder
flv_demuxer=yes
flv_encoder=yes
flv_muxer=yes
fourxm_decoder=yes
fourxm_demuxer=yes
framecrc_muxer=yes
fraps_decoder=yes
gif_decoder=yes
gif_demuxer=yes
gif_encoder=yes
gif_muxer=yes
gpl=no
gprof=no
gxf_demuxer=yes
gxf_muxer=yes
gxf_muxer_deps=gpl
h261_decoder=yes
h261_demuxer=yes
h261_encoder=yes
h261_muxer=yes
h261_parser=yes
h263_decoder=yes
h263_decoder_deps='h263_parser mpeg4video_parser'
h263_demuxer=yes
h263_encoder=yes
h263_muxer=yes
h263_parser=yes
h263i_decoder=yes
h263i_decoder_deps=h263_decoder
h263p_encoder=yes
h264_decoder=yes
h264_decoder_deps=h264_parser
h264_demuxer=yes
h264_muxer=yes
h264_parser=yes
http_protocol=yes
http_protocol_deps=network
huffyuv_decoder=yes
huffyuv_encoder=yes
idcin_decoder=yes
idcin_demuxer=yes
image2_demuxer=yes
image2_muxer=yes
image2pipe_demuxer=yes
image2pipe_muxer=yes
imc_decoder=yes
imx_dump_header_bsf=yes
incdir='${PREFIX}/include/ffmpeg'
indeo2_decoder=yes
indeo3_decoder=yes
ingenient_demuxer=yes
interplay_dpcm_decoder=yes
interplay_video_decoder=yes
ipmovie_demuxer=yes
ipv6=yes
iwmmxt=default
jpegls_decoder=yes
jpegls_encoder=yes
kmvc_decoder=yes
liba52=no
liba52_decoder=yes
liba52_decoder_deps=liba52
liba52bin=no
libamr_nb=no
libamr_nb_decoder=yes
libamr_nb_decoder_deps=libamr_nb
libamr_nb_encoder=yes
libamr_nb_encoder_deps=libamr_nb
libamr_wb=no
libamr_wb_decoder=yes
libamr_wb_decoder_deps=libamr_wb
libamr_wb_encoder=yes
libamr_wb_encoder_deps=libamr_wb
libdir='${PREFIX}/lib'
libfaac=no
libfaac_encoder=yes
libfaac_encoder_deps=libfaac
libfaad=no
libfaad2=no
libfaad_decoder=yes
libfaad_decoder_deps=libfaad
libfaadbin=no
libgsm=no
libgsm_decoder=yes
libgsm_decoder_deps=libgsm
libgsm_encoder=yes
libgsm_encoder_deps=libgsm
libgsm_ms_decoder=yes
libgsm_ms_decoder_deps=libgsm
libgsm_ms_encoder=yes
libgsm_ms_encoder_deps=libgsm
libmp3lame=no
libnut=no
libnut_demuxer=yes
libnut_demuxer_deps=libnut
libnut_muxer=yes
libnut_muxer_deps=libnut
libogg=no
libtheora=no
libtheora_encoder=yes
libtheora_encoder_deps=libtheora
libvorbis=no
libvorbis_decoder=yes
libvorbis_decoder_deps=libvorbis
libvorbis_encoder=yes
libvorbis_encoder_deps=libvorbis
ljpeg_encoder=yes
loco_decoder=yes
logfile=config.err
logging=yes
m4v_demuxer=yes
m4v_muxer=yes
mace3_decoder=yes
mace6_decoder=yes
make=make
mandir='${PREFIX}/man'
matroska_demuxer=yes
mdec_decoder=yes
memalign_hack=no
mjpeg_decoder=yes
mjpeg_demuxer=yes
mjpeg_encoder=yes
mjpeg_muxer=yes
mjpeg_parser=yes
mjpega_dump_header_bsf=yes
mjpegb_decoder=yes
mlib=no
mm_demuxer=yes
mmf_demuxer=yes
mmf_muxer=yes
mmi=default
mmvideo_decoder=yes
mmx=default
mov_demuxer=yes
mov_muxer=yes
mp2_decoder=yes
mp2_encoder=yes
mp2_muxer=yes
mp3_decoder=yes
mp3_demuxer=yes
mp3_demuxer_deps=mpegaudio_parser
mp3_header_compress_bsf=yes
mp3_header_decompress_bsf=yes
mp3_muxer=yes
mp3adu_decoder=yes
mp3lame_encoder=yes
mp3lame_encoder_deps=libmp3lame
mp3on4_decoder=yes
mp4_muxer=yes
mpc7_decoder=yes
mpc_demuxer=yes
mpeg1system_muxer=yes
mpeg1vcd_muxer=yes
mpeg1video_decoder=yes
mpeg1video_encoder=yes
mpeg1video_muxer=yes
mpeg2dvd_muxer=yes
mpeg2svcd_muxer=yes
mpeg2video_decoder=yes
mpeg2video_encoder=yes
mpeg2video_muxer=yes
mpeg2vob_muxer=yes
mpeg4_decoder=yes
mpeg4_decoder_deps=h263_decoder
mpeg4_encoder=yes
mpeg4aac_decoder=yes
mpeg4aac_decoder_deps=libfaad
mpeg4video_parser=yes
mpeg_xvmc_decoder=yes
mpeg_xvmc_decoder_deps=xvmc
mpegaudio_hp=yes
mpegaudio_parser=yes
mpegps_demuxer=yes
mpegts_demuxer=yes
mpegts_muxer=yes
mpegvideo_decoder=yes
mpegvideo_demuxer=yes
mpegvideo_parser=yes
mpjpeg_muxer=yes
msmpeg4v1_decoder=yes
msmpeg4v1_decoder_deps=h263_decoder
msmpeg4v1_encoder=yes
msmpeg4v2_decoder=yes
msmpeg4v2_decoder_deps=h263_decoder
msmpeg4v2_encoder=yes
msmpeg4v3_decoder=yes
msmpeg4v3_decoder_deps=h263_decoder
msmpeg4v3_encoder=yes
msrle_decoder=yes
msvideo1_decoder=yes
mszh_decoder=yes
mtv_demuxer=yes
mxf_demuxer=yes
network=yes
noise_bsf=yes
nsv_demuxer=yes
null_muxer=yes
nut_demuxer=yes
nuv_decoder=yes
nuv_demuxer=yes
ogg_demuxer=yes
ogg_muxer=yes
ogg_muxer_deps=libogg
opt=--extra-ldflags=-B/usr/sfw/i386-sun-solaris2.10/bin/
optimize=yes
optval=-B/usr/sfw/i386-sun-solaris2.10/bin/
os2=no
os2threads=no
osextralibs=-lm
pam_encoder=yes
pbm_encoder=yes
pcm_alaw_decoder=yes
pcm_alaw_demuxer=yes
pcm_alaw_encoder=yes
pcm_alaw_muxer=yes
pcm_mulaw_decoder=yes
pcm_mulaw_demuxer=yes
pcm_mulaw_encoder=yes
pcm_mulaw_muxer=yes
pcm_s16be_decoder=yes
pcm_s16be_demuxer=yes
pcm_s16be_encoder=yes
pcm_s16be_muxer=yes
pcm_s16le_decoder=yes
pcm_s16le_demuxer=yes
pcm_s16le_encoder=yes
pcm_s16le_muxer=yes
pcm_s24be_decoder=yes
pcm_s24be_encoder=yes
pcm_s24daud_decoder=yes
pcm_s24daud_encoder=yes
pcm_s24le_decoder=yes
pcm_s24le_encoder=yes
pcm_s32be_decoder=yes
pcm_s32be_encoder=yes
pcm_s32le_decoder=yes
pcm_s32le_encoder=yes
pcm_s8_decoder=yes
pcm_s8_demuxer=yes
pcm_s8_encoder=yes
pcm_s8_muxer=yes
pcm_u16be_decoder=yes
pcm_u16be_demuxer=yes
pcm_u16be_encoder=yes
pcm_u16be_muxer=yes
pcm_u16le_decoder=yes
pcm_u16le_demuxer=yes
pcm_u16le_encoder=yes
pcm_u16le_muxer=yes
pcm_u24be_decoder=yes
pcm_u24be_encoder=yes
pcm_u24le_decoder=yes
pcm_u24le_encoder=yes
pcm_u32be_decoder=yes
pcm_u32be_encoder=yes
pcm_u32le_decoder=yes
pcm_u32le_encoder=yes
pcm_u8_decoder=yes
pcm_u8_demuxer=yes
pcm_u8_encoder=yes
pcm_u8_muxer=yes
pgm_encoder=yes
pgmyuv_encoder=yes
pipe_protocol=yes
png_decoder=yes
png_decoder_deps=zlib
png_encoder=yes
png_encoder_deps=zlib
pnm_parser=yes
powerpc_perf=no
pp=no
ppm_encoder=yes
protocols=yes
psp_muxer=yes
pthreads=no
ptx_decoder=yes
qdm2_decoder=yes
qdraw_decoder=yes
qpeg_decoder=yes
qtrle_decoder=yes
ra_144_decoder=yes
ra_288_decoder=yes
ranlib=ranlib
rawvideo_decoder=yes
rawvideo_demuxer=yes
rawvideo_encoder=yes
rawvideo_muxer=yes
redir_demuxer=yes
redir_demuxer_deps=network
remove_extradata_bsf=yes
rm_demuxer=yes
rm_muxer=yes
roq_decoder=yes
roq_demuxer=yes
roq_dpcm_decoder=yes
roq_dpcm_encoder=yes
roq_muxer=yes
rpza_decoder=yes
rtp_muxer=yes
rtp_muxer_deps='network mpegts_demuxer'
rtp_protocol=yes
rtp_protocol_deps=udp_protocol
rtsp_demuxer=yes
rtsp_demuxer_deps='rtp_protocol rtp_muxer'
rv10_decoder=yes
rv10_encoder=yes
rv20_decoder=yes
rv20_encoder=yes
sdp_demuxer=yes
sdp_demuxer_deps=rtsp_demuxer
segafilm_demuxer=yes
sgi_decoder=yes
sgi_encoder=yes
shared=no
shlibdir='${PREFIX}/lib'
shorten_decoder=yes
shorten_demuxer=yes
smackaud_decoder=yes
smacker_decoder=yes
smacker_demuxer=yes
smc_decoder=yes
snow_decoder=yes
snow_encoder=yes
sol_demuxer=yes
sol_dpcm_decoder=yes
sonic_decoder=yes
sonic_encoder=yes
sonic_ls_encoder=yes
source_path=/home/elisej/tmp/ffmpeg/ffmpeg
source_path_used=no
sp5x_decoder=yes
static=yes
str_demuxer=yes
strip=strip
svq1_decoder=yes
svq1_encoder=yes
svq3_decoder=yes
swf_demuxer=yes
swf_muxer=yes
swscaler=no
targa_decoder=yes
targa_encoder=yes
targetos=SunOS-UNKNOWN
tcp_protocol=yes
tcp_protocol_deps=network
tg2_muxer=yes
tgp_muxer=yes
theora_decoder=yes
thp_decoder=yes
thp_demuxer=yes
thread_type=no
tiertexseq_demuxer=yes
tiertexseqvideo_decoder=yes
tiff_decoder=yes
tiff_encoder=yes
truemotion1_decoder=yes
truemotion2_decoder=yes
truespeech_decoder=yes
tscc_decoder=yes
tta_decoder=yes
tta_demuxer=yes
txd_decoder=yes
txd_demuxer=yes
udp_protocol=yes
udp_protocol_deps=network
ulti_decoder=yes
v4l=yes
v4l2=yes
v4l2_demuxer=yes
v4l2_demuxer_deps=v4l2
value=yes
var=extralibs
vc1_decoder=yes
vc1_decoder_deps=h263_decoder
vc1_demuxer=yes
vc1_parser=yes
vcr1_decoder=yes
vhook=default
video_grab_bktr_demuxer=yes
video_grab_bktr_demuxer_deps=bktr
video_grab_v4l_demuxer=yes
video_grab_v4l_demuxer_deps=v4l
vmd_demuxer=yes
vmdaudio_decoder=yes
vmdvideo_decoder=yes
vmnc_decoder=yes
voc_demuxer=yes
voc_muxer=yes
vorbis_decoder=yes
vorbis_encoder=yes
vp3_decoder=yes
vp5_decoder=yes
vp6_decoder=yes
vp6f_decoder=yes
vqa_decoder=yes
w32threads=no
wav_demuxer=yes
wav_muxer=yes
wavpack_decoder=yes
wc3_demuxer=yes
wmav1_decoder=yes
wmav1_encoder=yes
wmav2_decoder=yes
wmav2_encoder=yes
wmv1_decoder=yes
wmv1_decoder_deps=h263_decoder
wmv1_encoder=yes
wmv2_decoder=yes
wmv2_decoder_deps=h263_decoder
wmv2_encoder=yes
wmv3_decoder=yes
wmv3_decoder_deps=h263_decoder
wnv1_decoder=yes
ws_snd1_decoder=yes
wsaud_demuxer=yes
wsvqa_demuxer=yes
wv_demuxer=yes
x11_grab_device_demuxer=yes
x11_grab_device_demuxer_deps=x11grab
x11grab=no
x264=no
x264_encoder=yes
x264_encoder_deps=x264
xan_dpcm_decoder=yes
xan_wc3_decoder=yes
xl_decoder=yes
xvid=no
xvid_encoder=yes
xvid_encoder_deps=xvid
yuv4mpegpipe_demuxer=yes
yuv4mpegpipe_muxer=yes
zlib=yes
zlib_decoder=yes
zlib_encoder=yes
zmbv_decoder=yes
zmbv_decoder_deps=zlib
zmbv_encoder=yes
zmbv_encoder_deps=zlib
add_cflags () 
{ 
    append CFLAGS "$@"
}
add_extralibs () 
{ 
    append extralibs "$@"
}
add_ldflags () 
{ 
    append LDFLAGS "$@"
}
append () 
{ 
    var=$1;
    shift;
    flags_saved && eval "SAVE_$var=\"\$SAVE_$var $*\"";
    eval "$var=\"\$$var $*\""
}
apply () 
{ 
    file=$1;
    shift;
    "$@" <"$file" >"$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
}
check_cc () 
{ 
    log check_cc "$@";
    cat >$TMPC;
    log_file $TMPC;
    check_cmd $cc $CFLAGS "$@" -c -o $TMPO $TMPC
}
check_cflags () 
{ 
    log check_cflags "$@";
    check_cc "$@"  <<EOF
int x;
EOF
 && add_cflags "$@"
}
check_cmd () 
{ 
    log "$@";
    "$@" >>$logfile 2>&1
}
check_cpp () 
{ 
    log check_cpp "$@";
    cat >$TMPC;
    log_file $TMPC;
    check_cmd $cc $CFLAGS "$@" -E -o $TMPO $TMPC
}
check_deps () 
{ 
    for cfg in "$@";
    do
        enabled ${cfg}_checking && die "Circular dependency for $cfg.";
        disabled ${cfg}_checking && continue;
        enable ${cfg}_checking;
        eval dep_all="\$${cfg}_deps";
        eval dep_any="\$${cfg}_deps_any";
        pushvar cfg dep_all dep_any;
        check_deps $dep_all $dep_any;
        popvar cfg dep_all dep_any;
        enabled_all $dep_all || disable $cfg;
        enabled_any $dep_any || disable $cfg;
        disable ${cfg}_checking;
    done
}
check_exec () 
{ 
    check_ld "$@" && { 
        enabled cross_compile || $TMPE >>$logfile 2>&1
    }
}
check_exec_crash () 
{ 
    code=`cat`;
    ( check_exec "$@" ) >>$logfile 2>&1  <<EOF
#include <signal.h>
static void sighandler(int sig){
    raise(SIGTERM);
}
int main(){
    signal(SIGILL, sighandler);
    signal(SIGFPE, sighandler);
    signal(SIGSEGV, sighandler);
#ifdef SIGBUS
    signal(SIGBUS, sighandler);
#endif
    { $code }
}
EOF

}
check_foo_config () 
{ 
    cfg=$1;
    pkg=$2;
    header=$3;
    func=$4;
    shift 4;
    disable $cfg;
    check_cmd ${pkg}-config --version;
    err=$?;
    if test "$err" = 0; then
        temp_cflags `${pkg}-config --cflags`;
        temp_extralibs `${pkg}-config --libs`;
        check_lib "$@" $header $func && enable $cfg;
    fi;
    return $err
}
check_func () 
{ 
    log check_func "$@";
    func=$1;
    shift;
    disable $func;
    check_ld "$@"  <<EOF
extern int $func();
int main(){
    $func();
}
EOF
 && enable $func
}
check_func2 () 
{ 
    log check_func2 "$@";
    headers=$1;
    func=$2;
    shift 2;
    disable $func;
    incs="";
    for hdr in $headers;
    do
        incs="$incs
#include <$hdr>";
    done;
    check_ld "$@"  <<EOF
$incs
int main(){
    (void) $func;
    return 0;
}
EOF
 && enable $func
}
check_header () 
{ 
    log check_header "$@";
    header=$1;
    shift;
    var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'`;
    disable $var;
    check_cpp "$@"  <<EOF
#include <$header>
int x;
EOF
 && enable $var
}
check_ld () 
{ 
    log check_ld "$@";
    check_cc || return;
    check_cmd $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
}
check_ldflags () 
{ 
    log check_ldflags "$@";
    check_ld "$@"  <<EOF
int main(){
    return 0;
}
EOF
 && add_ldflags "$@"
}
check_lib () 
{ 
    log check_lib "$@";
    header="$1";
    func="$2";
    shift 2;
    temp_extralibs "$@";
    check_header $header && check_func $func && add_extralibs "$@";
    err=$?;
    restore_flags;
    return $err
}
check_lib2 () 
{ 
    log check_lib2 "$@";
    headers="$1";
    func="$2";
    shift 2;
    temp_extralibs "$@";
    check_func2 "$headers" $func && add_extralibs "$@";
    err=$?;
    restore_flags;
    return $err
}
die () 
{ 
    echolog "$@";
    cat  <<EOF
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
EOF

    if enabled logging; then
        cat  <<EOF
Include the log file "$logfile" produced by configure as this will help
solving the problem.
EOF

    else
        cat  <<EOF
Rerun configure with logging enabled (do not use --log=no), and include the
log this produces with your report.
EOF

    fi
    rm -f $TMPC $TMPO $TMPE $TMPS $TMPH;
    exit 1
}
die_unknown () 
{ 
    echo "Unknown option \"$1\".";
    echo "See $0 --help for available options.";
    exit 1
}
disable () 
{ 
    set_all no $*
}
disabled () 
{ 
    eval test "x\$$1" = "xno"
}
disabled_all () 
{ 
    for opt in "$@";
    do
        disabled $opt || return 1;
    done
}
disabled_any () 
{ 
    for opt in "$@";
    do
        disabled $opt && return 0;
    done
}
echolog () 
{ 
    log "$@";
    echo "$@"
}
enable () 
{ 
    set_all yes $*
}
enabled () 
{ 
    eval test "x\$$1" = "xyes"
}
enabled_all () 
{ 
    for opt in "$@";
    do
        enabled $opt || return 1;
    done
}
enabled_any () 
{ 
    for opt in "$@";
    do
        enabled $opt && return 0;
    done
}
flags_saved () 
{ 
    ( : ${SAVE_CFLAGS?} ) 2>/dev/null
}
log () 
{ 
    echo "$@" >>$logfile
}
log_file () 
{ 
    log BEGIN $1;
    cat -n $1 >>$logfile;
    log END $1
}
popvar () 
{ 
    for var in $*;
    do
        eval level=\${${var}_level:-0};
        test $level = 0 && continue;
        eval level=$(($level-1));
        eval $var="\${${var}_${level}}";
        eval ${var}_level=$level;
        eval unset ${var}_${level};
    done
}
print_config () 
{ 
    pfx=$1;
    header=$2;
    makefile=$3;
    shift 3;
    for cfg in "$@";
    do
        if enabled $cfg; then
            ucname="${pfx}`toupper $cfg`";
            echo "#define ${ucname} 1" >>$header;
            echo "${ucname}=yes" >>$makefile;
        fi;
    done
}
print_config_enable () 
{ 
    print_config $@;
    shift 3;
    for cfg in "$@";
    do
        enabled $cfg && val=1 || val=0;
        echo "#define ENABLE_`toupper $cfg` $val" >>$header;
    done
}
pushvar () 
{ 
    for var in $*;
    do
        eval level=\${${var}_level:=0};
        eval ${var}_${level}="\$$var";
        eval ${var}_level=$(($level+1));
    done
}
require () 
{ 
    name="$1";
    header="$2";
    func="$3";
    shift 3;
    check_lib $header $func "$@" || die "ERROR: $name not found"
}
require2 () 
{ 
    name="$1";
    headers="$2";
    func="$3";
    shift 3;
    check_lib2 "$headers" $func "$@" || die "ERROR: $name not found"
}
restore_flags () 
{ 
    flags_saved || return;
    CFLAGS="$SAVE_CFLAGS";
    LDFLAGS="$SAVE_LDFLAGS";
    extralibs="$SAVE_extralibs";
    unset SAVE_CFLAGS;
    unset SAVE_LDFLAGS;
    unset SAVE_extralibs
}
save_flags () 
{ 
    flags_saved && return;
    SAVE_CFLAGS="$CFLAGS";
    SAVE_LDFLAGS="$LDFLAGS";
    SAVE_extralibs="$extralibs"
}
set_all () 
{ 
    value=$1;
    shift;
    for var in $*;
    do
        eval $var=$value;
    done
}
show_help () 
{ 
    echo "Usage: configure [options]";
    echo "Options: [defaults in brackets after descriptions]";
    echo;
    echo "Standard options:";
    echo "  --help                   print this message";
    echo "  --log[=FILE|yes|no]      log tests and output to FILE [config.err]";
    echo "  --prefix=PREFIX          install in PREFIX [$PREFIX]";
    echo "  --libdir=DIR             install libs in DIR [PREFIX/lib]";
    echo "  --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]";
    echo "  --incdir=DIR             install includes in DIR [PREFIX/include/ffmpeg]";
    echo "  --mandir=DIR             install man page in DIR [PREFIX/man]";
    echo "  --enable-static          build static libraries [default=yes]";
    echo "  --disable-static         do not build static libraries [default=no]";
    echo "  --enable-shared          build shared libraries [default=no]";
    echo "  --disable-shared         do not build shared libraries [default=yes]";
    echo "  --enable-gpl             allow use of GPL code, the resulting libav*";
    echo "                           and ffmpeg will be under GPL [default=no]";
    echo "  --enable-pp              enable GPLed postprocessing support [default=no]";
    echo "  --enable-swscaler        software scaler support [default=no]";
    echo "  --enable-beosthreads     use BeOS threads [default=no]";
    echo "  --enable-os2threads      use OS/2 threads [default=no]";
    echo "  --enable-pthreads        use pthreads [default=no]";
    echo "  --enable-w32threads      use Win32 threads [default=no]";
    echo "  --enable-x11grab         enable X11 grabbing [default=no]";
    echo;
    echo "External library support:";
    echo "  --enable-sunmlib         use Sun medialib [default=no]";
    echo "  --enable-dc1394          enable IIDC-1394 grabbing using libdc1394";
    echo "                           and libraw1394 [default=no]";
    echo "  --enable-liba52          enable GPLed liba52 support [default=no]";
    echo "  --enable-liba52bin       open liba52.so.0 at runtime [default=no]";
    echo "  --enable-avisynth        allow reading AVISynth script files [default=no]";
    echo "  --enable-libamr-nb       enable libamr-nb floating point audio codec";
    echo "  --enable-libamr-wb       enable libamr-wb floating point audio codec";
    echo "  --enable-libfaac         enable FAAC support via libfaac [default=no]";
    echo "  --enable-libfaad         enable FAAD support via libfaad [default=no]";
    echo "  --enable-libfaadbin      build FAAD support with runtime linking [default=no]";
    echo "  --enable-libgsm          enable GSM support via libgsm [default=no]";
    echo "  --enable-libmp3lame      enable MP3 encoding via libmp3lame [default=no]";
    echo "  --enable-libnut          enable NUT (de)muxing via libnut,";
    echo "                           native demuxer exists [default=no]";
    echo "  --enable-libogg          enable Ogg muxing via libogg [default=no]";
    echo "  --enable-libtheora       enable Theora encoding via libtheora [default=no]";
    echo "  --enable-libvorbis       enable Vorbis en/decoding via libvorbis,";
    echo "                           native implementations exist [default=no]";
    echo "  --enable-x264            enable H.264 encoding via x264 [default=no]";
    echo "  --enable-xvid            enable Xvid encoding via xvidcore,";
    echo "                           native MPEG-4/Xvid encoder exists [default=no]";
    echo "";
    echo "Advanced options (experts only):";
    echo "  --source-path=PATH       path to source code [$source_path]";
    echo "  --cross-prefix=PREFIX    use PREFIX for compilation tools [$cross_prefix]";
    echo "  --cross-compile          assume a cross-compiler is used";
    echo "  --target-os=OS           compiler targets OS [$targetos]";
    echo "  --cc=CC                  use C compiler CC [$cc]";
    echo "  --make=MAKE              use specified make [$make]";
    echo "  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS [$CFLAGS]";
    echo "  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]";
    echo "  --extra-libs=ELIBS       add ELIBS [$ELIBS]";
    echo "  --build-suffix=SUFFIX    suffix for application specific build []";
    echo "  --arch=ARCH              select architecture  [$arch]";
    echo "  --cpu=CPU                selects the minimum cpu required (affects";
    echo "                           instruction selection, may crash on older CPUs)";
    echo "  --enable-powerpc-perf    enable performance report on PPC";
    echo "                           (requires enabling PMC)";
    echo "  --disable-mmx            disable MMX usage";
    echo "  --disable-armv5te        disable armv5te usage";
    echo "  --disable-armv6          disable armv6 usage";
    echo "  --disable-iwmmxt         disable iwmmxt usage";
    echo "  --disable-altivec        disable AltiVec usage";
    echo "  --disable-audio-oss      disable OSS audio support [default=no]";
    echo "  --disable-audio-beos     disable BeOS audio support [default=no]";
    echo "  --disable-v4l            disable video4linux grabbing [default=no]";
    echo "  --disable-v4l2           disable video4linux2 grabbing [default=no]";
    echo "  --disable-bktr           disable bktr video grabbing [default=no]";
    echo "  --disable-dv1394         disable DV1394 grabbing [default=no]";
    echo "  --disable-network        disable network support [default=no]";
    echo "  --disable-ipv6           disable ipv6 support [default=no]";
    echo "  --disable-zlib           disable zlib [default=no]";
    echo "  --disable-vhook          disable video hooking support";
    echo "  --disable-debug          disable debugging symbols";
    echo "  --disable-mpegaudio-hp   faster (but less accurate)";
    echo "                           MPEG audio decoding [default=no]";
    echo "  --disable-ffmpeg         disable ffmpeg build";
    echo "  --disable-ffserver       disable ffserver build";
    echo "  --disable-ffplay         disable ffplay build";
    echo "  --enable-small           optimize for size instead of speed";
    echo "  --enable-memalign-hack   emulate memalign, interferes with memory debuggers";
    echo "  --disable-encoder=NAME   disables encoder NAME";
    echo "  --enable-encoder=NAME    enables encoder NAME";
    echo "  --disable-decoder=NAME   disables decoder NAME";
    echo "  --enable-decoder=NAME    enables decoder NAME";
    echo "  --disable-encoders       disables all encoders";
    echo "  --disable-decoders       disables all decoders";
    echo "  --disable-muxer=NAME     disables muxer NAME";
    echo "  --enable-muxer=NAME      enables muxer NAME";
    echo "  --disable-muxers         disables all muxers";
    echo "  --disable-demuxer=NAME   disables demuxer NAME";
    echo "  --enable-demuxer=NAME    enables demuxer NAME";
    echo "  --disable-demuxers       disables all demuxers";
    echo "  --enable-parser=NAME     enables parser NAME";
    echo "  --disable-parser=NAME    disables parser NAME";
    echo "  --disable-parsers        disables all parsers";
    echo "  --enable-bsf=NAME        enables bitstream filter NAME";
    echo "  --disable-bsf=NAME       disables bitstream filter NAME";
    echo "  --disable-bsfs           disables all bitstream filters";
    echo "  --enable-protocol=NAME   enables protocol NAME";
    echo "  --disable-protocol=NAME  disables protocol NAME";
    echo "  --disable-protocols      disables all protocols";
    echo;
    echo "Developer options (useful when working on FFmpeg itself):";
    echo "  --enable-gprof           enable profiling with gprof [$gprof]";
    echo "  --disable-opts           disable compiler optimizations";
    echo "  --enable-extra-warnings  enable more compiler warnings";
    echo "  --disable-strip          disable stripping of executables and shared libraries";
    echo "";
    echo "NOTE: Object files are built at the place where configure is launched.";
    exit 1
}
temp_cflags () 
{ 
    save_flags;
    CFLAGS="$CFLAGS $*"
}
temp_extralibs () 
{ 
    save_flags;
    extralibs="$extralibs $*"
}
temp_ldflags () 
{ 
    save_flags;
    LDFLAGS="$LDFLAGS $*"
}
tolower () 
{ 
    echo "$@" | tr '[A-Z]' '[a-z]'
}
toupper () 
{ 
    echo "$@" | tr '[a-z]' '[A-Z]'
}
try_exec () 
{ 
    echo "Trying shell $1";
    type "$1" >/dev/null 2>&1 && exec "$@"
}
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    return 0;
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <signal.h>
     2	static void sighandler(int sig){
     3	    raise(SIGTERM);
     4	}
     5	int main(){
     6	    signal(SIGILL, sighandler);
     7	    signal(SIGFPE, sighandler);
     8	    signal(SIGSEGV, sighandler);
     9	#ifdef SIGBUS
    10	    signal(SIGBUS, sighandler);
    11	#endif
    12	    {     volatile int i=0;
    13	    asm volatile (
    14	        "xorl %%ebp, %%ebp"
    15	    ::: "%ebp");
    16	    return i; }
    17	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
./configure: line 495:  1448 Terminated              $TMPE >>$logfile 2>&1
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    asm volatile ("":::"%ebx");
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    asm volatile ("pabsw %xmm0, %xmm0");
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/var/tmp//ccmxCKJZ.s: Assembler messages:
/var/tmp//ccmxCKJZ.s:17: Error: no such instruction: `pabsw %xmm0,%xmm0'
check_header altivec.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <altivec.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:21: altivec.h: No such file or directory
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <inttypes.h>
     2	int main(int argc, char ** argv){
     3	        volatile uint32_t i=0x01234567;
     4	        return (*((uint8_t*)(&i))) == 0x67;
     5	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
check_header malloc.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <malloc.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_func memalign
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int memalign();
     2	int main(){
     3	    memalign();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
check_header byteswap.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <byteswap.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:22: byteswap.h: No such file or directory
check_header arpa/inet.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <arpa/inet.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_func inet_aton
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int inet_aton();
     2	int main(){
     3	    inet_aton();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
/tmp/ffmpeg-conf-28014-1397-29276.o(.text+0x1d): In function `main':
: undefined reference to `inet_aton'
collect2: ld returned 1 exit status
check_func localtime_r
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int localtime_r();
     2	int main(){
     3	    localtime_r();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm
check_lib zlib.h zlibVersion -lz
check_header zlib.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <zlib.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_func zlibVersion
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int zlibVersion();
     2	int main(){
     3	    zlibVersion();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
check_header sys/poll.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <sys/poll.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#define _ISOC9X_SOURCE  1
     2	#include <math.h>
     3	int main( void ) { return (lrintf(3.999f) > 0)?0:1; }
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	void foo(char * restrict p);
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1: error: syntax error before "p"
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	void foo(char * __restrict__ p);
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_header dlfcn.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <dlfcn.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_func dlopen
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int dlopen();
     2	int main(){
     3	    dlopen();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
check_ldflags -rdynamic
check_ld -rdynamic
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    return 0;
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -rdynamic -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
gcc: unrecognized option `-rdynamic'
check_ldflags -export-dynamic
check_ld -export-dynamic
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    return 0;
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -rdynamic -export-dynamic -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
gcc: unrecognized option `-rdynamic'
imlib2-config --version
./configure: line 387: imlib2-config: command not found
freetype-config --version
9.8.3
check_lib ft2build.h FT_Init_FreeType
check_header ft2build.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <ft2build.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -I/usr/sfw/include/freetype2 -I/usr/sfw/include -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_func FT_Init_FreeType
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	extern int FT_Init_FreeType();
     2	int main(){
     3	    FT_Init_FreeType();
     4	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -I/usr/sfw/include/freetype2 -I/usr/sfw/include -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -rdynamic -export-dynamic -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype
gcc: unrecognized option `-rdynamic'
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <sys/types.h>
     2	#include <sys/socket.h>
     3	#include <netinet/in.h>
     4	#include <netdb.h>
     5	int main( void ) {
     6	  struct sockaddr_storage saddr;
     7	  struct ipv6_mreq mreq6;
     8	  getaddrinfo(0,0,0,0);
     9	  getnameinfo(0,0,0,0,0,0,0);
    10	  IN6_IS_ADDR_MULTICAST((const struct in6_addr *)0);
    11	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -rdynamic -export-dynamic -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
gcc: unrecognized option `-rdynamic'
/tmp/ffmpeg-conf-28014-1397-29276.o(.text+0x28): In function `main':
: undefined reference to `getaddrinfo'
/tmp/ffmpeg-conf-28014-1397-29276.o(.text+0x41): In function `main':
: undefined reference to `getnameinfo'
collect2: ld returned 1 exit status
check_header linux/videodev.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <linux/videodev.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:28: linux/videodev.h: No such file or directory
check_header linux/videodev2.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <linux/videodev2.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:29: linux/videodev2.h: No such file or directory
check_header dev/bktr/ioctl_meteor.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <dev/bktr/ioctl_meteor.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:35: dev/bktr/ioctl_meteor.h: No such file or directory
check_header machine/ioctl_meteor.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <machine/ioctl_meteor.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:34: machine/ioctl_meteor.h: No such file or directory
check_header dev/video/meteor/ioctl_meteor.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <dev/video/meteor/ioctl_meteor.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:43: dev/video/meteor/ioctl_meteor.h: No such file or directory
check_header dev/ic/bt8xx.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <dev/ic/bt8xx.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/tmp/ffmpeg-conf-8529-1397-10731.c:1:26: dev/ic/bt8xx.h: No such file or directory
check_header sys/soundcard.h
check_cpp
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	#include <sys/soundcard.h>
     2	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wdeclaration-after-statement
check_cc -Wdeclaration-after-statement
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wall
check_cc -Wall
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wno-switch
check_cc -Wno-switch
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wdisabled-optimization
check_cc -Wdisabled-optimization
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wpointer-arith
check_cc -Wpointer-arith
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wredundant-decls
check_cc -Wredundant-decls
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
check_cflags -Wno-pointer-sign
check_cc -Wno-pointer-sign
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int x;
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
cc1: error: unrecognized command line option "-Wno-pointer-sign"
check_ldflags -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil
check_ld -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	int main(){
     2	    return 0;
     3	}
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -Wl,--warn-common -B/usr/sfw/i386-sun-solaris2.10/bin/ -rdynamic -export-dynamic -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil -o /tmp/ffmpeg-conf-21484-1397-3132 /tmp/ffmpeg-conf-28014-1397-29276.o -lm -lz
gcc: unrecognized option `-rdynamic'
check_cc
BEGIN /tmp/ffmpeg-conf-8529-1397-10731.c
     1	asm (".align 3");
END /tmp/ffmpeg-conf-8529-1397-10731.c
gcc -B/usr/sfw/i386-sun-solaris2.10/bin/ -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o /tmp/ffmpeg-conf-28014-1397-29276.o /tmp/ffmpeg-conf-8529-1397-10731.c
/var/tmp//ccFoYsuP.s: Assembler messages:
/var/tmp//ccFoYsuP.s:11: Error: alignment not a power of 2



More information about the ffmpeg-devel mailing list