ucl-1.03/0000777000175000001440000000000010077051333007220 500000000000000ucl-1.03/B/0000777000175000001440000000000010077051333007401 500000000000000ucl-1.03/B/dos16/0000777000175000001440000000000010077051333010335 500000000000000ucl-1.03/B/dos16/bc.rsp0000644000175000001440000000056310077051333011367 00000000000000+alloc.obj & +n2b_99.obj & +n2b_d.obj & +n2b_ds.obj & +n2b_to.obj & +n2d_99.obj & +n2d_d.obj & +n2d_ds.obj & +n2d_to.obj & +n2e_99.obj & +n2e_d.obj & +n2e_ds.obj & +n2e_to.obj & +ucl_crc.obj & +ucl_init.obj & +ucl_ptr.obj & +ucl_str.obj & +ucl_util.obj & +asm\i086\obj\omf16\cpuid.obj & +asm\i086\obj\omf16\rdtsc.obj & +asm\i086\obj\omf16\rdtsca.obj ucl-1.03/B/dos16/wc.rsp0000644000175000001440000000056510077051333011416 00000000000000+'alloc.obj' +'n2b_99.obj' +'n2b_d.obj' +'n2b_ds.obj' +'n2b_to.obj' +'n2d_99.obj' +'n2d_d.obj' +'n2d_ds.obj' +'n2d_to.obj' +'n2e_99.obj' +'n2e_d.obj' +'n2e_ds.obj' +'n2e_to.obj' +'ucl_crc.obj' +'ucl_init.obj' +'ucl_ptr.obj' +'ucl_str.obj' +'ucl_util.obj' +'asm\i086\obj\omf16\cpuid.obj' +'asm\i086\obj\omf16\rdtsc.obj' +'asm\i086\obj\omf16\rdtsca.obj' ucl-1.03/B/dos16/dm.bat0000644000175000001440000000117610077051333011346 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Digital Mars C/C++ @echo // @echo // WARNING: UCL breaks the optimizer @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=dmc -ml set CF=-w- %CFI% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib %BLIB% /b /c /n /noi @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/vc.bat0000644000175000001440000000114110077051333011346 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Microsoft Visual C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -AL set CF=-O -Gf -Gs -Gy -W3 %CFI% set LF=%BLIB% -Fm %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/wc.bat0000644000175000001440000000112110077051333011345 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Watcom C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl -zq -ml -bt#dos -l#dos set CF=-ox %CFI% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\dos16\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/qc.bat0000644000175000001440000000130410077051333011342 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Microsoft QuickC @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=qcl -nologo -AL set CF=-O -Gf -W3 %CFI% set LF=/map %CC% %CF% -c src\*.c @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error qlink %LF% simple.obj,,,%BLIB%; @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error qlink %LF% uclpack.obj,,,%BLIB%; @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/vc_qc.bat0000644000175000001440000000115610077051333012037 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Microsoft Visual C/C++ (QuickC) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -qc -AL set CF=-O -Gf -Gs -Gy -W3 %CFI% set LF=%BLIB% -Fm %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/bc.bat0000644000175000001440000000114210077051333011323 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Borland C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc -ml -f- set CF=-O1 -d -w %CFI% -Iacc set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/bc_286.bat0000644000175000001440000000121310077051333011721 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Borland C/C++ + Pharlap 286DOS-Extender @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc286 -ml -2 set CF=-O1 -d -w %CFI% -Iacc set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples -DWITH_TIMER examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/tc.bat0000644000175000001440000000113410077051333011346 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Turbo C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=tcc -ml -f- set CF=-O -G -w %CFI% -Iacc set LF=%BLIB% %CC% %CF% -Isrc -c src\*.c @if errorlevel 1 goto error tlib %BLIB% @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/bc_pp.bat0000644000175000001440000000122310077051333012022 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Borland C/C++ + Borland PowerPack 1.0 (DPMI16) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc -ml -2 -WX set CF=-O1 -d -w %CFI% -Iacc set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples -DWITH_TIMER examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/mc.bat0000644000175000001440000000130010077051333011332 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Microsoft C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -AL set CF=-O -Gf -W3 %CFI% set LF=/map %CC% %CF% -c src\*.c @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error link %LF% simple.obj,,,%BLIB%; @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error link %LF% uclpack.obj,,,%BLIB%; @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos16/mc_qc.bat0000644000175000001440000000131510077051333012023 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 16-bit @echo // Microsoft C/C++ (QuickC) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -qc -AL set CF=-O -Gf -W3 %CFI% set LF=/map %CC% %CF% -c src\*.c @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error link %LF% simple.obj,,,%BLIB%; @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error link %LF% uclpack.obj,,,%BLIB%; @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win16/0000777000175000001440000000000010077051333010345 500000000000000ucl-1.03/B/win16/vc.bat0000644000175000001440000000121510077051333011360 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 16-bit @echo // Microsoft Visual C/C++ (using QuickWin) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -AL -G2 -Mq set CF=-O -Gf -Gs -Gy -W3 %CFI% set LF=%BLIB% -Fm /link /seg:256 %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win16/wc.bat0000644000175000001440000000114410077051333011362 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 16-bit @echo // Watcom C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl -zq -ml -2 -bw -bt#windows -l#windows set CF=-ox %CFI% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\dos16\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win16/bc.bat0000644000175000001440000000115110077051333011333 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 16-bit @echo // Borland C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc -ml -2 -tW set CF=-O1 -d -w %CFI% -Iacc set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\dos16\bc.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win16/mc.bat0000644000175000001440000000145210077051333011352 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 16-bit @echo // Microsoft C/C++ (using QuickWin) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -AL -G2 -Mq set CF=-O -Gf -W3 %CFI% set LF=/seg:256 /stack:8096 /nod:llibce /map %CC% %CF% -c src\*.c @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error link %LF% simple.obj,,,llibcewq.lib libw.lib %BLIB%; @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error link %LF% uclpack.obj,,,llibcewq.lib libw.lib %BLIB%; @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/0000777000175000001440000000000010077051333010333 500000000000000ucl-1.03/B/dos32/dm.bat0000644000175000001440000000113310077051333011335 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // Digital Mars C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=dmc -mx set CF=-o -w- %CFI% %CFASM% set LF=%BLIB% x32.lib %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib %BLIB% /b /c /n /noi @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/wc.bat0000644000175000001440000000117610077051333011355 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // Watcom C/C++ (using DOS/4G extender) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl386 -zq -mf -5r -bt#dos -l#dos4g set CF=-ox -zc %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\win32\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/bc_pp.bat0000644000175000001440000000122510077051333012022 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // Borland C/C++ + Borland PowerPack 1.0 (DPMI32) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc32 -WX set CF=-O2 -w -w-aus %CFI% -Iacc %CFASM% set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% -ls -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -ls -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/dj2.bat0000644000175000001440000000134210077051333011416 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // djgpp2 + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=lib%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -s %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% @b/win32/cygwin.rsp @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/emx.bat0000644000175000001440000000133410077051333011531 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // emx + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -s %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% @b/win32/cygwin.rsp @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/zc.bat0000644000175000001440000000126610077051333011360 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // Zortech C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=ztc -b -v0 -mx set CF=-o -w- -r %CFI% -Isrc %CFASM% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error zorlib %BLIB% @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error %CC% simple.obj %LF% @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error %CC% uclpack.obj %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/highc.bat0000644000175000001440000000115710077051333012025 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // MetaWare High C/C++ (using Pharlap DOS extender) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=hc386 set CF=-O3 -w4 %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error 386lib %BLIB% -nobanner @b\dos32\highc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/highc.rsp0000644000175000001440000000532510077051333012064 00000000000000-create alloc.obj -create n2b_99.obj -create n2b_d.obj -create n2b_ds.obj -create n2b_to.obj -create n2d_99.obj -create n2d_d.obj -create n2d_ds.obj -create n2d_to.obj -create n2e_99.obj -create n2e_d.obj -create n2e_ds.obj -create n2e_to.obj -create ucl_crc.obj -create ucl_init.obj -create ucl_ptr.obj -create ucl_str.obj -create ucl_util.obj -create asm\i386\obj\omf32\cpuid.obj -create asm\i386\obj\omf32\crc_asm.obj -create asm\i386\obj\omf32\crcs_asm.obj -create asm\i386\obj\omf32\n2b_d_f1.obj -create asm\i386\obj\omf32\n2b_d_f2.obj -create asm\i386\obj\omf32\n2b_d_f3.obj -create asm\i386\obj\omf32\n2b_d_f4.obj -create asm\i386\obj\omf32\n2b_d_f5.obj -create asm\i386\obj\omf32\n2b_d_f6.obj -create asm\i386\obj\omf32\n2b_d_n1.obj -create asm\i386\obj\omf32\n2b_d_n2.obj -create asm\i386\obj\omf32\n2b_d_n3.obj -create asm\i386\obj\omf32\n2b_d_n4.obj -create asm\i386\obj\omf32\n2b_d_n5.obj -create asm\i386\obj\omf32\n2b_d_n6.obj -create asm\i386\obj\omf32\n2b_d_s1.obj -create asm\i386\obj\omf32\n2b_d_s2.obj -create asm\i386\obj\omf32\n2b_d_s3.obj -create asm\i386\obj\omf32\n2b_d_s4.obj -create asm\i386\obj\omf32\n2b_d_s5.obj -create asm\i386\obj\omf32\n2b_d_s6.obj -create asm\i386\obj\omf32\n2d_d_f1.obj -create asm\i386\obj\omf32\n2d_d_f2.obj -create asm\i386\obj\omf32\n2d_d_f3.obj -create asm\i386\obj\omf32\n2d_d_f4.obj -create asm\i386\obj\omf32\n2d_d_f5.obj -create asm\i386\obj\omf32\n2d_d_f6.obj -create asm\i386\obj\omf32\n2d_d_n1.obj -create asm\i386\obj\omf32\n2d_d_n2.obj -create asm\i386\obj\omf32\n2d_d_n3.obj -create asm\i386\obj\omf32\n2d_d_n4.obj -create asm\i386\obj\omf32\n2d_d_n5.obj -create asm\i386\obj\omf32\n2d_d_n6.obj -create asm\i386\obj\omf32\n2d_d_s1.obj -create asm\i386\obj\omf32\n2d_d_s2.obj -create asm\i386\obj\omf32\n2d_d_s3.obj -create asm\i386\obj\omf32\n2d_d_s4.obj -create asm\i386\obj\omf32\n2d_d_s5.obj -create asm\i386\obj\omf32\n2d_d_s6.obj -create asm\i386\obj\omf32\n2e_d_f1.obj -create asm\i386\obj\omf32\n2e_d_f2.obj -create asm\i386\obj\omf32\n2e_d_f3.obj -create asm\i386\obj\omf32\n2e_d_f4.obj -create asm\i386\obj\omf32\n2e_d_f5.obj -create asm\i386\obj\omf32\n2e_d_f6.obj -create asm\i386\obj\omf32\n2e_d_n1.obj -create asm\i386\obj\omf32\n2e_d_n2.obj -create asm\i386\obj\omf32\n2e_d_n3.obj -create asm\i386\obj\omf32\n2e_d_n4.obj -create asm\i386\obj\omf32\n2e_d_n5.obj -create asm\i386\obj\omf32\n2e_d_n6.obj -create asm\i386\obj\omf32\n2e_d_s1.obj -create asm\i386\obj\omf32\n2e_d_s2.obj -create asm\i386\obj\omf32\n2e_d_s3.obj -create asm\i386\obj\omf32\n2e_d_s4.obj -create asm\i386\obj\omf32\n2e_d_s5.obj -create asm\i386\obj\omf32\n2e_d_s6.obj -create asm\i386\obj\omf32\rdtsc.obj -create asm\i386\obj\omf32\rdtsca.obj ucl-1.03/B/dos32/ndp.bat0000644000175000001440000000123510077051333011521 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // DOS 32-bit @echo // Microway NDP C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=mx486 set CF=-ansi -OLMA %CFI% set LF=%BLIB% -bind -map @REM %CC% %CF% -Isrc -c src\*.c for %%f in (src\*.c) do %CC% %CF% -Isrc -c %%f @if errorlevel 1 goto error ndplib %BLIB% @b\dos32\ndp.rsp @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/dos32/ndp.rsp0000644000175000001440000000046510077051333011563 00000000000000-add alloc.obj -add n2b_99.obj -add n2b_d.obj -add n2b_ds.obj -add n2b_to.obj -add n2d_99.obj -add n2d_d.obj -add n2d_ds.obj -add n2d_to.obj -add n2e_99.obj -add n2e_d.obj -add n2e_ds.obj -add n2e_to.obj -add ucl_crc.obj -add ucl_init.obj -add ucl_ptr.obj -add ucl_str.obj -add ucl_util.obj ucl-1.03/B/win32/0000777000175000001440000000000010077051333010343 500000000000000ucl-1.03/B/win32/cygwin.rsp0000644000175000001440000000156210077051333012311 00000000000000alloc.o n2b_99.o n2b_d.o n2b_ds.o n2b_to.o n2d_99.o n2d_d.o n2d_ds.o n2d_to.o n2e_99.o n2e_d.o n2e_ds.o n2e_to.o ucl_crc.o ucl_init.o ucl_ptr.o ucl_str.o ucl_util.o cpuid.o crc_asm.o crcs_asm.o n2b_d_f1.o n2b_d_f2.o n2b_d_f3.o n2b_d_f4.o n2b_d_f5.o n2b_d_f6.o n2b_d_n1.o n2b_d_n2.o n2b_d_n3.o n2b_d_n4.o n2b_d_n5.o n2b_d_n6.o n2b_d_s1.o n2b_d_s2.o n2b_d_s3.o n2b_d_s4.o n2b_d_s5.o n2b_d_s6.o n2d_d_f1.o n2d_d_f2.o n2d_d_f3.o n2d_d_f4.o n2d_d_f5.o n2d_d_f6.o n2d_d_n1.o n2d_d_n2.o n2d_d_n3.o n2d_d_n4.o n2d_d_n5.o n2d_d_n6.o n2d_d_s1.o n2d_d_s2.o n2d_d_s3.o n2d_d_s4.o n2d_d_s5.o n2d_d_s6.o n2e_d_f1.o n2e_d_f2.o n2e_d_f3.o n2e_d_f4.o n2e_d_f5.o n2e_d_f6.o n2e_d_n1.o n2e_d_n2.o n2e_d_n3.o n2e_d_n4.o n2e_d_n5.o n2e_d_n6.o n2e_d_s1.o n2e_d_s2.o n2e_d_s3.o n2e_d_s4.o n2e_d_s5.o n2e_d_s6.o rdtsc.o rdtsca.o ucl-1.03/B/win32/bc.rsp0000644000175000001440000000452210077051333011374 00000000000000+alloc.obj & +n2b_99.obj & +n2b_d.obj & +n2b_ds.obj & +n2b_to.obj & +n2d_99.obj & +n2d_d.obj & +n2d_ds.obj & +n2d_to.obj & +n2e_99.obj & +n2e_d.obj & +n2e_ds.obj & +n2e_to.obj & +ucl_crc.obj & +ucl_init.obj & +ucl_ptr.obj & +ucl_str.obj & +ucl_util.obj & +asm\i386\obj\omf32\cpuid.obj & +asm\i386\obj\omf32\crc_asm.obj & +asm\i386\obj\omf32\crcs_asm.obj & +asm\i386\obj\omf32\n2b_d_f1.obj & +asm\i386\obj\omf32\n2b_d_f2.obj & +asm\i386\obj\omf32\n2b_d_f3.obj & +asm\i386\obj\omf32\n2b_d_f4.obj & +asm\i386\obj\omf32\n2b_d_f5.obj & +asm\i386\obj\omf32\n2b_d_f6.obj & +asm\i386\obj\omf32\n2b_d_n1.obj & +asm\i386\obj\omf32\n2b_d_n2.obj & +asm\i386\obj\omf32\n2b_d_n3.obj & +asm\i386\obj\omf32\n2b_d_n4.obj & +asm\i386\obj\omf32\n2b_d_n5.obj & +asm\i386\obj\omf32\n2b_d_n6.obj & +asm\i386\obj\omf32\n2b_d_s1.obj & +asm\i386\obj\omf32\n2b_d_s2.obj & +asm\i386\obj\omf32\n2b_d_s3.obj & +asm\i386\obj\omf32\n2b_d_s4.obj & +asm\i386\obj\omf32\n2b_d_s5.obj & +asm\i386\obj\omf32\n2b_d_s6.obj & +asm\i386\obj\omf32\n2d_d_f1.obj & +asm\i386\obj\omf32\n2d_d_f2.obj & +asm\i386\obj\omf32\n2d_d_f3.obj & +asm\i386\obj\omf32\n2d_d_f4.obj & +asm\i386\obj\omf32\n2d_d_f5.obj & +asm\i386\obj\omf32\n2d_d_f6.obj & +asm\i386\obj\omf32\n2d_d_n1.obj & +asm\i386\obj\omf32\n2d_d_n2.obj & +asm\i386\obj\omf32\n2d_d_n3.obj & +asm\i386\obj\omf32\n2d_d_n4.obj & +asm\i386\obj\omf32\n2d_d_n5.obj & +asm\i386\obj\omf32\n2d_d_n6.obj & +asm\i386\obj\omf32\n2d_d_s1.obj & +asm\i386\obj\omf32\n2d_d_s2.obj & +asm\i386\obj\omf32\n2d_d_s3.obj & +asm\i386\obj\omf32\n2d_d_s4.obj & +asm\i386\obj\omf32\n2d_d_s5.obj & +asm\i386\obj\omf32\n2d_d_s6.obj & +asm\i386\obj\omf32\n2e_d_f1.obj & +asm\i386\obj\omf32\n2e_d_f2.obj & +asm\i386\obj\omf32\n2e_d_f3.obj & +asm\i386\obj\omf32\n2e_d_f4.obj & +asm\i386\obj\omf32\n2e_d_f5.obj & +asm\i386\obj\omf32\n2e_d_f6.obj & +asm\i386\obj\omf32\n2e_d_n1.obj & +asm\i386\obj\omf32\n2e_d_n2.obj & +asm\i386\obj\omf32\n2e_d_n3.obj & +asm\i386\obj\omf32\n2e_d_n4.obj & +asm\i386\obj\omf32\n2e_d_n5.obj & +asm\i386\obj\omf32\n2e_d_n6.obj & +asm\i386\obj\omf32\n2e_d_s1.obj & +asm\i386\obj\omf32\n2e_d_s2.obj & +asm\i386\obj\omf32\n2e_d_s3.obj & +asm\i386\obj\omf32\n2e_d_s4.obj & +asm\i386\obj\omf32\n2e_d_s5.obj & +asm\i386\obj\omf32\n2e_d_s6.obj & +asm\i386\obj\omf32\rdtsc.obj & +asm\i386\obj\omf32\rdtsca.obj ucl-1.03/B/win32/vc.rsp0000644000175000001440000000440710077051333011422 00000000000000.\alloc.obj .\n2b_99.obj .\n2b_d.obj .\n2b_ds.obj .\n2b_to.obj .\n2d_99.obj .\n2d_d.obj .\n2d_ds.obj .\n2d_to.obj .\n2e_99.obj .\n2e_d.obj .\n2e_ds.obj .\n2e_to.obj .\ucl_crc.obj .\ucl_init.obj .\ucl_ptr.obj .\ucl_str.obj .\ucl_util.obj .\asm\i386\obj\win32\cpuid.obj .\asm\i386\obj\win32\crc_asm.obj .\asm\i386\obj\win32\crcs_asm.obj .\asm\i386\obj\win32\n2b_d_f1.obj .\asm\i386\obj\win32\n2b_d_f2.obj .\asm\i386\obj\win32\n2b_d_f3.obj .\asm\i386\obj\win32\n2b_d_f4.obj .\asm\i386\obj\win32\n2b_d_f5.obj .\asm\i386\obj\win32\n2b_d_f6.obj .\asm\i386\obj\win32\n2b_d_n1.obj .\asm\i386\obj\win32\n2b_d_n2.obj .\asm\i386\obj\win32\n2b_d_n3.obj .\asm\i386\obj\win32\n2b_d_n4.obj .\asm\i386\obj\win32\n2b_d_n5.obj .\asm\i386\obj\win32\n2b_d_n6.obj .\asm\i386\obj\win32\n2b_d_s1.obj .\asm\i386\obj\win32\n2b_d_s2.obj .\asm\i386\obj\win32\n2b_d_s3.obj .\asm\i386\obj\win32\n2b_d_s4.obj .\asm\i386\obj\win32\n2b_d_s5.obj .\asm\i386\obj\win32\n2b_d_s6.obj .\asm\i386\obj\win32\n2d_d_f1.obj .\asm\i386\obj\win32\n2d_d_f2.obj .\asm\i386\obj\win32\n2d_d_f3.obj .\asm\i386\obj\win32\n2d_d_f4.obj .\asm\i386\obj\win32\n2d_d_f5.obj .\asm\i386\obj\win32\n2d_d_f6.obj .\asm\i386\obj\win32\n2d_d_n1.obj .\asm\i386\obj\win32\n2d_d_n2.obj .\asm\i386\obj\win32\n2d_d_n3.obj .\asm\i386\obj\win32\n2d_d_n4.obj .\asm\i386\obj\win32\n2d_d_n5.obj .\asm\i386\obj\win32\n2d_d_n6.obj .\asm\i386\obj\win32\n2d_d_s1.obj .\asm\i386\obj\win32\n2d_d_s2.obj .\asm\i386\obj\win32\n2d_d_s3.obj .\asm\i386\obj\win32\n2d_d_s4.obj .\asm\i386\obj\win32\n2d_d_s5.obj .\asm\i386\obj\win32\n2d_d_s6.obj .\asm\i386\obj\win32\n2e_d_f1.obj .\asm\i386\obj\win32\n2e_d_f2.obj .\asm\i386\obj\win32\n2e_d_f3.obj .\asm\i386\obj\win32\n2e_d_f4.obj .\asm\i386\obj\win32\n2e_d_f5.obj .\asm\i386\obj\win32\n2e_d_f6.obj .\asm\i386\obj\win32\n2e_d_n1.obj .\asm\i386\obj\win32\n2e_d_n2.obj .\asm\i386\obj\win32\n2e_d_n3.obj .\asm\i386\obj\win32\n2e_d_n4.obj .\asm\i386\obj\win32\n2e_d_n5.obj .\asm\i386\obj\win32\n2e_d_n6.obj .\asm\i386\obj\win32\n2e_d_s1.obj .\asm\i386\obj\win32\n2e_d_s2.obj .\asm\i386\obj\win32\n2e_d_s3.obj .\asm\i386\obj\win32\n2e_d_s4.obj .\asm\i386\obj\win32\n2e_d_s5.obj .\asm\i386\obj\win32\n2e_d_s6.obj .\asm\i386\obj\win32\rdtsc.obj .\asm\i386\obj\win32\rdtsca.obj ucl-1.03/B/win32/wc.rsp0000644000175000001440000000452410077051333011423 00000000000000+'alloc.obj' +'n2b_99.obj' +'n2b_d.obj' +'n2b_ds.obj' +'n2b_to.obj' +'n2d_99.obj' +'n2d_d.obj' +'n2d_ds.obj' +'n2d_to.obj' +'n2e_99.obj' +'n2e_d.obj' +'n2e_ds.obj' +'n2e_to.obj' +'ucl_crc.obj' +'ucl_init.obj' +'ucl_ptr.obj' +'ucl_str.obj' +'ucl_util.obj' +'asm\i386\obj\omf32\cpuid.obj' +'asm\i386\obj\omf32\crc_asm.obj' +'asm\i386\obj\omf32\crcs_asm.obj' +'asm\i386\obj\omf32\n2b_d_f1.obj' +'asm\i386\obj\omf32\n2b_d_f2.obj' +'asm\i386\obj\omf32\n2b_d_f3.obj' +'asm\i386\obj\omf32\n2b_d_f4.obj' +'asm\i386\obj\omf32\n2b_d_f5.obj' +'asm\i386\obj\omf32\n2b_d_f6.obj' +'asm\i386\obj\omf32\n2b_d_n1.obj' +'asm\i386\obj\omf32\n2b_d_n2.obj' +'asm\i386\obj\omf32\n2b_d_n3.obj' +'asm\i386\obj\omf32\n2b_d_n4.obj' +'asm\i386\obj\omf32\n2b_d_n5.obj' +'asm\i386\obj\omf32\n2b_d_n6.obj' +'asm\i386\obj\omf32\n2b_d_s1.obj' +'asm\i386\obj\omf32\n2b_d_s2.obj' +'asm\i386\obj\omf32\n2b_d_s3.obj' +'asm\i386\obj\omf32\n2b_d_s4.obj' +'asm\i386\obj\omf32\n2b_d_s5.obj' +'asm\i386\obj\omf32\n2b_d_s6.obj' +'asm\i386\obj\omf32\n2d_d_f1.obj' +'asm\i386\obj\omf32\n2d_d_f2.obj' +'asm\i386\obj\omf32\n2d_d_f3.obj' +'asm\i386\obj\omf32\n2d_d_f4.obj' +'asm\i386\obj\omf32\n2d_d_f5.obj' +'asm\i386\obj\omf32\n2d_d_f6.obj' +'asm\i386\obj\omf32\n2d_d_n1.obj' +'asm\i386\obj\omf32\n2d_d_n2.obj' +'asm\i386\obj\omf32\n2d_d_n3.obj' +'asm\i386\obj\omf32\n2d_d_n4.obj' +'asm\i386\obj\omf32\n2d_d_n5.obj' +'asm\i386\obj\omf32\n2d_d_n6.obj' +'asm\i386\obj\omf32\n2d_d_s1.obj' +'asm\i386\obj\omf32\n2d_d_s2.obj' +'asm\i386\obj\omf32\n2d_d_s3.obj' +'asm\i386\obj\omf32\n2d_d_s4.obj' +'asm\i386\obj\omf32\n2d_d_s5.obj' +'asm\i386\obj\omf32\n2d_d_s6.obj' +'asm\i386\obj\omf32\n2e_d_f1.obj' +'asm\i386\obj\omf32\n2e_d_f2.obj' +'asm\i386\obj\omf32\n2e_d_f3.obj' +'asm\i386\obj\omf32\n2e_d_f4.obj' +'asm\i386\obj\omf32\n2e_d_f5.obj' +'asm\i386\obj\omf32\n2e_d_f6.obj' +'asm\i386\obj\omf32\n2e_d_n1.obj' +'asm\i386\obj\omf32\n2e_d_n2.obj' +'asm\i386\obj\omf32\n2e_d_n3.obj' +'asm\i386\obj\omf32\n2e_d_n4.obj' +'asm\i386\obj\omf32\n2e_d_n5.obj' +'asm\i386\obj\omf32\n2e_d_n6.obj' +'asm\i386\obj\omf32\n2e_d_s1.obj' +'asm\i386\obj\omf32\n2e_d_s2.obj' +'asm\i386\obj\omf32\n2e_d_s3.obj' +'asm\i386\obj\omf32\n2e_d_s4.obj' +'asm\i386\obj\omf32\n2e_d_s5.obj' +'asm\i386\obj\omf32\n2e_d_s6.obj' +'asm\i386\obj\omf32\rdtsc.obj' +'asm\i386\obj\omf32\rdtsca.obj' ucl-1.03/B/win32/vc_dll.def0000644000175000001440000001007510077051333012205 00000000000000LIBRARY ucl EXPORTS _ucl_cpuid_asm=ucl_cpuid_asm _ucl_crc32_asm=ucl_crc32_asm _ucl_crc32_asm_small=ucl_crc32_asm_small _ucl_nrv2b_decompress_asm_8=ucl_nrv2b_decompress_asm_8 _ucl_nrv2b_decompress_asm_fast_8=ucl_nrv2b_decompress_asm_fast_8 _ucl_nrv2b_decompress_asm_fast_le16=ucl_nrv2b_decompress_asm_fast_le16 _ucl_nrv2b_decompress_asm_fast_le32=ucl_nrv2b_decompress_asm_fast_le32 _ucl_nrv2b_decompress_asm_fast_safe_8=ucl_nrv2b_decompress_asm_fast_safe_8 _ucl_nrv2b_decompress_asm_fast_safe_le16=ucl_nrv2b_decompress_asm_fast_safe_le16 _ucl_nrv2b_decompress_asm_fast_safe_le32=ucl_nrv2b_decompress_asm_fast_safe_le32 _ucl_nrv2b_decompress_asm_le16=ucl_nrv2b_decompress_asm_le16 _ucl_nrv2b_decompress_asm_le32=ucl_nrv2b_decompress_asm_le32 _ucl_nrv2b_decompress_asm_safe_8=ucl_nrv2b_decompress_asm_safe_8 _ucl_nrv2b_decompress_asm_safe_le16=ucl_nrv2b_decompress_asm_safe_le16 _ucl_nrv2b_decompress_asm_safe_le32=ucl_nrv2b_decompress_asm_safe_le32 _ucl_nrv2b_decompress_asm_small_8=ucl_nrv2b_decompress_asm_small_8 _ucl_nrv2b_decompress_asm_small_le16=ucl_nrv2b_decompress_asm_small_le16 _ucl_nrv2b_decompress_asm_small_le32=ucl_nrv2b_decompress_asm_small_le32 _ucl_nrv2b_decompress_asm_small_safe_8=ucl_nrv2b_decompress_asm_small_safe_8 _ucl_nrv2b_decompress_asm_small_safe_le16=ucl_nrv2b_decompress_asm_small_safe_le16 _ucl_nrv2b_decompress_asm_small_safe_le32=ucl_nrv2b_decompress_asm_small_safe_le32 _ucl_nrv2d_decompress_asm_8=ucl_nrv2d_decompress_asm_8 _ucl_nrv2d_decompress_asm_fast_8=ucl_nrv2d_decompress_asm_fast_8 _ucl_nrv2d_decompress_asm_fast_le16=ucl_nrv2d_decompress_asm_fast_le16 _ucl_nrv2d_decompress_asm_fast_le32=ucl_nrv2d_decompress_asm_fast_le32 _ucl_nrv2d_decompress_asm_fast_safe_8=ucl_nrv2d_decompress_asm_fast_safe_8 _ucl_nrv2d_decompress_asm_fast_safe_le16=ucl_nrv2d_decompress_asm_fast_safe_le16 _ucl_nrv2d_decompress_asm_fast_safe_le32=ucl_nrv2d_decompress_asm_fast_safe_le32 _ucl_nrv2d_decompress_asm_le16=ucl_nrv2d_decompress_asm_le16 _ucl_nrv2d_decompress_asm_le32=ucl_nrv2d_decompress_asm_le32 _ucl_nrv2d_decompress_asm_safe_8=ucl_nrv2d_decompress_asm_safe_8 _ucl_nrv2d_decompress_asm_safe_le16=ucl_nrv2d_decompress_asm_safe_le16 _ucl_nrv2d_decompress_asm_safe_le32=ucl_nrv2d_decompress_asm_safe_le32 _ucl_nrv2d_decompress_asm_small_8=ucl_nrv2d_decompress_asm_small_8 _ucl_nrv2d_decompress_asm_small_le16=ucl_nrv2d_decompress_asm_small_le16 _ucl_nrv2d_decompress_asm_small_le32=ucl_nrv2d_decompress_asm_small_le32 _ucl_nrv2d_decompress_asm_small_safe_8=ucl_nrv2d_decompress_asm_small_safe_8 _ucl_nrv2d_decompress_asm_small_safe_le16=ucl_nrv2d_decompress_asm_small_safe_le16 _ucl_nrv2d_decompress_asm_small_safe_le32=ucl_nrv2d_decompress_asm_small_safe_le32 _ucl_nrv2e_decompress_asm_8=ucl_nrv2e_decompress_asm_8 _ucl_nrv2e_decompress_asm_fast_8=ucl_nrv2e_decompress_asm_fast_8 _ucl_nrv2e_decompress_asm_fast_le16=ucl_nrv2e_decompress_asm_fast_le16 _ucl_nrv2e_decompress_asm_fast_le32=ucl_nrv2e_decompress_asm_fast_le32 _ucl_nrv2e_decompress_asm_fast_safe_8=ucl_nrv2e_decompress_asm_fast_safe_8 _ucl_nrv2e_decompress_asm_fast_safe_le16=ucl_nrv2e_decompress_asm_fast_safe_le16 _ucl_nrv2e_decompress_asm_fast_safe_le32=ucl_nrv2e_decompress_asm_fast_safe_le32 _ucl_nrv2e_decompress_asm_le16=ucl_nrv2e_decompress_asm_le16 _ucl_nrv2e_decompress_asm_le32=ucl_nrv2e_decompress_asm_le32 _ucl_nrv2e_decompress_asm_safe_8=ucl_nrv2e_decompress_asm_safe_8 _ucl_nrv2e_decompress_asm_safe_le16=ucl_nrv2e_decompress_asm_safe_le16 _ucl_nrv2e_decompress_asm_safe_le32=ucl_nrv2e_decompress_asm_safe_le32 _ucl_nrv2e_decompress_asm_small_8=ucl_nrv2e_decompress_asm_small_8 _ucl_nrv2e_decompress_asm_small_le16=ucl_nrv2e_decompress_asm_small_le16 _ucl_nrv2e_decompress_asm_small_le32=ucl_nrv2e_decompress_asm_small_le32 _ucl_nrv2e_decompress_asm_small_safe_8=ucl_nrv2e_decompress_asm_small_safe_8 _ucl_nrv2e_decompress_asm_small_safe_le16=ucl_nrv2e_decompress_asm_small_safe_le16 _ucl_nrv2e_decompress_asm_small_safe_le32=ucl_nrv2e_decompress_asm_small_safe_le32 _ucl_rdtsc_add_asm=ucl_rdtsc_add_asm _ucl_rdtsc_asm=ucl_rdtsc_asm ucl-1.03/B/win32/wc.bat0000644000175000001440000000114610077051333011362 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Watcom C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl386 -zq -mf -5r -bt#nt -l#nt set CF=-ox -zc %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\win32\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/dm.bat0000644000175000001440000000112710077051333011350 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Digital Mars C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=dmc -mn set CF=-o -w- %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error lib %BLIB% /b /c /n /noi @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/vc.bat0000644000175000001440000000115410077051333011360 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Microsoft Visual C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -MD set CF=-O2 -GF -W4 %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error link -lib -nologo -out:%BLIB% @b\win32\vc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/ic.bat0000644000175000001440000000114210077051333011340 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Intel C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=icl -nologo -MD set CF=-O2 -GF -W3 %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error link -lib -nologo -out:%BLIB% @b\win32\vc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/vc_dll.bat0000644000175000001440000000126010077051333012211 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Microsoft Visual C/C++ (DLL) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -MD set CF=-O2 -GF -W4 %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -D__UCL_EXPORT1#__declspec(dllexport) -c @b\src.rsp @if errorlevel 1 goto error %CC% -LD -Fe%BDLL% @b\win32\vc.rsp /link /map /def:b\win32\vc_dll.def @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/bc.bat0000644000175000001440000000116410077051333011335 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Borland C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=bcc32 set CF=-O2 -w -w-aus %CFI% -Iacc %CFASM% set LF=%BLIB% %CC% %CF% -Isrc -c @b\src.rsp @if errorlevel 1 goto error tlib %BLIB% @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% -ls -Iexamples examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -ls -Iexamples examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/cygwin.bat0000644000175000001440000000135310077051333012251 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // cygwin + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=lib%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -lwinmm -s %CC% %CF% -c src/*.c @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% @b/win32/cygwin.rsp @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/mingw.bat0000644000175000001440000000133210077051333012067 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // MinGW + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=lib%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -lwinmm -s %CC% %CF% -c src/*.c @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% *.o @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/rsxnt.bat0000644000175000001440000000137010077051333012126 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // rsxnt + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=%BNAME%.a set CC=gcc -Zwin32 -Zsys -mprobe set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -s %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% @b/win32/cygwin.rsp @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/pw32.bat0000644000175000001440000000133110077051333011540 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // PW32 + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=lib%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -lwinmm -s %CC% %CF% -c src/*.c @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% *.o @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/lcc.bat0000644000175000001440000000130310077051333011505 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // lcc-win32 @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=lcc set CF=-O -A %CFI% -Iacc %CFASM% set LF=%BLIB% winmm.lib for %%f in (src\*.c) do %CC% %CF% -c %%f @if errorlevel 1 goto error lcclib /out:%BLIB% @b\win32\vc.rsp @if errorlevel 1 goto error %CC% -c %CF% examples\simple.c @if errorlevel 1 goto error lc simple.obj %LF% @if errorlevel 1 goto error %CC% -c %CF% examples\uclpack.c @if errorlevel 1 goto error lc uclpack.obj %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/pgi.bat0000644000175000001440000000122410077051333011525 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Portland Group PGI C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=lib%BNAME%.a set CC=pgcc set CF=-fast %CFI% %CFASM% set LF=%BLIB% -lwinmm %CC% %CF% -c src\*.c @if errorlevel 1 goto error ar rcs %BLIB% *.o asm/i386/obj/win32/*.obj @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win32/mwerks.bat0000644000175000001440000000117210077051333012260 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 32-bit @echo // Metrowerks CodeWarrior C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=mwcc -gccinc set CF=-opt full %CFI% %CFASM% set LF=%BLIB% -lwinmm.lib %CC% -w on %CF% -c @b\src.rsp @if errorlevel 1 goto error mwld -library -o %BLIB% @b\win32\vc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/os2/0000777000175000001440000000000010077051333010104 500000000000000ucl-1.03/B/os2/wc.bat0000644000175000001440000000114710077051333011124 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // OS/2 32-bit @echo // Watcom C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl386 -zq -mf -5r -bt#os2 -l#os2v2 set CF=-ox -zc %CFI% %CFASM% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\win32\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/os2/emx.bat0000644000175000001440000000133510077051333011303 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // OS/2 32-bit @echo // emx + gcc @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set BLIB=%BNAME%.a set CC=gcc set CF=-O2 -fomit-frame-pointer -Wall %CFI% %CFASM% set LF=%BLIB% -s %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error %CC% -x assembler-with-cpp -c asm/i386/src_gas/*.S @if errorlevel 1 goto error ar rcs %BLIB% @b/win32/cygwin.rsp @if errorlevel 1 goto error %CC% %CF% -o simple.exe examples/simple.c %LF% @if errorlevel 1 goto error %CC% %CF% -o uclpack.exe examples/uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/os2/zc.bat0000644000175000001440000000126710077051333011132 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // OS/2 32-bit @echo // Zortech C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=ztc -b -v0 -mf set CF=-o -w- -r %CFI% -Isrc %CFASM% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error zorlib %BLIB% @b\win32\bc.rsp @if errorlevel 1 goto error %CC% %CF% -c examples\simple.c @if errorlevel 1 goto error %CC% simple.obj %LF% @if errorlevel 1 goto error %CC% %CF% -c examples\uclpack.c @if errorlevel 1 goto error %CC% uclpack.obj %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/done.bat0000644000175000001440000000007310077051333010732 00000000000000@echo // @echo // Building UCL was successful. All done. ucl-1.03/B/src.rsp0000644000175000001440000000037710077051333010641 00000000000000src/alloc.c src/n2b_99.c src/n2b_d.c src/n2b_ds.c src/n2b_to.c src/n2d_99.c src/n2d_d.c src/n2d_ds.c src/n2d_to.c src/n2e_99.c src/n2e_d.c src/n2e_ds.c src/n2e_to.c src/ucl_crc.c src/ucl_init.c src/ucl_ptr.c src/ucl_str.c src/ucl_util.c ucl-1.03/B/os2_16/0000777000175000001440000000000010077051333010412 500000000000000ucl-1.03/B/os2_16/wc.bat0000644000175000001440000000112510077051333011426 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // OS/2 16-bit @echo // Watcom C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=wcl -zq -ml -2 -bt#os2 -l#os2 set CF=-ox %CFI% set LF=%BLIB% %CC% %CF% -c src\*.c @if errorlevel 1 goto error wlib -q -b -n -t %BLIB% @b\dos16\wc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/os2_16/mc.bat0000644000175000001440000000117010077051333011414 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // OS/2 16-bit @echo // Microsoft C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -AL -G2 set CF=-D__OS2__ -O -Gf -Gs -W3 %CFI% set LF=%BLIB% -Lp -Fm /link /stack:8096 %CC% %CF% -c src\*.c @if errorlevel 1 goto error lib /nologo %BLIB% @b\dos16\bc.rsp; @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/unset.bat0000644000175000001440000000016310077051333011143 00000000000000@set CC= @set CF= @set CFI= @set CFX= @set CFASM= @set LF= @set BNAME= @set BLIB= @set BDLL= @set BECHO= ucl-1.03/B/clean.bat0000644000175000001440000000027410077051333011072 00000000000000@del /q *.def *.err *.exp *.map *.o *.obj *.res *.tds > nul 2> nul @del /q libucl.a ucl.a ucl.dll ucl.lib ucl_*.lib > nul 2> nul @del /q a.exe a.out simple.exe uclpack.exe > nul 2> nul ucl-1.03/B/prepare.bat0000644000175000001440000000027110077051333011443 00000000000000@call b\unset.bat @call b\clean.bat @set CFI=-Iinclude -I. @set CFASM=-DUCL_USE_ASM @set BNAME=ucl @set BLIB=ucl.lib @set BDLL=ucl.dll @echo Compiling, please be patient... ucl-1.03/B/win64/0000777000175000001440000000000010077051333010350 500000000000000ucl-1.03/B/win64/vc.bat0000644000175000001440000000116710077051333011371 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 64-bit (AMD64 or Itanium) @echo // Microsoft Visual C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -MD set CF=-O2 -GF -W4 %CFI% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error link -lib -nologo -out:%BLIB% @b\win64\vc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win64/vc.rsp0000644000175000001440000000037710077051333011431 00000000000000.\alloc.obj .\n2b_99.obj .\n2b_d.obj .\n2b_ds.obj .\n2b_to.obj .\n2d_99.obj .\n2d_d.obj .\n2d_ds.obj .\n2d_to.obj .\n2e_99.obj .\n2e_d.obj .\n2e_ds.obj .\n2e_to.obj .\ucl_crc.obj .\ucl_init.obj .\ucl_ptr.obj .\ucl_str.obj .\ucl_util.obj ucl-1.03/B/win64/ic.bat0000644000175000001440000000114410077051333011347 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 64-bit (Itanium) @echo // Intel C/C++ @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=ecl -nologo -MD set CF=-O2 -GF -W3 %CFI% set LF=%BLIB% %CC% %CF% -c @b\src.rsp @if errorlevel 1 goto error link -lib -nologo -out:%BLIB% @b\win64\vc.rsp @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win64/vc_dll.bat0000644000175000001440000000127310077051333012222 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 64-bit (AMD64 or Itanium) @echo // Microsoft Visual C/C++ (DLL) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=cl -nologo -MD set CF=-O2 -GF -W4 %CFI% set LF=%BLIB% %CC% %CF% -D__UCL_EXPORT1#__declspec(dllexport) -c @b\src.rsp @if errorlevel 1 goto error %CC% -LD -Fe%BDLL% @b\win64\vc.rsp /link /map /def:b\win64\vc_dll.def @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/win64/vc_dll.def0000644000175000001440000000001510077051333012203 00000000000000LIBRARY ucl ucl-1.03/B/win64/ic_dll.bat0000644000175000001440000000125010077051333012200 00000000000000@echo // Copyright (C) 1996-2004 Markus F.X.J. Oberhumer @echo // @echo // Windows 64-bit (Itanium) @echo // Intel C/C++ (DLL) @echo // @call b\prepare.bat @if "%BECHO%"=="n" echo off set CC=ecl -nologo -MD set CF=-O2 -GF -W3 %CFI% set LF=%BLIB% %CC% %CF% -D__UCL_EXPORT1#__declspec(dllexport) -c @b\src.rsp @if errorlevel 1 goto error %CC% -LD -Fe%BDLL% @b\win64\vc.rsp /link /map /def:b\win64\vc_dll.def @if errorlevel 1 goto error %CC% %CF% examples\simple.c %LF% @if errorlevel 1 goto error %CC% %CF% examples\uclpack.c %LF% @if errorlevel 1 goto error @call b\done.bat @goto end :error @echo ERROR during build! :end @call b\unset.bat ucl-1.03/B/00README.TXT0000644000175000001440000000431410077051333011015 00000000000000Simple make drivers for DOS, Windows, OS/2 and other systems ============================================================ This directory contains a bunch of simple build scripts - I've tried to make them as foolproof as possible. To build UCL for your system type `b\OS\COMPILER' in the base directory, e.g. `b\win32\vc.bat' will build the Win32 Visual C/C++ version. After building do a basic test by running `uclpack.exe COPYING test.dat'. Please send me your additional/improved versions. Overview: --------- b\dos32\bc_pp.bat Borland C/C++ (1) b\dos32\dj2.bat djgpp v2 + gcc (1) b\dos32\dm.bat Digital Mars C/C++ (1) b\dos32\emx.bat emx + gcc (1) b\dos32\wc.bat Watcom C/C++ (1) b\os2\emx.bat emx + gcc (1) b\os2\wc.bat Watcom C/C++ (1) b\win32\bc.bat Borland C/C++ (1) b\win32\cygwin.bat Cygwin + gcc (1) b\win32\dm.bat Digital Mars C/C++ (1) b\win32\ic.bat Intel C/C++ (1) b\win32\lcc.bat lcc-win32 (1) b\win32\mingw.bat MinGW + gcc (1) b\win32\mwerks.bat Metrowerks CodeWarrior C/C++ (1) b\win32\pgi.bat Portland Group PGI C/C++ (1) b\win32\rsxnt.bat rsxnt + gcc (1) b\win32\vc.bat Visual C/C++ (1) b\win32\vc_dll.bat Visual C/C++ (DLL version) (1) b\win32\wc.bat Watcom C/C++ (1) b\win64\ic.bat Intel C/C++ (Itanium) b\win64\ic_dll.bat Intel C/C++ (Itanium) (DLL version) b\win64\vc.bat Visual C/C++ (AMD64 or Itanium) b\win64\vc_dll.bat Visual C/C++ (AMD64 or Itanium) (DLL version) Finally, there are also a number of build scripts for obsolete systems like dos16 and win16. Notes: (1) includes support for i386 assembler versions ucl-1.03/B/generic/0000777000175000001440000000000010077051333011015 500000000000000ucl-1.03/B/generic/build_gcc.sh0000644000175000001440000000023210077051333013175 00000000000000#! /bin/sh # vi:ts=4:et set -e echo "// Using GNU C compiler." echo "//" CC="gcc" CFLAGS="-Wall -O2 -fomit-frame-pointer" . ./B/generic/build.sh exit 0 ucl-1.03/B/generic/build.sh0000644000175000001440000000137210077051333012367 00000000000000#! /bin/sh # vi:ts=4:et set -e echo "// Copyright (C) 1996-2004 Markus F.X.J. Oberhumer" echo "//" echo "// Generic Posix/Unix system" echo "// Generic C compiler" CFI="-Iinclude -I." CFASM=-DUCL_USE_ASM BNAME=ucl BLIB=libucl.a test "X${CC+set}" = Xset || CC="cc" test "X${CFLAGS+set}" = Xset || CFLAGS="-O" CF="$CFLAGS $CFI" LF="$LDFLAGS $BLIB" rm -f *.o "$BLIB" simple uclpack for f in src/*.c; do echo $CC $CF -c $f $CC $CF -c $f done echo ar rcs "$BLIB" *.o ar rcs "$BLIB" *.o echo $CC $CF -o simple examples/simple.c $LF $CC $CF -o simple examples/simple.c $LF echo $CC $CF -o uclpack examples/uclpack.c $LF $CC $CF -o uclpack examples/uclpack.c $LF echo "//" echo "// Building UCL was successful. All done." exit 0 ucl-1.03/README0000644000175000001440000001403010077051333010012 00000000000000-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ooooo ooo .oooooo. ooooo `888' `8' d8P' `Y8b `888' 888 8 888 888 888 8 888 888 888 8 888 888 `88. .8' `88b ooo 888 o `YbodP' `Y8bood8P' o888ooooood8 The UCL Compression Library Version 1.02 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Markus F.X.J Oberhumer http://www.oberhumer.com Abstract -------- UCL is a portable lossless data compression library written in ANSI C. UCL implements a number of compression algorithms that achieve an excellent compression ratio while allowing *very* fast decompression. Decompression requires no additional memory. UCL is distributed under the terms of the GNU General Public License (GPL). Overview -------- UCL implements a number of algorithms with the following features: - Decompression is simple and *very* fast. - Requires no memory for decompression. - The decompressors can be squeezed into less than 200 bytes of code. - Includes compression levels for generating pre-compressed data which achieve an excellent compression ratio. - Allows you to dial up extra compression at a speed cost in the compressor. The speed of the decompressor is not reduced. - Algorithm is thread safe. - Algorithm is lossless. UCL supports in-place decompression. Design criteria --------------- UCL's main design goal was a very high decompression speed while achieving an excellent compression ratio. Real-time decompression should be possible for virtually any application. The implementation of the NRV2B decompressor in optimized i386 assembler code runs about at the fifth of the speed of a memcpy() - and even faster for many files. Related work ------------ This section describes how UCL compares to some of my other compression technologies. * LZO --- http://www.oberhumer.com/opensource/lzo/ LZO is distributed under the terms of the GNU GPL. LZO is a data compression library that focuses on *extremly* fast decompression, and also implements some pretty fast compression algorithms. * NRV --- http://www.oberhumer.com/nrv NRV is not publicly available. NRV started life as an experimental compression library and has since grown into a meta-generator for compression algorithms of almost any kind. NRV supports a virtually unlimited number of different algorithms by glueing typical data compression components. By using a combination of sophisticated high level abstractions and advanced information theory concepts it usually achieves an incredible compression ratio. * UCL --- http://www.oberhumer.com/opensource/ucl/ UCL is distributed under the terms of the GNU GPL. UCL is a re-implementation of some concrete algorithms that have proven especially useful during the NRV development. As compared to LZO, the UCL algorithms achieve a better compression ratio but decompression is somewhat slower. See below. * UPX --- http://www.oberhumer.com/opensource/upx/ UPX is distributed under the terms of the GNU GPL. UPX is a very powerful executable packer that can be configured to use either NRV or UCL for actual compression services. It currently supports the NRV2B and NRV2D algorithms. Portability ----------- UCL's decompressors should work on any system around - they could even get ported to 8-bit processors such as the Z-80 or 6502. UCL's compressors currently require at least 32-bit integers. While porting them to more restricted environments (such as 16-bit DOS) should be possible without too much effort this is not considered important at this time. How fast is fast ? ------------------ Here are some rough timings originally done on an ancient Intel Pentium 133: memcpy(): ~60 MB/sec LZO decompression in optimized assembler: ~20 MB/sec LZO decompression in C: ~16 MB/sec UCL decompression in optimized assembler: ~13 MB/sec Your mileage may vary and you're encouraged to run your own benchmarks. Also note that UCL's C language decompressors are not optimized very much yet, so you should use the assembler versions whenever possible. Documentation (preliminary) --------------------------- Currently UCL implements 3 of NRV's algorithms, namely NRV2B, NRV2D and NRV2E. UCL is a block compressor, i.e. each memory block passed to the compressor will get compressed independently. The API of UCL is basically identical to that of LZO. Due to current lack of documentation you are strongly advised to download LZO and study its documentation and example programs first: http://www.oberhumer.com/opensource/lzo/ The API of UCL is actually very simple: there's a compress() function that compresses a block of memory, and there's a decompress() function that handles decompression. That's more or less all you need to know. See the `examples' directory for some demo programs. UCL will expand non-compressible data by a little amount. I suggest using this formula for a worst-case expansion calculation: output_block_size = input_block_size + (input_block_size / 8) + 256 COPYRIGHT --------- The UCL library is Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 by Markus Franz Xaver Johannes Oberhumer . The UCL library is distributed under the terms of the GNU General Public License (GPL). See the file COPYING. Special licenses for commercial and other applications which are not willing to accept the GNU General Public License are available by contacting the author. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/4ZvKTWFXqwsgQ8kRAhF6AJwIR0ILMZeV9+ZCCCJ/roj/69PrLgCgshst OMn0jebEgHVJ7+Z5Hva70tE= =+AhB -----END PGP SIGNATURE----- ucl-1.03/configure.ac0000644000175000001440000001422310077051333011424 00000000000000# # configure.ac -- autoconf configuration for the UCL library # # This file is part of the UCL data compression library. # # Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer # All Rights Reserved. # # The UCL library is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # The UCL library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with the UCL library; see the file COPYING. # If not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # Markus F.X.J. Oberhumer # # http://www.oberhumer.com/opensource/ucl/ # # /*********************************************************************** # // Init # ************************************************************************/ AC_COPYRIGHT([Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer. All Rights Reserved. This configure script may be copied, distributed and modified under the terms of the GNU General Public License; see COPYING for more details.]) AC_PREREQ(2.59) AC_INIT(ucl,1.03,markus@oberhumer.com) AC_MSG_NOTICE([Configuring UCL $PACKAGE_VERSION]) AC_CONFIG_SRCDIR(src/ucl_init.c) AC_CONFIG_AUX_DIR(acconfig) AC_PREFIX_DEFAULT(/usr/local) AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_MAINTAINER_MODE if test -z "$ac_abs_top_srcdir"; then _AC_SRCPATHS(.) fi if test -r .Conf.settings1; then . ./.Conf.settings1 fi AC_PROG_CC AC_PROG_CPP mfx_PROG_CPPFLAGS AC_C_CONST mfx_ACC_CHECK_ENDIAN AC_SYS_LARGEFILE AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h:config.hin) AC_ENABLE_STATIC AC_DISABLE_SHARED AC_PROG_LIBTOOL # /*********************************************************************** # // Checks for assembler # ************************************************************************/ AC_ARG_ENABLE(asm, AC_HELP_STRING([--disable-asm], [disable i386 assembly versions])) case $host_cpu in i?86) ;; *) enable_asm=no ;; esac UCL_ASM_VPATH= AC_MSG_CHECKING([whether to build i386 assembly versions]) if test "X$enable_asm" != Xno; then mfx_compile_S='${CC-cc} -c conftest.S 1>&AS_MESSAGE_LOG_FD' cat > conftest.S <&AS_MESSAGE_LOG_FD cat conftest.S >&AS_MESSAGE_LOG_FD fi rm -rf conftest* fi AC_MSG_RESULT([$enable_asm]) AM_CONDITIONAL(UCL_USE_ASM, [test "X$enable_asm" != Xno]) AC_SUBST(UCL_ASM_VPATH) # /*********************************************************************** # // Checks for header files # ************************************************************************/ mfx_ACC_CHECK_HEADERS dnl AC_CHECK_HEADERS([sys/param.h sys/resource.h sys/times.h]) if test "X$ac_cv_header_limits_h" != Xyes; then AC_MSG_ERROR([ header not found]) fi mfx_CHECK_HEADER_SANE_LIMITS_H if test "X$mfx_cv_header_sane_limits_h" != Xyes; then AC_MSG_ERROR([your header is broken - for details see config.log]) fi # /*********************************************************************** # // Checks for typedefs and structures # ************************************************************************/ AC_TYPE_OFF_T AC_CHECK_TYPE(ptrdiff_t,long) AC_TYPE_SIZE_T AC_TYPE_SIGNAL mfx_ACC_CHECK_SIZEOF mfx_CHECK_SIZEOF # /*********************************************************************** # // Checks for library functions # ************************************************************************/ mfx_ACC_CHECK_FUNCS mfx_CHECK_LIB_WINMM # /*********************************************************************** # // Write output files # ************************************************************************/ mfx_ACC_ACCCHK(["-I$srcdir -I$srcdir/acc"]) if test -r .Conf.settings2; then . ./.Conf.settings2 fi CPPFLAGS="$CPPFLAGS -DUCL_HAVE_CONFIG_H" if test "X$enable_asm" != Xno; then CPPFLAGS="$CPPFLAGS -DUCL_USE_ASM" fi AC_SUBST(UCL_CPPFLAGS) AC_SUBST(UCL_EXTRA_CPPFLAGS) AC_SUBST(UCL_CFLAGS) AC_SUBST(UCL_EXTRA_CFLAGS) configure_CPPFLAGS=$CPPFLAGS configure_CFLAGS=$CFLAGS AC_SUBST(configure_CPPFLAGS) AC_SUBST(configure_CFLAGS) AC_CONFIG_FILES([Makefile examples/Makefile include/Makefile include/ucl/Makefile src/Makefile]) AC_OUTPUT cat < http://www.oberhumer.com/opensource/ucl/ Type \`make' to build UCL. Type \`make install' to install UCL. After installing UCL, please read the accompanied documentation. EOF # vi:ts=4:et ucl-1.03/aclocal.m40000644000175000001440000075562510077051333011020 00000000000000# generated automatically by aclocal 1.8.5 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # /*********************************************************************** # // standard ACC macros # ************************************************************************/ AC_DEFUN([mfx_ACC_CHECK_ENDIAN], [ AC_C_BIGENDIAN([AC_DEFINE(ACC_ENDIAN_BIG_ENDIAN,1,[Define to 1 if your machine is big endian.])],[AC_DEFINE(ACC_ENDIAN_LITTLE_ENDIAN,1,[Define to 1 if your machine is little endian.])]) ])# AC_DEFUN([mfx_ACC_CHECK_HEADERS], [ AC_HEADER_TIME AC_CHECK_HEADERS([assert.h ctype.h dirent.h errno.h fcntl.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/stat.h sys/time.h sys/types.h]) ])# AC_DEFUN([mfx_ACC_CHECK_FUNCS], [ AC_CHECK_FUNCS(access alloca atexit atoi atol chmod chown ctime difftime fstat gettimeofday gmtime localtime longjmp lstat memcmp memcpy memmove memset mktime qsort raise setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf) ])# AC_DEFUN([mfx_ACC_CHECK_SIZEOF], [ AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(ptrdiff_t) AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(char *) AC_CHECK_SIZEOF(long long) AC_CHECK_SIZEOF(unsigned long long) AC_CHECK_SIZEOF(__int64) AC_CHECK_SIZEOF(unsigned __int64) ])# # /*********************************************************************** # // Check for ACC_conformance # ************************************************************************/ AC_DEFUN([mfx_ACC_ACCCHK], [ mfx_tmp=$1 mfx_save_CPPFLAGS=$CPPFLAGS dnl in Makefile.in $(INCLUDES) will be before $(CPPFLAGS), so we mimic this here test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS" AC_MSG_CHECKING([whether your compiler passes the ACC conformance test]) AC_LANG_CONFTEST([AC_LANG_PROGRAM( [[#define ACC_CONFIG_NO_HEADER 1 #include "acc/acc.h" #include "acc/acc_incd.h" #undef ACCCHK_ASSERT #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr) #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT static void test_acc_compile_time_assert(void) { #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr) #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT } #undef NDEBUG #include static int test_acc_run_time_assert(int r) { #define ACCCHK_ASSERT(expr) assert(expr); #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT return r; } ]], [[ test_acc_compile_time_assert(); if (test_acc_run_time_assert(1) != 1) return 1; ]] )]) mfx_tmp=FAILED _AC_COMPILE_IFELSE([], [mfx_tmp=yes]) rm -f conftest.$ac_ext conftest.$ac_objext CPPFLAGS=$mfx_save_CPPFLAGS AC_MSG_RESULT([$mfx_tmp]) case x$mfx_tmp in xpassed | xyes) ;; *) AC_MSG_NOTICE([]) AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ]) AC_MSG_NOTICE([`config.log'. Please check that log file and consider sending]) AC_MSG_NOTICE([a patch or bug-report to <${PACKAGE_BUGREPORT}>.]) AC_MSG_NOTICE([Thanks for your support.]) AC_MSG_NOTICE([]) AC_MSG_ERROR([ACC conformance test failed. Stop.]) dnl AS_EXIT ;; esac ])# mfx_ACC_ACCCHK # serial 1 AC_DEFUN([mfx_PROG_CPPFLAGS], [ AC_MSG_CHECKING([whether the C preprocessor needs special flags]) AC_LANG_CONFTEST([AC_LANG_PROGRAM( [[#include #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul) # include "your C preprocessor is broken 1" #elif (0xffffu == 0xfffffffful) # include "your C preprocessor is broken 2" #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX) # include "your C preprocessor is broken 3" #endif ]], [[ ]] )]) mfx_save_CPPFLAGS=$CPPFLAGS mfx_tmp=ERROR for mfx_arg in "" -no-cpp-precomp do CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS" _AC_COMPILE_IFELSE([], [mfx_tmp=$mfx_arg break]) done CPPFLAGS=$mfx_save_CPPFLAGS rm -f conftest.$ac_ext conftest.$ac_objext case x$mfx_tmp in x) AC_MSG_RESULT([none needed]) ;; xERROR) AC_MSG_RESULT([ERROR]) AC_MSG_ERROR([your C preprocessor is broken - for details see config.log]) ;; *) AC_MSG_RESULT([$mfx_tmp]) CPPFLAGS="$mfx_tmp $CPPFLAGS" ;; esac ])# mfx_PROG_CPPFLAGS # serial 3 AC_DEFUN([mfx_CHECK_HEADER_SANE_LIMITS_H], [ AC_CACHE_CHECK([whether limits.h is sane], mfx_cv_header_sane_limits_h, [AC_TRY_COMPILE([#include #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul) # if defined(__APPLE__) && defined(__GNUC__) # error "your preprocessor is broken - use compiler option -no-cpp-precomp" # else # include "your preprocessor is broken" # endif #endif #define MFX_0xffff 0xffff #define MFX_0xffffffffL 4294967295ul #if !defined(CHAR_BIT) || (CHAR_BIT != 8) # include "error CHAR_BIT" #endif #if !defined(UCHAR_MAX) # include "error UCHAR_MAX 1" #endif #if !defined(USHRT_MAX) # include "error USHRT_MAX 1" #endif #if !defined(UINT_MAX) # include "error UINT_MAX 1" #endif #if !defined(ULONG_MAX) # include "error ULONG_MAX 1" #endif #if !defined(SHRT_MAX) # include "error SHRT_MAX 1" #endif #if !defined(INT_MAX) # include "error INT_MAX 1" #endif #if !defined(LONG_MAX) # include "error LONG_MAX 1" #endif #if (UCHAR_MAX < 1) # include "error UCHAR_MAX 2" #endif #if (USHRT_MAX < 1) # include "error USHRT_MAX 2" #endif #if (UINT_MAX < 1) # include "error UINT_MAX 2" #endif #if (ULONG_MAX < 1) # include "error ULONG_MAX 2" #endif #if (UCHAR_MAX < 0xff) # include "error UCHAR_MAX 3" #endif #if (USHRT_MAX < MFX_0xffff) # include "error USHRT_MAX 3" #endif #if (UINT_MAX < MFX_0xffff) # include "error UINT_MAX 3" #endif #if (ULONG_MAX < MFX_0xffffffffL) # include "error ULONG_MAX 3" #endif #if (USHRT_MAX > UINT_MAX) # include "error USHRT_MAX vs UINT_MAX" #endif #if (UINT_MAX > ULONG_MAX) # include "error UINT_MAX vs ULONG_MAX" #endif ],[ #if (USHRT_MAX == MFX_0xffff) { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; } #elif (USHRT_MAX >= MFX_0xffff) { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; } #endif #if (UINT_MAX == MFX_0xffff) { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; } #elif (UINT_MAX >= MFX_0xffff) { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; } #endif #if (ULONG_MAX == MFX_0xffff) { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; } #elif (ULONG_MAX >= MFX_0xffff) { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; } #endif #if (USHRT_MAX == MFX_0xffffffffL) { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; } #elif (USHRT_MAX >= MFX_0xffffffffL) { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; } #endif #if (UINT_MAX == MFX_0xffffffffL) { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; } #elif (UINT_MAX >= MFX_0xffffffffL) { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; } #endif #if (ULONG_MAX == MFX_0xffffffffL) { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; } #elif (ULONG_MAX >= MFX_0xffffffffL) { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; } #endif ], mfx_cv_header_sane_limits_h=yes, mfx_cv_header_sane_limits_h=no)]) ]) # /*********************************************************************** # // # ************************************************************************/ dnl more types which are not yet covered by ACC AC_DEFUN([mfx_CHECK_SIZEOF], [ AC_CHECK_SIZEOF(__int32) AC_CHECK_SIZEOF(unsigned __int32) AC_CHECK_SIZEOF(intmax_t) AC_CHECK_SIZEOF(uintmax_t) AC_CHECK_SIZEOF(intptr_t) AC_CHECK_SIZEOF(uintptr_t) AC_CHECK_SIZEOF(float) AC_CHECK_SIZEOF(double) AC_CHECK_SIZEOF(long double) AC_CHECK_SIZEOF(dev_t) AC_CHECK_SIZEOF(fpos_t) AC_CHECK_SIZEOF(mode_t) AC_CHECK_SIZEOF(off_t) AC_CHECK_SIZEOF(ssize_t) AC_CHECK_SIZEOF(time_t) ])# AC_DEFUN([mfx_CHECK_LIB_WINMM], [ if test "X$GCC" = Xyes; then case $host_os in cygwin* | mingw* | pw32*) LIBS="$LIBS -lwinmm" ;; *) ;; esac fi ])# # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 47 AC_PROG_LIBTOOL # Debian $Rev: 214 $ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case "`/usr/bin/file conftest.o`" in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD else $2=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # -------------------- AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_unknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s out/conftest.err; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case "$host_cpu" in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=yes library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && test "X$CXX" != "Xno"; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 dll's AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- #- set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognise shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognise a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case "$host_cpu" in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/${ac_tool_prefix}nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac esac fi done IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If # DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and # top_srcdir appropriately in the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that LIBLTDL # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If # DIRECTORY is not provided and an installed libltdl is not found, it is # assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single # quotes!). If your package is not flat and you're not using automake, # define top_builddir and top_srcdir appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # -------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' _LT_AC_SYS_COMPILER # # Check for any special shared library compilation flags. # _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= if test "$GCC" = no; then case $host_os in sco3.2v5*) _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' ;; esac fi if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : else AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no fi fi # # Check to make sure the static flag actually works. # AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF($1) # Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case "$host_os" in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; darwin* | rhapsody*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case "$host_os" in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' ;; esac fi ;; esac output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= # Source file extension for C++ test sources. ac_ext=cc # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) _LT_AC_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds it's shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case "$host_os" in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; dgux*) case $cc_basename in ec++) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | kfreebsd*-gnu) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then case "$host_cpu" in hppa*64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; *) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case "$host_cpu" in hppa*64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC) case "$host_cpu" in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case "$host_cpu" in ia64*|hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; irix5* | irix6*) case $cc_basename in CC) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc) # Intel C++ with_gnu_ld=yes _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; cxx) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; osf3*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sco*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case $cc_basename in CC) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; sunos4*) case $cc_basename in CC) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' fi ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; tandem*) case $cc_basename in NCC) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris* | sysv5*) symcode='[[BDRT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; dgux*) case $cc_basename in ec++) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; cxx) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; sco*) case $cc_basename in CC) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; *) ;; esac ;; solaris*) case $cc_basename in CC) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; unixware*) ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux*) case $CC in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; sco3.2v5*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case "$host_os" in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux*) _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" fi _LT_AC_TAGVAR(link_all_deplibs, $1)=no else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) _LT_AC_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds it's shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi4*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) if test "$GXX" = yes ; then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case "$host_os" in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case "$host_cpu" in hppa*64*|ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; *) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; sco3.2v5*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4.2uw2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv5*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && break cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done SED=$lt_cv_path_SED ]) AC_MSG_RESULT([$SED]) ]) # -*- Autoconf -*- # Copyright (C) 2002, 2003 Free Software Foundation, Inc. # Generated from amversion.in; do not edit by hand. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.8.5])]) # AM_AUX_DIR_EXPAND # Copyright (C) 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 6 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]) fi])]) # serial 7 -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. #serial 2 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 7 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # This macro actually does too much some checks are only needed if # your package does certain things. But this isn't really a big deal. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 11 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_MISSING_PROG(AMTAR, tar) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. # Copyright (C) 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # -*- Autoconf -*- # Copyright (C) 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 1 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # Copyright (C) 2003, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # Keeping the `.' argument allows $(mkdir_p) to be used without # argument. Indeed, we sometimes output rules like # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more # expensive solution, as it forces Make to start a sub-shell.) mkdir_p='mkdir -p -- .' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # # Check to make sure that the build environment is sane. # # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # AM_PROG_INSTALL_STRIP # Copyright (C) 2001, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) ucl-1.03/Makefile.am0000644000175000001440000000076110077051333011174 00000000000000## Process this file with automake to create Makefile.in # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # AUTOMAKE_OPTIONS = 1.8.5 foreign SUBDIRS = include src examples dist-hook: -rm -rf "$(distdir)/acconfig/" cp -pR $(srcdir)/B/ $(srcdir)/acconfig/ $(srcdir)/asm/ $(srcdir)/upx/ "$(distdir)/" $(mkinstalldirs) "$(distdir)/acc" cp -pR $(srcdir)/acc/ACC* $(srcdir)/acc/acc* "$(distdir)/acc/" -rm -f `find "./$(distdir)/" -type l -print` @MAINT@-include $(top_srcdir)/Makefile.maint ucl-1.03/Makefile.in0000644000175000001440000004663710077051333011221 00000000000000# Makefile.in generated by automake 1.8.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.hin \ $(top_srcdir)/configure AUTHORS COPYING INSTALL NEWS THANKS \ TODO acconfig/compile acconfig/config.guess \ acconfig/config.sub acconfig/depcomp acconfig/install-sh \ acconfig/ltmain.sh acconfig/mdate-sh acconfig/missing \ acconfig/mkinstalldirs acconfig/py-compile acconfig/ylwrap subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/acconfig/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UCL_ASM_VPATH = @UCL_ASM_VPATH@ UCL_CFLAGS = @UCL_CFLAGS@ UCL_CPPFLAGS = @UCL_CPPFLAGS@ UCL_EXTRA_CFLAGS = @UCL_EXTRA_CFLAGS@ UCL_EXTRA_CPPFLAGS = @UCL_EXTRA_CPPFLAGS@ UCL_USE_ASM_FALSE = @UCL_USE_ASM_FALSE@ UCL_USE_ASM_TRUE = @UCL_USE_ASM_TRUE@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ configure_CFLAGS = @configure_CFLAGS@ configure_CPPFLAGS = @configure_CPPFLAGS@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ AUTOMAKE_OPTIONS = 1.8.5 foreign SUBDIRS = include src examples all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/acconfig @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || mkdir "$(distdir)/$$subdir" \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="../$(top_distdir)" \ distdir="../$(distdir)/$$subdir" \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am dist-hook: -rm -rf "$(distdir)/acconfig/" cp -pR $(srcdir)/B/ $(srcdir)/acconfig/ $(srcdir)/asm/ $(srcdir)/upx/ "$(distdir)/" $(mkinstalldirs) "$(distdir)/acc" cp -pR $(srcdir)/acc/ACC* $(srcdir)/acc/acc* "$(distdir)/acc/" -rm -f `find "./$(distdir)/" -type l -print` @MAINT@-include $(top_srcdir)/Makefile.maint # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ucl-1.03/config.hin0000644000175000001440000002030510077051333011101 00000000000000/* config.hin. Generated from configure.ac by autoheader. */ /* Define to 1 if your machine is big endian. */ #undef ACC_ENDIAN_BIG_ENDIAN /* Define to 1 if your machine is little endian. */ #undef ACC_ENDIAN_LITTLE_ENDIAN /* Define to 1 if you have the `access' function. */ #undef HAVE_ACCESS /* Define to 1 if you have the `alloca' function. */ #undef HAVE_ALLOCA /* Define to 1 if you have the header file. */ #undef HAVE_ASSERT_H /* Define to 1 if you have the `atexit' function. */ #undef HAVE_ATEXIT /* Define to 1 if you have the `atoi' function. */ #undef HAVE_ATOI /* Define to 1 if you have the `atol' function. */ #undef HAVE_ATOL /* Define to 1 if you have the `chmod' function. */ #undef HAVE_CHMOD /* Define to 1 if you have the `chown' function. */ #undef HAVE_CHOWN /* Define to 1 if you have the `ctime' function. */ #undef HAVE_CTIME /* Define to 1 if you have the header file. */ #undef HAVE_CTYPE_H /* Define to 1 if you have the `difftime' function. */ #undef HAVE_DIFFTIME /* Define to 1 if you have the header file. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_ERRNO_H /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `fstat' function. */ #undef HAVE_FSTAT /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY /* Define to 1 if you have the `gmtime' function. */ #undef HAVE_GMTIME /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H /* Define to 1 if you have the `localtime' function. */ #undef HAVE_LOCALTIME /* Define to 1 if you have the `longjmp' function. */ #undef HAVE_LONGJMP /* Define to 1 if you have the `lstat' function. */ #undef HAVE_LSTAT /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H /* Define to 1 if you have the `memcmp' function. */ #undef HAVE_MEMCMP /* Define to 1 if you have the `memcpy' function. */ #undef HAVE_MEMCPY /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `mktime' function. */ #undef HAVE_MKTIME /* Define to 1 if you have the `qsort' function. */ #undef HAVE_QSORT /* Define to 1 if you have the `raise' function. */ #undef HAVE_RAISE /* Define to 1 if you have the `setjmp' function. */ #undef HAVE_SETJMP /* Define to 1 if you have the header file. */ #undef HAVE_SETJMP_H /* Define to 1 if you have the `signal' function. */ #undef HAVE_SIGNAL /* Define to 1 if you have the header file. */ #undef HAVE_SIGNAL_H /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF /* Define to 1 if you have the header file. */ #undef HAVE_STDARG_H /* Define to 1 if you have the header file. */ #undef HAVE_STDDEF_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDIO_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR /* Define to 1 if you have the `strftime' function. */ #undef HAVE_STRFTIME /* Define to 1 if you have the `stricmp' function. */ #undef HAVE_STRICMP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strncasecmp' function. */ #undef HAVE_STRNCASECMP /* Define to 1 if you have the `strnicmp' function. */ #undef HAVE_STRNICMP /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the `time' function. */ #undef HAVE_TIME /* Define to 1 if you have the header file. */ #undef HAVE_TIME_H /* Define to 1 if you have the `umask' function. */ #undef HAVE_UMASK /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `utime' function. */ #undef HAVE_UTIME /* Define to 1 if you have the header file. */ #undef HAVE_UTIME_H /* Define to 1 if you have the `vsnprintf' function. */ #undef HAVE_VSNPRINTF /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* The size of a `char *', as computed by sizeof. */ #undef SIZEOF_CHAR_P /* The size of a `dev_t', as computed by sizeof. */ #undef SIZEOF_DEV_T /* The size of a `double', as computed by sizeof. */ #undef SIZEOF_DOUBLE /* The size of a `float', as computed by sizeof. */ #undef SIZEOF_FLOAT /* The size of a `fpos_t', as computed by sizeof. */ #undef SIZEOF_FPOS_T /* The size of a `int', as computed by sizeof. */ #undef SIZEOF_INT /* The size of a `intmax_t', as computed by sizeof. */ #undef SIZEOF_INTMAX_T /* The size of a `intptr_t', as computed by sizeof. */ #undef SIZEOF_INTPTR_T /* The size of a `long', as computed by sizeof. */ #undef SIZEOF_LONG /* The size of a `long double', as computed by sizeof. */ #undef SIZEOF_LONG_DOUBLE /* The size of a `long long', as computed by sizeof. */ #undef SIZEOF_LONG_LONG /* The size of a `mode_t', as computed by sizeof. */ #undef SIZEOF_MODE_T /* The size of a `off_t', as computed by sizeof. */ #undef SIZEOF_OFF_T /* The size of a `ptrdiff_t', as computed by sizeof. */ #undef SIZEOF_PTRDIFF_T /* The size of a `short', as computed by sizeof. */ #undef SIZEOF_SHORT /* The size of a `size_t', as computed by sizeof. */ #undef SIZEOF_SIZE_T /* The size of a `ssize_t', as computed by sizeof. */ #undef SIZEOF_SSIZE_T /* The size of a `time_t', as computed by sizeof. */ #undef SIZEOF_TIME_T /* The size of a `uintmax_t', as computed by sizeof. */ #undef SIZEOF_UINTMAX_T /* The size of a `uintptr_t', as computed by sizeof. */ #undef SIZEOF_UINTPTR_T /* The size of a `unsigned long long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG_LONG /* The size of a `unsigned __int32', as computed by sizeof. */ #undef SIZEOF_UNSIGNED___INT32 /* The size of a `unsigned __int64', as computed by sizeof. */ #undef SIZEOF_UNSIGNED___INT64 /* The size of a `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P /* The size of a `__int32', as computed by sizeof. */ #undef SIZEOF___INT32 /* The size of a `__int64', as computed by sizeof. */ #undef SIZEOF___INT64 /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Version number of package */ #undef VERSION /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `long' if does not define. */ #undef off_t /* Define to `long' if does not define. */ #undef ptrdiff_t /* Define to `unsigned' if does not define. */ #undef size_t ucl-1.03/configure0000755000175000001440000365352010077051333011061 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for ucl 1.03. # # Report bugs to . # # Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer. # All Rights Reserved. # This configure script may be copied, distributed and modified under the # terms of the GNU General Public License; see COPYING for more details. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='ucl' PACKAGE_TARNAME='ucl' PACKAGE_VERSION='1.03' PACKAGE_STRING='ucl 1.03' PACKAGE_BUGREPORT='markus@oberhumer.com' ac_unique_file="src/ucl_init.c" ac_default_prefix=/usr/local # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL UCL_USE_ASM_TRUE UCL_USE_ASM_FALSE UCL_ASM_VPATH UCL_CPPFLAGS UCL_EXTRA_CPPFLAGS UCL_CFLAGS UCL_EXTRA_CFLAGS configure_CPPFLAGS configure_CFLAGS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS ac_env_CXXCPP_set=${CXXCPP+set} ac_env_CXXCPP_value=$CXXCPP ac_cv_env_CXXCPP_set=${CXXCPP+set} ac_cv_env_CXXCPP_value=$CXXCPP ac_env_F77_set=${F77+set} ac_env_F77_value=$F77 ac_cv_env_F77_set=${F77+set} ac_cv_env_F77_value=$F77 ac_env_FFLAGS_set=${FFLAGS+set} ac_env_FFLAGS_value=$FFLAGS ac_cv_env_FFLAGS_set=${FFLAGS+set} ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures ucl 1.03 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of ucl 1.03:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-largefile omit support for large files --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-static[=PKGS] build static libraries [default=yes] --enable-shared[=PKGS] build shared libraries [default=no] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-asm disable i386 assembly versions Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF ucl configure 1.03 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer. All Rights Reserved. This configure script may be copied, distributed and modified under the terms of the GNU General Public License; see COPYING for more details. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ucl $as_me 1.03, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: Configuring UCL $PACKAGE_VERSION" >&5 echo "$as_me: Configuring UCL $PACKAGE_VERSION" >&6;} ac_aux_dir= for ac_dir in acconfig $srcdir/acconfig; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acconfig $srcdir/acconfig" >&5 echo "$as_me: error: cannot find install-sh or install.sh in acconfig $srcdir/acconfig" >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_target_alias=$target_alias test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE if test -z "$ac_abs_top_srcdir"; then ac_builddir=. if test . != .; then ac_dir_suffix=/`echo . | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir=.;; *) case . in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir=.;; *) ac_abs_builddir=`pwd`/.;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac fi if test -r .Conf.settings1; then . ./.Conf.settings1 fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking whether the C preprocessor needs special flags" >&5 echo $ECHO_N "checking whether the C preprocessor needs special flags... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul) # include "your C preprocessor is broken 1" #elif (0xffffu == 0xfffffffful) # include "your C preprocessor is broken 2" #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX) # include "your C preprocessor is broken 3" #endif int main () { ; return 0; } _ACEOF mfx_save_CPPFLAGS=$CPPFLAGS mfx_tmp=ERROR for mfx_arg in "" -no-cpp-precomp do CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then mfx_tmp=$mfx_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done CPPFLAGS=$mfx_save_CPPFLAGS rm -f conftest.$ac_ext conftest.$ac_objext case x$mfx_tmp in x) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; xERROR) echo "$as_me:$LINENO: result: ERROR" >&5 echo "${ECHO_T}ERROR" >&6 { { echo "$as_me:$LINENO: error: your C preprocessor is broken - for details see config.log" >&5 echo "$as_me: error: your C preprocessor is broken - for details see config.log" >&2;} { (exit 1); exit 1; }; } ;; *) echo "$as_me:$LINENO: result: $mfx_tmp" >&5 echo "${ECHO_T}$mfx_tmp" >&6 CPPFLAGS="$mfx_tmp $CPPFLAGS" ;; esac echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 if test "${ac_cv_c_bigendian+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_bigendian=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # It does not; compile a test program. if test "$cross_compiling" = yes; then # try to guess the endianness by grepping values into an object file ac_cv_c_bigendian=unknown cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } int main () { _ascii (); _ebcdic (); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long l; char c[sizeof (long)]; } u; u.l = 1; exit (u.c[sizeof (long) - 1] == 1); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_bigendian=yes fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 case $ac_cv_c_bigendian in yes) cat >>confdefs.h <<\_ACEOF #define ACC_ENDIAN_BIG_ENDIAN 1 _ACEOF ;; no) cat >>confdefs.h <<\_ACEOF #define ACC_ENDIAN_LITTLE_ENDIAN 1 _ACEOF ;; *) { { echo "$as_me:$LINENO: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&5 echo "$as_me: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} { (exit 1); exit 1; }; } ;; esac # Check whether --enable-largefile or --disable-largefile was given. if test "${enable_largefile+set}" = set; then enableval="$enable_largefile" fi; if test "$enable_largefile" != no; then echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF fi rm -f conftest* echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF fi rm -f conftest* fi am__api_version="1.8" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # Keeping the `.' argument allows $(mkdir_p) to be used without # argument. Indeed, we sometimes output rules like # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more # expensive solution, as it forces Make to start a sub-shell.) mkdir_p='mkdir -p -- .' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='ucl' VERSION='1.03' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_config_headers="$ac_config_headers config.h:config.hin" # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi; # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=no fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi; echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && break cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done SED=$lt_cv_path_SED fi echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/${ac_tool_prefix}nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac esac fi done IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi4*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump'. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | kfreebsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case "$host_cpu" in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' else lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 4798 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case "`/usr/bin/file conftest.o`" in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; esac need_locks="$enable_libtool_lock" echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to markus@oberhumer.com ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_F77="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi F77=$ac_cv_prog_F77 if test -n "$F77"; then echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_F77="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_F77" && break done F77=$ac_ct_F77 fi # Provide some information about the compiler. echo "$as_me:6128:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_f77_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 else echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 fi # Check for command to grab the raw symbol name followed by C symbol from nm. echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris* | sysv5*) symcode='[BDRT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6 else echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 fi echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6 objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi AR=$ac_ct_AR else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi else MAGIC_CMD=: fi fi fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi; test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # # Check for any special shared library compilation flags. # lt_prog_cc_shlib= if test "$GCC" = no; then case $host_os in sco3.2v5*) lt_prog_cc_shlib='-belf' ;; esac fi if test -n "$lt_prog_cc_shlib"; then { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : else { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} lt_cv_prog_cc_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 if test "${lt_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_prog_compiler_static" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 else lt_prog_compiler_static_works=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 if test x"$lt_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7160: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7164: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux*) case $CC in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic='-Kpic' lt_prog_compiler_static='-dn' ;; solaris*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7393: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7397: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_prog_compiler_pic_works=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 if test x"$lt_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case "$host_os" in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7453: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:7457: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s out/conftest.err; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_cmds="$tmp_archive_cmds" supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else archive_expsym_cmds="$tmp_archive_cmds" fi link_all_deplibs=no else ld_shlibs=no fi ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = yes; then runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.012|aix4.012.*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec=' ' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds it's shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi4*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) if test "$GXX" = yes ; then archive_cmds_need_lc=no case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='-flat_namespace -undefined suppress' ;; 10.*) allow_undefined_flag='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='-all_load $convenience' link_all_deplibs=yes else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*|ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case "$host_cpu" in hppa*64*|ia64*) archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=no hardcode_shlibpath_var=no ;; ia64*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=no hardcode_shlibpath_var=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; *) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; sco3.2v5*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4.2uw2*) archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=no hardcode_shlibpath_var=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv5*) no_undefined_flag=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec= hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6 test "$ld_shlibs" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.01* | freebsdelf3.01*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case "$host_cpu" in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=yes library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var " || \ test "X$hardcode_automatic"="Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6 if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which librarie types wil actually be built echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case "$host_os" in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; darwin* | rhapsody*) if test "$GCC" = yes; then archive_cmds_need_lc=no case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='-flat_namespace -undefined suppress' ;; 10.*) allow_undefined_flag='-undefined dynamic_lookup' ;; esac fi ;; esac output_verbose_link_cmd='echo' archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='-all_load $convenience' link_all_deplibs=yes else ld_shlibs=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" # Check whether --with-tags or --without-tags was given. if test "${with_tags+set}" = set; then withval="$with_tags" tagnames="$withval" fi; if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && test "X$CXX" != "Xno"; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= # Source file extension for C++ test sources. ac_ext=cc # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.012|aix4.012.*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_CXX=yes else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_CXX=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX=' ' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds it's shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) if test "$GXX" = yes; then archive_cmds_need_lc_CXX=no case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag_CXX='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_CXX='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_CXX='-flat_namespace -undefined suppress' ;; 10.*) allow_undefined_flag_CXX='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='-all_load $convenience' link_all_deplibs_CXX=yes else ld_shlibs_CXX=no fi ;; dgux*) case $cc_basename in ec++) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd12*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | kfreebsd*-gnu) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then case "$host_cpu" in hppa*64*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_CXX='+b $libdir' hardcode_libdir_separator_CXX=: ;; ia64*) hardcode_libdir_flag_spec_CXX='-L$libdir' ;; *) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case "$host_cpu" in hppa*64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC) case "$host_cpu" in hppa*64*|ia64*) archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case "$host_cpu" in ia64*|hppa*64*) archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; irix5* | irix6*) case $cc_basename in CC) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc) # Intel C++ with_gnu_ld=yes archive_cmds_need_lc_CXX=no archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; cxx) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; osf3*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sco*) archive_cmds_need_lc_CXX=no case $cc_basename in CC) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; sunos4*) case $cc_basename in CC) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC) # Sun C++ 4.2, 5.x and Centerline C++ no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.0-5 | solaris2.0-5.*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_CXX=yes # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' fi ;; esac ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) archive_cmds_need_lc_CXX=no ;; tandem*) case $cc_basename in NCC) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; dgux*) case $cc_basename in ec++) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | kfreebsd*-gnu) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux*) case $cc_basename in KCC) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; cxx) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; sco*) case $cc_basename in CC) lt_prog_compiler_pic_CXX='-fPIC' ;; *) ;; esac ;; solaris*) case $cc_basename in CC) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; unixware*) ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:11916: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:11920: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case "$host_os" in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:11976: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:11980: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s out/conftest.err; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux*) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6 test "$ld_shlibs_CXX" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.01* | freebsdelf3.01*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case "$host_cpu" in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=yes library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var CXX" || \ test "X$hardcode_automatic_CXX"="Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6 if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_CXX" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code=" subroutine t\n return\n end\n" # Code to be used in simple link tests lt_simple_link_test_code=" program t\n end\n" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case "$host_os" in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) test "$enable_shared" = yes && enable_static=no ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 test "$ld_shlibs_F77" = no && can_build_shared=no GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux*) case $CC in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic_F77='-Kpic' lt_prog_compiler_static_F77='-dn' ;; solaris*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14270: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:14274: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case "$host_os" in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14330: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:14334: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s out/conftest.err; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_cmds_F77="$tmp_archive_cmds" supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else archive_expsym_cmds_F77="$tmp_archive_cmds" fi link_all_deplibs_F77=no else ld_shlibs_F77=no fi ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = yes; then runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.012|aix4.012.*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_F77=yes else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_F77=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77=' ' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds it's shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi4*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) if test "$GXX" = yes ; then archive_cmds_need_lc_F77=no case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='-flat_namespace -undefined suppress' ;; 10.*) allow_undefined_flag_F77='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='-all_load $convenience' link_all_deplibs_F77=yes else ld_shlibs_F77=no fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*|ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case "$host_cpu" in hppa*64*|ia64*) archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*) hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; ia64*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; *) hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; sco3.2v5*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4.2uw2*) archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag_F77='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv5*) no_undefined_flag_F77=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec_F77= hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6 test "$ld_shlibs_F77" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.01* | freebsdelf3.01*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case "$host_cpu" in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=yes library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var F77" || \ test "X$hardcode_automatic_F77"="Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6 if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_F77" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16375: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16379: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case "$host_cpu" in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux*) case $CC in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) lt_prog_compiler_pic_GCJ='-Kpic' lt_prog_compiler_static_GCJ='-dn' ;; solaris*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16608: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16612: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s conftest.err; then lt_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case "$host_os" in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16668: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:16672: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test ! -s out/conftest.err; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_cmds_GCJ="$tmp_archive_cmds" supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else archive_expsym_cmds_GCJ="$tmp_archive_cmds" fi link_all_deplibs_GCJ=no else ld_shlibs_GCJ=no fi ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = yes; then runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.012|aix4.012.*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_GCJ=yes else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # -bexpall does not export symbols beginning with underscore (_) always_export_symbols_GCJ=yes # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ=' ' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds it's shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi4*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) if test "$GXX" = yes ; then archive_cmds_need_lc_GCJ=no case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='-undefined suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' ;; 10.*) allow_undefined_flag_GCJ='-undefined dynamic_lookup' ;; esac fi ;; esac lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='-all_load $convenience' link_all_deplibs_GCJ=yes else ld_shlibs_GCJ=no fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | kfreebsd*-gnu) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10* | hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*|ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case "$host_cpu" in hppa*64*|ia64*) archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ;; *) archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac fi if test "$with_gnu_ld" = no; then case "$host_cpu" in hppa*64*) hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; ia64*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; *) hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd* | netbsdelf*-gnu | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; sco3.2v5*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4.2uw2*) archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) no_undefined_flag_GCJ='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv5*) no_undefined_flag_GCJ=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec_GCJ= hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6 test "$ld_shlibs_GCJ" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 ;; esac fi ;; esac echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; kfreebsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.01* | freebsdelf3.01*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case "$host_cpu" in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; knetbsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='GNU ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=yes library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var GCJ" || \ test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6 if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi ;; *) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_GCJ" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. compiler=$CC # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion # /*********************************************************************** # // Checks for assembler # ************************************************************************/ # Check whether --enable-asm or --disable-asm was given. if test "${enable_asm+set}" = set; then enableval="$enable_asm" fi; case $host_cpu in i?86) ;; *) enable_asm=no ;; esac UCL_ASM_VPATH= echo "$as_me:$LINENO: checking whether to build i386 assembly versions" >&5 echo $ECHO_N "checking whether to build i386 assembly versions... $ECHO_C" >&6 if test "X$enable_asm" != Xno; then mfx_compile_S='${CC-cc} -c conftest.S 1>&5' cat > conftest.S <&5 (eval $mfx_compile_S) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then enable_asm=yes UCL_ASM_VPATH=":$ac_abs_top_srcdir/asm/i386/src_gas" fi fi if test "X$enable_asm" = Xno; then echo "configure: failed program was:" >&5 cat conftest.S >&5 fi rm -rf conftest* fi echo "$as_me:$LINENO: result: $enable_asm" >&5 echo "${ECHO_T}$enable_asm" >&6 if test "X$enable_asm" != Xno; then UCL_USE_ASM_TRUE= UCL_USE_ASM_FALSE='#' else UCL_USE_ASM_TRUE='#' UCL_USE_ASM_FALSE= fi # /*********************************************************************** # // Checks for header files # ************************************************************************/ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/stat.h sys/time.h sys/types.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to markus@oberhumer.com ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "X$ac_cv_header_limits_h" != Xyes; then { { echo "$as_me:$LINENO: error: header not found" >&5 echo "$as_me: error: header not found" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: checking whether limits.h is sane" >&5 echo $ECHO_N "checking whether limits.h is sane... $ECHO_C" >&6 if test "${mfx_cv_header_sane_limits_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul) # if defined(__APPLE__) && defined(__GNUC__) # error "your preprocessor is broken - use compiler option -no-cpp-precomp" # else # include "your preprocessor is broken" # endif #endif #define MFX_0xffff 0xffff #define MFX_0xffffffffL 4294967295ul #if !defined(CHAR_BIT) || (CHAR_BIT != 8) # include "error CHAR_BIT" #endif #if !defined(UCHAR_MAX) # include "error UCHAR_MAX 1" #endif #if !defined(USHRT_MAX) # include "error USHRT_MAX 1" #endif #if !defined(UINT_MAX) # include "error UINT_MAX 1" #endif #if !defined(ULONG_MAX) # include "error ULONG_MAX 1" #endif #if !defined(SHRT_MAX) # include "error SHRT_MAX 1" #endif #if !defined(INT_MAX) # include "error INT_MAX 1" #endif #if !defined(LONG_MAX) # include "error LONG_MAX 1" #endif #if (UCHAR_MAX < 1) # include "error UCHAR_MAX 2" #endif #if (USHRT_MAX < 1) # include "error USHRT_MAX 2" #endif #if (UINT_MAX < 1) # include "error UINT_MAX 2" #endif #if (ULONG_MAX < 1) # include "error ULONG_MAX 2" #endif #if (UCHAR_MAX < 0xff) # include "error UCHAR_MAX 3" #endif #if (USHRT_MAX < MFX_0xffff) # include "error USHRT_MAX 3" #endif #if (UINT_MAX < MFX_0xffff) # include "error UINT_MAX 3" #endif #if (ULONG_MAX < MFX_0xffffffffL) # include "error ULONG_MAX 3" #endif #if (USHRT_MAX > UINT_MAX) # include "error USHRT_MAX vs UINT_MAX" #endif #if (UINT_MAX > ULONG_MAX) # include "error UINT_MAX vs ULONG_MAX" #endif int main () { #if (USHRT_MAX == MFX_0xffff) { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; } #elif (USHRT_MAX >= MFX_0xffff) { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; } #endif #if (UINT_MAX == MFX_0xffff) { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; } #elif (UINT_MAX >= MFX_0xffff) { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; } #endif #if (ULONG_MAX == MFX_0xffff) { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; } #elif (ULONG_MAX >= MFX_0xffff) { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; } #endif #if (USHRT_MAX == MFX_0xffffffffL) { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; } #elif (USHRT_MAX >= MFX_0xffffffffL) { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; } #endif #if (UINT_MAX == MFX_0xffffffffL) { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; } #elif (UINT_MAX >= MFX_0xffffffffL) { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; } #endif #if (ULONG_MAX == MFX_0xffffffffL) { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; } #elif (ULONG_MAX >= MFX_0xffffffffL) { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then mfx_cv_header_sane_limits_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 mfx_cv_header_sane_limits_h=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $mfx_cv_header_sane_limits_h" >&5 echo "${ECHO_T}$mfx_cv_header_sane_limits_h" >&6 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then { { echo "$as_me:$LINENO: error: your header is broken - for details see config.log" >&5 echo "$as_me: error: your header is broken - for details see config.log" >&2;} { (exit 1); exit 1; }; } fi # /*********************************************************************** # // Checks for typedefs and structures # ************************************************************************/ echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((off_t *) 0) return 0; if (sizeof (off_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_off_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 if test $ac_cv_type_off_t = yes; then : else cat >>confdefs.h <<_ACEOF #define off_t long _ACEOF fi echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6 if test "${ac_cv_type_ptrdiff_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((ptrdiff_t *) 0) return 0; if (sizeof (ptrdiff_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_ptrdiff_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_ptrdiff_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6 if test $ac_cv_type_ptrdiff_t = yes; then : else cat >>confdefs.h <<_ACEOF #define ptrdiff_t long _ACEOF fi echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if test $ac_cv_type_size_t = yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned _ACEOF fi echo "$as_me:$LINENO: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #ifdef signal # undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif int main () { int i; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_signal=int fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF echo "$as_me:$LINENO: checking for short" >&5 echo $ECHO_N "checking for short... $ECHO_C" >&6 if test "${ac_cv_type_short+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((short *) 0) return 0; if (sizeof (short)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_short=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_short=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 echo "${ECHO_T}$ac_cv_type_short" >&6 echo "$as_me:$LINENO: checking size of short" >&5 echo $ECHO_N "checking size of short... $ECHO_C" >&6 if test "${ac_cv_sizeof_short+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_short" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_short=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (short)); } unsigned long ulongval () { return (long) (sizeof (short)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (short))) < 0) { long i = longval (); if (i != ((long) (sizeof (short)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (short)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_short=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (short), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_short=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 echo "${ECHO_T}$ac_cv_sizeof_short" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_SHORT $ac_cv_sizeof_short _ACEOF echo "$as_me:$LINENO: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6 if test "${ac_cv_type_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((int *) 0) return 0; if (sizeof (int)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_int=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_int=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 echo "${ECHO_T}$ac_cv_type_int" >&6 echo "$as_me:$LINENO: checking size of int" >&5 echo $ECHO_N "checking size of int... $ECHO_C" >&6 if test "${ac_cv_sizeof_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_int" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_int=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (int)); } unsigned long ulongval () { return (long) (sizeof (int)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (int))) < 0) { long i = longval (); if (i != ((long) (sizeof (int)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (int)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_int=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (int), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_int=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 echo "${ECHO_T}$ac_cv_sizeof_int" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_INT $ac_cv_sizeof_int _ACEOF echo "$as_me:$LINENO: checking for long" >&5 echo $ECHO_N "checking for long... $ECHO_C" >&6 if test "${ac_cv_type_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((long *) 0) return 0; if (sizeof (long)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_long=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 echo "${ECHO_T}$ac_cv_type_long" >&6 echo "$as_me:$LINENO: checking size of long" >&5 echo $ECHO_N "checking size of long... $ECHO_C" >&6 if test "${ac_cv_sizeof_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_long" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_long=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (long)); } unsigned long ulongval () { return (long) (sizeof (long)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (long))) < 0) { long i = longval (); if (i != ((long) (sizeof (long)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (long)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_long=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_long=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_long" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_LONG $ac_cv_sizeof_long _ACEOF echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6 if test "${ac_cv_type_ptrdiff_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((ptrdiff_t *) 0) return 0; if (sizeof (ptrdiff_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_ptrdiff_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_ptrdiff_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6 echo "$as_me:$LINENO: checking size of ptrdiff_t" >&5 echo $ECHO_N "checking size of ptrdiff_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_ptrdiff_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ptrdiff_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_ptrdiff_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (ptrdiff_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (ptrdiff_t)); } unsigned long ulongval () { return (long) (sizeof (ptrdiff_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (ptrdiff_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (ptrdiff_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (ptrdiff_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_ptrdiff_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (ptrdiff_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (ptrdiff_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_ptrdiff_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_ptrdiff_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_ptrdiff_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t _ACEOF echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 echo "$as_me:$LINENO: checking size of size_t" >&5 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_size_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_size_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (size_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (size_t)); } unsigned long ulongval () { return (long) (sizeof (size_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (size_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (size_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (size_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_size_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (size_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_size_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t _ACEOF echo "$as_me:$LINENO: checking for void *" >&5 echo $ECHO_N "checking for void *... $ECHO_C" >&6 if test "${ac_cv_type_void_p+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((void * *) 0) return 0; if (sizeof (void *)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_void_p=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_void_p=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 echo "${ECHO_T}$ac_cv_type_void_p" >&6 echo "$as_me:$LINENO: checking size of void *" >&5 echo $ECHO_N "checking size of void *... $ECHO_C" >&6 if test "${ac_cv_sizeof_void_p+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_void_p" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_void_p=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (void *)); } unsigned long ulongval () { return (long) (sizeof (void *)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (void *))) < 0) { long i = longval (); if (i != ((long) (sizeof (void *)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (void *)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_void_p=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (void *), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_void_p=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_VOID_P $ac_cv_sizeof_void_p _ACEOF echo "$as_me:$LINENO: checking for char *" >&5 echo $ECHO_N "checking for char *... $ECHO_C" >&6 if test "${ac_cv_type_char_p+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((char * *) 0) return 0; if (sizeof (char *)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_char_p=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_char_p=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5 echo "${ECHO_T}$ac_cv_type_char_p" >&6 echo "$as_me:$LINENO: checking size of char *" >&5 echo $ECHO_N "checking size of char *... $ECHO_C" >&6 if test "${ac_cv_sizeof_char_p+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_char_p" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_char_p=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (char *), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (char *)); } unsigned long ulongval () { return (long) (sizeof (char *)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (char *))) < 0) { long i = longval (); if (i != ((long) (sizeof (char *)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (char *)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_char_p=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (char *), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_char_p=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5 echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_CHAR_P $ac_cv_sizeof_char_p _ACEOF echo "$as_me:$LINENO: checking for long long" >&5 echo $ECHO_N "checking for long long... $ECHO_C" >&6 if test "${ac_cv_type_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((long long *) 0) return 0; if (sizeof (long long)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_long_long=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 echo "${ECHO_T}$ac_cv_type_long_long" >&6 echo "$as_me:$LINENO: checking size of long long" >&5 echo $ECHO_N "checking size of long long... $ECHO_C" >&6 if test "${ac_cv_sizeof_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_long_long" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_long_long=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (long long)); } unsigned long ulongval () { return (long) (sizeof (long long)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (long long))) < 0) { long i = longval (); if (i != ((long) (sizeof (long long)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (long long)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_long_long=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_long_long=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long _ACEOF echo "$as_me:$LINENO: checking for unsigned long long" >&5 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 if test "${ac_cv_type_unsigned_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((unsigned long long *) 0) return 0; if (sizeof (unsigned long long)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned_long_long=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 echo "$as_me:$LINENO: checking size of unsigned long long" >&5 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_unsigned_long_long" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned long long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (unsigned long long)); } unsigned long ulongval () { return (long) (sizeof (unsigned long long)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (unsigned long long))) < 0) { long i = longval (); if (i != ((long) (sizeof (unsigned long long)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (unsigned long long)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_unsigned_long_long=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned long long), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_unsigned_long_long=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long _ACEOF echo "$as_me:$LINENO: checking for __int64" >&5 echo $ECHO_N "checking for __int64... $ECHO_C" >&6 if test "${ac_cv_type___int64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((__int64 *) 0) return 0; if (sizeof (__int64)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type___int64=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type___int64=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5 echo "${ECHO_T}$ac_cv_type___int64" >&6 echo "$as_me:$LINENO: checking size of __int64" >&5 echo $ECHO_N "checking size of __int64... $ECHO_C" >&6 if test "${ac_cv_sizeof___int64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type___int64" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof___int64=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (__int64), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (__int64)); } unsigned long ulongval () { return (long) (sizeof (__int64)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (__int64))) < 0) { long i = longval (); if (i != ((long) (sizeof (__int64)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (__int64)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof___int64=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (__int64), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof___int64=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5 echo "${ECHO_T}$ac_cv_sizeof___int64" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF___INT64 $ac_cv_sizeof___int64 _ACEOF echo "$as_me:$LINENO: checking for unsigned __int64" >&5 echo $ECHO_N "checking for unsigned __int64... $ECHO_C" >&6 if test "${ac_cv_type_unsigned___int64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((unsigned __int64 *) 0) return 0; if (sizeof (unsigned __int64)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned___int64=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned___int64=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_unsigned___int64" >&5 echo "${ECHO_T}$ac_cv_type_unsigned___int64" >&6 echo "$as_me:$LINENO: checking size of unsigned __int64" >&5 echo $ECHO_N "checking size of unsigned __int64... $ECHO_C" >&6 if test "${ac_cv_sizeof_unsigned___int64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_unsigned___int64" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int64))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_unsigned___int64=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned __int64), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (unsigned __int64)); } unsigned long ulongval () { return (long) (sizeof (unsigned __int64)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (unsigned __int64))) < 0) { long i = longval (); if (i != ((long) (sizeof (unsigned __int64)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (unsigned __int64)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_unsigned___int64=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int64), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned __int64), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_unsigned___int64=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned___int64" >&5 echo "${ECHO_T}$ac_cv_sizeof_unsigned___int64" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_UNSIGNED___INT64 $ac_cv_sizeof_unsigned___int64 _ACEOF echo "$as_me:$LINENO: checking for __int32" >&5 echo $ECHO_N "checking for __int32... $ECHO_C" >&6 if test "${ac_cv_type___int32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((__int32 *) 0) return 0; if (sizeof (__int32)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type___int32=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type___int32=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type___int32" >&5 echo "${ECHO_T}$ac_cv_type___int32" >&6 echo "$as_me:$LINENO: checking size of __int32" >&5 echo $ECHO_N "checking size of __int32... $ECHO_C" >&6 if test "${ac_cv_sizeof___int32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type___int32" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int32))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int32))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (__int32))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof___int32=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (__int32), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (__int32)); } unsigned long ulongval () { return (long) (sizeof (__int32)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (__int32))) < 0) { long i = longval (); if (i != ((long) (sizeof (__int32)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (__int32)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof___int32=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int32), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (__int32), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof___int32=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof___int32" >&5 echo "${ECHO_T}$ac_cv_sizeof___int32" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF___INT32 $ac_cv_sizeof___int32 _ACEOF echo "$as_me:$LINENO: checking for unsigned __int32" >&5 echo $ECHO_N "checking for unsigned __int32... $ECHO_C" >&6 if test "${ac_cv_type_unsigned___int32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((unsigned __int32 *) 0) return 0; if (sizeof (unsigned __int32)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned___int32=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned___int32=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_unsigned___int32" >&5 echo "${ECHO_T}$ac_cv_type_unsigned___int32" >&6 echo "$as_me:$LINENO: checking size of unsigned __int32" >&5 echo $ECHO_N "checking size of unsigned __int32... $ECHO_C" >&6 if test "${ac_cv_sizeof_unsigned___int32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_unsigned___int32" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int32))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int32))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int32))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int32))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (unsigned __int32))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_unsigned___int32=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int32), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned __int32), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (unsigned __int32)); } unsigned long ulongval () { return (long) (sizeof (unsigned __int32)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (unsigned __int32))) < 0) { long i = longval (); if (i != ((long) (sizeof (unsigned __int32)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (unsigned __int32)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_unsigned___int32=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned __int32), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (unsigned __int32), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_unsigned___int32=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned___int32" >&5 echo "${ECHO_T}$ac_cv_sizeof_unsigned___int32" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_UNSIGNED___INT32 $ac_cv_sizeof_unsigned___int32 _ACEOF echo "$as_me:$LINENO: checking for intmax_t" >&5 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6 if test "${ac_cv_type_intmax_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((intmax_t *) 0) return 0; if (sizeof (intmax_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_intmax_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_intmax_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6 echo "$as_me:$LINENO: checking size of intmax_t" >&5 echo $ECHO_N "checking size of intmax_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_intmax_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_intmax_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intmax_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_intmax_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (intmax_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (intmax_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (intmax_t)); } unsigned long ulongval () { return (long) (sizeof (intmax_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (intmax_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (intmax_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (intmax_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_intmax_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (intmax_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (intmax_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_intmax_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_intmax_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_intmax_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t _ACEOF echo "$as_me:$LINENO: checking for uintmax_t" >&5 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6 if test "${ac_cv_type_uintmax_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((uintmax_t *) 0) return 0; if (sizeof (uintmax_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_uintmax_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_uintmax_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6 echo "$as_me:$LINENO: checking size of uintmax_t" >&5 echo $ECHO_N "checking size of uintmax_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_uintmax_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_uintmax_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintmax_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_uintmax_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintmax_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (uintmax_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (uintmax_t)); } unsigned long ulongval () { return (long) (sizeof (uintmax_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (uintmax_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (uintmax_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (uintmax_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_uintmax_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintmax_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (uintmax_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_uintmax_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_uintmax_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_uintmax_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t _ACEOF echo "$as_me:$LINENO: checking for intptr_t" >&5 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 if test "${ac_cv_type_intptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((intptr_t *) 0) return 0; if (sizeof (intptr_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_intptr_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_intptr_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 echo "$as_me:$LINENO: checking size of intptr_t" >&5 echo $ECHO_N "checking size of intptr_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_intptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_intptr_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (intptr_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_intptr_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (intptr_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (intptr_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (intptr_t)); } unsigned long ulongval () { return (long) (sizeof (intptr_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (intptr_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (intptr_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (intptr_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_intptr_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (intptr_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (intptr_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_intptr_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_intptr_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_intptr_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t _ACEOF echo "$as_me:$LINENO: checking for uintptr_t" >&5 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 if test "${ac_cv_type_uintptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((uintptr_t *) 0) return 0; if (sizeof (uintptr_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_uintptr_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_uintptr_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6 echo "$as_me:$LINENO: checking size of uintptr_t" >&5 echo $ECHO_N "checking size of uintptr_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_uintptr_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (uintptr_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_uintptr_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (uintptr_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (uintptr_t)); } unsigned long ulongval () { return (long) (sizeof (uintptr_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (uintptr_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (uintptr_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (uintptr_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_uintptr_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (uintptr_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_uintptr_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_uintptr_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_uintptr_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t _ACEOF echo "$as_me:$LINENO: checking for float" >&5 echo $ECHO_N "checking for float... $ECHO_C" >&6 if test "${ac_cv_type_float+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((float *) 0) return 0; if (sizeof (float)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_float=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_float=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5 echo "${ECHO_T}$ac_cv_type_float" >&6 echo "$as_me:$LINENO: checking size of float" >&5 echo $ECHO_N "checking size of float... $ECHO_C" >&6 if test "${ac_cv_sizeof_float+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_float" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_float=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (float), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (float)); } unsigned long ulongval () { return (long) (sizeof (float)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (float))) < 0) { long i = longval (); if (i != ((long) (sizeof (float)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (float)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_float=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (float), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_float=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 echo "${ECHO_T}$ac_cv_sizeof_float" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_FLOAT $ac_cv_sizeof_float _ACEOF echo "$as_me:$LINENO: checking for double" >&5 echo $ECHO_N "checking for double... $ECHO_C" >&6 if test "${ac_cv_type_double+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((double *) 0) return 0; if (sizeof (double)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_double=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_double=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5 echo "${ECHO_T}$ac_cv_type_double" >&6 echo "$as_me:$LINENO: checking size of double" >&5 echo $ECHO_N "checking size of double... $ECHO_C" >&6 if test "${ac_cv_sizeof_double+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_double" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_double=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (double), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (double)); } unsigned long ulongval () { return (long) (sizeof (double)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (double))) < 0) { long i = longval (); if (i != ((long) (sizeof (double)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (double)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_double=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (double), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_double=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5 echo "${ECHO_T}$ac_cv_sizeof_double" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_DOUBLE $ac_cv_sizeof_double _ACEOF echo "$as_me:$LINENO: checking for long double" >&5 echo $ECHO_N "checking for long double... $ECHO_C" >&6 if test "${ac_cv_type_long_double+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((long double *) 0) return 0; if (sizeof (long double)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_long_double=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_long_double=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 echo "${ECHO_T}$ac_cv_type_long_double" >&6 echo "$as_me:$LINENO: checking size of long double" >&5 echo $ECHO_N "checking size of long double... $ECHO_C" >&6 if test "${ac_cv_sizeof_long_double+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_long_double" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_long_double=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long double), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (long double)); } unsigned long ulongval () { return (long) (sizeof (long double)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (long double))) < 0) { long i = longval (); if (i != ((long) (sizeof (long double)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (long double)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_long_double=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (long double), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_long_double=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5 echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double _ACEOF echo "$as_me:$LINENO: checking for dev_t" >&5 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6 if test "${ac_cv_type_dev_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((dev_t *) 0) return 0; if (sizeof (dev_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_dev_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_dev_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5 echo "${ECHO_T}$ac_cv_type_dev_t" >&6 echo "$as_me:$LINENO: checking size of dev_t" >&5 echo $ECHO_N "checking size of dev_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_dev_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_dev_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (dev_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_dev_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (dev_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (dev_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (dev_t)); } unsigned long ulongval () { return (long) (sizeof (dev_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (dev_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (dev_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (dev_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_dev_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (dev_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (dev_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_dev_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_dev_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_dev_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t _ACEOF echo "$as_me:$LINENO: checking for fpos_t" >&5 echo $ECHO_N "checking for fpos_t... $ECHO_C" >&6 if test "${ac_cv_type_fpos_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((fpos_t *) 0) return 0; if (sizeof (fpos_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_fpos_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_fpos_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_fpos_t" >&5 echo "${ECHO_T}$ac_cv_type_fpos_t" >&6 echo "$as_me:$LINENO: checking size of fpos_t" >&5 echo $ECHO_N "checking size of fpos_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_fpos_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_fpos_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (fpos_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_fpos_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (fpos_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (fpos_t)); } unsigned long ulongval () { return (long) (sizeof (fpos_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (fpos_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (fpos_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (fpos_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_fpos_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (fpos_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_fpos_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_fpos_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_fpos_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t _ACEOF echo "$as_me:$LINENO: checking for mode_t" >&5 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((mode_t *) 0) return 0; if (sizeof (mode_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_mode_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_mode_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 echo "$as_me:$LINENO: checking size of mode_t" >&5 echo $ECHO_N "checking size of mode_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_mode_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (mode_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_mode_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (mode_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (mode_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (mode_t)); } unsigned long ulongval () { return (long) (sizeof (mode_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (mode_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (mode_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (mode_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_mode_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (mode_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (mode_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_mode_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_mode_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_mode_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t _ACEOF echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((off_t *) 0) return 0; if (sizeof (off_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_off_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 echo "$as_me:$LINENO: checking size of off_t" >&5 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_off_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_off_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (off_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (off_t)); } unsigned long ulongval () { return (long) (sizeof (off_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (off_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (off_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (off_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_off_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (off_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_off_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF echo "$as_me:$LINENO: checking for ssize_t" >&5 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 if test "${ac_cv_type_ssize_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((ssize_t *) 0) return 0; if (sizeof (ssize_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_ssize_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_ssize_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 echo "$as_me:$LINENO: checking size of ssize_t" >&5 echo $ECHO_N "checking size of ssize_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_ssize_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_ssize_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (ssize_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_ssize_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (ssize_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (ssize_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (ssize_t)); } unsigned long ulongval () { return (long) (sizeof (ssize_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (ssize_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (ssize_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (ssize_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_ssize_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (ssize_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (ssize_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_ssize_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_ssize_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_ssize_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t _ACEOF echo "$as_me:$LINENO: checking for time_t" >&5 echo $ECHO_N "checking for time_t... $ECHO_C" >&6 if test "${ac_cv_type_time_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((time_t *) 0) return 0; if (sizeof (time_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_time_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_time_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 echo "${ECHO_T}$ac_cv_type_time_t" >&6 echo "$as_me:$LINENO: checking size of time_t" >&5 echo $ECHO_N "checking size of time_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_time_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$ac_cv_type_time_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (time_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_time_t=$ac_lo;; '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (time_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } ;; esac else if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 echo "$as_me: error: internal error: not reached in cross-compile" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default long longval () { return (long) (sizeof (time_t)); } unsigned long ulongval () { return (long) (sizeof (time_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (((long) (sizeof (time_t))) < 0) { long i = longval (); if (i != ((long) (sizeof (time_t)))) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ((long) (sizeof (time_t)))) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_time_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77 See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute sizeof (time_t), 77 See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val else ac_cv_sizeof_time_t=0 fi fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6 cat >>confdefs.h <<_ACEOF #define SIZEOF_TIME_T $ac_cv_sizeof_time_t _ACEOF # /*********************************************************************** # // Checks for library functions # ************************************************************************/ for ac_func in access alloca atexit atoi atol chmod chown ctime difftime fstat gettimeofday gmtime localtime longjmp lstat memcmp memcpy memmove memset mktime qsort raise setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "X$GCC" = Xyes; then case $host_os in cygwin* | mingw* | pw32*) LIBS="$LIBS -lwinmm" ;; *) ;; esac fi # /*********************************************************************** # // Write output files # ************************************************************************/ mfx_tmp="-I$srcdir -I$srcdir/acc" mfx_save_CPPFLAGS=$CPPFLAGS test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS" echo "$as_me:$LINENO: checking whether your compiler passes the ACC conformance test" >&5 echo $ECHO_N "checking whether your compiler passes the ACC conformance test... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define ACC_CONFIG_NO_HEADER 1 #include "acc/acc.h" #include "acc/acc_incd.h" #undef ACCCHK_ASSERT #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr) #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT static void test_acc_compile_time_assert(void) { #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr) #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT } #undef NDEBUG #include static int test_acc_run_time_assert(int r) { #define ACCCHK_ASSERT(expr) assert(expr); #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT return r; } int main () { test_acc_compile_time_assert(); if (test_acc_run_time_assert(1) != 1) return 1; ; return 0; } _ACEOF mfx_tmp=FAILED rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then mfx_tmp=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext rm -f conftest.$ac_ext conftest.$ac_objext CPPFLAGS=$mfx_save_CPPFLAGS echo "$as_me:$LINENO: result: $mfx_tmp" >&5 echo "${ECHO_T}$mfx_tmp" >&6 case x$mfx_tmp in xpassed | xyes) ;; *) { echo "$as_me:$LINENO: " >&5 echo "$as_me: " >&6;} { echo "$as_me:$LINENO: Your compiler failed the ACC conformance test - for details see " >&5 echo "$as_me: Your compiler failed the ACC conformance test - for details see " >&6;} { echo "$as_me:$LINENO: \`config.log'. Please check that log file and consider sending" >&5 echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;} { echo "$as_me:$LINENO: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5 echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;} { echo "$as_me:$LINENO: Thanks for your support." >&5 echo "$as_me: Thanks for your support." >&6;} { echo "$as_me:$LINENO: " >&5 echo "$as_me: " >&6;} { { echo "$as_me:$LINENO: error: ACC conformance test failed. Stop." >&5 echo "$as_me: error: ACC conformance test failed. Stop." >&2;} { (exit 1); exit 1; }; } ;; esac if test -r .Conf.settings2; then . ./.Conf.settings2 fi CPPFLAGS="$CPPFLAGS -DUCL_HAVE_CONFIG_H" if test "X$enable_asm" != Xno; then CPPFLAGS="$CPPFLAGS -DUCL_USE_ASM" fi configure_CPPFLAGS=$CPPFLAGS configure_CFLAGS=$CFLAGS ac_config_files="$ac_config_files Makefile examples/Makefile include/Makefile include/ucl/Makefile src/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${UCL_USE_ASM_TRUE}" && test -z "${UCL_USE_ASM_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"UCL_USE_ASM\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"UCL_USE_ASM\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by ucl $as_me 1.03, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ ucl config.status 1.03 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "include/ucl/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/ucl/Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@build@,$build,;t t s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t s,@build_os@,$build_os,;t t s,@host@,$host,;t t s,@host_cpu@,$host_cpu,;t t s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t s,@target@,$target,;t t s,@target_cpu@,$target_cpu,;t t s,@target_vendor@,$target_vendor,;t t s,@target_os@,$target_os,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@CPP@,$CPP,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@AMTAR@,$AMTAR,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t s,@AR@,$AR,;t t s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t s,@CXX@,$CXX,;t t s,@CXXFLAGS@,$CXXFLAGS,;t t s,@ac_ct_CXX@,$ac_ct_CXX,;t t s,@CXXDEPMODE@,$CXXDEPMODE,;t t s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t s,@CXXCPP@,$CXXCPP,;t t s,@F77@,$F77,;t t s,@FFLAGS@,$FFLAGS,;t t s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@UCL_USE_ASM_TRUE@,$UCL_USE_ASM_TRUE,;t t s,@UCL_USE_ASM_FALSE@,$UCL_USE_ASM_FALSE,;t t s,@UCL_ASM_VPATH@,$UCL_ASM_VPATH,;t t s,@UCL_CPPFLAGS@,$UCL_CPPFLAGS,;t t s,@UCL_EXTRA_CPPFLAGS@,$UCL_EXTRA_CPPFLAGS,;t t s,@UCL_CFLAGS@,$UCL_CFLAGS,;t t s,@UCL_EXTRA_CFLAGS@,$UCL_EXTRA_CFLAGS,;t t s,@configure_CPPFLAGS@,$configure_CPPFLAGS,;t t s,@configure_CFLAGS@,$configure_CFLAGS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_srcdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@builddir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi cat < http://www.oberhumer.com/opensource/ucl/ Type \`make' to build UCL. Type \`make install' to install UCL. After installing UCL, please read the accompanied documentation. EOF # vi:ts=4:et ucl-1.03/AUTHORS0000644000175000001440000000016010077051333010201 00000000000000Authors of the UCL data compression library: Markus F.X.J. Oberhumer. Invented, designed and implemented UCL. ucl-1.03/COPYING0000644000175000001440000004325610077051333010201 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. ucl-1.03/INSTALL0000644000175000001440000002456710077051333010203 00000000000000Introduction ============ This installation guide is for POSIX-type systems. For Win32, Win64, DOS and OS/2 please read the file B/00README.TXT. For cross-compilation (e.g. to embedded targets) you should try running ./configure with the corresponding options, e.g. ./configure --host=avr . Finally, if everything else fails, try adapting and running `sh B/generic/build.sh' (you also may have to adapt the ACC library in that case). POSIX quick start ----------------- Just run the usual commands: ./configure make make install (as root) Shared libraries ---------------- UCL uses Libtool so that shared libraries are supported on many systems. If want to build shared libraries type you have to type `./configure --enable-shared' - building shared libraries is not enabled by default. Assembler versions ------------------ On Intel i386 systems, the assembler versions of the decompressors are built and used by default. You can use `./configure --disable-asm' if for some reason they cause compilation problems on your system. Important note for Mac OS X --------------------------- You have to use the compiler option `-no-cpp-precomp' in order to work around bugs in Apple's native "smart" preprocessor. The configure script should detect and use this option automatically. The standard Autoconf installation instructions follow below. Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the `--target=TYPE' option to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc will cause the specified gcc to be used as the C compiler (unless it is overridden in the site shell script). `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. ucl-1.03/NEWS0000644000175000001440000000266310077051333007642 00000000000000======================================================================= User visible changes for the UCL data compression library ======================================================================= Changes in 1.03 (20 Jul 2004) * Better Win64 support. * Updated the configure system. Changes in 1.02 (18 Dec 2003) * Integrated the i386 assembler decompressors into Autoconf. * Integrated the i386 assembler decompressors into the build scripts. * Added include file that provides prototypes for all assembler functions. * Under Mac OS X, the configure script now will use the `-no-cpp-precomp' compiler option in order to work around bugs in Apple's native "smart" preprocessor. * Updated the configure system. Changes in 1.01 (02 Jan 2002) * Implemented the new NRV2E algorithm - better compression for some files. * Slightly faster and smaller i386 assembler decompressors. * Much better support for cross compiling. * Updated the configure system to use Autoconf 2.52 and Libtool 1.4.2. Changes in 1.00 (18 Jul 2001) * Updated the configure system to use the latest Autoconf, Automake and Libtool versions. Changes in 0.92 (10 Nov 2000) * Updated the UPX decompressors. Changes in 0.91 (19 Apr 2000) * Added test_overlap functions that test overlapping in-place decompression without actually writing any decompressed data. Changes in 0.90 (24 Feb 2000) * First public release. ucl-1.03/THANKS0000644000175000001440000000143610077051333010053 00000000000000I want to thank the following people for giving feedback, doing beta-testing or helping me some other way: Charles W. Sandmann Frank Donahoe Holger Berger Jean-loup Gailly John F. Reiser John S. Fine Laszlo Molnar Mark Adler Paul D. Eccles Rodolphe Ortalo William Magro Wolfgang Lugmayr Natascha ucl-1.03/TODO0000644000175000001440000000055010077051333007624 00000000000000======================================================================= TODO list for the UCL data compression library ======================================================================= Planned for the next versions: ------------------------------ - add AMD64 versions of the assembler functions - add more documentation - add more example programs ucl-1.03/include/0000777000175000001440000000000010077051333010643 500000000000000ucl-1.03/include/Makefile.am0000644000175000001440000000017710077051333012620 00000000000000## Process this file with automake to create Makefile.in # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # SUBDIRS = ucl ucl-1.03/include/Makefile.in0000644000175000001440000003353010077051333012630 00000000000000# Makefile.in generated by automake 1.8.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ subdir = include DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/acconfig/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UCL_ASM_VPATH = @UCL_ASM_VPATH@ UCL_CFLAGS = @UCL_CFLAGS@ UCL_CPPFLAGS = @UCL_CPPFLAGS@ UCL_EXTRA_CFLAGS = @UCL_EXTRA_CFLAGS@ UCL_EXTRA_CPPFLAGS = @UCL_EXTRA_CPPFLAGS@ UCL_USE_ASM_FALSE = @UCL_USE_ASM_FALSE@ UCL_USE_ASM_TRUE = @UCL_USE_ASM_TRUE@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ configure_CFLAGS = @configure_CFLAGS@ configure_CPPFLAGS = @configure_CPPFLAGS@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ SUBDIRS = ucl all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign include/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || mkdir "$(distdir)/$$subdir" \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="../$(top_distdir)" \ distdir="../$(distdir)/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ucl-1.03/include/ucl/0000777000175000001440000000000010077051333011426 500000000000000ucl-1.03/include/ucl/ucl.h0000644000175000001440000002537410077051333012311 00000000000000/* ucl.h -- prototypes for the UCL data compression library This file is part of the UCL data compression library. Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #ifndef __UCL_H_INCLUDED #define __UCL_H_INCLUDED #ifndef __UCLCONF_H_INCLUDED #include #endif #ifdef __cplusplus extern "C" { #endif /*********************************************************************** // Compression fine-tuning configuration. // // Pass a NULL pointer to the compression functions for default values. // Otherwise set all values to -1 [i.e. initialize the struct by a // `memset(x,0xff,sizeof(x))'] and then set the required values. ************************************************************************/ struct ucl_compress_config_t { int bb_endian; int bb_size; ucl_uint max_offset; ucl_uint max_match; int s_level; int h_level; int p_level; int c_flags; ucl_uint m_size; }; #define ucl_compress_config_p ucl_compress_config_t __UCL_MMODEL * /*********************************************************************** // compressors // // Pass NULL for `cb' (no progress callback), `conf' (default compression // configuration) and `result' (no statistical result). ************************************************************************/ UCL_EXTERN(int) ucl_nrv2b_99_compress ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_progress_callback_p cb, int level, const struct ucl_compress_config_p conf, ucl_uintp result ); UCL_EXTERN(int) ucl_nrv2d_99_compress ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_progress_callback_p cb, int level, const struct ucl_compress_config_p conf, ucl_uintp result ); UCL_EXTERN(int) ucl_nrv2e_99_compress ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_progress_callback_p cb, int level, const struct ucl_compress_config_p conf, ucl_uintp result ); /*********************************************************************** // decompressors // // Always pass NULL for `wrkmem'. This parameter is for symetry // with my other compression libaries and is not used in UCL - // UCL does not need any additional memory (or even local stack space) // for decompression. ************************************************************************/ UCL_EXTERN(int) ucl_nrv2b_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_decompress_safe_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_decompress_safe_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_decompress_safe_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_safe_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_safe_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_decompress_safe_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_safe_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_safe_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_decompress_safe_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); /*********************************************************************** // assembler decompressors [TO BE ADDED] ************************************************************************/ /*********************************************************************** // test an overlapping in-place decompression within a buffer: // - try a virtual decompression from &buf[src_off] -> &buf[0] // - no data is actually written // - only the bytes at buf[src_off..src_off+src_len-1] will get accessed // // NOTE: always pass NULL for `wrkmem' - see above. ************************************************************************/ UCL_EXTERN(int) ucl_nrv2b_test_overlap_8 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_test_overlap_le16 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2b_test_overlap_le32 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_test_overlap_8 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_test_overlap_le16 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2d_test_overlap_le32 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_test_overlap_8 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_test_overlap_le16 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); UCL_EXTERN(int) ucl_nrv2e_test_overlap_le32 ( const ucl_bytep buf, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* already included */ ucl-1.03/include/ucl/ucl_asm.h0000644000175000001440000004057410077051333013150 00000000000000/* ucl_asm.h -- assembler prototypes for the UCL data compression library This file is part of the UCL data compression library. Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #ifndef __UCL_ASM_H_INCLUDED #define __UCL_ASM_H_INCLUDED #ifndef __UCLCONF_H_INCLUDED #include #endif #ifdef __cplusplus extern "C" { #endif /*********************************************************************** // NRV2B assembly decompressors ************************************************************************/ UCL_EXTERN(int) ucl_nrv2b_decompress_asm_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_fast_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2b_decompress_asm_small_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); /*********************************************************************** // NRV2D assembly decompressors ************************************************************************/ UCL_EXTERN(int) ucl_nrv2d_decompress_asm_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_fast_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2d_decompress_asm_small_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); /*********************************************************************** // NRV2E assembly decompressors ************************************************************************/ UCL_EXTERN(int) ucl_nrv2e_decompress_asm_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_safe_8 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_safe_le16 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_fast_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); UCL_EXTERN(int) ucl_nrv2e_decompress_asm_small_safe_le32 (const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem); /*********************************************************************** // checksum and misc functions ************************************************************************/ UCL_EXTERN(ucl_uint32) ucl_crc32_asm(ucl_uint32 _c, const ucl_bytep _buf, ucl_uint _len, const ucl_uint32p _crc_table); UCL_EXTERN(ucl_uint32) ucl_crc32_asm_small(ucl_uint32 _c, const ucl_bytep _buf, ucl_uint _len); UCL_EXTERN(int) ucl_cpuid_asm(ucl_uint32p /* ucl_uint32 info[16] */ ); UCL_EXTERN(unsigned) ucl_rdtsc_asm(ucl_uint32p /* ucl_uint32 ticks[2] */ ); UCL_EXTERN(unsigned) ucl_rdtsc_add_asm(ucl_uint32p /* ucl_uint32 ticks[2] */ ); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* already included */ ucl-1.03/include/ucl/uclconf.h0000644000175000001440000003523210077051333013151 00000000000000/* uclconf.h -- configuration for the UCL data compression library This file is part of the UCL data compression library. Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #ifndef __UCLCONF_H_INCLUDED #define __UCLCONF_H_INCLUDED #define UCL_VERSION 0x010300L #define UCL_VERSION_STRING "1.03" #define UCL_VERSION_DATE "Jul 20 2004" /* internal Autoconf configuration file - only used when building UCL */ #if defined(UCL_HAVE_CONFIG_H) # include #endif #include #ifdef __cplusplus extern "C" { #endif /*********************************************************************** // UCL requires a conforming ************************************************************************/ #if !defined(CHAR_BIT) || (CHAR_BIT != 8) # error "invalid CHAR_BIT" #endif #if !defined(UCHAR_MAX) || !defined(UINT_MAX) || !defined(ULONG_MAX) # error "check your compiler installation" #endif #if (USHRT_MAX < 1) || (UINT_MAX < 1) || (ULONG_MAX < 1) # error "your limits.h macros are broken" #endif /* workaround a compiler bug under hpux 10.20 */ #define UCL_0xffffL 65535ul #define UCL_0xffffffffL 4294967295ul #if !defined(UCL_UINT32_C) # if (UINT_MAX < UCL_0xffffffffL) # define UCL_UINT32_C(c) c ## UL # else # define UCL_UINT32_C(c) ((c) + 0U) # endif #endif /*********************************************************************** // architecture defines ************************************************************************/ #if (defined(__CYGWIN__) || defined(__CYGWIN32__)) && defined(__GNUC__) # define UCL_OS_CYGWIN 1 #elif defined(__EMX__) && defined(__GNUC__) # define UCL_OS_EMX 1 #elif defined(__BORLANDC__) && defined(__DPMI32__) && (__BORLANDC__ >= 0x0460) # define UCL_OS_DOS32 1 #elif defined(__BORLANDC__) && defined(__DPMI16__) # define UCL_OS_DOS16 1 #elif defined(__ZTC__) && defined(DOS386) # define UCL_OS_DOS32 1 #elif defined(__OS2__) || defined(__OS2V2__) # if (UINT_MAX == UCL_0xffffL) # define UCL_OS_OS216 1 # elif (UINT_MAX == UCL_0xffffffffL) # define UCL_OS_OS2 1 # else # error "check your limits.h header" # endif #elif defined(__WIN64__) || defined(_WIN64) || defined(WIN64) # define UCL_OS_WIN64 1 #elif defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(__WINDOWS_386__) # define UCL_OS_WIN32 1 #elif defined(__MWERKS__) && defined(__INTEL__) # define UCL_OS_WIN32 1 #elif defined(__WINDOWS__) || defined(_WINDOWS) || defined(_Windows) # if (UINT_MAX == UCL_0xffffL) # define UCL_OS_WIN16 1 # elif (UINT_MAX == UCL_0xffffffffL) # define UCL_OS_WIN32 1 # else # error "check your limits.h header" # endif #elif defined(__DOS__) || defined(__MSDOS__) || defined(_MSDOS) || defined(MSDOS) || (defined(__PACIFIC__) && defined(DOS)) # if (UINT_MAX == UCL_0xffffL) # define UCL_OS_DOS16 1 # elif (UINT_MAX == UCL_0xffffffffL) # define UCL_OS_DOS32 1 # else # error "check your limits.h header" # endif #elif defined(__WATCOMC__) # if defined(__NT__) && (UINT_MAX == UCL_0xffffL) /* wcl: NT host defaults to DOS target */ # define UCL_OS_DOS16 1 # elif defined(__NT__) && (__WATCOMC__ < 1100) /* wcl386: Watcom C 11 defines _WIN32 */ # define UCL_OS_WIN32 1 # else # error "please specify a target using the -bt compiler option" # endif #elif defined(__palmos__) # if (UINT_MAX == UCL_0xffffL) # define UCL_OS_PALMOS 1 # else # error "check your limits.h header" # endif #elif defined(__TOS__) || defined(__atarist__) # define UCL_OS_TOS 1 #elif defined(macintosh) # define UCL_OS_MACCLASSIC 1 #elif defined(__VMS) # define UCL_OS_VMS 1 #else # define UCL_OS_POSIX 1 #endif /* memory checkers */ #if !defined(__UCL_CHECKER) # if defined(__BOUNDS_CHECKING_ON) # define __UCL_CHECKER 1 # elif defined(__CHECKER__) # define __UCL_CHECKER 1 # elif defined(__INSURE__) # define __UCL_CHECKER 1 # elif defined(__PURIFY__) # define __UCL_CHECKER 1 # endif #endif /* fix ancient compiler versions */ #if (UINT_MAX == UCL_0xffffL) #if (defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0410)) || (defined(MSDOS) && defined(_MSC_VER) && (_MSC_VER < 700)) # if !defined(__cdecl) # define __cdecl cdecl # endif # if !defined(__far) # define __far far # endif # if !defined(__huge) # define __huge huge # endif # if !defined(__near) # define __near near # endif #endif #endif /*********************************************************************** // integral and pointer types ************************************************************************/ /* Integral types with 32 bits or more */ #if !defined(UCL_UINT32_MAX) # if (UINT_MAX >= UCL_0xffffffffL) typedef unsigned int ucl_uint32; typedef int ucl_int32; # define UCL_UINT32_MAX UINT_MAX # define UCL_INT32_MAX INT_MAX # define UCL_INT32_MIN INT_MIN # elif (ULONG_MAX >= UCL_0xffffffffL) typedef unsigned long ucl_uint32; typedef long ucl_int32; # define UCL_UINT32_MAX ULONG_MAX # define UCL_INT32_MAX LONG_MAX # define UCL_INT32_MIN LONG_MIN # else # error "ucl_uint32" # endif #endif /* ucl_uint is used like size_t */ #if !defined(UCL_UINT_MAX) # if (UINT_MAX >= UCL_0xffffffffL) typedef unsigned int ucl_uint; typedef int ucl_int; # define UCL_UINT_MAX UINT_MAX # define UCL_INT_MAX INT_MAX # define UCL_INT_MIN INT_MIN # elif (ULONG_MAX >= UCL_0xffffffffL) typedef unsigned long ucl_uint; typedef long ucl_int; # define UCL_UINT_MAX ULONG_MAX # define UCL_INT_MAX LONG_MAX # define UCL_INT_MIN LONG_MIN # else # error "ucl_uint" # endif #endif /* Memory model that allows to access memory at offsets of ucl_uint. */ #if !defined(__UCL_MMODEL) # if (UCL_UINT_MAX <= UINT_MAX) # define __UCL_MMODEL # elif defined(UCL_OS_DOS16) || defined(UCL_OS_OS216) || defined(UCL_OS_WIN16) # define __UCL_MMODEL_HUGE 1 # define __UCL_MMODEL __huge # define ucl_uintptr_t unsigned long # else # define __UCL_MMODEL # endif #endif /* no typedef here because of const-pointer issues */ #define ucl_bytep unsigned char __UCL_MMODEL * #define ucl_charp char __UCL_MMODEL * #define ucl_voidp void __UCL_MMODEL * #define ucl_shortp short __UCL_MMODEL * #define ucl_ushortp unsigned short __UCL_MMODEL * #define ucl_uint32p ucl_uint32 __UCL_MMODEL * #define ucl_int32p ucl_int32 __UCL_MMODEL * #define ucl_uintp ucl_uint __UCL_MMODEL * #define ucl_intp ucl_int __UCL_MMODEL * #define ucl_voidpp ucl_voidp __UCL_MMODEL * #define ucl_bytepp ucl_bytep __UCL_MMODEL * /* deprecated - use `ucl_bytep' instead of `ucl_byte *' */ #define ucl_byte unsigned char __UCL_MMODEL typedef int ucl_bool; /*********************************************************************** // function types ************************************************************************/ /* name mangling */ #if !defined(__UCL_EXTERN_C) # ifdef __cplusplus # define __UCL_EXTERN_C extern "C" # else # define __UCL_EXTERN_C extern # endif #endif /* calling convention */ #if !defined(__UCL_CDECL) # if defined(__GNUC__) || defined(__HIGHC__) || defined(__NDPC__) # define __UCL_CDECL # elif defined(UCL_OS_DOS16) || defined(UCL_OS_OS216) || defined(UCL_OS_WIN16) # define __UCL_CDECL __far __cdecl # elif defined(UCL_OS_DOS32) || defined(UCL_OS_OS2) || defined(UCL_OS_WIN32) || defined(UCL_OS_WIN64) # define __UCL_CDECL __cdecl # else # define __UCL_CDECL # endif #endif /* DLL export information */ #if !defined(__UCL_EXPORT1) # define __UCL_EXPORT1 #endif #if !defined(__UCL_EXPORT2) # define __UCL_EXPORT2 #endif /* __cdecl calling convention for public C and assembly functions */ #if !defined(UCL_PUBLIC) # define UCL_PUBLIC(_rettype) __UCL_EXPORT1 _rettype __UCL_EXPORT2 __UCL_CDECL #endif #if !defined(UCL_EXTERN) # define UCL_EXTERN(_rettype) __UCL_EXTERN_C UCL_PUBLIC(_rettype) #endif #if !defined(UCL_PRIVATE) # define UCL_PRIVATE(_rettype) static _rettype __UCL_CDECL #endif /* C++ exception specification for extern "C" function types */ #if !defined(__cplusplus) # undef UCL_NOTHROW # define UCL_NOTHROW #elif !defined(UCL_NOTHROW) # define UCL_NOTHROW #endif /* function types */ typedef int (__UCL_CDECL *ucl_compress_t) ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); typedef int (__UCL_CDECL *ucl_decompress_t) ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); typedef int (__UCL_CDECL *ucl_optimize_t) ( ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ); typedef int (__UCL_CDECL *ucl_compress_dict_t)(const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem, const ucl_bytep dict, ucl_uint dict_len ); typedef int (__UCL_CDECL *ucl_decompress_dict_t)(const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem, const ucl_bytep dict, ucl_uint dict_len ); /* a progress indicator callback function */ typedef struct { void (__UCL_CDECL *callback) (ucl_uint, ucl_uint, int, ucl_voidp); ucl_voidp user; } ucl_progress_callback_t; #define ucl_progress_callback_p ucl_progress_callback_t __UCL_MMODEL * /*********************************************************************** // error codes and prototypes ************************************************************************/ /* Error codes for the compression/decompression functions. Negative * values are errors, positive values will be used for special but * normal events. */ #define UCL_E_OK 0 #define UCL_E_ERROR (-1) #define UCL_E_INVALID_ARGUMENT (-2) #define UCL_E_OUT_OF_MEMORY (-3) /* compression errors */ #define UCL_E_NOT_COMPRESSIBLE (-101) /* decompression errors */ #define UCL_E_INPUT_OVERRUN (-201) #define UCL_E_OUTPUT_OVERRUN (-202) #define UCL_E_LOOKBEHIND_OVERRUN (-203) #define UCL_E_EOF_NOT_FOUND (-204) #define UCL_E_INPUT_NOT_CONSUMED (-205) #define UCL_E_OVERLAP_OVERRUN (-206) /* ucl_init() should be the first function you call. * Check the return code ! * * ucl_init() is a macro to allow checking that the library and the * compiler's view of various types are consistent. */ #define ucl_init() __ucl_init2(UCL_VERSION,(int)sizeof(short),(int)sizeof(int),\ (int)sizeof(long),(int)sizeof(ucl_uint32),(int)sizeof(ucl_uint),\ (int)-1,(int)sizeof(char *),(int)sizeof(ucl_voidp),\ (int)sizeof(ucl_compress_t)) UCL_EXTERN(int) __ucl_init2(ucl_uint32,int,int,int,int,int,int,int,int,int); /* version functions (useful for shared libraries) */ UCL_EXTERN(ucl_uint32) ucl_version(void); UCL_EXTERN(const char *) ucl_version_string(void); UCL_EXTERN(const char *) ucl_version_date(void); UCL_EXTERN(const ucl_charp) _ucl_version_string(void); UCL_EXTERN(const ucl_charp) _ucl_version_date(void); /* string functions */ UCL_EXTERN(int) ucl_memcmp(const ucl_voidp _s1, const ucl_voidp _s2, ucl_uint _len); UCL_EXTERN(ucl_voidp) ucl_memcpy(ucl_voidp _dest, const ucl_voidp _src, ucl_uint _len); UCL_EXTERN(ucl_voidp) ucl_memmove(ucl_voidp _dest, const ucl_voidp _src, ucl_uint _len); UCL_EXTERN(ucl_voidp) ucl_memset(ucl_voidp _s, int _c, ucl_uint _len); /* checksum functions */ UCL_EXTERN(ucl_uint32) ucl_adler32(ucl_uint32 _adler, const ucl_bytep _buf, ucl_uint _len); UCL_EXTERN(ucl_uint32) ucl_crc32(ucl_uint32 _c, const ucl_bytep _buf, ucl_uint _len); UCL_EXTERN(const ucl_uint32p) ucl_get_crc32_table(void); /* memory allocation hooks */ typedef ucl_voidp (__UCL_CDECL *ucl_malloc_hook_t) (ucl_uint); typedef void (__UCL_CDECL *ucl_free_hook_t) (ucl_voidp); UCL_EXTERN(void) ucl_set_malloc_hooks(ucl_malloc_hook_t, ucl_free_hook_t); UCL_EXTERN(void) ucl_get_malloc_hooks(ucl_malloc_hook_t*, ucl_free_hook_t*); /* memory allocation functions */ UCL_EXTERN(ucl_voidp) ucl_malloc(ucl_uint); UCL_EXTERN(ucl_voidp) ucl_alloc(ucl_uint, ucl_uint); UCL_EXTERN(void) ucl_free(ucl_voidp); /* misc. */ UCL_EXTERN(ucl_bool) ucl_assert(int _expr); UCL_EXTERN(int) _ucl_config_check(void); typedef union { ucl_bytep p; ucl_uint u; } __ucl_pu_u; typedef union { ucl_bytep p; ucl_uint32 u32; } __ucl_pu32_u; /* align a char pointer on a boundary that is a multiple of `size' */ UCL_EXTERN(unsigned) __ucl_align_gap(const ucl_voidp _ptr, ucl_uint _size); #define UCL_PTR_ALIGN_UP(_ptr,_size) \ ((_ptr) + (ucl_uint) __ucl_align_gap((const ucl_voidp)(_ptr),(ucl_uint)(_size))) #ifdef __cplusplus } /* extern "C" */ #endif #endif /* already included */ ucl-1.03/include/ucl/Makefile.am0000644000175000001440000000025110077051333013374 00000000000000## Process this file with automake to create Makefile.in # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # pkginclude_HEADERS = \ ucl.h \ ucl_asm.h \ uclconf.h ucl-1.03/include/ucl/Makefile.in0000644000175000001440000002666510077051333013426 00000000000000# Makefile.in generated by automake 1.8.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ subdir = include/ucl DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/acconfig/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__installdirs = "$(DESTDIR)$(pkgincludedir)" pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(pkginclude_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UCL_ASM_VPATH = @UCL_ASM_VPATH@ UCL_CFLAGS = @UCL_CFLAGS@ UCL_CPPFLAGS = @UCL_CPPFLAGS@ UCL_EXTRA_CFLAGS = @UCL_EXTRA_CFLAGS@ UCL_EXTRA_CPPFLAGS = @UCL_EXTRA_CPPFLAGS@ UCL_USE_ASM_FALSE = @UCL_USE_ASM_FALSE@ UCL_USE_ASM_TRUE = @UCL_USE_ASM_TRUE@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ configure_CFLAGS = @configure_CFLAGS@ configure_CPPFLAGS = @configure_CPPFLAGS@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ pkginclude_HEADERS = \ ucl.h \ ucl_asm.h \ uclconf.h all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/ucl/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign include/ucl/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-pkgincludeHEADERS: $(pkginclude_HEADERS) @$(NORMAL_INSTALL) test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)" @list='$(pkginclude_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \ $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \ done uninstall-pkgincludeHEADERS: @$(NORMAL_UNINSTALL) @list='$(pkginclude_HEADERS)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(HEADERS) installdirs: for dir in "$(DESTDIR)$(pkgincludedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-pkgincludeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-pkgincludeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool ctags distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-pkgincludeHEADERS \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-pkgincludeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ucl-1.03/src/0000777000175000001440000000000010077051333010007 500000000000000ucl-1.03/src/Makefile.am0000644000175000001440000000345210077051333011763 00000000000000## Process this file with automake to create Makefile.in # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # VPATH = @srcdir@@UCL_ASM_VPATH@ SUFFIXES = .S INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS) CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS) lib_LTLIBRARIES = libucl.la libucl_la_LDFLAGS = -version-info 1:0:0 libucl_la_SOURCES = \ alloc.c \ n2b_99.c n2b_d.c n2b_ds.c n2b_to.c \ n2d_99.c n2d_d.c n2d_ds.c n2d_to.c \ n2e_99.c n2e_d.c n2e_ds.c n2e_to.c \ ucl_crc.c \ ucl_init.c \ ucl_ptr.c \ ucl_str.c \ ucl_util.c EXTRA_DIST = \ getbit.h \ n2_99.ch \ ucl_conf.h \ ucl_dll.ch \ ucl_mchw.ch \ ucl_ptr.h \ ucl_swd.ch libucl_la_LIBADD = $(UCL_ASM_OBJECTS) libucl_la_DEPENDENCIES = $(libucl_la_LIBADD) # /*********************************************************************** # // assembler support # ************************************************************************/ if UCL_USE_ASM UCL_ASM_OBJECTS = \ cpuid.lo crc_asm.lo crcs_asm.lo rdtsc.lo rdtsca.lo \ n2b_d_f1.lo n2b_d_f2.lo n2b_d_f3.lo n2b_d_f4.lo n2b_d_f5.lo n2b_d_f6.lo \ n2b_d_n1.lo n2b_d_n2.lo n2b_d_n3.lo n2b_d_n4.lo n2b_d_n5.lo n2b_d_n6.lo \ n2b_d_s1.lo n2b_d_s2.lo n2b_d_s3.lo n2b_d_s4.lo n2b_d_s5.lo n2b_d_s6.lo \ n2d_d_f1.lo n2d_d_f2.lo n2d_d_f3.lo n2d_d_f4.lo n2d_d_f5.lo n2d_d_f6.lo \ n2d_d_n1.lo n2d_d_n2.lo n2d_d_n3.lo n2d_d_n4.lo n2d_d_n5.lo n2d_d_n6.lo \ n2d_d_s1.lo n2d_d_s2.lo n2d_d_s3.lo n2d_d_s4.lo n2d_d_s5.lo n2d_d_s6.lo \ n2e_d_f1.lo n2e_d_f2.lo n2e_d_f3.lo n2e_d_f4.lo n2e_d_f5.lo n2e_d_f6.lo \ n2e_d_n1.lo n2e_d_n2.lo n2e_d_n3.lo n2e_d_n4.lo n2e_d_n5.lo n2e_d_n6.lo \ n2e_d_s1.lo n2e_d_s2.lo n2e_d_s3.lo n2e_d_s4.lo n2e_d_s5.lo n2e_d_s6.lo .S.o: $(CC) -c $< .S.lo: $(LIBTOOL) --mode=compile $(CC) -c $< endif ucl-1.03/src/Makefile.in0000644000175000001440000004633110077051333011777 00000000000000# Makefile.in generated by automake 1.8.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # SOURCES = $(libucl_la_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/acconfig/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) @UCL_USE_ASM_TRUE@am__DEPENDENCIES_1 = cpuid.lo crc_asm.lo crcs_asm.lo \ @UCL_USE_ASM_TRUE@ rdtsc.lo rdtsca.lo n2b_d_f1.lo n2b_d_f2.lo \ @UCL_USE_ASM_TRUE@ n2b_d_f3.lo n2b_d_f4.lo n2b_d_f5.lo \ @UCL_USE_ASM_TRUE@ n2b_d_f6.lo n2b_d_n1.lo n2b_d_n2.lo \ @UCL_USE_ASM_TRUE@ n2b_d_n3.lo n2b_d_n4.lo n2b_d_n5.lo \ @UCL_USE_ASM_TRUE@ n2b_d_n6.lo n2b_d_s1.lo n2b_d_s2.lo \ @UCL_USE_ASM_TRUE@ n2b_d_s3.lo n2b_d_s4.lo n2b_d_s5.lo \ @UCL_USE_ASM_TRUE@ n2b_d_s6.lo n2d_d_f1.lo n2d_d_f2.lo \ @UCL_USE_ASM_TRUE@ n2d_d_f3.lo n2d_d_f4.lo n2d_d_f5.lo \ @UCL_USE_ASM_TRUE@ n2d_d_f6.lo n2d_d_n1.lo n2d_d_n2.lo \ @UCL_USE_ASM_TRUE@ n2d_d_n3.lo n2d_d_n4.lo n2d_d_n5.lo \ @UCL_USE_ASM_TRUE@ n2d_d_n6.lo n2d_d_s1.lo n2d_d_s2.lo \ @UCL_USE_ASM_TRUE@ n2d_d_s3.lo n2d_d_s4.lo n2d_d_s5.lo \ @UCL_USE_ASM_TRUE@ n2d_d_s6.lo n2e_d_f1.lo n2e_d_f2.lo \ @UCL_USE_ASM_TRUE@ n2e_d_f3.lo n2e_d_f4.lo n2e_d_f5.lo \ @UCL_USE_ASM_TRUE@ n2e_d_f6.lo n2e_d_n1.lo n2e_d_n2.lo \ @UCL_USE_ASM_TRUE@ n2e_d_n3.lo n2e_d_n4.lo n2e_d_n5.lo \ @UCL_USE_ASM_TRUE@ n2e_d_n6.lo n2e_d_s1.lo n2e_d_s2.lo \ @UCL_USE_ASM_TRUE@ n2e_d_s3.lo n2e_d_s4.lo n2e_d_s5.lo \ @UCL_USE_ASM_TRUE@ n2e_d_s6.lo am_libucl_la_OBJECTS = alloc.lo n2b_99.lo n2b_d.lo n2b_ds.lo n2b_to.lo \ n2d_99.lo n2d_d.lo n2d_ds.lo n2d_to.lo n2e_99.lo n2e_d.lo \ n2e_ds.lo n2e_to.lo ucl_crc.lo ucl_init.lo ucl_ptr.lo \ ucl_str.lo ucl_util.lo libucl_la_OBJECTS = $(am_libucl_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/acconfig/depcomp am__depfiles_maybe = depfiles @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/alloc.Plo ./$(DEPDIR)/n2b_99.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2b_d.Plo ./$(DEPDIR)/n2b_ds.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2b_to.Plo ./$(DEPDIR)/n2d_99.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2d_d.Plo ./$(DEPDIR)/n2d_ds.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2d_to.Plo ./$(DEPDIR)/n2e_99.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2e_d.Plo ./$(DEPDIR)/n2e_ds.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/n2e_to.Plo ./$(DEPDIR)/ucl_crc.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/ucl_init.Plo ./$(DEPDIR)/ucl_ptr.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/ucl_str.Plo ./$(DEPDIR)/ucl_util.Plo COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libucl_la_SOURCES) DIST_SOURCES = $(libucl_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) VPATH = @srcdir@@UCL_ASM_VPATH@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS) CPP = @CPP@ CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS) CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UCL_ASM_VPATH = @UCL_ASM_VPATH@ UCL_CFLAGS = @UCL_CFLAGS@ UCL_CPPFLAGS = @UCL_CPPFLAGS@ UCL_EXTRA_CFLAGS = @UCL_EXTRA_CFLAGS@ UCL_EXTRA_CPPFLAGS = @UCL_EXTRA_CPPFLAGS@ UCL_USE_ASM_FALSE = @UCL_USE_ASM_FALSE@ UCL_USE_ASM_TRUE = @UCL_USE_ASM_TRUE@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ configure_CFLAGS = @configure_CFLAGS@ configure_CPPFLAGS = @configure_CPPFLAGS@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ SUFFIXES = .S INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) lib_LTLIBRARIES = libucl.la libucl_la_LDFLAGS = -version-info 1:0:0 libucl_la_SOURCES = \ alloc.c \ n2b_99.c n2b_d.c n2b_ds.c n2b_to.c \ n2d_99.c n2d_d.c n2d_ds.c n2d_to.c \ n2e_99.c n2e_d.c n2e_ds.c n2e_to.c \ ucl_crc.c \ ucl_init.c \ ucl_ptr.c \ ucl_str.c \ ucl_util.c EXTRA_DIST = \ getbit.h \ n2_99.ch \ ucl_conf.h \ ucl_dll.ch \ ucl_mchw.ch \ ucl_ptr.h \ ucl_swd.ch libucl_la_LIBADD = $(UCL_ASM_OBJECTS) libucl_la_DEPENDENCIES = $(libucl_la_LIBADD) # /*********************************************************************** # // assembler support # ************************************************************************/ @UCL_USE_ASM_TRUE@UCL_ASM_OBJECTS = \ @UCL_USE_ASM_TRUE@ cpuid.lo crc_asm.lo crcs_asm.lo rdtsc.lo rdtsca.lo \ @UCL_USE_ASM_TRUE@ n2b_d_f1.lo n2b_d_f2.lo n2b_d_f3.lo n2b_d_f4.lo n2b_d_f5.lo n2b_d_f6.lo \ @UCL_USE_ASM_TRUE@ n2b_d_n1.lo n2b_d_n2.lo n2b_d_n3.lo n2b_d_n4.lo n2b_d_n5.lo n2b_d_n6.lo \ @UCL_USE_ASM_TRUE@ n2b_d_s1.lo n2b_d_s2.lo n2b_d_s3.lo n2b_d_s4.lo n2b_d_s5.lo n2b_d_s6.lo \ @UCL_USE_ASM_TRUE@ n2d_d_f1.lo n2d_d_f2.lo n2d_d_f3.lo n2d_d_f4.lo n2d_d_f5.lo n2d_d_f6.lo \ @UCL_USE_ASM_TRUE@ n2d_d_n1.lo n2d_d_n2.lo n2d_d_n3.lo n2d_d_n4.lo n2d_d_n5.lo n2d_d_n6.lo \ @UCL_USE_ASM_TRUE@ n2d_d_s1.lo n2d_d_s2.lo n2d_d_s3.lo n2d_d_s4.lo n2d_d_s5.lo n2d_d_s6.lo \ @UCL_USE_ASM_TRUE@ n2e_d_f1.lo n2e_d_f2.lo n2e_d_f3.lo n2e_d_f4.lo n2e_d_f5.lo n2e_d_f6.lo \ @UCL_USE_ASM_TRUE@ n2e_d_n1.lo n2e_d_n2.lo n2e_d_n3.lo n2e_d_n4.lo n2e_d_n5.lo n2e_d_n6.lo \ @UCL_USE_ASM_TRUE@ n2e_d_s1.lo n2e_d_s2.lo n2e_d_s3.lo n2e_d_s4.lo n2e_d_s5.lo n2e_d_s6.lo all: all-am .SUFFIXES: .SUFFIXES: .S .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libucl.la: $(libucl_la_OBJECTS) $(libucl_la_DEPENDENCIES) $(LINK) -rpath $(libdir) $(libucl_la_LDFLAGS) $(libucl_la_OBJECTS) $(libucl_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alloc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2b_99.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2b_d.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2b_ds.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2b_to.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2d_99.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2d_d.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2d_ds.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2d_to.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2e_99.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2e_d.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2e_ds.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/n2e_to.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucl_crc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucl_init.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucl_ptr.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucl_str.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ucl_util.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-libLTLIBRARIES install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libLTLIBRARIES install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libLTLIBRARIES @UCL_USE_ASM_TRUE@.S.o: @UCL_USE_ASM_TRUE@ $(CC) -c $< @UCL_USE_ASM_TRUE@.S.lo: @UCL_USE_ASM_TRUE@ $(LIBTOOL) --mode=compile $(CC) -c $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ucl-1.03/src/alloc.c0000644000175000001440000000565610077051333011175 00000000000000/* alloc.c -- memory allocation This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" /*********************************************************************** // implementation ************************************************************************/ #if defined(__UCL_MMODEL_HUGE) #define acc_hsize_t ucl_uint #define acc_hvoid_p ucl_voidp #define ACCLIB_PUBLIC(r,f) static r __UCL_CDECL f #define acc_halloc ucl_malloc_internal #define acc_hfree ucl_free_internal #include "acc/acclib/halloc.ch" #undef ACCLIB_PUBLIC #else UCL_PRIVATE(ucl_voidp) ucl_malloc_internal(ucl_uint size) { ucl_voidp p = NULL; if (size < ~(size_t)0) p = (ucl_voidp) malloc((size_t) size); return p; } UCL_PRIVATE(void) ucl_free_internal(ucl_voidp p) { if (p) free(p); } #endif /*********************************************************************** // public interface using the global hooks ************************************************************************/ /* global allocator hooks */ static ucl_malloc_hook_t ucl_malloc_hook = ucl_malloc_internal; static ucl_free_hook_t ucl_free_hook = ucl_free_internal; UCL_PUBLIC(void) ucl_set_malloc_hooks(ucl_malloc_hook_t a, ucl_free_hook_t f) { ucl_malloc_hook = ucl_malloc_internal; ucl_free_hook = ucl_free_internal; if (a) ucl_malloc_hook = a; if (f) ucl_free_hook = f; } UCL_PUBLIC(void) ucl_get_malloc_hooks(ucl_malloc_hook_t* a, ucl_free_hook_t* f) { if (a) *a = ucl_malloc_hook; if (f) *f = ucl_free_hook; } UCL_PUBLIC(ucl_voidp) ucl_malloc(ucl_uint size) { if (size <= 0) return NULL; return ucl_malloc_hook(size); } UCL_PUBLIC(ucl_voidp) ucl_alloc(ucl_uint nelems, ucl_uint size) { ucl_uint s = nelems * size; if (nelems <= 0 || s / nelems != size) return NULL; return ucl_malloc(s); } UCL_PUBLIC(void) ucl_free(ucl_voidp p) { if (p) ucl_free_hook(p); } /* vi:ts=4:et */ ucl-1.03/src/n2b_99.c0000644000175000001440000000215610077051333011075 00000000000000/* n2b_99.c -- implementation of the NRV2B-99 compression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define NRV2B #include "n2_99.ch" #undef NRV2B /* vi:ts=4:et */ ucl-1.03/src/n2b_d.c0000644000175000001440000001147510077051333011063 00000000000000/* n2b_d.c -- implementation of the NRV2B decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // actual implementation used by a recursive #include ************************************************************************/ #ifdef getbit #ifdef SAFE #define fail(x,r) if (x) { *dst_len = olen; return r; } #else #define fail(x,r) #endif { ucl_uint32 bb = 0; #ifdef TEST_OVERLAP ucl_uint ilen = src_off, olen = 0, last_m_off = 1; #else ucl_uint ilen = 0, olen = 0, last_m_off = 1; #endif #ifdef SAFE const ucl_uint oend = *dst_len; #endif ACC_UNUSED(wrkmem); #ifdef TEST_OVERLAP src_len += src_off; fail(oend >= src_len, UCL_E_OVERLAP_OVERRUN); #endif for (;;) { ucl_uint m_off, m_len; while (getbit(bb)) { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(olen >= oend, UCL_E_OUTPUT_OVERRUN); #ifdef TEST_OVERLAP fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); olen++; ilen++; #else dst[olen++] = src[ilen++]; #endif } m_off = 1; do { m_off = m_off*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_off > UCL_UINT32_C(0xffffff) + 3, UCL_E_LOOKBEHIND_OVERRUN); } while (!getbit(bb)); if (m_off == 2) { m_off = last_m_off; } else { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); m_off = (m_off-3)*256 + src[ilen++]; if (m_off == UCL_UINT32_C(0xffffffff)) break; last_m_off = ++m_off; } m_len = getbit(bb); m_len = m_len*2 + getbit(bb); if (m_len == 0) { m_len++; do { m_len = m_len*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_len >= oend, UCL_E_OUTPUT_OVERRUN); } while (!getbit(bb)); m_len += 2; } m_len += (m_off > 0xd00); fail(olen + m_len > oend, UCL_E_OUTPUT_OVERRUN); fail(m_off > olen, UCL_E_LOOKBEHIND_OVERRUN); #ifdef TEST_OVERLAP olen += m_len + 1; fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); #else { const ucl_bytep m_pos; m_pos = dst + olen - m_off; dst[olen++] = *m_pos++; do dst[olen++] = *m_pos++; while (--m_len > 0); } #endif } *dst_len = olen; return ilen == src_len ? UCL_E_OK : (ilen < src_len ? UCL_E_INPUT_NOT_CONSUMED : UCL_E_INPUT_OVERRUN); } #undef fail #endif /* getbit */ /*********************************************************************** // decompressor entries for the different bit-buffer sizes ************************************************************************/ #ifndef getbit #include "ucl_conf.h" #include #include "getbit.h" UCL_PUBLIC(int) ucl_nrv2b_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2b_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2b_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2b_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2b_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2b_d.c" #undef getbit } #endif /* !getbit */ /* vi:ts=4:et */ ucl-1.03/src/n2b_ds.c0000644000175000001440000000245710077051333011246 00000000000000/* n2b_ds.c -- implementation of the NRV2B decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define SAFE #define ucl_nrv2b_decompress_8 ucl_nrv2b_decompress_safe_8 #define ucl_nrv2b_decompress_le16 ucl_nrv2b_decompress_safe_le16 #define ucl_nrv2b_decompress_le32 ucl_nrv2b_decompress_safe_le32 #include "n2b_d.c" #undef SAFE /* vi:ts=4:et */ ucl-1.03/src/n2b_to.c0000644000175000001440000000444410077051333011260 00000000000000/* n2b_to.c -- implementation of the NRV2B test overlap algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // entries for the different bit-buffer sizes ************************************************************************/ #include "ucl_conf.h" #include #include "getbit.h" #define SAFE #define TEST_OVERLAP UCL_PUBLIC(int) ucl_nrv2b_test_overlap_8 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2b_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2b_test_overlap_le16 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2b_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2b_test_overlap_le32 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2b_d.c" #undef getbit } /* vi:ts=4:et */ ucl-1.03/src/n2d_99.c0000644000175000001440000000215610077051333011077 00000000000000/* n2d_99.c -- implementation of the NRV2D-99 compression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define NRV2D #include "n2_99.ch" #undef NRV2D /* vi:ts=4:et */ ucl-1.03/src/n2d_d.c0000644000175000001440000001174010077051333011060 00000000000000/* n2d_d.c -- implementation of the NRV2D decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // actual implementation used by a recursive #include ************************************************************************/ #ifdef getbit #ifdef SAFE #define fail(x,r) if (x) { *dst_len = olen; return r; } #else #define fail(x,r) #endif { ucl_uint32 bb = 0; #ifdef TEST_OVERLAP ucl_uint ilen = src_off, olen = 0, last_m_off = 1; #else ucl_uint ilen = 0, olen = 0, last_m_off = 1; #endif #ifdef SAFE const ucl_uint oend = *dst_len; #endif ACC_UNUSED(wrkmem); #ifdef TEST_OVERLAP src_len += src_off; fail(oend >= src_len, UCL_E_OVERLAP_OVERRUN); #endif for (;;) { ucl_uint m_off, m_len; while (getbit(bb)) { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(olen >= oend, UCL_E_OUTPUT_OVERRUN); #ifdef TEST_OVERLAP fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); olen++; ilen++; #else dst[olen++] = src[ilen++]; #endif } m_off = 1; for (;;) { m_off = m_off*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_off > UCL_UINT32_C(0xffffff) + 3, UCL_E_LOOKBEHIND_OVERRUN); if (getbit(bb)) break; m_off = (m_off-1)*2 + getbit(bb); } if (m_off == 2) { m_off = last_m_off; m_len = getbit(bb); } else { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); m_off = (m_off-3)*256 + src[ilen++]; if (m_off == UCL_UINT32_C(0xffffffff)) break; m_len = (m_off ^ UCL_UINT32_C(0xffffffff)) & 1; m_off >>= 1; last_m_off = ++m_off; } m_len = m_len*2 + getbit(bb); if (m_len == 0) { m_len++; do { m_len = m_len*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_len >= oend, UCL_E_OUTPUT_OVERRUN); } while (!getbit(bb)); m_len += 2; } m_len += (m_off > 0x500); fail(olen + m_len > oend, UCL_E_OUTPUT_OVERRUN); fail(m_off > olen, UCL_E_LOOKBEHIND_OVERRUN); #ifdef TEST_OVERLAP olen += m_len + 1; fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); #else { const ucl_bytep m_pos; m_pos = dst + olen - m_off; dst[olen++] = *m_pos++; do dst[olen++] = *m_pos++; while (--m_len > 0); } #endif } *dst_len = olen; return ilen == src_len ? UCL_E_OK : (ilen < src_len ? UCL_E_INPUT_NOT_CONSUMED : UCL_E_INPUT_OVERRUN); } #undef fail #endif /* getbit */ /*********************************************************************** // decompressor entries for the different bit-buffer sizes ************************************************************************/ #ifndef getbit #include "ucl_conf.h" #include #include "getbit.h" UCL_PUBLIC(int) ucl_nrv2d_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2d_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2d_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2d_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2d_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2d_d.c" #undef getbit } #endif /* !getbit */ /* vi:ts=4:et */ ucl-1.03/src/n2d_ds.c0000644000175000001440000000245710077051333011250 00000000000000/* n2d_ds.c -- implementation of the NRV2D decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define SAFE #define ucl_nrv2d_decompress_8 ucl_nrv2d_decompress_safe_8 #define ucl_nrv2d_decompress_le16 ucl_nrv2d_decompress_safe_le16 #define ucl_nrv2d_decompress_le32 ucl_nrv2d_decompress_safe_le32 #include "n2d_d.c" #undef SAFE /* vi:ts=4:et */ ucl-1.03/src/n2d_to.c0000644000175000001440000000444410077051333011262 00000000000000/* n2d_to.c -- implementation of the NRV2D test overlap algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // entries for the different bit-buffer sizes ************************************************************************/ #include "ucl_conf.h" #include #include "getbit.h" #define SAFE #define TEST_OVERLAP UCL_PUBLIC(int) ucl_nrv2d_test_overlap_8 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2d_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2d_test_overlap_le16 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2d_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2d_test_overlap_le32 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2d_d.c" #undef getbit } /* vi:ts=4:et */ ucl-1.03/src/n2e_99.c0000644000175000001440000000215610077051333011100 00000000000000/* n2e_99.c -- implementation of the NRV2E-99 compression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define NRV2E #include "n2_99.ch" #undef NRV2E /* vi:ts=4:et */ ucl-1.03/src/n2e_d.c0000644000175000001440000001204710077051333011062 00000000000000/* n2e_d.c -- implementation of the NRV2E decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // actual implementation used by a recursive #include ************************************************************************/ #ifdef getbit #ifdef SAFE #define fail(x,r) if (x) { *dst_len = olen; return r; } #else #define fail(x,r) #endif { ucl_uint32 bb = 0; #ifdef TEST_OVERLAP ucl_uint ilen = src_off, olen = 0, last_m_off = 1; #else ucl_uint ilen = 0, olen = 0, last_m_off = 1; #endif #ifdef SAFE const ucl_uint oend = *dst_len; #endif ACC_UNUSED(wrkmem); #ifdef TEST_OVERLAP src_len += src_off; fail(oend >= src_len, UCL_E_OVERLAP_OVERRUN); #endif for (;;) { ucl_uint m_off, m_len; while (getbit(bb)) { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(olen >= oend, UCL_E_OUTPUT_OVERRUN); #ifdef TEST_OVERLAP fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); olen++; ilen++; #else dst[olen++] = src[ilen++]; #endif } m_off = 1; for (;;) { m_off = m_off*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_off > UCL_UINT32_C(0xffffff) + 3, UCL_E_LOOKBEHIND_OVERRUN); if (getbit(bb)) break; m_off = (m_off-1)*2 + getbit(bb); } if (m_off == 2) { m_off = last_m_off; m_len = getbit(bb); } else { fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); m_off = (m_off-3)*256 + src[ilen++]; if (m_off == UCL_UINT32_C(0xffffffff)) break; m_len = (m_off ^ UCL_UINT32_C(0xffffffff)) & 1; m_off >>= 1; last_m_off = ++m_off; } if (m_len) m_len = 1 + getbit(bb); else if (getbit(bb)) m_len = 3 + getbit(bb); else { m_len++; do { m_len = m_len*2 + getbit(bb); fail(ilen >= src_len, UCL_E_INPUT_OVERRUN); fail(m_len >= oend, UCL_E_OUTPUT_OVERRUN); } while (!getbit(bb)); m_len += 3; } m_len += (m_off > 0x500); fail(olen + m_len > oend, UCL_E_OUTPUT_OVERRUN); fail(m_off > olen, UCL_E_LOOKBEHIND_OVERRUN); #ifdef TEST_OVERLAP olen += m_len + 1; fail(olen > ilen, UCL_E_OVERLAP_OVERRUN); #else { const ucl_bytep m_pos; m_pos = dst + olen - m_off; dst[olen++] = *m_pos++; do dst[olen++] = *m_pos++; while (--m_len > 0); } #endif } *dst_len = olen; return ilen == src_len ? UCL_E_OK : (ilen < src_len ? UCL_E_INPUT_NOT_CONSUMED : UCL_E_INPUT_OVERRUN); } #undef fail #endif /* getbit */ /*********************************************************************** // decompressor entries for the different bit-buffer sizes ************************************************************************/ #ifndef getbit #include "ucl_conf.h" #include #include "getbit.h" UCL_PUBLIC(int) ucl_nrv2e_decompress_8 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2e_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2e_decompress_le16 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2e_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2e_decompress_le32 ( const ucl_bytep src, ucl_uint src_len, ucl_bytep dst, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2e_d.c" #undef getbit } #endif /* !getbit */ /* vi:ts=4:et */ ucl-1.03/src/n2e_ds.c0000644000175000001440000000245710077051333011251 00000000000000/* n2e_ds.c -- implementation of the NRV2E decompression algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #define SAFE #define ucl_nrv2e_decompress_8 ucl_nrv2e_decompress_safe_8 #define ucl_nrv2e_decompress_le16 ucl_nrv2e_decompress_safe_le16 #define ucl_nrv2e_decompress_le32 ucl_nrv2e_decompress_safe_le32 #include "n2e_d.c" #undef SAFE /* vi:ts=4:et */ ucl-1.03/src/n2e_to.c0000644000175000001440000000444410077051333011263 00000000000000/* n2e_to.c -- implementation of the NRV2E test overlap algorithm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // entries for the different bit-buffer sizes ************************************************************************/ #include "ucl_conf.h" #include #include "getbit.h" #define SAFE #define TEST_OVERLAP UCL_PUBLIC(int) ucl_nrv2e_test_overlap_8 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_8(bb,src,ilen) #include "n2e_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2e_test_overlap_le16 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { #define getbit(bb) getbit_le16(bb,src,ilen) #include "n2e_d.c" #undef getbit } UCL_PUBLIC(int) ucl_nrv2e_test_overlap_le32 ( const ucl_bytep src, ucl_uint src_off, ucl_uint src_len, ucl_uintp dst_len, ucl_voidp wrkmem ) { unsigned bc = 0; #define getbit(bb) getbit_le32(bb,bc,src,ilen) #include "n2e_d.c" #undef getbit } /* vi:ts=4:et */ ucl-1.03/src/ucl_crc.c0000644000175000001440000001356210077051333011510 00000000000000/* ucl_crc.c -- crc checksum for the the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" /*********************************************************************** // crc32 checksum // adapted from free code by Mark Adler // see http://www.cdrom.com/pub/infozip/zlib/ ************************************************************************/ static const ucl_uint32 __ucl_crc32_table[256] = { 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, 0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L, 0x90bf1d91L, 0x1db71064L, 0x6ab020f2L, 0xf3b97148L, 0x84be41deL, 0x1adad47dL, 0x6ddde4ebL, 0xf4d4b551L, 0x83d385c7L, 0x136c9856L, 0x646ba8c0L, 0xfd62f97aL, 0x8a65c9ecL, 0x14015c4fL, 0x63066cd9L, 0xfa0f3d63L, 0x8d080df5L, 0x3b6e20c8L, 0x4c69105eL, 0xd56041e4L, 0xa2677172L, 0x3c03e4d1L, 0x4b04d447L, 0xd20d85fdL, 0xa50ab56bL, 0x35b5a8faL, 0x42b2986cL, 0xdbbbc9d6L, 0xacbcf940L, 0x32d86ce3L, 0x45df5c75L, 0xdcd60dcfL, 0xabd13d59L, 0x26d930acL, 0x51de003aL, 0xc8d75180L, 0xbfd06116L, 0x21b4f4b5L, 0x56b3c423L, 0xcfba9599L, 0xb8bda50fL, 0x2802b89eL, 0x5f058808L, 0xc60cd9b2L, 0xb10be924L, 0x2f6f7c87L, 0x58684c11L, 0xc1611dabL, 0xb6662d3dL, 0x76dc4190L, 0x01db7106L, 0x98d220bcL, 0xefd5102aL, 0x71b18589L, 0x06b6b51fL, 0x9fbfe4a5L, 0xe8b8d433L, 0x7807c9a2L, 0x0f00f934L, 0x9609a88eL, 0xe10e9818L, 0x7f6a0dbbL, 0x086d3d2dL, 0x91646c97L, 0xe6635c01L, 0x6b6b51f4L, 0x1c6c6162L, 0x856530d8L, 0xf262004eL, 0x6c0695edL, 0x1b01a57bL, 0x8208f4c1L, 0xf50fc457L, 0x65b0d9c6L, 0x12b7e950L, 0x8bbeb8eaL, 0xfcb9887cL, 0x62dd1ddfL, 0x15da2d49L, 0x8cd37cf3L, 0xfbd44c65L, 0x4db26158L, 0x3ab551ceL, 0xa3bc0074L, 0xd4bb30e2L, 0x4adfa541L, 0x3dd895d7L, 0xa4d1c46dL, 0xd3d6f4fbL, 0x4369e96aL, 0x346ed9fcL, 0xad678846L, 0xda60b8d0L, 0x44042d73L, 0x33031de5L, 0xaa0a4c5fL, 0xdd0d7cc9L, 0x5005713cL, 0x270241aaL, 0xbe0b1010L, 0xc90c2086L, 0x5768b525L, 0x206f85b3L, 0xb966d409L, 0xce61e49fL, 0x5edef90eL, 0x29d9c998L, 0xb0d09822L, 0xc7d7a8b4L, 0x59b33d17L, 0x2eb40d81L, 0xb7bd5c3bL, 0xc0ba6cadL, 0xedb88320L, 0x9abfb3b6L, 0x03b6e20cL, 0x74b1d29aL, 0xead54739L, 0x9dd277afL, 0x04db2615L, 0x73dc1683L, 0xe3630b12L, 0x94643b84L, 0x0d6d6a3eL, 0x7a6a5aa8L, 0xe40ecf0bL, 0x9309ff9dL, 0x0a00ae27L, 0x7d079eb1L, 0xf00f9344L, 0x8708a3d2L, 0x1e01f268L, 0x6906c2feL, 0xf762575dL, 0x806567cbL, 0x196c3671L, 0x6e6b06e7L, 0xfed41b76L, 0x89d32be0L, 0x10da7a5aL, 0x67dd4accL, 0xf9b9df6fL, 0x8ebeeff9L, 0x17b7be43L, 0x60b08ed5L, 0xd6d6a3e8L, 0xa1d1937eL, 0x38d8c2c4L, 0x4fdff252L, 0xd1bb67f1L, 0xa6bc5767L, 0x3fb506ddL, 0x48b2364bL, 0xd80d2bdaL, 0xaf0a1b4cL, 0x36034af6L, 0x41047a60L, 0xdf60efc3L, 0xa867df55L, 0x316e8eefL, 0x4669be79L, 0xcb61b38cL, 0xbc66831aL, 0x256fd2a0L, 0x5268e236L, 0xcc0c7795L, 0xbb0b4703L, 0x220216b9L, 0x5505262fL, 0xc5ba3bbeL, 0xb2bd0b28L, 0x2bb45a92L, 0x5cb36a04L, 0xc2d7ffa7L, 0xb5d0cf31L, 0x2cd99e8bL, 0x5bdeae1dL, 0x9b64c2b0L, 0xec63f226L, 0x756aa39cL, 0x026d930aL, 0x9c0906a9L, 0xeb0e363fL, 0x72076785L, 0x05005713L, 0x95bf4a82L, 0xe2b87a14L, 0x7bb12baeL, 0x0cb61b38L, 0x92d28e9bL, 0xe5d5be0dL, 0x7cdcefb7L, 0x0bdbdf21L, 0x86d3d2d4L, 0xf1d4e242L, 0x68ddb3f8L, 0x1fda836eL, 0x81be16cdL, 0xf6b9265bL, 0x6fb077e1L, 0x18b74777L, 0x88085ae6L, 0xff0f6a70L, 0x66063bcaL, 0x11010b5cL, 0x8f659effL, 0xf862ae69L, 0x616bffd3L, 0x166ccf45L, 0xa00ae278L, 0xd70dd2eeL, 0x4e048354L, 0x3903b3c2L, 0xa7672661L, 0xd06016f7L, 0x4969474dL, 0x3e6e77dbL, 0xaed16a4aL, 0xd9d65adcL, 0x40df0b66L, 0x37d83bf0L, 0xa9bcae53L, 0xdebb9ec5L, 0x47b2cf7fL, 0x30b5ffe9L, 0xbdbdf21cL, 0xcabac28aL, 0x53b39330L, 0x24b4a3a6L, 0xbad03605L, 0xcdd70693L, 0x54de5729L, 0x23d967bfL, 0xb3667a2eL, 0xc4614ab8L, 0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL, 0x2d02ef8dL }; UCL_PUBLIC(const ucl_uint32p) ucl_get_crc32_table(void) { return __ucl_crc32_table; } #if 1 #define UCL_DO1(buf,i) \ crc = table[((int)crc ^ buf[i]) & 0xff] ^ (crc >> 8) #else #define UCL_DO1(buf,i) \ crc = table[(unsigned char)((unsigned char)crc ^ buf[i])] ^ (crc >> 8) #endif #define UCL_DO2(buf,i) UCL_DO1(buf,i); UCL_DO1(buf,i+1); #define UCL_DO4(buf,i) UCL_DO2(buf,i); UCL_DO2(buf,i+2); #define UCL_DO8(buf,i) UCL_DO4(buf,i); UCL_DO4(buf,i+4); #define UCL_DO16(buf,i) UCL_DO8(buf,i); UCL_DO8(buf,i+8); UCL_PUBLIC(ucl_uint32) ucl_crc32(ucl_uint32 c, const ucl_bytep buf, ucl_uint len) { ucl_uint32 crc; #undef table #if 1 # define table __ucl_crc32_table #else const ucl_uint32 * table = __ucl_crc32_table; #endif if (buf == NULL) return 0; crc = (c & UCL_UINT32_C(0xffffffff)) ^ UCL_UINT32_C(0xffffffff); if (len >= 16) do { UCL_DO16(buf,0); buf += 16; len -= 16; } while (len >= 16); if (len != 0) do { UCL_DO1(buf,0); buf += 1; len -= 1; } while (len > 0); return crc ^ UCL_UINT32_C(0xffffffff); #undef table } /* vi:ts=4:et */ ucl-1.03/src/ucl_init.c0000644000175000001440000002416710077051333011707 00000000000000/* ucl_init.c -- initialization of the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" /*********************************************************************** // Runtime check of the assumptions about the size of builtin types, // memory model, byte order and other low-level constructs. // // We are really paranoid here - UCL should either fail // at startup or not at all. // // Because of inlining much of this evaluates to nothing at compile time. // // And while many of the tests seem highly obvious and redundant they are // here to catch compiler/optimizer bugs. Yes, these do exist. ************************************************************************/ static ucl_bool schedule_insns_bug(void); /* avoid inlining */ static ucl_bool strength_reduce_bug(int *); /* avoid inlining */ #if 0 || defined(UCL_DEBUG) #include static ucl_bool __ucl_assert_fail(const char *s, unsigned line) { #if defined(__palmos__) printf("UCL assertion failed in line %u: '%s'\n",line,s); #else fprintf(stderr,"UCL assertion failed in line %u: '%s'\n",line,s); #endif return 0; } # define __ucl_assert(x) ((x) ? 1 : __ucl_assert_fail(#x,__LINE__)) #else # define __ucl_assert(x) ((x) ? 1 : 0) #endif /*********************************************************************** // basic_check - compile time assertions ************************************************************************/ #if 1 #undef ACCCHK_ASSERT #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr) #include "acc/acc_chk.ch" ACCCHK_ASSERT_IS_SIGNED_T(ucl_int) ACCCHK_ASSERT_IS_UNSIGNED_T(ucl_uint) ACCCHK_ASSERT_IS_SIGNED_T(ucl_int32) ACCCHK_ASSERT_IS_UNSIGNED_T(ucl_uint32) ACCCHK_ASSERT((UCL_UINT32_C(1) << (int)(8*sizeof(UCL_UINT32_C(1))-1)) > 0) ACCCHK_ASSERT_IS_UNSIGNED_T(ucl_uintptr_t) ACCCHK_ASSERT(sizeof(ucl_uintptr_t) >= sizeof(ucl_voidp)) #endif #undef ACCCHK_ASSERT /*********************************************************************** // ************************************************************************/ static ucl_bool ptr_check(void) { ucl_bool r = 1; int i; unsigned char _wrkmem[10 * sizeof(ucl_bytep) + sizeof(ucl_align_t)]; ucl_bytep wrkmem; ucl_bytepp dict; unsigned char x[4 * sizeof(ucl_align_t)]; long d; ucl_align_t a; for (i = 0; i < (int) sizeof(x); i++) x[i] = UCL_BYTE(i); wrkmem = UCL_PTR_ALIGN_UP((ucl_bytep)_wrkmem, sizeof(ucl_align_t)); dict = (ucl_bytepp) (ucl_voidp) wrkmem; d = (long) ((const ucl_bytep) dict - (const ucl_bytep) _wrkmem); r &= __ucl_assert(d >= 0); r &= __ucl_assert(d < (long) sizeof(ucl_align_t)); /* this may seem obvious, but some compilers incorrectly inline memset */ memset(&a,0xff,sizeof(a)); r &= __ucl_assert(a.a_ushort == USHRT_MAX); r &= __ucl_assert(a.a_uint == UINT_MAX); r &= __ucl_assert(a.a_ulong == ULONG_MAX); r &= __ucl_assert(a.a_ucl_uint == UCL_UINT_MAX); /* sanity check of the memory model */ if (r == 1) { for (i = 0; i < 8; i++) r &= __ucl_assert((const ucl_voidp) (&dict[i]) == (const ucl_voidp) (&wrkmem[i * sizeof(ucl_bytep)])); } /* check that NULL == 0 */ memset(&a,0,sizeof(a)); r &= __ucl_assert(a.a_char_p == NULL); r &= __ucl_assert(a.a_ucl_bytep == NULL); /* check that the pointer constructs work as expected */ if (r == 1) { unsigned k = 1; const unsigned n = (unsigned) sizeof(ucl_uint32); ucl_bytep p0; ucl_bytep p1; k += __ucl_align_gap(&x[k],n); p0 = (ucl_bytep) &x[k]; #if defined(PTR_LINEAR) r &= __ucl_assert((PTR_LINEAR(p0) & (n-1)) == 0); #else r &= __ucl_assert(n == 4); r &= __ucl_assert(PTR_ALIGNED_4(p0)); #endif r &= __ucl_assert(k >= 1); p1 = (ucl_bytep) &x[1]; r &= __ucl_assert(PTR_GE(p0,p1)); r &= __ucl_assert(k < 1u+n); p1 = (ucl_bytep) &x[1+n]; r &= __ucl_assert(PTR_LT(p0,p1)); /* now check that aligned memory access doesn't core dump */ if (r == 1) { ucl_uint32 v0, v1; v0 = * (ucl_uint32p) (ucl_voidp) &x[k]; v1 = * (ucl_uint32p) (ucl_voidp) &x[k+n]; r &= __ucl_assert(v0 > 0); r &= __ucl_assert(v1 > 0); } } return r; } /*********************************************************************** // ************************************************************************/ UCL_PUBLIC(int) _ucl_config_check(void) { ucl_bool r = 1; int i; union { ucl_uint32 a; unsigned short b; ucl_uint32 aa[4]; unsigned char x[4*sizeof(ucl_align_t)]; } u; u.a = 0; u.b = 0; for (i = 0; i < (int) sizeof(u.x); i++) u.x[i] = UCL_BYTE(i); #if defined(ACC_ENDIAN_BIG_ENDIAN) || defined(ACC_ENDIAN_LITTLE_ENDIAN) if (r == 1) { # if defined(ACC_ENDIAN_BIG_ENDIAN) ucl_uint32 a = u.a >> (8 * sizeof(u.a) - 32); unsigned short b = u.b >> (8 * sizeof(u.b) - 16); r &= __ucl_assert(a == UCL_UINT32_C(0x00010203)); r &= __ucl_assert(b == 0x0001); # endif # if defined(ACC_ENDIAN_LITTLE_ENDIAN) ucl_uint32 a = (ucl_uint32) (u.a & UCL_UINT32_C(0xffffffff)); unsigned short b = (unsigned short) (u.b & 0xffff); r &= __ucl_assert(a == UCL_UINT32_C(0x03020100)); r &= __ucl_assert(b == 0x0100); # endif } #endif /* check that unaligned memory access works as expected */ #if defined(UA_GET2) || defined(UA_SET2) if (r == 1) { unsigned short b[4]; for (i = 0; i < 4; i++) b[i] = UA_GET2(&u.x[i]); # if defined(ACC_ENDIAN_LITTLE_ENDIAN) r &= __ucl_assert(b[0] == 0x0100); r &= __ucl_assert(b[1] == 0x0201); r &= __ucl_assert(b[2] == 0x0302); r &= __ucl_assert(b[3] == 0x0403); # endif # if defined(ACC_ENDIAN_BIG_ENDIAN) r &= __ucl_assert(b[0] == 0x0001); r &= __ucl_assert(b[1] == 0x0102); r &= __ucl_assert(b[2] == 0x0203); r &= __ucl_assert(b[3] == 0x0304); # endif } #endif #if defined(UA_GET4) || defined(UA_SET4) if (r == 1) { ucl_uint32 a[4]; for (i = 0; i < 4; i++) a[i] = UA_GET4(&u.x[i]); # if defined(ACC_ENDIAN_LITTLE_ENDIAN) r &= __ucl_assert(a[0] == UCL_UINT32_C(0x03020100)); r &= __ucl_assert(a[1] == UCL_UINT32_C(0x04030201)); r &= __ucl_assert(a[2] == UCL_UINT32_C(0x05040302)); r &= __ucl_assert(a[3] == UCL_UINT32_C(0x06050403)); # endif # if defined(ACC_ENDIAN_BIG_ENDIAN) r &= __ucl_assert(a[0] == UCL_UINT32_C(0x00010203)); r &= __ucl_assert(a[1] == UCL_UINT32_C(0x01020304)); r &= __ucl_assert(a[2] == UCL_UINT32_C(0x02030405)); r &= __ucl_assert(a[3] == UCL_UINT32_C(0x03040506)); # endif } #endif /* check the ucl_adler32() function */ if (r == 1) { ucl_uint32 adler; adler = ucl_adler32(0, NULL, 0); adler = ucl_adler32(adler, ucl_copyright(), 195); r &= __ucl_assert(adler == UCL_UINT32_C(0x52ca3a75)); } /* check for the gcc schedule-insns optimization bug */ if (r == 1) { r &= __ucl_assert(!schedule_insns_bug()); } /* check for the gcc strength-reduce optimization bug */ if (r == 1) { static int x[3]; static unsigned xn = 3; register unsigned j; for (j = 0; j < xn; j++) x[j] = (int)j - 3; r &= __ucl_assert(!strength_reduce_bug(x)); } /* now for the low-level pointer checks */ if (r == 1) { r &= ptr_check(); } ACC_UNUSED(u); return r == 1 ? UCL_E_OK : UCL_E_ERROR; } static ucl_bool schedule_insns_bug(void) { #if defined(__UCL_CHECKER) /* for some reason checker complains about uninitialized memory access */ return 0; #else const int clone[] = {1, 2, 0}; const int *q; q = clone; return (*q) ? 0 : 1; #endif } static ucl_bool strength_reduce_bug(int *x) { #if 1 && (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) return 0; #else return x[0] != -3 || x[1] != -2 || x[2] != -1; #endif } /*********************************************************************** // ************************************************************************/ int __ucl_init_done = 0; UCL_PUBLIC(int) __ucl_init2(ucl_uint32 v, int s1, int s2, int s3, int s4, int s5, int s6, int s7, int s8, int s9) { int r; #if (ACC_CC_MSC && ((_MSC_VER) < 700)) #else #include "acc/acc_chk.ch" #undef ACCCHK_ASSERT #endif __ucl_init_done = 1; if (v == 0) return UCL_E_ERROR; r = (s1 == -1 || s1 == (int) sizeof(short)) && (s2 == -1 || s2 == (int) sizeof(int)) && (s3 == -1 || s3 == (int) sizeof(long)) && (s4 == -1 || s4 == (int) sizeof(ucl_uint32)) && (s5 == -1 || s5 == (int) sizeof(ucl_uint)) && (s6 == -1 || s6 > 0) && (s7 == -1 || s7 == (int) sizeof(char *)) && (s8 == -1 || s8 == (int) sizeof(ucl_voidp)) && (s9 == -1 || s9 == (int) sizeof(ucl_compress_t)); if (!r) return UCL_E_ERROR; r = _ucl_config_check(); if (r != UCL_E_OK) return r; return r; } #include "ucl_dll.ch" /* vi:ts=4:et */ ucl-1.03/src/ucl_ptr.c0000644000175000001440000000402310077051333011536 00000000000000/* ucl_ptr.c -- low-level pointer constructs This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" /*********************************************************************** // ************************************************************************/ UCL_PUBLIC(ucl_uintptr_t) __ucl_ptr_linear(const ucl_voidp ptr) { ucl_uintptr_t p; #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) p = (((ucl_uintptr_t)(ACC_FP_SEG(ptr))) << (16 - ACC_MM_AHSHIFT)) + (ACC_FP_OFF(ptr)); #else p = PTR_LINEAR(ptr); #endif return p; } /*********************************************************************** // ************************************************************************/ UCL_PUBLIC(unsigned) __ucl_align_gap(const ucl_voidp ptr, ucl_uint size) { ucl_uintptr_t p, s, n; assert(size > 0); p = __ucl_ptr_linear(ptr); s = (ucl_uintptr_t) (size - 1); #if 0 assert((size & (size - 1)) == 0); n = ((p + s) & ~s) - p; #else n = (((p + s) / size) * size) - p; #endif assert((long)n >= 0); assert(n <= s); return (unsigned)n; } /* vi:ts=4:et */ ucl-1.03/src/ucl_str.c0000644000175000001440000000347410077051333011552 00000000000000/* ucl_str.c -- string functions for the the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" #undef ucl_memcmp #undef ucl_memcpy #undef ucl_memmove #undef ucl_memset /*********************************************************************** // slow but portable stuff, only used in assertions ************************************************************************/ #if !defined(__UCL_MMODEL_HUGE) # undef ACC_HAVE_MM_HUGE_PTR #endif #define acc_hsize_t ucl_uint #define acc_hvoid_p ucl_voidp #define acc_hbyte_p ucl_bytep #define ACCLIB_PUBLIC(r,f) UCL_PUBLIC(r) f #define acc_hmemcmp ucl_memcmp #define acc_hmemcpy ucl_memcpy #define acc_hmemmove ucl_memmove #define acc_hmemset ucl_memset #include "acc/acclib/hmemcpy.ch" #undef ACCLIB_PUBLIC /* vi:ts=4:et */ ucl-1.03/src/ucl_util.c0000644000175000001440000001022010077051333011702 00000000000000/* ucl_util.c -- utilities for the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" /*********************************************************************** // ************************************************************************/ UCL_PUBLIC(ucl_bool) ucl_assert(int expr) { return (expr) ? 1 : 0; } /*********************************************************************** // ************************************************************************/ /* If you use the UCL library in a product, you *must* keep this * copyright string in the executable of your product. .*/ static const char __ucl_copyright[] = "\r\n\n" "UCL data compression library.\n" "$Copyright: UCL (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Markus Franz Xaver Johannes Oberhumer\n" "\n" "http://www.oberhumer.com $\n\n" "$Id: UCL version: v" UCL_VERSION_STRING ", " UCL_VERSION_DATE " $\n" "$Built: " __DATE__ " " __TIME__ " $\n" "$Info: " ACC_INFO_OS #if defined(ACC_INFO_OS_POSIX) "/" ACC_INFO_OS_POSIX #endif " " ACC_INFO_ARCH #if defined(ACC_INFO_ENDIAN) "/" ACC_INFO_ENDIAN #endif " " ACC_INFO_MM " " ACC_INFO_CC #if defined(ACC_INFO_CCVER) " " ACC_INFO_CCVER #endif " $\n"; UCL_PUBLIC(const ucl_bytep) ucl_copyright(void) { #if (ACC_OS_DOS16 && ACC_CC_TURBOC) return (ucl_voidp) __ucl_copyright; #else return (const ucl_bytep) __ucl_copyright; #endif } UCL_PUBLIC(ucl_uint32) ucl_version(void) { return UCL_VERSION; } UCL_PUBLIC(const char *) ucl_version_string(void) { return UCL_VERSION_STRING; } UCL_PUBLIC(const char *) ucl_version_date(void) { return UCL_VERSION_DATE; } UCL_PUBLIC(const ucl_charp) _ucl_version_string(void) { return UCL_VERSION_STRING; } UCL_PUBLIC(const ucl_charp) _ucl_version_date(void) { return UCL_VERSION_DATE; } /*********************************************************************** // adler32 checksum // adapted from free code by Mark Adler // see http://www.cdrom.com/pub/infozip/zlib/ ************************************************************************/ #define UCL_BASE 65521u /* largest prime smaller than 65536 */ #define UCL_NMAX 5552 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ #define UCL_DO1(buf,i) {s1 += buf[i]; s2 += s1;} #define UCL_DO2(buf,i) UCL_DO1(buf,i); UCL_DO1(buf,i+1); #define UCL_DO4(buf,i) UCL_DO2(buf,i); UCL_DO2(buf,i+2); #define UCL_DO8(buf,i) UCL_DO4(buf,i); UCL_DO4(buf,i+4); #define UCL_DO16(buf,i) UCL_DO8(buf,i); UCL_DO8(buf,i+8); UCL_PUBLIC(ucl_uint32) ucl_adler32(ucl_uint32 adler, const ucl_bytep buf, ucl_uint len) { ucl_uint32 s1 = adler & 0xffff; ucl_uint32 s2 = (adler >> 16) & 0xffff; int k; if (buf == NULL) return 1; while (len > 0) { k = len < UCL_NMAX ? (int) len : UCL_NMAX; len -= k; if (k >= 16) do { UCL_DO16(buf,0); buf += 16; k -= 16; } while (k >= 16); if (k != 0) do { s1 += *buf++; s2 += s1; } while (--k > 0); s1 %= UCL_BASE; s2 %= UCL_BASE; } return (s2 << 16) | s1; } /* vi:ts=4:et */ ucl-1.03/src/getbit.h0000644000175000001440000000403610077051333011355 00000000000000/* getbit.h -- bit-buffer access This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // ************************************************************************/ #if 1 #define getbit_8(bb, src, ilen) \ (((bb = bb & 0x7f ? bb*2 : ((unsigned)src[ilen++]*2+1)) >> 8) & 1) #elif 1 #define getbit_8(bb, src, ilen) \ (bb*=2,bb&0xff ? (bb>>8)&1 : ((bb=src[ilen++]*2+1)>>8)&1) #else #define getbit_8(bb, src, ilen) \ (((bb*=2, (bb&0xff ? bb : (bb=src[ilen++]*2+1,bb))) >> 8) & 1) #endif #define getbit_le16(bb, src, ilen) \ (bb*=2,bb&0xffff ? (bb>>16)&1 : (ilen+=2,((bb=(src[ilen-2]+src[ilen-1]*256u)*2+1)>>16)&1)) #if 1 && (ACC_ENDIAN_LITTLE_ENDIAN) && defined(UA_GET4) #define getbit_le32(bb, bc, src, ilen) \ (bc > 0 ? ((bb>>--bc)&1) : (bc=31,\ bb=UA_GET4((src)+ilen),ilen+=4,(bb>>31)&1)) #else #define getbit_le32(bb, bc, src, ilen) \ (bc > 0 ? ((bb>>--bc)&1) : (bc=31,\ bb=src[ilen]+src[ilen+1]*0x100+src[ilen+2]*UCL_UINT32_C(0x10000)+src[ilen+3]*UCL_UINT32_C(0x1000000),\ ilen+=4,(bb>>31)&1)) #endif /* vi:ts=4:et */ ucl-1.03/src/n2_99.ch0000644000175000001440000003771010077051333011107 00000000000000/* n2_99.ch -- implementation of the NRV2[BDE]-99 compression algorithms This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include "ucl_conf.h" #include /*********************************************************************** // ************************************************************************/ #define SWD_USE_MALLOC 1 #if (ACC_OS_DOS16) #define SWD_HMASK (s->hmask) #define HEAD2_VAR #define IF_HEAD2(s) if (s->use_head2) #else #define SWD_HMASK (UCL_UINT32_C(65535)) #define IF_HEAD2(s) #endif #define SWD_N (8*1024*1024ul) /* max. size of ring buffer */ #define SWD_F 2048 /* upper limit for match length */ #define SWD_THRESHOLD 1 /* lower limit for match length */ #if defined(NRV2B) # define UCL_COMPRESS_T ucl_nrv2b_t # define ucl_swd_t ucl_nrv2b_swd_t # define ucl_nrv_99_compress ucl_nrv2b_99_compress # define M2_MAX_OFFSET 0xd00 #elif defined(NRV2D) # define UCL_COMPRESS_T ucl_nrv2d_t # define ucl_swd_t ucl_nrv2d_swd_t # define ucl_nrv_99_compress ucl_nrv2d_99_compress # define M2_MAX_OFFSET 0x500 #elif defined(NRV2E) # define UCL_COMPRESS_T ucl_nrv2e_t # define ucl_swd_t ucl_nrv2e_swd_t # define ucl_nrv_99_compress ucl_nrv2e_99_compress # define M2_MAX_OFFSET 0x500 #else # error #endif #define ucl_swd_p ucl_swd_t * __UCL_MMODEL #include "ucl_mchw.ch" /*********************************************************************** // start-step-stop prefix coding ************************************************************************/ static void code_prefix_ss11(UCL_COMPRESS_T *c, ucl_uint32 i) { if (i >= 2) { ucl_uint32 t = 4; i += 2; do { t <<= 1; } while (i >= t); t >>= 1; do { t >>= 1; bbPutBit(c, (i & t) ? 1 : 0); bbPutBit(c, 0); } while (t > 2); } bbPutBit(c, (unsigned)i & 1); bbPutBit(c, 1); } #if defined(NRV2D) || defined(NRV2E) static void code_prefix_ss12(UCL_COMPRESS_T *c, ucl_uint32 i) { if (i >= 2) { ucl_uint32 t = 2; do { i -= t; t <<= 2; } while (i >= t); do { t >>= 1; bbPutBit(c, (i & t) ? 1 : 0); bbPutBit(c, 0); t >>= 1; bbPutBit(c, (i & t) ? 1 : 0); } while (t > 2); } bbPutBit(c, (unsigned)i & 1); bbPutBit(c, 1); } #endif static void code_match(UCL_COMPRESS_T *c, ucl_uint m_len, const ucl_uint m_off) { unsigned m_low = 0; while (m_len > c->conf.max_match) { code_match(c, c->conf.max_match - 3, m_off); m_len -= c->conf.max_match - 3; } c->match_bytes += m_len; if (m_len > c->result[3]) c->result[3] = m_len; if (m_off > c->result[1]) c->result[1] = m_off; bbPutBit(c, 0); #if defined(NRV2B) if (m_off == c->last_m_off) { bbPutBit(c, 0); bbPutBit(c, 1); } else { code_prefix_ss11(c, 1 + ((m_off - 1) >> 8)); bbPutByte(c, (unsigned)m_off - 1); } m_len = m_len - 1 - (m_off > M2_MAX_OFFSET); if (m_len >= 4) { bbPutBit(c,0); bbPutBit(c,0); code_prefix_ss11(c, m_len - 4); } else { bbPutBit(c, m_len > 1); bbPutBit(c, (unsigned)m_len & 1); } #elif defined(NRV2D) m_len = m_len - 1 - (m_off > M2_MAX_OFFSET); assert(m_len > 0); m_low = (m_len >= 4) ? 0u : (unsigned) m_len; if (m_off == c->last_m_off) { bbPutBit(c, 0); bbPutBit(c, 1); bbPutBit(c, m_low > 1); bbPutBit(c, m_low & 1); } else { code_prefix_ss12(c, 1 + ((m_off - 1) >> 7)); bbPutByte(c, ((((unsigned)m_off - 1) & 0x7f) << 1) | ((m_low > 1) ? 0 : 1)); bbPutBit(c, m_low & 1); } if (m_len >= 4) code_prefix_ss11(c, m_len - 4); #elif defined(NRV2E) m_len = m_len - 1 - (m_off > M2_MAX_OFFSET); assert(m_len > 0); m_low = (m_len <= 2); if (m_off == c->last_m_off) { bbPutBit(c, 0); bbPutBit(c, 1); bbPutBit(c, m_low); } else { code_prefix_ss12(c, 1 + ((m_off - 1) >> 7)); bbPutByte(c, ((((unsigned)m_off - 1) & 0x7f) << 1) | (m_low ^ 1)); } if (m_low) bbPutBit(c, (unsigned)m_len - 1); else if (m_len <= 4) { bbPutBit(c, 1); bbPutBit(c, (unsigned)m_len - 3); } else { bbPutBit(c, 0); code_prefix_ss11(c, m_len - 5); } #else # error #endif c->last_m_off = m_off; ACC_UNUSED(m_low); } static void code_run(UCL_COMPRESS_T *c, const ucl_bytep ii, ucl_uint lit) { if (lit == 0) return; c->lit_bytes += lit; if (lit > c->result[5]) c->result[5] = lit; do { bbPutBit(c, 1); bbPutByte(c, *ii++); } while (--lit > 0); } /*********************************************************************** // ************************************************************************/ static int len_of_coded_match(UCL_COMPRESS_T *c, ucl_uint m_len, ucl_uint m_off) { int b; if (m_len < 2 || (m_len == 2 && (m_off > M2_MAX_OFFSET)) || m_off > c->conf.max_offset) return -1; assert(m_off > 0); m_len = m_len - 2 - (m_off > M2_MAX_OFFSET); if (m_off == c->last_m_off) b = 1 + 2; else { #if defined(NRV2B) b = 1 + 10; m_off = (m_off - 1) >> 8; while (m_off > 0) { b += 2; m_off >>= 1; } #elif defined(NRV2D) || defined(NRV2E) b = 1 + 9; m_off = (m_off - 1) >> 7; while (m_off > 0) { b += 3; m_off >>= 2; } #else # error #endif } #if defined(NRV2B) || defined(NRV2D) b += 2; if (m_len < 3) return b; m_len -= 3; #elif defined(NRV2E) b += 2; if (m_len < 2) return b; if (m_len < 4) return b + 1; m_len -= 4; #else # error #endif do { b += 2; m_len >>= 1; } while (m_len > 0); return b; } /*********************************************************************** // ************************************************************************/ #if !defined(NDEBUG) static void assert_match( const ucl_swd_p swd, ucl_uint m_len, ucl_uint m_off ) { const UCL_COMPRESS_T *c = swd->c; ucl_uint d_off; assert(m_len >= 2); if (m_off <= (ucl_uint) (c->bp - c->in)) { assert(c->bp - m_off + m_len < c->ip); assert(ucl_memcmp(c->bp, c->bp - m_off, m_len) == 0); } else { assert(swd->dict != NULL); d_off = m_off - (ucl_uint) (c->bp - c->in); assert(d_off <= swd->dict_len); if (m_len > d_off) { assert(ucl_memcmp(c->bp, swd->dict_end - d_off, d_off) == 0); assert(c->in + m_len - d_off < c->ip); assert(ucl_memcmp(c->bp + d_off, c->in, m_len - d_off) == 0); } else { assert(ucl_memcmp(c->bp, swd->dict_end - d_off, m_len) == 0); } } } #else # define assert_match(a,b,c) ((void)0) #endif #if defined(SWD_BEST_OFF) static void better_match ( const ucl_swd_p swd, ucl_uint *m_len, ucl_uint *m_off ) { } #endif /*********************************************************************** // ************************************************************************/ UCL_PUBLIC(int) ucl_nrv_99_compress ( const ucl_bytep in, ucl_uint in_len, ucl_bytep out, ucl_uintp out_len, ucl_progress_callback_p cb, int level, const struct ucl_compress_config_p conf, ucl_uintp result) { const ucl_bytep ii; ucl_uint lit; ucl_uint m_len, m_off; UCL_COMPRESS_T c_buffer; UCL_COMPRESS_T * const c = &c_buffer; #undef s #if defined(SWD_USE_MALLOC) ucl_swd_t the_swd; # define s (&the_swd) #else ucl_swd_p s; #endif ucl_uint result_buffer[16]; int r; struct swd_config_t { unsigned try_lazy; ucl_uint good_length; ucl_uint max_lazy; ucl_uint nice_length; ucl_uint max_chain; ucl_uint32 flags; ucl_uint32 max_offset; }; const struct swd_config_t *sc; static const struct swd_config_t swd_config[10] = { #define F SWD_F /* faster compression */ { 0, 0, 0, 8, 4, 0, 48*1024L }, { 0, 0, 0, 16, 8, 0, 48*1024L }, { 0, 0, 0, 32, 16, 0, 48*1024L }, { 1, 4, 4, 16, 16, 0, 48*1024L }, { 1, 8, 16, 32, 32, 0, 48*1024L }, { 1, 8, 16, 128, 128, 0, 48*1024L }, { 2, 8, 32, 128, 256, 0, 128*1024L }, { 2, 32, 128, F, 2048, 1, 128*1024L }, { 2, 32, 128, F, 2048, 1, 256*1024L }, { 2, F, F, F, 4096, 1, SWD_N } /* max. compression */ #undef F }; if (level < 1 || level > 10) return UCL_E_INVALID_ARGUMENT; sc = &swd_config[level - 1]; memset(c, 0, sizeof(*c)); memset(&c->conf, 0xff, sizeof(c->conf)); c->ip = c->in = in; c->in_end = in + in_len; c->out = out; if (cb && cb->callback) c->cb = cb; cb = NULL; c->result = result ? result : (ucl_uintp) result_buffer; result = NULL; ucl_memset(c->result, 0, 16*sizeof(*c->result)); c->result[0] = c->result[2] = c->result[4] = UCL_UINT_MAX; if (conf) ucl_memcpy(&c->conf, conf, sizeof(c->conf)); conf = NULL; r = bbConfig(c, 0, 8); if (r == 0) r = bbConfig(c, c->conf.bb_endian, c->conf.bb_size); if (r != 0) return UCL_E_INVALID_ARGUMENT; c->bb_op = out; ii = c->ip; /* point to start of literal run */ lit = 0; #if !defined(s) s = (ucl_swd_p) ucl_malloc(ucl_sizeof(*s)); if (!s) return UCL_E_OUT_OF_MEMORY; #endif s->f = UCL_MIN((ucl_uint)SWD_F, c->conf.max_match); s->n = UCL_MIN((ucl_uint)SWD_N, sc->max_offset); s->hmask = UCL_UINT32_C(65535); #ifdef HEAD2_VAR s->use_head2 = 1; #if defined(ACC_MM_AHSHIFT) if (ACC_MM_AHSHIFT != 3) { s->hmask = 16 * 1024 - 1; s->use_head2 = 0; } #endif #endif if (c->conf.max_offset != UCL_UINT_MAX) s->n = UCL_MIN(SWD_N, c->conf.max_offset); if (in_len < s->n) s->n = UCL_MAX(in_len, 256); if (s->f < 8 || s->n < 256) return UCL_E_INVALID_ARGUMENT; r = init_match(c,s,NULL,0,sc->flags); if (r == UCL_E_OK && (SWD_HSIZE - 1 != s->hmask)) r = UCL_E_ERROR; if (r != UCL_E_OK) { #if !defined(s) ucl_free(s); #endif return r; } if (sc->max_chain > 0) s->max_chain = sc->max_chain; if (sc->nice_length > 0) s->nice_length = sc->nice_length; if (c->conf.max_match < s->nice_length) s->nice_length = c->conf.max_match; if (c->cb) (*c->cb->callback)(0,0,-1,c->cb->user); c->last_m_off = 1; r = find_match(c,s,0,0); if (r != UCL_E_OK) return r; while (c->look > 0) { ucl_uint ahead; ucl_uint max_ahead; int l1, l2; c->codesize = (ucl_uint) (c->bb_op - out); m_len = c->m_len; m_off = c->m_off; assert(c->bp == c->ip - c->look); assert(c->bp >= in); if (lit == 0) ii = c->bp; assert(ii + lit == c->bp); assert(s->b_char == *(c->bp)); if (m_len < 2 || (m_len == 2 && (m_off > M2_MAX_OFFSET)) || m_off > c->conf.max_offset) { /* a literal */ lit++; s->max_chain = sc->max_chain; r = find_match(c,s,1,0); assert(r == 0); continue; } /* a match */ #if defined(SWD_BEST_OFF) if (s->use_best_off) better_match(s,&m_len,&m_off); #endif assert_match(s,m_len,m_off); /* shall we try a lazy match ? */ ahead = 0; if (sc->try_lazy <= 0 || m_len >= sc->max_lazy || m_off == c->last_m_off) { /* no */ l1 = 0; max_ahead = 0; } else { /* yes, try a lazy match */ l1 = len_of_coded_match(c,m_len,m_off); assert(l1 > 0); max_ahead = UCL_MIN((ucl_uint)sc->try_lazy, m_len - 1); } while (ahead < max_ahead && c->look > m_len) { if (m_len >= sc->good_length) s->max_chain = sc->max_chain >> 2; else s->max_chain = sc->max_chain; r = find_match(c,s,1,0); ahead++; assert(r == 0); assert(c->look > 0); assert(ii + lit + ahead == c->bp); if (c->m_len < 2) continue; #if defined(SWD_BEST_OFF) if (s->use_best_off) better_match(s,&c->m_len,&c->m_off); #endif l2 = len_of_coded_match(c,c->m_len,c->m_off); if (l2 < 0) continue; #if 1 if (l1 + (int)(ahead + c->m_len - m_len) * 5 > l2 + (int)(ahead) * 9) #else if (l1 > l2) #endif { c->lazy++; assert_match(s,c->m_len,c->m_off); #if 0 if (l3 > 0) { /* code previous run */ code_run(c,ii,lit); lit = 0; /* code shortened match */ code_match(c,ahead,m_off); } else #endif { lit += ahead; assert(ii + lit == c->bp); } goto lazy_match_done; } } assert(ii + lit + ahead == c->bp); /* 1 - code run */ code_run(c,ii,lit); lit = 0; /* 2 - code match */ code_match(c,m_len,m_off); s->max_chain = sc->max_chain; r = find_match(c,s,m_len,1+ahead); assert(r == 0); lazy_match_done: ; } /* store final run */ code_run(c,ii,lit); /* EOF */ bbPutBit(c, 0); #if defined(NRV2B) code_prefix_ss11(c, UCL_UINT32_C(0x1000000)); bbPutByte(c, 0xff); #elif defined(NRV2D) || defined(NRV2E) code_prefix_ss12(c, UCL_UINT32_C(0x1000000)); bbPutByte(c, 0xff); #else # error #endif bbFlushBits(c, 0); assert(c->textsize == in_len); c->codesize = (ucl_uint) (c->bb_op - out); *out_len = (ucl_uint) (c->bb_op - out); if (c->cb) (*c->cb->callback)(c->textsize,c->codesize,4,c->cb->user); #if 0 printf("%7ld %7ld -> %7ld %7ld %7ld %ld (max: %d %d %d)\n", (long) c->textsize, (long) in_len, (long) c->codesize, c->match_bytes, c->lit_bytes, c->lazy, c->result[1], c->result[3], c->result[5]); #endif assert(c->lit_bytes + c->match_bytes == in_len); swd_exit(s); #if !defined(s) ucl_free(s); #endif return UCL_E_OK; #undef s } /* vi:ts=4:et */ ucl-1.03/src/ucl_conf.h0000644000175000001440000001501710077051333011670 00000000000000/* ucl_conf.h -- main internal configuration file for the the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the library and is subject to change. */ #ifndef __UCL_CONF_H #define __UCL_CONF_H /*********************************************************************** // ************************************************************************/ #if defined(__UCLCONF_H_INCLUDED) # error "include this file first" #endif #include #if defined(UCL_HAVE_CONFIG_H) # define ACC_CONFIG_NO_HEADER 1 #endif #define __ACCLIB_FUNCNAME(f) error_do_not_use_acclib #include "acc/acc.h" #if (ACC_CC_MSC && (_MSC_VER >= 1300)) /* avoid `-Wall' warnings in system header files */ # pragma warning(disable: 4820) /* avoid warnings about inlining */ # pragma warning(disable: 4710 4711) #endif #if defined(__UCL_MMODEL_HUGE) && (!ACC_HAVE_MM_HUGE_PTR) # error "this should not happen - check defines for __huge" #endif #if !defined(__UCL_MMODEL_HUGE) && defined(HAVE_MEMCMP) # define ucl_memcmp(a,b,c) memcmp(a,b,c) #endif #if !defined(__UCL_MMODEL_HUGE) && defined(HAVE_MEMCPY) # define ucl_memcpy(a,b,c) memcpy(a,b,c) #endif #if !defined(__UCL_MMODEL_HUGE) && defined(HAVE_MEMMOVE) # define ucl_memmove(a,b,c) memmove(a,b,c) #endif #if !defined(__UCL_MMODEL_HUGE) && defined(HAVE_MEMSET) # define ucl_memset(a,b,c) memset(a,b,c) #endif #if (ACC_OS_DOS16 + 0 != UCL_OS_DOS16 + 0) # error "DOS16" #endif #if (ACC_OS_OS216 + 0 != UCL_OS_OS216 + 0) # error "OS216" #endif #if (ACC_OS_WIN16 + 0 != UCL_OS_WIN16 + 0) # error "WIN16" #endif #if (ACC_OS_DOS32 + 0 != UCL_OS_DOS32 + 0) # error "DOS32" #endif #if (ACC_OS_OS2 + 0 != UCL_OS_OS2 + 0) # error "DOS32" #endif #if (ACC_OS_WIN32 + 0 != UCL_OS_WIN32 + 0) # error "WIN32" #endif #if (ACC_OS_WIN64 + 0 != UCL_OS_WIN64 + 0) # error "WIN64" #endif #include "acc/acc_incd.h" #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) # include "acc/acc_ince.h" # include "acc/acc_inci.h" #endif #undef NDEBUG #if !defined(UCL_DEBUG) # define NDEBUG 1 #endif #include #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) && (ACC_CC_BORLANDC) # if (__BORLANDC__ >= 0x0450) /* v4.00 */ # pragma option -h /* enable fast huge pointers */ # else # pragma option -h- /* disable fast huge pointers - compiler bug */ # endif #endif /*********************************************************************** // ************************************************************************/ #if 1 # define UCL_BYTE(x) ((unsigned char) (x)) #else # define UCL_BYTE(x) ((unsigned char) ((x) & 0xff)) #endif #if 0 # define UCL_USHORT(x) ((unsigned short) (x)) #else # define UCL_USHORT(x) ((unsigned short) ((x) & 0xffff)) #endif #define UCL_MAX(a,b) ((a) >= (b) ? (a) : (b)) #define UCL_MIN(a,b) ((a) <= (b) ? (a) : (b)) #define UCL_MAX3(a,b,c) ((a) >= (b) ? UCL_MAX(a,c) : UCL_MAX(b,c)) #define UCL_MIN3(a,b,c) ((a) <= (b) ? UCL_MIN(a,c) : UCL_MIN(b,c)) #define ucl_sizeof(type) ((ucl_uint) (sizeof(type))) #define UCL_HIGH(array) ((ucl_uint) (sizeof(array)/sizeof(*(array)))) /* this always fits into 16 bits */ #define UCL_SIZE(bits) (1u << (bits)) #define UCL_MASK(bits) (UCL_SIZE(bits) - 1) #define UCL_LSIZE(bits) (1ul << (bits)) #define UCL_LMASK(bits) (UCL_LSIZE(bits) - 1) #define UCL_USIZE(bits) ((ucl_uint) 1 << (bits)) #define UCL_UMASK(bits) (UCL_USIZE(bits) - 1) /* Maximum value of a signed/unsigned type. Do not use casts, avoid overflows ! */ #define UCL_STYPE_MAX(b) (((1l << (8*(b)-2)) - 1l) + (1l << (8*(b)-2))) #define UCL_UTYPE_MAX(b) (((1ul << (8*(b)-1)) - 1ul) + (1ul << (8*(b)-1))) /*********************************************************************** // compiler and architecture specific stuff ************************************************************************/ /* Some defines that indicate if memory can be accessed at unaligned * memory addresses. You should also test that this is actually faster * even if it is allowed by your system. */ #undef UA_GET2 #undef UA_SET2 #undef UA_GET4 #undef UA_SET4 #if 1 && (ACC_ARCH_AMD64 || ACC_ARCH_IA32) # define UA_GET2(p) (* (const ucl_ushortp) (p)) # define UA_SET2(p) (* (ucl_ushortp) (p)) # define UA_GET4(p) (* (const acc_uint32e_t *) (p)) # define UA_SET4(p) (* (acc_uint32e_t *) (p)) #elif 0 && (ACC_ARCH_M68K) && (ACC_CC_GNUC >= 0x020900ul) typedef struct { unsigned short v; } __ucl_ua2_t __attribute__((__aligned__(1))); typedef struct { unsigned long v; } __ucl_ua4_t __attribute__((__aligned__(1))); # define UA_GET2(p) (((const __ucl_ua2_t *)(p))->v) # define UA_SET2(p) (((__ucl_ua2_t *)(p))->v) # define UA_GET4(p) (((const __ucl_ua4_t *)(p))->v) # define UA_SET4(p) (((__ucl_ua4_t *)(p))->v) #endif /*********************************************************************** // some globals ************************************************************************/ __UCL_EXTERN_C int __ucl_init_done; UCL_EXTERN(const ucl_bytep) ucl_copyright(void); /*********************************************************************** // ANSI C preprocessor macros ************************************************************************/ #define _UCL_STRINGIZE(x) #x #define _UCL_MEXPAND(x) _UCL_STRINGIZE(x) /*********************************************************************** // ************************************************************************/ #include "ucl_ptr.h" #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/src/ucl_dll.ch0000644000175000001440000000317410077051333011662 00000000000000/* ucl_dll.c -- DLL initialization of the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // Windows 16 bit + Watcom C + DLL ************************************************************************/ #if (ACC_OS_WIN16 && ACC_CC_WATCOMC) && defined(__SW_BD) /* don't pull in - we don't need it */ #if 0 BOOL FAR PASCAL LibMain ( HANDLE hInstance, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine ) #else int __far __pascal LibMain ( int a, short b, short c, long d ) #endif { ACC_UNUSED(a); ACC_UNUSED(b); ACC_UNUSED(c); ACC_UNUSED(d); return 1; } #endif /* vi:ts=4:et */ ucl-1.03/src/ucl_mchw.ch0000644000175000001440000001603510077051333012045 00000000000000/* ucl_mchw.ch -- matching functions using a window This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /*********************************************************************** // ************************************************************************/ typedef struct { int init; ucl_uint look; /* bytes in lookahead buffer */ ucl_uint m_len; ucl_uint m_off; ucl_uint last_m_len; ucl_uint last_m_off; const ucl_bytep bp; const ucl_bytep ip; const ucl_bytep in; const ucl_bytep in_end; ucl_bytep out; ucl_uint32 bb_b; unsigned bb_k; unsigned bb_c_endian; unsigned bb_c_s; unsigned bb_c_s8; ucl_bytep bb_p; ucl_bytep bb_op; struct ucl_compress_config_t conf; ucl_uintp result; ucl_progress_callback_p cb; ucl_uint textsize; /* text size counter */ ucl_uint codesize; /* code size counter */ ucl_uint printcount; /* counter for reporting progress every 1K bytes */ /* some stats */ unsigned long lit_bytes; unsigned long match_bytes; unsigned long rep_bytes; unsigned long lazy; } UCL_COMPRESS_T; #if (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) /* the cast is needed to work around a code generation bug */ #define getbyte(c) ((c).ip < (c).in_end ? (int) (unsigned) *((c).ip)++ : (-1)) #else #define getbyte(c) ((c).ip < (c).in_end ? *((c).ip)++ : (-1)) #endif #include "ucl_swd.ch" /*********************************************************************** // ************************************************************************/ static int init_match ( UCL_COMPRESS_T *c, ucl_swd_t *s, const ucl_bytep dict, ucl_uint dict_len, ucl_uint32 flags ) { int r; assert(!c->init); c->init = 1; s->c = c; c->last_m_len = c->last_m_off = 0; c->textsize = c->codesize = c->printcount = 0; c->lit_bytes = c->match_bytes = c->rep_bytes = 0; c->lazy = 0; r = swd_init(s,dict,dict_len); if (r != UCL_E_OK) { swd_exit(s); return r; } s->use_best_off = (flags & 1) ? 1 : 0; return UCL_E_OK; } /*********************************************************************** // ************************************************************************/ static int find_match ( UCL_COMPRESS_T *c, ucl_swd_t *s, ucl_uint this_len, ucl_uint skip ) { assert(c->init); if (skip > 0) { assert(this_len >= skip); swd_accept(s, this_len - skip); c->textsize += this_len - skip + 1; } else { assert(this_len <= 1); c->textsize += this_len - skip; } s->m_len = SWD_THRESHOLD; #ifdef SWD_BEST_OFF if (s->use_best_off) memset(s->best_pos,0,sizeof(s->best_pos)); #endif swd_findbest(s); c->m_len = s->m_len; #if defined(__UCL_CHECKER) /* s->m_off may be uninitialized if we didn't find a match, * but then its value will never be used. */ c->m_off = (s->m_len == SWD_THRESHOLD) ? 0 : s->m_off; #else c->m_off = s->m_off; #endif swd_getbyte(s); if (s->b_char < 0) { c->look = 0; c->m_len = 0; swd_exit(s); } else { c->look = s->look + 1; } c->bp = c->ip - c->look; #if 0 /* brute force match search */ if (c->m_len > SWD_THRESHOLD && c->m_len + 1 <= c->look) { const ucl_bytep ip = c->bp; const ucl_bytep m = c->bp - c->m_off; const ucl_bytep in = c->in; if (ip - in > s->n) in = ip - s->n; for (;;) { while (*in != *ip) in++; if (in == ip) break; if (in != m) if (memcmp(in,ip,c->m_len+1) == 0) printf("%p %p %p %5d\n",in,ip,m,c->m_len); in++; } } #endif if (c->cb && c->textsize > c->printcount) { (*c->cb->callback)(c->textsize,c->codesize,3,c->cb->user); c->printcount += 1024; } return UCL_E_OK; } /*********************************************************************** // bit buffer ************************************************************************/ static int bbConfig(UCL_COMPRESS_T *c, int endian, int bitsize) { if (endian != -1) { if (endian != 0) return UCL_E_ERROR; c->bb_c_endian = endian; } if (bitsize != -1) { if (bitsize != 8 && bitsize != 16 && bitsize != 32) return UCL_E_ERROR; c->bb_c_s = bitsize; c->bb_c_s8 = bitsize / 8; } c->bb_b = 0; c->bb_k = 0; c->bb_p = NULL; c->bb_op = NULL; return UCL_E_OK; } static void bbWriteBits(UCL_COMPRESS_T *c) { ucl_bytep p = c->bb_p; ucl_uint32 b = c->bb_b; p[0] = UCL_BYTE(b >> 0); if (c->bb_c_s >= 16) { p[1] = UCL_BYTE(b >> 8); if (c->bb_c_s == 32) { p[2] = UCL_BYTE(b >> 16); p[3] = UCL_BYTE(b >> 24); } } } static void bbPutBit(UCL_COMPRESS_T *c, unsigned bit) { assert(bit == 0 || bit == 1); assert(c->bb_k <= c->bb_c_s); if (c->bb_k < c->bb_c_s) { if (c->bb_k == 0) { assert(c->bb_p == NULL); c->bb_p = c->bb_op; c->bb_op += c->bb_c_s8; } assert(c->bb_p != NULL); assert(c->bb_p + c->bb_c_s8 <= c->bb_op); c->bb_b = (c->bb_b << 1) + bit; c->bb_k++; } else { assert(c->bb_p != NULL); assert(c->bb_p + c->bb_c_s8 <= c->bb_op); bbWriteBits(c); c->bb_p = c->bb_op; c->bb_op += c->bb_c_s8; c->bb_b = bit; c->bb_k = 1; } } static void bbPutByte(UCL_COMPRESS_T *c, unsigned b) { /**printf("putbyte %p %p %x (%d)\n", op, bb_p, x, bb_k);*/ assert(c->bb_p == NULL || c->bb_p + c->bb_c_s8 <= c->bb_op); *c->bb_op++ = UCL_BYTE(b); } static void bbFlushBits(UCL_COMPRESS_T *c, unsigned filler_bit) { if (c->bb_k > 0) { assert(c->bb_k <= c->bb_c_s); while (c->bb_k != c->bb_c_s) bbPutBit(c, filler_bit); bbWriteBits(c); c->bb_k = 0; } c->bb_p = NULL; } /* vi:ts=4:et */ ucl-1.03/src/ucl_ptr.h0000644000175000001440000000730310077051333011547 00000000000000/* ucl_ptr.h -- low-level pointer constructs This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the library and is subject to change. */ #ifndef __UCL_PTR_H #define __UCL_PTR_H #ifdef __cplusplus extern "C" { #endif /*********************************************************************** // Integral types ************************************************************************/ #if !defined(ucl_uintptr_t) # define ucl_uintptr_t acc_uintptr_t #endif /*********************************************************************** // ************************************************************************/ /* Always use the safe (=integral) version for pointer-comparisions. * The compiler should optimize away the additional casts anyway. * * Note that this only works if the representation and ordering * of the pointer and the integral is the same (at bit level). * * Most 16-bit compilers have their own view about pointers - * fortunately they don't care about comparing pointers * that are pointing to Nirvana. */ #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) #define PTR(a) ((ucl_bytep) (a)) /* only need the low bits of the pointer -> offset is ok */ #define PTR_ALIGNED_4(a) ((ACC_FP_OFF(a) & 3) == 0) #define PTR_ALIGNED2_4(a,b) (((ACC_FP_OFF(a) | ACC_FP_OFF(b)) & 3) == 0) #else #define PTR(a) ((ucl_uintptr_t) (a)) #define PTR_LINEAR(a) PTR(a) #define PTR_ALIGNED_4(a) ((PTR_LINEAR(a) & 3) == 0) #define PTR_ALIGNED_8(a) ((PTR_LINEAR(a) & 7) == 0) #define PTR_ALIGNED2_4(a,b) (((PTR_LINEAR(a) | PTR_LINEAR(b)) & 3) == 0) #define PTR_ALIGNED2_8(a,b) (((PTR_LINEAR(a) | PTR_LINEAR(b)) & 7) == 0) #endif #define PTR_LT(a,b) (PTR(a) < PTR(b)) #define PTR_GE(a,b) (PTR(a) >= PTR(b)) UCL_EXTERN(ucl_uintptr_t) __ucl_ptr_linear(const ucl_voidp ptr); typedef union { char a_char; unsigned char a_uchar; short a_short; unsigned short a_ushort; int a_int; unsigned int a_uint; long a_long; unsigned long a_ulong; ucl_int a_ucl_int; ucl_uint a_ucl_uint; ucl_int32 a_ucl_int32; ucl_uint32 a_ucl_uint32; ptrdiff_t a_ptrdiff_t; ucl_uintptr_t a_ucl_uintptr_t; ucl_voidp a_ucl_voidp; void * a_void_p; ucl_bytep a_ucl_bytep; ucl_bytepp a_ucl_bytepp; ucl_uintp a_ucl_uintp; ucl_uint * a_ucl_uint_p; ucl_uint32p a_ucl_uint32p; ucl_uint32 * a_ucl_uint32_p; unsigned char * a_uchar_p; char * a_char_p; } ucl_align_t; #ifdef __cplusplus } /* extern "C" */ #endif #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/src/ucl_swd.ch0000644000175000001440000003776410077051333011720 00000000000000/* ucl_swd.c -- sliding window dictionary This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #if (UCL_UINT_MAX < UCL_0xffffffffL) # error "UCL_UINT_MAX" #endif /*********************************************************************** // ************************************************************************/ /* unsigned type for dictionary access - don't waste memory here */ #if (0UL + SWD_N + SWD_F + SWD_F < 0UL + USHRT_MAX) typedef unsigned short swd_uint; # define SWD_UINT_MAX USHRT_MAX #else typedef ucl_uint swd_uint; # define SWD_UINT_MAX UCL_UINT_MAX #endif #define swd_uintp swd_uint __UCL_MMODEL * #define SWD_UINT(x) ((swd_uint)(x)) #ifndef SWD_MAX_CHAIN # define SWD_MAX_CHAIN 2048 #endif #define SWD_HSIZE (SWD_HMASK + 1) #if !defined(HEAD3) #if 1 # define HEAD3(b,p) \ (((0x9f5f*(((((ucl_uint32)b[p]<<5)^b[p+1])<<5)^b[p+2]))>>5) & SWD_HMASK) #else # define HEAD3(b,p) \ (((0x9f5f*(((((ucl_uint32)b[p+2]<<5)^b[p+1])<<5)^b[p]))>>5) & SWD_HMASK) #endif #endif #if !defined(HEAD2) #if (SWD_THRESHOLD == 1) # if 1 && defined(UA_GET2) # define HEAD2(b,p) UA_GET2(&(b[p])) # else # define HEAD2(b,p) (b[p] ^ ((unsigned)b[p+1]<<8)) # endif # define NIL2 SWD_UINT_MAX #endif #endif #if defined(__UCL_CHECKER) /* malloc arrays of the exact size to detect any overrun */ # ifndef SWD_USE_MALLOC # define SWD_USE_MALLOC # endif #endif typedef struct { /* public - "built-in" */ ucl_uint n; ucl_uint f; ucl_uint threshold; ucl_uint hmask; /* public - configuration */ ucl_uint max_chain; ucl_uint nice_length; ucl_bool use_best_off; ucl_uint lazy_insert; /* public - output */ ucl_uint m_len; ucl_uint m_off; ucl_uint look; int b_char; #if defined(SWD_BEST_OFF) ucl_uint best_off[ SWD_BEST_OFF ]; #endif /* semi public */ UCL_COMPRESS_T *c; ucl_uint m_pos; #if defined(SWD_BEST_OFF) ucl_uint best_pos[ SWD_BEST_OFF ]; #endif /* private */ const ucl_bytep dict; const ucl_bytep dict_end; ucl_uint dict_len; /* private */ ucl_uint ip; /* input pointer (lookahead) */ ucl_uint bp; /* buffer pointer */ ucl_uint rp; /* remove pointer */ ucl_uint b_size; ucl_bytep b_wrap; ucl_uint node_count; ucl_uint first_rp; #if defined(SWD_USE_MALLOC) ucl_bytep b; swd_uintp head3; swd_uintp succ3; swd_uintp best3; swd_uintp llen3; #ifdef HEAD2 swd_uintp head2; #ifdef HEAD2_VAR int use_head2; #endif #endif #else unsigned char b [ SWD_N + SWD_F + SWD_F ]; swd_uint head3 [ SWD_HSIZE ]; swd_uint succ3 [ SWD_N + SWD_F ]; swd_uint best3 [ SWD_N + SWD_F ]; swd_uint llen3 [ SWD_HSIZE ]; #ifdef HEAD2 swd_uint head2 [ UCL_UINT32_C(65536) ]; #endif #endif } ucl_swd_t; /* Access macro for head3. * head3[key] may be uninitialized if the list is emtpy, * but then its value will never be used. */ #if defined(__UCL_CHECKER) # define s_get_head3(s,key) \ ((s->llen3[key] == 0) ? SWD_UINT_MAX : s->head3[key]) #else # define s_get_head3(s,key) s->head3[key] #endif /*********************************************************************** // ************************************************************************/ static void swd_initdict(ucl_swd_t *s, const ucl_bytep dict, ucl_uint dict_len) { s->dict = s->dict_end = NULL; s->dict_len = 0; if (!dict || dict_len <= 0) return; if (dict_len > s->n) { dict += dict_len - s->n; dict_len = s->n; } s->dict = dict; s->dict_len = dict_len; s->dict_end = dict + dict_len; ucl_memcpy(s->b,dict,dict_len); s->ip = dict_len; } static void swd_insertdict(ucl_swd_t *s, ucl_uint node, ucl_uint len) { ucl_uint key; s->node_count = s->n - len; s->first_rp = node; while (len-- > 0) { key = HEAD3(s->b,node); s->succ3[node] = s_get_head3(s,key); s->head3[key] = SWD_UINT(node); s->best3[node] = SWD_UINT(s->f + 1); s->llen3[key]++; assert(s->llen3[key] <= s->n); #ifdef HEAD2 IF_HEAD2(s) { key = HEAD2(s->b,node); s->head2[key] = SWD_UINT(node); } #endif node++; } } /*********************************************************************** // ************************************************************************/ static int swd_init(ucl_swd_t *s, const ucl_bytep dict, ucl_uint dict_len) { #if defined(SWD_USE_MALLOC) s->b = NULL; s->head3 = NULL; s->succ3 = NULL; s->best3 = NULL; s->llen3 = NULL; #ifdef HEAD2 s->head2 = NULL; #endif #endif if (s->n == 0) s->n = SWD_N; if (s->f == 0) s->f = SWD_F; s->threshold = SWD_THRESHOLD; if (s->n > SWD_N || s->f > SWD_F) return UCL_E_INVALID_ARGUMENT; #if defined(SWD_USE_MALLOC) s->b = (ucl_bytep) ucl_malloc(s->n + s->f + s->f); s->head3 = (swd_uintp) ucl_alloc(SWD_HSIZE, sizeof(*s->head3)); s->succ3 = (swd_uintp) ucl_alloc(s->n + s->f, sizeof(*s->succ3)); s->best3 = (swd_uintp) ucl_alloc(s->n + s->f, sizeof(*s->best3)); s->llen3 = (swd_uintp) ucl_alloc(SWD_HSIZE, sizeof(*s->llen3)); if (!s->b || !s->head3 || !s->succ3 || !s->best3 || !s->llen3) return UCL_E_OUT_OF_MEMORY; #ifdef HEAD2 IF_HEAD2(s) { s->head2 = (swd_uintp) ucl_alloc(UCL_UINT32_C(65536), sizeof(*s->head2)); if (!s->head2) return UCL_E_OUT_OF_MEMORY; } #endif #endif /* defaults */ s->max_chain = SWD_MAX_CHAIN; s->nice_length = s->f; s->use_best_off = 0; s->lazy_insert = 0; s->b_size = s->n + s->f; if (s->b_size + s->f >= SWD_UINT_MAX) return UCL_E_ERROR; s->b_wrap = s->b + s->b_size; s->node_count = s->n; ucl_memset(s->llen3, 0, (ucl_uint)sizeof(s->llen3[0]) * SWD_HSIZE); #ifdef HEAD2 IF_HEAD2(s) { #if 1 ucl_memset(s->head2, 0xff, (ucl_uint)sizeof(s->head2[0]) * UCL_UINT32_C(65536)); assert(s->head2[0] == NIL2); #else ucl_uint32 i; for (i = 0; i < UCL_UINT32_C(65536); i++) s->head2[i] = NIL2; #endif } #endif s->ip = 0; swd_initdict(s,dict,dict_len); s->bp = s->ip; s->first_rp = s->ip; assert(s->ip + s->f <= s->b_size); #if 1 s->look = (ucl_uint) (s->c->in_end - s->c->ip); if (s->look > 0) { if (s->look > s->f) s->look = s->f; ucl_memcpy(&s->b[s->ip],s->c->ip,s->look); s->c->ip += s->look; s->ip += s->look; } #else s->look = 0; while (s->look < s->f) { int c; if ((c = getbyte(*(s->c))) < 0) break; s->b[s->ip] = UCL_BYTE(c); s->ip++; s->look++; } #endif if (s->ip == s->b_size) s->ip = 0; if (s->look >= 2 && s->dict_len > 0) swd_insertdict(s,0,s->dict_len); s->rp = s->first_rp; if (s->rp >= s->node_count) s->rp -= s->node_count; else s->rp += s->b_size - s->node_count; #if defined(__UCL_CHECKER) /* initialize memory for the first few HEAD3 (if s->ip is not far * enough ahead to do this job for us). The value doesn't matter. */ if (s->look < 3) ucl_memset(&s->b[s->bp+s->look],0,3); #endif return UCL_E_OK; } static void swd_exit(ucl_swd_t *s) { #if defined(SWD_USE_MALLOC) /* free in reverse order of allocations */ #ifdef HEAD2 ucl_free(s->head2); s->head2 = NULL; #endif ucl_free(s->llen3); s->llen3 = NULL; ucl_free(s->best3); s->best3 = NULL; ucl_free(s->succ3); s->succ3 = NULL; ucl_free(s->head3); s->head3 = NULL; ucl_free(s->b); s->b = NULL; #else ACC_UNUSED(s); #endif } #define swd_pos2off(s,pos) \ (s->bp > (pos) ? s->bp - (pos) : s->b_size - ((pos) - s->bp)) /*********************************************************************** // ************************************************************************/ static void swd_getbyte(ucl_swd_t *s) { int c; if ((c = getbyte(*(s->c))) < 0) { if (s->look > 0) --s->look; #if defined(__UCL_CHECKER) /* initialize memory - value doesn't matter */ s->b[s->ip] = 0; if (s->ip < s->f) s->b_wrap[s->ip] = 0; #endif } else { s->b[s->ip] = UCL_BYTE(c); if (s->ip < s->f) s->b_wrap[s->ip] = UCL_BYTE(c); } if (++s->ip == s->b_size) s->ip = 0; if (++s->bp == s->b_size) s->bp = 0; if (++s->rp == s->b_size) s->rp = 0; } /*********************************************************************** // remove node from lists ************************************************************************/ static void swd_remove_node(ucl_swd_t *s, ucl_uint node) { if (s->node_count == 0) { ucl_uint key; #ifdef UCL_DEBUG if (s->first_rp != UCL_UINT_MAX) { if (node != s->first_rp) printf("Remove %5u: %5u %5u %5u %5u %6u %6u\n", node, s->rp, s->ip, s->bp, s->first_rp, s->ip - node, s->ip - s->bp); assert(node == s->first_rp); s->first_rp = UCL_UINT_MAX; } #endif key = HEAD3(s->b,node); assert(s->llen3[key] > 0); --s->llen3[key]; #ifdef HEAD2 IF_HEAD2(s) { key = HEAD2(s->b,node); assert(s->head2[key] != NIL2); if ((ucl_uint) s->head2[key] == node) s->head2[key] = NIL2; } #endif } else --s->node_count; } /*********************************************************************** // ************************************************************************/ static void swd_accept(ucl_swd_t *s, ucl_uint n) { assert(n <= s->look); if (n > 0) do { ucl_uint key; swd_remove_node(s,s->rp); /* add bp into HEAD3 */ key = HEAD3(s->b,s->bp); s->succ3[s->bp] = s_get_head3(s,key); s->head3[key] = SWD_UINT(s->bp); s->best3[s->bp] = SWD_UINT(s->f + 1); s->llen3[key]++; assert(s->llen3[key] <= s->n); #ifdef HEAD2 IF_HEAD2(s) { /* add bp into HEAD2 */ key = HEAD2(s->b,s->bp); s->head2[key] = SWD_UINT(s->bp); } #endif swd_getbyte(s); } while (--n > 0); } /*********************************************************************** // ************************************************************************/ static void swd_search(ucl_swd_t *s, ucl_uint node, ucl_uint cnt) { const ucl_bytep p1; const ucl_bytep p2; const ucl_bytep px; ucl_uint m_len = s->m_len; const ucl_bytep b = s->b; const ucl_bytep bp = s->b + s->bp; const ucl_bytep bx = s->b + s->bp + s->look; unsigned char scan_end1; assert(s->m_len > 0); scan_end1 = bp[m_len - 1]; for ( ; cnt-- > 0; node = s->succ3[node]) { p1 = bp; p2 = b + node; px = bx; assert(m_len < s->look); if ( #if 1 p2[m_len - 1] == scan_end1 && p2[m_len] == p1[m_len] && #endif p2[0] == p1[0] && p2[1] == p1[1]) { ucl_uint i; assert(ucl_memcmp(bp,&b[node],3) == 0); #if 0 && defined(UA_GET4) p1 += 3; p2 += 3; while (p1 < px && UA_GET4(p1) == UA_GET4(p2)) p1 += 4, p2 += 4; while (p1 < px && *p1 == *p2) p1 += 1, p2 += 1; #else p1 += 2; p2 += 2; do {} while (++p1 < px && *p1 == *++p2); #endif i = (ucl_uint) (p1 - bp); #ifdef UCL_DEBUG if (ucl_memcmp(bp,&b[node],i) != 0) printf("%5ld %5ld %02x%02x %02x%02x\n", (long)s->bp, (long) node, bp[0], bp[1], b[node], b[node+1]); #endif assert(ucl_memcmp(bp,&b[node],i) == 0); #if defined(SWD_BEST_OFF) if (i < SWD_BEST_OFF) { if (s->best_pos[i] == 0) s->best_pos[i] = node + 1; } #endif if (i > m_len) { s->m_len = m_len = i; s->m_pos = node; if (m_len == s->look) return; if (m_len >= s->nice_length) return; if (m_len > (ucl_uint) s->best3[node]) return; scan_end1 = bp[m_len - 1]; } } } } /*********************************************************************** // ************************************************************************/ #ifdef HEAD2 static ucl_bool swd_search2(ucl_swd_t *s) { ucl_uint key; assert(s->look >= 2); assert(s->m_len > 0); key = s->head2[ HEAD2(s->b,s->bp) ]; if (key == NIL2) return 0; #ifdef UCL_DEBUG if (ucl_memcmp(&s->b[s->bp],&s->b[key],2) != 0) printf("%5ld %5ld %02x%02x %02x%02x\n", (long)s->bp, (long)key, s->b[s->bp], s->b[s->bp+1], s->b[key], s->b[key+1]); #endif assert(ucl_memcmp(&s->b[s->bp],&s->b[key],2) == 0); #if defined(SWD_BEST_OFF) if (s->best_pos[2] == 0) s->best_pos[2] = key + 1; #endif if (s->m_len < 2) { s->m_len = 2; s->m_pos = key; } return 1; } #endif /*********************************************************************** // ************************************************************************/ static void swd_findbest(ucl_swd_t *s) { ucl_uint key; ucl_uint cnt, node; ucl_uint len; assert(s->m_len > 0); /* get current head, add bp into HEAD3 */ key = HEAD3(s->b,s->bp); node = s->succ3[s->bp] = s_get_head3(s,key); cnt = s->llen3[key]++; assert(s->llen3[key] <= s->n + s->f); if (cnt > s->max_chain && s->max_chain > 0) cnt = s->max_chain; s->head3[key] = SWD_UINT(s->bp); s->b_char = s->b[s->bp]; len = s->m_len; if (s->m_len >= s->look) { if (s->look == 0) s->b_char = -1; s->m_off = 0; s->best3[s->bp] = SWD_UINT(s->f + 1); } else { #if defined(HEAD2_VAR) if (s->use_head2) { if (swd_search2(s) && s->look >= 3) swd_search(s,node,cnt); } else { if (s->look >= 3) swd_search(s,node,cnt); } #elif defined(HEAD2) if (swd_search2(s) && s->look >= 3) swd_search(s,node,cnt); #else if (s->look >= 3) swd_search(s,node,cnt); #endif if (s->m_len > len) s->m_off = swd_pos2off(s,s->m_pos); s->best3[s->bp] = SWD_UINT(s->m_len); #if defined(SWD_BEST_OFF) if (s->use_best_off) { int i; for (i = 2; i < SWD_BEST_OFF; i++) if (s->best_pos[i] > 0) s->best_off[i] = swd_pos2off(s,s->best_pos[i]-1); else s->best_off[i] = 0; } #endif } swd_remove_node(s,s->rp); #ifdef HEAD2 /* add bp into HEAD2 */ IF_HEAD2(s) { key = HEAD2(s->b,s->bp); s->head2[key] = SWD_UINT(s->bp); } #endif } #undef HEAD3 #undef HEAD2 #undef IF_HEAD2 #undef s_get_head3 /* vi:ts=4:et */ ucl-1.03/examples/0000777000175000001440000000000010077051333011036 500000000000000ucl-1.03/examples/Makefile.am0000644000175000001440000000053010077051333013004 00000000000000## Process this file with automake to create Makefile.in # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) noinst_PROGRAMS = simple uclpack simple_SOURCES = simple.c uclpack_SOURCES = uclpack.c LDADD = ../src/libucl.la DEPENDENCIES = ../src/libucl.la EXTRA_DIST = portab.h portab_a.h ucl-1.03/examples/Makefile.in0000644000175000001440000003372410077051333013030 00000000000000# Makefile.in generated by automake 1.8.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer # SOURCES = $(simple_SOURCES) $(uclpack_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ noinst_PROGRAMS = simple$(EXEEXT) uclpack$(EXEEXT) subdir = examples DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/acconfig/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) am_simple_OBJECTS = simple.$(OBJEXT) simple_OBJECTS = $(am_simple_OBJECTS) simple_LDADD = $(LDADD) simple_DEPENDENCIES = ../src/libucl.la am_uclpack_OBJECTS = uclpack.$(OBJEXT) uclpack_OBJECTS = $(am_uclpack_OBJECTS) uclpack_LDADD = $(LDADD) uclpack_DEPENDENCIES = ../src/libucl.la DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/acconfig/depcomp am__depfiles_maybe = depfiles @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/simple.Po ./$(DEPDIR)/uclpack.Po COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(simple_SOURCES) $(uclpack_SOURCES) DIST_SOURCES = $(simple_SOURCES) $(uclpack_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UCL_ASM_VPATH = @UCL_ASM_VPATH@ UCL_CFLAGS = @UCL_CFLAGS@ UCL_CPPFLAGS = @UCL_CPPFLAGS@ UCL_EXTRA_CFLAGS = @UCL_EXTRA_CFLAGS@ UCL_EXTRA_CPPFLAGS = @UCL_EXTRA_CPPFLAGS@ UCL_USE_ASM_FALSE = @UCL_USE_ASM_FALSE@ UCL_USE_ASM_TRUE = @UCL_USE_ASM_TRUE@ VERSION = @VERSION@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ configure_CFLAGS = @configure_CFLAGS@ configure_CPPFLAGS = @configure_CPPFLAGS@ datadir = @datadir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) simple_SOURCES = simple.c uclpack_SOURCES = uclpack.c LDADD = ../src/libucl.la DEPENDENCIES = ../src/libucl.la EXTRA_DIST = portab.h portab_a.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign examples/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign examples/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done simple$(EXEEXT): $(simple_OBJECTS) $(simple_DEPENDENCIES) @rm -f simple$(EXEEXT) $(LINK) $(simple_LDFLAGS) $(simple_OBJECTS) $(simple_LDADD) $(LIBS) uclpack$(EXEEXT): $(uclpack_OBJECTS) $(uclpack_DEPENDENCIES) @rm -f uclpack$(EXEEXT) $(LINK) $(uclpack_LDFLAGS) $(uclpack_OBJECTS) $(uclpack_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uclpack.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ucl-1.03/examples/simple.c0000644000175000001440000001126210077051333012411 00000000000000/* simple.c -- the annotated simple example program for the UCL library This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include #if defined(UCL_USE_ASM) # include #endif /* portability layer */ #define WANT_UCL_MALLOC 1 #include "examples/portab.h" /************************************************************************* // This program shows the basic usage of the UCL library. // We will compress a block of data and decompress again. **************************************************************************/ int __acc_cdecl_main main(int argc, char *argv[]) { int r; ucl_bytep in; ucl_bytep out; ucl_uint in_len; ucl_uint out_len; ucl_uint new_len; int level = 5; /* compression level (1-10) */ if (argc < 0 && argv == NULL) /* avoid warning about unused args */ return 0; printf("\nUCL data compression library (v%s, %s).\n", ucl_version_string(), ucl_version_date()); printf("Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer\n"); printf("http://www.oberhumer.com/opensource/ucl/\n\n"); /* * Step 1: initialize the UCL library */ if (ucl_init() != UCL_E_OK) { printf("internal error - ucl_init() failed !!!\n"); printf("(this usually indicates a compiler bug - try recompiling\nwithout optimizations, and enable `-DUCL_DEBUG' for diagnostics)\n"); return 1; } /* * Step 2: setup memory * * We want to compress the data block at `in' with length `in_len' to * the block at `out'. Because the input block may be incompressible, * we must provide a little more output space in case that compression * is not possible. */ in_len = 256 * 1024L; #if defined(ACC_MM_AHSHIFT) /* reduce memory requirements for ancient 640kB DOS real-mode */ if (ACC_MM_AHSHIFT != 3) in_len = 16 * 1024L; #endif out_len = in_len + in_len / 8 + 256; in = (ucl_bytep) ucl_malloc(in_len); out = (ucl_bytep) ucl_malloc(out_len); if (in == NULL || out == NULL) { printf("out of memory\n"); return 2; } /* * Step 3: prepare the input block that will get compressed. * We just fill it with zeros in this example program, * but you would use your real-world data here. */ ucl_memset(in, 0, in_len); /* * Step 4: compress from `in' to `out' with UCL NRV2B */ r = ucl_nrv2b_99_compress(in,in_len,out,&out_len,NULL,level,NULL,NULL); if (r == UCL_E_OUT_OF_MEMORY) { printf("out of memory in compress\n"); return 3; } if (r == UCL_E_OK) printf("compressed %lu bytes into %lu bytes\n", (unsigned long) in_len, (unsigned long) out_len); else { /* this should NEVER happen */ printf("internal error - compression failed: %d\n", r); return 4; } /* check for an incompressible block */ if (out_len >= in_len) { printf("This block contains incompressible data.\n"); return 0; } /* * Step 5: decompress again, now going back from `out' to `in' */ new_len = in_len; #if defined(UCL_USE_ASM) r = ucl_nrv2b_decompress_asm_8(out,out_len,in,&new_len,NULL); #else r = ucl_nrv2b_decompress_8(out,out_len,in,&new_len,NULL); #endif if (r == UCL_E_OK && new_len == in_len) printf("decompressed %lu bytes back into %lu bytes\n", (unsigned long) out_len, (unsigned long) in_len); else { /* this should NEVER happen */ printf("internal error - decompression failed: %d\n", r); return 5; } ucl_free(out); ucl_free(in); printf("\n"); #if defined(UCL_USE_ASM) printf("i386 assembler version is enabled.\n"); #endif printf("Simple compression test passed.\n"); return 0; } /* vi:ts=4:et */ ucl-1.03/examples/uclpack.c0000644000175000001440000005761110077051333012552 00000000000000/* uclpack.c -- example program: a simple file packer This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /************************************************************************* // NOTE: this is an example program, so do not use to backup your data. // // This program lacks things like sophisticated file handling but is // pretty complete regarding compression - it should provide a good // starting point for adaption for you applications. **************************************************************************/ #include #if defined(UCL_USE_ASM) # include #endif #if 1 && defined(UCL_USE_ASM) /* use assembler versions of the decompressors */ # define ucl_nrv2b_decompress_8 ucl_nrv2b_decompress_asm_8 # define ucl_nrv2b_decompress_safe_8 ucl_nrv2b_decompress_asm_safe_8 # define ucl_nrv2d_decompress_8 ucl_nrv2d_decompress_asm_8 # define ucl_nrv2d_decompress_safe_8 ucl_nrv2d_decompress_asm_safe_8 # define ucl_nrv2e_decompress_8 ucl_nrv2e_decompress_asm_8 # define ucl_nrv2e_decompress_safe_8 ucl_nrv2e_decompress_asm_safe_8 #endif /* benchmark setup - do not introduce floating point dependencies for DOS16 */ #if !defined(WITH_TIMER) && !defined(UCL_OS_DOS16) # define WITH_TIMER 1 #endif /* portability layer */ #define WANT_UCL_MALLOC 1 #define WANT_UCL_FREAD 1 #if defined(WITH_TIMER) #define WANT_UCL_UCLOCK 1 #endif #define WANT_UCL_WILDARGV 1 #include "examples/portab.h" static const char *progname = NULL; static unsigned long total_in = 0; static unsigned long total_out = 0; static int opt_debug = 0; /* use option `-F' for faster operation - then we don't compute or verify * a checksum and always use the fast decompressor */ static ucl_bool opt_fast = 0; /* magic file header for compressed files */ static const unsigned char magic[8] = { 0x00, 0xe9, 0x55, 0x43, 0x4c, 0xff, 0x01, 0x1a }; /* benchmark */ #if defined(WITH_TIMER) static ucl_uclock_handle_t uc; static double benchmark_bytes; static double benchmark_secs; #endif /************************************************************************* // file IO **************************************************************************/ ucl_uint xread(FILE *f, ucl_voidp buf, ucl_uint len, ucl_bool allow_eof) { ucl_uint l; l = (ucl_uint) ucl_fread(f,buf,len); if (l > len) { fprintf(stderr,"\nsomething's wrong with your C library !!!\n"); exit(1); } if (l != len && !allow_eof) { fprintf(stderr,"\nread error - premature end of file\n"); exit(1); } total_in += l; return l; } ucl_uint xwrite(FILE *f, const ucl_voidp buf, ucl_uint len) { ucl_uint l; if (f != NULL) { l = (ucl_uint) ucl_fwrite(f,buf,len); if (l != len) { fprintf(stderr,"\nwrite error [%ld %ld] (disk full ?)\n", (long)len, (long)l); exit(1); } } total_out += len; return len; } int xgetc(FILE *f) { unsigned char c; xread(f,(ucl_voidp) &c,1,0); return c; } void xputc(FILE *f, int c) { unsigned char cc = (unsigned char) c; xwrite(f,(const ucl_voidp) &cc,1); } /* read and write portable 32-bit integers */ ucl_uint32 xread32(FILE *f) { unsigned char b[4]; ucl_uint32 v; xread(f,b,4,0); v = (ucl_uint32) b[3] << 0; v |= (ucl_uint32) b[2] << 8; v |= (ucl_uint32) b[1] << 16; v |= (ucl_uint32) b[0] << 24; return v; } void xwrite32(FILE *f, ucl_uint32 v) { unsigned char b[4]; b[3] = (unsigned char) (v >> 0); b[2] = (unsigned char) (v >> 8); b[1] = (unsigned char) (v >> 16); b[0] = (unsigned char) (v >> 24); xwrite(f,b,4); } /************************************************************************* // util **************************************************************************/ static ucl_uint get_overhead(int method, ucl_uint size) { if (method == 0x2b || method == 0x2d || method == 0x2e) return size / 8 + 256; return 0; } static char method_name[64]; static ucl_bool set_method_name(int method, int level) { method_name[0] = 0; if (level < 1 || level > 10) return 0; if (method == 0x2b) sprintf(method_name,"NRV2B-99/%d", level); else if (method == 0x2d) sprintf(method_name,"NRV2D-99/%d", level); else if (method == 0x2e) sprintf(method_name,"NRV2E-99/%d", level); else return 0; return 1; } /************************************************************************* // compress **************************************************************************/ int do_compress(FILE *fi, FILE *fo, int method, int level, ucl_uint block_size) { int r = 0; ucl_bytep in = NULL; ucl_bytep out = NULL; ucl_uint in_len; ucl_uint out_len; ucl_uint32 flags = opt_fast ? 0 : 1; ucl_uint32 checksum; ucl_uint overhead = 0; #if defined(WITH_TIMER) ucl_uclock_t t_start, t_stop; #endif total_in = total_out = 0; /* * Step 1: write magic header, flags & block size, init checksum */ xwrite(fo,magic,sizeof(magic)); xwrite32(fo,flags); xputc(fo,method); /* compression method */ xputc(fo,level); /* compression level */ xwrite32(fo,block_size); checksum = ucl_adler32(0,NULL,0); /* * Step 2: allocate compression buffers and work-memory */ overhead = get_overhead(method,block_size); in = (ucl_bytep) ucl_malloc(block_size); out = (ucl_bytep) ucl_malloc(block_size + overhead); if (in == NULL || out == NULL) { printf("%s: out of memory\n", progname); r = 1; goto err; } /* * Step 3: process blocks */ for (;;) { /* read block */ in_len = xread(fi,in,block_size,1); if (in_len <= 0) break; /* update checksum */ if (flags & 1) checksum = ucl_adler32(checksum,in,in_len); #if defined(WITH_TIMER) ucl_uclock_read(&uc, &t_start); #endif /* compress block */ r = UCL_E_ERROR; out_len = 0; if (method == 0x2b) r = ucl_nrv2b_99_compress(in,in_len,out,&out_len,0,level,NULL,NULL); else if (method == 0x2d) r = ucl_nrv2d_99_compress(in,in_len,out,&out_len,0,level,NULL,NULL); else if (method == 0x2e) r = ucl_nrv2e_99_compress(in,in_len,out,&out_len,0,level,NULL,NULL); if (r == UCL_E_OUT_OF_MEMORY) { printf("%s: out of memory in compress\n", progname); r = 1; goto err; } if (r != UCL_E_OK || out_len > in_len + get_overhead(method,in_len)) { /* this should NEVER happen */ printf("internal error - compression failed: %d\n", r); r = 2; goto err; } #if defined(WITH_TIMER) ucl_uclock_read(&uc, &t_stop); benchmark_bytes += in_len; benchmark_secs += ucl_uclock_get_elapsed(&uc, &t_start, &t_stop); #endif /* write uncompressed block size */ xwrite32(fo,in_len); if (out_len < in_len) { /* write compressed block */ xwrite32(fo,out_len); xwrite(fo,out,out_len); } else { /* not compressible - write uncompressed block */ xwrite32(fo,in_len); xwrite(fo,in,in_len); } } /* write EOF marker */ xwrite32(fo,0); /* write checksum */ if (flags & 1) xwrite32(fo,checksum); r = 0; err: ucl_free(out); ucl_free(in); return r; } /************************************************************************* // decompression benchmark **************************************************************************/ #if defined(WITH_TIMER) void do_decompress_benchmark(int method, unsigned long benchmark_loops, const ucl_bytep in, ucl_uint in_len, ucl_bytep out, ucl_uint out_len) { ucl_uclock_t t_start, t_stop; ucl_uclock_read(&uc, &t_start); while (benchmark_loops-- > 0) { int r = -1; ucl_uint new_len = out_len; #if 1 && defined(UCL_USE_ASM) /* use fast assembler versions of the decompressors - see * asm/i386/00README.ASM for more info */ if (method == 0x2b) r = ucl_nrv2b_decompress_asm_fast_8(in,in_len,out,&new_len,NULL); else if (method == 0x2d) r = ucl_nrv2d_decompress_asm_fast_8(in,in_len,out,&new_len,NULL); else if (method == 0x2e) r = ucl_nrv2e_decompress_asm_fast_8(in,in_len,out,&new_len,NULL); #else if (method == 0x2b) r = ucl_nrv2b_decompress_8(in,in_len,out,&new_len,NULL); else if (method == 0x2d) r = ucl_nrv2d_decompress_8(in,in_len,out,&new_len,NULL); else if (method == 0x2e) r = ucl_nrv2e_decompress_8(in,in_len,out,&new_len,NULL); #endif if (r != UCL_E_OK || new_len != out_len) { printf("%s: compressed data violation: error %d (0x%x: %ld/%ld/%ld)\n", progname, r, method, (long) in_len, (long) out_len, (long) new_len); printf("%s: unexpected failure in benchmark -- exiting.\n", progname); exit(1); } benchmark_bytes += out_len; } ucl_uclock_read(&uc, &t_stop); benchmark_secs += ucl_uclock_get_elapsed(&uc, &t_start, &t_stop); } #endif /* WITH_TIMER */ /************************************************************************* // decompress / test // // We are using in-place decompression here. **************************************************************************/ int do_decompress(FILE *fi, FILE *fo, unsigned long benchmark_loops) { int r = 0; ucl_bytep buf = NULL; ucl_uint buf_len; unsigned char m [ sizeof(magic) ]; ucl_uint32 flags; int method; int level; ucl_uint block_size; ucl_uint32 checksum; ucl_uint overhead = 0; total_in = total_out = 0; /* * Step 1: check magic header, read flags & block size, init checksum */ if (xread(fi,m,sizeof(magic),1) != sizeof(magic) || memcmp(m,magic,sizeof(magic)) != 0) { printf("%s: header error - this file is not compressed by uclpack\n", progname); r = 1; goto err; } flags = xread32(fi); method = xgetc(fi); level = xgetc(fi); block_size = xread32(fi); overhead = get_overhead(method, block_size); if (overhead == 0 || !set_method_name(method, level)) { printf("%s: header error - invalid method %d (level %d)\n", progname, method, level); r = 2; goto err; } if (block_size < 1024 || block_size > 8*1024*1024L) { printf("%s: header error - invalid block size %ld\n", progname, (long) block_size); r = 3; goto err; } printf("%s: block-size is %ld bytes\n", progname, (long)block_size); checksum = ucl_adler32(0,NULL,0); /* * Step 2: allocate buffer for in-place decompression */ buf_len = block_size + overhead; if (benchmark_loops > 0) { /* cannot use in-place decompression when doing benchmarks */ buf_len += block_size; } buf = (ucl_bytep) ucl_malloc(buf_len); if (buf == NULL) { printf("%s: out of memory\n", progname); r = 4; goto err; } /* * Step 3: process blocks */ for (;;) { ucl_bytep in; ucl_bytep out; ucl_uint in_len; ucl_uint out_len; /* read uncompressed size */ out_len = xread32(fi); /* exit if last block (EOF marker) */ if (out_len == 0) break; /* read compressed size */ in_len = xread32(fi); /* sanity check of the size values */ if (in_len > block_size || out_len > block_size || in_len == 0 || in_len > out_len) { printf("%s: block size error - data corrupted\n", progname); r = 5; goto err; } /* place compressed block at the top of the buffer */ in = buf + buf_len - in_len; out = buf; /* read compressed block data */ xread(fi,in,in_len,0); if (in_len < out_len) { /* decompress - use safe decompressor as data might be corrupted */ ucl_uint new_len = out_len; if (method == 0x2b) { if (opt_fast) r = ucl_nrv2b_decompress_8(in,in_len,out,&new_len,NULL); else r = ucl_nrv2b_decompress_safe_8(in,in_len,out,&new_len,NULL); } else if (method == 0x2d) { if (opt_fast) r = ucl_nrv2d_decompress_8(in,in_len,out,&new_len,NULL); else r = ucl_nrv2d_decompress_safe_8(in,in_len,out,&new_len,NULL); } else if (method == 0x2e) { if (opt_fast) r = ucl_nrv2e_decompress_8(in,in_len,out,&new_len,NULL); else r = ucl_nrv2e_decompress_safe_8(in,in_len,out,&new_len,NULL); } if (r != UCL_E_OK || new_len != out_len) { printf("%s: compressed data violation: error %d (0x%x: %ld/%ld/%ld)\n", progname, r, method, (long) in_len, (long) out_len, (long) new_len); r = 6; goto err; } /* write decompressed block */ xwrite(fo,out,out_len); /* update checksum */ if ((flags & 1) && !opt_fast) checksum = ucl_adler32(checksum,out,out_len); #if defined(WITH_TIMER) if (benchmark_loops > 0) do_decompress_benchmark(method,benchmark_loops,in,in_len,out,out_len); #endif } else { /* write original (incompressible) block */ xwrite(fo,in,in_len); /* update checksum */ if ((flags & 1) && !opt_fast) checksum = ucl_adler32(checksum,in,in_len); } } /* read and verify checksum */ if (flags & 1) { ucl_uint32 c = xread32(fi); if (!opt_fast && c != checksum) { printf("%s: checksum error - data corrupted\n", progname); r = 7; goto err; } } r = 0; err: ucl_free(buf); return r; } /************************************************************************* // misc support functions **************************************************************************/ static void usage(void) { printf("usage:\n"); printf(" %s [options] input-file output-file (compress)\n", progname); printf(" %s -d compressed-file output-file (decompress)\n", progname); printf(" %s -t compressed-file... (test)\n", progname); #if defined(WITH_TIMER) printf(" %s -t -D1000 compressed-file... (test decompression speed)\n", progname); #endif printf("\ncompression options:\n"); printf(" -1...-9, --10 set compression level [default is `-7']\n"); printf(" --nrv2b use NRV2B compression method\n"); printf(" --nrv2d use NRV2D compression method [default]\n"); printf(" --nrv2e use NRV2E compression method\n"); printf("\nother options:\n"); printf(" -F do not store or verify a checksum (faster)\n"); printf(" -Bxxxx set block-size for compression [default 262144]\n"); #if defined(WITH_TIMER) printf(" -Dxxxx number of iterations for decompression benchmark\n"); #endif exit(1); } /* open input file */ static FILE *xopen_fi(const char *name) { FILE *f; f = fopen(name,"rb"); if (f == NULL) { printf("%s: cannot open input file %s\n", progname, name); exit(1); } #if defined(HAVE_STAT) && defined(S_ISREG) { struct stat st; #if defined(HAVE_LSTAT) if (lstat(name,&st) != 0 || !S_ISREG(st.st_mode)) #else if (stat(name,&st) != 0 || !S_ISREG(st.st_mode)) #endif { printf("%s: %s is not a regular file\n", progname, name); fclose(f); exit(1); } } #endif return f; } /* open output file */ static FILE *xopen_fo(const char *name) { FILE *f; #if 0 /* this is an example program, so make sure we don't overwrite a file */ f = fopen(name,"rb"); if (f != NULL) { printf("%s: file %s already exists -- not overwritten\n", progname, name); fclose(f); exit(1); } #endif f = fopen(name,"wb"); if (f == NULL) { printf("%s: cannot open output file %s\n", progname, name); exit(1); } return f; } /************************************************************************* // main **************************************************************************/ int __acc_cdecl_main main(int argc, char *argv[]) { int i = 1; int r = 0; FILE *fi = NULL; FILE *fo = NULL; const char *in_name = NULL; const char *out_name = NULL; ucl_bool opt_decompress = 0; ucl_bool opt_test = 0; int opt_method = 0x2d; int opt_level = 7; ucl_uint opt_block_size; unsigned long opt_decompress_loops = 0; const char *s; ucl_wildargv(&argc, &argv); #if defined(WITH_TIMER) ucl_uclock_open(&uc); #endif progname = argv[0]; for (s = progname; *s; s++) if ((*s == '/' || *s == '\\') && s[1]) progname = s + 1; printf("\nUCL data compression library (v%s, %s).\n", ucl_version_string(), ucl_version_date()); printf("Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer\n"); printf("http://www.oberhumer.com/opensource/ucl/\n\n"); #if 0 printf( "*** WARNING ***\n" " This is an example program, do not use to backup your data !\n" "\n"); #endif /* * Step 1: initialize the UCL library */ if (ucl_init() != UCL_E_OK) { printf("internal error - ucl_init() failed !!!\n"); printf("(this usually indicates a compiler bug - try recompiling\nwithout optimizations, and enable `-DUCL_DEBUG' for diagnostics)\n"); exit(1); } /* * Step 2: setup default options */ opt_block_size = 256 * 1024L; #if defined(ACC_MM_AHSHIFT) /* reduce memory requirements for ancient 640kB DOS real-mode */ if (ACC_MM_AHSHIFT != 3) opt_block_size = 16 * 1024L; #endif /* * Step 3: get options */ while (i < argc && argv[i][0] == '-') { if (strcmp(argv[i],"-d") == 0) opt_decompress = 1; else if (strcmp(argv[i],"-t") == 0) opt_test = 1; else if (strcmp(argv[i],"-F") == 0) opt_fast = 1; else if (strcmp(argv[i],"--2b") == 0) opt_method = 0x2b; else if (strcmp(argv[i],"--nrv2b") == 0) opt_method = 0x2b; else if (strcmp(argv[i],"--2d") == 0) opt_method = 0x2d; else if (strcmp(argv[i],"--nrv2d") == 0) opt_method = 0x2d; else if (strcmp(argv[i],"--2e") == 0) opt_method = 0x2e; else if (strcmp(argv[i],"--nrv2e") == 0) opt_method = 0x2e; else if ((argv[i][1] >= '1' && argv[i][1] <= '9') && !argv[i][2]) opt_level = argv[i][1] - '0'; else if (strcmp(argv[i],"--10") == 0) opt_level = 10; else if (strcmp(argv[i],"--best") == 0) opt_level = 10; else if (argv[i][1] == 'b' && argv[i][2]) { long x = atol(&argv[i][2]); if (x >= 1024L && x <= 8*1024*1024L) opt_block_size = (ucl_uint) x; else { printf("%s: error: invalid block-size %ld\n", progname, x); exit(1); } } else if (argv[i][1] == 'D' && argv[i][2]) { #if defined(WITH_TIMER) long x = atol(&argv[i][2]); if (x > 1) opt_decompress_loops = x; else { printf("%s: error: invalid number of benchmark loops %ld\n", progname, x); exit(1); } #else usage(); #endif } else if (strcmp(argv[i],"--debug") == 0) opt_debug += 1; else usage(); i++; } if (opt_test && i >= argc) usage(); if (!opt_test && i + 2 != argc) usage(); /* * Step 4: process file(s) */ if (opt_test) { while (i < argc && r == 0) { in_name = argv[i++]; fi = xopen_fi(in_name); #if defined(WITH_TIMER) benchmark_bytes = benchmark_secs = 0.0; #endif r = do_decompress(fi, NULL, opt_decompress_loops); if (r == 0) printf("%s: tested ok: %-10s %-11s: %6lu -> %6lu bytes\n", progname, in_name, method_name, total_in, total_out); fclose(fi); fi = NULL; #if defined(WITH_TIMER) if (r == 0 && benchmark_bytes > 0) { /* speed measured in uncompressed megabytes per second */ double mb = benchmark_bytes / (1024.0 * 1024.0); double mbs = 0.0; if (benchmark_secs >= 0.0001) mbs = mb / benchmark_secs; printf("\n [benchmark] %lu loops, %.3f MB, %.3f secs, %.3f MB/s\n\n", opt_decompress_loops, mb, benchmark_secs, mbs); } #endif } } else if (opt_decompress) { in_name = argv[i++]; out_name = argv[i++]; fi = xopen_fi(in_name); fo = xopen_fo(out_name); r = do_decompress(fi, fo, 0); if (r == 0) printf("%s: decompressed %lu into %lu bytes\n", progname, total_in, total_out); } else /* compress */ { printf("%s: using block-size of %lu bytes\n", progname, (unsigned long)opt_block_size); if (!set_method_name(opt_method, opt_level)) { printf("%s: internal error - invalid method %d (level %d)\n", progname, opt_method, opt_level); goto quit; } in_name = argv[i++]; out_name = argv[i++]; fi = xopen_fi(in_name); fo = xopen_fo(out_name); r = do_compress(fi,fo,opt_method,opt_level,opt_block_size); if (r == 0) { printf("%s: algorithm %s, compressed %lu into %lu bytes\n", progname, method_name, total_in, total_out); #if defined(WITH_TIMER) if (opt_debug >= 1 && benchmark_bytes > 0) { /* speed measured in uncompressed kilobytes per second */ double kb = benchmark_bytes / (1024.0); double kbs = 0.0; if (benchmark_secs >= 0.0001) kbs = kb / benchmark_secs; printf("\n [compression speeed] %.3f KB, %.3f secs, %.3f KB/s\n\n", kb, benchmark_secs, kbs); } #endif #if 1 && defined(WITH_TIMER) printf("\n Info: To test the decompression speed on your system type:\n" " `%s -t -D1000 %s'\n", progname, out_name); #endif } } quit: if (fi) fclose(fi); if (fo) fclose(fo); #if defined(WITH_TIMER) ucl_uclock_close(&uc); #endif return r; } /* vi:ts=4:et */ ucl-1.03/examples/portab.h0000644000175000001440000000442110077051333012413 00000000000000/* portab.h -- portability layer This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include #if 1 #include "examples/portab_a.h" #else /* INFO: * The "portab_a.h" version above uses the ACC library to add * support for ancient systems (like 16-bit DOS) and to provide * some gimmicks like win32 high-resolution timers. * Still, on any halfway modern machine you can also use the * following pure ANSI-C code instead. */ #include #include #include #include #include #include #undef NDEBUG #include #define __acc_cdecl_main #define ACC_UNUSED(var) ((void) &var) #if defined(WANT_UCL_MALLOC) # define ucl_malloc(a) (malloc(a)) # define ucl_free(a) (free(a)) #endif #if defined(WANT_UCL_FREAD) # define ucl_fread(f,b,s) (fread(b,1,s,f)) # define ucl_fwrite(f,b,s) (fwrite(b,1,s,f)) #endif #if defined(WANT_UCL_UCLOCK) # define ucl_uclock_handle_t int # define ucl_uclock_t double # define ucl_uclock_open(a) ((void)(a)) # define ucl_uclock_close(a) ((void)(a)) # define ucl_uclock_read(a,b) *(b) = (clock() / (double)(CLOCKS_PER_SEC)) # define ucl_uclock_get_elapsed(a,b,c) (*(c) - *(b)) #endif #if defined(WANT_UCL_WILDARGV) # define ucl_wildargv(a,b) ((void)0) #endif #endif /* vi:ts=4:et */ ucl-1.03/examples/portab_a.h0000644000175000001440000001005010077051333012706 00000000000000/* portab_a.h -- advanced portability layer This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #include /************************************************************************* // use the ACC library for the hard work **************************************************************************/ #if defined(UCL_HAVE_CONFIG_H) # define ACC_CONFIG_NO_HEADER 1 #endif #include "acc/acc.h" #if (ACC_CC_MSC && (_MSC_VER >= 1000 && _MSC_VER < 1200)) /* avoid `-W4' warnings in system header files */ # pragma warning(disable: 4201 4214 4514) #endif #if (ACC_CC_MSC && (_MSC_VER >= 1300)) /* avoid `-Wall' warnings in system header files */ # pragma warning(disable: 4163 4255 4820) /* avoid warnings about inlining */ # pragma warning(disable: 4710 4711) #endif #if (ACC_CC_MSC && (_MSC_VER >= 1400)) /* avoid warnings when using "deprecated" POSIX functions */ # pragma warning(disable: 4996) #endif #include "acc/acc_incd.h" #include "acc/acc_ince.h" #if defined(__UCL_MMODEL_HUGE) || defined(WANT_UCL_UCLOCK) || defined(WANT_UCL_WILDARGV) # include "acc/acc_inci.h" # include "acc/acc_lib.h" #endif #if defined(WANT_UCL_MALLOC) # if defined(__UCL_MMODEL_HUGE) # include "acc/acclib/halloc.ch" # else # define acc_halloc(a) (malloc(a)) # define acc_hfree(a) (free(a)) # endif #endif #if defined(WANT_UCL_FREAD) # if defined(__UCL_MMODEL_HUGE) # include "acc/acclib/hfread.ch" # else # define acc_hfread(f,b,s) (fread(b,1,s,f)) # define acc_hfwrite(f,b,s) (fwrite(b,1,s,f)) # endif #endif #if defined(WANT_UCL_UCLOCK) # include "acc/acclib/uclock.ch" #endif #if defined(WANT_UCL_WILDARGV) # include "acc/acclib/wildargv.ch" #endif #if (__ACCLIB_REQUIRE_HMEMCPY_CH) && !defined(__ACCLIB_HMEMCPY_CH_INCLUDED) # include "acc/acclib/hmemcpy.ch" #endif /************************************************************************* // misc **************************************************************************/ /* turn on assertions */ #undef NDEBUG #include /* just in case */ #undef xmalloc #undef xfree #undef xread #undef xwrite #undef xputc #undef xgetc #undef xread32 #undef xwrite32 /************************************************************************* // finally pull into the UCL namespace **************************************************************************/ #undef ucl_malloc #undef ucl_free #undef ucl_fread #undef ucl_fwrite #if defined(WANT_UCL_MALLOC) # define ucl_malloc(a) acc_halloc(a) # define ucl_free(a) acc_hfree(a) #endif #if defined(WANT_UCL_FREAD) # define ucl_fread(f,b,s) acc_hfread(f,b,s) # define ucl_fwrite(f,b,s) acc_hfwrite(f,b,s) #endif #if defined(WANT_UCL_UCLOCK) # define ucl_uclock_handle_t acc_uclock_handle_t # define ucl_uclock_t acc_uclock_t # define ucl_uclock_open(a) acc_uclock_open(a) # define ucl_uclock_close(a) acc_uclock_close(a) # define ucl_uclock_read(a,b) acc_uclock_read(a,b) # define ucl_uclock_get_elapsed(a,b,c) acc_uclock_get_elapsed(a,b,c) #endif #if defined(WANT_UCL_WILDARGV) # define ucl_wildargv(a,b) acc_wildargv(a,b) #endif /* vi:ts=4:et */ ucl-1.03/acconfig/0000777000175000001440000000000010077051333010771 500000000000000ucl-1.03/acconfig/compile0000755000175000001440000000707210077051333012271 00000000000000#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2003-11-09.00 # Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand `-c -o'. Remove `-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file `INSTALL'. Report bugs to . EOF exit 0 ;; -v | --v*) echo "compile $scriptversion" exit 0 ;; esac prog=$1 shift ofile= cfile= args= while test $# -gt 0; do case "$1" in -o) # configure might choose to run compile as `compile cc -o foo foo.c'. # So we do something ugly here. ofile=$2 shift case "$ofile" in *.o | *.obj) ;; *) args="$args -o $ofile" ofile= ;; esac ;; *.c) cfile=$1 args="$args $1" ;; *) args="$args $1" ;; esac shift done if test -z "$ofile" || test -z "$cfile"; then # If no `-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # `.c' file was seen then we are probably linking. That is also # ok. exec "$prog" $args fi # Name of file we expect compiler to create. cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. # Note: use `[/.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d while true; do if mkdir $lockdir > /dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir $lockdir; exit 1" 1 2 15 # Run the compile. "$prog" $args status=$? if test -f "$cofile"; then mv "$cofile" "$ofile" fi rmdir $lockdir exit $status # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/depcomp0000755000175000001440000003554510077051333012276 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2004-05-31.23 # Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit 0 ;; -v | --v*) echo "depcomp $scriptversion" exit 0 ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # Dependencies are output in .lo.d with libtool 1.4. # With libtool 1.5 they are output both in $dir.libs/$base.o.d # and in $dir.libs/$base.o.d and $dir$base.o.d. We process the # latter, because the former will be cleaned when $dir.libs is # erased. tmpdepfile1="$dir.libs/$base.lo.d" tmpdepfile2="$dir$base.o.d" tmpdepfile3="$dir.libs/$base.d" "$@" -Wc,-MD else tmpdepfile1="$dir$base.o.d" tmpdepfile2="$dir$base.d" tmpdepfile3="$dir$base.d" "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi if test -f "$tmpdepfile1"; then tmpdepfile="$tmpdepfile1" elif test -f "$tmpdepfile2"; then tmpdepfile="$tmpdepfile2" else tmpdepfile="$tmpdepfile3" fi if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/ltmain.sh0000644000175000001440000054743610077051333012550 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION=1.5.6 TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 215 $" # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" ##################################### # Shell function definitions: # This seems to be the best place for them # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` if test "X$win32_nmres" = "Ximport" ; then win32_libid_type="x86 archive import" else win32_libid_type="x86 archive static" fi fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo $echo "Copyright (C) 2003 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $EXIT_SUCCESS ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $EXIT_SUCCESS ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $EXIT_SUCCESS ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case "$arg_mode" in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo $srcfile > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi fi build_libtool_libs=no build_old_libs=yes prefer_static_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 exit $EXIT_FAILURE fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-mingw* | *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) deplibs="$deplibs $arg" continue ;; -module) module=yes continue ;; # gcc -m* arguments should be passed to the linker via $compiler_flags # in order to pass architecture information to the linker # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo # but this is not reliable with gcc because gcc may use -mfoo to # select a different linker, different libraries, etc, while # -Wl,-mfoo simply passes -mfoo to the linker. -m*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" if test "$with_gcc" = "yes" ; then compiler_flags="$compiler_flags $arg" fi continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir status=$? if test "$status" -ne 0 && test ! -d "$output_objdir"; then exit $status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) if test "$deplibs_check_method" != pass_all; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var"; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $dir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5* ) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else convenience="$convenience $dir/$old_library" old_convenience="$old_convenience $dir/$old_library" deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$deplibs $path" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor - 1` age="$number_minor" revision="$number_minor" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name="`expr $a_deplib : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$save_output-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*"` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$save_output-${k}.$objext k=`expr $k + 1` output=$output_objdir/$save_output-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadale object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$output.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) cwrappersource=`$echo ${objdir}/lt-${output}.c` cwrapper=`$echo ${output}.exe` $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR #define DIR_SEPARATOR '/' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) #define HAVE_DOS_BASED_FILE_SYSTEM #ifndef DIR_SEPARATOR_2 #define DIR_SEPARATOR_2 '\\' #endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); char * basename (const char *name); char * fnqualify(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup ((char *) basename (argv[0])); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = fnqualify(argv[0]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } char * basename (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha (name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return (char *) base; } char * fnqualify(const char *path) { size_t size; char *p; char tmp[LT_PATHMAX + 1]; assert(path != NULL); /* Is it qualified already? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha (path[0]) && path[1] == ':') return xstrdup (path); #endif if (IS_DIR_SEPARATOR (path[0])) return xstrdup (path); /* prepend the current directory */ /* doesn't handle '~' */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ p = XMALLOC(char, size); sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); return p; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \$progdir\\\\\$program \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \$progdir/\$program \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" # Add in members from convenience archives. for xlib in $addlibs; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` done fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # GNU ar 2.10+ was changed to match POSIX; thus no paths are # encoded into archives. This makes 'ar r' malfunction in # this piecewise linking case whenever conflicting object # names appear in distinct ar calls; check, warn and compensate. if (for obj in $save_oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2 $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2 AR_FLAGS=cq fi # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*"` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg="$nonopt" fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest="$arg" continue fi case $arg in -d) isdir=yes ;; -f) prev="-f" ;; -g) prev="-g" ;; -m) prev="-m" ;; -o) prev="-o" ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest="$arg" continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # To insure that "foo" is sourced, and not "foo.exe", # finese the cygwin/MSYS system by explicitly sourcing "foo." # which disallows the automatic-append-.exe behavior. case $build in *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; *) wrapperdot=${wrapper} ;; esac # If there is no directory component, then add one. case $file in */* | *\\*) . ${wrapperdot} ;; *) . ./${wrapperdot} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # To insure that "foo" is sourced, and not "foo.exe", # finese the cygwin/MSYS system by explicitly sourcing "foo." # which disallows the automatic-append-.exe behavior. case $build in *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; *) wrapperdot=${wrapper} ;; esac # If there is no directory component, then add one. case $file in */* | *\\*) . ${wrapperdot} ;; *) . ./${wrapperdot} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir="/tmp" test -n "$TMPDIR" && tmpdir="$TMPDIR" tmpdir="$tmpdir/libtool-$$" save_umask=`umask` umask 0077 if $mkdir "$tmpdir"; then umask $save_umask else umask $save_umask $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 continue fi file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyways case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "----------------------------------------------------------------------" $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "----------------------------------------------------------------------" exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" if test "$mode" = uninstall; then if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. fi fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $EXIT_SUCCESS # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: ucl-1.03/acconfig/config.guess0000755000175000001440000012454210077051333013235 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. timestamp='2004-06-24' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; amd64:OpenBSD:*:*) echo x86_64-unknown-openbsd${UNAME_RELEASE} exit 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; cats:OpenBSD:*:*) echo arm-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; luna88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; macppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sgi:OpenBSD:*:*) echo mipseb-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; wgrisc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit 0 ;; macppc:MirBSD:*:*) echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit 0 ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit 0 ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit 0 ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; *:OS400:*:*) echo powerpc-ibm-os400 exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit 0 ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit 0 ;; DRS?6000:UNIX_SV:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit 0 ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit 0 ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit 0 ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit 0 ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit 0 ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit 0 ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit 0 ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit 0 ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit 0 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit 0 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit 0 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit 0 ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit 0 ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit 0 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit 0 ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit 0 ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit 0 ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit 0 ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit 0 ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then # avoid double evaluation of $set_cc_for_build test -n "$CC_FOR_BUILD" || eval $set_cc_for_build if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit 0 ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit 0 ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit 0 ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit 0 ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:[34]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit 0 ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit 0 ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit 0 ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit 0 ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit 0 ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit 0 ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit 0 ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit 0 ;; i*86:*:5:[78]*) case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit 0 ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit 0 ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit 0 ;; paragon:*:*:*) echo i860-intel-osf1 exit 0 ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit 0 ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit 0 ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4.3${OS_REL} && exit 0 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit 0 ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit 0 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit 0 ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit 0 ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit 0 ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit 0 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit 0 ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) case `uname -p` in *86) UNAME_PROCESSOR=i686 ;; powerpc) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit 0 ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit 0 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit 0 ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit 0 ;; *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit 0 ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms && exit 0 ;; I*) echo ia64-dec-vms && exit 0 ;; V*) echo vax-dec-vms && exit 0 ;; esac esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit 0 ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; c34*) echo c34-convex-bsd exit 0 ;; c38*) echo c38-convex-bsd exit 0 ;; c4*) echo c4-convex-bsd exit 0 ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: ucl-1.03/acconfig/missing0000755000175000001440000002466510077051333012321 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2003-09-02.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then # We have makeinfo, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; tar) shift if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 fi # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/install-sh0000755000175000001440000002177410077051333012724 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2004-07-05.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit 0;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit 0;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/config.sub0000755000175000001440000007501010077051333012673 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. timestamp='2004-06-24' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit 0;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32r | m32rle | m68000 | m68k | m88k | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | msp430-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16c) basic_machine=cr16c-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sh64) basic_machine=sh64-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: ucl-1.03/acconfig/mkinstalldirs0000755000175000001440000000653510077051333013524 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2004-02-15.20 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit 0 ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/shtool0000755000175000001440000034642110077051333012155 00000000000000#!/bin/sh ## ## GNU shtool -- The GNU Portable Shell Tool ## Copyright (c) 1994-2002 Ralf S. Engelschall ## ## See http://www.gnu.org/software/shtool/ for more information. ## See ftp://ftp.gnu.org/gnu/shtool/ for latest version. ## ## Version: 1.6.2 (02-Nov-2002) ## Contents: all available modules ## ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA, or contact Ralf S. Engelschall . ## ## NOTICE: Given that you include this file verbatim into your own ## source tree, you are justified in saying that it remains separate ## from your package, and that this way you are simply just using GNU ## shtool. So, in this situation, there is no requirement that your ## package itself is licensed under the GNU General Public License in ## order to take advantage of GNU shtool. ## ## ## Usage: shtool [] [ [] []] ## ## Available commands: ## echo Print string with optional construct expansion ## mdate Pretty-print modification time of a file or dir ## table Pretty-print a field-separated list as a table ## prop Display progress with a running propeller ## move Move files with simultaneous substitution ## install Install a program, script or datafile ## mkdir Make one or more directories ## mkln Make link with calculation of relative paths ## mkshadow Make a shadow tree through symbolic links ## fixperm Fix file permissions inside a source tree ## rotate Logfile rotation ## tarball Roll distribution tarballs ## subst Apply sed(1) substitution operations ## guessos Simple operating system guesser ## arx Extended archive command ## slo Separate linker options by library class ## scpp Sharing C Pre-Processor ## version Maintain a version information file ## path Deal with program paths ## if [ $# -eq 0 ]; then echo "$0:Error: invalid command line" 1>&2 echo "$0:Hint: run \`$0 -h' for usage" 1>&2 exit 1 fi if [ ".$1" = ".-h" -o ".$1" = ".--help" ]; then echo "This is GNU shtool, version 1.6.2 (02-Nov-2002)" echo "Copyright (c) 1994-2002 Ralf S. Engelschall " echo "Report bugs to " echo '' echo "Usage: shtool [] [ [] []]" echo '' echo 'Available global :' echo ' -v, --version display shtool version information' echo ' -h, --help display shtool usage help page (this one)' echo ' -d, --debug display shell trace information' echo ' -r, --recreate recreate this shtool script via shtoolize' echo '' echo 'Available [] []:' echo ' echo [-n|--newline] [-e|--expand] [ ...]' echo ' mdate [-n|--newline] [-z|--zero] [-s|--shorten] [-d|--digits]' echo ' [-f|--field-sep ] [-o|--order ] ' echo ' table [-F|--field-sep ] [-w|--width ] [-c|--columns' echo ' ] [-s|--strip ] ...' echo ' prop [-p|--prefix ]' echo ' move [-v|--verbose] [-t|--trace] [-e|--expand] [-p|--preserve]' echo ' ' echo ' install [-v|--verbose] [-t|--trace] [-d|--mkdir] [-c|--copy]' echo ' [-C|--compare-copy] [-s|--strip] [-m|--mode ]' echo ' [-o|--owner ] [-g|--group ] [-e|--exec' echo ' ] [ ...] ' echo ' mkdir [-t|--trace] [-f|--force] [-p|--parents] [-m|--mode' echo ' ] [-o|--owner ] [-g|--group ] ' echo ' [ ...]' echo ' mkln [-t|--trace] [-f|--force] [-s|--symbolic] ' echo ' [ ...] ' echo ' mkshadow [-v|--verbose] [-t|--trace] [-a|--all] ' echo ' fixperm [-v|--verbose] [-t|--trace] [ ...]' echo ' rotate [-v|--verbose] [-t|--trace] [-f|--force] [-n|--num-files' echo ' ] [-s|--size ] [-c|--copy] [-r|--remove]' echo ' [-a|--archive-dir ] [-z|--compress [:]]' echo ' [-b|--background] [-d|--delay] [-p|--pad ] [-o|--owner' echo ' ] [-g|--group ] [-m|--mode ] [-M|--migrate' echo ' ] [-P|--prolog ] [-E|--epilog ] [...]' echo ' tarball [-t|--trace] [-v|--verbose] [-o|--output ]' echo ' [-c|--compress ] [-d|--directory ] [-u|--user' echo ' ] [-g|--group ] [-e|--exclude ]' echo ' [ ...]' echo ' subst [-v|--verbose] [-t|--trace] [-n|--nop] [-s|--stealth]' echo ' [-i|--interactive] [-b|--backup ] [-e|--exec ]' echo ' [-f|--file ] [] [...]' echo ' guessos ' echo ' arx [-t|--trace] [-C|--command ] [' echo ' ...]' echo ' slo [-p|--prefix ] -- -L -l [-L -l' echo ' ...]' echo ' scpp [-v|--verbose] [-p|--preserve] [-f|--filter ]' echo ' [-o|--output ] [-t|--template ] [-M|--mark' echo ' ] [-D|--define ] [-C|--class ]' echo ' [ ...]' echo ' version [-l|--language ] [-n|--name ] [-p|--prefix' echo ' ] [-s|--set ] [-e|--edit] [-i|--increase' echo ' ] [-d|--display ] ' echo ' path [-s|--suppress] [-r|--reverse] [-d|--dirname] [-b|--basename]' echo ' [-m|--magic] [-p|--path ] [ ...]' echo '' exit 0 fi if [ ".$1" = ".-v" -o ".$1" = ."--version" ]; then echo "GNU shtool 1.6.2 (02-Nov-2002)" exit 0 fi if [ ".$1" = ".-r" -o ".$1" = ."--recreate" ]; then shtoolize -oshtool all exit 0 fi if [ ".$1" = ".-d" -o ".$1" = ."--debug" ]; then shift set -x fi name=`echo "$0" | sed -e 's;.*/\([^/]*\)$;\1;' -e 's;-sh$;;' -e 's;\.sh$;;'` case "$name" in echo|mdate|table|prop|move|install|mkdir|mkln|mkshadow|fixperm|rotate|tarball|subst|guessos|arx|slo|scpp|version|path ) # implicit tool command selection tool="$name" ;; * ) # explicit tool command selection tool="$1" shift ;; esac arg_spec="" opt_spec="" gen_tmpfile=no ## ## DISPATCH INTO SCRIPT PROLOG ## case $tool in echo ) str_tool="echo" str_usage="[-n|--newline] [-e|--expand] [ ...]" arg_spec="0+" opt_spec="n.e." opt_alias="n:newline,e:expand" opt_n=no opt_e=no ;; mdate ) str_tool="mdate" str_usage="[-n|--newline] [-z|--zero] [-s|--shorten] [-d|--digits] [-f|--field-sep ] [-o|--order ] " arg_spec="1=" opt_spec="n.z.s.d.f:o:" opt_alias="n:newline,z:zero,s:shorten,d:digits,f:field-sep,o:order" opt_n=no opt_z=no opt_s=no opt_d=no opt_f=" " opt_o="dmy" ;; table ) str_tool="table" str_usage="[-F|--field-sep ] [-w|--width ] [-c|--columns ] [-s|--strip ] ..." arg_spec="1+" opt_spec="F:w:c:s:" opt_alias="F:field-sep,w:width,c:columns,s:strip" opt_F=":" opt_w=15 opt_c=3 opt_s=79 ;; prop ) str_tool="prop" str_usage="[-p|--prefix ]" arg_spec="0=" opt_spec="p:" opt_alias="p:prefix" opt_p="" ;; move ) str_tool="move" str_usage="[-v|--verbose] [-t|--trace] [-e|--expand] [-p|--preserve] " arg_spec="2=" opt_spec="v.t.e.p." opt_alias="v:verbose,t:trace,e:expand,p:preserve" opt_v=no opt_t=no opt_e=no opt_p=no ;; install ) str_tool="install" str_usage="[-v|--verbose] [-t|--trace] [-d|--mkdir] [-c|--copy] [-C|--compare-copy] [-s|--strip] [-m|--mode ] [-o|--owner ] [-g|--group ] [-e|--exec ] [ ...] " arg_spec="1+" opt_spec="v.t.d.c.C.s.m:o:g:e+" opt_alias="v:verbose,t:trace,d:mkdir,c:copy,C:compare-copy,s:strip,m:mode,o:owner,g:group,e:exec" opt_v=no opt_t=no opt_d=no opt_c=no opt_C=no opt_s=no opt_m="0755" opt_o="" opt_g="" opt_e="" ;; mkdir ) str_tool="mkdir" str_usage="[-t|--trace] [-f|--force] [-p|--parents] [-m|--mode ] [-o|--owner ] [-g|--group ] [ ...]" arg_spec="1+" opt_spec="t.f.p.m:o:g:" opt_alias="t:trace,f:force,p:parents,m:mode,o:owner,g:group" opt_t=no opt_f=no opt_p=no opt_m="" opt_o="" opt_g="" ;; mkln ) str_tool="mkln" str_usage="[-t|--trace] [-f|--force] [-s|--symbolic] [ ...] " arg_spec="2+" opt_spec="t.f.s." opt_alias="t:trace,f:force,s:symbolic" opt_t=no opt_f=no opt_s=no ;; mkshadow ) str_tool="mkshadow" str_usage="[-v|--verbose] [-t|--trace] [-a|--all] " arg_spec="2=" opt_spec="v.t.a." opt_alias="v:verbose,t:trace,a:all" opt_v=no opt_t=no opt_a=no ;; fixperm ) str_tool="fixperm" str_usage="[-v|--verbose] [-t|--trace] [ ...]" arg_spec="1+" opt_spec="v.t." opt_alias="v:verbose,t:trace" opt_v=no opt_t=no ;; rotate ) str_tool="rotate" str_usage="[-v|--verbose] [-t|--trace] [-f|--force] [-n|--num-files ] [-s|--size ] [-c|--copy] [-r|--remove] [-a|--archive-dir ] [-z|--compress [:]] [-b|--background] [-d|--delay] [-p|--pad ] [-o|--owner ] [-g|--group ] [-m|--mode ] [-M|--migrate ] [-P|--prolog ] [-E|--epilog ] [...]" arg_spec="1+" opt_spec="v.t.f.n:s:c.r.a:z:b.d.p:o:g:m:M:P:E:" opt_alias="v:verbose,t:trace,f:force,n:num-files,s:size,c:copy,r:remove,a:archive-dir,z:compress,b:background,d:delay,p:pad,o:owner,g:group,m:mode,M:migrate,P:prolog,E:epilog" opt_v=no opt_t=no opt_f=no opt_n=10 opt_s="" opt_c=no opt_r=no opt_a="" opt_z="" opt_b=no opt_d=no opt_p=1 opt_o="" opt_g="" opt_m="" opt_M="" opt_P="" opt_E="" ;; tarball ) str_tool="tarball" str_usage="[-t|--trace] [-v|--verbose] [-o|--output ] [-c|--compress ] [-d|--directory ] [-u|--user ] [-g|--group ] [-e|--exclude ] [ ...]" gen_tmpfile=yes arg_spec="1+" opt_spec="t.v.o:c:d:u:g:e:" opt_alias="t:trace,v:verbose,o:output,c:compress,d:directory,u:user,g:group,e:exclude" opt_t=no opt_v=no opt_o="" opt_c="" opt_d="" opt_u="" opt_g="" opt_e="CVS,\\.cvsignore,\\.[oa]\$" ;; subst ) str_tool="subst" str_usage="[-v|--verbose] [-t|--trace] [-n|--nop] [-s|--stealth] [-i|--interactive] [-b|--backup ] [-e|--exec ] [-f|--file ] [] [...]" gen_tmpfile=yes arg_spec="0+" opt_spec="v.t.n.s.i.b:e+f:" opt_alias="v:verbose,t:trace,n:nop,s:stealth,i:interactive,b:backup,e:exec,f:file" opt_v=no opt_t=no opt_n=no opt_s=no opt_i=no opt_b="" opt_e="" opt_f="" ;; guessos ) str_tool="guessos" str_usage="" arg_spec="0=" opt_spec="" opt_alias="" ;; arx ) str_tool="arx" str_usage="[-t|--trace] [-C|--command ] [ ...]" arg_spec="2+" opt_spec="t.C:" opt_alias="t:trace,C:command" opt_t=no opt_C="ar" ;; slo ) str_tool="slo" str_usage="[-p|--prefix ] -- -L -l [-L -l ...]" arg_spec="1+" opt_spec="p:" opt_alias="p:prefix" opt_p="SLO_" ;; scpp ) str_tool="scpp" str_usage="[-v|--verbose] [-p|--preserve] [-f|--filter ] [-o|--output ] [-t|--template ] [-M|--mark ] [-D|--define ] [-C|--class ] [ ...]" gen_tmpfile=yes arg_spec="1+" opt_spec="v.p.f+o:t:M:D:C:" opt_alias="v:verbose,p:preserve,f:filter,o:output,t:template,M:mark,D:define,C:class" opt_v=no opt_p=no opt_f="" opt_o="lib.h" opt_t="lib.h.in" opt_M="%%MARK%%" opt_D="cpp" opt_C="intern" ;; version ) str_tool="version" str_usage="[-l|--language ] [-n|--name ] [-p|--prefix ] [-s|--set ] [-e|--edit] [-i|--increase ] [-d|--display ] " arg_spec="1=" opt_spec="l:n:p:s:i:e.d:" opt_alias="l:language,n:name,p:prefix,s:set,e:edit,i:increase,d:display" opt_l="txt" opt_n="unknown" opt_p="" opt_s="" opt_e="no" opt_i="" opt_d="short" ;; path ) str_tool="path" str_usage="[-s|--suppress] [-r|--reverse] [-d|--dirname] [-b|--basename] [-m|--magic] [-p|--path ] [ ...]" gen_tmpfile=yes arg_spec="1+" opt_spec="s.r.d.b.m.p:" opt_alias="s:suppress,r:reverse,d:dirname,b:basename,m:magic,p:path" opt_s=no opt_r=no opt_d=no opt_b=no opt_m=no opt_p="$PATH" ;; -* ) echo "$0:Error: unknown option \`$tool'" 2>&1 echo "$0:Hint: run \`$0 -h' for usage" 2>&1 exit 1 ;; * ) echo "$0:Error: unknown command \`$tool'" 2>&1 echo "$0:Hint: run \`$0 -h' for usage" 2>&1 exit 1 ;; esac ## ## COMMON UTILITY CODE ## # commonly used ASCII values ASC_TAB=" " ASC_NL=" " # determine name of tool if [ ".$tool" != . ]; then # used inside shtool script toolcmd="$0 $tool" toolcmdhelp="shtool $tool" msgprefix="shtool:$tool" else # used as standalone script toolcmd="$0" toolcmdhelp="sh $0" msgprefix="$str_tool" fi # parse argument specification string eval `echo $arg_spec |\ sed -e 's/^\([0-9]*\)\([+=]\)/arg_NUMS=\1; arg_MODE=\2/'` # parse option specification string eval `echo h.$opt_spec |\ sed -e 's/\([a-zA-Z0-9]\)\([.:+]\)/opt_MODE_\1=\2;/g'` # parse option alias string eval `echo h:help,$opt_alias |\ tr 'x-' 'x_' | sed -e 's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g'` # interate over argument line opt_PREV='' while [ $# -gt 0 ]; do # special option stops processing if [ ".$1" = ".--" ]; then shift break fi # determine option and argument opt_ARG_OK=no if [ ".$opt_PREV" != . ]; then # merge previous seen option with argument opt_OPT="$opt_PREV" opt_ARG="$1" opt_ARG_OK=yes opt_PREV='' else # split argument into option and argument case "$1" in --[a-zA-Z0-9]*=*) eval `echo "x$1" |\ sed -e 's/^x--\([a-zA-Z0-9-]*\)=\(.*\)$/opt_OPT="\1";opt_ARG="\2"/'` opt_STR=`echo $opt_OPT | tr 'x-' 'x_'` eval "opt_OPT=\${opt_ALIAS_${opt_STR}-${opt_OPT}}" ;; --[a-zA-Z0-9]*) opt_OPT=`echo "x$1" | cut -c4-` opt_STR=`echo $opt_OPT | tr 'x-' 'x_'` eval "opt_OPT=\${opt_ALIAS_${opt_STR}-${opt_OPT}}" opt_ARG='' ;; -[a-zA-Z0-9]*) eval `echo "x$1" |\ sed -e 's/^x-\([a-zA-Z0-9]\)/opt_OPT="\1";/' \ -e 's/";\(.*\)$/"; opt_ARG="\1"/'` ;; -[a-zA-Z0-9]) opt_OPT=`echo "x$1" | cut -c3-` opt_ARG='' ;; *) break ;; esac fi # eat up option shift # determine whether option needs an argument eval "opt_MODE=\$opt_MODE_${opt_OPT}" if [ ".$opt_ARG" = . -a ".$opt_ARG_OK" != .yes ]; then if [ ".$opt_MODE" = ".:" -o ".$opt_MODE" = ".+" ]; then opt_PREV="$opt_OPT" continue fi fi # process option case $opt_MODE in '.' ) # boolean option eval "opt_${opt_OPT}=yes" ;; ':' ) # option with argument (multiple occurances override) eval "opt_${opt_OPT}=\"\$opt_ARG\"" ;; '+' ) # option with argument (multiple occurances append) eval "opt_${opt_OPT}=\"\$opt_${opt_OPT}\${ASC_NL}\$opt_ARG\"" ;; * ) echo "$msgprefix:Error: unknown option: \`$opt_OPT'" 1>&2 echo "$msgprefix:Hint: run \`$toolcmdhelp -h' or \`man shtool' for details" 1>&2 exit 1 ;; esac done if [ ".$opt_PREV" != . ]; then echo "$msgprefix:Error: missing argument to option \`$opt_PREV'" 1>&2 echo "$msgprefix:Hint: run \`$toolcmdhelp -h' or \`man shtool' for details" 1>&2 exit 1 fi # process help option if [ ".$opt_h" = .yes ]; then echo "Usage: $toolcmdhelp $str_usage" exit 0 fi # complain about incorrect number of arguments case $arg_MODE in '=' ) if [ $# -ne $arg_NUMS ]; then echo "$msgprefix:Error: invalid number of arguments (exactly $arg_NUMS expected)" 1>&2 echo "$msgprefix:Hint: run \`$toolcmd -h' or \`man shtool' for details" 1>&2 exit 1 fi ;; '+' ) if [ $# -lt $arg_NUMS ]; then echo "$msgprefix:Error: invalid number of arguments (at least $arg_NUMS expected)" 1>&2 echo "$msgprefix:Hint: run \`$toolcmd -h' or \`man shtool' for details" 1>&2 exit 1 fi ;; esac # establish a temporary file on request if [ ".$gen_tmpfile" = .yes ]; then if [ ".$TMPDIR" != . ]; then tmpdir="$TMPDIR" elif [ ".$TEMPDIR" != . ]; then tmpdir="$TEMPDIR" else tmpdir="/tmp" fi tmpfile="$tmpdir/.shtool.$$" rm -f $tmpfile >/dev/null 2>&1 touch $tmpfile chmod 600 $tmpfile fi ## ## DISPATCH INTO SCRIPT BODY ## case $tool in echo ) ## ## echo -- Print string with optional construct expansion ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for WML as buildinfo ## text="$*" # check for broken escape sequence expansion seo='' bytes=`echo '\1' | wc -c | awk '{ printf("%s", $1); }'` if [ ".$bytes" != .3 ]; then bytes=`echo -E '\1' | wc -c | awk '{ printf("%s", $1); }'` if [ ".$bytes" = .3 ]; then seo='-E' fi fi # check for existing -n option (to suppress newline) minusn='' bytes=`echo -n 123 2>/dev/null | wc -c | awk '{ printf("%s", $1); }'` if [ ".$bytes" = .3 ]; then minusn='-n' fi # determine terminal bold sequence term_bold='' term_norm='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%[Bb]'`" != . ]; then case $TERM in # for the most important terminal types we directly know the sequences xterm|xterm*|vt220|vt220*) term_bold=`awk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' /dev/null` term_norm=`awk 'BEGIN { printf("%c%c%c", 27, 91, 109); }' /dev/null` ;; vt100|vt100*|cygwin) term_bold=`awk 'BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0); }' /dev/null` term_norm=`awk 'BEGIN { printf("%c%c%c%c%c", 27, 91, 109, 0, 0); }' /dev/null` ;; # for all others, we try to use a possibly existing `tput' or `tcout' utility * ) paths=`echo $PATH | sed -e 's/:/ /g'` for tool in tput tcout; do for dir in $paths; do if [ -r "$dir/$tool" ]; then for seq in bold md smso; do # 'smso' is last bold="`$dir/$tool $seq 2>/dev/null`" if [ ".$bold" != . ]; then term_bold="$bold" break fi done if [ ".$term_bold" != . ]; then for seq in sgr0 me rmso init reset; do # 'reset' is last norm="`$dir/$tool $seq 2>/dev/null`" if [ ".$norm" != . ]; then term_norm="$norm" break fi done fi break fi done if [ ".$term_bold" != . -a ".$term_norm" != . ]; then break; fi done ;; esac if [ ".$term_bold" = . -o ".$term_norm" = . ]; then echo "$msgprefix:Warning: unable to determine terminal sequence for bold mode" 1>&2 term_bold='' term_norm='' fi fi # determine user name username='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%[uUgG]'`" != . ]; then username="$LOGNAME" if [ ".$username" = . ]; then username="$USER" if [ ".$username" = . ]; then username="`(whoami) 2>/dev/null |\ awk '{ printf("%s", $1); }'`" if [ ".$username" = . ]; then username="`(who am i) 2>/dev/null |\ awk '{ printf("%s", $1); }'`" if [ ".$username" = . ]; then username='unknown' fi fi fi fi fi # determine user id userid='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%U'`" != . ]; then userid="`(id -u) 2>/dev/null`" if [ ".$userid" = . ]; then str="`(id) 2>/dev/null`" if [ ".`echo $str | grep '^uid[ ]*=[ ]*[0-9]*('`" != . ]; then userid=`echo $str | sed -e 's/^uid[ ]*=[ ]*//' -e 's/(.*//'` fi if [ ".$userid" = . ]; then userid=`egrep "^${username}:" /etc/passwd 2>/dev/null | \ sed -e 's/[^:]*:[^:]*://' -e 's/:.*$//'` if [ ".$userid" = . ]; then userid=`(ypcat passwd) 2>/dev/null | egrep "^${username}:" | \ sed -e 's/[^:]*:[^:]*://' -e 's/:.*$//'` if [ ".$userid" = . ]; then userid='?' fi fi fi fi fi # determine (primary) group id groupid='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%[gG]'`" != . ]; then groupid=`egrep "^${username}:" /etc/passwd 2>/dev/null | \ sed -e 's/[^:]*:[^:]*:[^:]*://' -e 's/:.*$//'` if [ ".$groupid" = . ]; then groupid=`(ypcat passwd) 2>/dev/null | egrep "^${username}:" | \ sed -e 's/[^:]*:[^:]*:[^:]*://' -e 's/:.*$//'` if [ ".$groupid" = . ]; then groupid='?' fi fi fi # determine (primary) group name groupname='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%g'`" != . ]; then groupname=`egrep "^[^:]*:[^:]*:${groupid}:" /etc/group 2>/dev/null | \ sed -e 's/:.*$//'` if [ ".$groupname" = . ]; then groupname=`(ypcat group) 2>/dev/null | \ egrep "^[^:]*:[^:]*:${groupid}:" | \ sed -e 's/:.*$//'` if [ ".$groupname" = . ]; then groupname='?' fi fi fi # determine host and domain name hostname='' domainname='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%h'`" != . ]; then hostname="`(uname -n) 2>/dev/null |\ awk '{ printf("%s", $1); }'`" if [ ".$hostname" = . ]; then hostname="`(hostname) 2>/dev/null |\ awk '{ printf("%s", $1); }'`" if [ ".$hostname" = . ]; then hostname='unknown' fi fi case $hostname in *.* ) domainname=".`echo $hostname | cut -d. -f2-`" hostname="`echo $hostname | cut -d. -f1`" ;; esac fi if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%d'`" != . ]; then if [ ".$domainname" = . ]; then if [ -f /etc/resolv.conf ]; then domainname="`egrep '^[ ]*domain' /etc/resolv.conf | sed -e 'q' |\ sed -e 's/.*domain//' \ -e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \ -e 's/^\.//' -e 's/^/./' |\ awk '{ printf("%s", $1); }'`" if [ ".$domainname" = . ]; then domainname="`egrep '^[ ]*search' /etc/resolv.conf | sed -e 'q' |\ sed -e 's/.*search//' \ -e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \ -e 's/ .*//' -e 's/ .*//' \ -e 's/^\.//' -e 's/^/./' |\ awk '{ printf("%s", $1); }'`" fi fi fi fi # determine current time time_day='' time_month='' time_year='' time_monthname='' if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%[DMYm]'`" != . ]; then time_day=`date '+%d'` time_month=`date '+%m'` time_year=`date '+%Y' 2>/dev/null` if [ ".$time_year" = . ]; then time_year=`date '+%y'` case $time_year in [5-9][0-9]) time_year="19$time_year" ;; [0-4][0-9]) time_year="20$time_year" ;; esac fi case $time_month in 1|01) time_monthname='Jan' ;; 2|02) time_monthname='Feb' ;; 3|03) time_monthname='Mar' ;; 4|04) time_monthname='Apr' ;; 5|05) time_monthname='May' ;; 6|06) time_monthname='Jun' ;; 7|07) time_monthname='Jul' ;; 8|08) time_monthname='Aug' ;; 9|09) time_monthname='Sep' ;; 10) time_monthname='Oct' ;; 11) time_monthname='Nov' ;; 12) time_monthname='Dec' ;; esac fi # expand special ``%x'' constructs if [ ".$opt_e" = .yes ]; then text=`echo $seo "$text" |\ sed -e "s/%B/${term_bold}/g" \ -e "s/%b/${term_norm}/g" \ -e "s/%u/${username}/g" \ -e "s/%U/${userid}/g" \ -e "s/%g/${groupname}/g" \ -e "s/%G/${groupid}/g" \ -e "s/%h/${hostname}/g" \ -e "s/%d/${domainname}/g" \ -e "s/%D/${time_day}/g" \ -e "s/%M/${time_month}/g" \ -e "s/%Y/${time_year}/g" \ -e "s/%m/${time_monthname}/g" 2>/dev/null` fi # create output if [ .$opt_n = .no ]; then echo $seo "$text" else # the harder part: echo -n is best, because # awk may complain about some \xx sequences. if [ ".$minusn" != . ]; then echo $seo $minusn "$text" else echo dummy | awk '{ printf("%s", TEXT); }' TEXT="$text" fi fi ;; mdate ) ## ## mdate -- Pretty-print modification time of a file or dir ## Copyright (c) 1995-1997 Free Software Foundation, Inc. ## Originally idea and basis code by Ulrich Drepper ## Enhanced by Ralf S. Engelschall for shtool ## fod="$1" case "$opt_o" in [dmy][dmy][dmy] ) ;; * ) echo "$msgprefix:Error: invalid argument to option \`-o': $opt_o" 1>&2 exit 1 ;; esac if [ ! -r "$fod" ]; then echo "$msgprefix:Error: file or directory not found: $fod" 1>&2 exit 1 fi # prevent "date" giving response in another language LANG=C; export LANG LC_ALL=C; export LC_ALL LC_TIME=C; export LC_TIME # get the extended ls output of the file or directory. if ls -L /dev/null >/dev/null 2>&1; then set - x`ls -L -l -d $fod` else set - x`ls -l -d $fod` fi # The month is at least the fourth argument # (3 shifts here, the next inside the loop). shift; shift; shift # Find the month. Next argument is day, followed by the year or time. month="" while [ ".$month" = . ]; do shift case $1 in Jan) month=January; nummonth=1 ;; Feb) month=February; nummonth=2 ;; Mar) month=March; nummonth=3 ;; Apr) month=April; nummonth=4 ;; May) month=May; nummonth=5 ;; Jun) month=June; nummonth=6 ;; Jul) month=July; nummonth=7 ;; Aug) month=August; nummonth=8 ;; Sep) month=September; nummonth=9 ;; Oct) month=October; nummonth=10 ;; Nov) month=November; nummonth=11 ;; Dec) month=December; nummonth=12 ;; esac done day="$2" year="$3" # We finally have to deal with the problem that the "ls" output # gives either the time of the day or the year. case $year in *:*) this_year=`date '+%Y' 2>/dev/null` if [ ".$this_year" = . ]; then this_year=`date '+%y'` case $this_year in [5-9][0-9]) this_year="19$this_year" ;; [0-4][0-9]) this_year="20$this_year" ;; esac fi # for the following months of the last year the time notation # is usually also used for files modified in the last year. this_month=`date '+%m'` if (expr $nummonth \> $this_month) >/dev/null; then this_year=`expr $this_year - 1` fi year="$this_year" ;; esac # Optionally fill day and month with leeding zeros if [ ".$opt_z" = .yes ]; then case $day in [0-9][0-9] ) ;; [0-9] ) day="0$day" ;; esac case $nummonth in [0-9][0-9] ) ;; [0-9] ) nummonth="0$nummonth" ;; esac fi # Optionally use digits for month if [ ".$opt_d" = .yes ]; then month="$nummonth" fi # Optionally shorten the month name to three characters if [ ".$opt_s" = .yes ]; then month=`echo $month | cut -c1-3` fi # Output the resulting date string echo dummy | awk '{ for (i = 0; i < 3; i++) { now = substr(order, 1, 1); order = substr(order, 2); if (now == "d") out = day; else if (now == "m") out = month; else if (now == "y") out = year; if (i < 2) printf("%s%s", out, field); else printf("%s", out); } if (newline != "yes") printf("\n"); }' "day=$day" "month=$month" "year=$year" \ "field=$opt_f" "order=$opt_o" "newline=$opt_n" ;; table ) ## ## table -- Pretty-print a field-separated list as a table ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for Apache ## if [ $opt_c -gt 4 ]; then echo "$msgprefix:Error: Invalid number of colums (1..4 allowed only)" 1>&2 exit 1 fi case "x$opt_F" in x? ) ;; * ) echo "$msgprefix:Error: Invalid separator (one char allowed only)" 1>&2; exit 1 ;; esac # split the list into a table list=` IFS="$opt_F" for entry in $*; do if [ ".$entry" != . ]; then echo "$entry" fi done |\ awk " BEGIN { list = \"\"; n = 0; } { list = list \\$1; n = n + 1; if (n < $opt_c) { list = list \":\"; } if (n == $opt_c) { list = list \"\\n\"; n = 0; } } END { print list; } " ` # format table cells and make sure table # doesn't exceed maximum width OIFS="$IFS" IFS=' ' for entry in $list; do case $opt_c in 1 ) eval "echo \"\${entry}\" | awk -F: '{ printf(\"%-${opt_w}s\\n\", \$1); }'" ;; 2 ) eval "echo \"\${entry}\" | awk -F: '{ printf(\"%-${opt_w}s %-${opt_w}s\\n\", \$1, \$2); }'" ;; 3 ) eval "echo \"\${entry}\" | awk -F: '{ printf(\"%-${opt_w}s %-${opt_w}s %-${opt_w}s\\n\", \$1, \$2, \$3); }'" ;; 4 ) eval "echo \"\${entry}\" | awk -F: '{ printf(\"%-${opt_w}s %-${opt_w}s %-${opt_w}s %-${opt_w}s\\n\", \$1, \$2, \$3, \$4); }'" ;; esac done |\ awk "{ if (length(\$0) > $opt_s) { printf(\"%s\\n\", substr(\$0, 0, $opt_s-1)); } else { print \$0; } }" IFS="$OIFS" ;; prop ) ## ## prop -- Display progress with a running propeller ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for mod_ssl ## perl='' for dir in `echo $PATH | sed -e 's/:/ /g'` .; do if [ -f "$dir/perl" ]; then perl="$dir/perl" break fi done if [ ".$perl" != . ]; then # Perl is preferred because writing to STDERR in # Perl really writes immediately as one would expect $perl -e ' @p = ("|","/","-","\\"); $i = 0; while () { printf(STDERR "\r%s...%s\b", $ARGV[0], $p[$i++]); $i = 0 if ($i > 3); } printf(STDERR "\r%s \n", $ARGV[0]); ' "$opt_p" else # But if Perl doesn't exists we use Awk even # some Awk's buffer even the /dev/stderr writing :-( awk ' BEGIN { split("|#/#-#\\", p, "#"); i = 1; } { printf("\r%s%c\b", prefix, p[i++]) > "/dev/stderr"; if (i > 4) { i = 1; } } END { printf("\r%s \n", prefix) > "/dev/stderr"; } ' "prefix=$opt_p" fi ;; move ) ## ## move -- Move files with simultaneous substitution ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Originally written for shtool ## src="$1" dst="$2" # consistency checks if [ ".$src" = . -o ".$dst" = . ]; then echo "$msgprefix:Error: Invalid arguments" 1>&2 exit 1 fi if [ ".$src" = ".$dst" ]; then echo "$msgprefix:Error: Source and destination files are the same" 1>&2 exit 1 fi expsrc="$src" if [ ".$opt_e" = .yes ]; then expsrc="`echo $expsrc`" fi if [ ".$opt_e" = .yes ]; then if [ ".`echo "$src" | sed -e 's;^.*\\*.*$;;'`" = ".$src" ]; then echo "$msgprefix:Error: Source doesn't contain wildcard ('*'): $dst" 1>&2 exit 1 fi if [ ".`echo "$dst" | sed -e 's;^.*%[1-9].*$;;'`" = ".$dst" ]; then echo "$msgprefix:Error: Destination doesn't contain substitution ('%N'): $dst" 1>&2 exit 1 fi if [ ".$expsrc" = ".$src" ]; then echo "$msgprefix:Error: Sources not found or no asterisk : $src" 1>&2 exit 1 fi else if [ ! -r "$src" ]; then echo "$msgprefix:Error: Source not found: $src" 1>&2 exit 1 fi fi # determine substitution patterns if [ ".$opt_e" = .yes ]; then srcpat=`echo "$src" | sed -e 's/\\./\\\\./g' -e 's/;/\\;/g' -e 's;\\*;\\\\(.*\\\\);g'` dstpat=`echo "$dst" | sed -e 's;%\([1-9]\);\\\\\1;g'` fi # iterate over source(s) for onesrc in $expsrc; do if [ .$opt_e = .yes ]; then onedst=`echo $onesrc | sed -e "s;$srcpat;$dstpat;"` else onedst="$dst" fi errorstatus=0 if [ ".$opt_v" = .yes ]; then echo "$onesrc -> $onedst" fi if [ ".$opt_p" = .yes ]; then if [ -r $onedst ]; then if cmp -s $onesrc $onedst; then if [ ".$opt_t" = .yes ]; then echo "rm -f $onesrc" 1>&2 fi rm -f $onesrc || errorstatus=$? else if [ ".$opt_t" = .yes ]; then echo "mv -f $onesrc $onedst" 1>&2 fi mv -f $onesrc $onedst || errorstatus=$? fi else if [ ".$opt_t" = .yes ]; then echo "mv -f $onesrc $onedst" 1>&2 fi mv -f $onesrc $onedst || errorstatus=$? fi else if [ ".$opt_t" = .yes ]; then echo "mv -f $onesrc $onedst" 1>&2 fi mv -f $onesrc $onedst || errorstatus=$? fi if [ $errorstatus -ne 0 ]; then break; fi done exit $errorstatus ;; install ) ## ## install -- Install a program, script or datafile ## Copyright (c) 1997-2002 Ralf S. Engelschall ## Originally written for shtool ## # special case: "shtool install -d [...]" internally # maps to "shtool mkdir -f -p -m 755 [...]" if [ "$opt_d" = yes ]; then cmd="$0 mkdir -f -p -m 755" if [ ".$opt_o" != . ]; then cmd="$cmd -o '$opt_o'" fi if [ ".$opt_g" != . ]; then cmd="$cmd -g '$opt_g'" fi if [ ".$opt_v" = .yes ]; then cmd="$cmd -v" fi if [ ".$opt_t" = .yes ]; then cmd="$cmd -t" fi for dir in "$@"; do eval "$cmd $dir" || exit $? done exit 0 fi # determine source(s) and destination argc=$# srcs="" while [ $# -gt 1 ]; do srcs="$srcs $1" shift done dstpath="$1" # type check for destination dstisdir=0 if [ -d $dstpath ]; then dstpath=`echo "$dstpath" | sed -e 's:/$::'` dstisdir=1 fi # consistency check for destination if [ $argc -gt 2 -a $dstisdir = 0 ]; then echo "$msgprefix:Error: multiple sources require destination to be directory" 1>&2 exit 1 fi # iterate over all source(s) for src in $srcs; do dst=$dstpath # if destination is a directory, append the input filename if [ $dstisdir = 1 ]; then dstfile=`echo "$src" | sed -e 's;.*/\([^/]*\)$;\1;'` dst="$dst/$dstfile" fi # check for correct arguments if [ ".$src" = ".$dst" ]; then echo "$msgprefix:Warning: source and destination are the same - skipped" 1>&2 continue fi if [ -d "$src" ]; then echo "$msgprefix:Warning: source \`$src' is a directory - skipped" 1>&2 continue fi # make a temp file name in the destination directory dsttmp=`echo $dst |\ sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;' -e 's;^$;.;' \ -e "s;\$;/#INST@$$#;"` # verbosity if [ ".$opt_v" = .yes ]; then echo "$src -> $dst" 1>&2 fi # copy or move the file name to the temp name # (because we might be not allowed to change the source) if [ ".$opt_C" = .yes ]; then opt_c=yes fi if [ ".$opt_c" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "cp $src $dsttmp" 1>&2 fi cp $src $dsttmp || exit $? else if [ ".$opt_t" = .yes ]; then echo "mv $src $dsttmp" 1>&2 fi mv $src $dsttmp || exit $? fi # adjust the target file if [ ".$opt_e" != . ]; then sed='sed' OIFS="$IFS"; IFS="$ASC_NL"; set -- $opt_e; IFS="$OIFS" for e do sed="$sed -e '$e'" done cp $dsttmp $dsttmp.old eval "$sed <$dsttmp.old >$dsttmp" || exit $? rm -f $dsttmp.old fi if [ ".$opt_s" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "strip $dsttmp" 1>&2 fi strip $dsttmp || exit $? fi if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o $dsttmp" 1>&2 fi chown $opt_o $dsttmp || exit $? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g $dsttmp" 1>&2 fi chgrp $opt_g $dsttmp || exit $? fi if [ ".$opt_m" != ".-" ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m $dsttmp" 1>&2 fi chmod $opt_m $dsttmp || exit $? fi # determine whether to do a quick install # (has to be done _after_ the strip was already done) quick=no if [ ".$opt_C" = .yes ]; then if [ -r $dst ]; then if cmp -s $src $dst; then quick=yes fi fi fi # finally, install the file to the real destination if [ $quick = yes ]; then if [ ".$opt_t" = .yes ]; then echo "rm -f $dsttmp" 1>&2 fi rm -f $dsttmp else if [ ".$opt_t" = .yes ]; then echo "rm -f $dst && mv $dsttmp $dst" 1>&2 fi rm -f $dst && mv $dsttmp $dst fi done ;; mkdir ) ## ## mkdir -- Make one or more directories ## Copyright (c) 1996-2002 Ralf S. Engelschall ## Originally written for public domain by Noah Friedman ## Cleaned up and enhanced for shtool ## errstatus=0 for p in ${1+"$@"}; do # if the directory already exists... if [ -d "$p" ]; then if [ ".$opt_f" = .no -a ".$opt_p" = .no ]; then echo "$msgprefix:Error: directory already exists: $p" 1>&2 errstatus=1 break else continue fi fi # if the directory has to be created... if [ ".$opt_p" = .no ]; then if [ ".$opt_t" = .yes ]; then echo "mkdir $p" 1>&2 fi mkdir $p || errstatus=$? if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o $p" 1>&2 fi chown $opt_o $p || errstatus=$? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g $p" 1>&2 fi chgrp $opt_g $p || errstatus=$? fi if [ ".$opt_m" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m $p" 1>&2 fi chmod $opt_m $p || errstatus=$? fi else # the smart situation set fnord `echo ":$p" |\ sed -e 's/^:\//%/' \ -e 's/^://' \ -e 's/\// /g' \ -e 's/^%/\//'` shift pathcomp='' for d in ${1+"$@"}; do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp="./$pathcomp" ;; esac if [ ! -d "$pathcomp" ]; then if [ ".$opt_t" = .yes ]; then echo "mkdir $pathcomp" 1>&2 fi mkdir $pathcomp || errstatus=$? if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o $pathcomp" 1>&2 fi chown $opt_o $pathcomp || errstatus=$? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g $pathcomp" 1>&2 fi chgrp $opt_g $pathcomp || errstatus=$? fi if [ ".$opt_m" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m $pathcomp" 1>&2 fi chmod $opt_m $pathcomp || errstatus=$? fi fi pathcomp="$pathcomp/" done fi done exit $errstatus ;; mkln ) ## ## mkln -- Make link with calculation of relative paths ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Originally written for shtool ## args=$? srcs="" while [ $# -gt 1 ]; do srcs="$srcs $1" shift done dst="$1" if [ ! -d $dst ]; then if [ $args -gt 2 ]; then echo "$msgprefix:Error: multiple sources not allowed when target isn't a directory" 1>&2 exit 1 fi fi # determine link options lnopt="" if [ ".$opt_f" = .yes ]; then lnopt="$lnopt -f" fi if [ ".$opt_s" = .yes ]; then lnopt="$lnopt -s" fi # iterate over sources for src in $srcs; do # determine if one of the paths is an absolute path, # because then we _have_ to use an absolute symlink oneisabs=0 srcisabs=0 dstisabs=0 case $src in /* ) oneisabs=1; srcisabs=1 ;; esac case $dst in /* ) oneisabs=1; dstisabs=1 ;; esac # split source and destination into dir and base name if [ -d $src ]; then srcdir=`echo $src | sed -e 's;/*$;;'` srcbase="" else srcdir=`echo $src | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` srcbase=`echo $src | sed -e 's;.*/\([^/]*\)$;\1;'` fi if [ -d $dst ]; then dstdir=`echo $dst | sed -e 's;/*$;;'` dstbase="" else dstdir=`echo $dst | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` dstbase=`echo $dst | sed -e 's;.*/\([^/]*\)$;\1;'` fi # consistency check if [ ".$dstdir" != . ]; then if [ ! -d $dstdir ]; then echo "$msgprefix:Error: destination directory not found: $dstdir" 1>&2 exit 1 fi fi # make sure the source is reachable from the destination if [ $dstisabs = 1 ]; then if [ $srcisabs = 0 ]; then if [ -d $srcdir ]; then srcdir="`cd $srcdir; pwd | sed -e 's;/*$;;'`" srcisabs=1 oneisabs=1 fi fi fi # split away a common prefix prefix="" if [ ".$srcdir" = ".$dstdir" -a ".$srcdir" != . ]; then prefix="$srcdir/" srcdir="" dstdir="" else while [ ".$srcdir" != . -a ".$dstdir" != . ]; do presrc=`echo $srcdir | sed -e 's;^\([^/]*\)/.*;\1;'` predst=`echo $dstdir | sed -e 's;^\([^/]*\)/.*;\1;'` if [ ".$presrc" != ".$predst" ]; then break fi prefix="$prefix$presrc/" srcdir=`echo $srcdir | sed -e 's;^[^/]*/*;;'` dstdir=`echo $dstdir | sed -e 's;^[^/]*/*;;'` done fi # destination prefix is just the common prefix dstpre="$prefix" # determine source prefix which is the reverse directory # step-up corresponding to the destination directory srcpre="" if [ $oneisabs = 0 ] || [ ".$prefix" != . -a ".$prefix" != ./ ]; then pl="$dstdir/" OIFS="$IFS"; IFS='/' for pe in $pl; do [ ".$pe" = . ] && continue srcpre="../$srcpre" done IFS="$OIFS" else if [ $srcisabs = 1 ]; then srcpre="$prefix" fi fi # determine destination symlink name if [ ".$dstbase" = . ]; then if [ ".$srcbase" != . ]; then dstbase="$srcbase" else dstbase=`echo "$prefix$srcdir" | sed -e 's;/*$;;' -e 's;.*/\([^/]*\)$;\1;'` fi fi # now finalize source and destination directory paths srcdir=`echo $srcdir | sed -e 's;\([^/]\)$;\1/;'` dstdir=`echo $dstdir | sed -e 's;\([^/]\)$;\1/;'` # run the final link command if [ ".$opt_t" = .yes ]; then echo "ln$lnopt $srcpre$srcdir$srcbase $dstpre$dstdir$dstbase" fi eval ln$lnopt $srcpre$srcdir$srcbase $dstpre$dstdir$dstbase done ;; mkshadow ) ## ## mkshadow -- Make a shadow tree through symbolic links ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for Apache ## # source and destination directory src=`echo "$1" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` dst=`echo "$2" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` # check whether source exists if [ ! -d $src ]; then echo "$msgprefix:Error: source directory not found: \`$src'" 1>&2 exit 1 fi # determine if one of the paths is an absolute path, # because then we have to use an absolute symlink oneisabs=0 case $src in /* ) oneisabs=1 ;; esac case $dst in /* ) oneisabs=1 ;; esac # determine reverse directory for destination directory dstrevdir='' if [ $oneisabs = 0 ]; then # derive reverse path from forward path pwd=`pwd` OIFS="$IFS"; IFS='/' for pe in $dst; do if [ "x$pe" = "x.." ]; then OIFS2="$IFS"; IFS="$DIFS" eval `echo "$pwd" |\ sed -e 's:\([^/]*\)$:; dir="\1":' \ -e 's:^\(.*\)/[^/]*;:pwd="\1";:'\ -e 's:^;:pwd="";:'` dstrevdir="$dir/$dstrevdir" IFS="$OIFS2" else dstrevdir="../$dstrevdir" fi done IFS="$OIFS" else src="`cd $src; pwd`"; fi # create directory tree at destination if [ ! -d $dst ]; then if [ ".$opt_t" = .yes ]; then echo "mkdir $dst" 1>&2 fi mkdir $dst fi if [ ".$opt_a" = .yes ]; then DIRS=`cd $src; find . -type d -print |\ sed -e '/^\.$/d' -e 's:^\./::'` else DIRS=`cd $src; find . -type d -print |\ sed -e '/\/CVS/d' -e '/^\.$/d' -e 's:^\./::'` fi for dir in $DIRS; do if [ ".$opt_t" = .yes ]; then echo "mkdir $dst/$dir" 1>&2 fi mkdir $dst/$dir done # fill directory tree with symlinks to files if [ ".$opt_a" = .yes ]; then FILES="`cd $src; find . -depth -print |\ sed -e 's/^\.\///'`" else FILES="`cd $src; find . -depth -print |\ sed -e '/\.o$/d' -e '/\.a$/d' -e '/\.so$/d' \ -e '/\.cvsignore$/d' -e '/\/CVS/d' \ -e '/\/\.#/d' -e '/\.orig$/d' \ -e 's/^\.\///'`" fi for file in $FILES; do # don't use `-type f' above for find because of symlinks if [ -d "$src/$file" ]; then continue fi basename=`echo $file | sed -e 's:^.*/::'` dir=`echo $file | sed -e 's:[^/]*$::' -e 's:/$::' -e 's:$:/:' -e 's:^/$::'` from=`echo "$src/$file" | sed -e 's/^\.\///'` to="$dst/$dir$basename" if [ $oneisabs = 0 ]; then if [ ".$dir" != . ]; then subdir=`echo $dir | sed -e 's:/$::'` # derive reverse path from forward path revdir='' OIFS="$IFS"; IFS='/' for pe in $subdir; do revdir="../$revdir" done IFS="$OIFS" # finalize from from="$revdir$from" fi from="$dstrevdir$from" fi if [ ".$opt_v" = .yes ]; then echo " $to" 1>&2 fi if [ ".$opt_t" = .yes ]; then echo "ln -s $from $to" 1>&2 fi ln -s $from $to done ;; fixperm ) ## ## fixperm -- Fix file permissions inside a source tree ## Copyright (c) 1996-2002 Ralf S. Engelschall ## Originally written for ePerl ## paths="$*" # check whether the test command supports the -x option if [ -x /bin/sh ] 2>/dev/null; then minusx="-x" else minusx="-r" fi # iterate over paths for p in $paths; do for file in `find $p -depth -print`; do if [ -f $file ]; then if [ $minusx $file ]; then if [ ".$opt_v" = .yes ]; then echo "-rwxrwxr-x $file" 2>&1 fi if [ ".$opt_t" = .yes ]; then echo "chmod 775 $file" 2>&1 fi chmod 775 $file else if [ ".$opt_v" = .yes ]; then echo "-rw-rw-r-- $file" 2>&1 fi if [ ".$opt_t" = .yes ]; then echo "chmod 664 $file" 2>&1 fi chmod 664 $file fi continue fi if [ -d $file ]; then if [ ".$opt_v" = .yes ]; then echo "drwxrwxr-x $file" 2>&1 fi if [ ".$opt_t" = .yes ]; then echo "chmod 775 $file" 2>&1 fi chmod 775 $file continue fi if [ ".$opt_v" = .yes ]; then echo "?????????? $file" 2>&1 fi done done ;; rotate ) ## ## rotate -- Logfile rotation ## Copyright (c) 2001-2002 Ralf S. Engelschall ## Originally written for use in OpenPKG ## # make sure we have at least one file to rotate if [ ".$opt_n" = .0 ]; then echo "$msgprefix:Error: invalid argument \`$opt_n' to option -n." 1>&2 exit 1 fi # canonicalize -s option argument if [ ".$opt_s" != . ]; then if [ ".`expr $opt_s : '[0-9]*$'`" != .0 ]; then : elif [ ".`expr $opt_s : '[0-9]*[Kk]$'`" != .0 ]; then opt_s=`expr $opt_s : '\([0-9]*\)[Kk]$'` opt_s=`expr $opt_s \* 1024` elif [ ".`expr $opt_s : '[0-9]*[Mm]$'`" != .0 ]; then opt_s=`expr $opt_s : '\([0-9]*\)[Mm]$'` opt_s=`expr $opt_s \* 1048576` # 1024*1024 elif [ ".`expr $opt_s : '[0-9]*[Gg]$'`" != .0 ]; then opt_s=`expr $opt_s : '\([0-9]*\)[Gg]$'` opt_s=`expr $opt_s \* 1073741824` # 1024*1024*1024 else echo "$msgprefix:Error: invalid argument \`$opt_s' to option -s." 1>&2 exit 1 fi fi # option -d/-z consistency if [ ".$opt_d" = .yes -a ".$opt_z" = . ]; then echo "$msgprefix:Error: option -d requires option -z." 1>&2 exit 1 fi # make sure target directory exists if [ ".$opt_a" != . ]; then if [ ! -d $opt_a ]; then if [ ".$opt_f" = .no ]; then echo "$msgprefix:Error: archive directory \`$opt_a' does not exist." 1>&2 exit 1 fi mkdir $opt_a || exit $? chmod 755 $opt_a fi if [ ! -w $opt_a ]; then echo "$msgprefix:Error: archive directory \`$opt_a' not writable." 1>&2 exit 1 fi fi # determine compression approach if [ ".$opt_z" != . ]; then comp_lvl="$opt_z" comp_prg="" case $comp_lvl in *:* ) eval `echo $comp_lvl |\ sed -e 's%^\(.*\):\(.*\)$%comp_prg="\1"; comp_lvl="\2"%'` ;; esac # compression level consistency case $comp_lvl in [0-9] ) ;; * ) echo "$msgprefix:Error: invalid compression level \`$comp_lvl'" 1>&2 exit 1 ;; esac # determine a suitable compression tool if [ ".$comp_prg" = . ]; then # check whether the test command supports the -x option if [ -x /bin/sh ] 2>/dev/null; then minusx="-x" else minusx="-r" fi # search for tools in $PATH paths="`echo $PATH |\ sed -e 's%/*:%:%g' -e 's%/*$%%' \ -e 's/^:/.:/' -e 's/::/:.:/g' -e 's/:$/:./' \ -e 's/:/ /g'`" for prg in bzip2 gzip compress; do for path in $paths; do if [ $minusx "$path/$prg" -a ! -d "$path/$prg" ]; then comp_prg="$prg" break fi done if [ ".$comp_prg" != . ]; then break fi done if [ ".$comp_prg" = . ]; then echo "$msgprefix:Error: no suitable compression tool found in \$PATH" 1>&2 exit 1 fi fi # determine standard compression extension # and make sure it is a known tool case $comp_prg in */bzip2 | bzip2 ) comp_ext="bz2" comp_lvl="-$comp_lvl" ;; */gzip | gzip ) comp_ext="gz" comp_lvl="-$comp_lvl" ;; */compress | compress ) comp_ext="Z"; comp_lvl="" ;; * ) echo "$msgprefix:Error: tool \`$comp_prg' is not a known compression tool" 1>&2 exit 1 ;; esac comp_suf=".$comp_ext" fi # iterate over all given logfile arguments for file in $*; do # make sure the logfile exists if [ ! -f $file ]; then if [ ".$opt_f" = .yes ]; then continue fi echo "$msgprefix:Error: logfile \`$file' not found" 1>&2 exit 1 fi # determine log directory (where original logfile is placed) ldir="." case $file in */* ) eval `echo $file | sed -e 's%^\(.*\)/\([^/]*\)$%ldir="\1"; file="\2";%'` ;; esac # determine archive directory (where rotated logfiles are placed) adir="$ldir" if [ ".$opt_a" != . ]; then case "$opt_a" in /* | ./* ) adir="$opt_a" ;; * ) adir="$ldir/$opt_a" ;; esac fi # optionally take logfile size into account if [ ".$opt_s" != . ]; then # determine size of logfile set -- `ls -l $ldir/$file | sed -e 's; -> .*$;;' -e 's;[ ][ ]*; ;g'` n=`expr $# - 4` eval "size=\`echo \${$n}\`" # skip logfile if size is still too small if [ $size -lt $opt_s ]; then if [ ".$opt_v" = .yes ]; then echo "$ldir/$file: still too small in size -- skipping" fi continue fi fi # verbosity if [ ".$opt_v" = .yes ]; then echo "rotating $ldir/$file" fi # execute prolog if [ ".$opt_P" != . ]; then if [ ".$opt_t" = .yes ]; then echo "$opt_P" fi eval $opt_P [ $? -ne 0 ] && exit $? fi # kick away out-rotated logfile n=`expr $opt_n - 1` n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` if [ -f "${adir}/${file}.${n}${comp_suf}" ]; then # optionally migrate away the out-rotated logfile if [ ".$opt_M" != . ]; then if [ ".$opt_t" = .yes ]; then echo "$opt_M ${adir}/${file}.${n}${comp_suf}" fi eval "$opt_M ${adir}/${file}.${n}${comp_suf}" [ $? -ne 0 ] && exit $? fi # finally get rid of the out-rotated logfile if [ ".$opt_t" = .yes ]; then echo "rm -f ${adir}/${file}.${n}${comp_suf}" fi rm -f ${adir}/${file}.${n}${comp_suf} || exit $? fi # rotate already archived logfiles while [ $n -gt 0 ]; do m=$n n=`expr $n - 1` n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` if [ $n -eq 0 -a ".$opt_d" = .yes ]; then # special case: first rotation file under delayed compression situation if [ ! -f "${adir}/${file}.${n}" ]; then continue fi # compress file (delayed) if [ ".$opt_b" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "mv ${adir}/${file}.${n} ${adir}/${file}.${m}" fi mv ${adir}/${file}.${n} ${adir}/${file}.${m} || exit $? if [ ".$opt_t" = .yes ]; then echo "(${comp_prg} ${comp_lvl} <${adir}/${file}.${m} >${adir}/${file}.${m}${comp_suf}; rm -f ${adir}/${file}.${m}) &" fi ( ${comp_prg} ${comp_lvl} \ <${adir}/${file}.${m} \ >${adir}/${file}.${m}${comp_suf} || exit $? rm -f ${adir}/${file}.${m} || exit $? ) /dev/null 2>&1 & else if [ ".$opt_t" = .yes ]; then echo "${comp_prg} ${comp_lvl} <${adir}/${file}.${n} >${adir}/${file}.${m}${comp_suf}" fi ${comp_prg} ${comp_lvl} \ <${adir}/${file}.${n} \ >${adir}/${file}.${m}${comp_suf} || exit $? if [ ".$opt_t" = .yes ]; then echo "rm -f ${adir}/${file}.${n}" fi rm -f ${adir}/${file}.${n} || exit $? fi # fix file attributes if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o ${adir}/${file}.${m}${comp_suf}" fi chown $opt_o ${adir}/${file}.${m}${comp_suf} || exit $? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g ${adir}/${file}.${m}${comp_suf}" fi chgrp $opt_g ${adir}/${file}.${m}${comp_suf} || exit $? fi if [ ".$opt_m" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m ${adir}/${file}.${m}${comp_suf}" fi chmod $opt_m ${adir}/${file}.${m}${comp_suf} || exit $? fi else # standard case: second and following rotation file if [ ! -f "${adir}/${file}.${n}${comp_suf}" ]; then continue fi if [ ".$opt_t" = .yes ]; then echo "mv ${adir}/${file}.${n}${comp_suf} ${adir}/${file}.${m}${comp_suf}" fi mv ${adir}/${file}.${n}${comp_suf} ${adir}/${file}.${m}${comp_suf} || exit $? fi done # move away current logfile if [ ".$opt_c" = .yes ]; then # approach: copy[+truncate] if [ ".$opt_t" = .yes ]; then echo "cp -p ${ldir}/${file} ${adir}/${file}.${n}" fi cp -p ${ldir}/${file} ${adir}/${file}.${n} || exit $? if [ ".$opt_r" = .no ]; then if [ ".$opt_t" = .yes ]; then echo "cp /dev/null ${ldir}/${file}" fi cp /dev/null ${ldir}/${file} || exit $? fi else # approach: move[+touch] if [ ".$opt_t" = .yes ]; then echo "mv ${ldir}/${file} ${adir}/${file}.${n}" fi mv ${ldir}/${file} ${adir}/${file}.${n} || exit $? if [ ".$opt_r" = .no ]; then if [ ".$opt_t" = .yes ]; then echo "touch ${ldir}/${file}" fi touch ${ldir}/${file} || exit $? # fix file attributes if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o ${ldir}/${file}" fi chown $opt_o ${ldir}/${file} || exit $? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g ${ldir}/${file}" fi chgrp $opt_g ${ldir}/${file} || exit $? fi if [ ".$opt_m" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m ${ldir}/${file}" fi chmod $opt_m ${ldir}/${file} || exit $? fi fi fi # regular compression step if [ ".$opt_z" != . -a ".$opt_d" = .no ]; then # compress file if [ ".$opt_b" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "(${comp_prg} ${comp_lvl} <${adir}/${file}.${n} >${adir}/${file}.${n}${comp_suf}; rm -f ${adir}/${file}.${n}) &" fi ( ${comp_prg} ${comp_lvl} \ <${adir}/${file}.${n} \ >${adir}/${file}.${n}${comp_suf} || exit $? rm -f ${adir}/${file}.${n} || exit $? ) /dev/null 2>&1 & else if [ ".$opt_t" = .yes ]; then echo "${comp_prg} ${comp_lvl} <${adir}/${file}.${n} >${adir}/${file}.${n}${comp_suf}" fi ${comp_prg} ${comp_lvl} \ <${adir}/${file}.${n} \ >${adir}/${file}.${n}${comp_suf} || exit $? if [ ".$opt_t" = .yes ]; then echo "rm -f ${opt_a}${file}.${n}" fi rm -f ${adir}/${file}.${n} || exit $? fi # fix file attributes if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o ${adir}/${file}.${n}${comp_suf}" fi chown $opt_o ${adir}/${file}.${n}${comp_suf} || exit $? fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp $opt_g ${adir}/${file}.${n}${comp_suf}" fi chgrp $opt_g ${adir}/${file}.${n}${comp_suf} || exit $? fi if [ ".$opt_m" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chmod $opt_m ${adir}/${file}.${n}${comp_suf}" fi chmod $opt_m ${adir}/${file}.${n}${comp_suf} || exit $? fi fi # execute epilog if [ ".$opt_E" != . ]; then if [ ".$opt_t" = .yes ]; then echo "$opt_E" fi eval $opt_E [ $? -ne 0 ] && exit $? fi done ;; tarball ) ## ## tarball -- Roll distribution tarballs ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Originally written for shtool ## srcs="$*" # check whether the test command supports the -x option if [ -x /bin/sh ] 2>/dev/null; then minusx="-x" else minusx="-r" fi # find the tools paths="`echo $PATH |\ sed -e 's%/*:%:%g' -e 's%/*$%%' \ -e 's/^:/.:/' -e 's/::/:.:/g' -e 's/:$/:./' \ -e 's/:/ /g'`" for spec in find:gfind,find tar:gtar,tar tardy:tardy,tarcust; do prg=`echo $spec | sed -e 's/:.*$//'` tools=`echo $spec | sed -e 's/^.*://'` eval "prg_${prg}=''" # iterate over tools for tool in `echo $tools | sed -e 's/,/ /g'`; do # iterate over paths for path in $paths; do if [ $minusx "$path/$tool" -a ! -d "$path/$tool" ]; then eval "prg_${prg}=\"$path/$tool\"" break fi done eval "val=\$prg_${prg}" if [ ".$val" != . ]; then break fi done done # expand source paths exclude='' for pat in `echo $opt_e | sed 's/,/ /g'`; do exclude="$exclude | grep -v '$pat'" done if [ ".$opt_t" = .yes ]; then echo "cp /dev/null $tmpfile.lst" 1>&2 fi cp /dev/null $tmpfile.lst for src in $srcs; do if [ -d $src ]; then if [ ".$opt_t" = .yes ]; then echo "(cd $src && $prg_find . -type f -depth -print) | sed -e 's:^\\.\$::' -e 's:^\\./::' | cat $exclude >>$tmpfile.lst" 1>&2 fi (cd $src && $prg_find . -type f -depth -print) |\ sed -e 's:^\.$::' -e 's:^\./::' | eval cat $exclude >>$tmpfile.lst else if [ ".$opt_t" = .yes ]; then echo "echo $src >>$tmpfile.lst" 1>&2 fi echo $src >>$tmpfile.lst fi done sort <$tmpfile.lst >$tmpfile.lst.n mv $tmpfile.lst.n $tmpfile.lst if [ ".$opt_v" = .yes ]; then cat $tmpfile.lst | sed -e 's/^/ /' 1>&2 fi # determine tarball file and directory name if [ ".$opt_o" != . ]; then tarfile="$opt_o" if [ ".$opt_d" != . ]; then tarname="$opt_d" else tarname=`echo $tarfile | sed -e 's/\.tar.*$//' -e 's;.*/\([^/]*\)$;\1;'` fi else if [ ".$opt_d" != . ]; then tarname="$opt_d" elif [ -d "$from" ]; then tarname=`echo $from | sed -e 's;.*/\([^/]*\)$;\1;'` else tarname="out" fi tarfile="$tarname.tar" fi # roll the tarball compress='' if [ ".$opt_c" != . ]; then compress="| $opt_c" fi if [ ".$prg_tardy" != . ]; then # the elegant hackers way tardy_opt="--prefix=$tarname" tardy_opt="$tardy_opt --user_number=0 --group_number=0" # security! if [ ".$opt_u" != . ]; then tardy_opt="$tardy_opt --user_name=$opt_u" fi if [ ".$opt_g" != . ]; then tardy_opt="$tardy_opt --group_name=$opt_g" fi if [ ".$opt_t" = .yes ]; then echo "cat $tmpfile.lst | xargs $prg_tar cf - | $prg_tardy $tardy_opt | cat $compress >$tmpfile.out" 1>&2 fi cat $tmpfile.lst |\ xargs $prg_tar cf - |\ $prg_tardy $tardy_opt |\ eval cat $compress >$tmpfile.out if [ ".$opt_t" = .yes ]; then echo "cp $tmpfile.out $tarfile" 1>&2 fi cp $tmpfile.out $tarfile else # the portable standard way if [ ".$opt_t" = .yes ]; then echo "mkdir $tmpdir/$tarname" 1>&2 fi mkdir $tmpdir/$tarname || exit 1 if [ ".$opt_t" = .yes ]; then echo "cat $tmpfile.lst | xargs $prg_tar cf - | (cd $tmpdir/$tarname && $prg_tar xf -)" 1>&2 fi cat $tmpfile.lst |\ xargs $prg_tar cf - |\ (cd $tmpdir/$tarname && $prg_tar xf -) if [ ".$opt_u" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown -R $opt_u $tmpdir/$tarname >/dev/null 2>&1" 2>&1 fi chown -R $opt_u $tmpdir/$tarname >/dev/null 2>&1 ||\ echo "$msgprefix:Warning: cannot set user name \`$opt_u' (would require root priviledges)" fi if [ ".$opt_g" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chgrp -R $opt_g $tmpdir/$tarname >/dev/null 2>&1" 2>&1 fi chgrp -R $opt_g $tmpdir/$tarname >/dev/null 2>&1 ||\ echo "$msgprefix:Warning: cannot set group name \`$opt_g' (would require root priviledges)" fi if [ ".$opt_t" = .yes ]; then echo "(cd $tmpdir && $prg_find $tarname -type f -depth -print | sort | xargs $prg_tar cf -) | cat $compress >$tmpfile.out" 1>&2 fi (cd $tmpdir && $prg_find $tarname -type f -depth -print | sort | xargs $prg_tar cf -) |\ eval cat $compress >$tmpfile.out if [ ".$opt_t" = .yes ]; then echo "cp $tmpfile.out $tarfile" 1>&2 fi cp $tmpfile.out $tarfile if [ ".$opt_t" = .yes ]; then echo "rm -rf $tmpdir/$tarname" 1>&2 fi rm -rf $tmpdir/$tarname fi # cleanup if [ ".$opt_t" = .yes ]; then echo "rm -f $tmpfile.lst $tmpfile.out" 1>&2 fi rm -f $tmpfile.lst $tmpfile.out ;; subst ) ## ## subst -- Apply sed(1) substitution operations ## Copyright (c) 2001-2002 Ralf S. Engelschall ## Originally written for OpenPKG's rpmtool ## # remember optional list of file(s) files="$*" # parameter consistency check if [ $# -eq 0 -a ".$opt_b" != . ]; then echo "$msgprefix:Error: option -b cannot be applied to stdin" 1>&2 exit 1 fi if [ $# -eq 0 -a ".$opt_s" = .yes ]; then echo "$msgprefix:Error: option -s cannot be applied to stdin" 1>&2 exit 1 fi # build underlying sed(1) command sedcmd='sed' if [ ".$opt_e" != . ]; then OIFS="$IFS"; IFS="$ASC_NL"; set -- $opt_e; IFS="$OIFS" for e do sedcmd="$sedcmd -e '$e'" done elif [ ".$opt_f" != . ]; then if [ ! -f $opt_f ]; then echo "$msgprefix:Error: command file \`$opt_f' not found or not a regular file" 1>&2 exit 1 fi sedcmd="$sedcmd -f '$opt_f'" else echo "$msgprefix:Error: either -e option(s) or -f option required" 1>&2 exit 1 fi # determine extension for original file orig=".orig" if [ ".$opt_b" != . ]; then orig="$opt_b" fi # apply sed(1) operation(s) if [ ".$files" != . ]; then # apply operation(s) to files for file in $files; do test ".$file" = . && continue if [ ! -f $file ]; then echo "$msgprefix:Warning: file \`$file' not found or not a regular file" 1>&2 continue fi # handle interactive mode if [ ".$opt_i" = .yes ]; then eval "$sedcmd <$file >$file.new" skip=no if cmp $file $file.new >/dev/null 2>&1; then rm -f $file.new skip=yes else (diff -U1 $file $file.new >$tmpfile) 2>/dev/null if [ ".`cat $tmpfile`" = . ]; then (diff -C1 $file $file.new >$tmpfile) 2>/dev/null if [ ".`cat $tmpfile`" = . ]; then echo "$msgprefix:Warning: unable to show difference for file \`$file'" 1>&2 cp /dev/null $tmpfile fi fi rm -f $file.new cat $tmpfile echo dummy | awk '{ printf("%s", TEXT); }' TEXT=">>> Apply [Y/n]: " read input if [ ".$input" != .Y ] &&\ [ ".$input" != .y ] &&\ [ ".$input" != . ]; then skip=yes fi fi if [ ".$skip" = .yes ]; then if [ ".$opt_v" = .yes ]; then echo "file \`$file' -- skipped" 1>&2 fi continue fi fi # apply sed(1) operation(s) if [ ".$opt_v" = .yes ]; then echo "patching \`$file'" 1>&2 fi if [ ".$opt_t" = .yes ]; then echo "\$ cp -p $file $file$orig" echo "\$ $sedcmd <$file$orig >$file" fi if [ ".$opt_n" = .no ]; then cp -p $file $file$orig eval "$sedcmd <$file$orig >$file" fi # optionally fix timestamp if [ ".$opt_s" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "\$ touch -r $file$orig $file" fi if [ ".$opt_n" = .no ]; then touch -r $file$orig $file fi fi # optionally remove preserved original file if [ ".$opt_b" = . ]; then if [ ".$opt_t" = .yes ]; then echo "\$ rm -f $file$orig" fi if [ ".$opt_n" = .no ]; then rm -f $file$orig fi fi done else # apply operation(s) to stdin/stdout if [ ".$opt_v" = .yes ]; then echo "patching " 1>&2 fi if [ ".$opt_t" = .yes ]; then echo "\$ $sedcmd" fi if [ ".$opt_n" = .no ]; then eval "$sedcmd" fi fi ;; guessos ) ## ## guessos -- Simple operating system guesser ## Copyright (c) 1996-1999 The Apache Group, http://www.apache.org/ ## The Apache license applies (see http://www.apache.org/docs/LICENSE) ## Originally written for Apache ## MACHINE=`(uname -m) 2>/dev/null` || MACHINE=`(uname -p) 2>/dev/null` || MACHINE="unknown" RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown" SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" XREL=`(uname -X) 2>/dev/null | grep "^Release" | awk '{print $3}'` if [ "x$XREL" != "x" ]; then if [ -f /etc/kconfig ]; then case "$XREL" in 4.0|4.1) echo "${MACHINE}-whatever-isc4"; exit 0 ;; esac else case "$XREL" in 3.2v4.2) echo "whatever-whatever-sco3"; exit 0 ;; 3.2v5.0*) echo "whatever-whatever-sco5"; exit 0 ;; 4.2MP) if [ "x$VERSION" = "x2.1.1" ]; then echo "${MACHINE}-whatever-unixware211"; exit 0 elif [ "x$VERSION" = "x2.1.2" ]; then echo "${MACHINE}-whatever-unixware212"; exit 0 else echo "${MACHINE}-whatever-unixware2"; exit 0 fi ;; 4.2) echo "whatever-whatever-unixware1"; exit 0 ;; 5) case "$VERSION" in 7*) echo "${MACHINE}-whatever-unixware7"; exit 0 ;; esac ;; esac fi fi case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in MiNT:*) echo "m68k-atari-mint"; exit 0 ;; A/UX:*) echo "m68k-apple-aux3"; exit 0 ;; AIX:*) MACH=`echo $MACHINE | sed -e 's;[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F];;'` echo "${MACH}-ibm-aix${VERSION}.${RELEASE}"; exit 0 ;; dgux:*) echo "${MACHINE}-dg-dgux"; exit 0 ;; HI-UX:*) echo "${MACHINE}-hi-hiux"; exit 0 ;; HP-UX:*) HPUXVER=`echo ${RELEASE}|sed -e 's/[^.]*.[0B]*//'` MACHINE=`echo ${MACHINE}|sed -e 's:/:_:'` echo "${MACHINE}-hp-hpux${HPUXVER}"; exit 0 ;; IRIX:*) if [ -f /usr/lib32/mips4/libm.so ]; then echo "${MACHINE}/32-sgi-irix${RELEASE}"; exit 0 else echo "${MACHINE}-sgi-irix${RELEASE}"; exit 0 fi ;; IRIX64:*) echo "${MACHINE}/64-sgi-irix${RELEASE}"; exit 0 ;; Linux:*) V='whatever' case "$MACHINE" in i?86) V='pc' ;; esac R='' case "$RELEASE" in [1-9].*) R=`echo $RELEASE | cut -c1` ;; esac echo "${MACHINE}-${V}-linux-gnu${R}"; exit 0 ;; LynxOS:*) echo "${MACHINE}-lynx-lynxos"; exit 0 ;; BSD/386|BSD/OS:3.*) echo "${MACHINE}-whatever-bsdi3"; exit 0 ;; BSD/386:*:*:*486*|BSD/OS:*:*:*:*486*) echo "i486-whatever-bsdi"; exit 0 ;; BSD/386:*|BSD/OS:*) echo "${MACHINE}-whatever-bsdi"; exit 0 ;; FreeBSD:*) VERS=`echo ${RELEASE} | sed -e 's/[-(].*//'` MACH=`/sbin/sysctl -n hw.model` ARCH='whatever' case ${MACH} in *386* ) MACH="i386" ;; *486* ) MACH="i486" ;; Pentium\ II*) MACH="i686" ;; Pentium* ) MACH="i586" ;; Alpha* ) MACH="alpha" ;; * ) MACH="$MACHINE" ;; esac case ${MACH} in i[0-9]86 ) ARCH="pc" ;; esac echo "${MACH}-${ARCH}-freebsd${VERS}"; exit 0 ;; NetBSD:*:*:*486*) echo "i486-whatever-netbsd${RELEASE}"; exit 0 ;; NetBSD:*) echo "${MACHINE}-whatever-netbsd${RELEASE}"; exit 0 ;; OpenBSD:*) echo "${MACHINE}-whatever-openbsd"; exit 0 ;; OSF1:*:*:*alpha*) VERS=`echo $RELEASE | sed -e 's;^V;;'` echo "${MACHINE}-dec-osf${VERS}"; exit 0 ;; QNX:*) if [ "$VERSION" -gt 422 ]; then echo "${MACHINE}-qssl-qnx32" else echo "${MACHINE}-qssl-qnx" fi exit 0 ;; Paragon*:*:*:*) echo "i860-intel-osf1"; exit 0 ;; SunOS:5.*) VERSION=`echo $RELEASE | sed -e 's;^5\.;;'` echo "${MACHINE}-sun-solaris2.${VERSION}"; exit 0 ;; SunOS:*) echo "${MACHINE}-sun-sunos4"; exit 0 ;; UNIX_System_V:4.*:*) echo "${MACHINE}-whatever-sysv4"; exit 0 ;; unix:3.0.9*:*:88k) echo "${MACHINE}-encore-sysv4"; exit 0 ;; *:4*:R4*:m88k) echo "${MACHINE}-whatever-sysv4"; exit 0 ;; UnixWare:5:99*:*) # Gemini, beta release of next rev of unixware echo "${MACHINE}-whatever-unixware212"; exit 0 ;; DYNIX/ptx:4*:*) echo "${MACHINE}-whatever-sysv4"; exit 0 ;; *:4.0:3.0:[345][0-9]?? | *:4.0:3.0:3[34]??[/,]* | library:*) echo "x86-ncr-sysv4"; exit 0 ;; ULTRIX:*) echo "${MACHINE}-unknown-ultrix"; exit 0 ;; SINIX-?:* | ReliantUNIX-?:*) echo "${MACHINE}-siemens-sysv4"; exit 0 ;; POSIX*BS2000) echo "${MACHINE}-siemens-sysv4"; exit 0 ;; machten:*) echo "${MACHINE}-tenon-${SYSTEM}"; exit 0; ;; ConvexOS:*:11.*:*) echo "${MACHINE}-v11-${SYSTEM}"; exit 0; ;; UNIX_SV:*:*:maxion) echo "${MACHINE}-ccur-sysv4"; exit 0; ;; PowerMAX_OS:*:*:Night_Hawk) MACHINE=`uname -p` echo "${MACHINE}-concurrent-powermax"; exit 0; ;; UNIX_SV:*) if [ -d /usr/nec ];then echo "mips-nec-sysv4"; exit 0; fi ;; NonStop-UX:4.[02]*:[BC]*:*) echo "${MACHINE}-tandem-sysv4"; exit 0; ;; Rhapsody:*:*:*) case "${MACHINE}" in "Power Macintosh") MACHINE=powerpc ;; esac echo "${MACHINE}-apple-rhapsody${RELEASE}"; exit 0 ;; Darwin:*:*:*) MACHINE=`uname -p` echo "${MACHINE}-apple-darwin${RELEASE}"; exit 0 ;; "Mac OS":*:*:*) MACHINE=`uname -p` echo "${MACHINE}-apple-macos${RELEASE}"; exit 0 ;; "RISC iX":*) echo "arm-whatever-riscix"; exit 0; ;; *:4.0:2:*) echo "whatever-unisys-sysv4"; exit 0; ;; *:*:dcosx:NILE*) echo "pyramid-pyramid-svr4"; exit 0; ;; *:*:*:"DRS 6000") echo "drs6000-whatever-whatever"; exit 0; ;; AmigaOS:*:*:* ) echo "${MACHINE}-whatever-${SYSTEM}${RELEASE}"; exit 0 ;; esac # Now NeXT ISNEXT=`(hostinfo) 2>/dev/null` case "$ISNEXT" in *NeXT*) # Swiped from a friendly uname clone for NEXT/OPEN Step. NEXTOSVER="`hostinfo | sed -n 's/.*NeXT Mach \([0-9\.]*\).*/\1/p'`" if [ "$NEXTOSVER" -gt 3.3 ]; then NEXTOS="openstep" else NEXTOS="nextstep" fi NEXTREL="`hostinfo | sed -n 's/.*NeXT Mach \([0-9\.]*\).*/\1/p'`" NEXTARCH=`arch` echo "${NEXTARCH}-next-${NEXTOS}${NEXTREL}" ; exit 0 ;; esac # Fallback echo "${MACHINE}-unknown-${SYSTEM}/${RELEASE}/${VERSION}" ;; arx ) ## ## arx -- Extended archive command ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Originally written for shtool ## ar_prg="$opt_C" ar_cmd="$1"; shift archive="$1"; shift files="$*" # walk through the file list and expand archives members tmpdir=`echo $archive | sed -e 's;[^/]*$;.arx;'` nfiles='' if [ ".$files" != . ]; then for file in $files; do if [ ! -f $file ]; then echo "$msgprefix:Error: input file not found: $file" 1>&2 exit 1 fi case $file in *.a ) if [ ! -d $tmpdir ]; then if [ ".$opt_t" = .yes ]; then echo "mkdir $tmpdir" 1>&2 fi mkdir $tmpdir fi case $tmpdir in .arx ) from="../$file" ;; * ) dir=`echo $file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;' -e 's;^$;.;'` base=`echo $file | sed -e 's;.*/\([^/]*\)$;\1;'` from="`cd $dir; pwd`/$base" ;; esac if [ ".$opt_t" = .yes ]; then echo "(cd $tmpdir && $ar_prg x $from)" 1>&2 fi (cd $tmpdir && eval $ar_prg x $from) if [ $? -ne 0 ]; then echo "$msgprefix:Error: member extraction failed for archive: $file" 1>&2 exit 1 fi for member in - `eval $ar_prg t $file | sed -e '/_\.SYMDEF/d'`; do [ ".$member" = .- ] && continue nfiles="$nfiles $tmpdir/$member" done ;; * ) nfiles="$nfiles $file" ;; esac done fi # run the final archive command if [ ".$opt_t" = .yes ]; then echo "$ar_prg $ar_cmd $archive $nfiles" 1>&2 fi eval $ar_prg $ar_cmd $archive $nfiles if [ $? -ne 0 ]; then echo "$msgprefix:Error: archive command failed" 1>&2 exit $? fi # cleanup and die gracefully if [ -d $tmpdir ]; then if [ ".$opt_t" = .yes ]; then echo "rm -rf $tmpdir" 1>&2 fi rm -rf $tmpdir fi ;; slo ) ## ## slo -- Separate linker options by library class ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for Apache ## DIFS="$IFS" # parse out -L and -l options from command line DIRS='' LIBS='' ARGV='' optprev='' for opt do # concatenate with previous option if exists if [ ".$optprev" != . ]; then opt="${optprev}${opt}"; optprev='' fi # remember options for arg if used stand-alone if [ ".$opt" = ".-L" -o ".$opt" = ".-l" ]; then optprev="$opt" continue; fi # split argument into option plus option argument arg="`echo $opt | cut -c3-`" opt="`echo $opt | cut -c1-2`" # store into containers case $opt in -L) DIRS="$DIRS:$arg" ;; -l) LIBS="$LIBS:$arg" ;; *) ARGV="$ARGV $opt" ;; esac done # set linker default directories DIRS_DEFAULT='/lib:/usr/lib' if [ ".$LD_LIBRARY_PATH" != . ]; then DIRS_DEFAULT="$DIRS_DEFAULT:$LD_LIBRARY_PATH" fi # sort options by class DIRS_OBJ='' LIBS_OBJ='' DIRS_PIC='' LIBS_PIC='' DIRS_DSO='' LIBS_DSO='' # for each library... OIFS="$IFS"; IFS=':' for lib in $LIBS; do [ ".$lib" = . ] && continue found='no' found_indefdir='no' found_type='' found_dir='' # for each directory... OIFS2="$IFS"; IFS=":$DIFS" for dir in ${DIRS} switch-to-defdirs ${DIRS_DEFAULT}; do [ ".$dir" = . ] && continue [ ".$dir" = .switch-to-defdirs ] && found_indefdir=yes [ ! -d $dir ] && continue # search the file OIFS3="$IFS"; IFS="$DIFS" for file in '' `cd $dir && ls lib${lib}.* 2>/dev/null`; do [ ".$file" = . ] && continue case $file in *.so|*.so.[0-9]*|*.sl|*.sl.[0-9]* ) found=yes; found_type=DSO; break ;; *.lo|*.la ) found=yes; found_type=PIC ;; *.a ) if [ ".$found_type" = . ]; then found=yes found_type=OBJ fi ;; esac done IFS="$OIFS3" if [ ".$found" = .yes ]; then found_dir="$dir" break fi done IFS="$OIFS2" if [ ".$found" = .yes ]; then if [ ".$found_indefdir" != .yes ]; then eval "dirlist=\"\${DIRS_${found_type}}:\"" if [ ".`echo \"$dirlist\" | fgrep :$found_dir:`" = . ]; then eval "DIRS_${found_type}=\"\$DIRS_${found_type}:${found_dir}\"" fi eval "LIBS_${found_type}=\"\$LIBS_${found_type}:$lib\"" else eval "LIBS_${found_type}=\"\$LIBS_${found_type}:$lib\"" fi else LIBS_OBJ="$LIBS_OBJ:$lib" #dirlist="`echo $DIRS $DIRS_DEFAULT | sed -e 's/:/ /g'`" #echo "slo:Warning: library \"$lib\" not found in any of the following dirs:" 2>&1 #echo "slo:Warning: $dirlist" 1>&1 fi done IFS="$OIFS" # also pass-through unused dirs even if it's useless OIFS="$IFS"; IFS=':' for dir in $DIRS; do dirlist="${DIRS_OBJ}:${DIRS_PIC}:${DIRS_DSO}:" if [ ".`echo \"$dirlist\" | fgrep :$dir:`" = . ]; then DIRS_OBJ="$DIRS_OBJ:$dir" fi done IFS="$OIFS" # reassemble the options but separated by type for type in OBJ PIC DSO; do OIFS="$IFS"; IFS=':' eval "libs=\"\$LIBS_${type}\"" opts='' for lib in $libs; do [ ".$lib" = . ] && continue opts="$opts -l$lib" done eval "LIBS_${type}=\"$opts\"" eval "dirs=\"\$DIRS_${type}\"" opts='' for dir in $dirs; do [ ".$dir" = . ] && continue opts="$opts -L$dir" done eval "DIRS_${type}=\"$opts\"" IFS="$OIFS" done # give back results for var in ARGV DIRS_OBJ LIBS_OBJ DIRS_PIC LIBS_PIC DIRS_DSO LIBS_DSO; do eval "val=\"\$${var}\"" val="`echo $val | sed -e 's/^ *//'`" echo "${opt_p}${var}=\"${val}\"" done ;; scpp ) ## ## scpp -- Sharing C Pre-Processor ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Originally written for GNU Pth ## srcs="$*" output="${opt_o}.n" # find a reasonable Awk awk='' paths=`echo $PATH |\ sed -e 's%/*:%:%g' -e 's%/$%%' \ -e 's/^:/.:/' -e 's/::/:.:/g' -e 's/:$/:./' \ -e 's/:/ /g'` for name in gawk nawk awk; do for path in $paths; do if [ -r "$path/$name" ]; then awk="$path/$name" break fi done if [ ".$awk" != . ]; then break fi done if [ ".$awk" = . ]; then echo "$msgprefix:Error: cannot find a reasonable Awk" 1>&2 exit 1 fi # parse source file(s) if [ ".$opt_v" = .yes ]; then echo "Parsing:" | $awk '{ printf("%s", $0); }' 1>&2 fi for src in $srcs; do if [ ".$opt_v" = .yes ]; then echo $src | $awk '{ printf(" %s", $0); }' 1>&2 fi if [ ".$opt_f" != . ]; then inputcmd="sed" OIFS="$IFS"; IFS="$ASC_NL"; set -- $opt_f; IFS="$OIFS" for e do inputcmd="$inputcmd -e '$e'" done inputcmd="$inputcmd '$src'" else inputcmd="cat '$src'" fi eval $inputcmd |\ $awk ' BEGIN { ln = 0; fln = 0; level = 0; mode = ""; store = ""; } { ln++; } /^#if.*/ { level++; } /^#if [a-zA-Z_][a-zA-Z0-9_]* *$/ { if ($2 == define) { mode = "D"; printf("D:#line %d \"%s\"\n", ln, src); next; } } /^#endif.*/ { level--; if (mode == "D" && level == 0) { mode = ""; next; } } /^[a-zA-Z_][a-zA-Z0-9_].*;.*/ { if ($1 == class) { printf("V:#line %d \"%s\"\n", ln, src); printf("V:%s\n", $0); printf("J:%s\n", $0); next; } } /^[a-zA-Z_][a-zA-Z0-9_].*=.*/ { if ($1 == class) { printf("V:#line %d \"%s\"\n", ln, src); printf("V:%s\n", $0); printf("J:%s\n", $0); next; } } /^[a-zA-Z_][a-zA-Z0-9_]*/ { if ($1 == class) { fln = ln; store = $0; mode = "F"; next; } } /^\{ *$/ { if (mode == "F") { printf("F:#line %d \"%s\"\n", fln, src); printf("F:%s;\n", store); printf("I:%s;\n", store); store = ""; mode = ""; next; } } { if (mode == "D") printf("D:%s\n", $0); else if (mode == "F") store = store " " $0; } ' "src=$src" "define=$opt_D" "class=$opt_C" >>$tmpfile done if [ ".$opt_v" = .yes ]; then echo "" 1>&2 fi # start generating output header echo "/* $opt_o -- autogenerated from $opt_t, DO NOT EDIT! */" >$output echo "#line 1 \"$opt_t\"" >>$output sed <$opt_t -e "1,/^${opt_M} *\$/p" -e 'd' |\ sed -e "/^${opt_M} *\$/d" >>$output # merge in the define blocks grep '^D:' $tmpfile | sed -e 's/^D://' >>$output # generate standard prolog echo "#line 1 \"_ON_THE_FLY_\"" >>$output echo "" >>$output echo "/* make sure the scpp source extensions are skipped */" >>$output echo "#define $opt_D 0" >>$output echo "#define $opt_C /**/" >>$output # generate namespace hiding for variables echo "" >>$output echo "/* move intern variables to hidden namespace */" >>$output grep '^J:' $tmpfile | sed >>$output \ -e 's/^J://' \ -e 's/ */ /g' \ -e 's/^[^=;]*[ *]\([a-zA-Z0-9_]*\)\[\];.*$/#define \1 __\1/' \ -e 's/^[^=;]*[ *]\([a-zA-Z0-9_]*\)\[\] =.*$/#define \1 __\1/' \ -e 's/^[^=;]*[ *]\([a-zA-Z0-9_]*\);.*$/#define \1 __\1/' \ -e 's/^[^=;]*[ *]\([a-zA-Z0-9_]*\) =.*$/#define \1 __\1/' # generate namespace hiding for functions echo "" >>$output echo "/* move intern functions to hidden namespace */" >>$output grep '^I:' $tmpfile | sed >>$output \ -e 's/^I://' \ -e 's/\([ (]\) */\1/g' \ -e 's/ *\([),]\)/\1/g' \ -e 's/^[^(]*[ *]\([a-zA-Z0-9_]*\)(.*$/#define \1 __\1/' # generate prototypes for variables echo "" >>$output echo "/* prototypes for intern variables */" >>$output grep '^V:' $tmpfile | sed >>$output \ -e 's/^V://' \ -e 's/ */ /g' \ -e 's/^\([^=;]*[ *][a-zA-Z0-9_]*\[\]\);.*$/\1;/' \ -e 's/^\([^=;]*[ *][a-zA-Z0-9_]*\[\]\) =.*$/\1;/' \ -e 's/^\([^=;]*[ *][a-zA-Z0-9_]*\);.*$/\1;/' \ -e 's/^\([^=;]*[ *][a-zA-Z0-9_]*\) =.*$/\1;/' \ -e 's/ ;/;/g' \ -e "s/^$opt_C /extern /" # generate prototypes for functions echo "" >>$output echo "/* prototypes for intern functions */" >>$output grep '^F:' $tmpfile | sed >>$output \ -e 's/^F://' \ -e 's/\([ (]\) */\1/g' \ -e 's/ *\([),]\)/\1/g' \ -e 's/\([* ]\)[a-zA-Z0-9_]*,/\1,/g' \ -e 's/\([* ]\)[a-zA-Z0-9_]*);/\1);/g' \ -e 's/(\*[a-zA-Z0-9_]*)(/(*)(/g' \ -e 's/\([ (]\) */\1/g' \ -e 's/ *\([),]\)/\1/g' \ -e "s/^$opt_C /extern /" # finish generating output header n=`(echo ''; sed <$opt_t -e "1,/^${opt_M} *\$/p" -e 'd') |\ wc -l | sed -e 's;^ *\([0-9]*\) *$;\1;'` echo "#line $n \"$opt_t\"" >>$output sed <$opt_t -e "/^${opt_M} *\$/,\$p" -e 'd' |\ sed -e "/^${opt_M} *\$/d" >>$output # create final output file if [ -f $opt_o ]; then if [ ".$opt_p" = .yes ]; then grep -v '^#line' $opt_o >$tmpfile.o grep -v '^#line' $output >$tmpfile.n out_old="$tmpfile.o" out_new="$tmpfile.n" else out_old="$opt_o" out_new="$output" fi if cmp -s $out_old $out_new; then : else cp $output $opt_o fi else cp $output $opt_o fi rm -f $output rm -f $tmpfile $tmpfile.* >/dev/null 2>&1 ;; version ) ## ## version -- Maintain a version information file ## Copyright (c) 1994-2002 Ralf S. Engelschall ## Originally written for ePerl, rewritten from scratch for shtool ## file="$1" # determine prefix and name name="$opt_n" prefix="$opt_p" # determine current version triple="$opt_s" if [ ".$triple" != . ]; then # use given triple if [ ".`echo $triple | grep '[0-9]*.[0-9]*[sabp.][0-9]*'`" = . ]; then echo "$msgprefix:Error: invalid argument to option \`-s': \`$opt_s'" 1>&2 exit 1 fi eval `echo $triple |\ sed -e 's%\([0-9]*\)\.\([0-9]*\)\([sabp.]\)\([0-9]*\).*%\ ver="\1";rev="\2";typ="\3";lev="\4"%'` tim=calc elif [ -r $file ]; then # determine triple from given file eval `grep 'Version [0-9]*.[0-9]*[sabp.][0-9]* ([0-9]*-[a-zA-Z]*-[0-9]*)' $file |\ sed -e 's%.*Version \([0-9]*\)\.\([0-9]*\)\([sabp.]\)\([0-9]*\) (\([0-9]*-[a-zA-Z]*-[0-9]*\)).*%\ ver="\1";rev="\2";typ="\3";lev="\4";tim="\5"%' -e 'q'` else # intialise to first version ver=0 rev=1 typ=. lev=0 tim=calc fi # determine new version in batch if [ ".$opt_i" != . ]; then case $opt_i in v ) ver=`expr $ver + 1` rev=0 lev=0 ;; r ) rev=`expr $rev + 1` lev=0 ;; l ) lev=`expr $lev + 1` ;; * ) echo "$msgprefix:Error: invalid argument to option \`-i': \`$opt_i'" 1>&2 exit 1 ;; esac tim=calc fi # determine new version interactively if [ ".$opt_e" = .yes ]; then echo "old version: ${ver}.${rev}${typ}${lev}" while [ 1 ]; do echo dummy | awk '{ printf("new version: "); }' read triple case $triple in [0-9]*.[0-9]*[sabp.][0-9]* ) ;; * ) echo "$msgprefix:Error: invalid version string entered: \`$triple'" 1>&2 continue ;; esac break done eval `echo $triple |\ sed -e 's%^\([0-9]*\)\.\([0-9]*\)\([sabp.]\)\([0-9]*\)$%\ ver="\1";rev="\2";typ="\3";lev="\4"%'` tim=calc fi # determine hexadecimal and libtool value of version case $typ in a ) typnum=0; levnum=$lev ;; b ) typnum=1; levnum=$lev ;; p | . ) typnum=2; levnum=$lev ;; s ) typnum=15; levnum=255 ;; # snapshots are special esac hex=`echo "$ver:$rev:$typnum:$levnum" |\ awk -F: '{ printf("0x%x%02x%1x%02x", $1, $2, $3, $4); }' |\ tr 'abcdef' 'ABCDEF'` ltv=`echo "$ver:$rev:$typnum:$levnum" |\ awk -F: '{ printf("%d:%d", $1*10 + $2, $3*10 + $4); }'` # determine date if [ ".$tim" = .calc ]; then day=`date '+%d'` month=`date '+%m'` year=`date '+%Y' 2>/dev/null` if [ ".$time_year" = . ]; then year=`date '+%y'` case $year in [5-9][0-9]) year="19$year" ;; [0-4][0-9]) year="20$year" ;; esac fi case $month in 1|01) month='Jan' ;; 2|02) month='Feb' ;; 3|03) month='Mar' ;; 4|04) month='Apr' ;; 5|05) month='May' ;; 6|06) month='Jun' ;; 7|07) month='Jul' ;; 8|08) month='Aug' ;; 9|09) month='Sep' ;; 10) month='Oct' ;; 11) month='Nov' ;; 12) month='Dec' ;; esac tim="${day}-${month}-${year}" fi # perform result actions mode=show if [ ".$opt_i" != . ]; then mode=edit elif [ ".$opt_e" = .yes ]; then mode=edit elif [ ".$opt_s" != . ]; then mode=edit fi if [ ".$mode" = .show ]; then # just display the current version case $opt_d in short ) echo "${ver}.${rev}${typ}${lev}" ;; long ) echo "${ver}.${rev}${typ}${lev} ($tim)" ;; libtool ) echo "${ltv}" ;; hex ) echo "${hex}" ;; * ) echo "$msgprefix:Error: invalid argument to option \`-d': \`$opt_d'" 1>&2 exit 1 ;; esac else # update the version file # pre-generate various strings triple="${ver}.${rev}${typ}${lev}" vHex="$hex" vShort="${triple}" vLong="${triple} (${tim})" vTeX="This is ${name}, Version ${triple} (${tim})" vGNU="${name} ${triple} (${tim})" vWeb="${name}/${triple}" vSCCS="@(#)${name} ${triple} (${tim})" vRCS="\$Id: ${name} ${triple} (${tim}) \$" # determine string out of filename # (do NOT try to optimize this in any way because of portability) filestr=`echo $file |\ tr 'abcdefghijklmnopqrstuvwxyz./%+' \ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ____' | sed -e 's/-/_/g'` # generate uppercase prefix prefixupper=`echo $prefix |\ tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` # create the version file according the the selected language echo "new version: ${vLong}" cp /dev/null $file case $opt_l in txt ) echo >>$file "" echo >>$file " ${file} -- Version Information for ${name} (syntax: Text)" echo >>$file " [automatically generated and maintained by GNU shtool]" echo >>$file "" echo >>$file " $vTeX" echo >>$file "" ;; c ) echo >>$file "/*" echo >>$file "** ${file} -- Version Information for ${name} (syntax: C/C++)" echo >>$file "** [automatically generated and maintained by GNU shtool]" echo >>$file "*/" echo >>$file "" echo >>$file "#ifdef _${filestr}_AS_HEADER_" echo >>$file "" echo >>$file "#ifndef _${filestr}_" echo >>$file "#define _${filestr}_" echo >>$file "" echo >>$file "#define ${prefixupper}VERSION ${vHex}" echo >>$file "" echo >>$file "typedef struct {" echo >>$file " const int v_hex;" echo >>$file " const char *v_short;" echo >>$file " const char *v_long;" echo >>$file " const char *v_tex;" echo >>$file " const char *v_gnu;" echo >>$file " const char *v_web;" echo >>$file " const char *v_sccs;" echo >>$file " const char *v_rcs;" echo >>$file "} ${prefix}version_t;" echo >>$file "" echo >>$file "extern ${prefix}version_t ${prefix}version;" echo >>$file "" echo >>$file "#endif /* _${filestr}_ */" echo >>$file "" echo >>$file "#else /* _${filestr}_AS_HEADER_ */" echo >>$file "" echo >>$file "#define _${filestr}_AS_HEADER_" echo >>$file "#include \"${file}\"" echo >>$file "#undef _${filestr}_AS_HEADER_" echo >>$file "" echo >>$file "${prefix}version_t ${prefix}version = {" echo >>$file " ${vHex}," echo >>$file " \"${vShort}\"," echo >>$file " \"${vLong}\"," echo >>$file " \"${vTeX}\"," echo >>$file " \"${vGNU}\"," echo >>$file " \"${vWeb}\"," echo >>$file " \"${vSCCS}\"," echo >>$file " \"${vRCS}\"" echo >>$file "};" echo >>$file "" echo >>$file "#endif /* _${filestr}_AS_HEADER_ */" echo >>$file "" ;; perl ) echo >>$file "##" echo >>$file "## ${file} -- Version Information for ${name} (syntax: Perl)" echo >>$file "## [automatically generated and maintained by GNU shtool]" echo >>$file "##" echo >>$file "" echo >>$file "my \$${prefix}version = {" echo >>$file " 'v_hex' => ${vHex}," echo >>$file " 'v_short' => \"${vShort}\"," echo >>$file " 'v_long' => \"${vLong}\"," echo >>$file " 'v_tex' => \"${vTeX}\"," echo >>$file " 'v_gnu' => \"${vGNU}\"," echo >>$file " 'v_web' => \"${vWeb}\"," echo >>$file " 'v_sccs' => \"${vSCCS}\"," echo >>$file " 'v_rcs' => \"\\${vRCS}/\"" echo >>$file "};" echo >>$file "" echo >>$file "1;" echo >>$file "" ;; python ) echo >>$file "##" echo >>$file "## ${file} -- Version Information for ${name} (syntax: Python)" echo >>$file "## [automatically generated and maintained by GNU shtool]" echo >>$file "##" echo >>$file "" echo >>$file "class ${prefix}version:" echo >>$file " v_hex = ${vHex}" echo >>$file " v_short = \"${vShort}\"" echo >>$file " v_long = \"${vLong}\"" echo >>$file " v_tex = \"${vTeX}\"" echo >>$file " v_gnu = \"${vGNU}\"" echo >>$file " v_web = \"${vWeb}\"" echo >>$file " v_sccs = \"${vSCCS}\"" echo >>$file " v_rcs = \"${vRCS}\"" echo >>$file "" ;; * ) echo "$msgprefix:Error: invalid argument to option \`-l': \`$opt_l'" 1>&2 exit 1 ;; esac fi ;; path ) ## ## path -- Deal with program paths ## Copyright (c) 1998-2002 Ralf S. Engelschall ## Originally written for Apache ## namelist="$*" # check whether the test command supports the -x option if [ -x /bin/sh ] 2>/dev/null; then minusx="-x" else minusx="-r" fi # split path string paths="`echo $opt_p |\ sed -e 's/^:/.:/' \ -e 's/::/:.:/g' \ -e 's/:$/:./' \ -e 's/:/ /g'`" # SPECIAL REQUEST # translate forward to reverse path if [ ".$opt_r" = .yes ]; then if [ "x$namelist" = "x." ]; then rp='.' else rp='' for pe in `IFS="$IFS/"; echo $namelist`; do rp="../$rp" done fi echo $rp | sed -e 's:/$::' exit 0 fi # SPECIAL REQUEST # strip out directory or base name if [ ".$opt_d" = .yes ]; then echo "$namelist" |\ sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;' exit 0 fi if [ ".$opt_b" = .yes ]; then echo "$namelist" |\ sed -e 's;.*/\([^/]*\)$;\1;' exit 0 fi # MAGIC SITUATION # Perl Interpreter (perl) if [ ".$opt_m" = .yes -a ".$namelist" = .perl ]; then rm -f $tmpfile >/dev/null 2>&1 touch $tmpfile found=0 pc=99 for dir in $paths; do dir=`echo $dir | sed -e 's;/*$;;'` nc=99 for name in perl perl5 miniperl; do if [ $minusx "$dir/$name" -a ! -d "$dir/$name" ]; then perl="$dir/$name" pv=`$perl -e 'printf("%.3f", $]);'` echo "$pv:$pc:$nc:$perl" >>$tmpfile found=1 fi nc=`expr $nc - 1` done pc=`expr $pc - 1` done if [ $found = 1 ]; then perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`" rm -f $tmpfile >/dev/null 2>&1 echo "$perl" exit 0 fi rm -f $tmpfile >/dev/null 2>&1 exit 1 fi # MAGIC SITUATION # C pre-processor (cpp) if [ ".$opt_m" = .yes -a ".$namelist" = .cpp ]; then echo >$tmpfile.c "#include " echo >>$tmpfile.c "Syntax Error" # 1. try the standard cc -E approach cpp="${CC-cc} -E" (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out my_error=`grep -v '^ *+' $tmpfile.out` if [ ".$my_error" != . ]; then # 2. try the cc -E approach and GCC's -traditional-ccp option cpp="${CC-cc} -E -traditional-cpp" (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out my_error=`grep -v '^ *+' $tmpfile.out` if [ ".$my_error" != . ]; then # 3. try a standalone cpp command in path and lib dirs for path in $paths /lib /usr/lib /usr/local/lib; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/cpp" -a ! -d "$path/cpp" ]; then cpp="$path/cpp" break fi done if [ ".$cpp" != . ]; then (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out my_error=`grep -v '^ *+' $tmpfile.out` if [ ".$my_error" != . ]; then # ok, we gave up... cpp='' fi fi fi fi rm -f $tmpfile >/dev/null 2>&1 rm -f $tmpfile.c $tmpfile.out >/dev/null 2>&1 if [ ".$cpp" != . ]; then echo "$cpp" exit 0 fi exit 1 fi # STANDARD SITUATION # iterate over names for name in $namelist; do # iterate over paths for path in $paths; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/$name" -a ! -d "$path/$name" ]; then if [ ".$opt_s" != .yes ]; then echo "$path/$name" fi exit 0 fi done done exit 1 ;; esac exit 0 ##EOF## ucl-1.03/acconfig/mdate-sh0000755000175000001440000001147510077051333012345 00000000000000#!/bin/sh # Get modification time of a file or directory and pretty-print it. scriptversion=2003-11-09.00 # Copyright (C) 1995, 1996, 1997, 2003 Free Software Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case $1 in '') echo "$0: No file. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: mdate-sh [--help] [--version] FILE Pretty-print the modification time of FILE. Report bugs to . EOF exit 0 ;; -v | --v*) echo "mdate-sh $scriptversion" exit 0 ;; esac # Prevent date giving response in another language. LANG=C export LANG LC_ALL=C export LC_ALL LC_TIME=C export LC_TIME save_arg1="$1" # Find out how to get the extended ls output of a file or directory. if ls -L /dev/null 1>/dev/null 2>&1; then ls_command='ls -L -l -d' else ls_command='ls -l -d' fi # A `ls -l' line looks as follows on OS/2. # drwxrwx--- 0 Aug 11 2001 foo # This differs from Unix, which adds ownership information. # drwxrwx--- 2 root root 4096 Aug 11 2001 foo # # To find the date, we split the line on spaces and iterate on words # until we find a month. This cannot work with files whose owner is a # user named `Jan', or `Feb', etc. However, it's unlikely that `/' # will be owned by a user whose name is a month. So we first look at # the extended ls output of the root directory to decide how many # words should be skipped to get the date. # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. set - x`$ls_command /` # Find which argument is the month. month= command= until test $month do shift # Add another shift to the command. command="$command shift;" case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac done # Get the extended ls output of the file or directory. set - x`eval "$ls_command \"\$save_arg1\""` # Remove all preceding arguments eval $command # Get the month. Next argument is day, followed by the year or time. case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac day=$2 # Here we have to deal with the problem that the ls output gives either # the time of day or the year. case $3 in *:*) set `date`; eval year=\$$# case $2 in Jan) nummonthtod=1;; Feb) nummonthtod=2;; Mar) nummonthtod=3;; Apr) nummonthtod=4;; May) nummonthtod=5;; Jun) nummonthtod=6;; Jul) nummonthtod=7;; Aug) nummonthtod=8;; Sep) nummonthtod=9;; Oct) nummonthtod=10;; Nov) nummonthtod=11;; Dec) nummonthtod=12;; esac # For the first six month of the year the time notation can also # be used for files modified in the last year. if (expr $nummonth \> $nummonthtod) > /dev/null; then year=`expr $year - 1` fi;; *) year=$3;; esac # The result. echo $day $month $year # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/ylwrap0000755000175000001440000001405710077051333012160 00000000000000#! /bin/sh # ylwrap - wrapper for lex/yacc invocations. scriptversion=2003-11-18.20 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003 # Free Software Foundation, Inc. # # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case "$1" in '') echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 ;; --basedir) basedir=$2 shift 2 ;; -h|--h*) cat <<\EOF Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]... Wrapper for lex/yacc invocations, renaming files as desired. INPUT is the input file OUTPUT is one file PROG generates DESIRED is the file we actually want instead of OUTPUT PROGRAM is program to run ARGS are passed to PROG Any number of OUTPUT,DESIRED pairs may be used. Report bugs to . EOF exit 0 ;; -v|--v*) echo "ylwrap $scriptversion" exit 0 ;; esac # The input. input="$1" shift case "$input" in [\\/]* | ?:[\\/]*) # Absolute path; do nothing. ;; *) # Relative path. Make it absolute. input="`pwd`/$input" ;; esac pairlist= while test "$#" -ne 0; do if test "$1" = "--"; then shift break fi pairlist="$pairlist $1" shift done # The program to run. prog="$1" shift # Make any relative path in $prog absolute. case "$prog" in [\\/]* | ?:[\\/]*) ;; *[\\/]*) prog="`pwd`/$prog" ;; esac # FIXME: add hostname here for parallel makes that run commands on # other machines. But that might take us over the 14-char limit. dirname=ylwrap$$ trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 mkdir $dirname || exit 1 cd $dirname case $# in 0) $prog "$input" ;; *) $prog "$@" "$input" ;; esac status=$? if test $status -eq 0; then set X $pairlist shift first=yes # Since DOS filename conventions don't allow two dots, # the DOS version of Bison writes out y_tab.c instead of y.tab.c # and y_tab.h instead of y.tab.h. Test to see if this is the case. y_tab_nodot="no" if test -f y_tab.c || test -f y_tab.h; then y_tab_nodot="yes" fi # The directory holding the input. input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` # Quote $INPUT_DIR so we can use it in a regexp. # FIXME: really we should care about more than `.' and `\'. input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'` while test "$#" -ne 0; do from="$1" # Handle y_tab.c and y_tab.h output by DOS if test $y_tab_nodot = "yes"; then if test $from = "y.tab.c"; then from="y_tab.c" else if test $from = "y.tab.h"; then from="y_tab.h" fi fi fi if test -f "$from"; then # If $2 is an absolute path name, then just use that, # otherwise prepend `../'. case "$2" in [\\/]* | ?:[\\/]*) target="$2";; *) target="../$2";; esac # We do not want to overwrite a header file if it hasn't # changed. This avoid useless recompilations. However the # parser itself (the first file) should always be updated, # because it is the destination of the .y.c rule in the # Makefile. Divert the output of all other files to a temporary # file so we can compare them to existing versions. if test $first = no; then realtarget="$target" target="tmp-`echo $target | sed s/.*[\\/]//g`" fi # Edit out `#line' or `#' directives. # # We don't want the resulting debug information to point at # an absolute srcdir; it is better for it to just mention the # .y file with no path. # # We want to use the real output file name, not yy.lex.c for # instance. # # We want the include guards to be adjusted too. FROM=`echo "$from" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` TARGET=`echo "$2" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'` sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \ -e "s,$FROM,$TARGET," "$from" >"$target" || status=$? # Check whether header files must be updated. if test $first = no; then if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then echo "$2" is unchanged rm -f "$target" else echo updating "$2" mv -f "$target" "$realtarget" fi fi else # A missing file is only an error for the first file. This # is a blatant hack to let us support using "yacc -d". If -d # is not specified, we don't want an error when the header # file is "missing". if test $first = yes; then status=1 fi fi shift shift first=no done else status=$? fi # Remove the directory. cd .. rm -rf $dirname exit $status # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/acconfig/py-compile0000755000175000001440000000603610077051333012716 00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2004-01-12.23 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . if [ -z "$PYTHON" ]; then PYTHON=python fi basedir= case "$1" in --basedir) basedir=$2 if test -z "$basedir"; then echo "$0: Missing argument to --basedir." 1>&2 exit 1 fi shift 2 ;; -h|--h*) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] FILES..." Byte compile some python scripts FILES. This should be performed after they have been moved to the final installation location Report bugs to . EOF exit 0 ;; -v|--v*) echo "py-compile $scriptversion" exit 0 ;; esac if [ $# = 0 ]; then echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then trans="path = file" else trans="path = os.path.join('$basedir', file)" fi $PYTHON -c " import sys, os, string, py_compile files = '''$*''' print 'Byte-compiling python modules...' for file in string.split(files): $trans if not os.path.exists(path) or not (len(path) >= 3 and path[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(path) print" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, string, py_compile files = '''$*''' print 'Byte-compiling python modules (optimized versions) ...' for file in string.split(files): $trans if not os.path.exists(path) or not (len(path) >= 3 and path[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(path) print" 2>/dev/null || : # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ucl-1.03/asm/0000777000175000001440000000000010077051333010000 500000000000000ucl-1.03/asm/i386/0000777000175000001440000000000010077051333010471 500000000000000ucl-1.03/asm/i386/src/0000777000175000001440000000000010077051333011260 500000000000000ucl-1.03/asm/i386/src/bits.ash0000644000175000001440000000663310077051333012642 00000000000000; bits.ash -- assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; bit-buffer size %ifndef UCL_BB %error UCL_BB %endif ; /*********************************************************************** ; // bit-buffer essentials ; ************************************************************************/ ; ------------- ADDBITS ------------- %macro ADDBITS 0 %if (UCL_BB == 8) add bl, bl %elif (UCL_BB == 16) add bx, bx %elif (UCL_BB == 32) add ebx, ebx %endif %endmacro %macro ADDXBITS 0 %if (UCL_BB == 8) adc bl, bl %elif (UCL_BB == 16) adc bx, bx %elif (UCL_BB == 32) adc ebx, ebx %endif %endmacro ; ------------- FILLBYTES_xx ------------- ; get 8 bits; then get 1 bit into C ; Note: we shift the C flag through -> must have carry set on entry ! %macro FILLBYTES_8 0 %ifdef UCL_SAFE ; error if esi >= IN_END cmp esi, IN_END jae L_input_overrun ; as a nice side effect of the `cmp' the carry flag ; is now still set %endif mov bl, [esi] inc esi adc bl, bl %endmacro ; get 16 bits in little endian format; then get 1 bit into C %macro FILLBYTES_LE16 0 %ifdef UCL_SAFE ; error if esi > IN_END2 cmp esi, IN_END2 ja L_input_overrun %endif mov bx, [esi] sub esi, byte -2 ; sets carry flag ! adc bx, bx %endmacro ; get 32 bits in little endian format; then get 1 bit into C %macro FILLBYTES_LE32 0 %ifdef UCL_SAFE ; error if esi > IN_END4 cmp esi, IN_END4 ja L_input_overrun %endif mov ebx, [esi] sub esi, byte -4 ; sets carry flag ! adc ebx, ebx %endmacro ; ------------- FILLBITS ------------- %macro FILLBYTES 0 %if (UCL_BB == 8) FILLBYTES_8 %elif (UCL_BB == 16) FILLBYTES_LE16 %elif (UCL_BB == 32) FILLBYTES_LE32 %endif %endmacro %macro FILLBITS 0 FILLBYTES %endmacro ; ------------- GETBIT ------------- ; get one bit into the Carry flag %macro GETBIT 0 ADDBITS jnz %%gotbit FILLBITS %%gotbit: %endmacro ; vi:ts=8:et ucl-1.03/asm/i386/src/conf.ash0000644000175000001440000000317610077051333012625 00000000000000; conf.ash -- assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // ; ************************************************************************/ BITS 32 CPU 386 %include "macros.ash" %include "util.ash" %macro UCL_PUBLIC 1 CGLOBALF %1 align 16 %ifdef __UCL_DB__ db 0,0,0,0,0,0,0 db 'UCL_START' ; still aligned at 16 %endif %1: %endmacro %macro UCL_PUBLIC_END 1 %ifdef __UCL_DB__ align 16 db 'UCL_END' %endif %endmacro ; vi:ts=8:et ucl-1.03/asm/i386/src/enter.ash0000644000175000001440000000644310077051333013015 00000000000000; enter.ash -- function entry code assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // ; ************************************************************************/ %ifndef UCL_BB %include "error!" %endif %define FP esp %ifdef UCL_SAFE %if (UCL_BB == 8) %define locals_size 8 %define OUT_END dword [FP] %define IN_END dword [FP + 4] %elif (UCL_BB == 16) %define locals_size 12 %define OUT_END dword [FP] %define IN_END dword [FP + 4] %define IN_END2 dword [FP + 8] %elif (UCL_BB == 32) %define locals_size 12 %define OUT_END dword [FP] %define IN_END dword [FP + 4] %define IN_END4 dword [FP + 8] %else %include "error!" %endif %else %define locals_size 0 %endif %define IN dword [FP + locals_size + cregs_size + 4] %define IN_LEN dword [FP + locals_size + cregs_size + 8] %define OUT dword [FP + locals_size + cregs_size + 12] %define OUT_LEN dword [FP + locals_size + cregs_size + 16] ; /*********************************************************************** ; // ; ************************************************************************/ push_cregs %if locals_size > 0 sub esp, byte locals_size %endif %ifdef UCL_SAFE mov ebx, esp %undef FP %define FP ebx %endif cld mov esi, IN mov edi, OUT %ifdef UCL_SAFE mov eax, edi mov edx, OUT_LEN add eax, [edx] jc L_error mov OUT_END, eax mov eax, esi add eax, IN_LEN jc L_error mov IN_END, eax %if (UCL_BB == 16) sub eax, byte 2 jc L_input_overrun cmp eax, esi jb L_input_overrun mov IN_END2, eax %elif (UCL_BB == 32) sub eax, byte 4 jc L_input_overrun cmp eax, esi jb L_input_overrun mov IN_END4, eax %endif %endif ; ifdef UCL_SAFE %undef FP %define FP esp ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_asm.ash0000644000175000001440000000210410077051333013207 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" %include "bits.ash" %include "prefix.ash" %define NRV2B ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d.ash0000644000175000001440000000211010077051333012647 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; init last_off or ebp, byte -1 %include "n2_d.ash" ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f1.asm0000644000175000001440000000243710077051333013256 00000000000000; n2b_d_f1.asm -- ucl_nrv2b_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f2.asm0000644000175000001440000000247710077051333013263 00000000000000; n2b_d_f2.asm -- ucl_nrv2b_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_safe_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f3.asm0000644000175000001440000000242510077051333013255 00000000000000; n2b_d_f3.asm -- ucl_nrv2b_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f4.asm0000644000175000001440000000246510077051333013262 00000000000000; n2b_d_f4.asm -- ucl_nrv2b_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_safe_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f5.asm0000644000175000001440000000243710077051333013262 00000000000000; n2b_d_f5.asm -- ucl_nrv2b_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_f6.asm0000644000175000001440000000247710077051333013267 00000000000000; n2b_d_f6.asm -- ucl_nrv2b_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_fast_safe_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_fast_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n1.asm0000644000175000001440000000237710077051333013271 00000000000000; n2b_d_n1.asm -- ucl_nrv2b_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n2.asm0000644000175000001440000000243710077051333013267 00000000000000; n2b_d_n2.asm -- ucl_nrv2b_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_safe_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n3.asm0000644000175000001440000000236510077051333013270 00000000000000; n2b_d_n3.asm -- ucl_nrv2b_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n4.asm0000644000175000001440000000242510077051333013266 00000000000000; n2b_d_n4.asm -- ucl_nrv2b_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_safe_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n5.asm0000644000175000001440000000237710077051333013275 00000000000000; n2b_d_n5.asm -- ucl_nrv2b_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_n6.asm0000644000175000001440000000243710077051333013273 00000000000000; n2b_d_n6.asm -- ucl_nrv2b_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_safe_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s1.asm0000644000175000001440000000244310077051333013270 00000000000000; n2b_d_s1.asm -- ucl_nrv2b_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s2.asm0000644000175000001440000000250310077051333013266 00000000000000; n2b_d_s2.asm -- ucl_nrv2b_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_safe_le32 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s3.asm0000644000175000001440000000243110077051333013267 00000000000000; n2b_d_s3.asm -- ucl_nrv2b_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s4.asm0000644000175000001440000000247110077051333013274 00000000000000; n2b_d_s4.asm -- ucl_nrv2b_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_safe_8 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s5.asm0000644000175000001440000000244310077051333013274 00000000000000; n2b_d_s5.asm -- ucl_nrv2b_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2b_d_s6.asm0000644000175000001440000000250310077051333013272 00000000000000; n2b_d_s6.asm -- ucl_nrv2b_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %define UCL_SAFE %include "n2b_asm.ash" .text UCL_PUBLIC ucl_nrv2b_decompress_asm_small_safe_le16 %include "enter.ash" %include "n2b_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2b_decompress_asm_small_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_asm.ash0000644000175000001440000000210210077051333013207 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ %include "conf.ash" %include "bits.ash" %include "prefix.ash" %define NRV2D ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d.ash0000644000175000001440000000211010077051333012651 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; init last_off or ebp, byte -1 %include "n2_d.ash" ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f1.asm0000644000175000001440000000243710077051333013260 00000000000000; n2d_d_f1.asm -- ucl_nrv2d_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f2.asm0000644000175000001440000000247710077051333013265 00000000000000; n2d_d_f2.asm -- ucl_nrv2d_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_safe_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f3.asm0000644000175000001440000000242510077051333013257 00000000000000; n2d_d_f3.asm -- ucl_nrv2d_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f4.asm0000644000175000001440000000246510077051333013264 00000000000000; n2d_d_f4.asm -- ucl_nrv2d_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_safe_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f5.asm0000644000175000001440000000243710077051333013264 00000000000000; n2d_d_f5.asm -- ucl_nrv2d_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_f6.asm0000644000175000001440000000247710077051333013271 00000000000000; n2d_d_f6.asm -- ucl_nrv2d_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_fast_safe_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_fast_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n1.asm0000644000175000001440000000237710077051333013273 00000000000000; n2d_d_n1.asm -- ucl_nrv2d_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n2.asm0000644000175000001440000000243710077051333013271 00000000000000; n2d_d_n2.asm -- ucl_nrv2d_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_safe_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n3.asm0000644000175000001440000000236510077051333013272 00000000000000; n2d_d_n3.asm -- ucl_nrv2d_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n4.asm0000644000175000001440000000242510077051333013270 00000000000000; n2d_d_n4.asm -- ucl_nrv2d_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_safe_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n5.asm0000644000175000001440000000237710077051333013277 00000000000000; n2d_d_n5.asm -- ucl_nrv2d_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_n6.asm0000644000175000001440000000243710077051333013275 00000000000000; n2d_d_n6.asm -- ucl_nrv2d_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_safe_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s1.asm0000644000175000001440000000244310077051333013272 00000000000000; n2d_d_s1.asm -- ucl_nrv2d_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s2.asm0000644000175000001440000000250310077051333013270 00000000000000; n2d_d_s2.asm -- ucl_nrv2d_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_safe_le32 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s3.asm0000644000175000001440000000243110077051333013271 00000000000000; n2d_d_s3.asm -- ucl_nrv2d_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s4.asm0000644000175000001440000000247110077051333013276 00000000000000; n2d_d_s4.asm -- ucl_nrv2d_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_safe_8 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s5.asm0000644000175000001440000000244310077051333013276 00000000000000; n2d_d_s5.asm -- ucl_nrv2d_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2d_d_s6.asm0000644000175000001440000000250310077051333013274 00000000000000; n2d_d_s6.asm -- ucl_nrv2d_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %define UCL_SAFE %include "n2d_asm.ash" .text UCL_PUBLIC ucl_nrv2d_decompress_asm_small_safe_le16 %include "enter.ash" %include "n2d_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2d_decompress_asm_small_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_asm.ash0000644000175000001440000000210210077051333013210 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ %include "conf.ash" %include "bits.ash" %include "prefix.ash" %define NRV2E ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d.ash0000644000175000001440000000211010077051333012652 00000000000000; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; init last_off or ebp, byte -1 %include "n2_d.ash" ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f1.asm0000644000175000001440000000243710077051333013261 00000000000000; n2e_d_f1.asm -- ucl_nrv2e_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f2.asm0000644000175000001440000000247710077051333013266 00000000000000; n2e_d_f2.asm -- ucl_nrv2e_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_FAST %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_safe_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f3.asm0000644000175000001440000000242510077051333013260 00000000000000; n2e_d_f3.asm -- ucl_nrv2e_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f4.asm0000644000175000001440000000246510077051333013265 00000000000000; n2e_d_f4.asm -- ucl_nrv2e_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_FAST %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_safe_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f5.asm0000644000175000001440000000243710077051333013265 00000000000000; n2e_d_f5.asm -- ucl_nrv2e_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_f6.asm0000644000175000001440000000247710077051333013272 00000000000000; n2e_d_f6.asm -- ucl_nrv2e_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_FAST %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_fast_safe_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_fast_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n1.asm0000644000175000001440000000237710077051333013274 00000000000000; n2e_d_n1.asm -- ucl_nrv2e_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n2.asm0000644000175000001440000000243710077051333013272 00000000000000; n2e_d_n2.asm -- ucl_nrv2e_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_safe_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n3.asm0000644000175000001440000000236510077051333013273 00000000000000; n2e_d_n3.asm -- ucl_nrv2e_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n4.asm0000644000175000001440000000242510077051333013271 00000000000000; n2e_d_n4.asm -- ucl_nrv2e_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_safe_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n5.asm0000644000175000001440000000237710077051333013300 00000000000000; n2e_d_n5.asm -- ucl_nrv2e_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_n6.asm0000644000175000001440000000243710077051333013276 00000000000000; n2e_d_n6.asm -- ucl_nrv2e_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_safe_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s1.asm0000644000175000001440000000244310077051333013273 00000000000000; n2e_d_s1.asm -- ucl_nrv2e_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s2.asm0000644000175000001440000000250310077051333013271 00000000000000; n2e_d_s2.asm -- ucl_nrv2e_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 32 %define UCL_SMALL %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_safe_le32 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_safe_le32 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s3.asm0000644000175000001440000000243110077051333013272 00000000000000; n2e_d_s3.asm -- ucl_nrv2e_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s4.asm0000644000175000001440000000247110077051333013277 00000000000000; n2e_d_s4.asm -- ucl_nrv2e_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 8 %define UCL_SMALL %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_safe_8 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_safe_8 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s5.asm0000644000175000001440000000244310077051333013277 00000000000000; n2e_d_s5.asm -- ucl_nrv2e_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/n2e_d_s6.asm0000644000175000001440000000250310077051333013275 00000000000000; n2e_d_s6.asm -- ucl_nrv2e_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define UCL_BB 16 %define UCL_SMALL %define UCL_SAFE %include "n2e_asm.ash" .text UCL_PUBLIC ucl_nrv2e_decompress_asm_small_safe_le16 %include "enter.ash" %include "n2e_d.ash" %include "leave.ash" UCL_PUBLIC_END ucl_nrv2e_decompress_asm_small_safe_le16 ; vi:ts=8:et ucl-1.03/asm/i386/src/prefix.ash0000644000175000001440000000637610077051333013202 00000000000000; prefix.ash -- prefix decoding assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; notes: ; arg1 must be a register ; arg2 must be a macro that accepts one argument ; /*********************************************************************** ; // note: must init %1 with 1 ; ************************************************************************/ %macro Decode_SS11 2 %%loop: GETBIT adc %1, %1 %2 %1 %ifdef UCL_SMALL GETBIT jnc %%loop %else ADDBITS jnc %%loop jnz %%break FILLBITS jnc %%loop %%break: %endif %endmacro ; /*********************************************************************** ; // note: must init %1 with 1 ; ************************************************************************/ %macro Decode_SS12 2 %%loop: GETBIT adc %1, %1 %2 %1 %ifdef UCL_SMALL GETBIT jc %%break %else ADDBITS jnc %%nobreak jnz %%break FILLBITS jc %%break %%nobreak: %endif dec %1 GETBIT adc %1, %1 %2 %1 jmp %%loop %%break: %endmacro ; /*********************************************************************** ; // note: must init %1 with 0 ; ************************************************************************/ %macro Decode_P3_SS11 2 GETBIT adc %1, %1 GETBIT adc %1, %1 jnz %%done inc %1 Decode_SS11 %1, %2 add %1, byte 2 %%done: %endmacro ; vi:ts=8:et ucl-1.03/asm/i386/src/util.ash0000644000175000001440000000631110077051333012647 00000000000000; util.ash -- misc utils ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // ; ************************************************************************/ %macro SET_REG_SMALL 2 %if %2 == 0 xor %1, %1 %elif %2 == -1 or %1, byte -1 %elif %2 == 1 xor %1, %1 inc %1 %elif %2 == 2 xor %1, %1 inc %1 inc %1 %elif %2 == -2 or %1, byte -1 dec %1 %else mov %1, %2 %endif %endmacro %macro SET_REG 2 %if %2 == 0 xor %1, %1 %elif %2 == -1 or %1, byte -1 %elifdef UCL_SMALL SET_REG_SMALL %1,%2 %else mov %1, %2 %endif %endmacro ; /*********************************************************************** ; // ; ************************************************************************/ %macro SAFE_LODSB 0 %ifdef UCL_SAFE ; error if esi >= IN_END cmp esi, IN_END jae L_input_overrun %endif %ifdef UCL_SMALL lodsb %else mov al, [esi] inc esi %endif %endmacro %macro SAFE_MOVSB 0 %ifdef UCL_SAFE ; error if esi >= IN_END cmp esi, IN_END jae L_input_overrun ; error if edi >= OUT_END cmp edi, OUT_END jae L_output_overrun %endif %ifdef UCL_SMALL movsb %else mov al, [esi] inc esi mov [edi], al inc edi %endif %endmacro ; vi:ts=8:et ucl-1.03/asm/i386/src/crc_asm.asm0000644000175000001440000000552410077051333013313 00000000000000; crc_asm.asm -- ucl_crc32_asm checksum in assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text %define USE_MOVZX %macro CRC_CORE 0 %ifdef USE_MOVZX movzx ebx, al %else mov bl, al %endif shr eax, 8 xor eax, [edi + 4*ebx] %endmacro %macro CRC 0 xor al, [esi] inc esi CRC_CORE %endmacro ; /*********************************************************************** ; // ucl_crc32_asm(unsigned crc, const void *buf, unsigned len, const unsigned *tab) ; ************************************************************************/ UCL_PUBLIC ucl_crc32_asm push_cregs xor eax, eax %ifndef USE_MOVZX xor ebx, ebx %endif mov esi, [esp + cregs_size + 8] ; esi = buf mov ecx, [esp + cregs_size + 12] ; ecx = len mov edi, [esp + cregs_size + 16] ; edi = crc32_table test esi, esi jz return mov eax, [esp + cregs_size + 4] ; eax = crc not eax %if 1 test ecx, ecx jz done ; the first 0..3 bytes (until esi is dword aligned) align_loop: test esi, 3 jz .break CRC dec ecx jnz align_loop .break: %endif ; the unrolled loop - 8 bytes per loop mov edx, ecx shr edx, 3 jz remainder align_code 16 unrolled_loop: %rep 2 xor eax, [esi] add esi, byte 4 CRC_CORE CRC_CORE CRC_CORE CRC_CORE %endrep dec edx jnz unrolled_loop ; the remaining 0..7 bytes remainder: and ecx, byte 7 jz done small_loop: CRC dec ecx jnz small_loop done: not eax return: pop_cregs ret UCL_PUBLIC_END ucl_crc32_asm ; vi:ts=8:et ucl-1.03/asm/i386/src/macros.ash0000644000175000001440000002210110077051333013151 00000000000000; macros.ash -- generic NASM macros ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // misc ; ************************************************************************/ %macro dummy_macro 0+ %endmacro ; /*********************************************************************** ; // sections ; ************************************************************************/ %ifndef __OUTPUT_FORMAT__ %error "OUTPUT_FORMAT missing" %endif %macro .text 0 %ifidni __OUTPUT_FORMAT__,elf ;SECTION .text align=16 SECTION .text %elifidni __OUTPUT_FORMAT__,obj SEGMENT _TEXT class=CODE public use32 flat align=16 %elifidni __OUTPUT_FORMAT__,win32 ;SECTION .text align=16 SECTION .text %else SECTION .text %endif %endmacro %macro .data 0 %ifidni __OUTPUT_FORMAT__,obj SEGMENT _DATA class=DATA public use32 flat %else SECTION .data %endif %endmacro %macro .bss 0 %ifidni __OUTPUT_FORMAT__,obj SEGMENT _BSS class=BSS public use32 flat %else SECTION .bss %endif %endmacro ; declare a C global function %macro CGLOBALF 1 %ifidni __OUTPUT_FORMAT__,elf GLOBAL %1:function %elifidni __OUTPUT_FORMAT__,win32 GLOBAL _%1 %define %1 _%1 %else GLOBAL _%1 %define %1 _%1 %endif %endmacro ; /*********************************************************************** ; // align_code ; ************************************************************************/ %macro nop_code_ia16 1 %push nop_code_ia16 %assign %$n (%1) %if %$n == 0 %elif %$n == 1 db 0x90 ; nop %elif %$n == 2 db 0x89,0xf6 ; mov si,si %elif %$n == 3 db 0x8d,0x74,0 ; lea si,[si+0x0] %elif %$n == 4 db 0x8d,0xb4,0,0 ; lea si,[si+0x0] %elif %$n == 5 db 0x90 ; nop db 0x8d,0xb4,0,0 ; lea si,[si+0x0] %elif %$n == 6 db 0x89,0xf6 ; mov si,si db 0x8d,0xbd,0,0 ; lea di,[di+0x0] %elif %$n == 7 db 0x8d,0x74,0 ; lea si,[si+0x0] db 0x8d,0xbd,0,0 ; lea di,[di+0x0] %elif %$n == 8 db 0x8d,0xb4,0,0 ; lea si,[si+0x0] db 0x8d,0xbd,0,0 ; lea di,[di+0x0] %elif %$n >= 9 && %$n < 128 db 0xeb,%$n-2 ; jmp short times %$n-2 db 0x90 ; nop %else %error "invalid nop_code_ia16" %include "invalid_nop_code_ia16" %endif %pop %endmacro %macro nop_code_ia32 1 %push nop_code_ia32 %assign %$n (%1) %if %$n == 0 %elif %$n == 1 db 0x90 ; nop %elif %$n == 2 db 0x89,0xf6 ; mov esi,esi %elif %$n == 3 db 0x8d,0x76,0 ; lea esi,[esi+0x0] %elif %$n == 4 db 0x8d,0x74,0x26,0 ; lea esi,[esi+0x0] %elif %$n == 5 db 0x90 ; nop db 0x8d,0x74,0x26,0 ; lea esi,[esi+0x0] %elif %$n == 6 db 0x8d,0xb6,0,0,0,0 ; lea esi,[esi+0x0] %elif %$n == 7 db 0x8d,0xb4,0x26,0,0,0,0 ; lea esi,[esi+0x0] %elif %$n == 8 db 0x90 ; nop db 0x8d,0xb4,0x26,0,0,0,0 ; lea esi,[esi+0x0] %elif %$n == 9 db 0x89,0xf6 ; mov esi,esi db 0x8d,0xbc,0x27,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n == 10 db 0x8d,0x76,0 ; lea esi,[esi+0x0] db 0x8d,0xbc,0x27,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n == 11 db 0x8d,0x74,0x26,0 ; lea esi,[esi+0x0] db 0x8d,0xbc,0x27,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n == 12 db 0x8d,0xb6,0,0,0,0 ; lea esi,[esi+0x0] db 0x8d,0xbf,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n == 13 db 0x8d,0xb6,0,0,0,0 ; lea esi,[esi+0x0] db 0x8d,0xbc,0x27,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n == 14 db 0x8d,0xb4,0x26,0,0,0,0 ; lea esi,[esi+0x0] db 0x8d,0xbc,0x27,0,0,0,0 ; lea edi,[edi+0x0] %elif %$n >= 15 && %$n < 128 db 0xeb,%$n-2 ; jmp short times %$n-2 db 0x90 ; nop %else %error "invalid nop_code_ia32" %include "invalid_nop_code_ia32" %endif %pop %endmacro %macro nop_code_amd64 1 %push nop_code_amd64 %assign %$n (%1) %if %$n == 0 %elif %$n == 1 db 0x90 ; nop %elif %$n == 2 db 0x66,0x90 ; nop %elif %$n == 3 db 0x66,0x66,0x90 ; nop %elif %$n == 4 db 0x66,0x66,0x66,0x90 ; nop %elif %$n == 5 db 0x66,0x66,0x90 ; nop db 0x66,0x90 ; nop %elif %$n == 6 db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 7 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 8 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop %elif %$n == 9 db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 10 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 11 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 12 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop %elif %$n == 13 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 14 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n == 15 db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x66,0x90 ; nop db 0x66,0x66,0x90 ; nop %elif %$n >= 16 && %$n < 128 db 0xeb,%$n-2 ; jmp short times %$n-2 db 0x90 ; nop %else %error "invalid nop_code_amd64" %include "invalid_nop_code_amd64" %endif %pop %endmacro %macro align_code 1.nolist nop_code_ia32 ($$-$) & ((%1)-1) %endmacro ; /*********************************************************************** ; // ; ************************************************************************/ ; push/pop registers as required by the C compiler ; ; FIXME: must check the i386 ABI - probably we don't have ; to preserve ecx and edx %define cregs_size 24 ; 6 registers a 4 bytes %macro push_cregs 0 push ebp push edi push esi push ebx push ecx push edx %endmacro %macro pop_cregs 0 pop edx pop ecx pop ebx pop esi pop edi pop ebp %endmacro ; vi:ts=8:et ucl-1.03/asm/i386/src/leave.ash0000644000175000001440000000630110077051333012765 00000000000000; leave.ash -- function leave assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // ; ************************************************************************/ %ifnidn FP,esp %include "error!" %endif %ifndef UCL_SAFE %ifndef UCL_DEBUG mov ebx, esp %undef FP %define FP ebx %endif %endif ; ; NOTE: on entry eax == 0 ; %ifdef UCL_DEBUG or eax, eax jne L_assert_fail %endif ; ; check decompressed size ; %ifdef UCL_SAFE cmp edi, OUT_END ja L_output_overrun %endif ; ; check compressed size ; %ifdef UCL_SAFE cmp esi, IN_END %else mov edx, IN add edx, IN_LEN cmp esi, edx %endif %ifdef UCL_SAFE jna no_input_overrun L_input_overrun: SET_REG eax, -201 ; UCL_E_INPUT_OVERRUN jmp L_leave no_input_overrun: je .1 ;;SET_REG eax, -205 ; UCL_E_INPUT_NOT_CONSUMED dec eax ; eax == -1 mov al, 0x33 ; -205 .1: %else je .1 dec eax ; eax == -1 mov al, 0x37 ; -201 ja .1 mov al, 0x33 ; -205 .1: %endif ; ; ; %ifidn FP,esp ; assert that we only can jump to L_leave if FP == esp L_leave: %endif sub edi, OUT ; write back the uncompressed size mov edx, OUT_LEN mov [edx], edi %if locals_size > 0 add esp, byte locals_size %endif pop_cregs ret %ifdef UCL_SAFE L_output_overrun: SET_REG eax, -202 ; UCL_E_OUTPUT_OVERRUN jmp L_leave L_lookbehind_overrun: SET_REG eax, -203 ; UCL_E_LOOKBEHIND_OVERRUN jmp L_leave L_error: SET_REG eax, -1 ; UCL_E_ERROR jmp L_leave %endif %ifdef UCL_DEBUG L_assert_fail: SET_REG eax, -99 jmp L_leave %endif ; vi:ts=8:et ucl-1.03/asm/i386/src/n2_d.ash0000644000175000001440000002434510077051333012523 00000000000000; n2_d.ash -- UCL assembler decompressors ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // util ; ************************************************************************/ ; "inline" macros passed to the prefix-decode macros %macro decode_check_off 1 %ifdef UCL_SAFE js L_lookbehind_overrun ; error if >= 0x80000000 %endif %endmacro %macro decode_check_len 1 %ifdef UCL_SAFE js L_output_overrun ; error if >= 0x80000000 %endif %endmacro ; /*********************************************************************** ; // copy match: ; // copy ecx bytes from edi+%1 to edi ; // ; // input: edi, %1 (typically eax or ebp), ecx ; // output: edi := edi + ecx ; // output: ecx := 0 ; // preserves: ebx, esi, ebp ; // trashes: eax, ecx, edx ; ************************************************************************/ ; local macro for copy_match - set %1 to [edi+%2] %macro copy_match.init 2 %ifdef UCL_SAFE ; error if [edi+ecx] is > OUT_END mov %1, edi add %1, ecx jc L_output_overrun cmp %1, OUT_END ja L_output_overrun ; error if [edi+%2] is < OUT mov %1, edi add %1, %2 jnc L_lookbehind_overrun cmp %1, OUT jb L_lookbehind_overrun %else lea %1, [edi+%2] %endif %endmacro %macro copy_match 1 %ifdef UCL_SMALL %ifdef UCL_SAFE mov edx, esi ; save esi copy_match.init esi, %1 %else push esi lea esi, [edi+%1] ; (inlined copy_match.init) %endif rep movsb %ifdef UCL_SAFE mov esi, edx ; restore esi %else pop esi %endif jmp decompr_loop %elifndef UCL_FAST copy_match.init edx, %1 %%copy1: mov al, [edx] inc edx mov [edi], al inc edi dec ecx jnz %%copy1 jmp decompr_loop %else copy_match.init edx, %1 cmp %1, byte -4 jbe %%copy4 %%copy1: mov al, [edx] inc edx mov [edi], al inc edi dec ecx jnz %%copy1 jmp decompr_loop align 4 %%copy4: mov eax, [edx] add edx, byte 4 mov [edi], eax add edi, byte 4 sub ecx, byte 4 ja %%copy4 add edi, ecx xor ecx, ecx jmp decompr_loop %endif %endmacro ; /*********************************************************************** ; // ; ************************************************************************/ xor ecx, ecx ; ; init bit buffer for FILLBITS/FILLBYTES ; %if (UCL_BB == 8) %ifndef UCL_SAFE ; set carry flag - see FILLBYTES_8 stc %endif %elif (UCL_BB == 16) ; no need to init ebx or set the carry flag %elif (UCL_BB == 32) ; no need to init ebx or set the carry flag %endif jmp decompr_start ; ; copy a literal ; %ifndef UCL_SMALL align 16 %endif decompr_literal: SAFE_MOVSB ; ; get flag bit - literal or match ; decompr_loop: %ifdef UCL_SMALL ADDBITS jnz d_gotbit decompr_start: FILLBITS d_gotbit: jc decompr_literal %else ADDBITS jnc decompr_match jnz decompr_literal decompr_start: FILLBITS jc decompr_literal %endif decompr_match: ; /*********************************************************************** ; // NRV2A ; ************************************************************************/ %ifdef NRV2A ; ; decode offset (eax) ; SET_REG eax, 1 Decode_SS11 eax, decode_check_off %ifdef UCL_SAFE cmp eax, 0xffffff + 2 ja L_lookbehind_overrun %endif sub eax, byte 2 shl eax, 8 SAFE_LODSB xor eax, byte -1 jz decompr_end ; ; decode length (ecx) ; ;;xor ecx, ecx Decode_P3_SS11 ecx, decode_check_len cmp eax, -0xe00 adc ecx, byte 1 ; ; copy match ; copy_match eax %endif ; NRV2A ; /*********************************************************************** ; // NRV2B ; ************************************************************************/ %ifdef NRV2B ; ; decode offset (eax -> ebp) ; SET_REG eax, 1 Decode_SS11 eax, decode_check_off %ifdef UCL_SAFE cmp eax, 0xffffff + 3 ja L_lookbehind_overrun %endif sub eax, byte 3 jc .decompr_same_off shl eax, 8 SAFE_LODSB xor eax, byte -1 jz decompr_end mov ebp, eax .decompr_same_off: ; ; decode length (ecx) ; ;;xor ecx, ecx Decode_P3_SS11 ecx, decode_check_len cmp ebp, -0xd00 adc ecx, byte 1 ; ; copy match ; copy_match ebp %endif ; NRV2B ; /*********************************************************************** ; // NRV2D ; ************************************************************************/ %ifdef NRV2D ; ; decode offset (eax -> ebp) and first bit of length (ecx) ; ;;xor ecx, ecx SET_REG eax, 1 Decode_SS12 eax, decode_check_off %ifdef UCL_SAFE cmp eax, 0xffffff + 3 ja L_lookbehind_overrun %endif sub eax, byte 3 jc .decompr_same_off shl eax, 8 SAFE_LODSB xor eax, byte -1 jz decompr_end %ifdef UCL_SAFE ; must be negative jns L_lookbehind_overrun %endif sar eax, 1 ; shift low-bit into carry mov ebp, eax jmp .decompr_got_off .decompr_same_off: GETBIT .decompr_got_off: adc ecx, ecx ; ; decode length (ecx) ; GETBIT adc ecx, ecx jnz .decompr_got_len inc ecx Decode_SS11 ecx, decode_check_len add ecx, byte 2 .decompr_got_len: cmp ebp, -0x500 adc ecx, byte 1 ; ; copy match ; copy_match ebp %endif ; NRV2D ; /*********************************************************************** ; // NRV2E ; ************************************************************************/ %ifdef NRV2E ; ; decode offset (eax -> ebp) and first bit of length into carry ; ;;xor ecx, ecx SET_REG eax, 1 Decode_SS12 eax, decode_check_off %ifdef UCL_SAFE cmp eax, 0xffffff + 3 ja L_lookbehind_overrun %endif sub eax, byte 3 jc .decompr_same_off shl eax, 8 SAFE_LODSB xor eax, byte -1 jz decompr_end %ifdef UCL_SAFE ; must be negative jns L_lookbehind_overrun %endif sar eax, 1 ; shift low-bit into carry mov ebp, eax jnc .decompr_got_off .decompr_mlen1: GETBIT adc ecx, ecx jmp .decompr_got_len .decompr_same_off: GETBIT ; ; decode length (ecx) ; jc .decompr_mlen1 .decompr_got_off: inc ecx GETBIT jc .decompr_mlen1 Decode_SS11 ecx, decode_check_len add ecx, byte 2 .decompr_got_len: cmp ebp, -0x500 adc ecx, byte 2 ; ; copy match ; copy_match ebp %endif ; NRV2E ; /*********************************************************************** ; // that's all, folks ; ************************************************************************/ decompr_end: ; vi:ts=8:et:nowrap ucl-1.03/asm/i386/src/cpuid.asm0000644000175000001440000000655610077051333013016 00000000000000; cpuid.asm -- i386 CPUID ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // int ucl_cpuid_asm(ucl_uint32 info[16]) ; ************************************************************************/ UCL_PUBLIC ucl_cpuid_asm push_cregs ; save and align esp mov ebp, esp and esp, byte -4 cld mov edi, [ebp + cregs_size + 4] ; edi = info ; check for 486 or better mov edx, 0x00040000 ; 1 << 18 call toggle_eflags jz no_cpuid ; check for cpuid support ;; mov edx, 0x00200000 ; 1 << 21 shl edx, 3 ; 1 << 21 call toggle_eflags jz no_cpuid ; standard level 0000_0000h ; get maximum supported standard level and vendor ID string SET_REG eax, 0 call do_cpuid ; standard level 0000_0001h ; get processor type/family/model/stepping and feature flags SET_REG eax, 1 call do_cpuid ; extended level 8000_0000h ; get maximum supported extended level and vendor ID string SET_REG eax, 0x80000000 call do_cpuid ; extended level 8000_0001h ; get processor family/model/stepping and features flags SET_REG eax, 0x80000001 call do_cpuid xor eax, eax ; 0: success return: mov esp, ebp pop_cregs ret no_cpuid: ;; xor eax, eax lea ecx, [eax + 16] ; SET_REG ecx, 16 rep stosd dec eax ; -1: failure jmp return toggle_eflags: pushf pushf pop eax mov ecx, eax xor eax, edx push eax popf pushf pop eax popf xor eax, ecx and eax, edx ret do_cpuid: xor ebx, ebx xor ecx, ecx xor edx, edx CPU 586 cpuid CPU 386 %if 0 mov [edi], eax mov [edi+4], ebx mov [edi+8], ecx mov [edi+12], edx add edi, 16 %else stosd mov [edi], ebx mov [edi+4], ecx mov [edi+8], edx add edi, 12 %endif ret UCL_PUBLIC_END ucl_cpuid_asm ; vi:ts=8:et ucl-1.03/asm/i386/src/crcs_asm.asm0000644000175000001440000000541310077051333013473 00000000000000; crcs_asm.asm -- ucl_crc32_asm_small checksum in assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // ucl_crc32_asm_small(unsigned crc, const void *buf, unsigned len) ; ************************************************************************/ UCL_PUBLIC ucl_crc32_asm_small push ecx xor eax, eax mov ecx, [esp + 4 + 8] ; ecx = buf jecxz return push edi push ebx ; edi = ucl_crc32_table_small call init_tab ucl_crc32_table_small: %if (ucl_crc32_table_small - ucl_crc32_asm_small) != 16 %include "alignment error" %endif dd 0x00000000, 0x1db71060+4, 0x3b6e20c0+8, 0x26d930a0+12 dd 0x76dc4190, 0x6b6b51f0+4, 0x4db26150+8, 0x50057130+12 dd 0xedb88320, 0xf00f9340+4, 0xd6d6a3e0+8, 0xcb61b380+12 dd 0x9b64c2b0, 0x86d3d2d0+4, 0xa00ae270+8, 0xbdbdf210+12 init_tab: pop edi push edx mov edx, [esp + 16 + 12] ; edx = len add edx, ecx ; edx = end ptr mov eax, [esp + 16 + 4] ; eax = crc not eax jmp .enter_loop .loop: %if (.loop - ucl_crc32_asm_small) != 96 %include "alignment error" %endif xor al, [ecx] inc ecx %rep 2 %if 0 mov ebx, eax shr eax, 4 and ebx, byte 15 %else mov ebx, 15 and ebx, eax shr eax, 4 %endif xor eax, [edi + 4*ebx] %endrep .enter_loop: cmp ecx, edx jne .loop not eax pop edx pop ebx pop edi return: pop ecx ret UCL_PUBLIC_END ucl_crc32_asm_small ; vi:ts=8:et ucl-1.03/asm/i386/src/rdtsc.asm0000644000175000001440000000327310077051333013022 00000000000000; rdtsc.asm -- i386 RDTSC ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // unsigned ucl_rdtsc_asm(ucl_uint32 ticks[2]) ; ************************************************************************/ UCL_PUBLIC ucl_rdtsc_asm push edx push ecx mov ecx, [esp+12] ; ecx = ticks clc ; serializing instruction CPU 586 rdtsc CPU 386 mov [ecx], eax ; ticks[0] = low 32 bits mov [ecx+4], edx ; ticks[1] = high 32 bits pop ecx pop edx ret ; return low bits UCL_PUBLIC_END ucl_rdtsc_asm ; vi:ts=8:et ucl-1.03/asm/i386/src/rdtsca.asm0000644000175000001440000000334410077051333013162 00000000000000; rdtsca.asm -- i386 RDTSC ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // unsigned ucl_rdtsc_add_asm(ucl_uint32 ticks[2]) ; ************************************************************************/ UCL_PUBLIC ucl_rdtsc_add_asm push edx push ecx mov ecx, [esp+12] ; ecx = ticks clc ; serializing instruction CPU 586 rdtsc CPU 386 add [ecx], eax ; ticks[0] = low 32 bits adc edx, byte 0 add [ecx+4], edx ; ticks[1] = high 32 bits pop ecx pop edx ret ; return low bits UCL_PUBLIC_END ucl_rdtsc_add_asm ; vi:ts=8:et ucl-1.03/asm/i386/00README.ASM0000644000175000001440000000315210077051333012045 00000000000000 Directory overview: =================== As writing portable assembler sources supporting different operating systems, compilers and assemblers has proven to be extremly painful, the assembler sources have been converted into a more portable `db' format. Use these whenever possible. src_gas sources converted for portable gcc/gas syntax src_masm sources converted for portable masm/tasm/wasm syntax src_nasm sources converted for portable nasm syntax src assembler sources (you need the OpenSource nasm assembler) Also look `src_XXX/all/asm_all.asm' which contains all assembler functions conveniently arranged into a single file. Notes: ====== - The assembler sources are designed for a flat 32-bit memory model running in protected mode - they should work with all i386 32-bit compilers around. - All functions expect a `cdecl' (C stack based) calling convention. The function return value will be placed into `eax'. All other registers are preserved. - Prototypes for the assembler functions can be found in . - For reasons of speed all fast assembler decompressors (having `_fast' in their name) can access (write to) up to 3 bytes past the end of the decompressed (output) block. Data past the end of the compressed (input) block is never accessed (read from). [ technical note: because data is transferred in 32-bit units ] - Finally you should test if the assembler versions are actually faster than the C version on your machine - some compilers can do a very good optimization job, and they also can optimize the code for a specific processor type. ucl-1.03/asm/i386/src_gas/0000777000175000001440000000000010077051333012112 500000000000000ucl-1.03/asm/i386/src_gas/asminit.def0000644000175000001440000000256610077051333014163 00000000000000/* asminit.def -- This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ #ifndef F # define F(name) name #endif #ifndef global # define global(x) .globl x #endif #ifndef typef # ifdef __ELF__ # define typef(x) .type x,@function # else # define typef(x) # endif #endif #ifndef size # ifdef __ELF__ # define size(x,s) .size x,s # else # define size(x,s) # endif #endif #ifndef db # define db .byte #endif .text ucl-1.03/asm/i386/src_gas/all/0000777000175000001440000000000010077051333012662 500000000000000ucl-1.03/asm/i386/src_gas/all/asm_all.S0000644000175000001440000027515310077051333014347 00000000000000/* asm_all.S -- This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #ifndef F # define F(name) name #endif #ifndef global # define global(x) .globl x #endif #ifndef typef # ifdef __ELF__ # define typef(x) .type x,@function # else # define typef(x) # endif #endif #ifndef size # ifdef __ELF__ # define size(x,s) .size x,s # else # define size(x,s) # endif #endif #ifndef db # define db .byte #endif .text typef(_ucl_cpuid_asm) typef(F(ucl_cpuid_asm)) global(_ucl_cpuid_asm) global(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_cpuid_asm,.-_ucl_cpuid_asm) size(F(ucl_cpuid_asm),.-F(ucl_cpuid_asm)) typef(_ucl_crc32_asm) typef(F(ucl_crc32_asm)) global(_ucl_crc32_asm) global(F(ucl_crc32_asm)) _ucl_crc32_asm: F(ucl_crc32_asm): db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_crc32_asm,.-_ucl_crc32_asm) size(F(ucl_crc32_asm),.-F(ucl_crc32_asm)) typef(_ucl_crc32_asm_small) typef(F(ucl_crc32_asm_small)) global(_ucl_crc32_asm_small) global(F(ucl_crc32_asm_small)) _ucl_crc32_asm_small: F(ucl_crc32_asm_small): db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 size(_ucl_crc32_asm_small,.-_ucl_crc32_asm_small) size(F(ucl_crc32_asm_small),.-F(ucl_crc32_asm_small)) typef(_ucl_nrv2b_decompress_asm_fast_le32) typef(F(ucl_nrv2b_decompress_asm_fast_le32)) global(_ucl_nrv2b_decompress_asm_fast_le32) global(F(ucl_nrv2b_decompress_asm_fast_le32)) _ucl_nrv2b_decompress_asm_fast_le32: F(ucl_nrv2b_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2b_decompress_asm_fast_le32,.-_ucl_nrv2b_decompress_asm_fast_le32) size(F(ucl_nrv2b_decompress_asm_fast_le32),.-F(ucl_nrv2b_decompress_asm_fast_le32)) typef(_ucl_nrv2b_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) global(_ucl_nrv2b_decompress_asm_fast_safe_le32) global(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) _ucl_nrv2b_decompress_asm_fast_safe_le32: F(ucl_nrv2b_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_le32,.-_ucl_nrv2b_decompress_asm_fast_safe_le32) size(F(ucl_nrv2b_decompress_asm_fast_safe_le32),.-F(ucl_nrv2b_decompress_asm_fast_safe_le32)) typef(_ucl_nrv2b_decompress_asm_fast_8) typef(F(ucl_nrv2b_decompress_asm_fast_8)) global(_ucl_nrv2b_decompress_asm_fast_8) global(F(ucl_nrv2b_decompress_asm_fast_8)) _ucl_nrv2b_decompress_asm_fast_8: F(ucl_nrv2b_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_8,.-_ucl_nrv2b_decompress_asm_fast_8) size(F(ucl_nrv2b_decompress_asm_fast_8),.-F(ucl_nrv2b_decompress_asm_fast_8)) typef(_ucl_nrv2b_decompress_asm_fast_safe_8) typef(F(ucl_nrv2b_decompress_asm_fast_safe_8)) global(_ucl_nrv2b_decompress_asm_fast_safe_8) global(F(ucl_nrv2b_decompress_asm_fast_safe_8)) _ucl_nrv2b_decompress_asm_fast_safe_8: F(ucl_nrv2b_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_8,.-_ucl_nrv2b_decompress_asm_fast_safe_8) size(F(ucl_nrv2b_decompress_asm_fast_safe_8),.-F(ucl_nrv2b_decompress_asm_fast_safe_8)) typef(_ucl_nrv2b_decompress_asm_fast_le16) typef(F(ucl_nrv2b_decompress_asm_fast_le16)) global(_ucl_nrv2b_decompress_asm_fast_le16) global(F(ucl_nrv2b_decompress_asm_fast_le16)) _ucl_nrv2b_decompress_asm_fast_le16: F(ucl_nrv2b_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_le16,.-_ucl_nrv2b_decompress_asm_fast_le16) size(F(ucl_nrv2b_decompress_asm_fast_le16),.-F(ucl_nrv2b_decompress_asm_fast_le16)) typef(_ucl_nrv2b_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) global(_ucl_nrv2b_decompress_asm_fast_safe_le16) global(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) _ucl_nrv2b_decompress_asm_fast_safe_le16: F(ucl_nrv2b_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_le16,.-_ucl_nrv2b_decompress_asm_fast_safe_le16) size(F(ucl_nrv2b_decompress_asm_fast_safe_le16),.-F(ucl_nrv2b_decompress_asm_fast_safe_le16)) typef(_ucl_nrv2b_decompress_asm_le32) typef(F(ucl_nrv2b_decompress_asm_le32)) global(_ucl_nrv2b_decompress_asm_le32) global(F(ucl_nrv2b_decompress_asm_le32)) _ucl_nrv2b_decompress_asm_le32: F(ucl_nrv2b_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 size(_ucl_nrv2b_decompress_asm_le32,.-_ucl_nrv2b_decompress_asm_le32) size(F(ucl_nrv2b_decompress_asm_le32),.-F(ucl_nrv2b_decompress_asm_le32)) typef(_ucl_nrv2b_decompress_asm_safe_le32) typef(F(ucl_nrv2b_decompress_asm_safe_le32)) global(_ucl_nrv2b_decompress_asm_safe_le32) global(F(ucl_nrv2b_decompress_asm_safe_le32)) _ucl_nrv2b_decompress_asm_safe_le32: F(ucl_nrv2b_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2b_decompress_asm_safe_le32,.-_ucl_nrv2b_decompress_asm_safe_le32) size(F(ucl_nrv2b_decompress_asm_safe_le32),.-F(ucl_nrv2b_decompress_asm_safe_le32)) typef(_ucl_nrv2b_decompress_asm_8) typef(F(ucl_nrv2b_decompress_asm_8)) global(_ucl_nrv2b_decompress_asm_8) global(F(ucl_nrv2b_decompress_asm_8)) _ucl_nrv2b_decompress_asm_8: F(ucl_nrv2b_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_8,.-_ucl_nrv2b_decompress_asm_8) size(F(ucl_nrv2b_decompress_asm_8),.-F(ucl_nrv2b_decompress_asm_8)) typef(_ucl_nrv2b_decompress_asm_safe_8) typef(F(ucl_nrv2b_decompress_asm_safe_8)) global(_ucl_nrv2b_decompress_asm_safe_8) global(F(ucl_nrv2b_decompress_asm_safe_8)) _ucl_nrv2b_decompress_asm_safe_8: F(ucl_nrv2b_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_safe_8,.-_ucl_nrv2b_decompress_asm_safe_8) size(F(ucl_nrv2b_decompress_asm_safe_8),.-F(ucl_nrv2b_decompress_asm_safe_8)) typef(_ucl_nrv2b_decompress_asm_le16) typef(F(ucl_nrv2b_decompress_asm_le16)) global(_ucl_nrv2b_decompress_asm_le16) global(F(ucl_nrv2b_decompress_asm_le16)) _ucl_nrv2b_decompress_asm_le16: F(ucl_nrv2b_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_le16,.-_ucl_nrv2b_decompress_asm_le16) size(F(ucl_nrv2b_decompress_asm_le16),.-F(ucl_nrv2b_decompress_asm_le16)) typef(_ucl_nrv2b_decompress_asm_safe_le16) typef(F(ucl_nrv2b_decompress_asm_safe_le16)) global(_ucl_nrv2b_decompress_asm_safe_le16) global(F(ucl_nrv2b_decompress_asm_safe_le16)) _ucl_nrv2b_decompress_asm_safe_le16: F(ucl_nrv2b_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_safe_le16,.-_ucl_nrv2b_decompress_asm_safe_le16) size(F(ucl_nrv2b_decompress_asm_safe_le16),.-F(ucl_nrv2b_decompress_asm_safe_le16)) typef(_ucl_nrv2b_decompress_asm_small_le32) typef(F(ucl_nrv2b_decompress_asm_small_le32)) global(_ucl_nrv2b_decompress_asm_small_le32) global(F(ucl_nrv2b_decompress_asm_small_le32)) _ucl_nrv2b_decompress_asm_small_le32: F(ucl_nrv2b_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_le32,.-_ucl_nrv2b_decompress_asm_small_le32) size(F(ucl_nrv2b_decompress_asm_small_le32),.-F(ucl_nrv2b_decompress_asm_small_le32)) typef(_ucl_nrv2b_decompress_asm_small_safe_le32) typef(F(ucl_nrv2b_decompress_asm_small_safe_le32)) global(_ucl_nrv2b_decompress_asm_small_safe_le32) global(F(ucl_nrv2b_decompress_asm_small_safe_le32)) _ucl_nrv2b_decompress_asm_small_safe_le32: F(ucl_nrv2b_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_le32,.-_ucl_nrv2b_decompress_asm_small_safe_le32) size(F(ucl_nrv2b_decompress_asm_small_safe_le32),.-F(ucl_nrv2b_decompress_asm_small_safe_le32)) typef(_ucl_nrv2b_decompress_asm_small_8) typef(F(ucl_nrv2b_decompress_asm_small_8)) global(_ucl_nrv2b_decompress_asm_small_8) global(F(ucl_nrv2b_decompress_asm_small_8)) _ucl_nrv2b_decompress_asm_small_8: F(ucl_nrv2b_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_8,.-_ucl_nrv2b_decompress_asm_small_8) size(F(ucl_nrv2b_decompress_asm_small_8),.-F(ucl_nrv2b_decompress_asm_small_8)) typef(_ucl_nrv2b_decompress_asm_small_safe_8) typef(F(ucl_nrv2b_decompress_asm_small_safe_8)) global(_ucl_nrv2b_decompress_asm_small_safe_8) global(F(ucl_nrv2b_decompress_asm_small_safe_8)) _ucl_nrv2b_decompress_asm_small_safe_8: F(ucl_nrv2b_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_8,.-_ucl_nrv2b_decompress_asm_small_safe_8) size(F(ucl_nrv2b_decompress_asm_small_safe_8),.-F(ucl_nrv2b_decompress_asm_small_safe_8)) typef(_ucl_nrv2b_decompress_asm_small_le16) typef(F(ucl_nrv2b_decompress_asm_small_le16)) global(_ucl_nrv2b_decompress_asm_small_le16) global(F(ucl_nrv2b_decompress_asm_small_le16)) _ucl_nrv2b_decompress_asm_small_le16: F(ucl_nrv2b_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_le16,.-_ucl_nrv2b_decompress_asm_small_le16) size(F(ucl_nrv2b_decompress_asm_small_le16),.-F(ucl_nrv2b_decompress_asm_small_le16)) typef(_ucl_nrv2b_decompress_asm_small_safe_le16) typef(F(ucl_nrv2b_decompress_asm_small_safe_le16)) global(_ucl_nrv2b_decompress_asm_small_safe_le16) global(F(ucl_nrv2b_decompress_asm_small_safe_le16)) _ucl_nrv2b_decompress_asm_small_safe_le16: F(ucl_nrv2b_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_le16,.-_ucl_nrv2b_decompress_asm_small_safe_le16) size(F(ucl_nrv2b_decompress_asm_small_safe_le16),.-F(ucl_nrv2b_decompress_asm_small_safe_le16)) typef(_ucl_nrv2d_decompress_asm_fast_le32) typef(F(ucl_nrv2d_decompress_asm_fast_le32)) global(_ucl_nrv2d_decompress_asm_fast_le32) global(F(ucl_nrv2d_decompress_asm_fast_le32)) _ucl_nrv2d_decompress_asm_fast_le32: F(ucl_nrv2d_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_le32,.-_ucl_nrv2d_decompress_asm_fast_le32) size(F(ucl_nrv2d_decompress_asm_fast_le32),.-F(ucl_nrv2d_decompress_asm_fast_le32)) typef(_ucl_nrv2d_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) global(_ucl_nrv2d_decompress_asm_fast_safe_le32) global(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) _ucl_nrv2d_decompress_asm_fast_safe_le32: F(ucl_nrv2d_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_le32,.-_ucl_nrv2d_decompress_asm_fast_safe_le32) size(F(ucl_nrv2d_decompress_asm_fast_safe_le32),.-F(ucl_nrv2d_decompress_asm_fast_safe_le32)) typef(_ucl_nrv2d_decompress_asm_fast_8) typef(F(ucl_nrv2d_decompress_asm_fast_8)) global(_ucl_nrv2d_decompress_asm_fast_8) global(F(ucl_nrv2d_decompress_asm_fast_8)) _ucl_nrv2d_decompress_asm_fast_8: F(ucl_nrv2d_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_8,.-_ucl_nrv2d_decompress_asm_fast_8) size(F(ucl_nrv2d_decompress_asm_fast_8),.-F(ucl_nrv2d_decompress_asm_fast_8)) typef(_ucl_nrv2d_decompress_asm_fast_safe_8) typef(F(ucl_nrv2d_decompress_asm_fast_safe_8)) global(_ucl_nrv2d_decompress_asm_fast_safe_8) global(F(ucl_nrv2d_decompress_asm_fast_safe_8)) _ucl_nrv2d_decompress_asm_fast_safe_8: F(ucl_nrv2d_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_8,.-_ucl_nrv2d_decompress_asm_fast_safe_8) size(F(ucl_nrv2d_decompress_asm_fast_safe_8),.-F(ucl_nrv2d_decompress_asm_fast_safe_8)) typef(_ucl_nrv2d_decompress_asm_fast_le16) typef(F(ucl_nrv2d_decompress_asm_fast_le16)) global(_ucl_nrv2d_decompress_asm_fast_le16) global(F(ucl_nrv2d_decompress_asm_fast_le16)) _ucl_nrv2d_decompress_asm_fast_le16: F(ucl_nrv2d_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2d_decompress_asm_fast_le16,.-_ucl_nrv2d_decompress_asm_fast_le16) size(F(ucl_nrv2d_decompress_asm_fast_le16),.-F(ucl_nrv2d_decompress_asm_fast_le16)) typef(_ucl_nrv2d_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) global(_ucl_nrv2d_decompress_asm_fast_safe_le16) global(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) _ucl_nrv2d_decompress_asm_fast_safe_le16: F(ucl_nrv2d_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_le16,.-_ucl_nrv2d_decompress_asm_fast_safe_le16) size(F(ucl_nrv2d_decompress_asm_fast_safe_le16),.-F(ucl_nrv2d_decompress_asm_fast_safe_le16)) typef(_ucl_nrv2d_decompress_asm_le32) typef(F(ucl_nrv2d_decompress_asm_le32)) global(_ucl_nrv2d_decompress_asm_le32) global(F(ucl_nrv2d_decompress_asm_le32)) _ucl_nrv2d_decompress_asm_le32: F(ucl_nrv2d_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_le32,.-_ucl_nrv2d_decompress_asm_le32) size(F(ucl_nrv2d_decompress_asm_le32),.-F(ucl_nrv2d_decompress_asm_le32)) typef(_ucl_nrv2d_decompress_asm_safe_le32) typef(F(ucl_nrv2d_decompress_asm_safe_le32)) global(_ucl_nrv2d_decompress_asm_safe_le32) global(F(ucl_nrv2d_decompress_asm_safe_le32)) _ucl_nrv2d_decompress_asm_safe_le32: F(ucl_nrv2d_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_safe_le32,.-_ucl_nrv2d_decompress_asm_safe_le32) size(F(ucl_nrv2d_decompress_asm_safe_le32),.-F(ucl_nrv2d_decompress_asm_safe_le32)) typef(_ucl_nrv2d_decompress_asm_8) typef(F(ucl_nrv2d_decompress_asm_8)) global(_ucl_nrv2d_decompress_asm_8) global(F(ucl_nrv2d_decompress_asm_8)) _ucl_nrv2d_decompress_asm_8: F(ucl_nrv2d_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_8,.-_ucl_nrv2d_decompress_asm_8) size(F(ucl_nrv2d_decompress_asm_8),.-F(ucl_nrv2d_decompress_asm_8)) typef(_ucl_nrv2d_decompress_asm_safe_8) typef(F(ucl_nrv2d_decompress_asm_safe_8)) global(_ucl_nrv2d_decompress_asm_safe_8) global(F(ucl_nrv2d_decompress_asm_safe_8)) _ucl_nrv2d_decompress_asm_safe_8: F(ucl_nrv2d_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_safe_8,.-_ucl_nrv2d_decompress_asm_safe_8) size(F(ucl_nrv2d_decompress_asm_safe_8),.-F(ucl_nrv2d_decompress_asm_safe_8)) typef(_ucl_nrv2d_decompress_asm_le16) typef(F(ucl_nrv2d_decompress_asm_le16)) global(_ucl_nrv2d_decompress_asm_le16) global(F(ucl_nrv2d_decompress_asm_le16)) _ucl_nrv2d_decompress_asm_le16: F(ucl_nrv2d_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 size(_ucl_nrv2d_decompress_asm_le16,.-_ucl_nrv2d_decompress_asm_le16) size(F(ucl_nrv2d_decompress_asm_le16),.-F(ucl_nrv2d_decompress_asm_le16)) typef(_ucl_nrv2d_decompress_asm_safe_le16) typef(F(ucl_nrv2d_decompress_asm_safe_le16)) global(_ucl_nrv2d_decompress_asm_safe_le16) global(F(ucl_nrv2d_decompress_asm_safe_le16)) _ucl_nrv2d_decompress_asm_safe_le16: F(ucl_nrv2d_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 size(_ucl_nrv2d_decompress_asm_safe_le16,.-_ucl_nrv2d_decompress_asm_safe_le16) size(F(ucl_nrv2d_decompress_asm_safe_le16),.-F(ucl_nrv2d_decompress_asm_safe_le16)) typef(_ucl_nrv2d_decompress_asm_small_le32) typef(F(ucl_nrv2d_decompress_asm_small_le32)) global(_ucl_nrv2d_decompress_asm_small_le32) global(F(ucl_nrv2d_decompress_asm_small_le32)) _ucl_nrv2d_decompress_asm_small_le32: F(ucl_nrv2d_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_le32,.-_ucl_nrv2d_decompress_asm_small_le32) size(F(ucl_nrv2d_decompress_asm_small_le32),.-F(ucl_nrv2d_decompress_asm_small_le32)) typef(_ucl_nrv2d_decompress_asm_small_safe_le32) typef(F(ucl_nrv2d_decompress_asm_small_safe_le32)) global(_ucl_nrv2d_decompress_asm_small_safe_le32) global(F(ucl_nrv2d_decompress_asm_small_safe_le32)) _ucl_nrv2d_decompress_asm_small_safe_le32: F(ucl_nrv2d_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 size(_ucl_nrv2d_decompress_asm_small_safe_le32,.-_ucl_nrv2d_decompress_asm_small_safe_le32) size(F(ucl_nrv2d_decompress_asm_small_safe_le32),.-F(ucl_nrv2d_decompress_asm_small_safe_le32)) typef(_ucl_nrv2d_decompress_asm_small_8) typef(F(ucl_nrv2d_decompress_asm_small_8)) global(_ucl_nrv2d_decompress_asm_small_8) global(F(ucl_nrv2d_decompress_asm_small_8)) _ucl_nrv2d_decompress_asm_small_8: F(ucl_nrv2d_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_8,.-_ucl_nrv2d_decompress_asm_small_8) size(F(ucl_nrv2d_decompress_asm_small_8),.-F(ucl_nrv2d_decompress_asm_small_8)) typef(_ucl_nrv2d_decompress_asm_small_safe_8) typef(F(ucl_nrv2d_decompress_asm_small_safe_8)) global(_ucl_nrv2d_decompress_asm_small_safe_8) global(F(ucl_nrv2d_decompress_asm_small_safe_8)) _ucl_nrv2d_decompress_asm_small_safe_8: F(ucl_nrv2d_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_safe_8,.-_ucl_nrv2d_decompress_asm_small_safe_8) size(F(ucl_nrv2d_decompress_asm_small_safe_8),.-F(ucl_nrv2d_decompress_asm_small_safe_8)) typef(_ucl_nrv2d_decompress_asm_small_le16) typef(F(ucl_nrv2d_decompress_asm_small_le16)) global(_ucl_nrv2d_decompress_asm_small_le16) global(F(ucl_nrv2d_decompress_asm_small_le16)) _ucl_nrv2d_decompress_asm_small_le16: F(ucl_nrv2d_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2d_decompress_asm_small_le16,.-_ucl_nrv2d_decompress_asm_small_le16) size(F(ucl_nrv2d_decompress_asm_small_le16),.-F(ucl_nrv2d_decompress_asm_small_le16)) typef(_ucl_nrv2d_decompress_asm_small_safe_le16) typef(F(ucl_nrv2d_decompress_asm_small_safe_le16)) global(_ucl_nrv2d_decompress_asm_small_safe_le16) global(F(ucl_nrv2d_decompress_asm_small_safe_le16)) _ucl_nrv2d_decompress_asm_small_safe_le16: F(ucl_nrv2d_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_safe_le16,.-_ucl_nrv2d_decompress_asm_small_safe_le16) size(F(ucl_nrv2d_decompress_asm_small_safe_le16),.-F(ucl_nrv2d_decompress_asm_small_safe_le16)) typef(_ucl_nrv2e_decompress_asm_fast_le32) typef(F(ucl_nrv2e_decompress_asm_fast_le32)) global(_ucl_nrv2e_decompress_asm_fast_le32) global(F(ucl_nrv2e_decompress_asm_fast_le32)) _ucl_nrv2e_decompress_asm_fast_le32: F(ucl_nrv2e_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_le32,.-_ucl_nrv2e_decompress_asm_fast_le32) size(F(ucl_nrv2e_decompress_asm_fast_le32),.-F(ucl_nrv2e_decompress_asm_fast_le32)) typef(_ucl_nrv2e_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) global(_ucl_nrv2e_decompress_asm_fast_safe_le32) global(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) _ucl_nrv2e_decompress_asm_fast_safe_le32: F(ucl_nrv2e_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_le32,.-_ucl_nrv2e_decompress_asm_fast_safe_le32) size(F(ucl_nrv2e_decompress_asm_fast_safe_le32),.-F(ucl_nrv2e_decompress_asm_fast_safe_le32)) typef(_ucl_nrv2e_decompress_asm_fast_8) typef(F(ucl_nrv2e_decompress_asm_fast_8)) global(_ucl_nrv2e_decompress_asm_fast_8) global(F(ucl_nrv2e_decompress_asm_fast_8)) _ucl_nrv2e_decompress_asm_fast_8: F(ucl_nrv2e_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_fast_8,.-_ucl_nrv2e_decompress_asm_fast_8) size(F(ucl_nrv2e_decompress_asm_fast_8),.-F(ucl_nrv2e_decompress_asm_fast_8)) typef(_ucl_nrv2e_decompress_asm_fast_safe_8) typef(F(ucl_nrv2e_decompress_asm_fast_safe_8)) global(_ucl_nrv2e_decompress_asm_fast_safe_8) global(F(ucl_nrv2e_decompress_asm_fast_safe_8)) _ucl_nrv2e_decompress_asm_fast_safe_8: F(ucl_nrv2e_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_8,.-_ucl_nrv2e_decompress_asm_fast_safe_8) size(F(ucl_nrv2e_decompress_asm_fast_safe_8),.-F(ucl_nrv2e_decompress_asm_fast_safe_8)) typef(_ucl_nrv2e_decompress_asm_fast_le16) typef(F(ucl_nrv2e_decompress_asm_fast_le16)) global(_ucl_nrv2e_decompress_asm_fast_le16) global(F(ucl_nrv2e_decompress_asm_fast_le16)) _ucl_nrv2e_decompress_asm_fast_le16: F(ucl_nrv2e_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_fast_le16,.-_ucl_nrv2e_decompress_asm_fast_le16) size(F(ucl_nrv2e_decompress_asm_fast_le16),.-F(ucl_nrv2e_decompress_asm_fast_le16)) typef(_ucl_nrv2e_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) global(_ucl_nrv2e_decompress_asm_fast_safe_le16) global(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) _ucl_nrv2e_decompress_asm_fast_safe_le16: F(ucl_nrv2e_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_le16,.-_ucl_nrv2e_decompress_asm_fast_safe_le16) size(F(ucl_nrv2e_decompress_asm_fast_safe_le16),.-F(ucl_nrv2e_decompress_asm_fast_safe_le16)) typef(_ucl_nrv2e_decompress_asm_le32) typef(F(ucl_nrv2e_decompress_asm_le32)) global(_ucl_nrv2e_decompress_asm_le32) global(F(ucl_nrv2e_decompress_asm_le32)) _ucl_nrv2e_decompress_asm_le32: F(ucl_nrv2e_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_le32,.-_ucl_nrv2e_decompress_asm_le32) size(F(ucl_nrv2e_decompress_asm_le32),.-F(ucl_nrv2e_decompress_asm_le32)) typef(_ucl_nrv2e_decompress_asm_safe_le32) typef(F(ucl_nrv2e_decompress_asm_safe_le32)) global(_ucl_nrv2e_decompress_asm_safe_le32) global(F(ucl_nrv2e_decompress_asm_safe_le32)) _ucl_nrv2e_decompress_asm_safe_le32: F(ucl_nrv2e_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 size(_ucl_nrv2e_decompress_asm_safe_le32,.-_ucl_nrv2e_decompress_asm_safe_le32) size(F(ucl_nrv2e_decompress_asm_safe_le32),.-F(ucl_nrv2e_decompress_asm_safe_le32)) typef(_ucl_nrv2e_decompress_asm_8) typef(F(ucl_nrv2e_decompress_asm_8)) global(_ucl_nrv2e_decompress_asm_8) global(F(ucl_nrv2e_decompress_asm_8)) _ucl_nrv2e_decompress_asm_8: F(ucl_nrv2e_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 size(_ucl_nrv2e_decompress_asm_8,.-_ucl_nrv2e_decompress_asm_8) size(F(ucl_nrv2e_decompress_asm_8),.-F(ucl_nrv2e_decompress_asm_8)) typef(_ucl_nrv2e_decompress_asm_safe_8) typef(F(ucl_nrv2e_decompress_asm_safe_8)) global(_ucl_nrv2e_decompress_asm_safe_8) global(F(ucl_nrv2e_decompress_asm_safe_8)) _ucl_nrv2e_decompress_asm_safe_8: F(ucl_nrv2e_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_safe_8,.-_ucl_nrv2e_decompress_asm_safe_8) size(F(ucl_nrv2e_decompress_asm_safe_8),.-F(ucl_nrv2e_decompress_asm_safe_8)) typef(_ucl_nrv2e_decompress_asm_le16) typef(F(ucl_nrv2e_decompress_asm_le16)) global(_ucl_nrv2e_decompress_asm_le16) global(F(ucl_nrv2e_decompress_asm_le16)) _ucl_nrv2e_decompress_asm_le16: F(ucl_nrv2e_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 size(_ucl_nrv2e_decompress_asm_le16,.-_ucl_nrv2e_decompress_asm_le16) size(F(ucl_nrv2e_decompress_asm_le16),.-F(ucl_nrv2e_decompress_asm_le16)) typef(_ucl_nrv2e_decompress_asm_safe_le16) typef(F(ucl_nrv2e_decompress_asm_safe_le16)) global(_ucl_nrv2e_decompress_asm_safe_le16) global(F(ucl_nrv2e_decompress_asm_safe_le16)) _ucl_nrv2e_decompress_asm_safe_le16: F(ucl_nrv2e_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_safe_le16,.-_ucl_nrv2e_decompress_asm_safe_le16) size(F(ucl_nrv2e_decompress_asm_safe_le16),.-F(ucl_nrv2e_decompress_asm_safe_le16)) typef(_ucl_nrv2e_decompress_asm_small_le32) typef(F(ucl_nrv2e_decompress_asm_small_le32)) global(_ucl_nrv2e_decompress_asm_small_le32) global(F(ucl_nrv2e_decompress_asm_small_le32)) _ucl_nrv2e_decompress_asm_small_le32: F(ucl_nrv2e_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_le32,.-_ucl_nrv2e_decompress_asm_small_le32) size(F(ucl_nrv2e_decompress_asm_small_le32),.-F(ucl_nrv2e_decompress_asm_small_le32)) typef(_ucl_nrv2e_decompress_asm_small_safe_le32) typef(F(ucl_nrv2e_decompress_asm_small_safe_le32)) global(_ucl_nrv2e_decompress_asm_small_safe_le32) global(F(ucl_nrv2e_decompress_asm_small_safe_le32)) _ucl_nrv2e_decompress_asm_small_safe_le32: F(ucl_nrv2e_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_le32,.-_ucl_nrv2e_decompress_asm_small_safe_le32) size(F(ucl_nrv2e_decompress_asm_small_safe_le32),.-F(ucl_nrv2e_decompress_asm_small_safe_le32)) typef(_ucl_nrv2e_decompress_asm_small_8) typef(F(ucl_nrv2e_decompress_asm_small_8)) global(_ucl_nrv2e_decompress_asm_small_8) global(F(ucl_nrv2e_decompress_asm_small_8)) _ucl_nrv2e_decompress_asm_small_8: F(ucl_nrv2e_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_8,.-_ucl_nrv2e_decompress_asm_small_8) size(F(ucl_nrv2e_decompress_asm_small_8),.-F(ucl_nrv2e_decompress_asm_small_8)) typef(_ucl_nrv2e_decompress_asm_small_safe_8) typef(F(ucl_nrv2e_decompress_asm_small_safe_8)) global(_ucl_nrv2e_decompress_asm_small_safe_8) global(F(ucl_nrv2e_decompress_asm_small_safe_8)) _ucl_nrv2e_decompress_asm_small_safe_8: F(ucl_nrv2e_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_8,.-_ucl_nrv2e_decompress_asm_small_safe_8) size(F(ucl_nrv2e_decompress_asm_small_safe_8),.-F(ucl_nrv2e_decompress_asm_small_safe_8)) typef(_ucl_nrv2e_decompress_asm_small_le16) typef(F(ucl_nrv2e_decompress_asm_small_le16)) global(_ucl_nrv2e_decompress_asm_small_le16) global(F(ucl_nrv2e_decompress_asm_small_le16)) _ucl_nrv2e_decompress_asm_small_le16: F(ucl_nrv2e_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_small_le16,.-_ucl_nrv2e_decompress_asm_small_le16) size(F(ucl_nrv2e_decompress_asm_small_le16),.-F(ucl_nrv2e_decompress_asm_small_le16)) typef(_ucl_nrv2e_decompress_asm_small_safe_le16) typef(F(ucl_nrv2e_decompress_asm_small_safe_le16)) global(_ucl_nrv2e_decompress_asm_small_safe_le16) global(F(ucl_nrv2e_decompress_asm_small_safe_le16)) _ucl_nrv2e_decompress_asm_small_safe_le16: F(ucl_nrv2e_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_le16,.-_ucl_nrv2e_decompress_asm_small_safe_le16) size(F(ucl_nrv2e_decompress_asm_small_safe_le16),.-F(ucl_nrv2e_decompress_asm_small_safe_le16)) typef(_ucl_rdtsc_asm) typef(F(ucl_rdtsc_asm)) global(_ucl_rdtsc_asm) global(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_rdtsc_asm,.-_ucl_rdtsc_asm) size(F(ucl_rdtsc_asm),.-F(ucl_rdtsc_asm)) typef(_ucl_rdtsc_add_asm) typef(F(ucl_rdtsc_add_asm)) global(_ucl_rdtsc_add_asm) global(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_rdtsc_add_asm,.-_ucl_rdtsc_add_asm) size(F(ucl_rdtsc_add_asm),.-F(ucl_rdtsc_add_asm)) ucl-1.03/asm/i386/src_gas/cpuid.S0000644000175000001440000000341110077051333013255 00000000000000/* cpuid.S -- ucl_cpuid_asm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_cpuid_asm) typef(F(ucl_cpuid_asm)) global(_ucl_cpuid_asm) global(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_cpuid_asm,.-_ucl_cpuid_asm) size(F(ucl_cpuid_asm),.-F(ucl_cpuid_asm)) ucl-1.03/asm/i386/src_gas/crc_asm.S0000644000175000001440000000376710077051333013576 00000000000000/* crc_asm.S -- ucl_crc32_asm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_crc32_asm) typef(F(ucl_crc32_asm)) global(_ucl_crc32_asm) global(F(ucl_crc32_asm)) _ucl_crc32_asm: F(ucl_crc32_asm): db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_crc32_asm,.-_ucl_crc32_asm) size(F(ucl_crc32_asm),.-F(ucl_crc32_asm)) ucl-1.03/asm/i386/src_gas/crcs_asm.S0000644000175000001440000000354310077051333013751 00000000000000/* crcs_asm.S -- ucl_crc32_asm_small This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_crc32_asm_small) typef(F(ucl_crc32_asm_small)) global(_ucl_crc32_asm_small) global(F(ucl_crc32_asm_small)) _ucl_crc32_asm_small: F(ucl_crc32_asm_small): db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 size(_ucl_crc32_asm_small,.-_ucl_crc32_asm_small) size(F(ucl_crc32_asm_small),.-F(ucl_crc32_asm_small)) ucl-1.03/asm/i386/src_gas/n2b_d_f1.S0000644000175000001440000000465510077051333013536 00000000000000/* n2b_d_f1.S -- ucl_nrv2b_decompress_asm_fast_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_le32) typef(F(ucl_nrv2b_decompress_asm_fast_le32)) global(_ucl_nrv2b_decompress_asm_fast_le32) global(F(ucl_nrv2b_decompress_asm_fast_le32)) _ucl_nrv2b_decompress_asm_fast_le32: F(ucl_nrv2b_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2b_decompress_asm_fast_le32,.-_ucl_nrv2b_decompress_asm_fast_le32) size(F(ucl_nrv2b_decompress_asm_fast_le32),.-F(ucl_nrv2b_decompress_asm_fast_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_f2.S0000644000175000001440000000630310077051333013527 00000000000000/* n2b_d_f2.S -- ucl_nrv2b_decompress_asm_fast_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) global(_ucl_nrv2b_decompress_asm_fast_safe_le32) global(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) _ucl_nrv2b_decompress_asm_fast_safe_le32: F(ucl_nrv2b_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_le32,.-_ucl_nrv2b_decompress_asm_fast_safe_le32) size(F(ucl_nrv2b_decompress_asm_fast_safe_le32),.-F(ucl_nrv2b_decompress_asm_fast_safe_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_f3.S0000644000175000001440000000460510077051333013533 00000000000000/* n2b_d_f3.S -- ucl_nrv2b_decompress_asm_fast_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_8) typef(F(ucl_nrv2b_decompress_asm_fast_8)) global(_ucl_nrv2b_decompress_asm_fast_8) global(F(ucl_nrv2b_decompress_asm_fast_8)) _ucl_nrv2b_decompress_asm_fast_8: F(ucl_nrv2b_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_8,.-_ucl_nrv2b_decompress_asm_fast_8) size(F(ucl_nrv2b_decompress_asm_fast_8),.-F(ucl_nrv2b_decompress_asm_fast_8)) ucl-1.03/asm/i386/src_gas/n2b_d_f4.S0000644000175000001440000000605410077051333013534 00000000000000/* n2b_d_f4.S -- ucl_nrv2b_decompress_asm_fast_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_safe_8) typef(F(ucl_nrv2b_decompress_asm_fast_safe_8)) global(_ucl_nrv2b_decompress_asm_fast_safe_8) global(F(ucl_nrv2b_decompress_asm_fast_safe_8)) _ucl_nrv2b_decompress_asm_fast_safe_8: F(ucl_nrv2b_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_8,.-_ucl_nrv2b_decompress_asm_fast_safe_8) size(F(ucl_nrv2b_decompress_asm_fast_safe_8),.-F(ucl_nrv2b_decompress_asm_fast_safe_8)) ucl-1.03/asm/i386/src_gas/n2b_d_f5.S0000644000175000001440000000505610077051333013536 00000000000000/* n2b_d_f5.S -- ucl_nrv2b_decompress_asm_fast_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_le16) typef(F(ucl_nrv2b_decompress_asm_fast_le16)) global(_ucl_nrv2b_decompress_asm_fast_le16) global(F(ucl_nrv2b_decompress_asm_fast_le16)) _ucl_nrv2b_decompress_asm_fast_le16: F(ucl_nrv2b_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_fast_le16,.-_ucl_nrv2b_decompress_asm_fast_le16) size(F(ucl_nrv2b_decompress_asm_fast_le16),.-F(ucl_nrv2b_decompress_asm_fast_le16)) ucl-1.03/asm/i386/src_gas/n2b_d_f6.S0000644000175000001440000000640510077051333013536 00000000000000/* n2b_d_f6.S -- ucl_nrv2b_decompress_asm_fast_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) global(_ucl_nrv2b_decompress_asm_fast_safe_le16) global(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) _ucl_nrv2b_decompress_asm_fast_safe_le16: F(ucl_nrv2b_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2b_decompress_asm_fast_safe_le16,.-_ucl_nrv2b_decompress_asm_fast_safe_le16) size(F(ucl_nrv2b_decompress_asm_fast_safe_le16),.-F(ucl_nrv2b_decompress_asm_fast_safe_le16)) ucl-1.03/asm/i386/src_gas/n2b_d_n1.S0000644000175000001440000000437710077051333013547 00000000000000/* n2b_d_n1.S -- ucl_nrv2b_decompress_asm_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_le32) typef(F(ucl_nrv2b_decompress_asm_le32)) global(_ucl_nrv2b_decompress_asm_le32) global(F(ucl_nrv2b_decompress_asm_le32)) _ucl_nrv2b_decompress_asm_le32: F(ucl_nrv2b_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 size(_ucl_nrv2b_decompress_asm_le32,.-_ucl_nrv2b_decompress_asm_le32) size(F(ucl_nrv2b_decompress_asm_le32),.-F(ucl_nrv2b_decompress_asm_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_n2.S0000644000175000001440000000574110077051333013544 00000000000000/* n2b_d_n2.S -- ucl_nrv2b_decompress_asm_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_safe_le32) typef(F(ucl_nrv2b_decompress_asm_safe_le32)) global(_ucl_nrv2b_decompress_asm_safe_le32) global(F(ucl_nrv2b_decompress_asm_safe_le32)) _ucl_nrv2b_decompress_asm_safe_le32: F(ucl_nrv2b_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2b_decompress_asm_safe_le32,.-_ucl_nrv2b_decompress_asm_safe_le32) size(F(ucl_nrv2b_decompress_asm_safe_le32),.-F(ucl_nrv2b_decompress_asm_safe_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_n3.S0000644000175000001440000000432610077051333013543 00000000000000/* n2b_d_n3.S -- ucl_nrv2b_decompress_asm_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_8) typef(F(ucl_nrv2b_decompress_asm_8)) global(_ucl_nrv2b_decompress_asm_8) global(F(ucl_nrv2b_decompress_asm_8)) _ucl_nrv2b_decompress_asm_8: F(ucl_nrv2b_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_8,.-_ucl_nrv2b_decompress_asm_8) size(F(ucl_nrv2b_decompress_asm_8),.-F(ucl_nrv2b_decompress_asm_8)) ucl-1.03/asm/i386/src_gas/n2b_d_n4.S0000644000175000001440000000552510077051333013546 00000000000000/* n2b_d_n4.S -- ucl_nrv2b_decompress_asm_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_safe_8) typef(F(ucl_nrv2b_decompress_asm_safe_8)) global(_ucl_nrv2b_decompress_asm_safe_8) global(F(ucl_nrv2b_decompress_asm_safe_8)) _ucl_nrv2b_decompress_asm_safe_8: F(ucl_nrv2b_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_safe_8,.-_ucl_nrv2b_decompress_asm_safe_8) size(F(ucl_nrv2b_decompress_asm_safe_8),.-F(ucl_nrv2b_decompress_asm_safe_8)) ucl-1.03/asm/i386/src_gas/n2b_d_n5.S0000644000175000001440000000460710077051333013547 00000000000000/* n2b_d_n5.S -- ucl_nrv2b_decompress_asm_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_le16) typef(F(ucl_nrv2b_decompress_asm_le16)) global(_ucl_nrv2b_decompress_asm_le16) global(F(ucl_nrv2b_decompress_asm_le16)) _ucl_nrv2b_decompress_asm_le16: F(ucl_nrv2b_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_le16,.-_ucl_nrv2b_decompress_asm_le16) size(F(ucl_nrv2b_decompress_asm_le16),.-F(ucl_nrv2b_decompress_asm_le16)) ucl-1.03/asm/i386/src_gas/n2b_d_n6.S0000644000175000001440000000614710077051333013551 00000000000000/* n2b_d_n6.S -- ucl_nrv2b_decompress_asm_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_safe_le16) typef(F(ucl_nrv2b_decompress_asm_safe_le16)) global(_ucl_nrv2b_decompress_asm_safe_le16) global(F(ucl_nrv2b_decompress_asm_safe_le16)) _ucl_nrv2b_decompress_asm_safe_le16: F(ucl_nrv2b_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_safe_le16,.-_ucl_nrv2b_decompress_asm_safe_le16) size(F(ucl_nrv2b_decompress_asm_safe_le16),.-F(ucl_nrv2b_decompress_asm_safe_le16)) ucl-1.03/asm/i386/src_gas/n2b_d_s1.S0000644000175000001440000000442010077051333013541 00000000000000/* n2b_d_s1.S -- ucl_nrv2b_decompress_asm_small_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_le32) typef(F(ucl_nrv2b_decompress_asm_small_le32)) global(_ucl_nrv2b_decompress_asm_small_le32) global(F(ucl_nrv2b_decompress_asm_small_le32)) _ucl_nrv2b_decompress_asm_small_le32: F(ucl_nrv2b_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_le32,.-_ucl_nrv2b_decompress_asm_small_le32) size(F(ucl_nrv2b_decompress_asm_small_le32),.-F(ucl_nrv2b_decompress_asm_small_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_s2.S0000644000175000001440000000576710077051333013561 00000000000000/* n2b_d_s2.S -- ucl_nrv2b_decompress_asm_small_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_safe_le32) typef(F(ucl_nrv2b_decompress_asm_small_safe_le32)) global(_ucl_nrv2b_decompress_asm_small_safe_le32) global(F(ucl_nrv2b_decompress_asm_small_safe_le32)) _ucl_nrv2b_decompress_asm_small_safe_le32: F(ucl_nrv2b_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_le32,.-_ucl_nrv2b_decompress_asm_small_safe_le32) size(F(ucl_nrv2b_decompress_asm_small_safe_le32),.-F(ucl_nrv2b_decompress_asm_small_safe_le32)) ucl-1.03/asm/i386/src_gas/n2b_d_s3.S0000644000175000001440000000424510077051333013550 00000000000000/* n2b_d_s3.S -- ucl_nrv2b_decompress_asm_small_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_8) typef(F(ucl_nrv2b_decompress_asm_small_8)) global(_ucl_nrv2b_decompress_asm_small_8) global(F(ucl_nrv2b_decompress_asm_small_8)) _ucl_nrv2b_decompress_asm_small_8: F(ucl_nrv2b_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_8,.-_ucl_nrv2b_decompress_asm_small_8) size(F(ucl_nrv2b_decompress_asm_small_8),.-F(ucl_nrv2b_decompress_asm_small_8)) ucl-1.03/asm/i386/src_gas/n2b_d_s4.S0000644000175000001440000000545010077051333013550 00000000000000/* n2b_d_s4.S -- ucl_nrv2b_decompress_asm_small_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_safe_8) typef(F(ucl_nrv2b_decompress_asm_small_safe_8)) global(_ucl_nrv2b_decompress_asm_small_safe_8) global(F(ucl_nrv2b_decompress_asm_small_safe_8)) _ucl_nrv2b_decompress_asm_small_safe_8: F(ucl_nrv2b_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_8,.-_ucl_nrv2b_decompress_asm_small_safe_8) size(F(ucl_nrv2b_decompress_asm_small_safe_8),.-F(ucl_nrv2b_decompress_asm_small_safe_8)) ucl-1.03/asm/i386/src_gas/n2b_d_s5.S0000644000175000001440000000452210077051333013550 00000000000000/* n2b_d_s5.S -- ucl_nrv2b_decompress_asm_small_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_le16) typef(F(ucl_nrv2b_decompress_asm_small_le16)) global(_ucl_nrv2b_decompress_asm_small_le16) global(F(ucl_nrv2b_decompress_asm_small_le16)) _ucl_nrv2b_decompress_asm_small_le16: F(ucl_nrv2b_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_le16,.-_ucl_nrv2b_decompress_asm_small_le16) size(F(ucl_nrv2b_decompress_asm_small_le16),.-F(ucl_nrv2b_decompress_asm_small_le16)) ucl-1.03/asm/i386/src_gas/n2b_d_s6.S0000644000175000001440000000607110077051333013552 00000000000000/* n2b_d_s6.S -- ucl_nrv2b_decompress_asm_small_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2b_decompress_asm_small_safe_le16) typef(F(ucl_nrv2b_decompress_asm_small_safe_le16)) global(_ucl_nrv2b_decompress_asm_small_safe_le16) global(F(ucl_nrv2b_decompress_asm_small_safe_le16)) _ucl_nrv2b_decompress_asm_small_safe_le16: F(ucl_nrv2b_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 size(_ucl_nrv2b_decompress_asm_small_safe_le16,.-_ucl_nrv2b_decompress_asm_small_safe_le16) size(F(ucl_nrv2b_decompress_asm_small_safe_le16),.-F(ucl_nrv2b_decompress_asm_small_safe_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_f1.S0000644000175000001440000000505110077051333013527 00000000000000/* n2d_d_f1.S -- ucl_nrv2d_decompress_asm_fast_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_le32) typef(F(ucl_nrv2d_decompress_asm_fast_le32)) global(_ucl_nrv2d_decompress_asm_fast_le32) global(F(ucl_nrv2d_decompress_asm_fast_le32)) _ucl_nrv2d_decompress_asm_fast_le32: F(ucl_nrv2d_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_le32,.-_ucl_nrv2d_decompress_asm_fast_le32) size(F(ucl_nrv2d_decompress_asm_fast_le32),.-F(ucl_nrv2d_decompress_asm_fast_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_f2.S0000644000175000001440000000645310077051333013537 00000000000000/* n2d_d_f2.S -- ucl_nrv2d_decompress_asm_fast_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) global(_ucl_nrv2d_decompress_asm_fast_safe_le32) global(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) _ucl_nrv2d_decompress_asm_fast_safe_le32: F(ucl_nrv2d_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_le32,.-_ucl_nrv2d_decompress_asm_fast_safe_le32) size(F(ucl_nrv2d_decompress_asm_fast_safe_le32),.-F(ucl_nrv2d_decompress_asm_fast_safe_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_f3.S0000644000175000001440000000467210077051333013541 00000000000000/* n2d_d_f3.S -- ucl_nrv2d_decompress_asm_fast_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_8) typef(F(ucl_nrv2d_decompress_asm_fast_8)) global(_ucl_nrv2d_decompress_asm_fast_8) global(F(ucl_nrv2d_decompress_asm_fast_8)) _ucl_nrv2d_decompress_asm_fast_8: F(ucl_nrv2d_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_8,.-_ucl_nrv2d_decompress_asm_fast_8) size(F(ucl_nrv2d_decompress_asm_fast_8),.-F(ucl_nrv2d_decompress_asm_fast_8)) ucl-1.03/asm/i386/src_gas/n2d_d_f4.S0000644000175000001440000000621410077051333013534 00000000000000/* n2d_d_f4.S -- ucl_nrv2d_decompress_asm_fast_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_safe_8) typef(F(ucl_nrv2d_decompress_asm_fast_safe_8)) global(_ucl_nrv2d_decompress_asm_fast_safe_8) global(F(ucl_nrv2d_decompress_asm_fast_safe_8)) _ucl_nrv2d_decompress_asm_fast_safe_8: F(ucl_nrv2d_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_8,.-_ucl_nrv2d_decompress_asm_fast_safe_8) size(F(ucl_nrv2d_decompress_asm_fast_safe_8),.-F(ucl_nrv2d_decompress_asm_fast_safe_8)) ucl-1.03/asm/i386/src_gas/n2d_d_f5.S0000644000175000001440000000514610077051333013540 00000000000000/* n2d_d_f5.S -- ucl_nrv2d_decompress_asm_fast_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_le16) typef(F(ucl_nrv2d_decompress_asm_fast_le16)) global(_ucl_nrv2d_decompress_asm_fast_le16) global(F(ucl_nrv2d_decompress_asm_fast_le16)) _ucl_nrv2d_decompress_asm_fast_le16: F(ucl_nrv2d_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2d_decompress_asm_fast_le16,.-_ucl_nrv2d_decompress_asm_fast_le16) size(F(ucl_nrv2d_decompress_asm_fast_le16),.-F(ucl_nrv2d_decompress_asm_fast_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_f6.S0000644000175000001440000000665410077051333013546 00000000000000/* n2d_d_f6.S -- ucl_nrv2d_decompress_asm_fast_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) global(_ucl_nrv2d_decompress_asm_fast_safe_le16) global(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) _ucl_nrv2d_decompress_asm_fast_safe_le16: F(ucl_nrv2d_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_fast_safe_le16,.-_ucl_nrv2d_decompress_asm_fast_safe_le16) size(F(ucl_nrv2d_decompress_asm_fast_safe_le16),.-F(ucl_nrv2d_decompress_asm_fast_safe_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_n1.S0000644000175000001440000000457210077051333013546 00000000000000/* n2d_d_n1.S -- ucl_nrv2d_decompress_asm_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_le32) typef(F(ucl_nrv2d_decompress_asm_le32)) global(_ucl_nrv2d_decompress_asm_le32) global(F(ucl_nrv2d_decompress_asm_le32)) _ucl_nrv2d_decompress_asm_le32: F(ucl_nrv2d_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_le32,.-_ucl_nrv2d_decompress_asm_le32) size(F(ucl_nrv2d_decompress_asm_le32),.-F(ucl_nrv2d_decompress_asm_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_n2.S0000644000175000001440000000621010077051333013536 00000000000000/* n2d_d_n2.S -- ucl_nrv2d_decompress_asm_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_safe_le32) typef(F(ucl_nrv2d_decompress_asm_safe_le32)) global(_ucl_nrv2d_decompress_asm_safe_le32) global(F(ucl_nrv2d_decompress_asm_safe_le32)) _ucl_nrv2d_decompress_asm_safe_le32: F(ucl_nrv2d_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_safe_le32,.-_ucl_nrv2d_decompress_asm_safe_le32) size(F(ucl_nrv2d_decompress_asm_safe_le32),.-F(ucl_nrv2d_decompress_asm_safe_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_n3.S0000644000175000001440000000441410077051333013543 00000000000000/* n2d_d_n3.S -- ucl_nrv2d_decompress_asm_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_8) typef(F(ucl_nrv2d_decompress_asm_8)) global(_ucl_nrv2d_decompress_asm_8) global(F(ucl_nrv2d_decompress_asm_8)) _ucl_nrv2d_decompress_asm_8: F(ucl_nrv2d_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_8,.-_ucl_nrv2d_decompress_asm_8) size(F(ucl_nrv2d_decompress_asm_8),.-F(ucl_nrv2d_decompress_asm_8)) ucl-1.03/asm/i386/src_gas/n2d_d_n4.S0000644000175000001440000000576310077051333013554 00000000000000/* n2d_d_n4.S -- ucl_nrv2d_decompress_asm_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_safe_8) typef(F(ucl_nrv2d_decompress_asm_safe_8)) global(_ucl_nrv2d_decompress_asm_safe_8) global(F(ucl_nrv2d_decompress_asm_safe_8)) _ucl_nrv2d_decompress_asm_safe_8: F(ucl_nrv2d_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_safe_8,.-_ucl_nrv2d_decompress_asm_safe_8) size(F(ucl_nrv2d_decompress_asm_safe_8),.-F(ucl_nrv2d_decompress_asm_safe_8)) ucl-1.03/asm/i386/src_gas/n2d_d_n5.S0000644000175000001440000000467710077051333013560 00000000000000/* n2d_d_n5.S -- ucl_nrv2d_decompress_asm_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_le16) typef(F(ucl_nrv2d_decompress_asm_le16)) global(_ucl_nrv2d_decompress_asm_le16) global(F(ucl_nrv2d_decompress_asm_le16)) _ucl_nrv2d_decompress_asm_le16: F(ucl_nrv2d_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 size(_ucl_nrv2d_decompress_asm_le16,.-_ucl_nrv2d_decompress_asm_le16) size(F(ucl_nrv2d_decompress_asm_le16),.-F(ucl_nrv2d_decompress_asm_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_n6.S0000644000175000001440000000631210077051333013545 00000000000000/* n2d_d_n6.S -- ucl_nrv2d_decompress_asm_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_safe_le16) typef(F(ucl_nrv2d_decompress_asm_safe_le16)) global(_ucl_nrv2d_decompress_asm_safe_le16) global(F(ucl_nrv2d_decompress_asm_safe_le16)) _ucl_nrv2d_decompress_asm_safe_le16: F(ucl_nrv2d_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 size(_ucl_nrv2d_decompress_asm_safe_le16,.-_ucl_nrv2d_decompress_asm_safe_le16) size(F(ucl_nrv2d_decompress_asm_safe_le16),.-F(ucl_nrv2d_decompress_asm_safe_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_s1.S0000644000175000001440000000451010077051333013543 00000000000000/* n2d_d_s1.S -- ucl_nrv2d_decompress_asm_small_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_le32) typef(F(ucl_nrv2d_decompress_asm_small_le32)) global(_ucl_nrv2d_decompress_asm_small_le32) global(F(ucl_nrv2d_decompress_asm_small_le32)) _ucl_nrv2d_decompress_asm_small_le32: F(ucl_nrv2d_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_le32,.-_ucl_nrv2d_decompress_asm_small_le32) size(F(ucl_nrv2d_decompress_asm_small_le32),.-F(ucl_nrv2d_decompress_asm_small_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_s2.S0000644000175000001440000000613110077051333013545 00000000000000/* n2d_d_s2.S -- ucl_nrv2d_decompress_asm_small_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_safe_le32) typef(F(ucl_nrv2d_decompress_asm_small_safe_le32)) global(_ucl_nrv2d_decompress_asm_small_safe_le32) global(F(ucl_nrv2d_decompress_asm_small_safe_le32)) _ucl_nrv2d_decompress_asm_small_safe_le32: F(ucl_nrv2d_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 size(_ucl_nrv2d_decompress_asm_small_safe_le32,.-_ucl_nrv2d_decompress_asm_small_safe_le32) size(F(ucl_nrv2d_decompress_asm_small_safe_le32),.-F(ucl_nrv2d_decompress_asm_small_safe_le32)) ucl-1.03/asm/i386/src_gas/n2d_d_s3.S0000644000175000001440000000433410077051333013551 00000000000000/* n2d_d_s3.S -- ucl_nrv2d_decompress_asm_small_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_8) typef(F(ucl_nrv2d_decompress_asm_small_8)) global(_ucl_nrv2d_decompress_asm_small_8) global(F(ucl_nrv2d_decompress_asm_small_8)) _ucl_nrv2d_decompress_asm_small_8: F(ucl_nrv2d_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_8,.-_ucl_nrv2d_decompress_asm_small_8) size(F(ucl_nrv2d_decompress_asm_small_8),.-F(ucl_nrv2d_decompress_asm_small_8)) ucl-1.03/asm/i386/src_gas/n2d_d_s4.S0000644000175000001440000000570710077051333013557 00000000000000/* n2d_d_s4.S -- ucl_nrv2d_decompress_asm_small_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_safe_8) typef(F(ucl_nrv2d_decompress_asm_small_safe_8)) global(_ucl_nrv2d_decompress_asm_small_safe_8) global(F(ucl_nrv2d_decompress_asm_small_safe_8)) _ucl_nrv2d_decompress_asm_small_safe_8: F(ucl_nrv2d_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_safe_8,.-_ucl_nrv2d_decompress_asm_small_safe_8) size(F(ucl_nrv2d_decompress_asm_small_safe_8),.-F(ucl_nrv2d_decompress_asm_small_safe_8)) ucl-1.03/asm/i386/src_gas/n2d_d_s5.S0000644000175000001440000000461310077051333013553 00000000000000/* n2d_d_s5.S -- ucl_nrv2d_decompress_asm_small_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_le16) typef(F(ucl_nrv2d_decompress_asm_small_le16)) global(_ucl_nrv2d_decompress_asm_small_le16) global(F(ucl_nrv2d_decompress_asm_small_le16)) _ucl_nrv2d_decompress_asm_small_le16: F(ucl_nrv2d_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2d_decompress_asm_small_le16,.-_ucl_nrv2d_decompress_asm_small_le16) size(F(ucl_nrv2d_decompress_asm_small_le16),.-F(ucl_nrv2d_decompress_asm_small_le16)) ucl-1.03/asm/i386/src_gas/n2d_d_s6.S0000644000175000001440000000634310077051333013556 00000000000000/* n2d_d_s6.S -- ucl_nrv2d_decompress_asm_small_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2d_decompress_asm_small_safe_le16) typef(F(ucl_nrv2d_decompress_asm_small_safe_le16)) global(_ucl_nrv2d_decompress_asm_small_safe_le16) global(F(ucl_nrv2d_decompress_asm_small_safe_le16)) _ucl_nrv2d_decompress_asm_small_safe_le16: F(ucl_nrv2d_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 size(_ucl_nrv2d_decompress_asm_small_safe_le16,.-_ucl_nrv2d_decompress_asm_small_safe_le16) size(F(ucl_nrv2d_decompress_asm_small_safe_le16),.-F(ucl_nrv2d_decompress_asm_small_safe_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_f1.S0000644000175000001440000000514010077051333013527 00000000000000/* n2e_d_f1.S -- ucl_nrv2e_decompress_asm_fast_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_le32) typef(F(ucl_nrv2e_decompress_asm_fast_le32)) global(_ucl_nrv2e_decompress_asm_fast_le32) global(F(ucl_nrv2e_decompress_asm_fast_le32)) _ucl_nrv2e_decompress_asm_fast_le32: F(ucl_nrv2e_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_le32,.-_ucl_nrv2e_decompress_asm_fast_le32) size(F(ucl_nrv2e_decompress_asm_fast_le32),.-F(ucl_nrv2e_decompress_asm_fast_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_f2.S0000644000175000001440000000664510077051333013543 00000000000000/* n2e_d_f2.S -- ucl_nrv2e_decompress_asm_fast_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_safe_le32) typef(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) global(_ucl_nrv2e_decompress_asm_fast_safe_le32) global(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) _ucl_nrv2e_decompress_asm_fast_safe_le32: F(ucl_nrv2e_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_le32,.-_ucl_nrv2e_decompress_asm_fast_safe_le32) size(F(ucl_nrv2e_decompress_asm_fast_safe_le32),.-F(ucl_nrv2e_decompress_asm_fast_safe_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_f3.S0000644000175000001440000000466510077051333013544 00000000000000/* n2e_d_f3.S -- ucl_nrv2e_decompress_asm_fast_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_8) typef(F(ucl_nrv2e_decompress_asm_fast_8)) global(_ucl_nrv2e_decompress_asm_fast_8) global(F(ucl_nrv2e_decompress_asm_fast_8)) _ucl_nrv2e_decompress_asm_fast_8: F(ucl_nrv2e_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_fast_8,.-_ucl_nrv2e_decompress_asm_fast_8) size(F(ucl_nrv2e_decompress_asm_fast_8),.-F(ucl_nrv2e_decompress_asm_fast_8)) ucl-1.03/asm/i386/src_gas/n2e_d_f4.S0000644000175000001440000000640110077051333013533 00000000000000/* n2e_d_f4.S -- ucl_nrv2e_decompress_asm_fast_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_safe_8) typef(F(ucl_nrv2e_decompress_asm_fast_safe_8)) global(_ucl_nrv2e_decompress_asm_fast_safe_8) global(F(ucl_nrv2e_decompress_asm_fast_safe_8)) _ucl_nrv2e_decompress_asm_fast_safe_8: F(ucl_nrv2e_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_8,.-_ucl_nrv2e_decompress_asm_fast_safe_8) size(F(ucl_nrv2e_decompress_asm_fast_safe_8),.-F(ucl_nrv2e_decompress_asm_fast_safe_8)) ucl-1.03/asm/i386/src_gas/n2e_d_f5.S0000644000175000001440000000524410077051333013540 00000000000000/* n2e_d_f5.S -- ucl_nrv2e_decompress_asm_fast_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_le16) typef(F(ucl_nrv2e_decompress_asm_fast_le16)) global(_ucl_nrv2e_decompress_asm_fast_le16) global(F(ucl_nrv2e_decompress_asm_fast_le16)) _ucl_nrv2e_decompress_asm_fast_le16: F(ucl_nrv2e_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_fast_le16,.-_ucl_nrv2e_decompress_asm_fast_le16) size(F(ucl_nrv2e_decompress_asm_fast_le16),.-F(ucl_nrv2e_decompress_asm_fast_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_f6.S0000644000175000001440000000704210077051333013537 00000000000000/* n2e_d_f6.S -- ucl_nrv2e_decompress_asm_fast_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_fast_safe_le16) typef(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) global(_ucl_nrv2e_decompress_asm_fast_safe_le16) global(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) _ucl_nrv2e_decompress_asm_fast_safe_le16: F(ucl_nrv2e_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_fast_safe_le16,.-_ucl_nrv2e_decompress_asm_fast_safe_le16) size(F(ucl_nrv2e_decompress_asm_fast_safe_le16),.-F(ucl_nrv2e_decompress_asm_fast_safe_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_n1.S0000644000175000001440000000467110077051333013547 00000000000000/* n2e_d_n1.S -- ucl_nrv2e_decompress_asm_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_le32) typef(F(ucl_nrv2e_decompress_asm_le32)) global(_ucl_nrv2e_decompress_asm_le32) global(F(ucl_nrv2e_decompress_asm_le32)) _ucl_nrv2e_decompress_asm_le32: F(ucl_nrv2e_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_le32,.-_ucl_nrv2e_decompress_asm_le32) size(F(ucl_nrv2e_decompress_asm_le32),.-F(ucl_nrv2e_decompress_asm_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_n2.S0000644000175000001440000000627110077051333013546 00000000000000/* n2e_d_n2.S -- ucl_nrv2e_decompress_asm_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_safe_le32) typef(F(ucl_nrv2e_decompress_asm_safe_le32)) global(_ucl_nrv2e_decompress_asm_safe_le32) global(F(ucl_nrv2e_decompress_asm_safe_le32)) _ucl_nrv2e_decompress_asm_safe_le32: F(ucl_nrv2e_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 size(_ucl_nrv2e_decompress_asm_safe_le32,.-_ucl_nrv2e_decompress_asm_safe_le32) size(F(ucl_nrv2e_decompress_asm_safe_le32),.-F(ucl_nrv2e_decompress_asm_safe_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_n3.S0000644000175000001440000000440610077051333013545 00000000000000/* n2e_d_n3.S -- ucl_nrv2e_decompress_asm_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_8) typef(F(ucl_nrv2e_decompress_asm_8)) global(_ucl_nrv2e_decompress_asm_8) global(F(ucl_nrv2e_decompress_asm_8)) _ucl_nrv2e_decompress_asm_8: F(ucl_nrv2e_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 size(_ucl_nrv2e_decompress_asm_8,.-_ucl_nrv2e_decompress_asm_8) size(F(ucl_nrv2e_decompress_asm_8),.-F(ucl_nrv2e_decompress_asm_8)) ucl-1.03/asm/i386/src_gas/n2e_d_n4.S0000644000175000001440000000604510077051333013547 00000000000000/* n2e_d_n4.S -- ucl_nrv2e_decompress_asm_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_safe_8) typef(F(ucl_nrv2e_decompress_asm_safe_8)) global(_ucl_nrv2e_decompress_asm_safe_8) global(F(ucl_nrv2e_decompress_asm_safe_8)) _ucl_nrv2e_decompress_asm_safe_8: F(ucl_nrv2e_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_safe_8,.-_ucl_nrv2e_decompress_asm_safe_8) size(F(ucl_nrv2e_decompress_asm_safe_8),.-F(ucl_nrv2e_decompress_asm_safe_8)) ucl-1.03/asm/i386/src_gas/n2e_d_n5.S0000644000175000001440000000477510077051333013560 00000000000000/* n2e_d_n5.S -- ucl_nrv2e_decompress_asm_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_le16) typef(F(ucl_nrv2e_decompress_asm_le16)) global(_ucl_nrv2e_decompress_asm_le16) global(F(ucl_nrv2e_decompress_asm_le16)) _ucl_nrv2e_decompress_asm_le16: F(ucl_nrv2e_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 size(_ucl_nrv2e_decompress_asm_le16,.-_ucl_nrv2e_decompress_asm_le16) size(F(ucl_nrv2e_decompress_asm_le16),.-F(ucl_nrv2e_decompress_asm_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_n6.S0000644000175000001440000000650010077051333013545 00000000000000/* n2e_d_n6.S -- ucl_nrv2e_decompress_asm_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_safe_le16) typef(F(ucl_nrv2e_decompress_asm_safe_le16)) global(_ucl_nrv2e_decompress_asm_safe_le16) global(F(ucl_nrv2e_decompress_asm_safe_le16)) _ucl_nrv2e_decompress_asm_safe_le16: F(ucl_nrv2e_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_safe_le16,.-_ucl_nrv2e_decompress_asm_safe_le16) size(F(ucl_nrv2e_decompress_asm_safe_le16),.-F(ucl_nrv2e_decompress_asm_safe_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_s1.S0000644000175000001440000000460610077051333013552 00000000000000/* n2e_d_s1.S -- ucl_nrv2e_decompress_asm_small_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_le32) typef(F(ucl_nrv2e_decompress_asm_small_le32)) global(_ucl_nrv2e_decompress_asm_small_le32) global(F(ucl_nrv2e_decompress_asm_small_le32)) _ucl_nrv2e_decompress_asm_small_le32: F(ucl_nrv2e_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_le32,.-_ucl_nrv2e_decompress_asm_small_le32) size(F(ucl_nrv2e_decompress_asm_small_le32),.-F(ucl_nrv2e_decompress_asm_small_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_s2.S0000644000175000001440000000633110077051333013550 00000000000000/* n2e_d_s2.S -- ucl_nrv2e_decompress_asm_small_safe_le32 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_safe_le32) typef(F(ucl_nrv2e_decompress_asm_small_safe_le32)) global(_ucl_nrv2e_decompress_asm_small_safe_le32) global(F(ucl_nrv2e_decompress_asm_small_safe_le32)) _ucl_nrv2e_decompress_asm_small_safe_le32: F(ucl_nrv2e_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_le32,.-_ucl_nrv2e_decompress_asm_small_safe_le32) size(F(ucl_nrv2e_decompress_asm_small_safe_le32),.-F(ucl_nrv2e_decompress_asm_small_safe_le32)) ucl-1.03/asm/i386/src_gas/n2e_d_s3.S0000644000175000001440000000443210077051333013551 00000000000000/* n2e_d_s3.S -- ucl_nrv2e_decompress_asm_small_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_8) typef(F(ucl_nrv2e_decompress_asm_small_8)) global(_ucl_nrv2e_decompress_asm_small_8) global(F(ucl_nrv2e_decompress_asm_small_8)) _ucl_nrv2e_decompress_asm_small_8: F(ucl_nrv2e_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_8,.-_ucl_nrv2e_decompress_asm_small_8) size(F(ucl_nrv2e_decompress_asm_small_8),.-F(ucl_nrv2e_decompress_asm_small_8)) ucl-1.03/asm/i386/src_gas/n2e_d_s4.S0000644000175000001440000000577110077051333013561 00000000000000/* n2e_d_s4.S -- ucl_nrv2e_decompress_asm_small_safe_8 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_safe_8) typef(F(ucl_nrv2e_decompress_asm_small_safe_8)) global(_ucl_nrv2e_decompress_asm_small_safe_8) global(F(ucl_nrv2e_decompress_asm_small_safe_8)) _ucl_nrv2e_decompress_asm_small_safe_8: F(ucl_nrv2e_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_8,.-_ucl_nrv2e_decompress_asm_small_safe_8) size(F(ucl_nrv2e_decompress_asm_small_safe_8),.-F(ucl_nrv2e_decompress_asm_small_safe_8)) ucl-1.03/asm/i386/src_gas/n2e_d_s5.S0000644000175000001440000000471210077051333013554 00000000000000/* n2e_d_s5.S -- ucl_nrv2e_decompress_asm_small_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_le16) typef(F(ucl_nrv2e_decompress_asm_small_le16)) global(_ucl_nrv2e_decompress_asm_small_le16) global(F(ucl_nrv2e_decompress_asm_small_le16)) _ucl_nrv2e_decompress_asm_small_le16: F(ucl_nrv2e_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 size(_ucl_nrv2e_decompress_asm_small_le16,.-_ucl_nrv2e_decompress_asm_small_le16) size(F(ucl_nrv2e_decompress_asm_small_le16),.-F(ucl_nrv2e_decompress_asm_small_le16)) ucl-1.03/asm/i386/src_gas/n2e_d_s6.S0000644000175000001440000000652710077051333013563 00000000000000/* n2e_d_s6.S -- ucl_nrv2e_decompress_asm_small_safe_le16 This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_nrv2e_decompress_asm_small_safe_le16) typef(F(ucl_nrv2e_decompress_asm_small_safe_le16)) global(_ucl_nrv2e_decompress_asm_small_safe_le16) global(F(ucl_nrv2e_decompress_asm_small_safe_le16)) _ucl_nrv2e_decompress_asm_small_safe_le16: F(ucl_nrv2e_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_nrv2e_decompress_asm_small_safe_le16,.-_ucl_nrv2e_decompress_asm_small_safe_le16) size(F(ucl_nrv2e_decompress_asm_small_safe_le16),.-F(ucl_nrv2e_decompress_asm_small_safe_le16)) ucl-1.03/asm/i386/src_gas/rdtsc.S0000644000175000001440000000262410077051333013275 00000000000000/* rdtsc.S -- ucl_rdtsc_asm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_rdtsc_asm) typef(F(ucl_rdtsc_asm)) global(_ucl_rdtsc_asm) global(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_rdtsc_asm,.-_ucl_rdtsc_asm) size(F(ucl_rdtsc_asm),.-F(ucl_rdtsc_asm)) ucl-1.03/asm/i386/src_gas/rdtsca.S0000644000175000001440000000267310077051333013442 00000000000000/* rdtsca.S -- ucl_rdtsc_add_asm This file is part of the UCL data compression library. Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The UCL library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The UCL library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the UCL library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Markus F.X.J. Oberhumer http://www.oberhumer.com/opensource/ucl/ */ /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ #include "asminit.def" typef(_ucl_rdtsc_add_asm) typef(F(ucl_rdtsc_add_asm)) global(_ucl_rdtsc_add_asm) global(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 size(_ucl_rdtsc_add_asm,.-_ucl_rdtsc_add_asm) size(F(ucl_rdtsc_add_asm),.-F(ucl_rdtsc_add_asm)) ucl-1.03/asm/i386/src_masm/0000777000175000001440000000000010077051333012275 500000000000000ucl-1.03/asm/i386/src_masm/asminit.def0000644000175000001440000000214710077051333014341 00000000000000; asminit.def -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; .386p .model flat .code ifdef __MASM__ option casemap:none endif ifdef __TASM__ endif ifdef __WASM__ endif ucl-1.03/asm/i386/src_masm/all/0000777000175000001440000000000010077051333013045 500000000000000ucl-1.03/asm/i386/src_masm/all/asm_all.asm0000644000175000001440000022705610077051333015107 00000000000000; asm_all.asm -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ .386p .model flat .code ifdef __MASM__ option casemap:none endif ifdef __TASM__ endif ifdef __WASM__ endif public _ucl_cpuid_asm _ucl_cpuid_asm: db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_crc32_asm _ucl_crc32_asm: db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_crc32_asm_small _ucl_crc32_asm_small: db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_fast_le32 _ucl_nrv2b_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2b_decompress_asm_fast_safe_le32 _ucl_nrv2b_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_fast_8 _ucl_nrv2b_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_fast_safe_8 _ucl_nrv2b_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_fast_le16 _ucl_nrv2b_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_fast_safe_le16 _ucl_nrv2b_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 public _ucl_nrv2b_decompress_asm_le32 _ucl_nrv2b_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 public _ucl_nrv2b_decompress_asm_safe_le32 _ucl_nrv2b_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 public _ucl_nrv2b_decompress_asm_8 _ucl_nrv2b_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_safe_8 _ucl_nrv2b_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_le16 _ucl_nrv2b_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_safe_le16 _ucl_nrv2b_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_le32 _ucl_nrv2b_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_safe_le32 _ucl_nrv2b_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_8 _ucl_nrv2b_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_safe_8 _ucl_nrv2b_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_le16 _ucl_nrv2b_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 public _ucl_nrv2b_decompress_asm_small_safe_le16 _ucl_nrv2b_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_fast_le32 _ucl_nrv2d_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_fast_safe_le32 _ucl_nrv2d_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 public _ucl_nrv2d_decompress_asm_fast_8 _ucl_nrv2d_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_fast_safe_8 _ucl_nrv2d_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 public _ucl_nrv2d_decompress_asm_fast_le16 _ucl_nrv2d_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2d_decompress_asm_fast_safe_le16 _ucl_nrv2d_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_le32 _ucl_nrv2d_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_safe_le32 _ucl_nrv2d_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_8 _ucl_nrv2d_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_safe_8 _ucl_nrv2d_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_le16 _ucl_nrv2d_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 public _ucl_nrv2d_decompress_asm_safe_le16 _ucl_nrv2d_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 public _ucl_nrv2d_decompress_asm_small_le32 _ucl_nrv2d_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_small_safe_le32 _ucl_nrv2d_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 public _ucl_nrv2d_decompress_asm_small_8 _ucl_nrv2d_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_small_safe_8 _ucl_nrv2d_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 public _ucl_nrv2d_decompress_asm_small_le16 _ucl_nrv2d_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2d_decompress_asm_small_safe_le16 _ucl_nrv2d_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_fast_le32 _ucl_nrv2e_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_fast_safe_le32 _ucl_nrv2e_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_fast_8 _ucl_nrv2e_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2e_decompress_asm_fast_safe_8 _ucl_nrv2e_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_fast_le16 _ucl_nrv2e_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2e_decompress_asm_fast_safe_le16 _ucl_nrv2e_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_le32 _ucl_nrv2e_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_safe_le32 _ucl_nrv2e_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 public _ucl_nrv2e_decompress_asm_8 _ucl_nrv2e_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 public _ucl_nrv2e_decompress_asm_safe_8 _ucl_nrv2e_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_le16 _ucl_nrv2e_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 public _ucl_nrv2e_decompress_asm_safe_le16 _ucl_nrv2e_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_small_le32 _ucl_nrv2e_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_small_safe_le32 _ucl_nrv2e_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_small_8 _ucl_nrv2e_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_nrv2e_decompress_asm_small_safe_8 _ucl_nrv2e_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 public _ucl_nrv2e_decompress_asm_small_le16 _ucl_nrv2e_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 public _ucl_nrv2e_decompress_asm_small_safe_le16 _ucl_nrv2e_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_rdtsc_asm _ucl_rdtsc_asm: db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 public _ucl_rdtsc_add_asm _ucl_rdtsc_add_asm: db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/cpuid.asm0000644000175000001440000000315110077051333014017 00000000000000; cpuid.asm -- ucl_cpuid_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_cpuid_asm _ucl_cpuid_asm: db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/crc_asm.asm0000644000175000001440000000352710077051333014331 00000000000000; crc_asm.asm -- ucl_crc32_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_crc32_asm _ucl_crc32_asm: db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/crcs_asm.asm0000644000175000001440000000322310077051333014505 00000000000000; crcs_asm.asm -- ucl_crc32_asm_small ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_crc32_asm_small _ucl_crc32_asm_small: db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f1.asm0000644000175000001440000000414510077051333014271 00000000000000; n2b_d_f1.asm -- ucl_nrv2b_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_le32 _ucl_nrv2b_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f2.asm0000644000175000001440000000552310077051333014273 00000000000000; n2b_d_f2.asm -- ucl_nrv2b_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_safe_le32 _ucl_nrv2b_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f3.asm0000644000175000001440000000412510077051333014271 00000000000000; n2b_d_f3.asm -- ucl_nrv2b_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_8 _ucl_nrv2b_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f4.asm0000644000175000001440000000532410077051333014274 00000000000000; n2b_d_f4.asm -- ucl_nrv2b_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_safe_8 _ucl_nrv2b_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f5.asm0000644000175000001440000000434610077051333014300 00000000000000; n2b_d_f5.asm -- ucl_nrv2b_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_le16 _ucl_nrv2b_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_f6.asm0000644000175000001440000000562510077051333014302 00000000000000; n2b_d_f6.asm -- ucl_nrv2b_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_fast_safe_le16 _ucl_nrv2b_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_n1.asm0000644000175000001440000000373710077051333014307 00000000000000; n2b_d_n1.asm -- ucl_nrv2b_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_le32 _ucl_nrv2b_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 end ucl-1.03/asm/i386/src_masm/n2b_d_n2.asm0000644000175000001440000000523110077051333014277 00000000000000; n2b_d_n2.asm -- ucl_nrv2b_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_safe_le32 _ucl_nrv2b_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_n3.asm0000644000175000001440000000371610077051333014306 00000000000000; n2b_d_n3.asm -- ucl_nrv2b_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_8 _ucl_nrv2b_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_n4.asm0000644000175000001440000000504510077051333014304 00000000000000; n2b_d_n4.asm -- ucl_nrv2b_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_safe_8 _ucl_nrv2b_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_n5.asm0000644000175000001440000000414710077051333014307 00000000000000; n2b_d_n5.asm -- ucl_nrv2b_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_le16 _ucl_nrv2b_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_n6.asm0000644000175000001440000000543710077051333014313 00000000000000; n2b_d_n6.asm -- ucl_nrv2b_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_safe_le16 _ucl_nrv2b_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s1.asm0000644000175000001440000000370010077051333014302 00000000000000; n2b_d_s1.asm -- ucl_nrv2b_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_le32 _ucl_nrv2b_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s2.asm0000644000175000001440000000517710077051333014315 00000000000000; n2b_d_s2.asm -- ucl_nrv2b_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_safe_le32 _ucl_nrv2b_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s3.asm0000644000175000001440000000355510077051333014314 00000000000000; n2b_d_s3.asm -- ucl_nrv2b_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_8 _ucl_nrv2b_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s4.asm0000644000175000001440000000471010077051333014307 00000000000000; n2b_d_s4.asm -- ucl_nrv2b_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_safe_8 _ucl_nrv2b_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s5.asm0000644000175000001440000000400210077051333014302 00000000000000; n2b_d_s5.asm -- ucl_nrv2b_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_le16 _ucl_nrv2b_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2b_d_s6.asm0000644000175000001440000000530110077051333014306 00000000000000; n2b_d_s6.asm -- ucl_nrv2b_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2b_decompress_asm_small_safe_le16 _ucl_nrv2b_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f1.asm0000644000175000001440000000434110077051333014271 00000000000000; n2d_d_f1.asm -- ucl_nrv2d_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_le32 _ucl_nrv2d_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f2.asm0000644000175000001440000000567310077051333014303 00000000000000; n2d_d_f2.asm -- ucl_nrv2d_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_safe_le32 _ucl_nrv2d_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f3.asm0000644000175000001440000000421210077051333014270 00000000000000; n2d_d_f3.asm -- ucl_nrv2d_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_8 _ucl_nrv2d_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f4.asm0000644000175000001440000000546410077051333014303 00000000000000; n2d_d_f4.asm -- ucl_nrv2d_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_safe_8 _ucl_nrv2d_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f5.asm0000644000175000001440000000443610077051333014302 00000000000000; n2d_d_f5.asm -- ucl_nrv2d_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_le16 _ucl_nrv2d_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_f6.asm0000644000175000001440000000607410077051333014303 00000000000000; n2d_d_f6.asm -- ucl_nrv2d_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_fast_safe_le16 _ucl_nrv2d_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n1.asm0000644000175000001440000000413210077051333014277 00000000000000; n2d_d_n1.asm -- ucl_nrv2d_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_le32 _ucl_nrv2d_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n2.asm0000644000175000001440000000550010077051333014300 00000000000000; n2d_d_n2.asm -- ucl_nrv2d_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_safe_le32 _ucl_nrv2d_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n3.asm0000644000175000001440000000400410077051333014277 00000000000000; n2d_d_n3.asm -- ucl_nrv2d_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_8 _ucl_nrv2d_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n4.asm0000644000175000001440000000530310077051333014303 00000000000000; n2d_d_n4.asm -- ucl_nrv2d_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_safe_8 _ucl_nrv2d_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n5.asm0000644000175000001440000000423710077051333014311 00000000000000; n2d_d_n5.asm -- ucl_nrv2d_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_le16 _ucl_nrv2d_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_n6.asm0000644000175000001440000000560210077051333014307 00000000000000; n2d_d_n6.asm -- ucl_nrv2d_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_safe_le16 _ucl_nrv2d_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 end ucl-1.03/asm/i386/src_masm/n2d_d_s1.asm0000644000175000001440000000377010077051333014313 00000000000000; n2d_d_s1.asm -- ucl_nrv2d_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_le32 _ucl_nrv2d_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_s2.asm0000644000175000001440000000534110077051333014310 00000000000000; n2d_d_s2.asm -- ucl_nrv2d_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_safe_le32 _ucl_nrv2d_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 end ucl-1.03/asm/i386/src_masm/n2d_d_s3.asm0000644000175000001440000000364410077051333014315 00000000000000; n2d_d_s3.asm -- ucl_nrv2d_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_8 _ucl_nrv2d_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_s4.asm0000644000175000001440000000514710077051333014316 00000000000000; n2d_d_s4.asm -- ucl_nrv2d_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_safe_8 _ucl_nrv2d_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_s5.asm0000644000175000001440000000407310077051333014314 00000000000000; n2d_d_s5.asm -- ucl_nrv2d_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_le16 _ucl_nrv2d_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2d_d_s6.asm0000644000175000001440000000555310077051333014321 00000000000000; n2d_d_s6.asm -- ucl_nrv2d_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2d_decompress_asm_small_safe_le16 _ucl_nrv2d_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f1.asm0000644000175000001440000000443010077051333014271 00000000000000; n2e_d_f1.asm -- ucl_nrv2e_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_le32 _ucl_nrv2e_decompress_asm_fast_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f2.asm0000644000175000001440000000606510077051333014300 00000000000000; n2e_d_f2.asm -- ucl_nrv2e_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_safe_le32 _ucl_nrv2e_decompress_asm_fast_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f3.asm0000644000175000001440000000420510077051333014273 00000000000000; n2e_d_f3.asm -- ucl_nrv2e_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_8 _ucl_nrv2e_decompress_asm_fast_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f4.asm0000644000175000001440000000565110077051333014302 00000000000000; n2e_d_f4.asm -- ucl_nrv2e_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_safe_8 _ucl_nrv2e_decompress_asm_fast_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f5.asm0000644000175000001440000000453410077051333014302 00000000000000; n2e_d_f5.asm -- ucl_nrv2e_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_le16 _ucl_nrv2e_decompress_asm_fast_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_f6.asm0000644000175000001440000000626210077051333014303 00000000000000; n2e_d_f6.asm -- ucl_nrv2e_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_fast_safe_le16 _ucl_nrv2e_decompress_asm_fast_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n1.asm0000644000175000001440000000423110077051333014300 00000000000000; n2e_d_n1.asm -- ucl_nrv2e_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_le32 _ucl_nrv2e_decompress_asm_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n2.asm0000644000175000001440000000556110077051333014310 00000000000000; n2e_d_n2.asm -- ucl_nrv2e_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_safe_le32 _ucl_nrv2e_decompress_asm_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n3.asm0000644000175000001440000000377610077051333014317 00000000000000; n2e_d_n3.asm -- ucl_nrv2e_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_8 _ucl_nrv2e_decompress_asm_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n4.asm0000644000175000001440000000536510077051333014314 00000000000000; n2e_d_n4.asm -- ucl_nrv2e_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_safe_8 _ucl_nrv2e_decompress_asm_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n5.asm0000644000175000001440000000433510077051333014311 00000000000000; n2e_d_n5.asm -- ucl_nrv2e_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_le16 _ucl_nrv2e_decompress_asm_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_n6.asm0000644000175000001440000000577010077051333014316 00000000000000; n2e_d_n6.asm -- ucl_nrv2e_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_safe_le16 _ucl_nrv2e_decompress_asm_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s1.asm0000644000175000001440000000406610077051333014313 00000000000000; n2e_d_s1.asm -- ucl_nrv2e_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_le32 _ucl_nrv2e_decompress_asm_small_le32: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s2.asm0000644000175000001440000000554110077051333014313 00000000000000; n2e_d_s2.asm -- ucl_nrv2e_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_safe_le32 _ucl_nrv2e_decompress_asm_small_safe_le32: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s3.asm0000644000175000001440000000374210077051333014315 00000000000000; n2e_d_s3.asm -- ucl_nrv2e_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_8 _ucl_nrv2e_decompress_asm_small_8: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s4.asm0000644000175000001440000000523110077051333014311 00000000000000; n2e_d_s4.asm -- ucl_nrv2e_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_safe_8 _ucl_nrv2e_decompress_asm_small_safe_8: db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s5.asm0000644000175000001440000000417210077051333014315 00000000000000; n2e_d_s5.asm -- ucl_nrv2e_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_le16 _ucl_nrv2e_decompress_asm_small_le16: db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 end ucl-1.03/asm/i386/src_masm/n2e_d_s6.asm0000644000175000001440000000573710077051333014326 00000000000000; n2e_d_s6.asm -- ucl_nrv2e_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_nrv2e_decompress_asm_small_safe_le16 _ucl_nrv2e_decompress_asm_small_safe_le16: db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/rdtsc.asm0000644000175000001440000000236410077051333014037 00000000000000; rdtsc.asm -- ucl_rdtsc_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_rdtsc_asm _ucl_rdtsc_asm: db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_masm/rdtsca.asm0000644000175000001440000000237310077051333014200 00000000000000; rdtsca.asm -- ucl_rdtsc_add_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ include asminit.def public _ucl_rdtsc_add_asm _ucl_rdtsc_add_asm: db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 end ucl-1.03/asm/i386/src_nasm/0000777000175000001440000000000010077051333012276 500000000000000ucl-1.03/asm/i386/src_nasm/asminit.def0000644000175000001440000000236210077051333014341 00000000000000; asminit.def -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define F(name) name %ifidni __OUTPUT_FORMAT__,elf %define globalf(x) global x:function %else %define globalf(x) global x %endif bits 32 %ifidni __OUTPUT_FORMAT__,obj segment _TEXT class=CODE public use32 flat align=16 %else section .text %endif ucl-1.03/asm/i386/src_nasm/all/0000777000175000001440000000000010077051333013046 500000000000000ucl-1.03/asm/i386/src_nasm/all/asm_all.asm0000644000175000001440000024112110077051333015075 00000000000000; asm_all.asm -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %define F(name) name %ifidni __OUTPUT_FORMAT__,elf %define globalf(x) global x:function %else %define globalf(x) global x %endif bits 32 %ifidni __OUTPUT_FORMAT__,obj segment _TEXT class=CODE public use32 flat align=16 %else section .text %endif globalf(_ucl_cpuid_asm) globalf(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_crc32_asm) globalf(F(ucl_crc32_asm)) _ucl_crc32_asm: F(ucl_crc32_asm): db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_crc32_asm_small) globalf(F(ucl_crc32_asm_small)) _ucl_crc32_asm_small: F(ucl_crc32_asm_small): db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_le32) globalf(F(ucl_nrv2b_decompress_asm_fast_le32)) _ucl_nrv2b_decompress_asm_fast_le32: F(ucl_nrv2b_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) _ucl_nrv2b_decompress_asm_fast_safe_le32: F(ucl_nrv2b_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_8) globalf(F(ucl_nrv2b_decompress_asm_fast_8)) _ucl_nrv2b_decompress_asm_fast_8: F(ucl_nrv2b_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_8)) _ucl_nrv2b_decompress_asm_fast_safe_8: F(ucl_nrv2b_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_le16) globalf(F(ucl_nrv2b_decompress_asm_fast_le16)) _ucl_nrv2b_decompress_asm_fast_le16: F(ucl_nrv2b_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) _ucl_nrv2b_decompress_asm_fast_safe_le16: F(ucl_nrv2b_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 globalf(_ucl_nrv2b_decompress_asm_le32) globalf(F(ucl_nrv2b_decompress_asm_le32)) _ucl_nrv2b_decompress_asm_le32: F(ucl_nrv2b_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 globalf(_ucl_nrv2b_decompress_asm_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_safe_le32)) _ucl_nrv2b_decompress_asm_safe_le32: F(ucl_nrv2b_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 globalf(_ucl_nrv2b_decompress_asm_8) globalf(F(ucl_nrv2b_decompress_asm_8)) _ucl_nrv2b_decompress_asm_8: F(ucl_nrv2b_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_safe_8) globalf(F(ucl_nrv2b_decompress_asm_safe_8)) _ucl_nrv2b_decompress_asm_safe_8: F(ucl_nrv2b_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_le16) globalf(F(ucl_nrv2b_decompress_asm_le16)) _ucl_nrv2b_decompress_asm_le16: F(ucl_nrv2b_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_safe_le16)) _ucl_nrv2b_decompress_asm_safe_le16: F(ucl_nrv2b_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_le32) globalf(F(ucl_nrv2b_decompress_asm_small_le32)) _ucl_nrv2b_decompress_asm_small_le32: F(ucl_nrv2b_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_small_safe_le32)) _ucl_nrv2b_decompress_asm_small_safe_le32: F(ucl_nrv2b_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_8) globalf(F(ucl_nrv2b_decompress_asm_small_8)) _ucl_nrv2b_decompress_asm_small_8: F(ucl_nrv2b_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_safe_8) globalf(F(ucl_nrv2b_decompress_asm_small_safe_8)) _ucl_nrv2b_decompress_asm_small_safe_8: F(ucl_nrv2b_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_le16) globalf(F(ucl_nrv2b_decompress_asm_small_le16)) _ucl_nrv2b_decompress_asm_small_le16: F(ucl_nrv2b_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2b_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_small_safe_le16)) _ucl_nrv2b_decompress_asm_small_safe_le16: F(ucl_nrv2b_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_le32) globalf(F(ucl_nrv2d_decompress_asm_fast_le32)) _ucl_nrv2d_decompress_asm_fast_le32: F(ucl_nrv2d_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) _ucl_nrv2d_decompress_asm_fast_safe_le32: F(ucl_nrv2d_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_8) globalf(F(ucl_nrv2d_decompress_asm_fast_8)) _ucl_nrv2d_decompress_asm_fast_8: F(ucl_nrv2d_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_8)) _ucl_nrv2d_decompress_asm_fast_safe_8: F(ucl_nrv2d_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_le16) globalf(F(ucl_nrv2d_decompress_asm_fast_le16)) _ucl_nrv2d_decompress_asm_fast_le16: F(ucl_nrv2d_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2d_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) _ucl_nrv2d_decompress_asm_fast_safe_le16: F(ucl_nrv2d_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_le32) globalf(F(ucl_nrv2d_decompress_asm_le32)) _ucl_nrv2d_decompress_asm_le32: F(ucl_nrv2d_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_safe_le32)) _ucl_nrv2d_decompress_asm_safe_le32: F(ucl_nrv2d_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_8) globalf(F(ucl_nrv2d_decompress_asm_8)) _ucl_nrv2d_decompress_asm_8: F(ucl_nrv2d_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_safe_8) globalf(F(ucl_nrv2d_decompress_asm_safe_8)) _ucl_nrv2d_decompress_asm_safe_8: F(ucl_nrv2d_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_le16) globalf(F(ucl_nrv2d_decompress_asm_le16)) _ucl_nrv2d_decompress_asm_le16: F(ucl_nrv2d_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_safe_le16)) _ucl_nrv2d_decompress_asm_safe_le16: F(ucl_nrv2d_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 globalf(_ucl_nrv2d_decompress_asm_small_le32) globalf(F(ucl_nrv2d_decompress_asm_small_le32)) _ucl_nrv2d_decompress_asm_small_le32: F(ucl_nrv2d_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_small_safe_le32)) _ucl_nrv2d_decompress_asm_small_safe_le32: F(ucl_nrv2d_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 globalf(_ucl_nrv2d_decompress_asm_small_8) globalf(F(ucl_nrv2d_decompress_asm_small_8)) _ucl_nrv2d_decompress_asm_small_8: F(ucl_nrv2d_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_small_safe_8) globalf(F(ucl_nrv2d_decompress_asm_small_safe_8)) _ucl_nrv2d_decompress_asm_small_safe_8: F(ucl_nrv2d_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2d_decompress_asm_small_le16) globalf(F(ucl_nrv2d_decompress_asm_small_le16)) _ucl_nrv2d_decompress_asm_small_le16: F(ucl_nrv2d_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2d_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_small_safe_le16)) _ucl_nrv2d_decompress_asm_small_safe_le16: F(ucl_nrv2d_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_le32) globalf(F(ucl_nrv2e_decompress_asm_fast_le32)) _ucl_nrv2e_decompress_asm_fast_le32: F(ucl_nrv2e_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) _ucl_nrv2e_decompress_asm_fast_safe_le32: F(ucl_nrv2e_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_8) globalf(F(ucl_nrv2e_decompress_asm_fast_8)) _ucl_nrv2e_decompress_asm_fast_8: F(ucl_nrv2e_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_8)) _ucl_nrv2e_decompress_asm_fast_safe_8: F(ucl_nrv2e_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_le16) globalf(F(ucl_nrv2e_decompress_asm_fast_le16)) _ucl_nrv2e_decompress_asm_fast_le16: F(ucl_nrv2e_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2e_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) _ucl_nrv2e_decompress_asm_fast_safe_le16: F(ucl_nrv2e_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_le32) globalf(F(ucl_nrv2e_decompress_asm_le32)) _ucl_nrv2e_decompress_asm_le32: F(ucl_nrv2e_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_safe_le32)) _ucl_nrv2e_decompress_asm_safe_le32: F(ucl_nrv2e_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 globalf(_ucl_nrv2e_decompress_asm_8) globalf(F(ucl_nrv2e_decompress_asm_8)) _ucl_nrv2e_decompress_asm_8: F(ucl_nrv2e_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 globalf(_ucl_nrv2e_decompress_asm_safe_8) globalf(F(ucl_nrv2e_decompress_asm_safe_8)) _ucl_nrv2e_decompress_asm_safe_8: F(ucl_nrv2e_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_le16) globalf(F(ucl_nrv2e_decompress_asm_le16)) _ucl_nrv2e_decompress_asm_le16: F(ucl_nrv2e_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_safe_le16)) _ucl_nrv2e_decompress_asm_safe_le16: F(ucl_nrv2e_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_small_le32) globalf(F(ucl_nrv2e_decompress_asm_small_le32)) _ucl_nrv2e_decompress_asm_small_le32: F(ucl_nrv2e_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_small_safe_le32)) _ucl_nrv2e_decompress_asm_small_safe_le32: F(ucl_nrv2e_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_small_8) globalf(F(ucl_nrv2e_decompress_asm_small_8)) _ucl_nrv2e_decompress_asm_small_8: F(ucl_nrv2e_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_nrv2e_decompress_asm_small_safe_8) globalf(F(ucl_nrv2e_decompress_asm_small_safe_8)) _ucl_nrv2e_decompress_asm_small_safe_8: F(ucl_nrv2e_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 globalf(_ucl_nrv2e_decompress_asm_small_le16) globalf(F(ucl_nrv2e_decompress_asm_small_le16)) _ucl_nrv2e_decompress_asm_small_le16: F(ucl_nrv2e_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 globalf(_ucl_nrv2e_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_small_safe_le16)) _ucl_nrv2e_decompress_asm_small_safe_le16: F(ucl_nrv2e_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_rdtsc_asm) globalf(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 globalf(_ucl_rdtsc_add_asm) globalf(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/cpuid.asm0000644000175000001440000000322610077051333014023 00000000000000; cpuid.asm -- ucl_cpuid_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_cpuid_asm) globalf(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,87,86,83,81,82,137,229,131,228,252,252,139,125,28,186 db 0,0,4,0,232,68,0,0,0,116,58,193,226,3,232,58 db 0,0,0,116,48,49,192,232,66,0,0,0,184,1,0,0 db 0,232,56,0,0,0,184,0,0,0,128,232,46,0,0,0 db 184,1,0,0,128,232,36,0,0,0,49,192,137,236,90,89 db 91,94,95,93,195,141,72,16,243,171,72,235,239,156,156,88 db 137,193,49,208,80,157,156,88,157,49,200,33,208,195,49,219 db 49,201,49,210,15,162,171,137,31,137,79,4,137,87,8,131 db 199,12,195,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/crc_asm.asm0000644000175000001440000000360410077051333014326 00000000000000; crc_asm.asm -- ucl_crc32_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_crc32_asm) globalf(F(ucl_crc32_asm)) _ucl_crc32_asm: F(ucl_crc32_asm): db 85,87,86,83,81,82,49,192,139,116,36,32,139,76,36,36 db 139,124,36,40,133,246,15,132,159,0,0,0,139,68,36,28 db 247,208,133,201,15,132,143,0,0,0,247,198,3,0,0,0 db 116,15,50,6,70,15,182,216,193,232,8,51,4,159,73,117 db 233,137,202,193,234,3,116,93,144,141,180,38,0,0,0,0 db 51,6,131,198,4,15,182,216,193,232,8,51,4,159,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,51,6,131,198,4,15,182 db 216,193,232,8,51,4,159,15,182,216,193,232,8,51,4,159 db 15,182,216,193,232,8,51,4,159,15,182,216,193,232,8,51 db 4,159,74,117,171,131,225,7,116,15,50,6,70,15,182,216 db 193,232,8,51,4,159,73,117,241,247,208,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/crcs_asm.asm0000644000175000001440000000331410077051333014507 00000000000000; crcs_asm.asm -- ucl_crc32_asm_small ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_crc32_asm_small) globalf(F(ucl_crc32_asm_small)) _ucl_crc32_asm_small: F(ucl_crc32_asm_small): db 81,49,192,139,76,36,12,227,125,87,83,232,64,0,0,0 db 0,0,0,0,100,16,183,29,200,32,110,59,172,48,217,38 db 144,65,220,118,244,81,107,107,88,97,178,77,60,113,5,80 db 32,131,184,237,68,147,15,240,232,163,214,214,140,179,97,203 db 176,194,100,155,212,210,211,134,120,226,10,160,28,242,189,189 db 95,82,139,84,36,28,1,202,139,68,36,20,247,208,235,29 db 50,1,65,187,15,0,0,0,33,195,193,232,4,51,4,159 db 187,15,0,0,0,33,195,193,232,4,51,4,159,57,209,117 db 223,247,208,90,91,95,89,195,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f1.asm0000644000175000001440000000427410077051333014275 00000000000000; n2b_d_f1.asm -- ucl_nrv2b_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_le32) globalf(F(ucl_nrv2b_decompress_asm_fast_le32)) _ucl_nrv2b_decompress_asm_fast_le32: F(ucl_nrv2b_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,118,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,99 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,74,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f2.asm0000644000175000001440000000566410077051333014302 00000000000000; n2b_d_f2.asm -- ucl_nrv2b_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_le32)) _ucl_nrv2b_decompress_asm_fast_safe_le32: F(ucl_nrv2b_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,182,1,0,0,137 db 3,137,240,3,67,44,15,130,169,1,0,0,137,67,4,131 db 232,4,15,130,111,1,0,0,57,240,15,130,103,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,77,1,0,0,59,60,36,15,131,100 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,46,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,18,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 42,1,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 243,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,6,1,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,205,0,0,0,138,6,70,131,240,255 db 15,132,182,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,177,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,17,59,116,36,8,15,135,154,0,0,0,139,30,131 db 238,252,17,219,17,201,117,54,65,1,219,117,17,59,116,36 db 8,15,135,128,0,0,0,139,30,131,238,252,17,219,17,201 db 15,136,145,0,0,0,1,219,115,223,117,15,59,116,36,8 db 119,101,139,30,131,238,252,17,219,115,206,131,193,2,129,253 db 0,243,255,255,131,209,1,137,250,1,202,114,106,59,20,36 db 119,101,137,250,1,234,115,102,59,84,36,48,114,96,131,253 db 252,118,17,138,2,66,136,7,71,73,117,247,233,232,254,255 db 255,144,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,205,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f3.asm0000644000175000001440000000424610077051333014276 00000000000000; n2b_d_f3.asm -- ucl_nrv2b_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_8) globalf(F(ucl_nrv2b_decompress_asm_fast_8)) _ucl_nrv2b_decompress_asm_fast_8: F(ucl_nrv2b_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,112 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,131,253,252,118,17,138,2,66,136,7,71,73,117,247 db 233,113,255,255,255,144,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,86,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f4.asm0000644000175000001440000000545710077051333014304 00000000000000; n2b_d_f4.asm -- ucl_nrv2b_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_8)) _ucl_nrv2b_decompress_asm_fast_safe_8: F(ucl_nrv2b_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,146,1,0,0,137 db 3,137,240,3,67,40,15,130,133,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,57,1,0,0,59,60,36,15,131,80 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,26,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,0 db 1,0,0,138,30,70,16,219,17,192,15,136,26,1,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,227,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,248,0 db 0,0,131,232,3,114,27,193,224,8,59,116,36,4,15,131 db 191,0,0,0,138,6,70,131,240,255,15,132,168,0,0,0 db 137,197,0,219,117,15,59,116,36,4,15,131,163,0,0,0 db 138,30,70,16,219,17,201,0,219,117,15,59,116,36,4,15 db 131,142,0,0,0,138,30,70,16,219,17,201,117,46,65,0 db 219,117,11,59,116,36,4,115,122,138,30,70,16,219,17,201 db 15,136,141,0,0,0,0,219,115,229,117,13,59,116,36,4 db 115,97,138,30,70,16,219,115,214,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,104,59,20,36,119,99 db 137,250,1,234,115,100,59,84,36,44,114,94,131,253,252,118 db 15,138,2,66,136,7,71,73,117,247,233,250,254,255,255,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,225,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,44,139,84,36,48,137,58,131,196,8,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f5.asm0000644000175000001440000000447510077051333014304 00000000000000; n2b_d_f5.asm -- ucl_nrv2b_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_le16) globalf(F(ucl_nrv2b_decompress_asm_fast_le16)) _ucl_nrv2b_decompress_asm_fast_le16: F(ucl_nrv2b_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,17,193,224,8,138,6,70,131,240,255,15,132,129 db 0,0,0,137,197,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,9,102,139,30,131,238,254 db 102,17,219,17,201,117,38,65,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,115,235,117,11,102 db 139,30,131,238,254,102,17,219,115,222,131,193,2,129,253,0 db 243,255,255,131,209,1,141,20,47,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,74,255,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 50,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_f6.asm0000644000175000001440000000576610077051333014311 00000000000000; n2b_d_f6.asm -- ucl_nrv2b_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_fast_safe_le16)) _ucl_nrv2b_decompress_asm_fast_safe_le16: F(ucl_nrv2b_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,202,1,0,0,137 db 3,137,240,3,67,44,15,130,189,1,0,0,137,67,4,131 db 232,2,15,130,131,1,0,0,57,240,15,130,123,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,65,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,34,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,56,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,0,1,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,17,1,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,216 db 0,0,0,138,6,70,131,240,255,15,132,193,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,187,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,19 db 59,116,36,8,15,135,161,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,117,60,65,102,1,219,117,19,59,116,36 db 8,15,135,132,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,15,136,147,0,0,0,102,1,219,115,219,117,17,59 db 116,36,8,119,102,102,139,30,131,238,254,102,17,219,115,200 db 131,193,2,129,253,0,243,255,255,131,209,1,137,250,1,202 db 114,105,59,20,36,119,100,137,250,1,234,115,101,59,84,36 db 48,114,95,131,253,252,118,16,138,2,66,136,7,71,73,117 db 247,233,211,254,255,255,144,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_n1.asm0000644000175000001440000000405410077051333014301 00000000000000; n2b_d_n1.asm -- ucl_nrv2b_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_le32) globalf(F(ucl_nrv2b_decompress_asm_le32)) _ucl_nrv2b_decompress_asm_le32: F(ucl_nrv2b_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,232,3,114,13,193,224,8,138,6 db 70,131,240,255,116,88,137,197,1,219,117,7,139,30,131,238 db 252,17,219,17,201,1,219,117,7,139,30,131,238,252,17,219 db 17,201,117,32,65,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,115,239,117,9,139,30,131,238,252,17,219,115 db 228,131,193,2,129,253,0,243,255,255,131,209,1,141,20,47 db 138,2,66,136,7,71,73,117,247,233,104,255,255,255,137,227 db 139,83,28,3,83,32,57,214,116,7,72,176,55,119,2,176 db 51,43,123,36,139,83,40,137,58,90,89,91,94,95,93,195 ucl-1.03/asm/i386/src_nasm/n2b_d_n2.asm0000644000175000001440000000536010077051333014303 00000000000000; n2b_d_n2.asm -- ucl_nrv2b_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_safe_le32)) _ucl_nrv2b_decompress_asm_safe_le32: F(ucl_nrv2b_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,138,1,0,0,137 db 3,137,240,3,67,44,15,130,125,1,0,0,137,67,4,131 db 232,4,15,130,67,1,0,0,57,240,15,130,59,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,33,1,0,0,59,60,36,15,131,56 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,2,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,230,0,0,0,139,30,131,238,252,17,219,17,192,15,136 db 254,0,0,0,1,219,115,223,117,19,59,116,36,8,15,135 db 199,0,0,0,139,30,131,238,252,17,219,115,202,61,2,0 db 0,1,15,135,218,0,0,0,131,232,3,114,27,193,224,8 db 59,116,36,4,15,131,161,0,0,0,138,6,70,131,240,255 db 15,132,138,0,0,0,137,197,1,219,117,17,59,116,36,8 db 15,135,133,0,0,0,139,30,131,238,252,17,219,17,201,1 db 219,117,13,59,116,36,8,119,114,139,30,131,238,252,17,219 db 17,201,117,46,65,1,219,117,13,59,116,36,8,119,92,139 db 30,131,238,252,17,219,17,201,120,113,1,219,115,231,117,15 db 59,116,36,8,119,69,139,30,131,238,252,17,219,115,214,131 db 193,2,129,253,0,243,255,255,131,209,1,137,250,1,202,114 db 74,59,20,36,119,69,137,250,1,234,115,70,59,84,36,48 db 114,64,138,2,66,136,7,71,73,117,247,233,249,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_n3.asm0000644000175000001440000000402510077051333014301 00000000000000; n2b_d_n3.asm -- ucl_nrv2b_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_8) globalf(F(ucl_nrv2b_decompress_asm_8)) _ucl_nrv2b_decompress_asm_8: F(ucl_nrv2b_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,232,3,114,13,193,224,8,138,6,70,131,240,255,116,80 db 137,197,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,17,201,117,28,65,0,219,117,5,138 db 30,70,16,219,17,201,0,219,115,241,117,7,138,30,70,16 db 219,115,232,131,193,2,129,253,0,243,255,255,131,209,1,141 db 20,47,138,2,66,136,7,71,73,117,247,233,118,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_n4.asm0000644000175000001440000000516610077051333014311 00000000000000; n2b_d_n4.asm -- ucl_nrv2b_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_safe_8) globalf(F(ucl_nrv2b_decompress_asm_safe_8)) _ucl_nrv2b_decompress_asm_safe_8: F(ucl_nrv2b_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,100,1,0,0,137 db 3,137,240,3,67,40,15,130,87,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,11,1,0,0,59,60,36,15,131,34 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,236,0,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,210 db 0,0,0,138,30,70,16,219,17,192,15,136,236,0,0,0 db 0,219,115,225,117,17,59,116,36,4,15,131,181,0,0,0 db 138,30,70,16,219,115,206,61,2,0,0,1,15,135,202,0 db 0,0,131,232,3,114,23,193,224,8,59,116,36,4,15,131 db 145,0,0,0,138,6,70,131,240,255,116,126,137,197,0,219 db 117,11,59,116,36,4,115,125,138,30,70,16,219,17,201,0 db 219,117,11,59,116,36,4,115,108,138,30,70,16,219,17,201 db 117,42,65,0,219,117,11,59,116,36,4,115,88,138,30,70 db 16,219,17,201,120,111,0,219,115,233,117,13,59,116,36,4 db 115,67,138,30,70,16,219,115,218,131,193,2,129,253,0,243 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,44,114,64,138,2,66,136 db 7,71,73,117,247,233,15,255,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_n5.asm0000644000175000001440000000426410077051333014310 00000000000000; n2b_d_n5.asm -- ucl_nrv2b_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_le16) globalf(F(ucl_nrv2b_decompress_asm_le16)) _ucl_nrv2b_decompress_asm_le16: F(ucl_nrv2b_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,235,117,11,102,139,30,131,238,254,102,17,219,115,222,131 db 232,3,114,13,193,224,8,138,6,70,131,240,255,116,100,137 db 197,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,38,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,115,235,117,11,102,139,30,131,238 db 254,102,17,219,115,222,131,193,2,129,253,0,243,255,255,131 db 209,1,141,20,47,138,2,66,136,7,71,73,117,247,233,83 db 255,255,255,137,227,139,83,28,3,83,32,57,214,116,7,72 db 176,55,119,2,176,51,43,123,36,139,83,40,137,58,90,89 db 91,94,95,93,195,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_n6.asm0000644000175000001440000000556610077051333014317 00000000000000; n2b_d_n6.asm -- ucl_nrv2b_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_safe_le16)) _ucl_nrv2b_decompress_asm_safe_le16: F(ucl_nrv2b_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,159,1,0,0,137 db 3,137,240,3,67,44,15,130,146,1,0,0,137,67,4,131 db 232,2,15,130,88,1,0,0,57,240,15,130,80,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,54,1,0,0,59,60,36,15,131,77 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,22,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,247,0,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,13,1,0,0,102,1,219,115,219,117 db 21,59,116,36,8,15,135,213,0,0,0,102,139,30,131,238 db 254,102,17,219,115,196,61,2,0,0,1,15,135,230,0,0 db 0,131,232,3,114,27,193,224,8,59,116,36,4,15,131,173 db 0,0,0,138,6,70,131,240,255,15,132,150,0,0,0,137 db 197,102,1,219,117,19,59,116,36,8,15,135,144,0,0,0 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,117,15 db 59,116,36,8,119,122,102,139,30,131,238,254,102,17,219,17 db 201,117,52,65,102,1,219,117,15,59,116,36,8,119,97,102 db 139,30,131,238,254,102,17,219,17,201,120,116,102,1,219,115 db 227,117,17,59,116,36,8,119,71,102,139,30,131,238,254,102 db 17,219,115,208,131,193,2,129,253,0,243,255,255,131,209,1 db 137,250,1,202,114,74,59,20,36,119,69,137,250,1,234,115 db 70,59,84,36,48,114,64,138,2,66,136,7,71,73,117,247 db 233,228,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s1.asm0000644000175000001440000000403110077051333014301 00000000000000; n2b_d_s1.asm -- ucl_nrv2b_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_le32) globalf(F(ucl_nrv2b_decompress_asm_small_le32)) _ucl_nrv2b_decompress_asm_small_le32: F(ucl_nrv2b_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,115 db 230,131,232,3,114,11,193,224,8,172,131,240,255,116,81,137 db 197,1,219,117,7,139,30,131,238,252,17,219,17,201,1,219 db 117,7,139,30,131,238,252,17,219,17,201,117,30,65,1,219 db 117,7,139,30,131,238,252,17,219,17,201,1,219,117,7,139 db 30,131,238,252,17,219,115,230,131,193,2,129,253,0,243,255 db 255,131,209,1,86,141,52,47,243,164,94,233,119,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s2.asm0000644000175000001440000000534210077051333014310 00000000000000; n2b_d_s2.asm -- ucl_nrv2b_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2b_decompress_asm_small_safe_le32)) _ucl_nrv2b_decompress_asm_small_safe_le32: F(ucl_nrv2b_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,114,1,0,0,137 db 3,137,240,3,67,44,15,130,101,1,0,0,137,67,4,131 db 232,4,15,130,43,1,0,0,57,240,15,130,35,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 15,1,0,0,59,60,36,15,131,38,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,247,0,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,221,0,0,0,139,30,131,238,252,17,219,17,192,15 db 136,245,0,0,0,1,219,117,17,59,116,36,8,15,135,192 db 0,0,0,139,30,131,238,252,17,219,115,204,61,2,0,0 db 1,15,135,211,0,0,0,131,232,3,114,25,193,224,8,59 db 116,36,4,15,131,154,0,0,0,172,131,240,255,15,132,133 db 0,0,0,137,197,1,219,117,17,59,116,36,8,15,135,128 db 0,0,0,139,30,131,238,252,17,219,17,201,1,219,117,13 db 59,116,36,8,119,109,139,30,131,238,252,17,219,17,201,117 db 44,65,1,219,117,13,59,116,36,8,119,87,139,30,131,238 db 252,17,219,17,201,120,108,1,219,117,13,59,116,36,8,119 db 66,139,30,131,238,252,17,219,115,216,131,193,2,129,253,0 db 243,255,255,131,209,1,137,242,137,254,1,206,114,69,59,52 db 36,119,64,137,254,1,238,115,65,59,116,36,48,114,59,243 db 164,137,214,233,6,255,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s3.asm0000644000175000001440000000370010077051333014305 00000000000000; n2b_d_s3.asm -- ucl_nrv2b_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_8) globalf(F(ucl_nrv2b_decompress_asm_small_8)) _ucl_nrv2b_decompress_asm_small_8: F(ucl_nrv2b_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,115,234,131,232,3,114 db 11,193,224,8,172,131,240,255,116,70,137,197,0,219,117,5 db 138,30,70,16,219,17,201,0,219,117,5,138,30,70,16,219 db 17,201,117,26,65,0,219,117,5,138,30,70,16,219,17,201 db 0,219,117,5,138,30,70,16,219,115,234,131,193,2,129,253 db 0,243,255,255,131,209,1,86,141,52,47,243,164,94,235,136 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s4.asm0000644000175000001440000000504510077051333014312 00000000000000; n2b_d_s4.asm -- ucl_nrv2b_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_safe_8) globalf(F(ucl_nrv2b_decompress_asm_small_safe_8)) _ucl_nrv2b_decompress_asm_small_safe_8: F(ucl_nrv2b_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,72,1,0,0,137 db 3,137,240,3,67,40,15,130,59,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,249,0,0,0 db 59,60,36,15,131,16,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,225,0,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,201,0,0,0 db 138,30,70,16,219,17,192,15,136,227,0,0,0,0,219,117 db 15,59,116,36,4,15,131,174,0,0,0,138,30,70,16,219 db 115,208,61,2,0,0,1,15,135,195,0,0,0,131,232,3 db 114,21,193,224,8,59,116,36,4,15,131,138,0,0,0,172 db 131,240,255,116,121,137,197,0,219,117,11,59,116,36,4,115 db 120,138,30,70,16,219,17,201,0,219,117,11,59,116,36,4 db 115,103,138,30,70,16,219,17,201,117,40,65,0,219,117,11 db 59,116,36,4,115,83,138,30,70,16,219,17,201,120,106,0 db 219,117,11,59,116,36,4,115,64,138,30,70,16,219,115,220 db 131,193,2,129,253,0,243,255,255,131,209,1,137,242,137,254 db 1,206,114,69,59,52,36,119,64,137,254,1,238,115,65,59 db 116,36,44,114,59,243,164,137,214,233,28,255,255,255,59,60 db 36,119,38,59,116,36,4,118,7,184,55,255,255,255,235,5 db 116,3,72,176,51,43,124,36,44,139,84,36,48,137,58,131 db 196,8,90,89,91,94,95,93,195,184,54,255,255,255,235,229 db 184,53,255,255,255,235,222,131,200,255,235,217,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s5.asm0000644000175000001440000000413310077051333014310 00000000000000; n2b_d_s5.asm -- ucl_nrv2b_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_le16) globalf(F(ucl_nrv2b_decompress_asm_small_le16)) _ucl_nrv2b_decompress_asm_small_le16: F(ucl_nrv2b_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,115,224,131,232,3,114,11,193 db 224,8,172,131,240,255,116,93,137,197,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,201,117,36,65,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,201,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,115,224,131,193,2 db 129,253,0,243,255,255,131,209,1,86,141,52,47,243,164,94 db 233,98,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2b_d_s6.asm0000644000175000001440000000544410077051333014317 00000000000000; n2b_d_s6.asm -- ucl_nrv2b_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2b_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2b_decompress_asm_small_safe_le16)) _ucl_nrv2b_decompress_asm_small_safe_le16: F(ucl_nrv2b_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,135,1,0,0,137 db 3,137,240,3,67,44,15,130,122,1,0,0,137,67,4,131 db 232,2,15,130,64,1,0,0,57,240,15,130,56,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 36,1,0,0,59,60,36,15,131,59,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,11,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,238,0,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,4,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,206,0,0,0,102,139,30,131,238,254 db 102,17,219,115,198,61,2,0,0,1,15,135,223,0,0,0 db 131,232,3,114,25,193,224,8,59,116,36,4,15,131,166,0 db 0,0,172,131,240,255,15,132,145,0,0,0,137,197,102,1 db 219,117,19,59,116,36,8,15,135,139,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,117,102,139,30,131,238,254,102,17,219,17,201,117,50 db 65,102,1,219,117,15,59,116,36,8,119,92,102,139,30,131 db 238,254,102,17,219,17,201,120,111,102,1,219,117,15,59,116 db 36,8,119,68,102,139,30,131,238,254,102,17,219,115,210,131 db 193,2,129,253,0,243,255,255,131,209,1,137,242,137,254,1 db 206,114,69,59,52,36,119,64,137,254,1,238,115,65,59,116 db 36,48,114,59,243,164,137,214,233,241,254,255,255,59,60,36 db 119,38,59,116,36,4,118,7,184,55,255,255,255,235,5,116 db 3,72,176,51,43,124,36,48,139,84,36,52,137,58,131,196 db 12,90,89,91,94,95,93,195,184,54,255,255,255,235,229,184 db 53,255,255,255,235,222,131,200,255,235,217,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f1.asm0000644000175000001440000000447010077051333014275 00000000000000; n2d_d_f1.asm -- ucl_nrv2d_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_le32) globalf(F(ucl_nrv2d_decompress_asm_fast_le32)) _ucl_nrv2d_decompress_asm_fast_le32: F(ucl_nrv2d_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,122,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,79,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,54,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f2.asm0000644000175000001440000000603410077051333014274 00000000000000; n2d_d_f2.asm -- ucl_nrv2d_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_le32)) _ucl_nrv2d_decompress_asm_fast_safe_le32: F(ucl_nrv2d_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,218,1,0,0,137 db 3,137,240,3,67,44,15,130,205,1,0,0,137,67,4,131 db 232,4,15,130,147,1,0,0,57,240,15,130,139,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,113,1,0,0,59,60,36,15,131,136 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,82,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,54,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 78,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 23,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,255,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,23,1,0,0,235,170,61,2,0 db 0,1,15,135,10,1,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,209,0,0,0,138,6,70,131,240,255 db 15,132,186,0,0,0,15,137,230,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,171,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,17,59,116,36 db 8,15,135,148,0,0,0,139,30,131,238,252,17,219,17,201 db 117,50,65,1,219,117,13,59,116,36,8,119,126,139,30,131 db 238,252,17,219,17,201,15,136,143,0,0,0,1,219,115,227 db 117,15,59,116,36,8,119,99,139,30,131,238,252,17,219,115 db 210,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,48,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,194,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,169,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,48,139,84,36,52,137 db 58,131,196,12,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f3.asm0000644000175000001440000000433310077051333014275 00000000000000; n2d_d_f3.asm -- ucl_nrv2d_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_8) globalf(F(ucl_nrv2d_decompress_asm_fast_8)) _ucl_nrv2d_decompress_asm_fast_8: F(ucl_nrv2d_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,114,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,95,255,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,70,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f4.asm0000644000175000001440000000561710077051333014304 00000000000000; n2d_d_f4.asm -- ucl_nrv2d_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_8)) _ucl_nrv2d_decompress_asm_fast_safe_8: F(ucl_nrv2d_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,186,1,0,0,137 db 3,137,240,3,67,40,15,130,173,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,97,1,0,0,59,60,36,15,131,120 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,66,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,40 db 1,0,0,138,30,70,16,219,17,192,15,136,66,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,11,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,245,0,0,0,138,30,70,16,219,17,192,15,136,15 db 1,0,0,235,176,61,2,0,0,1,15,135,2,1,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,201,0 db 0,0,138,6,70,131,240,255,15,132,178,0,0,0,15,137 db 222,0,0,0,209,248,137,197,235,19,0,219,117,15,59,116 db 36,4,15,131,163,0,0,0,138,30,70,16,219,17,201,0 db 219,117,15,59,116,36,4,15,131,142,0,0,0,138,30,70 db 16,219,17,201,117,46,65,0,219,117,11,59,116,36,4,115 db 122,138,30,70,16,219,17,201,15,136,141,0,0,0,0,219 db 115,229,117,13,59,116,36,4,115,97,138,30,70,16,219,115 db 214,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,104,59,20,36,119,99,137,250,1,234,115,100,59,84 db 36,44,114,94,131,253,252,118,15,138,2,66,136,7,71,73 db 117,247,233,210,254,255,255,144,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,185,254,255,255 db 59,60,36,119,38,59,116,36,4,118,7,184,55,255,255,255 db 235,5,116,3,72,176,51,43,124,36,44,139,84,36,48,137 db 58,131,196,8,90,89,91,94,95,93,195,184,54,255,255,255 db 235,229,184,53,255,255,255,235,222,131,200,255,235,217,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f5.asm0000644000175000001440000000456510077051333014306 00000000000000; n2d_d_f5.asm -- ucl_nrv2d_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_le16) globalf(F(ucl_nrv2d_decompress_asm_fast_le16)) _ucl_nrv2d_decompress_asm_fast_le16: F(ucl_nrv2d_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,21,193,224,8,138,6,70,131,240,255 db 15,132,134,0,0,0,209,248,137,197,235,14,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,117,38,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,1,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,51 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,26,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_f6.asm0000644000175000001440000000623510077051333014303 00000000000000; n2d_d_f6.asm -- ucl_nrv2d_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_fast_safe_le16)) _ucl_nrv2d_decompress_asm_fast_safe_le16: F(ucl_nrv2d_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,246,1,0,0,137 db 3,137,240,3,67,44,15,130,233,1,0,0,137,67,4,131 db 232,2,15,130,175,1,0,0,57,240,15,130,167,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,141,1,0,0,59,60,36,15,131,164 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,109,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,78,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,100,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,44,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,17,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,39,1,0,0,235,161,61,2,0,0,1,15,135 db 26,1,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,225,0,0,0,138,6,70,131,240,255,15,132,202,0 db 0,0,15,137,246,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,186,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,19,59,116,36 db 8,15,135,160,0,0,0,102,139,30,131,238,254,102,17,219 db 17,201,117,60,65,102,1,219,117,19,59,116,36,8,15,135 db 131,0,0,0,102,139,30,131,238,254,102,17,219,17,201,15 db 136,146,0,0,0,102,1,219,115,219,117,17,59,116,36,8 db 119,101,102,139,30,131,238,254,102,17,219,115,200,131,193,2 db 129,253,0,251,255,255,131,209,1,137,250,1,202,114,104,59 db 20,36,119,99,137,250,1,234,115,100,59,84,36,48,114,94 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,166 db 254,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,141,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n1.asm0000644000175000001440000000424710077051333014307 00000000000000; n2d_d_n1.asm -- ucl_nrv2d_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_le32) globalf(F(ucl_nrv2d_decompress_asm_le32)) _ucl_nrv2d_decompress_asm_le32: F(ucl_nrv2d_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,17,193,224,8,138,6 db 70,131,240,255,116,92,209,248,137,197,235,11,1,219,117,7 db 139,30,131,238,252,17,219,17,201,1,219,117,7,139,30,131 db 238,252,17,219,17,201,117,32,65,1,219,117,7,139,30,131 db 238,252,17,219,17,201,1,219,115,239,117,9,139,30,131,238 db 252,17,219,115,228,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n2.asm0000644000175000001440000000562710077051333014313 00000000000000; n2d_d_n2.asm -- ucl_nrv2d_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_safe_le32)) _ucl_nrv2d_decompress_asm_safe_le32: F(ucl_nrv2d_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,4,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,75,1,0,0,59,60,36,15,131,98 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,44,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,16,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 40,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 241,0,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,217,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,241,0,0,0,235,170,61,2,0 db 0,1,15,135,228,0,0,0,131,232,3,114,37,193,224,8 db 59,116,36,4,15,131,171,0,0,0,138,6,70,131,240,255 db 15,132,148,0,0,0,15,137,192,0,0,0,209,248,137,197 db 235,21,1,219,117,17,59,116,36,8,15,135,133,0,0,0 db 139,30,131,238,252,17,219,17,201,1,219,117,13,59,116,36 db 8,119,114,139,30,131,238,252,17,219,17,201,117,46,65,1 db 219,117,13,59,116,36,8,119,92,139,30,131,238,252,17,219 db 17,201,120,113,1,219,115,231,117,15,59,116,36,8,119,69 db 139,30,131,238,252,17,219,115,214,131,193,2,129,253,0,251 db 255,255,131,209,1,137,250,1,202,114,74,59,20,36,119,69 db 137,250,1,234,115,70,59,84,36,48,114,64,138,2,66,136 db 7,71,73,117,247,233,207,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n3.asm0000644000175000001440000000411310077051333014301 00000000000000; n2d_d_n3.asm -- ucl_nrv2d_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_8) globalf(F(ucl_nrv2d_decompress_asm_8)) _ucl_nrv2d_decompress_asm_8: F(ucl_nrv2d_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,17,193,224,8,138,6,70,131,240,255,116,84,209,248 db 137,197,235,9,0,219,117,5,138,30,70,16,219,17,201,0 db 219,117,5,138,30,70,16,219,17,201,117,28,65,0,219,117 db 5,138,30,70,16,219,17,201,0,219,115,241,117,7,138,30 db 70,16,219,115,232,131,193,2,129,253,0,251,255,255,131,209 db 1,141,20,47,138,2,66,136,7,71,73,117,247,233,100,255 db 255,255,137,227,139,83,28,3,83,32,57,214,116,7,72,176 db 55,119,2,176,51,43,123,36,139,83,40,137,58,90,89,91 db 94,95,93,195,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n4.asm0000644000175000001440000000542410077051333014310 00000000000000; n2d_d_n4.asm -- ucl_nrv2d_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_safe_8) globalf(F(ucl_nrv2d_decompress_asm_safe_8)) _ucl_nrv2d_decompress_asm_safe_8: F(ucl_nrv2d_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,144,1,0,0,137 db 3,137,240,3,67,40,15,130,131,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,55,1,0,0,59,60,36,15,131,78 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,24,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,254 db 0,0,0,138,30,70,16,219,17,192,15,136,24,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,225,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,203,0,0,0,138,30,70,16,219,17,192,15,136,229 db 0,0,0,235,176,61,2,0,0,1,15,135,216,0,0,0 db 131,232,3,114,37,193,224,8,59,116,36,4,15,131,159,0 db 0,0,138,6,70,131,240,255,15,132,136,0,0,0,15,137 db 180,0,0,0,209,248,137,197,235,15,0,219,117,11,59,116 db 36,4,115,125,138,30,70,16,219,17,201,0,219,117,11,59 db 116,36,4,115,108,138,30,70,16,219,17,201,117,42,65,0 db 219,117,11,59,116,36,4,115,88,138,30,70,16,219,17,201 db 120,111,0,219,115,233,117,13,59,116,36,4,115,67,138,30 db 70,16,219,115,218,131,193,2,129,253,0,251,255,255,131,209 db 1,137,250,1,202,114,74,59,20,36,119,69,137,250,1,234 db 115,70,59,84,36,44,114,64,138,2,66,136,7,71,73,117 db 247,233,227,254,255,255,59,60,36,119,38,59,116,36,4,118 db 7,184,55,255,255,255,235,5,116,3,72,176,51,43,124,36 db 44,139,84,36,48,137,58,131,196,8,90,89,91,94,95,93 db 195,184,54,255,255,255,235,229,184,53,255,255,255,235,222,131 db 200,255,235,217,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n5.asm0000644000175000001440000000435410077051333014312 00000000000000; n2d_d_n5.asm -- ucl_nrv2d_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_le16) globalf(F(ucl_nrv2d_decompress_asm_le16)) _ucl_nrv2d_decompress_asm_le16: F(ucl_nrv2d_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,17,193,224,8,138,6,70,131,240,255 db 116,104,209,248,137,197,235,14,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,117,38,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,1,141,20,47,138,2,66,136 db 7,71,73,117,247,233,60,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_n6.asm0000644000175000001440000000573110077051333014313 00000000000000; n2d_d_n6.asm -- ucl_nrv2d_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_safe_le16)) _ucl_nrv2d_decompress_asm_safe_le16: F(ucl_nrv2d_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,204,1,0,0,137 db 3,137,240,3,67,44,15,130,191,1,0,0,137,67,4,131 db 232,2,15,130,133,1,0,0,57,240,15,130,125,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,99,1,0,0,59,60,36,15,131,122 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,67,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,36,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,58,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,2,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,231,0,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,253,0,0,0,235,161,61,2,0,0,1,15,135 db 240,0,0,0,131,232,3,114,37,193,224,8,59,116,36,4 db 15,131,183,0,0,0,138,6,70,131,240,255,15,132,160,0 db 0,0,15,137,204,0,0,0,209,248,137,197,235,24,102,1 db 219,117,19,59,116,36,8,15,135,144,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,102,1,219,117,15,59,116,36 db 8,119,122,102,139,30,131,238,254,102,17,219,17,201,117,52 db 65,102,1,219,117,15,59,116,36,8,119,97,102,139,30,131 db 238,254,102,17,219,17,201,120,116,102,1,219,115,227,117,17 db 59,116,36,8,119,71,102,139,30,131,238,254,102,17,219,115 db 208,131,193,2,129,253,0,251,255,255,131,209,1,137,250,1 db 202,114,74,59,20,36,119,69,137,250,1,234,115,70,59,84 db 36,48,114,64,138,2,66,136,7,71,73,117,247,233,183,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 ucl-1.03/asm/i386/src_nasm/n2d_d_s1.asm0000644000175000001440000000412110077051333014303 00000000000000; n2d_d_s1.asm -- ucl_nrv2d_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_le32) globalf(F(ucl_nrv2d_decompress_asm_small_le32)) _ucl_nrv2d_decompress_asm_small_le32: F(ucl_nrv2d_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,15,193,224,8,172,131,240,255,116,85,209 db 248,137,197,235,11,1,219,117,7,139,30,131,238,252,17,219 db 17,201,1,219,117,7,139,30,131,238,252,17,219,17,201,117 db 30,65,1,219,117,7,139,30,131,238,252,17,219,17,201,1 db 219,117,7,139,30,131,238,252,17,219,115,230,131,193,2,129 db 253,0,251,255,255,131,209,1,86,141,52,47,243,164,94,233 db 99,255,255,255,137,227,139,83,28,3,83,32,57,214,116,7 db 72,176,55,119,2,176,51,43,123,36,139,83,40,137,58,90 db 89,91,94,95,93,195,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_s2.asm0000644000175000001440000000550410077051333014312 00000000000000; n2d_d_s2.asm -- ucl_nrv2d_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2d_decompress_asm_small_safe_le32)) _ucl_nrv2d_decompress_asm_small_safe_le32: F(ucl_nrv2d_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,156,1,0,0,137 db 3,137,240,3,67,44,15,130,143,1,0,0,137,67,4,131 db 232,4,15,130,85,1,0,0,57,240,15,130,77,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 57,1,0,0,59,60,36,15,131,80,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,33,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,7,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,31,1,0,0,1,219,117,17,59,116,36,8,15,135,234 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,210,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,234,0,0,0,235,172,61,2,0,0 db 1,15,135,221,0,0,0,131,232,3,114,35,193,224,8,59 db 116,36,4,15,131,164,0,0,0,172,131,240,255,15,132,143 db 0,0,0,15,137,187,0,0,0,209,248,137,197,235,21,1 db 219,117,17,59,116,36,8,15,135,128,0,0,0,139,30,131 db 238,252,17,219,17,201,1,219,117,13,59,116,36,8,119,109 db 139,30,131,238,252,17,219,17,201,117,44,65,1,219,117,13 db 59,116,36,8,119,87,139,30,131,238,252,17,219,17,201,120 db 108,1,219,117,13,59,116,36,8,119,66,139,30,131,238,252 db 17,219,115,216,131,193,2,129,253,0,251,255,255,131,209,1 db 137,242,137,254,1,206,114,69,59,52,36,119,64,137,254,1 db 238,115,65,59,116,36,48,114,59,243,164,137,214,233,220,254 db 255,255,59,60,36,119,38,59,116,36,4,118,7,184,55,255 db 255,255,235,5,116,3,72,176,51,43,124,36,48,139,84,36 db 52,137,58,131,196,12,90,89,91,94,95,93,195,184,54,255 db 255,255,235,229,184,53,255,255,255,235,222,131,200,255,235,217 ucl-1.03/asm/i386/src_nasm/n2d_d_s3.asm0000644000175000001440000000376710077051333014324 00000000000000; n2d_d_s3.asm -- ucl_nrv2d_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_8) globalf(F(ucl_nrv2d_decompress_asm_small_8)) _ucl_nrv2d_decompress_asm_small_8: F(ucl_nrv2d_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,15,193 db 224,8,172,131,240,255,116,77,209,248,137,197,235,9,0,219 db 117,5,138,30,70,16,219,17,201,0,219,117,5,138,30,70 db 16,219,17,201,117,26,65,0,219,117,5,138,30,70,16,219 db 17,201,0,219,117,5,138,30,70,16,219,115,234,131,193,2 db 129,253,0,251,255,255,131,209,1,86,141,52,47,243,164,94 db 233,115,255,255,255,137,227,139,83,28,3,83,32,57,214,116 db 7,72,176,55,119,2,176,51,43,123,36,139,83,40,137,58 db 90,89,91,94,95,93,195,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_s4.asm0000644000175000001440000000530410077051333014312 00000000000000; n2d_d_s4.asm -- ucl_nrv2d_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_safe_8) globalf(F(ucl_nrv2d_decompress_asm_small_safe_8)) _ucl_nrv2d_decompress_asm_small_safe_8: F(ucl_nrv2d_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,116,1,0,0,137 db 3,137,240,3,67,40,15,130,103,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,37,1,0,0 db 59,60,36,15,131,60,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,13,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,245,0,0,0 db 138,30,70,16,219,17,192,15,136,15,1,0,0,0,219,117 db 15,59,116,36,4,15,131,218,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,196,0,0 db 0,138,30,70,16,219,17,192,15,136,222,0,0,0,235,178 db 61,2,0,0,1,15,135,209,0,0,0,131,232,3,114,35 db 193,224,8,59,116,36,4,15,131,152,0,0,0,172,131,240 db 255,15,132,131,0,0,0,15,137,175,0,0,0,209,248,137 db 197,235,15,0,219,117,11,59,116,36,4,115,120,138,30,70 db 16,219,17,201,0,219,117,11,59,116,36,4,115,103,138,30 db 70,16,219,17,201,117,40,65,0,219,117,11,59,116,36,4 db 115,83,138,30,70,16,219,17,201,120,106,0,219,117,11,59 db 116,36,4,115,64,138,30,70,16,219,115,220,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,44,114 db 59,243,164,137,214,233,240,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,44,139,84,36,48,137,58,131,196,8,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_s5.asm0000644000175000001440000000422410077051333014313 00000000000000; n2d_d_s5.asm -- ucl_nrv2d_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_le16) globalf(F(ucl_nrv2d_decompress_asm_small_le16)) _ucl_nrv2d_decompress_asm_small_le16: F(ucl_nrv2d_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,15,193,224,8,172,131,240,255,116,97,209,248,137,197,235 db 14,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,117,36,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,1 db 86,141,52,47,243,164,94,233,75,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2d_d_s6.asm0000644000175000001440000000571610077051333014323 00000000000000; n2d_d_s6.asm -- ucl_nrv2d_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2d_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2d_decompress_asm_small_safe_le16)) _ucl_nrv2d_decompress_asm_small_safe_le16: F(ucl_nrv2d_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,180,1,0,0,137 db 3,137,240,3,67,44,15,130,167,1,0,0,137,67,4,131 db 232,2,15,130,109,1,0,0,57,240,15,130,101,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 81,1,0,0,59,60,36,15,131,104,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,56,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,27,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,49,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,251,0,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,224,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,246,0,0,0,235,163,61,2,0,0,1,15,135,233 db 0,0,0,131,232,3,114,35,193,224,8,59,116,36,4,15 db 131,176,0,0,0,172,131,240,255,15,132,155,0,0,0,15 db 137,199,0,0,0,209,248,137,197,235,24,102,1,219,117,19 db 59,116,36,8,15,135,139,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,102,1,219,117,15,59,116,36,8,119,117 db 102,139,30,131,238,254,102,17,219,17,201,117,50,65,102,1 db 219,117,15,59,116,36,8,119,92,102,139,30,131,238,254,102 db 17,219,17,201,120,111,102,1,219,117,15,59,116,36,8,119 db 68,102,139,30,131,238,254,102,17,219,115,210,131,193,2,129 db 253,0,251,255,255,131,209,1,137,242,137,254,1,206,114,69 db 59,52,36,119,64,137,254,1,238,115,65,59,116,36,48,114 db 59,243,164,137,214,233,196,254,255,255,59,60,36,119,38,59 db 116,36,4,118,7,184,55,255,255,255,235,5,116,3,72,176 db 51,43,124,36,48,139,84,36,52,137,58,131,196,12,90,89 db 91,94,95,93,195,184,54,255,255,255,235,229,184,53,255,255 db 255,235,222,131,200,255,235,217,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f1.asm0000644000175000001440000000455710077051333014304 00000000000000; n2e_d_f1.asm -- ucl_nrv2e_decompress_asm_fast_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_le32) globalf(F(ucl_nrv2e_decompress_asm_fast_le32)) _ucl_nrv2e_decompress_asm_fast_le32: F(ucl_nrv2e_decompress_asm_fast_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,36,193,224,8,138,6 db 70,131,240,255,15,132,134,0,0,0,209,248,137,197,115,28 db 1,219,117,7,139,30,131,238,252,17,219,17,201,235,58,1 db 219,117,7,139,30,131,238,252,17,219,114,228,65,1,219,117 db 7,139,30,131,238,252,17,219,114,214,1,219,117,7,139,30 db 131,238,252,17,219,17,201,1,219,115,239,117,9,139,30,131 db 238,252,17,219,115,228,131,193,2,129,253,0,251,255,255,131 db 209,2,141,20,47,131,253,252,118,14,138,2,66,136,7,71 db 73,117,247,233,62,255,255,255,139,2,131,194,4,137,7,131 db 199,4,131,233,4,119,241,1,207,49,201,233,38,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f2.asm0000644000175000001440000000622610077051333014300 00000000000000; n2e_d_f2.asm -- ucl_nrv2e_decompress_asm_fast_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_le32)) _ucl_nrv2e_decompress_asm_fast_safe_le32: F(ucl_nrv2e_decompress_asm_fast_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,242,1,0,0,137 db 3,137,240,3,67,44,15,130,229,1,0,0,137,67,4,131 db 232,4,15,130,171,1,0,0,57,240,15,130,163,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,137,1,0,0,59,60,36,15,131,160 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,106,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,78,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 102,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 47,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,23,1,0,0,139,30,131,238 db 252,17,219,17,192,15,136,47,1,0,0,235,170,61,2,0 db 0,1,15,135,34,1,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,233,0,0,0,138,6,70,131,240,255 db 15,132,210,0,0,0,15,137,254,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,195,0,0,0 db 139,30,131,238,252,17,219,17,201,235,96,1,219,117,17,59 db 116,36,8,15,135,170,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,17,59,116,36,8,15,135,146,0,0 db 0,139,30,131,238,252,17,219,114,184,1,219,117,13,59,116 db 36,8,119,127,139,30,131,238,252,17,219,17,201,15,136,144 db 0,0,0,1,219,115,227,117,15,59,116,36,8,119,100,139 db 30,131,238,252,17,219,115,210,131,193,2,129,253,0,251,255 db 255,131,209,2,137,250,1,202,114,105,59,20,36,119,100,137 db 250,1,234,115,101,59,84,36,48,114,95,131,253,252,118,16 db 138,2,66,136,7,71,73,117,247,233,171,254,255,255,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,145,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f3.asm0000644000175000001440000000432610077051333014300 00000000000000; n2e_d_f3.asm -- ucl_nrv2e_decompress_asm_fast_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_8) globalf(F(ucl_nrv2e_decompress_asm_fast_8)) _ucl_nrv2e_decompress_asm_fast_8: F(ucl_nrv2e_decompress_asm_fast_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,126,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,131 db 253,252,118,16,138,2,66,136,7,71,73,117,247,233,84,255 db 255,255,144,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,58,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f4.asm0000644000175000001440000000600410077051333014274 00000000000000; n2e_d_f4.asm -- ucl_nrv2e_decompress_asm_fast_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_safe_8) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_8)) _ucl_nrv2e_decompress_asm_fast_safe_8: F(ucl_nrv2e_decompress_asm_fast_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,40,15,130,193,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,117,1,0,0,59,60,36,15,131,140 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,86,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,60 db 1,0,0,138,30,70,16,219,17,192,15,136,86,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,31,1,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,9,1,0,0,138,30,70,16,219,17,192,15,136,35 db 1,0,0,235,176,61,2,0,0,1,15,135,22,1,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,221,0 db 0,0,138,6,70,131,240,255,15,132,198,0,0,0,15,137 db 242,0,0,0,209,248,137,197,115,44,0,219,117,15,59,116 db 36,4,15,131,183,0,0,0,138,30,70,16,219,17,201,235 db 88,0,219,117,15,59,116,36,4,15,131,160,0,0,0,138 db 30,70,16,219,114,212,65,0,219,117,15,59,116,36,4,15 db 131,138,0,0,0,138,30,70,16,219,114,190,0,219,117,11 db 59,116,36,4,115,121,138,30,70,16,219,17,201,15,136,140 db 0,0,0,0,219,115,229,117,13,59,116,36,4,115,96,138 db 30,70,16,219,115,214,131,193,2,129,253,0,251,255,255,131 db 209,2,137,250,1,202,114,103,59,20,36,119,98,137,250,1 db 234,115,99,59,84,36,44,114,93,131,253,252,118,14,138,2 db 66,136,7,71,73,117,247,233,189,254,255,255,139,2,131,194 db 4,137,7,131,199,4,131,233,4,119,241,1,207,49,201,233 db 165,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,44,139 db 84,36,48,137,58,131,196,8,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f5.asm0000644000175000001440000000466310077051333014306 00000000000000; n2e_d_f5.asm -- ucl_nrv2e_decompress_asm_fast_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_le16) globalf(F(ucl_nrv2e_decompress_asm_fast_le16)) _ucl_nrv2e_decompress_asm_fast_le16: F(ucl_nrv2e_decompress_asm_fast_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,39,193,224,8,138,6,70,131,240,255 db 15,132,150,0,0,0,209,248,137,197,115,34,102,1,219,117 db 9,102,139,30,131,238,254,102,17,219,17,201,235,70,102,1 db 219,117,9,102,139,30,131,238,254,102,17,219,114,222,65,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,114,205,102 db 1,219,117,9,102,139,30,131,238,254,102,17,219,17,201,102 db 1,219,115,235,117,11,102,139,30,131,238,254,102,17,219,115 db 222,131,193,2,129,253,0,251,255,255,131,209,2,141,20,47 db 131,253,252,118,15,138,2,66,136,7,71,73,117,247,233,35 db 255,255,255,144,139,2,131,194,4,137,7,131,199,4,131,233 db 4,119,241,1,207,49,201,233,10,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_f6.asm0000644000175000001440000000642310077051333014303 00000000000000; n2e_d_f6.asm -- ucl_nrv2e_decompress_asm_fast_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_fast_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_fast_safe_le16)) _ucl_nrv2e_decompress_asm_fast_safe_le16: F(ucl_nrv2e_decompress_asm_fast_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,18,2,0,0,137 db 3,137,240,3,67,44,15,130,5,2,0,0,137,67,4,131 db 232,2,15,130,203,1,0,0,57,240,15,130,195,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,169,1,0,0,59,60,36,15,131,192 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,137,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,106,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,128,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,72,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,45,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,67,1,0,0,235,161,61,2,0,0,1,15,135 db 54,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,253,0,0,0,138,6,70,131,240,255,15,132,230,0 db 0,0,15,137,18,1,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,214,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,112,102,1,219,117,19,59 db 116,36,8,15,135,186,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,19,59,116,36,8,15,135 db 159,0,0,0,102,139,30,131,238,254,102,17,219,114,175,102 db 1,219,117,19,59,116,36,8,15,135,133,0,0,0,102,139 db 30,131,238,254,102,17,219,17,201,15,136,148,0,0,0,102 db 1,219,115,219,117,17,59,116,36,8,119,103,102,139,30,131 db 238,254,102,17,219,115,200,131,193,2,129,253,0,251,255,255 db 131,209,2,137,250,1,202,114,106,59,20,36,119,101,137,250 db 1,234,115,102,59,84,36,48,114,96,131,253,252,118,17,138 db 2,66,136,7,71,73,117,247,233,140,254,255,255,144,144,144 db 139,2,131,194,4,137,7,131,199,4,131,233,4,119,241,1 db 207,49,201,233,113,254,255,255,59,60,36,119,38,59,116,36 db 4,118,7,184,55,255,255,255,235,5,116,3,72,176,51,43 db 124,36,48,139,84,36,52,137,58,131,196,12,90,89,91,94 db 95,93,195,184,54,255,255,255,235,229,184,53,255,255,255,235 db 222,131,200,255,235,217,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n1.asm0000644000175000001440000000434610077051333014310 00000000000000; n2e_d_n1.asm -- ucl_nrv2e_decompress_asm_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_le32) globalf(F(ucl_nrv2e_decompress_asm_le32)) _ucl_nrv2e_decompress_asm_le32: F(ucl_nrv2e_decompress_asm_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,22,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,1,219,115,11,117,244,139,30,131,238 db 252,17,219,114,235,184,1,0,0,0,1,219,117,7,139,30 db 131,238,252,17,219,17,192,1,219,115,11,117,25,139,30,131 db 238,252,17,219,114,16,72,1,219,117,7,139,30,131,238,252 db 17,219,17,192,235,212,131,232,3,114,32,193,224,8,138,6 db 70,131,240,255,116,105,209,248,137,197,115,28,1,219,117,7 db 139,30,131,238,252,17,219,17,201,235,58,1,219,117,7,139 db 30,131,238,252,17,219,114,228,65,1,219,117,7,139,30,131 db 238,252,17,219,114,214,1,219,117,7,139,30,131,238,252,17 db 219,17,201,1,219,115,239,117,9,139,30,131,238,252,17,219 db 115,228,131,193,2,129,253,0,251,255,255,131,209,2,141,20 db 47,138,2,66,136,7,71,73,117,247,233,71,255,255,255,137 db 227,139,83,28,3,83,32,57,214,116,7,72,176,55,119,2 db 176,51,43,123,36,139,83,40,137,58,90,89,91,94,95,93 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n2.asm0000644000175000001440000000571010077051333014305 00000000000000; n2e_d_n2.asm -- ucl_nrv2e_decompress_asm_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_safe_le32)) _ucl_nrv2e_decompress_asm_safe_le32: F(ucl_nrv2e_decompress_asm_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,203,1,0,0,137 db 3,137,240,3,67,44,15,130,190,1,0,0,137,67,4,131 db 232,4,15,130,132,1,0,0,57,240,15,130,124,1,0,0 db 137,67,8,131,205,255,49,201,235,37,144,144,144,144,144,144 db 59,116,36,4,15,131,98,1,0,0,59,60,36,15,131,121 db 1,0,0,138,6,70,136,7,71,1,219,115,21,117,225,59 db 116,36,8,15,135,67,1,0,0,139,30,131,238,252,17,219 db 114,206,184,1,0,0,0,1,219,117,17,59,116,36,8,15 db 135,39,1,0,0,139,30,131,238,252,17,219,17,192,15,136 db 63,1,0,0,1,219,115,21,117,51,59,116,36,8,15,135 db 8,1,0,0,139,30,131,238,252,17,219,114,32,72,1,219 db 117,17,59,116,36,8,15,135,240,0,0,0,139,30,131,238 db 252,17,219,17,192,15,136,8,1,0,0,235,170,61,2,0 db 0,1,15,135,251,0,0,0,131,232,3,114,62,193,224,8 db 59,116,36,4,15,131,194,0,0,0,138,6,70,131,240,255 db 15,132,171,0,0,0,15,137,215,0,0,0,209,248,137,197 db 115,48,1,219,117,17,59,116,36,8,15,135,156,0,0,0 db 139,30,131,238,252,17,219,17,201,235,88,1,219,117,17,59 db 116,36,8,15,135,131,0,0,0,139,30,131,238,252,17,219 db 114,208,65,1,219,117,13,59,116,36,8,119,111,139,30,131 db 238,252,17,219,114,188,1,219,117,13,59,116,36,8,119,92 db 139,30,131,238,252,17,219,17,201,120,113,1,219,115,231,117 db 15,59,116,36,8,119,69,139,30,131,238,252,17,219,115,214 db 131,193,2,129,253,0,251,255,255,131,209,2,137,250,1,202 db 114,74,59,20,36,119,69,137,250,1,234,115,70,59,84,36 db 48,114,64,138,2,66,136,7,71,73,117,247,233,184,254,255 db 255,59,60,36,119,38,59,116,36,4,118,7,184,55,255,255 db 255,235,5,116,3,72,176,51,43,124,36,48,139,84,36,52 db 137,58,131,196,12,90,89,91,94,95,93,195,184,54,255,255 db 255,235,229,184,53,255,255,255,235,222,131,200,255,235,217,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n3.asm0000644000175000001440000000410510077051333014303 00000000000000; n2e_d_n3.asm -- ucl_nrv2e_decompress_asm_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_8) globalf(F(ucl_nrv2e_decompress_asm_8)) _ucl_nrv2e_decompress_asm_8: F(ucl_nrv2e_decompress_asm_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,21,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,0,219,115,9,117,244,138,30,70,16 db 219,114,237,184,1,0,0,0,0,219,117,5,138,30,70,16 db 219,17,192,0,219,115,9,117,21,138,30,70,16,219,114,14 db 72,0,219,117,5,138,30,70,16,219,17,192,235,218,131,232 db 3,114,30,193,224,8,138,6,70,131,240,255,116,95,209,248 db 137,197,115,24,0,219,117,5,138,30,70,16,219,17,201,235 db 50,0,219,117,5,138,30,70,16,219,114,232,65,0,219,117 db 5,138,30,70,16,219,114,220,0,219,117,5,138,30,70,16 db 219,17,201,0,219,115,241,117,7,138,30,70,16,219,115,232 db 131,193,2,129,253,0,251,255,255,131,209,2,141,20,47,138 db 2,66,136,7,71,73,117,247,233,89,255,255,255,137,227,139 db 83,28,3,83,32,57,214,116,7,72,176,55,119,2,176,51 db 43,123,36,139,83,40,137,58,90,89,91,94,95,93,195,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n4.asm0000644000175000001440000000550610077051333014312 00000000000000; n2e_d_n4.asm -- ucl_nrv2e_decompress_asm_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_safe_8) globalf(F(ucl_nrv2e_decompress_asm_safe_8)) _ucl_nrv2e_decompress_asm_safe_8: F(ucl_nrv2e_decompress_asm_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,165,1,0,0,137 db 3,137,240,3,67,40,15,130,152,1,0,0,137,67,4,131 db 205,255,49,201,235,41,144,144,144,144,144,144,144,144,144,144 db 59,116,36,4,15,131,76,1,0,0,59,60,36,15,131,99 db 1,0,0,138,6,70,136,7,71,0,219,115,19,117,225,59 db 116,36,4,15,131,45,1,0,0,138,30,70,16,219,114,208 db 184,1,0,0,0,0,219,117,15,59,116,36,4,15,131,19 db 1,0,0,138,30,70,16,219,17,192,15,136,45,1,0,0 db 0,219,115,19,117,47,59,116,36,4,15,131,246,0,0,0 db 138,30,70,16,219,114,30,72,0,219,117,15,59,116,36,4 db 15,131,224,0,0,0,138,30,70,16,219,17,192,15,136,250 db 0,0,0,235,176,61,2,0,0,1,15,135,237,0,0,0 db 131,232,3,114,60,193,224,8,59,116,36,4,15,131,180,0 db 0,0,138,6,70,131,240,255,15,132,157,0,0,0,15,137 db 201,0,0,0,209,248,137,197,115,40,0,219,117,15,59,116 db 36,4,15,131,142,0,0,0,138,30,70,16,219,17,201,235 db 76,0,219,117,11,59,116,36,4,115,123,138,30,70,16,219 db 114,216,65,0,219,117,11,59,116,36,4,115,105,138,30,70 db 16,219,114,198,0,219,117,11,59,116,36,4,115,88,138,30 db 70,16,219,17,201,120,111,0,219,115,233,117,13,59,116,36 db 4,115,67,138,30,70,16,219,115,218,131,193,2,129,253,0 db 251,255,255,131,209,2,137,250,1,202,114,74,59,20,36,119 db 69,137,250,1,234,115,70,59,84,36,44,114,64,138,2,66 db 136,7,71,73,117,247,233,206,254,255,255,59,60,36,119,38 db 59,116,36,4,118,7,184,55,255,255,255,235,5,116,3,72 db 176,51,43,124,36,44,139,84,36,48,137,58,131,196,8,90 db 89,91,94,95,93,195,184,54,255,255,255,235,229,184,53,255 db 255,255,235,222,131,200,255,235,217,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n5.asm0000644000175000001440000000445210077051333014312 00000000000000; n2e_d_n5.asm -- ucl_nrv2e_decompress_asm_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_le16) globalf(F(ucl_nrv2e_decompress_asm_le16)) _ucl_nrv2e_decompress_asm_le16: F(ucl_nrv2e_decompress_asm_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,23,144,144,144,144,144,144,144,144,144,144 db 138,6,70,136,7,71,102,1,219,115,13,117,243,102,139,30 db 131,238,254,102,17,219,114,232,184,1,0,0,0,102,1,219 db 117,9,102,139,30,131,238,254,102,17,219,17,192,102,1,219 db 115,13,117,30,102,139,30,131,238,254,102,17,219,114,19,72 db 102,1,219,117,9,102,139,30,131,238,254,102,17,219,17,192 db 235,203,131,232,3,114,35,193,224,8,138,6,70,131,240,255 db 116,120,209,248,137,197,115,34,102,1,219,117,9,102,139,30 db 131,238,254,102,17,219,17,201,235,70,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,222,65,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,114,205,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,201,102,1,219,115,235 db 117,11,102,139,30,131,238,254,102,17,219,115,222,131,193,2 db 129,253,0,251,255,255,131,209,2,141,20,47,138,2,66,136 db 7,71,73,117,247,233,44,255,255,255,137,227,139,83,28,3 db 83,32,57,214,116,7,72,176,55,119,2,176,51,43,123,36 db 139,83,40,137,58,90,89,91,94,95,93,195,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_n6.asm0000644000175000001440000000611710077051333014313 00000000000000; n2e_d_n6.asm -- ucl_nrv2e_decompress_asm_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_safe_le16)) _ucl_nrv2e_decompress_asm_safe_le16: F(ucl_nrv2e_decompress_asm_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,230,1,0,0,137 db 3,137,240,3,67,44,15,130,217,1,0,0,137,67,4,131 db 232,2,15,130,159,1,0,0,57,240,15,130,151,1,0,0 db 137,67,8,131,205,255,49,201,235,38,144,144,144,144,144,144 db 59,116,36,4,15,131,125,1,0,0,59,60,36,15,131,148 db 1,0,0,138,6,70,136,7,71,102,1,219,115,23,117,224 db 59,116,36,8,15,135,93,1,0,0,102,139,30,131,238,254 db 102,17,219,114,203,184,1,0,0,0,102,1,219,117,19,59 db 116,36,8,15,135,62,1,0,0,102,139,30,131,238,254,102 db 17,219,17,192,15,136,84,1,0,0,102,1,219,115,23,117 db 56,59,116,36,8,15,135,28,1,0,0,102,139,30,131,238 db 254,102,17,219,114,35,72,102,1,219,117,19,59,116,36,8 db 15,135,1,1,0,0,102,139,30,131,238,254,102,17,219,17 db 192,15,136,23,1,0,0,235,161,61,2,0,0,1,15,135 db 10,1,0,0,131,232,3,114,65,193,224,8,59,116,36,4 db 15,131,209,0,0,0,138,6,70,131,240,255,15,132,186,0 db 0,0,15,137,230,0,0,0,209,248,137,197,115,54,102,1 db 219,117,19,59,116,36,8,15,135,170,0,0,0,102,139,30 db 131,238,254,102,17,219,17,201,235,100,102,1,219,117,19,59 db 116,36,8,15,135,142,0,0,0,102,139,30,131,238,254,102 db 17,219,114,202,65,102,1,219,117,15,59,116,36,8,119,119 db 102,139,30,131,238,254,102,17,219,114,179,102,1,219,117,15 db 59,116,36,8,119,97,102,139,30,131,238,254,102,17,219,17 db 201,120,116,102,1,219,115,227,117,17,59,116,36,8,119,71 db 102,139,30,131,238,254,102,17,219,115,208,131,193,2,129,253 db 0,251,255,255,131,209,2,137,250,1,202,114,74,59,20,36 db 119,69,137,250,1,234,115,70,59,84,36,48,114,64,138,2 db 66,136,7,71,73,117,247,233,157,254,255,255,59,60,36,119 db 38,59,116,36,4,118,7,184,55,255,255,255,235,5,116,3 db 72,176,51,43,124,36,48,139,84,36,52,137,58,131,196,12 db 90,89,91,94,95,93,195,184,54,255,255,255,235,229,184,53 db 255,255,255,235,222,131,200,255,235,217,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s1.asm0000644000175000001440000000421710077051333014312 00000000000000; n2e_d_s1.asm -- ucl_nrv2e_decompress_asm_small_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_le32) globalf(F(ucl_nrv2e_decompress_asm_small_le32)) _ucl_nrv2e_decompress_asm_small_le32: F(ucl_nrv2e_decompress_asm_small_le32): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,5,164,1,219,117,7,139,30,131,238,252 db 17,219,114,242,49,192,64,1,219,117,7,139,30,131,238,252 db 17,219,17,192,1,219,117,7,139,30,131,238,252,17,219,114 db 16,72,1,219,117,7,139,30,131,238,252,17,219,17,192,235 db 214,131,232,3,114,30,193,224,8,172,131,240,255,116,98,209 db 248,137,197,115,28,1,219,117,7,139,30,131,238,252,17,219 db 17,201,235,56,1,219,117,7,139,30,131,238,252,17,219,114 db 228,65,1,219,117,7,139,30,131,238,252,17,219,114,214,1 db 219,117,7,139,30,131,238,252,17,219,17,201,1,219,117,7 db 139,30,131,238,252,17,219,115,230,131,193,2,129,253,0,251 db 255,255,131,209,2,86,141,52,47,243,164,94,233,86,255,255 db 255,137,227,139,83,28,3,83,32,57,214,116,7,72,176,55 db 119,2,176,51,43,123,36,139,83,40,137,58,90,89,91,94 db 95,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s2.asm0000644000175000001440000000570410077051333014315 00000000000000; n2e_d_s2.asm -- ucl_nrv2e_decompress_asm_small_safe_le32 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_safe_le32) globalf(F(ucl_nrv2e_decompress_asm_small_safe_le32)) _ucl_nrv2e_decompress_asm_small_safe_le32: F(ucl_nrv2e_decompress_asm_small_safe_le32): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,175,1,0,0,137 db 3,137,240,3,67,44,15,130,162,1,0,0,137,67,4,131 db 232,4,15,130,104,1,0,0,57,240,15,130,96,1,0,0 db 137,67,8,131,205,255,49,201,235,24,59,116,36,4,15,131 db 76,1,0,0,59,60,36,15,131,99,1,0,0,164,1,219 db 117,17,59,116,36,8,15,135,52,1,0,0,139,30,131,238 db 252,17,219,114,213,49,192,64,1,219,117,17,59,116,36,8 db 15,135,26,1,0,0,139,30,131,238,252,17,219,17,192,15 db 136,50,1,0,0,1,219,117,17,59,116,36,8,15,135,253 db 0,0,0,139,30,131,238,252,17,219,114,32,72,1,219,117 db 17,59,116,36,8,15,135,229,0,0,0,139,30,131,238,252 db 17,219,17,192,15,136,253,0,0,0,235,172,61,2,0,0 db 1,15,135,240,0,0,0,131,232,3,114,60,193,224,8,59 db 116,36,4,15,131,183,0,0,0,172,131,240,255,15,132,162 db 0,0,0,15,137,206,0,0,0,209,248,137,197,115,44,1 db 219,117,17,59,116,36,8,15,135,147,0,0,0,139,30,131 db 238,252,17,219,17,201,235,82,1,219,117,13,59,116,36,8 db 119,126,139,30,131,238,252,17,219,114,212,65,1,219,117,13 db 59,116,36,8,119,106,139,30,131,238,252,17,219,114,192,1 db 219,117,13,59,116,36,8,119,87,139,30,131,238,252,17,219 db 17,201,120,108,1,219,117,13,59,116,36,8,119,66,139,30 db 131,238,252,17,219,115,216,131,193,2,129,253,0,251,255,255 db 131,209,2,137,242,137,254,1,206,114,69,59,52,36,119,64 db 137,254,1,238,115,65,59,116,36,48,114,59,243,164,137,214 db 233,201,254,255,255,59,60,36,119,38,59,116,36,4,118,7 db 184,55,255,255,255,235,5,116,3,72,176,51,43,124,36,48 db 139,84,36,52,137,58,131,196,12,90,89,91,94,95,93,195 db 184,54,255,255,255,235,229,184,53,255,255,255,235,222,131,200 db 255,235,217,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s3.asm0000644000175000001440000000406510077051333014315 00000000000000; n2e_d_s3.asm -- ucl_nrv2e_decompress_asm_small_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_8) globalf(F(ucl_nrv2e_decompress_asm_small_8)) _ucl_nrv2e_decompress_asm_small_8: F(ucl_nrv2e_decompress_asm_small_8): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,249,235,5,164,0,219,117,5,138,30,70,16 db 219,114,244,49,192,64,0,219,117,5,138,30,70,16,219,17 db 192,0,219,117,5,138,30,70,16,219,114,14,72,0,219,117 db 5,138,30,70,16,219,17,192,235,220,131,232,3,114,28,193 db 224,8,172,131,240,255,116,88,209,248,137,197,115,24,0,219 db 117,5,138,30,70,16,219,17,201,235,48,0,219,117,5,138 db 30,70,16,219,114,232,65,0,219,117,5,138,30,70,16,219 db 114,220,0,219,117,5,138,30,70,16,219,17,201,0,219,117 db 5,138,30,70,16,219,115,234,131,193,2,129,253,0,251,255 db 255,131,209,2,86,141,52,47,243,164,94,233,104,255,255,255 db 137,227,139,83,28,3,83,32,57,214,116,7,72,176,55,119 db 2,176,51,43,123,36,139,83,40,137,58,90,89,91,94,95 db 93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s4.asm0000644000175000001440000000536610077051333014323 00000000000000; n2e_d_s4.asm -- ucl_nrv2e_decompress_asm_small_safe_8 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_safe_8) globalf(F(ucl_nrv2e_decompress_asm_small_safe_8)) _ucl_nrv2e_decompress_asm_small_safe_8: F(ucl_nrv2e_decompress_asm_small_safe_8): db 85,87,86,83,81,82,131,236,8,137,227,252,139,115,36,139 db 123,44,137,248,139,83,48,3,2,15,130,137,1,0,0,137 db 3,137,240,3,67,40,15,130,124,1,0,0,137,67,4,131 db 205,255,49,201,235,24,59,116,36,4,15,131,58,1,0,0 db 59,60,36,15,131,81,1,0,0,164,0,219,117,15,59,116 db 36,4,15,131,34,1,0,0,138,30,70,16,219,114,215,49 db 192,64,0,219,117,15,59,116,36,4,15,131,10,1,0,0 db 138,30,70,16,219,17,192,15,136,36,1,0,0,0,219,117 db 15,59,116,36,4,15,131,239,0,0,0,138,30,70,16,219 db 114,30,72,0,219,117,15,59,116,36,4,15,131,217,0,0 db 0,138,30,70,16,219,17,192,15,136,243,0,0,0,235,178 db 61,2,0,0,1,15,135,230,0,0,0,131,232,3,114,58 db 193,224,8,59,116,36,4,15,131,173,0,0,0,172,131,240 db 255,15,132,152,0,0,0,15,137,196,0,0,0,209,248,137 db 197,115,40,0,219,117,15,59,116,36,4,15,131,137,0,0 db 0,138,30,70,16,219,17,201,235,74,0,219,117,11,59,116 db 36,4,115,118,138,30,70,16,219,114,216,65,0,219,117,11 db 59,116,36,4,115,100,138,30,70,16,219,114,198,0,219,117 db 11,59,116,36,4,115,83,138,30,70,16,219,17,201,120,106 db 0,219,117,11,59,116,36,4,115,64,138,30,70,16,219,115 db 220,131,193,2,129,253,0,251,255,255,131,209,2,137,242,137 db 254,1,206,114,69,59,52,36,119,64,137,254,1,238,115,65 db 59,116,36,44,114,59,243,164,137,214,233,219,254,255,255,59 db 60,36,119,38,59,116,36,4,118,7,184,55,255,255,255,235 db 5,116,3,72,176,51,43,124,36,44,139,84,36,48,137,58 db 131,196,8,90,89,91,94,95,93,195,184,54,255,255,255,235 db 229,184,53,255,255,255,235,222,131,200,255,235,217,144,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s5.asm0000644000175000001440000000432310077051333014314 00000000000000; n2e_d_s5.asm -- ucl_nrv2e_decompress_asm_small_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_le16) globalf(F(ucl_nrv2e_decompress_asm_small_le16)) _ucl_nrv2e_decompress_asm_small_le16: F(ucl_nrv2e_decompress_asm_small_le16): db 85,87,86,83,81,82,252,139,116,36,28,139,124,36,36,131 db 205,255,49,201,235,6,164,102,1,219,117,9,102,139,30,131 db 238,254,102,17,219,114,239,49,192,64,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,17,192,102,1,219,117,9,102 db 139,30,131,238,254,102,17,219,114,19,72,102,1,219,117,9 db 102,139,30,131,238,254,102,17,219,17,192,235,205,131,232,3 db 114,33,193,224,8,172,131,240,255,116,113,209,248,137,197,115 db 34,102,1,219,117,9,102,139,30,131,238,254,102,17,219,17 db 201,235,68,102,1,219,117,9,102,139,30,131,238,254,102,17 db 219,114,222,65,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,114,205,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,17,201,102,1,219,117,9,102,139,30,131,238,254,102 db 17,219,115,224,131,193,2,129,253,0,251,255,255,131,209,2 db 86,141,52,47,243,164,94,233,59,255,255,255,137,227,139,83 db 28,3,83,32,57,214,116,7,72,176,55,119,2,176,51,43 db 123,36,139,83,40,137,58,90,89,91,94,95,93,195,144,144 ucl-1.03/asm/i386/src_nasm/n2e_d_s6.asm0000644000175000001440000000610210077051333014312 00000000000000; n2e_d_s6.asm -- ucl_nrv2e_decompress_asm_small_safe_le16 ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_nrv2e_decompress_asm_small_safe_le16) globalf(F(ucl_nrv2e_decompress_asm_small_safe_le16)) _ucl_nrv2e_decompress_asm_small_safe_le16: F(ucl_nrv2e_decompress_asm_small_safe_le16): db 85,87,86,83,81,82,131,236,12,137,227,252,139,115,40,139 db 123,48,137,248,139,83,52,3,2,15,130,206,1,0,0,137 db 3,137,240,3,67,44,15,130,193,1,0,0,137,67,4,131 db 232,2,15,130,135,1,0,0,57,240,15,130,127,1,0,0 db 137,67,8,131,205,255,49,201,235,25,59,116,36,4,15,131 db 107,1,0,0,59,60,36,15,131,130,1,0,0,164,102,1 db 219,117,19,59,116,36,8,15,135,82,1,0,0,102,139,30 db 131,238,254,102,17,219,114,210,49,192,64,102,1,219,117,19 db 59,116,36,8,15,135,53,1,0,0,102,139,30,131,238,254 db 102,17,219,17,192,15,136,75,1,0,0,102,1,219,117,19 db 59,116,36,8,15,135,21,1,0,0,102,139,30,131,238,254 db 102,17,219,114,35,72,102,1,219,117,19,59,116,36,8,15 db 135,250,0,0,0,102,139,30,131,238,254,102,17,219,17,192 db 15,136,16,1,0,0,235,163,61,2,0,0,1,15,135,3 db 1,0,0,131,232,3,114,63,193,224,8,59,116,36,4,15 db 131,202,0,0,0,172,131,240,255,15,132,181,0,0,0,15 db 137,225,0,0,0,209,248,137,197,115,54,102,1,219,117,19 db 59,116,36,8,15,135,165,0,0,0,102,139,30,131,238,254 db 102,17,219,17,201,235,98,102,1,219,117,19,59,116,36,8 db 15,135,137,0,0,0,102,139,30,131,238,254,102,17,219,114 db 202,65,102,1,219,117,15,59,116,36,8,119,114,102,139,30 db 131,238,254,102,17,219,114,179,102,1,219,117,15,59,116,36 db 8,119,92,102,139,30,131,238,254,102,17,219,17,201,120,111 db 102,1,219,117,15,59,116,36,8,119,68,102,139,30,131,238 db 254,102,17,219,115,210,131,193,2,129,253,0,251,255,255,131 db 209,2,137,242,137,254,1,206,114,69,59,52,36,119,64,137 db 254,1,238,115,65,59,116,36,48,114,59,243,164,137,214,233 db 170,254,255,255,59,60,36,119,38,59,116,36,4,118,7,184 db 55,255,255,255,235,5,116,3,72,176,51,43,124,36,48,139 db 84,36,52,137,58,131,196,12,90,89,91,94,95,93,195,184 db 54,255,255,255,235,229,184,53,255,255,255,235,222,131,200,255 db 235,217,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/rdtsc.asm0000644000175000001440000000244110077051333014034 00000000000000; rdtsc.asm -- ucl_rdtsc_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_rdtsc_asm) globalf(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 82,81,139,76,36,12,248,15,49,137,1,137,81,4,89,90 db 195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/src_nasm/rdtsca.asm0000644000175000001440000000246010077051333014176 00000000000000; rdtsca.asm -- ucl_rdtsc_add_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_rdtsc_add_asm) globalf(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 82,81,139,76,36,12,248,15,49,1,1,131,210,0,1,81 db 4,89,90,195,144,144,144,144,144,144,144,144,144,144,144,144 ucl-1.03/asm/i386/obj/0000777000175000001440000000000010077051333011243 500000000000000ucl-1.03/asm/i386/obj/elf32/0000777000175000001440000000000010077051333012156 500000000000000ucl-1.03/asm/i386/obj/elf32/cpuid.o0000644000175000001440000000103210077051333013352 00000000000000ELFô4(UWVSQR‰åƒäüü‹}ºèDt:Áâè:t01ÀèB¸è8¸€è.¸€è$1À‰ìZY[^_]ÃHó«HëX‰Á1ÐPœX1È!ÐÃ1Û1É1Ò¢«‰‰O‰WƒÇ Ã.symtab.strtab.shstrtab.text@Ð!¼@ ü_ucl_cpuid_asmucl_cpuid_asmucl-1.03/asm/i386/obj/elf32/crc_asm.o0000644000175000001440000000113210077051333013656 00000000000000ELF44(UWVSQR1À‹t$ ‹L$$‹|$(…ö„Ÿ‹D$÷Ð…É„÷Æt2F¶ØÁè3ŸIué‰ÊÁêt]´&3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3ŸJu«ƒát2F¶ØÁè3ŸIuñ÷ÐZY[^_]Ã.symtab.strtab.shstrtab.text@Ð!ü@ <_ucl_crc32_asmucl_crc32_asmucl-1.03/asm/i386/obj/elf32/crcs_asm.o0000644000175000001440000000104610077051333014045 00000000000000ELFô4(Q1À‹L$ ã}WSè@d·È n;¬0Ù&AÜvôQkkXa²M _ucl_nrv2b_decompress_asm_le32ucl_nrv2b_decompress_asm_le32ucl-1.03/asm/i386/obj/elf32/n2b_d_n2.o0000644000175000001440000000154410077051333013641 00000000000000ELF4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Љ‰ðC,‚}‰Cƒè‚C9ð‚;‰CƒÍÿ1Éë%;t$ƒ!;<$ƒ8ŠFˆGÛsuá;t$‡‹ƒîüÛrθÛu;t$‡æ‹ƒîüÛÀˆþÛsßu;t$‡Ç‹ƒîüÛsÊ=‡ÚƒèrÁà;t$ƒ¡ŠFƒðÿ„ЉÅÛu;t$‡…‹ƒîüÛÉÛu ;t$wr‹ƒîüÛÉu.AÛu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éùþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@°ð!Ü@ H%_ucl_nrv2b_decompress_asm_safe_le32ucl_nrv2b_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/elf32/n2b_d_n3.o0000644000175000001440000000120410077051333013633 00000000000000ELFD4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛsñuŠFÛsèƒèr ÁàŠFƒðÿtP‰ÅÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýóÿÿƒÑ/ŠBˆGIu÷évÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@à ! @ L8_ucl_nrv2b_decompress_asm_8ucl_nrv2b_decompress_asm_8ucl-1.03/asm/i386/obj/elf32/n2b_d_n4.o0000644000175000001440000000147610077051333013647 00000000000000ELFô4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚d‰‰ðC(‚W‰CƒÍÿ1Éë);t$ƒ ;<$ƒ"ŠFˆGÛsuá;t$ƒìŠFÛrиÛu;t$ƒÒŠFÛÀˆìÛsáu;t$ƒµŠFÛsÎ=‡ÊƒèrÁà;t$ƒ‘ŠFƒðÿt~‰ÅÛu ;t$s}ŠFÛÉÛu ;t$slŠFÛÉu*AÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@Ð!¼@ üB"_ucl_nrv2b_decompress_asm_safe_8ucl_nrv2b_decompress_asm_safe_8ucl-1.03/asm/i386/obj/elf32/n2b_d_n5.o0000644000175000001440000000125210077051333013640 00000000000000ELFd4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛsëu f‹ƒîþfÛsÞƒèr ÁàŠFƒðÿtd‰ÅfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýóÿÿƒÑ/ŠBˆGIu÷éSÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@@!,@ l> _ucl_nrv2b_decompress_asm_le16ucl_nrv2b_decompress_asm_le16ucl-1.03/asm/i386/obj/elf32/n2b_d_n6.o0000644000175000001440000000160410077051333013642 00000000000000ELF44(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ÿ‰‰ðC,‚’‰Cƒè‚X9ð‚P‰CƒÍÿ1Éë&;t$ƒ6;<$ƒMŠFˆGfÛsuà;t$‡f‹ƒîþfÛr˸fÛu;t$‡÷f‹ƒîþfÛÀˆ fÛsÛu;t$‡Õf‹ƒîþfÛsÄ=‡æƒèrÁà;t$ƒ­ŠFƒðÿ„–‰ÅfÛu;t$‡f‹ƒîþfÛÉfÛu;t$wzf‹ƒîþfÛÉu4AfÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éäþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@Ð!ü@ <H%_ucl_nrv2b_decompress_asm_safe_le16ucl_nrv2b_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/elf32/n2b_d_s1.o0000644000175000001440000000120610077051333013640 00000000000000ELF44(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛsæƒèr ÁଃðÿtQ‰ÅÛu‹ƒîüÛÉÛu‹ƒîüÛÉuAÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýóÿÿƒÑV4/ó¤^éwÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@Ð!ü@ <J&_ucl_nrv2b_decompress_asm_small_le32ucl_nrv2b_decompress_asm_small_le32ucl-1.03/asm/i386/obj/elf32/n2b_d_s2.o0000644000175000001440000000154010077051333013642 00000000000000ELF4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚r‰‰ðC,‚e‰Cƒè‚+9ð‚#‰CƒÍÿ1Éë;t$ƒ;<$ƒ&¤Ûu;t$‡÷‹ƒîüÛrÕ1À@Ûu;t$‡Ý‹ƒîüÛÀˆõÛu;t$‡À‹ƒîüÛsÌ=‡ÓƒèrÁà;t$ƒš¬ƒðÿ„…‰ÅÛu;t$‡€‹ƒîüÛÉÛu ;t$wm‹ƒîüÛÉu,AÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@ à!Ì@  T+_ucl_nrv2b_decompress_asm_small_safe_le32ucl_nrv2b_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/elf32/n2b_d_s3.o0000644000175000001440000000116010077051333013641 00000000000000ELF$4(UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛsêƒèr ÁଃðÿtF‰ÅÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛuŠFÛsêƒÁýóÿÿƒÑV4/ó¤^눉ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@À!ì@ ,D#_ucl_nrv2b_decompress_asm_small_8ucl_nrv2b_decompress_asm_small_8ucl-1.03/asm/i386/obj/elf32/n2b_d_s4.o0000644000175000001440000000145210077051333013646 00000000000000ELFÔ4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚H‰‰ðC(‚;‰CƒÍÿ1Éë;t$ƒù;<$ƒ¤Ûu;t$ƒáŠFÛr×1À@Ûu;t$ƒÉŠFÛÀˆãÛu;t$ƒ®ŠFÛsÐ=‡ÃƒèrÁà;t$ƒŠ¬ƒðÿty‰ÅÛu ;t$sxŠFÛÉÛu ;t$sgŠFÛÉu(AÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰Öéÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@p°!œ@ ÜN(_ucl_nrv2b_decompress_asm_small_safe_8ucl_nrv2b_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/elf32/n2b_d_s5.o0000644000175000001440000000122610077051333013646 00000000000000ELFD4(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛsàƒèr Áଃðÿt]‰ÅfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu$AfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýóÿÿƒÑV4/ó¤^ébÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@à ! @ LJ&_ucl_nrv2b_decompress_asm_small_le16ucl_nrv2b_decompress_asm_small_le16ucl-1.03/asm/i386/obj/elf32/n2b_d_s6.o0000644000175000001440000000156010077051333013650 00000000000000ELF4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚‡‰‰ðC,‚z‰Cƒè‚@9ð‚8‰CƒÍÿ1Éë;t$ƒ$;<$ƒ;¤fÛu;t$‡ f‹ƒîþfÛrÒ1À@fÛu;t$‡îf‹ƒîþfÛÀˆfÛu;t$‡Îf‹ƒîþfÛsÆ=‡ßƒèrÁà;t$ƒ¦¬ƒðÿ„‘‰ÅfÛu;t$‡‹f‹ƒîþfÛÉfÛu;t$wuf‹ƒîþfÛÉu2AfÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéñþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@°ð!Ü@ T+_ucl_nrv2b_decompress_asm_small_safe_le16ucl_nrv2b_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/elf32/n2d_d_f1.o0000644000175000001440000000132410077051333013626 00000000000000ELF„4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèrÁàŠFƒðÿtzÑø‰Åë Ûu‹ƒîüÛÉÛu‹ƒîüÛÉu AÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷éOÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé6ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ `!L@ ŒH%_ucl_nrv2d_decompress_asm_fast_le32ucl_nrv2d_decompress_asm_fast_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_f2.o0000644000175000001440000000167610077051333013641 00000000000000ELFd4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ú‰‰ðC,‚͉Cƒè‚“9ð‚‹‰CƒÍÿ1Éë%;t$ƒq;<$ƒˆŠFˆGÛsuá;t$‡R‹ƒîüÛrθÛu;t$‡6‹ƒîüÛÀˆNÛsu3;t$‡‹ƒîüÛr HÛu;t$‡ÿ‹ƒîüÛÀˆëª=‡ ƒèr%Áà;t$ƒÑŠFƒðÿ„º‰æÑø‰ÅëÛu;t$‡«‹ƒîüÛÉÛu;t$‡”‹ƒîüÛÉu2AÛu ;t$w~‹ƒîüÛɈÛsãu;t$wc‹ƒîüÛsÒƒÁýûÿÿƒÑ‰úÊrh;$wc‰úêsd;T$0r^ƒýüvŠBˆGIu÷éÂþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé©þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@@!,@ lR*_ucl_nrv2d_decompress_asm_fast_safe_le32ucl_nrv2d_decompress_asm_fast_safe_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_f3.o0000644000175000001440000000127610077051333013636 00000000000000ELFt4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿtrÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é_ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1ÉéFÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@P!<@ |B"_ucl_nrv2d_decompress_asm_fast_8ucl_nrv2d_decompress_asm_fast_8ucl-1.03/asm/i386/obj/elf32/n2d_d_f4.o0000644000175000001440000000163010077051333013631 00000000000000ELFD4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚º‰‰ðC(‚­‰CƒÍÿ1Éë);t$ƒa;<$ƒxŠFˆGÛsuá;t$ƒBŠFÛrиÛu;t$ƒ(ŠFÛÀˆBÛsu/;t$ƒ ŠFÛrHÛu;t$ƒõŠFÛÀˆë°=‡ƒèr%Áà;t$ƒÉŠFƒðÿ„²‰ÞÑø‰ÅëÛu;t$ƒ£ŠFÛÉÛu;t$ƒŽŠFÛÉu.AÛu ;t$szŠFÛɈÛsåu ;t$saŠFÛsÖƒÁýûÿÿƒÑ‰úÊrh;$wc‰úêsd;T$,r^ƒýüvŠBˆGIu÷éÒþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé¹þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@à ! @ LL'_ucl_nrv2d_decompress_asm_fast_safe_8ucl_nrv2d_decompress_asm_fast_safe_8ucl-1.03/asm/i386/obj/elf32/n2d_d_f5.o0000644000175000001440000000134410077051333013634 00000000000000ELF”4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èrÁàŠFƒðÿ„†Ñø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é3ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@0p!\@ œH%_ucl_nrv2d_decompress_asm_fast_le16ucl_nrv2d_decompress_asm_fast_le16ucl-1.03/asm/i386/obj/elf32/n2d_d_f6.o0000644000175000001440000000173610077051333013642 00000000000000ELF„4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ö‰‰ðC,‚é‰Cƒè‚¯9ð‚§‰CƒÍÿ1Éë&;t$ƒ;<$ƒ¤ŠFˆGfÛsuà;t$‡mf‹ƒîþfÛr˸fÛu;t$‡Nf‹ƒîþfÛÀˆdfÛsu8;t$‡,f‹ƒîþfÛr#HfÛu;t$‡f‹ƒîþfÛÀˆ'ë¡=‡ƒèr%Áà;t$ƒáŠFƒðÿ„ʉöÑø‰ÅëfÛu;t$‡ºf‹ƒîþfÛÉfÛu;t$‡ f‹ƒîþfÛÉu _ucl_nrv2d_decompress_asm_le32ucl_nrv2d_decompress_asm_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_n2.o0000644000175000001440000000162410077051333013642 00000000000000ELFD4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚´‰‰ðC,‚§‰Cƒè‚m9ð‚e‰CƒÍÿ1Éë%;t$ƒK;<$ƒbŠFˆGÛsuá;t$‡,‹ƒîüÛrθÛu;t$‡‹ƒîüÛÀˆ(Ûsu3;t$‡ñ‹ƒîüÛr HÛu;t$‡Ù‹ƒîüÛÀˆñëª=‡äƒèr%Áà;t$ƒ«ŠFƒðÿ„”‰ÀÑø‰ÅëÛu;t$‡…‹ƒîüÛÉÛu ;t$wr‹ƒîüÛÉu.AÛu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éÏþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@à ! @ LH%_ucl_nrv2d_decompress_asm_safe_le32ucl_nrv2d_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_n3.o0000644000175000001440000000122410077051333013637 00000000000000ELFT4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿtTÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ŠBˆGIu÷édÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ð0!@ \8_ucl_nrv2d_decompress_asm_8ucl_nrv2d_decompress_asm_8ucl-1.03/asm/i386/obj/elf32/n2d_d_n4.o0000644000175000001440000000155610077051333013650 00000000000000ELF$4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚‰‰ðC(‚ƒ‰CƒÍÿ1Éë);t$ƒ7;<$ƒNŠFˆGÛsuá;t$ƒŠFÛrиÛu;t$ƒþŠFÛÀˆÛsu/;t$ƒáŠFÛrHÛu;t$ƒËŠFÛÀˆåë°=‡Øƒèr%Áà;t$ƒŸŠFƒðÿ„ˆ‰´Ñø‰ÅëÛu ;t$s}ŠFÛÉÛu ;t$slŠFÛÉu*AÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éãþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@À!ì@ ,B"_ucl_nrv2d_decompress_asm_safe_8ucl_nrv2d_decompress_asm_safe_8ucl-1.03/asm/i386/obj/elf32/n2d_d_n5.o0000644000175000001440000000127210077051333013644 00000000000000ELFt4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èrÁàŠFƒðÿthÑø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ŠBˆGIu÷é<ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@P!<@ |> _ucl_nrv2d_decompress_asm_le16ucl_nrv2d_decompress_asm_le16ucl-1.03/asm/i386/obj/elf32/n2d_d_n6.o0000644000175000001440000000164410077051333013650 00000000000000ELFT4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚̉‰ðC,‚¿‰Cƒè‚…9ð‚}‰CƒÍÿ1Éë&;t$ƒc;<$ƒzŠFˆGfÛsuà;t$‡Cf‹ƒîþfÛr˸fÛu;t$‡$f‹ƒîþfÛÀˆ:fÛsu8;t$‡f‹ƒîþfÛr#HfÛu;t$‡çf‹ƒîþfÛÀˆýë¡=‡ðƒèr%Áà;t$ƒ·ŠFƒðÿ„ ‰ÌÑø‰ÅëfÛu;t$‡f‹ƒîþfÛÉfÛu;t$wzf‹ƒîþfÛÉu4AfÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷é·þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@ð0!@ \H%_ucl_nrv2d_decompress_asm_safe_le16ucl_nrv2d_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/elf32/n2d_d_s1.o0000644000175000001440000000122610077051333013644 00000000000000ELFD4(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛrHÛu‹ƒîüÛÀëÖƒèrÁଃðÿtUÑø‰Åë Ûu‹ƒîüÛÉÛu‹ƒîüÛÉuAÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýûÿÿƒÑV4/ó¤^écÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@à ! @ LJ&_ucl_nrv2d_decompress_asm_small_le32ucl_nrv2d_decompress_asm_small_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_s2.o0000644000175000001440000000160010077051333013641 00000000000000ELF$4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚œ‰‰ðC,‚‰Cƒè‚U9ð‚M‰CƒÍÿ1Éë;t$ƒ9;<$ƒP¤Ûu;t$‡!‹ƒîüÛrÕ1À@Ûu;t$‡‹ƒîüÛÀˆÛu;t$‡ê‹ƒîüÛr HÛu;t$‡Ò‹ƒîüÛÀˆêë¬=‡Ýƒèr#Áà;t$ƒ¤¬ƒðÿ„‰»Ñø‰ÅëÛu;t$‡€‹ƒîüÛÉÛu ;t$wm‹ƒîüÛÉu,AÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÜþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@À!ì@ ,T+_ucl_nrv2d_decompress_asm_small_safe_le32ucl_nrv2d_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/elf32/n2d_d_s3.o0000644000175000001440000000120010077051333013636 00000000000000ELF44(UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛrHÛuŠFÛÀë܃èrÁଃðÿtMÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛuŠFÛsêƒÁýûÿÿƒÑV4/ó¤^ésÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@Ð!ü@ <D#_ucl_nrv2d_decompress_asm_small_8ucl_nrv2d_decompress_asm_small_8ucl-1.03/asm/i386/obj/elf32/n2d_d_s4.o0000644000175000001440000000153210077051333013647 00000000000000ELF4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚t‰‰ðC(‚g‰CƒÍÿ1Éë;t$ƒ%;<$ƒ<¤Ûu;t$ƒ ŠFÛr×1À@Ûu;t$ƒõŠFÛÀˆÛu;t$ƒÚŠFÛrHÛu;t$ƒÄŠFÛÀˆÞë²=‡Ñƒèr#Áà;t$ƒ˜¬ƒðÿ„ƒ‰¯Ñø‰ÅëÛu ;t$sxŠFÛÉÛu ;t$sgŠFÛÉu(AÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰Öéðþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@ à!Ì@  N(_ucl_nrv2d_decompress_asm_small_safe_8ucl_nrv2d_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/elf32/n2d_d_s5.o0000644000175000001440000000124610077051333013652 00000000000000ELFT4(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë̓èrÁଃðÿtaÑø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu$AfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýûÿÿƒÑV4/ó¤^éKÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ð0!@ \J&_ucl_nrv2d_decompress_asm_small_le16ucl_nrv2d_decompress_asm_small_le16ucl-1.03/asm/i386/obj/elf32/n2d_d_s6.o0000644000175000001440000000164010077051333013651 00000000000000ELFD4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚´‰‰ðC,‚§‰Cƒè‚m9ð‚e‰CƒÍÿ1Éë;t$ƒQ;<$ƒh¤fÛu;t$‡8f‹ƒîþfÛrÒ1À@fÛu;t$‡f‹ƒîþfÛÀˆ1fÛu;t$‡ûf‹ƒîþfÛr#HfÛu;t$‡àf‹ƒîþfÛÀˆöë£=‡éƒèr#Áà;t$ƒ°¬ƒðÿ„›‰ÇÑø‰ÅëfÛu;t$‡‹f‹ƒîþfÛÉfÛu;t$wuf‹ƒîþfÛÉu2AfÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÄþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@à ! @ LT+_ucl_nrv2d_decompress_asm_small_safe_le16ucl_nrv2d_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_f1.o0000644000175000001440000000134410077051333013631 00000000000000ELF”4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèr$ÁàŠFƒðÿ„†Ñø‰ÅsÛu‹ƒîüÛÉë:Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é>ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé&ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@0p!\@ œH%_ucl_nrv2e_decompress_asm_fast_le32ucl_nrv2e_decompress_asm_fast_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_f2.o0000644000175000001440000000173610077051333013637 00000000000000ELF„4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ò‰‰ðC,‚å‰Cƒè‚«9ð‚£‰CƒÍÿ1Éë%;t$ƒ‰;<$ƒ ŠFˆGÛsuá;t$‡j‹ƒîüÛrθÛu;t$‡N‹ƒîüÛÀˆfÛsu3;t$‡/‹ƒîüÛr HÛu;t$‡‹ƒîüÛÀˆ/ëª=‡"ƒèr>Áà;t$ƒéŠFƒðÿ„Ò‰þÑø‰Ås0Ûu;t$‡Ã‹ƒîüÛÉë`Ûu;t$‡ª‹ƒîüÛrÐAÛu;t$‡’‹ƒîüÛr¸Ûu ;t$w‹ƒîüÛɈÛsãu;t$wd‹ƒîüÛsÒƒÁýûÿÿƒÑ‰úÊri;$wd‰úêse;T$0r_ƒýüvŠBˆGIu÷é«þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé‘þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@ `!L@ ŒR*_ucl_nrv2e_decompress_asm_fast_safe_le32ucl_nrv2e_decompress_asm_fast_safe_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_f3.o0000644000175000001440000000127610077051333013637 00000000000000ELFt4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt~Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷éTÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé:ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@P!<@ |B"_ucl_nrv2e_decompress_asm_fast_8ucl_nrv2e_decompress_asm_fast_8ucl-1.03/asm/i386/obj/elf32/n2e_d_f4.o0000644000175000001440000000167010077051333013636 00000000000000ELFd4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚Ή‰ðC(‚Á‰CƒÍÿ1Éë);t$ƒu;<$ƒŒŠFˆGÛsuá;t$ƒVŠFÛrиÛu;t$ƒ<ŠFÛÀˆVÛsu/;t$ƒŠFÛrHÛu;t$ƒ ŠFÛÀˆ#ë°=‡ƒèr<Áà;t$ƒÝŠFƒðÿ„ƉòÑø‰Ås,Ûu;t$ƒ·ŠFÛÉëXÛu;t$ƒ ŠFÛrÔAÛu;t$ƒŠŠFÛr¾Ûu ;t$syŠFÛɈŒÛsåu ;t$s`ŠFÛsÖƒÁýûÿÿƒÑ‰úÊrg;$wb‰úêsc;T$,r]ƒýüvŠBˆGIu÷é½þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé¥þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@@!,@ lL'_ucl_nrv2e_decompress_asm_fast_safe_8ucl_nrv2e_decompress_asm_fast_safe_8ucl-1.03/asm/i386/obj/elf32/n2e_d_f5.o0000644000175000001440000000136410077051333013637 00000000000000ELF¤4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr'ÁàŠFƒðÿ„–Ñø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é#ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@@€!l@ ¬H%_ucl_nrv2e_decompress_asm_fast_le16ucl_nrv2e_decompress_asm_fast_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_f6.o0000644000175000001440000000177610077051333013647 00000000000000ELF¤4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚‰‰ðC,‚‰Cƒè‚Ë9ð‚ÉCƒÍÿ1Éë&;t$ƒ©;<$ƒÀŠFˆGfÛsuà;t$‡‰f‹ƒîþfÛr˸fÛu;t$‡jf‹ƒîþfÛÀˆ€fÛsu8;t$‡Hf‹ƒîþfÛr#HfÛu;t$‡-f‹ƒîþfÛÀˆCë¡=‡6ƒèrAÁà;t$ƒýŠFƒðÿ„æ‰Ñø‰Ås6fÛu;t$‡Öf‹ƒîþfÛÉëpfÛu;t$‡ºf‹ƒîþfÛrÊAfÛu;t$‡Ÿf‹ƒîþfÛr¯fÛu;t$‡…f‹ƒîþfÛɈ”fÛsÛu;t$wgf‹ƒîþfÛsȃÁýûÿÿƒÑ‰úÊrj;$we‰úêsf;T$0r`ƒýüvŠBˆGIu÷éŒþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééqþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@@€!l@ ¬R*_ucl_nrv2e_decompress_asm_fast_safe_le16ucl_nrv2e_decompress_asm_fast_safe_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_n1.o0000644000175000001440000000127210077051333013641 00000000000000ELFt4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèr ÁàŠFƒðÿtiÑø‰ÅsÛu‹ƒîüÛÉë:Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ŠBˆGIu÷éGÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@P!<@ |> _ucl_nrv2e_decompress_asm_le32ucl_nrv2e_decompress_asm_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_n2.o0000644000175000001440000000164410077051333013645 00000000000000ELFT4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ˉ‰ðC,‚¾‰Cƒè‚„9ð‚|‰CƒÍÿ1Éë%;t$ƒb;<$ƒyŠFˆGÛsuá;t$‡C‹ƒîüÛrθÛu;t$‡'‹ƒîüÛÀˆ?Ûsu3;t$‡‹ƒîüÛr HÛu;t$‡ð‹ƒîüÛÀˆëª=‡ûƒèr>Áà;t$ƒÂŠFƒðÿ„«‰×Ñø‰Ås0Ûu;t$‡œ‹ƒîüÛÉëXÛu;t$‡ƒ‹ƒîüÛrÐAÛu ;t$wo‹ƒîüÛr¼Ûu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷é¸þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@ð0!@ \H%_ucl_nrv2e_decompress_asm_safe_le32ucl_nrv2e_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_n3.o0000644000175000001440000000122410077051333013640 00000000000000ELFT4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt_Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ŠBˆGIu÷éYÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ð0!@ \8_ucl_nrv2e_decompress_asm_8ucl_nrv2e_decompress_asm_8ucl-1.03/asm/i386/obj/elf32/n2e_d_n4.o0000644000175000001440000000157610077051333013653 00000000000000ELF44(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚¥‰‰ðC(‚˜‰CƒÍÿ1Éë);t$ƒL;<$ƒcŠFˆGÛsuá;t$ƒ-ŠFÛrиÛu;t$ƒŠFÛÀˆ-Ûsu/;t$ƒöŠFÛrHÛu;t$ƒàŠFÛÀˆúë°=‡íƒèr<Áà;t$ƒ´ŠFƒðÿ„‰ÉÑø‰Ås(Ûu;t$ƒŽŠFÛÉëLÛu ;t$s{ŠFÛrØAÛu ;t$siŠFÛrÆÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éÎþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@Ð!ü@ <B"_ucl_nrv2e_decompress_asm_safe_8ucl_nrv2e_decompress_asm_safe_8ucl-1.03/asm/i386/obj/elf32/n2e_d_n5.o0000644000175000001440000000131210077051333013640 00000000000000ELF„4(UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr#ÁàŠFƒðÿtxÑø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ŠBˆGIu÷é,ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ `!L@ Œ> _ucl_nrv2e_decompress_asm_le16ucl_nrv2e_decompress_asm_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_n6.o0000644000175000001440000000170410077051333013646 00000000000000ELFt4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚扉ðC,‚Ù‰Cƒè‚Ÿ9ð‚—‰CƒÍÿ1Éë&;t$ƒ};<$ƒ”ŠFˆGfÛsuà;t$‡]f‹ƒîþfÛr˸fÛu;t$‡>f‹ƒîþfÛÀˆTfÛsu8;t$‡f‹ƒîþfÛr#HfÛu;t$‡f‹ƒîþfÛÀˆë¡=‡ ƒèrAÁà;t$ƒÑŠFƒðÿ„º‰æÑø‰Ås6fÛu;t$‡ªf‹ƒîþfÛÉëdfÛu;t$‡Žf‹ƒîþfÛrÊAfÛu;t$wwf‹ƒîþfÛr³fÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@P!<@ |H%_ucl_nrv2e_decompress_asm_safe_le16ucl_nrv2e_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_s1.o0000644000175000001440000000124610077051333013647 00000000000000ELFT4(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛrHÛu‹ƒîüÛÀëÖƒèrÁଃðÿtbÑø‰ÅsÛu‹ƒîüÛÉë8Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýûÿÿƒÑV4/ó¤^éVÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@ð0!@ \J&_ucl_nrv2e_decompress_asm_small_le32ucl_nrv2e_decompress_asm_small_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_s2.o0000644000175000001440000000164010077051333013646 00000000000000ELFD4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚¯‰‰ðC,‚¢‰Cƒè‚h9ð‚`‰CƒÍÿ1Éë;t$ƒL;<$ƒc¤Ûu;t$‡4‹ƒîüÛrÕ1À@Ûu;t$‡‹ƒîüÛÀˆ2Ûu;t$‡ý‹ƒîüÛr HÛu;t$‡å‹ƒîüÛÀˆýë¬=‡ðƒèr<Áà;t$ƒ·¬ƒðÿ„¢‰ÎÑø‰Ås,Ûu;t$‡“‹ƒîüÛÉëRÛu ;t$w~‹ƒîüÛrÔAÛu ;t$wj‹ƒîüÛrÀÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÉþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@à ! @ LT+_ucl_nrv2e_decompress_asm_small_safe_le32ucl_nrv2e_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/elf32/n2e_d_s3.o0000644000175000001440000000122010077051333013641 00000000000000ELFD4(UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛrHÛuŠFÛÀë܃èrÁଃðÿtXÑø‰ÅsÛuŠFÛÉë0ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛuŠFÛsêƒÁýûÿÿƒÑV4/ó¤^éhÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@à ! @ LD#_ucl_nrv2e_decompress_asm_small_8ucl_nrv2e_decompress_asm_small_8ucl-1.03/asm/i386/obj/elf32/n2e_d_s4.o0000644000175000001440000000155210077051333013652 00000000000000ELF4(UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚‰‰‰ðC(‚|‰CƒÍÿ1Éë;t$ƒ:;<$ƒQ¤Ûu;t$ƒ"ŠFÛr×1À@Ûu;t$ƒ ŠFÛÀˆ$Ûu;t$ƒïŠFÛrHÛu;t$ƒÙŠFÛÀˆóë²=‡æƒèr:Áà;t$ƒ­¬ƒðÿ„˜‰ÄÑø‰Ås(Ûu;t$ƒ‰ŠFÛÉëJÛu ;t$svŠFÛrØAÛu ;t$sdŠFÛrÆÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰ÖéÛþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@°ð!Ü@ N(_ucl_nrv2e_decompress_asm_small_safe_8ucl_nrv2e_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/elf32/n2e_d_s5.o0000644000175000001440000000126610077051333013655 00000000000000ELFd4(UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë̓èr!ÁଃðÿtqÑø‰Ås"fÛu f‹ƒîþfÛÉëDfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýûÿÿƒÑV4/ó¤^é;ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.symtab.strtab.shstrtab.text@@!,@ lJ&_ucl_nrv2e_decompress_asm_small_le16ucl_nrv2e_decompress_asm_small_le16ucl-1.03/asm/i386/obj/elf32/n2e_d_s6.o0000644000175000001440000000170010077051333013647 00000000000000ELFd4(UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ή‰ðC,‚Á‰Cƒè‚‡9ð‚‰CƒÍÿ1Éë;t$ƒk;<$ƒ‚¤fÛu;t$‡Rf‹ƒîþfÛrÒ1À@fÛu;t$‡5f‹ƒîþfÛÀˆKfÛu;t$‡f‹ƒîþfÛr#HfÛu;t$‡úf‹ƒîþfÛÀˆë£=‡ƒèr?Áà;t$ƒÊ¬ƒðÿ„µ‰áÑø‰Ås6fÛu;t$‡¥f‹ƒîþfÛÉëbfÛu;t$‡‰f‹ƒîþfÛrÊAfÛu;t$wrf‹ƒîþfÛr³fÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéªþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.symtab.strtab.shstrtab.text@@!,@ lT+_ucl_nrv2e_decompress_asm_small_safe_le16ucl_nrv2e_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/elf32/rdtsc.o0000644000175000001440000000065210077051333013374 00000000000000ELF„4(RQ‹L$ ø1‰‰QYZÃ.symtab.strtab.shstrtab.text@ `!L@ Œ_ucl_rdtsc_asmucl_rdtsc_asmucl-1.03/asm/i386/obj/elf32/rdtsca.o0000644000175000001440000000066210077051333013536 00000000000000ELF„4(RQ‹L$ ø1ƒÒQYZÃ.symtab.strtab.shstrtab.text@ `!L@ Œ&_ucl_rdtsc_add_asmucl_rdtsc_add_asmucl-1.03/asm/i386/obj/omf32/0000777000175000001440000000000010077051333012171 500000000000000ucl-1.03/asm/i386/obj/omf32/cpuid.obj0000644000175000001440000000037610077051333013713 00000000000000€ cpuid.asmè–_TEXTCODEFLATe˜ibš`&_ucl_cpuid_asm ucl_cpuid_asmˆ@¢‘ ”UWVSQR‰åƒäüü‹}ºèDt:Áâè:t01ÀèB¸è8¸€è.¸€è$1À‰ìZY[^_]ÃHó«HëX‰Á1ÐPœX1È!ÐÃ1Û1É1Ò¢«‰‰O‰WƒÇ Ã!‹sucl-1.03/asm/i386/obj/omf32/crc_asm.obj0000644000175000001440000000050010077051333014203 00000000000000€ crc_asm.asm!–_TEXTCODEFLATe˜iÐ"š`&_ucl_crc32_asm ucl_crc32_asmˆ@¢‘ ÔUWVSQR1À‹t$ ‹L$$‹|$(…ö„Ÿ‹D$÷Ð…É„÷Æt2F¶ØÁè3ŸIué‰ÊÁêt]´&3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3ŸJu«ƒát2F¶ØÁè3ŸIuñ÷ÐZY[^_]Ã>‹sucl-1.03/asm/i386/obj/omf32/crcs_asm.obj0000644000175000001440000000041510077051333014373 00000000000000€ crcs_asm.asm¬–_TEXTCODEFLATe˜ibš`2_ucl_crc32_asm_smallucl_crc32_asm_smallˆ@¢‘ ”Q1À‹L$ ã}WSè@d·È n;¬0Ù&AÜvôQkkXa²Mÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé&ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ãt‹sucl-1.03/asm/i386/obj/omf32/n2e_d_f2.obj0000644000175000001440000000130510077051333014156 00000000000000€ n2e_d_f2.asm8–_TEXTCODEFLATe˜i К`Z(_ucl_nrv2e_decompress_asm_fast_safe_le32'ucl_nrv2e_decompress_asm_fast_safe_le32žˆ@¢‘ $UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ò‰‰ðC,‚å‰Cƒè‚«9ð‚£‰CƒÍÿ1Éë%;t$ƒ‰;<$ƒ ŠFˆGÛsuá;t$‡j‹ƒîüÛrθÛu;t$‡N‹ƒîüÛÀˆfÛsu3;t$‡/‹ƒîüÛr HÛu;t$‡‹ƒîüÛÀˆ/ëª=‡"ƒèr>Áà;t$ƒéŠFƒðÿ„Ò‰þÑø‰Ås0Ûu;t$‡Ã‹ƒîüÛÉë`Ûu;t$‡ª‹ƒîüÛrÐAÛu;t$‡’‹ƒîüÛr¸Ûu ;t$w‹ƒîüÛɈÛsãu;t$wd‹ƒîüÛsÒƒÁýûÿÿƒÑ‰úÊri;$wd‰úêse;T$0r_ƒýüvŠBˆGIu÷é«þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé‘þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ‹sucl-1.03/asm/i386/obj/omf32/n2e_d_f3.obj0000644000175000001440000000064510077051333014165 00000000000000€ n2e_d_f3.asm7–_TEXTCODEFLATe˜iáš`J _ucl_nrv2e_decompress_asm_fast_8ucl_nrv2e_decompress_asm_fast_8¶ˆ@¢‘ UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt~Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷éTÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé:ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]ÃS‹sucl-1.03/asm/i386/obj/omf32/n2e_d_f4.obj0000644000175000001440000000123710077051333014164 00000000000000€ n2e_d_f4.asm6–_TEXTCODEFLATe˜iðš`T%_ucl_nrv2e_decompress_asm_fast_safe_8$ucl_nrv2e_decompress_asm_fast_safe_8¦ˆ@¢‘ UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚Ή‰ðC(‚Á‰CƒÍÿ1Éë);t$ƒu;<$ƒŒŠFˆGÛsuá;t$ƒVŠFÛrиÛu;t$ƒ<ŠFÛÀˆVÛsu/;t$ƒŠFÛrHÛu;t$ƒ ŠFÛÀˆ#ë°=‡ƒèr<Áà;t$ƒÝŠFƒðÿ„ƉòÑø‰Ås,Ûu;t$ƒ·ŠFÛÉëXÛu;t$ƒ ŠFÛrÔAÛu;t$ƒŠŠFÛr¾Ûu ;t$syŠFÛɈŒÛsåu ;t$s`ŠFÛsÖƒÁýûÿÿƒÑ‰úÊrg;$wb‰úêsc;T$,r]ƒýüvŠBˆGIu÷é½þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé¥þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ£‹sucl-1.03/asm/i386/obj/omf32/n2e_d_f5.obj0000644000175000001440000000073310077051333014165 00000000000000€ n2e_d_f5.asm5–_TEXTCODEFLATe˜i@±š`P#_ucl_nrv2e_decompress_asm_fast_le16"ucl_nrv2e_decompress_asm_fast_le16ªˆ@¢‘ DUWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr'ÁàŠFƒðÿ„–Ñø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é#ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]ÃÜ‹sucl-1.03/asm/i386/obj/omf32/n2e_d_f6.obj0000644000175000001440000000134510077051333014166 00000000000000€ n2e_d_f6.asm4–_TEXTCODEFLATe˜i@°š`Z(_ucl_nrv2e_decompress_asm_fast_safe_le16'ucl_nrv2e_decompress_asm_fast_safe_le16šˆ@¢‘ DUWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚‰‰ðC,‚‰Cƒè‚Ë9ð‚ÉCƒÍÿ1Éë&;t$ƒ©;<$ƒÀŠFˆGfÛsuà;t$‡‰f‹ƒîþfÛr˸fÛu;t$‡jf‹ƒîþfÛÀˆ€fÛsu8;t$‡Hf‹ƒîþfÛr#HfÛu;t$‡-f‹ƒîþfÛÀˆCë¡=‡6ƒèrAÁà;t$ƒýŠFƒðÿ„æ‰Ñø‰Ås6fÛu;t$‡Öf‹ƒîþfÛÉëpfÛu;t$‡ºf‹ƒîþfÛrÊAfÛu;t$‡Ÿf‹ƒîþfÛr¯fÛu;t$‡…f‹ƒîþfÛɈ”fÛsÛu;t$wgf‹ƒîþfÛsȃÁýûÿÿƒÑ‰úÊrj;$we‰úêsf;T$0r`ƒýüvŠBˆGIu÷éŒþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééqþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ¬‹sucl-1.03/asm/i386/obj/omf32/n2e_d_n1.obj0000644000175000001440000000064110077051333014167 00000000000000€ n2e_d_n1.asm1–_TEXTCODEFLATe˜iáš`F_ucl_nrv2e_decompress_asm_le32ucl_nrv2e_decompress_asm_le32܈@¢‘ UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèr ÁàŠFƒðÿtiÑø‰ÅsÛu‹ƒîüÛÉë:Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ŠBˆGIu÷éGÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ësucl-1.03/asm/i386/obj/omf32/n2e_d_n2.obj0000644000175000001440000000121310077051333014164 00000000000000€ n2e_d_n2.asm0–_TEXTCODEFLATe˜iðš`P#_ucl_nrv2e_decompress_asm_safe_le32"ucl_nrv2e_decompress_asm_safe_le32̈@¢‘ ôUWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ˉ‰ðC,‚¾‰Cƒè‚„9ð‚|‰CƒÍÿ1Éë%;t$ƒb;<$ƒyŠFˆGÛsuá;t$‡C‹ƒîüÛrθÛu;t$‡'‹ƒîüÛÀˆ?Ûsu3;t$‡‹ƒîüÛr HÛu;t$‡ð‹ƒîüÛÀˆëª=‡ûƒèr>Áà;t$ƒÂŠFƒðÿ„«‰×Ñø‰Ås0Ûu;t$‡œ‹ƒîüÛÉëXÛu;t$‡ƒ‹ƒîüÛrÐAÛu ;t$wo‹ƒîüÛr¼Ûu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷é¸þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ%‹sucl-1.03/asm/i386/obj/omf32/n2e_d_n3.obj0000644000175000001440000000057310077051333014175 00000000000000€ n2e_d_n3.asm/–_TEXTCODEFLATe˜iðš`@_ucl_nrv2e_decompress_asm_8ucl_nrv2e_decompress_asm_8äˆ@¢‘ ôUWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt_Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ŠBˆGIu÷éYÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]ö‹sucl-1.03/asm/i386/obj/omf32/n2e_d_n4.obj0000644000175000001440000000114510077051333014172 00000000000000€ n2e_d_n4.asm.–_TEXTCODEFLATe˜iÐ!š`J _ucl_nrv2e_decompress_asm_safe_8ucl_nrv2e_decompress_asm_safe_8Ôˆ@¢‘ ÔUWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚¥‰‰ðC(‚˜‰CƒÍÿ1Éë);t$ƒL;<$ƒcŠFˆGÛsuá;t$ƒ-ŠFÛrиÛu;t$ƒŠFÛÀˆ-Ûsu/;t$ƒöŠFÛrHÛu;t$ƒàŠFÛÀˆúë°=‡íƒèr<Áà;t$ƒ´ŠFƒðÿ„‰ÉÑø‰Ås(Ûu;t$ƒŽŠFÛÉëLÛu ;t$s{ŠFÛrØAÛu ;t$siŠFÛrÆÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éÎþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙt‹sucl-1.03/asm/i386/obj/omf32/n2e_d_n5.obj0000644000175000001440000000066110077051333014175 00000000000000€ n2e_d_n5.asm-–_TEXTCODEFLATe˜i Ñš`F_ucl_nrv2e_decompress_asm_le16ucl_nrv2e_decompress_asm_le16؈@¢‘ $UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr#ÁàŠFƒðÿtxÑø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ŠBˆGIu÷é,ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ãë‹sucl-1.03/asm/i386/obj/omf32/n2e_d_n6.obj0000644000175000001440000000125310077051333014174 00000000000000€ n2e_d_n6.asm,–_TEXTCODEFLATe˜iàš`P#_ucl_nrv2e_decompress_asm_safe_le16"ucl_nrv2e_decompress_asm_safe_le16Ȉ@¢‘ UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚扉ðC,‚Ù‰Cƒè‚Ÿ9ð‚—‰CƒÍÿ1Éë&;t$ƒ};<$ƒ”ŠFˆGfÛsuà;t$‡]f‹ƒîþfÛr˸fÛu;t$‡>f‹ƒîþfÛÀˆTfÛsu8;t$‡f‹ƒîþfÛr#HfÛu;t$‡f‹ƒîþfÛÀˆë¡=‡ ƒèrAÁà;t$ƒÑŠFƒðÿ„º‰æÑø‰Ås6fÛu;t$‡ªf‹ƒîþfÛÉëdfÛu;t$‡Žf‹ƒîþfÛrÊAfÛu;t$wwf‹ƒîþfÛr³fÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙî‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s1.obj0000644000175000001440000000061510077051333014175 00000000000000€ n2e_d_s1.asm,–_TEXTCODEFLATe˜iðš`R$_ucl_nrv2e_decompress_asm_small_le32#ucl_nrv2e_decompress_asm_small_le32Ôˆ@¢‘ ôUWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛrHÛu‹ƒîüÛÀëÖƒèrÁଃðÿtbÑø‰ÅsÛu‹ƒîüÛÉë8Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýûÿÿƒÑV4/ó¤^éVÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ç‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s2.obj0000644000175000001440000000120710077051333014174 00000000000000€ n2e_d_s2.asm+–_TEXTCODEFLATe˜iàš`\)_ucl_nrv2e_decompress_asm_small_safe_le32(ucl_nrv2e_decompress_asm_small_safe_le32Ĉ@¢‘ äUWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚¯‰‰ðC,‚¢‰Cƒè‚h9ð‚`‰CƒÍÿ1Éë;t$ƒL;<$ƒc¤Ûu;t$‡4‹ƒîüÛrÕ1À@Ûu;t$‡‹ƒîüÛÀˆ2Ûu;t$‡ý‹ƒîüÛr HÛu;t$‡å‹ƒîüÛÀˆýë¬=‡ðƒèr<Áà;t$ƒ·¬ƒðÿ„¢‰ÎÑø‰Ås,Ûu;t$‡“‹ƒîüÛÉëRÛu ;t$w~‹ƒîüÛrÔAÛu ;t$wj‹ƒîüÛrÀÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÉþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙá‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s3.obj0000644000175000001440000000056710077051333014205 00000000000000€ n2e_d_s3.asm*–_TEXTCODEFLATe˜iàš`L!_ucl_nrv2e_decompress_asm_small_8 ucl_nrv2e_decompress_asm_small_8܈@¢‘ äUWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛrHÛuŠFÛÀë܃èrÁଃðÿtXÑø‰ÅsÛuŠFÛÉë0ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛuŠFÛsêƒÁýûÿÿƒÑV4/ó¤^éhÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]ÃŒ‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s4.obj0000644000175000001440000000112110077051333014171 00000000000000€ n2e_d_s4.asm)–_TEXTCODEFLATe˜i°Aš`V&_ucl_nrv2e_decompress_asm_small_safe_8%ucl_nrv2e_decompress_asm_small_safe_8̈@¢‘ ´UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚‰‰‰ðC(‚|‰CƒÍÿ1Éë;t$ƒ:;<$ƒQ¤Ûu;t$ƒ"ŠFÛr×1À@Ûu;t$ƒ ŠFÛÀˆ$Ûu;t$ƒïŠFÛrHÛu;t$ƒÙŠFÛÀˆóë²=‡æƒèr:Áà;t$ƒ­¬ƒðÿ„˜‰ÄÑø‰Ås(Ûu;t$ƒ‰ŠFÛÉëJÛu ;t$svŠFÛrØAÛu ;t$sdŠFÛrÆÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰ÖéÛþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙõ‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s5.obj0000644000175000001440000000063510077051333014203 00000000000000€ n2e_d_s5.asm(–_TEXTCODEFLATe˜iñš`R$_ucl_nrv2e_decompress_asm_small_le16#ucl_nrv2e_decompress_asm_small_le16Ј@¢‘ UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë̓èr!ÁଃðÿtqÑø‰Ås"fÛu f‹ƒîþfÛÉëDfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýûÿÿƒÑV4/ó¤^é;ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]ÃÔ‹sucl-1.03/asm/i386/obj/omf32/n2e_d_s6.obj0000644000175000001440000000124710077051333014204 00000000000000€ n2e_d_s6.asm'–_TEXTCODEFLATe˜iðš`\)_ucl_nrv2e_decompress_asm_small_safe_le16(ucl_nrv2e_decompress_asm_small_safe_le16Àˆ@¢‘ UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ή‰ðC,‚Á‰Cƒè‚‡9ð‚‰CƒÍÿ1Éë;t$ƒk;<$ƒ‚¤fÛu;t$‡Rf‹ƒîþfÛrÒ1À@fÛu;t$‡5f‹ƒîþfÛÀˆKfÛu;t$‡f‹ƒîþfÛr#HfÛu;t$‡úf‹ƒîþfÛÀˆë£=‡ƒèr?Áà;t$ƒÊ¬ƒðÿ„µ‰áÑø‰Ås6fÛu;t$‡¥f‹ƒîþfÛÉëbfÛu;t$‡‰f‹ƒîþfÛrÊAfÛu;t$wrf‹ƒîþfÛr³fÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéªþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ†‹sucl-1.03/asm/i386/obj/omf32/rdtsc.obj0000644000175000001440000000021610077051333013717 00000000000000€ rdtsc.asmÝ–_TEXTCODEFLATe˜i Òš`&_ucl_rdtsc_asm ucl_rdtsc_asmˆ@¢‘ $RQ‹L$ ø1‰‰QYZà ‹sucl-1.03/asm/i386/obj/omf32/rdtsca.obj0000644000175000001440000000022710077051333014062 00000000000000€ rdtsca.asmz–_TEXTCODEFLATe˜i Òš`._ucl_rdtsc_add_asmucl_rdtsc_add_asmèˆ@¢‘ $RQ‹L$ ø1ƒÒQYZÃv‹sucl-1.03/asm/i386/obj/win32/0000777000175000001440000000000010077051333012205 500000000000000ucl-1.03/asm/i386/obj/win32/cpuid.obj0000644000175000001440000000055310077051333013724 00000000000000L@Æ«>Ì.text<Ì P`UWVSQR‰åƒäüü‹}ºèDt:Áâè:t01ÀèB¸è8¸€è.¸€è$1À‰ìZY[^_]ÃHó«HëX‰Á1ÐPœX1È!ÐÃ1Û1É1Ò¢«‰‰O‰WƒÇ Ã.fileþÿgcpuid.asm.text.absolutÿÿ!_ucl_cpuid_asmucl_cpuid_asmucl-1.03/asm/i386/obj/win32/crc_asm.obj0000644000175000001440000000065310077051333014230 00000000000000L@Æ«> .textÐ<  P`UWVSQR1À‹t$ ‹L$$‹|$(…ö„Ÿ‹D$÷Ð…É„÷Æt2F¶ØÁè3ŸIué‰ÊÁêt]´&3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ3ƒÆ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3Ÿ¶ØÁè3ŸJu«ƒát2F¶ØÁè3ŸIuñ÷ÐZY[^_]Ã.fileþÿgcrc_asm.asm.textÐ.absolutÿÿ!_ucl_crc32_asmucl_crc32_asmucl-1.03/asm/i386/obj/win32/crcs_asm.obj0000644000175000001440000000056710077051333014417 00000000000000L@Æ«>Ì.text<Ì P`Q1À‹L$ ã}WSè@d·È n;¬0Ù&AÜvôQkkXa²M<.text<< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛsïu ‹ƒîüÛsäƒèr ÁàŠFƒðÿtv‰ÅÛu‹ƒîüÛÉÛu‹ƒîüÛÉu AÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýóÿÿƒÑ/ƒýüvŠBˆGIu÷écÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1ÉéJÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_f1.asm.text.absolutÿÿ(K_ucl_nrv2b_decompress_asm_fast_le32ucl_nrv2b_decompress_asm_fast_le32ucl-1.03/asm/i386/obj/win32/n2b_d_f2.obj0000644000175000001440000000135710077051333014176 00000000000000L@Æ«>.textà< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚¶‰‰ðC,‚©‰Cƒè‚o9ð‚g‰CƒÍÿ1Éë%;t$ƒM;<$ƒdŠFˆGÛsuá;t$‡.‹ƒîüÛrθÛu;t$‡‹ƒîüÛÀˆ*Ûsßu;t$‡ó‹ƒîüÛsÊ=‡ƒèrÁà;t$ƒÍŠFƒðÿ„¶‰ÅÛu;t$‡±‹ƒîüÛÉÛu;t$‡š‹ƒîüÛÉu6AÛu;t$‡€‹ƒîüÛɈ‘Ûsßu;t$we‹ƒîüÛs΃ÁýóÿÿƒÑ‰úÊrj;$we‰úêsf;T$0r`ƒýüvŠBˆGIu÷éèþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1ÉéÍþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_f2.asm.textà.absolutÿÿ-U_ucl_nrv2b_decompress_asm_fast_safe_le32ucl_nrv2b_decompress_asm_fast_safe_le32ucl-1.03/asm/i386/obj/win32/n2b_d_f3.obj0000644000175000001440000000077710077051333014204 00000000000000L@Æ«><.text<< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛsñuŠFÛsèƒèr ÁàŠFƒðÿtp‰ÅÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýóÿÿƒÑ/ƒýüvŠBˆGIu÷éqÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1ÉéVÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_f3.asm.text.absolutÿÿ%E_ucl_nrv2b_decompress_asm_fast_8ucl_nrv2b_decompress_asm_fast_8ucl-1.03/asm/i386/obj/win32/n2b_d_f4.obj0000644000175000001440000000131110077051333014166 00000000000000L@Æ«>ü.textÀ<ü P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚’‰‰ðC(‚…‰CƒÍÿ1Éë);t$ƒ9;<$ƒPŠFˆGÛsuá;t$ƒŠFÛrиÛu;t$ƒŠFÛÀˆÛsáu;t$ƒãŠFÛsÎ=‡øƒèrÁà;t$ƒ¿ŠFƒðÿ„¨‰ÅÛu;t$ƒ£ŠFÛÉÛu;t$ƒŽŠFÛÉu.AÛu ;t$szŠFÛɈÛsåu ;t$saŠFÛsÖƒÁýóÿÿƒÑ‰úÊrh;$wc‰úêsd;T$,r^ƒýüvŠBˆGIu÷éúþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééáþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_f4.asm.textÀ.absolutÿÿ*O_ucl_nrv2b_decompress_asm_fast_safe_8ucl_nrv2b_decompress_asm_fast_safe_8ucl-1.03/asm/i386/obj/win32/n2b_d_f5.obj0000644000175000001440000000104510077051333014173 00000000000000L@Æ«>\.text <\ P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛsëu f‹ƒîþfÛsÞƒèrÁàŠFƒðÿ„‰ÅfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýóÿÿƒÑ/ƒýüvŠBˆGIu÷éJÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé2ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_f5.asm.text .absolutÿÿ(K_ucl_nrv2b_decompress_asm_fast_le16ucl_nrv2b_decompress_asm_fast_le16ucl-1.03/asm/i386/obj/win32/n2b_d_f6.obj0000644000175000001440000000137710077051333014204 00000000000000L@Æ«>,.textð<, P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ʉ‰ðC,‚½‰Cƒè‚ƒ9ð‚{‰CƒÍÿ1Éë&;t$ƒa;<$ƒxŠFˆGfÛsuà;t$‡Af‹ƒîþfÛr˸fÛu;t$‡"f‹ƒîþfÛÀˆ8fÛsÛu;t$‡f‹ƒîþfÛsÄ=‡ƒèrÁà;t$ƒØŠFƒðÿ„Á‰ÅfÛu;t$‡»f‹ƒîþfÛÉfÛu;t$‡¡f‹ƒîþfÛÉu.textà< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛsïu ‹ƒîüÛsäƒèr ÁàŠFƒðÿtX‰ÅÛu‹ƒîüÛÉÛu‹ƒîüÛÉu AÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýóÿÿƒÑ/ŠBˆGIu÷éhÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_n1.asm.textà.absolutÿÿ#A_ucl_nrv2b_decompress_asm_le32ucl_nrv2b_decompress_asm_le32ucl-1.03/asm/i386/obj/win32/n2b_d_n2.obj0000644000175000001440000000126510077051333014204 00000000000000L@Æ«>ì.text°<ì P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Љ‰ðC,‚}‰Cƒè‚C9ð‚;‰CƒÍÿ1Éë%;t$ƒ!;<$ƒ8ŠFˆGÛsuá;t$‡‹ƒîüÛrθÛu;t$‡æ‹ƒîüÛÀˆþÛsßu;t$‡Ç‹ƒîüÛsÊ=‡ÚƒèrÁà;t$ƒ¡ŠFƒðÿ„ЉÅÛu;t$‡…‹ƒîüÛÉÛu ;t$wr‹ƒîüÛÉu.AÛu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éùþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_n2.asm.text°.absolutÿÿ(K_ucl_nrv2b_decompress_asm_safe_le32ucl_nrv2b_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/win32/n2b_d_n3.obj0000644000175000001440000000072510077051333014205 00000000000000L@Æ«>.textà< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛsñuŠFÛsèƒèr ÁàŠFƒðÿtP‰ÅÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýóÿÿƒÑ/ŠBˆGIu÷évÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_n3.asm.textà.absolutÿÿ ;_ucl_nrv2b_decompress_asm_8ucl_nrv2b_decompress_asm_8ucl-1.03/asm/i386/obj/win32/n2b_d_n4.obj0000644000175000001440000000121710077051333014203 00000000000000L@Æ«>Ì.text<Ì P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚d‰‰ðC(‚W‰CƒÍÿ1Éë);t$ƒ ;<$ƒ"ŠFˆGÛsuá;t$ƒìŠFÛrиÛu;t$ƒÒŠFÛÀˆìÛsáu;t$ƒµŠFÛsÎ=‡ÊƒèrÁà;t$ƒ‘ŠFƒðÿt~‰ÅÛu ;t$s}ŠFÛÉÛu ;t$slŠFÛÉu*AÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_n4.asm.text.absolutÿÿ%E_ucl_nrv2b_decompress_asm_safe_8ucl_nrv2b_decompress_asm_safe_8ucl-1.03/asm/i386/obj/win32/n2b_d_n5.obj0000644000175000001440000000077310077051333014212 00000000000000L@Æ«><.text<< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛsëu f‹ƒîþfÛsÞƒèr ÁàŠFƒðÿtd‰ÅfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýóÿÿƒÑ/ŠBˆGIu÷éSÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_n5.asm.text.absolutÿÿ#A_ucl_nrv2b_decompress_asm_le16ucl_nrv2b_decompress_asm_le16ucl-1.03/asm/i386/obj/win32/n2b_d_n6.obj0000644000175000001440000000132510077051333014205 00000000000000L@Æ«> .textÐ<  P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ÿ‰‰ðC,‚’‰Cƒè‚X9ð‚P‰CƒÍÿ1Éë&;t$ƒ6;<$ƒMŠFˆGfÛsuà;t$‡f‹ƒîþfÛr˸fÛu;t$‡÷f‹ƒîþfÛÀˆ fÛsÛu;t$‡Õf‹ƒîþfÛsÄ=‡æƒèrÁà;t$ƒ­ŠFƒðÿ„–‰ÅfÛu;t$‡f‹ƒîþfÛÉfÛu;t$wzf‹ƒîþfÛÉu4AfÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýóÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éäþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_n6.asm.textÐ.absolutÿÿ(K_ucl_nrv2b_decompress_asm_safe_le16ucl_nrv2b_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/win32/n2b_d_s1.obj0000644000175000001440000000072710077051333014212 00000000000000L@Æ«> .textÐ<  P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛsæƒèr ÁଃðÿtQ‰ÅÛu‹ƒîüÛÉÛu‹ƒîüÛÉuAÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýóÿÿƒÑV4/ó¤^éwÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_s1.asm.textÐ.absolutÿÿ)M_ucl_nrv2b_decompress_asm_small_le32ucl_nrv2b_decompress_asm_small_le32ucl-1.03/asm/i386/obj/win32/n2b_d_s2.obj0000644000175000001440000000126110077051333014205 00000000000000L@Æ«>Ü.text <Ü P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚r‰‰ðC,‚e‰Cƒè‚+9ð‚#‰CƒÍÿ1Éë;t$ƒ;<$ƒ&¤Ûu;t$‡÷‹ƒîüÛrÕ1À@Ûu;t$‡Ý‹ƒîüÛÀˆõÛu;t$‡À‹ƒîüÛsÌ=‡ÓƒèrÁà;t$ƒš¬ƒðÿ„…‰ÅÛu;t$‡€‹ƒîüÛÉÛu ;t$wm‹ƒîüÛÉu,AÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_s2.asm.text .absolutÿÿ.W_ucl_nrv2b_decompress_asm_small_safe_le32ucl_nrv2b_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/win32/n2b_d_s3.obj0000644000175000001440000000070110077051333014204 00000000000000L@Æ«>ü.textÀ<ü P`UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛsêƒèr ÁଃðÿtF‰ÅÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛuŠFÛsêƒÁýóÿÿƒÑV4/ó¤^눉ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_s3.asm.textÀ.absolutÿÿ&G_ucl_nrv2b_decompress_asm_small_8ucl_nrv2b_decompress_asm_small_8ucl-1.03/asm/i386/obj/win32/n2b_d_s4.obj0000644000175000001440000000117310077051333014211 00000000000000L@Æ«>¬.textp<¬ P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚H‰‰ðC(‚;‰CƒÍÿ1Éë;t$ƒù;<$ƒ¤Ûu;t$ƒáŠFÛr×1À@Ûu;t$ƒÉŠFÛÀˆãÛu;t$ƒ®ŠFÛsÐ=‡ÃƒèrÁà;t$ƒŠ¬ƒðÿty‰ÅÛu ;t$sxŠFÛÉÛu ;t$sgŠFÛÉu(AÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰Öéÿÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_s4.asm.textp.absolutÿÿ+Q_ucl_nrv2b_decompress_asm_small_safe_8ucl_nrv2b_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/win32/n2b_d_s5.obj0000644000175000001440000000074710077051333014220 00000000000000L@Æ«>.textà< P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛsàƒèr Áଃðÿt]‰ÅfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu$AfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýóÿÿƒÑV4/ó¤^ébÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2b_d_s5.asm.textà.absolutÿÿ)M_ucl_nrv2b_decompress_asm_small_le16ucl_nrv2b_decompress_asm_small_le16ucl-1.03/asm/i386/obj/win32/n2b_d_s6.obj0000644000175000001440000000130110077051333014204 00000000000000L@Æ«>ì.text°<ì P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚‡‰‰ðC,‚z‰Cƒè‚@9ð‚8‰CƒÍÿ1Éë;t$ƒ$;<$ƒ;¤fÛu;t$‡ f‹ƒîþfÛrÒ1À@fÛu;t$‡îf‹ƒîþfÛÀˆfÛu;t$‡Îf‹ƒîþfÛsÆ=‡ßƒèrÁà;t$ƒ¦¬ƒðÿ„‘‰ÅfÛu;t$‡‹f‹ƒîþfÛÉfÛu;t$wuf‹ƒîþfÛÉu2AfÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýóÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéñþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2b_d_s6.asm.text°.absolutÿÿ.W_ucl_nrv2b_decompress_asm_small_safe_le16ucl_nrv2b_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/win32/n2d_d_f1.obj0000644000175000001440000000104510077051333014171 00000000000000L@Æ«>\.text <\ P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèrÁàŠFƒðÿtzÑø‰Åë Ûu‹ƒîüÛÉÛu‹ƒîüÛÉu AÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷éOÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé6ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_f1.asm.text .absolutÿÿ(K_ucl_nrv2d_decompress_asm_fast_le32ucl_nrv2d_decompress_asm_fast_le32ucl-1.03/asm/i386/obj/win32/n2d_d_f2.obj0000644000175000001440000000141710077051333014175 00000000000000L@Æ«><.text<< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ú‰‰ðC,‚͉Cƒè‚“9ð‚‹‰CƒÍÿ1Éë%;t$ƒq;<$ƒˆŠFˆGÛsuá;t$‡R‹ƒîüÛrθÛu;t$‡6‹ƒîüÛÀˆNÛsu3;t$‡‹ƒîüÛr HÛu;t$‡ÿ‹ƒîüÛÀˆëª=‡ ƒèr%Áà;t$ƒÑŠFƒðÿ„º‰æÑø‰ÅëÛu;t$‡«‹ƒîüÛÉÛu;t$‡”‹ƒîüÛÉu2AÛu ;t$w~‹ƒîüÛɈÛsãu;t$wc‹ƒîüÛsÒƒÁýûÿÿƒÑ‰úÊrh;$wc‰úêsd;T$0r^ƒýüvŠBˆGIu÷éÂþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé©þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_f2.asm.text.absolutÿÿ-U_ucl_nrv2d_decompress_asm_fast_safe_le32ucl_nrv2d_decompress_asm_fast_safe_le32ucl-1.03/asm/i386/obj/win32/n2d_d_f3.obj0000644000175000001440000000101710077051333014172 00000000000000L@Æ«>L.text<L P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿtrÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é_ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1ÉéFÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_f3.asm.text.absolutÿÿ%E_ucl_nrv2d_decompress_asm_fast_8ucl_nrv2d_decompress_asm_fast_8ucl-1.03/asm/i386/obj/win32/n2d_d_f4.obj0000644000175000001440000000135110077051333014174 00000000000000L@Æ«>.textà< P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚º‰‰ðC(‚­‰CƒÍÿ1Éë);t$ƒa;<$ƒxŠFˆGÛsuá;t$ƒBŠFÛrиÛu;t$ƒ(ŠFÛÀˆBÛsu/;t$ƒ ŠFÛrHÛu;t$ƒõŠFÛÀˆë°=‡ƒèr%Áà;t$ƒÉŠFƒðÿ„²‰ÞÑø‰ÅëÛu;t$ƒ£ŠFÛÉÛu;t$ƒŽŠFÛÉu.AÛu ;t$szŠFÛɈÛsåu ;t$saŠFÛsÖƒÁýûÿÿƒÑ‰úÊrh;$wc‰úêsd;T$,r^ƒýüvŠBˆGIu÷éÒþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé¹þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_f4.asm.textà.absolutÿÿ*O_ucl_nrv2d_decompress_asm_fast_safe_8ucl_nrv2d_decompress_asm_fast_safe_8ucl-1.03/asm/i386/obj/win32/n2d_d_f5.obj0000644000175000001440000000106510077051333014177 00000000000000L@Æ«>l.text0<l P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èrÁàŠFƒðÿ„†Ñø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é3ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_f5.asm.text0.absolutÿÿ(K_ucl_nrv2d_decompress_asm_fast_le16ucl_nrv2d_decompress_asm_fast_le16ucl-1.03/asm/i386/obj/win32/n2d_d_f6.obj0000644000175000001440000000145710077051333014205 00000000000000L@Æ«>\.text <\ P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ö‰‰ðC,‚é‰Cƒè‚¯9ð‚§‰CƒÍÿ1Éë&;t$ƒ;<$ƒ¤ŠFˆGfÛsuà;t$‡mf‹ƒîþfÛr˸fÛu;t$‡Nf‹ƒîþfÛÀˆdfÛsu8;t$‡,f‹ƒîþfÛr#HfÛu;t$‡f‹ƒîþfÛÀˆ'ë¡=‡ƒèr%Áà;t$ƒáŠFƒðÿ„ʉöÑø‰ÅëfÛu;t$‡ºf‹ƒîþfÛÉfÛu;t$‡ f‹ƒîþfÛÉu<.text<< P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèrÁàŠFƒðÿt\Ñø‰Åë Ûu‹ƒîüÛÉÛu‹ƒîüÛÉu AÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ŠBˆGIu÷éTÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_n1.asm.text.absolutÿÿ#A_ucl_nrv2d_decompress_asm_le32ucl_nrv2d_decompress_asm_le32ucl-1.03/asm/i386/obj/win32/n2d_d_n2.obj0000644000175000001440000000134510077051333014205 00000000000000L@Æ«>.textà< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚´‰‰ðC,‚§‰Cƒè‚m9ð‚e‰CƒÍÿ1Éë%;t$ƒK;<$ƒbŠFˆGÛsuá;t$‡,‹ƒîüÛrθÛu;t$‡‹ƒîüÛÀˆ(Ûsu3;t$‡ñ‹ƒîüÛr HÛu;t$‡Ù‹ƒîüÛÀˆñëª=‡äƒèr%Áà;t$ƒ«ŠFƒðÿ„”‰ÀÑø‰ÅëÛu;t$‡…‹ƒîüÛÉÛu ;t$wr‹ƒîüÛÉu.AÛu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éÏþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_n2.asm.textà.absolutÿÿ(K_ucl_nrv2d_decompress_asm_safe_le32ucl_nrv2d_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/win32/n2d_d_n3.obj0000644000175000001440000000074510077051333014211 00000000000000L@Æ«>,.textð<, P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿtTÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ŠBˆGIu÷édÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_n3.asm.textð.absolutÿÿ ;_ucl_nrv2d_decompress_asm_8ucl_nrv2d_decompress_asm_8ucl-1.03/asm/i386/obj/win32/n2d_d_n4.obj0000644000175000001440000000127710077051333014213 00000000000000L@Æ«>ü.textÀ<ü P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚‰‰ðC(‚ƒ‰CƒÍÿ1Éë);t$ƒ7;<$ƒNŠFˆGÛsuá;t$ƒŠFÛrиÛu;t$ƒþŠFÛÀˆÛsu/;t$ƒáŠFÛrHÛu;t$ƒËŠFÛÀˆåë°=‡Øƒèr%Áà;t$ƒŸŠFƒðÿ„ˆ‰´Ñø‰ÅëÛu ;t$s}ŠFÛÉÛu ;t$slŠFÛÉu*AÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éãþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_n4.asm.textÀ.absolutÿÿ%E_ucl_nrv2d_decompress_asm_safe_8ucl_nrv2d_decompress_asm_safe_8ucl-1.03/asm/i386/obj/win32/n2d_d_n5.obj0000644000175000001440000000101310077051333014200 00000000000000L@Æ«>L.text<L P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èrÁàŠFƒðÿthÑø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu&AfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ŠBˆGIu÷é<ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_n5.asm.text.absolutÿÿ#A_ucl_nrv2d_decompress_asm_le16ucl_nrv2d_decompress_asm_le16ucl-1.03/asm/i386/obj/win32/n2d_d_n6.obj0000644000175000001440000000136510077051333014213 00000000000000L@Æ«>,.textð<, P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚̉‰ðC,‚¿‰Cƒè‚…9ð‚}‰CƒÍÿ1Éë&;t$ƒc;<$ƒzŠFˆGfÛsuà;t$‡Cf‹ƒîþfÛr˸fÛu;t$‡$f‹ƒîþfÛÀˆ:fÛsu8;t$‡f‹ƒîþfÛr#HfÛu;t$‡çf‹ƒîþfÛÀˆýë¡=‡ðƒèr%Áà;t$ƒ·ŠFƒðÿ„ ‰ÌÑø‰ÅëfÛu;t$‡f‹ƒîþfÛÉfÛu;t$wzf‹ƒîþfÛÉu4AfÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷é·þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_n6.asm.textð.absolutÿÿ(K_ucl_nrv2d_decompress_asm_safe_le16ucl_nrv2d_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/win32/n2d_d_s1.obj0000644000175000001440000000074710077051333014216 00000000000000L@Æ«>.textà< P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛrHÛu‹ƒîüÛÀëÖƒèrÁଃðÿtUÑø‰Åë Ûu‹ƒîüÛÉÛu‹ƒîüÛÉuAÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýûÿÿƒÑV4/ó¤^écÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_s1.asm.textà.absolutÿÿ)M_ucl_nrv2d_decompress_asm_small_le32ucl_nrv2d_decompress_asm_small_le32ucl-1.03/asm/i386/obj/win32/n2d_d_s2.obj0000644000175000001440000000132110077051333014204 00000000000000L@Æ«>ü.textÀ<ü P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚œ‰‰ðC,‚‰Cƒè‚U9ð‚M‰CƒÍÿ1Éë;t$ƒ9;<$ƒP¤Ûu;t$‡!‹ƒîüÛrÕ1À@Ûu;t$‡‹ƒîüÛÀˆÛu;t$‡ê‹ƒîüÛr HÛu;t$‡Ò‹ƒîüÛÀˆêë¬=‡Ýƒèr#Áà;t$ƒ¤¬ƒðÿ„‰»Ñø‰ÅëÛu;t$‡€‹ƒîüÛÉÛu ;t$wm‹ƒîüÛÉu,AÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÜþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_s2.asm.textÀ.absolutÿÿ.W_ucl_nrv2d_decompress_asm_small_safe_le32ucl_nrv2d_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/win32/n2d_d_s3.obj0000644000175000001440000000072110077051333014210 00000000000000L@Æ«> .textÐ<  P`UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛrHÛuŠFÛÀë܃èrÁଃðÿtMÑø‰Åë ÛuŠFÛÉÛuŠFÛÉuAÛuŠFÛÉÛuŠFÛsêƒÁýûÿÿƒÑV4/ó¤^ésÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_s3.asm.textÐ.absolutÿÿ&G_ucl_nrv2d_decompress_asm_small_8ucl_nrv2d_decompress_asm_small_8ucl-1.03/asm/i386/obj/win32/n2d_d_s4.obj0000644000175000001440000000125310077051333014212 00000000000000L@Æ«>Ü.text <Ü P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚t‰‰ðC(‚g‰CƒÍÿ1Éë;t$ƒ%;<$ƒ<¤Ûu;t$ƒ ŠFÛr×1À@Ûu;t$ƒõŠFÛÀˆÛu;t$ƒÚŠFÛrHÛu;t$ƒÄŠFÛÀˆÞë²=‡Ñƒèr#Áà;t$ƒ˜¬ƒðÿ„ƒ‰¯Ñø‰ÅëÛu ;t$sxŠFÛÉÛu ;t$sgŠFÛÉu(AÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰Öéðþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_s4.asm.text .absolutÿÿ+Q_ucl_nrv2d_decompress_asm_small_safe_8ucl_nrv2d_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/win32/n2d_d_s5.obj0000644000175000001440000000076710077051333014224 00000000000000L@Æ«>,.textð<, P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë̓èrÁଃðÿtaÑø‰ÅëfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛÉu$AfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýûÿÿƒÑV4/ó¤^éKÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2d_d_s5.asm.textð.absolutÿÿ)M_ucl_nrv2d_decompress_asm_small_le16ucl_nrv2d_decompress_asm_small_le16ucl-1.03/asm/i386/obj/win32/n2d_d_s6.obj0000644000175000001440000000136110077051333014214 00000000000000L@Æ«>.textà< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚´‰‰ðC,‚§‰Cƒè‚m9ð‚e‰CƒÍÿ1Éë;t$ƒQ;<$ƒh¤fÛu;t$‡8f‹ƒîþfÛrÒ1À@fÛu;t$‡f‹ƒîþfÛÀˆ1fÛu;t$‡ûf‹ƒîþfÛr#HfÛu;t$‡àf‹ƒîþfÛÀˆöë£=‡éƒèr#Áà;t$ƒ°¬ƒðÿ„›‰ÇÑø‰ÅëfÛu;t$‡‹f‹ƒîþfÛÉfÛu;t$wuf‹ƒîþfÛÉu2AfÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÄþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2d_d_s6.asm.textà.absolutÿÿ.W_ucl_nrv2d_decompress_asm_small_safe_le16ucl_nrv2d_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/win32/n2e_d_f1.obj0000644000175000001440000000106510077051333014174 00000000000000L@Æ«>l.text0<l P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèr$ÁàŠFƒðÿ„†Ñø‰ÅsÛu‹ƒîüÛÉë:Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é>ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé&ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_f1.asm.text0.absolutÿÿ(K_ucl_nrv2e_decompress_asm_fast_le32ucl_nrv2e_decompress_asm_fast_le32ucl-1.03/asm/i386/obj/win32/n2e_d_f2.obj0000644000175000001440000000145710077051333014202 00000000000000L@Æ«>\.text <\ P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ò‰‰ðC,‚å‰Cƒè‚«9ð‚£‰CƒÍÿ1Éë%;t$ƒ‰;<$ƒ ŠFˆGÛsuá;t$‡j‹ƒîüÛrθÛu;t$‡N‹ƒîüÛÀˆfÛsu3;t$‡/‹ƒîüÛr HÛu;t$‡‹ƒîüÛÀˆ/ëª=‡"ƒèr>Áà;t$ƒéŠFƒðÿ„Ò‰þÑø‰Ås0Ûu;t$‡Ã‹ƒîüÛÉë`Ûu;t$‡ª‹ƒîüÛrÐAÛu;t$‡’‹ƒîüÛr¸Ûu ;t$w‹ƒîüÛɈÛsãu;t$wd‹ƒîüÛsÒƒÁýûÿÿƒÑ‰úÊri;$wd‰úêse;T$0r_ƒýüvŠBˆGIu÷é«þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé‘þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_f2.asm.text .absolutÿÿ-U_ucl_nrv2e_decompress_asm_fast_safe_le32ucl_nrv2e_decompress_asm_fast_safe_le32ucl-1.03/asm/i386/obj/win32/n2e_d_f3.obj0000644000175000001440000000101710077051333014173 00000000000000L@Æ«>L.text<L P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt~Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷éTÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé:ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_f3.asm.text.absolutÿÿ%E_ucl_nrv2e_decompress_asm_fast_8ucl_nrv2e_decompress_asm_fast_8ucl-1.03/asm/i386/obj/win32/n2e_d_f4.obj0000644000175000001440000000141110077051333014172 00000000000000L@Æ«><.text<< P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚Ή‰ðC(‚Á‰CƒÍÿ1Éë);t$ƒu;<$ƒŒŠFˆGÛsuá;t$ƒVŠFÛrиÛu;t$ƒ<ŠFÛÀˆVÛsu/;t$ƒŠFÛrHÛu;t$ƒ ŠFÛÀˆ#ë°=‡ƒèr<Áà;t$ƒÝŠFƒðÿ„ƉòÑø‰Ås,Ûu;t$ƒ·ŠFÛÉëXÛu;t$ƒ ŠFÛrÔAÛu;t$ƒŠŠFÛr¾Ûu ;t$syŠFÛɈŒÛsåu ;t$s`ŠFÛsÖƒÁýûÿÿƒÑ‰úÊrg;$wb‰úêsc;T$,r]ƒýüvŠBˆGIu÷é½þÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé¥þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_f4.asm.text.absolutÿÿ*O_ucl_nrv2e_decompress_asm_fast_safe_8ucl_nrv2e_decompress_asm_fast_safe_8ucl-1.03/asm/i386/obj/win32/n2e_d_f5.obj0000644000175000001440000000110510077051333014173 00000000000000L@Æ«>|.text@<| P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr'ÁàŠFƒðÿ„–Ñø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ƒýüvŠBˆGIu÷é#ÿÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Éé ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_f5.asm.text@.absolutÿÿ(K_ucl_nrv2e_decompress_asm_fast_le16ucl_nrv2e_decompress_asm_fast_le16ucl-1.03/asm/i386/obj/win32/n2e_d_f6.obj0000644000175000001440000000151710077051333014203 00000000000000L@Æ«>|.text@<| P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚‰‰ðC,‚‰Cƒè‚Ë9ð‚ÉCƒÍÿ1Éë&;t$ƒ©;<$ƒÀŠFˆGfÛsuà;t$‡‰f‹ƒîþfÛr˸fÛu;t$‡jf‹ƒîþfÛÀˆ€fÛsu8;t$‡Hf‹ƒîþfÛr#HfÛu;t$‡-f‹ƒîþfÛÀˆCë¡=‡6ƒèrAÁà;t$ƒýŠFƒðÿ„æ‰Ñø‰Ås6fÛu;t$‡Öf‹ƒîþfÛÉëpfÛu;t$‡ºf‹ƒîþfÛrÊAfÛu;t$‡Ÿf‹ƒîþfÛr¯fÛu;t$‡…f‹ƒîþfÛɈ”fÛsÛu;t$wgf‹ƒîþfÛsȃÁýûÿÿƒÑ‰úÊrj;$we‰úêsf;T$0r`ƒýüvŠBˆGIu÷éŒþÿÿ‹ƒÂ‰ƒÇƒéwñÏ1Ééqþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_f6.asm.text@.absolutÿÿ-U_ucl_nrv2e_decompress_asm_fast_safe_le16ucl_nrv2e_decompress_asm_fast_safe_le16ucl-1.03/asm/i386/obj/win32/n2e_d_n1.obj0000644000175000001440000000101310077051333014175 00000000000000L@Æ«>L.text<L P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGÛs uô‹ƒîüÛrë¸Ûu‹ƒîüÛÀÛs u‹ƒîüÛrHÛu‹ƒîüÛÀëÔƒèr ÁàŠFƒðÿtiÑø‰ÅsÛu‹ƒîüÛÉë:Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛsïu ‹ƒîüÛsäƒÁýûÿÿƒÑ/ŠBˆGIu÷éGÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_n1.asm.text.absolutÿÿ#A_ucl_nrv2e_decompress_asm_le32ucl_nrv2e_decompress_asm_le32ucl-1.03/asm/i386/obj/win32/n2e_d_n2.obj0000644000175000001440000000136510077051333014210 00000000000000L@Æ«>,.textð<, P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚ˉ‰ðC,‚¾‰Cƒè‚„9ð‚|‰CƒÍÿ1Éë%;t$ƒb;<$ƒyŠFˆGÛsuá;t$‡C‹ƒîüÛrθÛu;t$‡'‹ƒîüÛÀˆ?Ûsu3;t$‡‹ƒîüÛr HÛu;t$‡ð‹ƒîüÛÀˆëª=‡ûƒèr>Áà;t$ƒÂŠFƒðÿ„«‰×Ñø‰Ås0Ûu;t$‡œ‹ƒîüÛÉëXÛu;t$‡ƒ‹ƒîüÛrÐAÛu ;t$wo‹ƒîüÛr¼Ûu ;t$w\‹ƒîüÛÉxqÛsçu;t$wE‹ƒîüÛsÖƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷é¸þÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_n2.asm.textð.absolutÿÿ(K_ucl_nrv2e_decompress_asm_safe_le32ucl_nrv2e_decompress_asm_safe_le32ucl-1.03/asm/i386/obj/win32/n2e_d_n3.obj0000644000175000001440000000074510077051333014212 00000000000000L@Æ«>,.textð<, P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉùëŠFˆGÛs uôŠFÛrí¸ÛuŠFÛÀÛs uŠFÛrHÛuŠFÛÀëÚƒèrÁàŠFƒðÿt_Ñø‰ÅsÛuŠFÛÉë2ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛsñuŠFÛsèƒÁýûÿÿƒÑ/ŠBˆGIu÷éYÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_n3.asm.textð.absolutÿÿ ;_ucl_nrv2e_decompress_asm_8ucl_nrv2e_decompress_asm_8ucl-1.03/asm/i386/obj/win32/n2e_d_n4.obj0000644000175000001440000000131710077051333014207 00000000000000L@Æ«> .textÐ<  P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚¥‰‰ðC(‚˜‰CƒÍÿ1Éë);t$ƒL;<$ƒcŠFˆGÛsuá;t$ƒ-ŠFÛrиÛu;t$ƒŠFÛÀˆ-Ûsu/;t$ƒöŠFÛrHÛu;t$ƒàŠFÛÀˆúë°=‡íƒèr<Áà;t$ƒ´ŠFƒðÿ„‰ÉÑø‰Ås(Ûu;t$ƒŽŠFÛÉëLÛu ;t$s{ŠFÛrØAÛu ;t$siŠFÛrÆÛu ;t$sXŠFÛÉxoÛséu ;t$sCŠFÛsÚƒÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$,r@ŠBˆGIu÷éÎþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_n4.asm.textÐ.absolutÿÿ%E_ucl_nrv2e_decompress_asm_safe_8ucl_nrv2e_decompress_asm_safe_8ucl-1.03/asm/i386/obj/win32/n2e_d_n5.obj0000644000175000001440000000103310077051333014203 00000000000000L@Æ«>\.text <\ P`UWVSQRü‹t$‹|$$ƒÍÿ1ÉëŠFˆGfÛs uóf‹ƒîþfÛrè¸fÛu f‹ƒîþfÛÀfÛs uf‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë˃èr#ÁàŠFƒðÿtxÑø‰Ås"fÛu f‹ƒîþfÛÉëFfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛsëu f‹ƒîþfÛsÞƒÁýûÿÿƒÑ/ŠBˆGIu÷é,ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_n5.asm.text .absolutÿÿ#A_ucl_nrv2e_decompress_asm_le16ucl_nrv2e_decompress_asm_le16ucl-1.03/asm/i386/obj/win32/n2e_d_n6.obj0000644000175000001440000000142510077051333014211 00000000000000L@Æ«>L.text<L P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚扉ðC,‚Ù‰Cƒè‚Ÿ9ð‚—‰CƒÍÿ1Éë&;t$ƒ};<$ƒ”ŠFˆGfÛsuà;t$‡]f‹ƒîþfÛr˸fÛu;t$‡>f‹ƒîþfÛÀˆTfÛsu8;t$‡f‹ƒîþfÛr#HfÛu;t$‡f‹ƒîþfÛÀˆë¡=‡ ƒèrAÁà;t$ƒÑŠFƒðÿ„º‰æÑø‰Ås6fÛu;t$‡ªf‹ƒîþfÛÉëdfÛu;t$‡Žf‹ƒîþfÛrÊAfÛu;t$wwf‹ƒîþfÛr³fÛu;t$waf‹ƒîþfÛÉxtfÛsãu;t$wGf‹ƒîþfÛsЃÁýûÿÿƒÑ‰úÊrJ;$wE‰úêsF;T$0r@ŠBˆGIu÷éþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_n6.asm.text.absolutÿÿ(K_ucl_nrv2e_decompress_asm_safe_le16ucl_nrv2e_decompress_asm_safe_le16ucl-1.03/asm/i386/obj/win32/n2e_d_s1.obj0000644000175000001440000000076710077051333014221 00000000000000L@Æ«>,.textð<, P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤Ûu‹ƒîüÛrò1À@Ûu‹ƒîüÛÀÛu‹ƒîüÛrHÛu‹ƒîüÛÀëÖƒèrÁଃðÿtbÑø‰ÅsÛu‹ƒîüÛÉë8Ûu‹ƒîüÛräAÛu‹ƒîüÛrÖÛu‹ƒîüÛÉÛu‹ƒîüÛsæƒÁýûÿÿƒÑV4/ó¤^éVÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_s1.asm.textð.absolutÿÿ)M_ucl_nrv2e_decompress_asm_small_le32ucl_nrv2e_decompress_asm_small_le32ucl-1.03/asm/i386/obj/win32/n2e_d_s2.obj0000644000175000001440000000136110077051333014211 00000000000000L@Æ«>.textà< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚¯‰‰ðC,‚¢‰Cƒè‚h9ð‚`‰CƒÍÿ1Éë;t$ƒL;<$ƒc¤Ûu;t$‡4‹ƒîüÛrÕ1À@Ûu;t$‡‹ƒîüÛÀˆ2Ûu;t$‡ý‹ƒîüÛr HÛu;t$‡å‹ƒîüÛÀˆýë¬=‡ðƒèr<Áà;t$ƒ·¬ƒðÿ„¢‰ÎÑø‰Ås,Ûu;t$‡“‹ƒîüÛÉëRÛu ;t$w~‹ƒîüÛrÔAÛu ;t$wj‹ƒîüÛrÀÛu ;t$wW‹ƒîüÛÉxlÛu ;t$wB‹ƒîüÛs؃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰ÖéÉþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_s2.asm.textà.absolutÿÿ.W_ucl_nrv2e_decompress_asm_small_safe_le32ucl_nrv2e_decompress_asm_small_safe_le32ucl-1.03/asm/i386/obj/win32/n2e_d_s3.obj0000644000175000001440000000074110077051333014213 00000000000000L@Æ«>.textà< P`UWVSQRü‹t$‹|$$ƒÍÿ1Éùë¤ÛuŠFÛrô1À@ÛuŠFÛÀÛuŠFÛrHÛuŠFÛÀë܃èrÁଃðÿtXÑø‰ÅsÛuŠFÛÉë0ÛuŠFÛrèAÛuŠFÛrÜÛuŠFÛÉÛuŠFÛsêƒÁýûÿÿƒÑV4/ó¤^éhÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_s3.asm.textà.absolutÿÿ&G_ucl_nrv2e_decompress_asm_small_8ucl_nrv2e_decompress_asm_small_8ucl-1.03/asm/i386/obj/win32/n2e_d_s4.obj0000644000175000001440000000127310077051333014215 00000000000000L@Æ«>ì.text°<ì P`UWVSQRƒì‰ãü‹s$‹{,‰ø‹S0‚‰‰‰ðC(‚|‰CƒÍÿ1Éë;t$ƒ:;<$ƒQ¤Ûu;t$ƒ"ŠFÛr×1À@Ûu;t$ƒ ŠFÛÀˆ$Ûu;t$ƒïŠFÛrHÛu;t$ƒÙŠFÛÀˆóë²=‡æƒèr:Áà;t$ƒ­¬ƒðÿ„˜‰ÄÑø‰Ås(Ûu;t$ƒ‰ŠFÛÉëJÛu ;t$svŠFÛrØAÛu ;t$sdŠFÛrÆÛu ;t$sSŠFÛÉxjÛu ;t$s@ŠFÛs܃ÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$,r;ó¤‰ÖéÛþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$,‹T$0‰:ƒÄZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_s4.asm.text°.absolutÿÿ+Q_ucl_nrv2e_decompress_asm_small_safe_8ucl_nrv2e_decompress_asm_small_safe_8ucl-1.03/asm/i386/obj/win32/n2e_d_s5.obj0000644000175000001440000000100710077051333014211 00000000000000L@Æ«><.text<< P`UWVSQRü‹t$‹|$$ƒÍÿ1Éë¤fÛu f‹ƒîþfÛrï1À@fÛu f‹ƒîþfÛÀfÛu f‹ƒîþfÛrHfÛu f‹ƒîþfÛÀë̓èr!ÁଃðÿtqÑø‰Ås"fÛu f‹ƒîþfÛÉëDfÛu f‹ƒîþfÛrÞAfÛu f‹ƒîþfÛrÍfÛu f‹ƒîþfÛÉfÛu f‹ƒîþfÛsàƒÁýûÿÿƒÑV4/ó¤^é;ÿÿÿ‰ã‹SS 9ÖtH°7w°3+{$‹S(‰:ZY[^_]Ã.fileþÿgn2e_d_s5.asm.text.absolutÿÿ)M_ucl_nrv2e_decompress_asm_small_le16ucl_nrv2e_decompress_asm_small_le16ucl-1.03/asm/i386/obj/win32/n2e_d_s6.obj0000644000175000001440000000142110077051333014212 00000000000000L@Æ«><.text<< P`UWVSQRƒì ‰ãü‹s(‹{0‰ø‹S4‚Ή‰ðC,‚Á‰Cƒè‚‡9ð‚‰CƒÍÿ1Éë;t$ƒk;<$ƒ‚¤fÛu;t$‡Rf‹ƒîþfÛrÒ1À@fÛu;t$‡5f‹ƒîþfÛÀˆKfÛu;t$‡f‹ƒîþfÛr#HfÛu;t$‡úf‹ƒîþfÛÀˆë£=‡ƒèr?Áà;t$ƒÊ¬ƒðÿ„µ‰áÑø‰Ås6fÛu;t$‡¥f‹ƒîþfÛÉëbfÛu;t$‡‰f‹ƒîþfÛrÊAfÛu;t$wrf‹ƒîþfÛr³fÛu;t$w\f‹ƒîþfÛÉxofÛu;t$wDf‹ƒîþfÛsÒƒÁýûÿÿƒÑ‰ò‰þÎrE;4$w@‰þîsA;t$0r;ó¤‰Öéªþÿÿ;<$w&;t$v¸7ÿÿÿëtH°3+|$0‹T$4‰:ƒÄ ZY[^_]ø6ÿÿÿëå¸5ÿÿÿëÞƒÈÿëÙ.fileþÿgn2e_d_s6.asm.text.absolutÿÿ.W_ucl_nrv2e_decompress_asm_small_safe_le16ucl_nrv2e_decompress_asm_small_safe_le16ucl-1.03/asm/i386/obj/win32/rdtsc.obj0000644000175000001440000000037310077051333013737 00000000000000L@Æ«>\.text <\ P`RQ‹L$ ø1‰‰QYZÃ.fileþÿgrdtsc.asm.text .absolutÿÿ!_ucl_rdtsc_asmucl_rdtsc_asmucl-1.03/asm/i386/obj/win32/rdtsca.obj0000644000175000001440000000040310077051333014072 00000000000000L@Æ«>\.text <\ P`RQ‹L$ ø1ƒÒQYZÃ.fileþÿgrdtsca.asm.text .absolutÿÿ)_ucl_rdtsc_add_asmucl_rdtsc_add_asmucl-1.03/asm/i086/0000777000175000001440000000000010077051333010466 500000000000000ucl-1.03/asm/i086/src/0000777000175000001440000000000010077051333011255 500000000000000ucl-1.03/asm/i086/src/conf.ash0000644000175000001440000000317710077051333012623 00000000000000; conf.ash -- assembler stuff ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /*********************************************************************** ; // ; ************************************************************************/ BITS 16 %macro .text 0 SEGMENT _TEXT class=CODE public use16 align=1 %endmacro %macro CGLOBALF 1 GLOBAL _%1 %define %1 _%1 %endmacro %macro UCL_PUBLIC 1 CGLOBALF %1 %ifdef __UCL_DB__ db 0,0,0,0,0,0,0 db 'UCL_START' %endif %1: %endmacro %macro UCL_PUBLIC_END 1 %ifdef __UCL_DB__ db 'UCL_END' %endif %endmacro ; vi:ts=8:et ucl-1.03/asm/i086/src/rdtsc.asm0000644000175000001440000000365510077051333013023 00000000000000; rdtsc.asm -- RDTSC ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // unsigned __far ucl_rdtsc_asm(ucl_uint32 __far ticks[2]) ; ************************************************************************/ UCL_PUBLIC ucl_rdtsc_asm CPU 386 push bp mov bp, sp push eax push edx push es push di ; es:di = ticks les di, [bp+6] cld ; serializing instruction CPU 586 rdtsc CPU 386 stosd ; ticks[0] = low 32 bits mov [es:di], edx ; ticks[1] = high 32 bits ; store low 16 bits as return code - see "pop eax" mov [bp-4], ax pop di pop es pop edx pop eax leave retf ; return low bits UCL_PUBLIC_END ucl_rdtsc_asm ; vi:ts=8:et ucl-1.03/asm/i086/src/cpuid.asm0000644000175000001440000001032710077051333013002 00000000000000; cpuid.asm -- CPUID ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // int __far ucl_cpuid_asm(ucl_uint32 __far info[16]) ; ************************************************************************/ UCL_PUBLIC ucl_cpuid_asm CPU 8086 push bp mov bp, sp and sp, byte -4 ; align sp for "pushfd" push cx push es push di cld ; es:di = info les di, [bp+6] mov cx, 0xf000 ; check for 286 or better (bits 12..15 are always set on an 8086) pushf pushf pop ax and ax, 0x0fff push ax popf pushf pop ax popf and ax, cx cmp ax, cx jz no_386 ; check for 386 or better (bits 12..15 are always clear on an 286) pushf pushf pop ax or ax, cx push ax popf pushf pop ax popf and ax, cx jz no_386 CPU 386 push eax push ebx push ecx push edx ; check for 486 or better mov edx, 0x00040000 ; 1 << 18 call toggle_eflags jz no_cpuid ; check for cpuid support ;; mov edx, 0x00200000 ; 1 << 21 shl edx, 3 ; 1 << 21 call toggle_eflags jz no_cpuid ; standard level 0000_0000h ; get maximum supported standard level and vendor ID string xor eax, eax call do_cpuid ; standard level 0000_0001h ; get processor type/family/model/stepping and feature flags xor eax, eax inc ax call do_cpuid ; extended level 8000_0000h ; get maximum supported extended level and vendor ID string mov eax, 0x80000000 call do_cpuid ; extended level 8000_0001h ; get processor family/model/stepping and features flags mov eax, 0x80000001 call do_cpuid pop edx pop ecx pop ebx pop eax xor ax, ax ; 0: success return: CPU 8086 pop di pop es pop cx mov sp, bp pop bp retf no_cpuid: CPU 386 pop edx pop ecx pop ebx pop eax no_386: CPU 8086 xor ax, ax mov cx, 32 rep stosw dec ax ; -1: failure jmp return toggle_eflags: CPU 386 pushfd pushfd pop eax mov ecx, eax xor eax, edx push eax popfd pushfd pop eax popfd xor eax, ecx and eax, edx ret do_cpuid: CPU 386 xor ebx, ebx xor ecx, ecx xor edx, edx CPU 586 cpuid CPU 386 stosd mov [es:di], ebx mov [es:di+4], ecx mov [es:di+8], edx add di, 12 ret UCL_PUBLIC_END ucl_cpuid_asm ; vi:ts=8:et ucl-1.03/asm/i086/src/rdtsca.asm0000644000175000001440000000372610077051333013163 00000000000000; rdtsca.asm -- RDTSC ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %include "conf.ash" .text ; /*********************************************************************** ; // unsigned __far ucl_rdtsc_add_asm(ucl_uint32 __far ticks[2]) ; ************************************************************************/ UCL_PUBLIC ucl_rdtsc_add_asm CPU 386 push bp mov bp, sp push eax push edx push ds push di ; ds:di = ticks lds di, [bp+6] clc ; serializing instruction CPU 586 rdtsc CPU 386 add [di], eax ; ticks[0] = low 32 bits adc edx, byte 0 add [di+4], edx ; ticks[1] = high 32 bits ; store low 16 bits as return code - see "pop eax" mov [bp-4], ax pop di pop ds pop edx pop eax leave retf ; return low bits UCL_PUBLIC_END ucl_rdtsc_add_asm ; vi:ts=8:et ucl-1.03/asm/i086/src_nasm/0000777000175000001440000000000010077051333012273 500000000000000ucl-1.03/asm/i086/src_nasm/asminit.def0000644000175000001440000000223410077051333014334 00000000000000; asminit.def -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; %define F(name) name %define globalf(x) global x bits 16 %ifidni __OUTPUT_FORMAT__,obj segment _TEXT class=CODE public use16 align=1 %else section .text %endif ucl-1.03/asm/i086/src_nasm/all/0000777000175000001440000000000010077051333013043 500000000000000ucl-1.03/asm/i086/src_nasm/all/asm_all.asm0000644000175000001440000000466410077051333015103 00000000000000; asm_all.asm -- ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %define F(name) name %define globalf(x) global x bits 16 %ifidni __OUTPUT_FORMAT__,obj segment _TEXT class=CODE public use16 align=1 %else section .text %endif globalf(_ucl_cpuid_asm) globalf(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,137,229,131,228,252,81,6,87,252,196,126,6,185,0,240 db 156,156,88,37,255,15,80,157,156,88,157,33,200,57,200,116 db 98,156,156,88,9,200,80,157,156,88,157,33,200,116,84,102 db 80,102,83,102,81,102,82,102,186,0,0,4,0,232,77,0 db 116,57,102,193,226,3,232,68,0,116,48,102,49,192,232,89 db 0,102,49,192,64,232,82,0,102,184,0,0,0,128,232,73 db 0,102,184,1,0,0,128,232,64,0,102,90,102,89,102,91 db 102,88,49,192,95,7,89,137,236,93,203,102,90,102,89,102 db 91,102,88,49,192,185,32,0,243,171,72,235,231,102,156,102 db 156,102,88,102,137,193,102,49,208,102,80,102,157,102,156,102 db 88,102,157,102,49,200,102,33,208,195,102,49,219,102,49,201 db 102,49,210,15,162,102,171,38,102,137,29,38,102,137,77,4 db 38,102,137,85,8,131,199,12,195 globalf(_ucl_rdtsc_asm) globalf(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 85,137,229,102,80,102,82,6,87,196,126,6,252,15,49,102 db 171,38,102,137,21,137,70,252,95,7,102,90,102,88,201,203 globalf(_ucl_rdtsc_add_asm) globalf(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 85,137,229,102,80,102,82,30,87,197,126,6,248,15,49,102 db 1,5,102,131,210,0,102,1,85,4,137,70,252,95,31,102 db 90,102,88,201,203 ucl-1.03/asm/i086/src_nasm/cpuid.asm0000644000175000001440000000360310077051333014017 00000000000000; cpuid.asm -- ucl_cpuid_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_cpuid_asm) globalf(F(ucl_cpuid_asm)) _ucl_cpuid_asm: F(ucl_cpuid_asm): db 85,137,229,131,228,252,81,6,87,252,196,126,6,185,0,240 db 156,156,88,37,255,15,80,157,156,88,157,33,200,57,200,116 db 98,156,156,88,9,200,80,157,156,88,157,33,200,116,84,102 db 80,102,83,102,81,102,82,102,186,0,0,4,0,232,77,0 db 116,57,102,193,226,3,232,68,0,116,48,102,49,192,232,89 db 0,102,49,192,64,232,82,0,102,184,0,0,0,128,232,73 db 0,102,184,1,0,0,128,232,64,0,102,90,102,89,102,91 db 102,88,49,192,95,7,89,137,236,93,203,102,90,102,89,102 db 91,102,88,49,192,185,32,0,243,171,72,235,231,102,156,102 db 156,102,88,102,137,193,102,49,208,102,80,102,157,102,156,102 db 88,102,157,102,49,200,102,33,208,195,102,49,219,102,49,201 db 102,49,210,15,162,102,171,38,102,137,29,38,102,137,77,4 db 38,102,137,85,8,131,199,12,195 ucl-1.03/asm/i086/src_nasm/rdtsc.asm0000644000175000001440000000243510077051333014034 00000000000000; rdtsc.asm -- ucl_rdtsc_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_rdtsc_asm) globalf(F(ucl_rdtsc_asm)) _ucl_rdtsc_asm: F(ucl_rdtsc_asm): db 85,137,229,102,80,102,82,6,87,196,126,6,252,15,49,102 db 171,38,102,137,21,137,70,252,95,7,102,90,102,88,201,203 ucl-1.03/asm/i086/src_nasm/rdtsca.asm0000644000175000001440000000250210077051333014170 00000000000000; rdtsca.asm -- ucl_rdtsc_add_asm ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; /***** DO NOT EDIT - GENERATED AUTOMATICALLY *****/ %include "asminit.def" globalf(_ucl_rdtsc_add_asm) globalf(F(ucl_rdtsc_add_asm)) _ucl_rdtsc_add_asm: F(ucl_rdtsc_add_asm): db 85,137,229,102,80,102,82,30,87,197,126,6,248,15,49,102 db 1,5,102,131,210,0,102,1,85,4,137,70,252,95,31,102 db 90,102,88,201,203 ucl-1.03/asm/i086/obj/0000777000175000001440000000000010077051333011240 500000000000000ucl-1.03/asm/i086/obj/omf16/0000777000175000001440000000000010077051333012170 500000000000000ucl-1.03/asm/i086/obj/omf16/cpuid.obj0000644000175000001440000000045510077051333013710 00000000000000€ cpuid.asmè– _TEXTCODE•˜(Éj&_ucl_cpuid_asm ucl_cpuid_asmˆ@¢‘ ÍU‰åƒäüQWüÄ~¹ðœœX%ÿPœX!È9ÈtbœœX ÈPœX!ÈtTfPfSfQfRfºèMt9fÁâèDt0f1ÀèYf1À@èRf¸€èIf¸€è@fZfYf[fX1À_Y‰ì]ËfZfYf[fX1À¹ ó«HëçfœfœfXf‰Áf1ÐfPffœfXff1Èf!ÐÃf1Ûf1Éf1Ò¢f«&f‰&f‰M&f‰UƒÇ ÃÈŠtucl-1.03/asm/i086/obj/omf16/rdtsc.obj0000644000175000001440000000020410077051333013713 00000000000000€ rdtsc.asmÝ– _TEXTCODE•˜( &_ucl_rdtsc_asm ucl_rdtsc_asm ˆ@¢‘ $U‰åfPfRWÄ~ü1f«&f‰‰Fü_fZfXÉË«Štucl-1.03/asm/i086/obj/omf16/rdtsca.obj0000644000175000001440000000022210077051333014054 00000000000000€ rdtsca.asmz– _TEXTCODE•˜(%._ucl_rdtsc_add_asmucl_rdtsc_add_asméˆ@¢‘ )U‰åfPfRWÅ~ø1ffƒÒfU‰Fü_fZfXÉËÍŠtucl-1.03/upx/0000777000175000001440000000000010077051333010034 500000000000000ucl-1.03/upx/i386/0000777000175000001440000000000010077051333010525 500000000000000ucl-1.03/upx/i386/n2d_d8e.ash0000644000175000001440000001102010077051333012353 00000000000000; n2d_d8e.ash -- ucl_nrv2d_decompress_8 in 16-bit assembly (dos/exe) ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input ; ds:si - source ; es:di - dest ; dx = ds ; cx = 0 ; bx = 0x800F ; bp = 1 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 8086 ; __NRV2D16S__ literal_n2d: movsb decompr_start_n2d: add bh, bh jnz dec1_n2d call reloadbh_n2d dec1_n2d: jc literal_n2d inc cx mov ax, es %ifdef __N2D64K01__ add di, di jnc di_ok_n2d add ah, 8 mov es, ax di_ok_n2d: shr di, 1 %endif; __NRV2DEX1__ offset_loop_n2d: call getbit_cx_n2d jc offset_loopend_n2d dec cx call getbit_n2d adc cx, cx jns offset_loop_n2d jmps decomp_done_n2d offset_loopend_n2d: dec cx dec cx jz offset_ok_n2d %ifdef __N2DX8601__ add cx, cx add cx, cx add cx, cx %else; __N2D28601__ CPU 286 shl cx, 3 CPU 8086 %endif; __NRV2DEX2__ mov bp, cx mov bl, [si] inc si not bl xor cx, cx shr bl, 1 jmps ook1_n2d offset_ok_n2d: call getbit_n2d ook1_n2d: adc cx, cx call getbit_n2d adc cx, cx jnz copy_match_n2d inc cx length_loop_n2d: call getbit_cx_n2d jnc length_loop_n2d inc cx inc cx copy_match_n2d: cmp bp, byte 0x51 sbb cx, byte -2 sub ax, bp jb handle_underflow_n2d mov ds, ax lea ax, [bx + di] ds_ok_n2d: sub ah, bh xchg ax, si rep movsb xchg ax, si mov ds, dx jmps decompr_start_n2d handle_underflow_n2d: %ifdef __N2DX8602__ shl ax, 1 shl ax, 1 shl ax, 1 shl ax, 1 push ax xor ax, ax mov ds, ax pop ax %else; __N2D28602__ CPU 286 shl ax, 4 push byte 0 pop ds CPU 8086 %endif; __NRV2DEX3__ add ax, bx add ax, di jmps ds_ok_n2d getbit_cx_n2d: add bh, bh jnz gb2_n2d call reloadbh_n2d gb2_n2d: adc cx, cx getbit_n2d: add bh, bh jnz f2_n2d reloadbh_n2d: mov bh, [si] %ifdef __N2D64K02__ adc si, si jnc si_ok_n2d add dh, 8 mov ds, dx si_ok_n2d: shr si, 1 %endif; __NRV2DEX9__ inc si adc bh, bh f2_n2d: ret decomp_done_n2d: ; __NRV2D16E__ CPU 8086 ; vi:ts=8:et ucl-1.03/upx/i386/n2e_d32.ash0000644000175000001440000001302010077051333012266 00000000000000; n2e_d32.ash -- ucl_nrv2e_decompress_le32 in 32-bit assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input: ; esi - source ; edi - dest ; ebp - -1 ; cld ; Output: ; eax - 0 ; ecx - 0 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 386 %macro getbit_n2e 1 %if %1==1 add ebx, ebx jnz %%gotbit %endif mov ebx, [esi] sub esi, byte -4 adc ebx, ebx %%gotbit: %endmacro %undef getbit %define getbit getbit_n2e %ifdef __N2ESMA10__ jmps dcl1_n2e decompr_literals_n2e: movsb %else; __N2EFAS10__ jmps dcl1_n2e align 8 ; __N2EFAS11__ decompr_literalb_n2e: mov al, [esi] inc esi mov [edi], al inc edi %endif; __N2EDEC10__ decompr_loop_n2e: add ebx, ebx jnz dcl2_n2e dcl1_n2e: getbit 32 dcl2_n2e: %ifdef __N2ESMA20__ jc decompr_literals_n2e xor eax, eax inc eax %else; __N2EFAS20__ %ifndef UPX102 mov al, [edi] ;; force data cache allocate (PentiumPlain or MMX) %endif jc decompr_literalb_n2e mov eax, 1 %endif; __N2EDEC20__ loop1_n2e: getbit 1 adc eax, eax %ifdef __N2ESMA30__ getbit 1 jc loopend1_n2e %else; __N2EFAS30__ add ebx, ebx jnc loopcontinue1_n2e jnz loopend1_n2e getbit 32 jc loopend1_n2e loopcontinue1_n2e: %endif; __N2EDEC30__ dec eax getbit 1 adc eax, eax jmps loop1_n2e decompr_mlen1_n2e: getbit 1 adc ecx, ecx jmps decompr_got_mlen_n2e loopend1_n2e: xor ecx, ecx sub eax, byte 3 jb decompr_prev_dist_n2e shl eax, 8 mov al, [esi] inc esi xor eax, byte -1 jz decompr_end_n2e sar eax, 1 ; shift low-bit into carry mov ebp, eax jmps decompr_ebpeax_n2e decompr_prev_dist_n2e: getbit 1 decompr_ebpeax_n2e: jc decompr_mlen1_n2e inc ecx getbit 1 jc decompr_mlen1_n2e loop2_n2e: getbit 1 adc ecx, ecx %ifdef __N2ESMA40__ getbit 1 jnc loop2_n2e %else; __N2EFAS40__ add ebx, ebx jnc loop2_n2e jnz loopend2_n2e getbit 32 jnc loop2_n2e loopend2_n2e: %endif; __N2EDUMM1__ %ifdef __N2ESMA50__ inc ecx inc ecx %else; __N2EFAS50__ add ecx, byte 2 %endif; __N2EDEC50__ decompr_got_mlen_n2e: cmp ebp, -0x500 adc ecx, byte 2 %ifdef __N2ESMA60__ %ifndef UPX102 push esi %else mov edx, esi %endif lea esi, [edi+ebp] rep movsb %ifndef UPX102 pop esi %else mov esi, edx %endif jmpn decompr_loop_n2e %else; __N2EFAS60__ lea edx, [edi+ebp] cmp ebp, byte -4 %ifndef UPX102 mov al, [edi+ecx] ;; force data cache allocate (PentiumPlain or MMX) %endif jbe decompr_copy4_n2e loop3_n2e: mov al, [edx] inc edx mov [edi], al inc edi dec ecx jnz loop3_n2e jmpn decompr_loop_n2e ; __N2EFAS61__ align 4 decompr_copy4_n2e: mov eax, [edx] add edx, byte 4 mov [edi], eax add edi, byte 4 sub ecx, byte 4 ja decompr_copy4_n2e add edi, ecx jmpn decompr_loop_n2e %endif; __N2EDEC60__ decompr_end_n2e: ; __NRV2EEND__ ; vi:ts=8:et ucl-1.03/upx/i386/n2e_d8e.ash0000644000175000001440000001114610077051333012365 00000000000000; n2e_d8e.ash -- ucl_nrv2e_decompress_8 in 16-bit assembly (dos/exe) ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input ; ds:si - source ; es:di - dest ; dx = ds ; cx = 0 ; bx = 0x800F ; bp = 1 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 8086 ; __NRV2E16S__ literal_n2e: movsb decompr_start_n2e: add bh, bh jnz dec1_n2e call reloadbh_n2e dec1_n2e: jc literal_n2e inc cx mov ax, es %ifdef __N2E64K01__ add di, di jnc di_ok_n2e add ah, 8 mov es, ax di_ok_n2e: shr di, 1 %endif; __NRV2EEX1__ offset_loop_n2e: call getbit_cx_n2e jc offset_loopend_n2e dec cx call getbit_n2e adc cx, cx jns offset_loop_n2e jmps decomp_done_n2e offset_loopend_n2e: dec cx dec cx jz offset_ok_n2e %ifdef __N2EX8601__ add cx, cx add cx, cx add cx, cx %else; __N2E28601__ CPU 286 shl cx, 3 CPU 8086 %endif; __NRV2EEX2__ mov bp, cx mov bl, [si] inc si not bl xor cx, cx shr bl, 1 jnc ook1_n2e mlen1_n2e: call getbit_n2e adc cx, cx jmps copy_match_n2e offset_ok_n2e: call getbit_n2e jc mlen1_n2e ook1_n2e: inc cx call getbit_n2e jc mlen1_n2e length_loop_n2e: call getbit_cx_n2e jnc length_loop_n2e inc cx inc cx copy_match_n2e: cmp bp, byte 0x51 sbb cx, byte -3 sub ax, bp jb handle_underflow_n2e mov ds, ax lea ax, [bx + di] ds_ok_n2e: sub ah, bh xchg ax, si rep movsb xchg ax, si mov ds, dx jmps decompr_start_n2e handle_underflow_n2e: %ifdef __N2EX8602__ shl ax, 1 shl ax, 1 shl ax, 1 shl ax, 1 push ax xor ax, ax mov ds, ax pop ax %else; __N2E28602__ CPU 286 shl ax, 4 push byte 0 pop ds CPU 8086 %endif; __NRV2EEX3__ add ax, bx add ax, di jmps ds_ok_n2e getbit_cx_n2e: add bh, bh jnz gb2_n2e call reloadbh_n2e gb2_n2e: adc cx, cx getbit_n2e: add bh, bh jnz f2_n2e reloadbh_n2e: mov bh, [si] %ifdef __N2E64K02__ adc si, si jnc si_ok_n2e add dh, 8 mov ds, dx si_ok_n2e: shr si, 1 %endif; __NRV2EEX9__ inc si adc bh, bh f2_n2e: ret decomp_done_n2e: ; __NRV2E16E__ CPU 8086 ; vi:ts=8:et ucl-1.03/upx/i386/n2b_d16.ash0000644000175000001440000001047610077051333012301 00000000000000; n2b_d16.ash -- ucl_nrv2b_decompress_le16 in 16-bit assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input ; bx - 0x8000 ; cx - 0 ; si - source ; di - dest ; bp - -1 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 8086 ; __NRV2B160__ literal_n2b: movsb decomp_start_n2b: call getbit_n2b jc literal_n2b inc cx loop1_n2b: call getbit_cx_n2b %ifdef __NRVDDONE__ jcxz decomp_done_n2b %else; __NRVDRETU__ jcxz decomp_ret_n2b %endif; __NRVDECO1__ jnb loop1_n2b sub cx, byte 3 jb axbp_n2b mov ah, cl lodsb not ax xchg bp, ax axbp_n2b: xor cx, cx call getbit_cx_n2b adc cx, cx jnz copy_match_n2b inc cx loop2_n2b: call getbit_cx_n2b jnb loop2_n2b inc cx inc cx copy_match_n2b: %ifdef __NRVLED00__ inc cx %else; __NRVGTD00__ cmp bp, -0xd00 adc cx, byte 1 %endif; __NRVDECO2__ lea ax, [di+bp] xchg ax, si rep movsb xchg ax, si jmps decomp_start_n2b getbit_cx_n2b: call getbit_n2b adc cx, cx getbit_n2b: add bx, bx jnz decomp_ret_n2b lodsw adc ax, ax xchg ax, bx decomp_ret_n2b: ret decomp_done_n2b: ; __NRV2B169__ ; ============= ; ============= 16-BIT CALLTRICK & JUMPTRICK ; ============= %ifdef CJT16 %ifdef __CALLTR16__ pop si mov cx, 'CT' cjt16_L1: lodsb sub al, 0xe8 cmp al, 1 ja cjt16_L1 %ifdef __CT16I286__ CPU 286 rol word [si], 8 CPU 8086 ; __CT16SUB0__ sub [si], si %else; __CT16I086__ mov bx, [si] xchg bl, bh sub bx, si mov [si], bx %endif; __CALLTRI2__ lodsw loop cjt16_L1 %endif; __CT16DUM1__ ; ============= %ifdef __CT16E800__ mov al, 0xe8 %else; __CT16E900__ mov al, 0xe9 %endif; __CALLTRI5__ pop di mov cx, 'CT' cjt16_L11: repne scasb %ifdef __CT16JEND__ jnz decomp_ret_n2b %else; __CT16JUL2__ jnz cjt16_L2 %endif; __CT16DUM2__ %ifdef __CT16I287__ CPU 286 rol word [di], 8 CPU 8086 ; __CT16SUB1__ sub [di], di %else; __CT16I087__ mov bx, [di] xchg bl, bh sub bx, di mov [di], bx %endif; __CALLTRI6__ scasw jmps cjt16_L11 cjt16_L2: ; __CT16DUMM3__ %endif ; CJT16 CPU 8086 ; vi:ts=8:et ucl-1.03/upx/i386/n2b_d32.ash0000644000175000001440000001220410077051333012266 00000000000000; n2b_d32.ash -- ucl_nrv2b_decompress_le32 in 32-bit assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input: ; esi - source ; edi - dest ; ebp - -1 ; cld ; Output: ; eax - 0 ; ecx - 0 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 386 %macro getbit_n2b 1 %if %1==1 add ebx, ebx jnz %%gotbit %endif mov ebx, [esi] sub esi, byte -4 adc ebx, ebx %%gotbit: %endmacro %undef getbit %define getbit getbit_n2b %ifdef __N2BSMA10__ jmps dcl1_n2b decompr_literals_n2b: movsb %else; __N2BFAS10__ jmps dcl1_n2b align 8 ; __N2BFAS11__ decompr_literalb_n2b: mov al, [esi] inc esi mov [edi], al inc edi %endif; __N2BDEC10__ decompr_loop_n2b: add ebx, ebx jnz dcl2_n2b dcl1_n2b: getbit 32 dcl2_n2b: %ifdef __N2BSMA20__ jc decompr_literals_n2b xor eax, eax inc eax %else; __N2BFAS20__ %ifndef UPX102 mov al, [edi] ;; force data cache allocate (PentiumPlain or MMX) %endif jc decompr_literalb_n2b mov eax, 1 %endif; __N2BDEC20__ loop1_n2b: getbit 1 adc eax, eax %ifdef __N2BSMA30__ getbit 1 jnc loop1_n2b %else; __N2BFAS30__ add ebx, ebx jnc loop1_n2b jnz loopend1_n2b getbit 32 jnc loop1_n2b loopend1_n2b: %endif; __N2BDEC30__ xor ecx, ecx sub eax, byte 3 jb decompr_ebpeax_n2b shl eax, 8 mov al, [esi] inc esi xor eax, byte -1 jz decompr_end_n2b mov ebp, eax decompr_ebpeax_n2b: getbit 1 adc ecx, ecx getbit 1 adc ecx, ecx jnz decompr_got_mlen_n2b inc ecx loop2_n2b: getbit 1 adc ecx, ecx %ifdef __N2BSMA40__ getbit 1 jnc loop2_n2b %else; __N2BFAS40__ add ebx, ebx jnc loop2_n2b jnz loopend2_n2b getbit 32 jnc loop2_n2b loopend2_n2b: %endif; __N2BDUMM1__ %ifdef __N2BSMA50__ inc ecx inc ecx %else; __N2BFAS50__ add ecx, byte 2 %endif; __N2BDEC50__ decompr_got_mlen_n2b: cmp ebp, -0xd00 adc ecx, byte 1 %ifdef __N2BSMA60__ %ifndef UPX102 push esi %else mov edx, esi %endif lea esi, [edi+ebp] rep movsb %ifndef UPX102 pop esi %else mov esi, edx %endif jmpn decompr_loop_n2b %else; __N2BFAS60__ lea edx, [edi+ebp] cmp ebp, byte -4 %ifndef UPX102 mov al, [edi+ecx] ;; force data cache allocate (PentiumPlain or MMX) %endif jbe decompr_copy4_n2b loop3_n2b: mov al, [edx] inc edx mov [edi], al inc edi dec ecx jnz loop3_n2b jmpn decompr_loop_n2b ; __N2BFAS61__ align 4 decompr_copy4_n2b: mov eax, [edx] add edx, byte 4 mov [edi], eax add edi, byte 4 sub ecx, byte 4 ja decompr_copy4_n2b add edi, ecx jmpn decompr_loop_n2b %endif; __N2BDEC60__ decompr_end_n2b: ; __NRV2BEND__ ; vi:ts=8:et ucl-1.03/upx/i386/n2b_d8e.ash0000644000175000001440000001040510077051333012357 00000000000000; n2b_d8e.ash -- ucl_nrv2b_decompress_8 in 16-bit assembly (dos/exe) ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input ; ds:si - source ; es:di - dest ; dx = ds ; cx = 0 ; bx = 0x800F ; bp = 1 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 8086 ; __NRV2B16S__ literal_n2b: movsb decompr_start_n2b: add bh, bh jnz dec1_n2b call reloadbh_n2b dec1_n2b: jc literal_n2b inc cx mov ax, es %ifdef __N2B64K01__ add di, di jnc di_ok_n2b add ah, 8 mov es, ax di_ok_n2b: shr di, 1 %endif; __NRV2BEX1__ offset_loop_n2b: call getbit_cx_n2b jcxz decomp_done_n2b jnc offset_loop_n2b dec cx dec cx jz offset_ok_n2b %ifdef __N2BX8601__ add cx, cx add cx, cx add cx, cx add cx, cx %else; __N2B28601__ CPU 286 shl cx, 4 CPU 8086 %endif; __NRV2BEX2__ mov bp, cx mov bl, [si] inc si not bl xor cx, cx offset_ok_n2b: call getbit_cx_n2b adc cx, cx jnz copy_match_n2b inc cx length_loop_n2b: call getbit_cx_n2b jnc length_loop_n2b inc cx inc cx copy_match_n2b: cmp bp, 0xd1 sbb cx, byte -2 sub ax, bp jb handle_underflow_n2b mov ds, ax lea ax, [bx + di] ds_ok_n2b: sub ah, bh xchg ax, si rep movsb xchg ax, si mov ds, dx jmps decompr_start_n2b handle_underflow_n2b: %ifdef __N2BX8602__ shl ax, 1 shl ax, 1 shl ax, 1 shl ax, 1 push ax xor ax, ax mov ds, ax pop ax %else; __N2B28602__ CPU 286 shl ax, 4 push byte 0 pop ds CPU 8086 %endif; __NRV2BEX3__ add ax, bx add ax, di jmps ds_ok_n2b getbit_cx_n2b: add bh, bh jnz gb2_n2b call reloadbh_n2b gb2_n2b: adc cx, cx getbit_n2b: add bh, bh jnz f2_n2b reloadbh_n2b: mov bh, [si] %ifdef __N2B64K02__ adc si, si jnc si_ok_n2b add dh, 8 mov ds, dx si_ok_n2b: shr si, 1 %endif; __NRV2BEX9__ inc si adc bh, bh f2_n2b: ret decomp_done_n2b: ; __NRV2B16E__ CPU 8086 ; vi:ts=8:et ucl-1.03/upx/i386/n2d_d32.ash0000644000175000001440000001265610077051333012303 00000000000000; n2d_d32.ash -- ucl_nrv2d_decompress_le32 in 32-bit assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; Input: ; esi - source ; edi - dest ; ebp - -1 ; cld ; Output: ; eax - 0 ; ecx - 0 %ifndef jmps %define jmps jmp short %endif %ifndef jmpn %define jmpn jmp near %endif CPU 386 %macro getbit_n2d 1 %if %1==1 add ebx, ebx jnz %%gotbit %endif mov ebx, [esi] sub esi, byte -4 adc ebx, ebx %%gotbit: %endmacro %undef getbit %define getbit getbit_n2d %ifdef __N2DSMA10__ jmps dcl1_n2d decompr_literals_n2d: movsb %else; __N2DFAS10__ jmps dcl1_n2d align 8 ; __N2DFAS11__ decompr_literalb_n2d: mov al, [esi] inc esi mov [edi], al inc edi %endif; __N2DDEC10__ decompr_loop_n2d: add ebx, ebx jnz dcl2_n2d dcl1_n2d: getbit 32 dcl2_n2d: %ifdef __N2DSMA20__ jc decompr_literals_n2d xor eax, eax inc eax %else; __N2DFAS20__ %ifndef UPX102 mov al, [edi] ;; force data cache allocate (PentiumPlain or MMX) %endif jc decompr_literalb_n2d mov eax, 1 %endif; __N2DDEC20__ loop1_n2d: getbit 1 adc eax, eax %ifdef __N2DSMA30__ getbit 1 jc loopend1_n2d %else; __N2DFAS30__ add ebx, ebx jnc loopcontinue1_n2d jnz loopend1_n2d getbit 32 jc loopend1_n2d loopcontinue1_n2d: %endif; __N2DDEC30__ dec eax getbit 1 adc eax, eax jmps loop1_n2d loopend1_n2d: xor ecx, ecx sub eax, byte 3 jb decompr_prev_dist_n2d shl eax, 8 mov al, [esi] inc esi xor eax, byte -1 jz decompr_end_n2d sar eax, 1 ; shift low-bit into carry mov ebp, eax jmps decompr_ebpeax_n2d decompr_prev_dist_n2d: getbit 1 decompr_ebpeax_n2d: adc ecx, ecx getbit 1 adc ecx, ecx jnz decompr_got_mlen_n2d inc ecx loop2_n2d: getbit 1 adc ecx, ecx %ifdef __N2DSMA40__ getbit 1 jnc loop2_n2d %else; __N2DFAS40__ add ebx, ebx jnc loop2_n2d jnz loopend2_n2d getbit 32 jnc loop2_n2d loopend2_n2d: %endif; __N2DDUMM1__ %ifdef __N2DSMA50__ inc ecx inc ecx %else; __N2DFAS50__ add ecx, byte 2 %endif; __N2DDEC50__ decompr_got_mlen_n2d: cmp ebp, -0x500 adc ecx, byte 1 %ifdef __N2DSMA60__ %ifndef UPX102 push esi %else mov edx, esi %endif lea esi, [edi+ebp] rep movsb %ifndef UPX102 pop esi %else mov esi, edx %endif jmpn decompr_loop_n2d %else; __N2DFAS60__ lea edx, [edi+ebp] cmp ebp, byte -4 %ifndef UPX102 mov al, [edi+ecx] ;; force data cache allocate (PentiumPlain or MMX) %endif jbe decompr_copy4_n2d loop3_n2d: mov al, [edx] inc edx mov [edi], al inc edi dec ecx jnz loop3_n2d jmpn decompr_loop_n2d ; __N2DFAS61__ align 4 decompr_copy4_n2d: mov eax, [edx] add edx, byte 4 mov [edi], eax add edi, byte 4 sub ecx, byte 4 ja decompr_copy4_n2d add edi, ecx jmpn decompr_loop_n2d %endif; __N2DDEC60__ decompr_end_n2d: ; __NRV2DEND__ ; vi:ts=8:et ucl-1.03/upx/m68k/0000777000175000001440000000000010077051333010621 500000000000000ucl-1.03/upx/m68k/bits.ash0000644000175000001440000001307010077051333012174 00000000000000; bits.ash -- bit access for decompression ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- ADDBITS ------------- macro(ADDBITS) #if (NRV_BB == 8) add.b d0,d0 ; sets Z, C and X ; 4 #elif (NRV_BB == 32) add.l d0,d0 ; sets Z, C and X ; 6 #endif endm #if 0 macro(ADDXBITS) #if (NRV_BB == 8) addx.b d0,d0 ; sets C and X ; 4 #elif (NRV_BB == 32) addx.l d0,d0 ; sets C and X ; 8 #endif endm #endif ; ------------- FILLBYTES_xx ------------- ; get 1 byte; then get 1 bit into both C and X macro(FILLBYTES_8) ; note: we shift the X flag through -> must init d0.b with $80 move.b (a0)+,d0 ; 8 addx.b d0,d0 ; sets C and X ; 4 endm ; get 32 bits in little endian format; then get 1 bit into both C and X macro(FILLBYTES_LE32) #if 0 move.b (a0)+,d0 ; 8 ror.l #8,d0 ; 24 move.b (a0)+,d0 ; 8 ror.l #8,d0 ; 24 move.b (a0)+,d0 ; 8 ror.l #8,d0 ; 24 move.b (a0)+,d0 ; 8 ror.l #8,d0 ; 24 add.l d0,d0 ; sets C and X ; 6 bset #0,d0 ; only changes Z ; 12 ; ----- ; 146 #elif 1 move.b 3(a0),d0 ; 12 lsl.w #8,d0 ; 22 move.b 2(a0),d0 ; 12 swap d0 ; 4 move.b 1(a0),d0 ; 12 lsl.w #8,d0 ; 22 move.b (a0),d0 ; 8 addq.l #4,a0 ; does not affect flags ; 8 add.l d0,d0 ; sets C and X ; 6 bset #0,d0 ; only changes Z ; 12 ; ----- ; 118 #else ; IMPORTANT: movep is not implemented on the 68060 # error "do not use movep" ; note: we shift the X flag through -> must init d0.l with $80000000 ; note: must use dc.l because of a bug in the pasm assembler ; note: may access past the end of the input; this is ok for UPX dc.l $01080003 ; movep.w 3(a0),d0 ; 16 move.b 2(a0),d0 ; 12 swap d0 ; 4 dc.l $01080001 ; movep.w 1(a0),d0 ; 16 move.b (a0),d0 ; 8 addq.l #4,a0 ; does not affect flags ; 8 addx.l d0,d0 ; sets C and X ; 8 ; ----- ; 72 #endif endm ; ------------- FILLBITS ------------- macro(FILLBITS) #if (NRV_BB == 8) ; no need for a subroutine FILLBYTES_8 #elif (NRV_BB == 32) # ifdef SMALL # define FILLBYTES_SR FILLBYTES_LE32 bsr fillbytes_sr ; 18 # else FILLBYTES_LE32 # endif #endif endm ; ------------- GETBIT ------------- ; get one bit into both the Carry and eXtended flag macro(GETBIT) #if defined(__A68K__) ADDBITS ; 4 / 6 bne \@ ; 10 (if jump) FILLBITS \@: #elif defined(__ASL__) ADDBITS ; 4 / 6 bne done ; 10 (if jump) FILLBITS done: #else LOCAL done ADDBITS ; 4 / 6 bne done ; 10 (if jump) FILLBITS done: #endif endm ; vi:ts=8:et ucl-1.03/upx/m68k/n2d_d.ash0000644000175000001440000001513610077051333012226 00000000000000; n2d_d.ash -- NRV2D decompression in 68000 assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; decompress from a0 to a1 ; note: must preserve d4 and a5-a7 ; ; On entry: ; a0 src pointer ; a1 dest pointer ; ; On exit: ; d1.l = 0x00008000 ; d2.l = 0 ; ; Register usage: ; a3 m_pos ; ; d0 bit buffer ; d1 m_off ; d2 m_len ; d5 last_m_off ; ; d6 constant: -$500 ; d7 constant: -1 ; ; ; Notes: ; we have max_match = 65535, so we can use word arithmetics on d2 ; we have max_offset < 2**23, so we can use partial word arithmetics on d1 ; ; ------------- constants & macros ------------- #if !defined(NRV_NO_INIT) ;;move.l #-$500,d6 ; 0xfffffb00 moveq.l #-$50,d6 ; 0xffffffb0 lsl.w #4,d6 ; << 4 moveq.l #-1,d7 moveq.l #-1,d5 ; last_off = -1 ; init d0 with high bit set #if (NRV_BB == 8) ;;move.b #$80,d0 ; init d0.b for FILLBYTES moveq.l #-128,d0 ; d0.b = $80 #elif (NRV_BB == 32) ;;move.l #$80000000,d0 ; init d0.l for FILLBYTES moveq.l #1,d0 ror.l #1,d0 ; d0.l = $80000000 #endif bra decompr_start #endif #include "bits.ash" #if defined(FILLBYTES_SR) fillbytes_sr: FILLBYTES_SR rts ; 16 #endif ; ------------- DECOMPRESSION ------------- decompr_literal: move.b (a0)+,(a1)+ decompr_start: decompr_loop: #ifdef SMALL ; cost literal: 4 + 10 + 10 ; cost match: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcs decompr_literal #else ; optimization: carry is clear -> we know that bits are available ; cost literal: 4 + 8 + 10 ; cost match: 4 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_match bne decompr_literal FILLBITS bcs decompr_literal #endif decompr_match: moveq.l #1,d1 moveq.l #0,d2 decompr_l1: GETBIT addx.w d1,d1 #ifdef SMALL ; cost loop continue: 4 + 10 + 8 ; cost loop break: 4 + 10 + 10 ; cost fillbits: 4 + 8 GETBIT bcs decompr_break1 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc L(continue) bne decompr_break1 FILLBITS bcs decompr_break1 L(continue): #endif subq.w #1,d1 GETBIT addx.w d1,d1 bpl decompr_l1 bra decompr_end decompr_break1: subq.w #3,d1 bcs decompr_prev_dist ; last m_off lsl.l #8,d1 move.b (a0)+,d1 not.l d1 asr.l #1,d1 move.l d1,d5 bra decompr_get_mlen decompr_prev_dist: GETBIT decompr_get_mlen: addx.w d2,d2 GETBIT addx.w d2,d2 tst.w d2 ; addx doesn't set the Z flag... bne decompr_got_mlen addq.w #1,d2 decompr_l2: GETBIT addx.w d2,d2 #ifdef SMALL ; cost loop continue: 4 + 10 + 10 ; cost loop break: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcc decompr_l2 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_l2 bne L(break) FILLBITS bcc decompr_l2 L(break): #endif addq.w #2,d2 decompr_got_mlen: lea 0(a1,d5.l),a3 ; must use sub as cmp doesn't affect the X flag move.l d5,d1 sub.l d6,d1 addx.w d7,d2 ; TODO: partly unroll this loop; could use some magic with d7 for address ; computations, then compute a nice `jmp yyy(pc,dx.w)' #if 1 ; cost for any m_len: 12 + 22 * (m_len - 1) + 4 ; 38, 60, 82, 104, 126, 148, 170, 192, 214, 236 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #else ; cost for even m_len: 18 + 34 * (m_len / 2) + 4 ; cost for odd m_len: 28 + 34 * (m_len / 2) + 4 ; 56, 66, 90, 100, 124, 134, 158, 168, 192, 202 lsr.w #1,d2 ; 8 bcc L(copy) ; 10 / 8 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #endif bra decompr_loop decompr_end: ; vi:ts=8:et ucl-1.03/upx/m68k/n2e_d.ash0000644000175000001440000001516410077051333012230 00000000000000; n2e_d.ash -- NRV2E decompression in 68000 assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; decompress from a0 to a1 ; note: must preserve d4 and a5-a7 ; ; On entry: ; a0 src pointer ; a1 dest pointer ; ; On exit: ; d1.l = 0x00008000 ; d2.l = 0 ; ; Register usage: ; a3 m_pos ; ; d0 bit buffer ; d1 m_off ; d2 m_len ; d5 last_m_off ; ; d6 constant: -$500 ; d7 constant: 0 ; ; ; Notes: ; we have max_match = 65535, so we can use word arithmetics on d2 ; we have max_offset < 2**23, so we can use partial word arithmetics on d1 ; ; ------------- constants & macros ------------- #if !defined(NRV_NO_INIT) ;;move.l #-$500,d6 ; 0xfffffb00 moveq.l #-$50,d6 ; 0xffffffb0 lsl.w #4,d6 ; << 4 moveq.l #0,d7 moveq.l #-1,d5 ; last_off = -1 ; init d0 with high bit set #if (NRV_BB == 8) ;;move.b #$80,d0 ; init d0.b for FILLBYTES moveq.l #-128,d0 ; d0.b = $80 #elif (NRV_BB == 32) ;;move.l #$80000000,d0 ; init d0.l for FILLBYTES moveq.l #1,d0 ror.l #1,d0 ; d0.l = $80000000 #endif bra decompr_start #endif #include "bits.ash" #if defined(FILLBYTES_SR) fillbytes_sr: FILLBYTES_SR rts ; 16 #endif ; ------------- DECOMPRESSION ------------- decompr_literal: move.b (a0)+,(a1)+ decompr_start: decompr_loop: #ifdef SMALL ; cost literal: 4 + 10 + 10 ; cost match: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcs decompr_literal #else ; optimization: carry is clear -> we know that bits are available ; cost literal: 4 + 8 + 10 ; cost match: 4 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_match bne decompr_literal FILLBITS bcs decompr_literal #endif decompr_match: moveq.l #1,d1 moveq.l #0,d2 decompr_l1: GETBIT addx.w d1,d1 #ifdef SMALL ; cost loop continue: 4 + 10 + 8 ; cost loop break: 4 + 10 + 10 ; cost fillbits: 4 + 8 GETBIT bcs decompr_break1 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc L(continue) bne decompr_break1 FILLBITS bcs decompr_break1 L(continue): #endif subq.w #1,d1 GETBIT addx.w d1,d1 bpl decompr_l1 bra decompr_end decompr_break1: subq.w #3,d1 bcs decompr_prev_dist ; last m_off lsl.l #8,d1 move.b (a0)+,d1 not.l d1 asr.l #1,d1 bcc decompr_get_mlen2 decompr_get_mlen1: GETBIT addx.w d2,d2 bra decompr_got_mlen decompr_prev_dist: move.l d5,d1 GETBIT bcs decompr_get_mlen1 decompr_get_mlen2: addq.w #1,d2 GETBIT bcs decompr_get_mlen1 decompr_l2: GETBIT addx.w d2,d2 #ifdef SMALL ; cost loop continue: 4 + 10 + 10 ; cost loop break: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcc decompr_l2 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_l2 bne L(break) FILLBITS bcc decompr_l2 L(break): #endif addq.w #2,d2 decompr_got_mlen: move.l d1,d5 lea 0(a1,d1.l),a3 ; must use sub as cmp doesn't affect the X flag sub.l d6,d1 addx.w d7,d2 ; TODO: partly unroll this loop; could use some magic with d7 for address ; computations, then compute a nice `jmp yyy(pc,dx.w)' #if 1 ; cost for any m_len: 12 + 22 * (m_len - 1) + 4 ; 38, 60, 82, 104, 126, 148, 170, 192, 214, 236 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #else ; cost for even m_len: 18 + 34 * (m_len / 2) + 4 ; cost for odd m_len: 28 + 34 * (m_len / 2) + 4 ; 56, 66, 90, 100, 124, 134, 158, 168, 192, 202 lsr.w #1,d2 ; 8 bcc L(copy) ; 10 / 8 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #endif bra decompr_loop decompr_end: ; vi:ts=8:et ucl-1.03/upx/m68k/n2b_d.ash0000644000175000001440000001442710077051333012226 00000000000000; n2b_d.ash -- NRV2B decompression in 68000 assembly ; ; This file is part of the UCL data compression library. ; ; Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer ; All Rights Reserved. ; ; The UCL library is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; The UCL library is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with the UCL library; see the file COPYING. ; If not, write to the Free Software Foundation, Inc., ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ; ; Markus F.X.J. Oberhumer ; ; http://www.oberhumer.com/opensource/ucl/ ; ; ------------- DECOMPRESSION ------------- ; decompress from a0 to a1 ; note: must preserve d4 and a5-a7 ; ; On entry: ; a0 src pointer ; a1 dest pointer ; ; On exit: ; d1.l = 0 ; d2.l = 0 ; ; Register usage: ; a3 m_pos ; ; d0 bit buffer ; d1 m_off ; d2 m_len ; d5 last_m_off ; ; d6 constant: -$d00 ; d7 constant: -1 ; ; ; Notes: ; we have max_match = 65535, so we can use word arithmetics on d2 ; ; ------------- constants & macros ------------- #if !defined(NRV_NO_INIT) ;;move.l #-$d00,d6 ; 0xfffff300 moveq.l #-$68,d6 ; 0xffffff98 lsl.w #5,d6 ; << 5 moveq.l #-1,d7 moveq.l #-1,d5 ; last_off = -1 ; init d0 with high bit set #if (NRV_BB == 8) ;;move.b #$80,d0 ; init d0.b for FILLBYTES moveq.l #-128,d0 ; d0.b = $80 #elif (NRV_BB == 32) ;;move.l #$80000000,d0 ; init d0.l for FILLBYTES moveq.l #1,d0 ror.l #1,d0 ; d0.l = $80000000 #endif bra decompr_start #endif #include "bits.ash" #if defined(FILLBYTES_SR) fillbytes_sr: FILLBYTES_SR rts ; 16 #endif ; ------------- DECOMPRESSION ------------- decompr_literal: move.b (a0)+,(a1)+ decompr_start: decompr_loop: #ifdef SMALL ; cost literal: 4 + 10 + 10 ; cost match: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcs decompr_literal #else ; optimization: carry is clear -> we know that bits are available ; cost literal: 4 + 8 + 10 ; cost match: 4 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_match bne decompr_literal FILLBITS bcs decompr_literal #endif decompr_match: moveq.l #1,d1 moveq.l #0,d2 decompr_l1: GETBIT addx.l d1,d1 #ifdef SMALL ; cost loop continue: 4 + 10 + 10 ; cost loop break: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcc decompr_l1 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_l1 bne L(break) FILLBITS bcc decompr_l1 L(break): #endif subq.l #3,d1 bcs decompr_get_mlen ; last m_off lsl.l #8,d1 move.b (a0)+,d1 not.l d1 beq decompr_end move.l d1,d5 decompr_get_mlen: GETBIT addx.w d2,d2 GETBIT addx.w d2,d2 tst.w d2 ; addx doesn't set the Z flag... bne decompr_got_mlen addq.w #1,d2 decompr_l2: GETBIT addx.w d2,d2 #ifdef SMALL ; cost loop continue: 4 + 10 + 10 ; cost loop break: 4 + 10 + 8 ; cost fillbits: 4 + 8 GETBIT bcc decompr_l2 #else ; optimization: carry is clear -> we know that bits are available ; cost loop continue: 4 + 10 ; cost loop break: 4 + 8 + 10 ; cost fillbits: 4 + 8 + 8 ADDBITS bcc decompr_l2 bne L(break) FILLBITS bcc decompr_l2 L(break): #endif addq.w #2,d2 decompr_got_mlen: lea 0(a1,d5.l),a3 ; must use sub as cmp doesn't affect the X flag move.l d5,d1 sub.l d6,d1 addx.w d7,d2 ; TODO: partly unroll this loop; could use some magic with d7 for address ; computations, then compute a nice `jmp yyy(pc,dx.w)' #if 1 ; cost for any m_len: 12 + 22 * (m_len - 1) + 4 ; 38, 60, 82, 104, 126, 148, 170, 192, 214, 236 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #else ; cost for even m_len: 18 + 34 * (m_len / 2) + 4 ; cost for odd m_len: 28 + 34 * (m_len / 2) + 4 ; 56, 66, 90, 100, 124, 134, 158, 168, 192, 202 lsr.w #1,d2 ; 8 bcc L(copy) ; 10 / 8 move.b (a3)+,(a1)+ ; 12 L(copy): move.b (a3)+,(a1)+ ; 12 move.b (a3)+,(a1)+ ; 12 dbra d2,L(copy) ; 10 / 14 #endif bra decompr_loop decompr_end: ; vi:ts=8:et ucl-1.03/upx/00README.UPX0000644000175000001440000000166410077051333011452 00000000000000-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================ UCL -- a real-time data compression library ============================================================================ This directory contains the runtime decompressors which are used by the UPX excutable packer. Please note once again that these files are distributed under the GNU General Public License and carefully read the exceptional license statements in the UPX License that I grant there to make it possible to use UPX compressed files (which are containing these decompressors) without restrictions. Markus F.X.J. Oberhumer http://www.oberhumer.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8MbidTWFXqwsgQ8kRArPDAJwK4+OtQlgss6mqUWTocUeL/KFORgCgr0NO fqlxtHJ6SGqSXqhnF80it/Y= =eboX -----END PGP SIGNATURE----- ucl-1.03/acc/0000777000175000001440000000000010077051333007746 500000000000000ucl-1.03/acc/ACC_LICENSE0000644000175000001440000004325610077051333011347 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. ucl-1.03/acc/acc.h0000644000175000001440000000432310077051333010563 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * Possible configuration values: * * ACC_CONFIG_NO_HEADER * ACC_CONFIG_HEADER if given, then use this as * ACC_CONFIG_INCLUDE include path to acc_ files * * ACC_CONFIG_PREFER___INT64 [acc_type.h] */ #ifndef __ACC_H_INCLUDED #define __ACC_H_INCLUDED 1 #define ACC_VERSION 20040715L #if !defined(ACC_CONFIG_INCLUDE) # define ACC_CONFIG_INCLUDE(file) file #endif #if defined(__CYGWIN32__) && !defined(__CYGWIN__) # define __CYGWIN__ __CYGWIN32__ #endif #if defined(__IBMCPP__) && !defined(__IBMC__) # define __IBMC__ __IBMCPP__ #endif #if defined(__ICL) && defined(_WIN32) && !defined(__INTEL_COMPILER) # define __INTEL_COMPILER __ICL #endif #if 1 && defined(__INTERIX) && defined(__GNUC__) && !defined(_ALL_SOURCE) # define _ALL_SOURCE 1 #endif /* disable pedantic warnings for undefined preprocessing symbols */ #if defined(__INTEL_COMPILER) && defined(__linux__) # pragma warning(disable: 193) #endif #if defined(__KEIL__) && defined(__C166__) # pragma warning disable = 322 #elif 0 && defined(__C251__) # pragma warning disable = 322 #endif #if defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__MWERKS__) # if (_MSC_VER >= 1300) # pragma warning(disable: 4668) # endif #endif #if 0 && defined(__WATCOMC__) # if (__WATCOMC__ < 1060) # pragma warning 203 9 # endif #endif #include #include ACC_CONFIG_INCLUDE("acc_init.h") #include ACC_CONFIG_INCLUDE("acc_os.h") #include ACC_CONFIG_INCLUDE("acc_cc.h") #include ACC_CONFIG_INCLUDE("acc_arch.h") #include ACC_CONFIG_INCLUDE("acc_mm.h") #include ACC_CONFIG_INCLUDE("acc_defs.h") #if defined(ACC_CONFIG_NO_HEADER) #elif defined(ACC_CONFIG_HEADER) # include ACC_CONFIG_HEADER #else # include ACC_CONFIG_INCLUDE("acc_auto.h") #endif #include ACC_CONFIG_INCLUDE("acc_type.h") #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_arch.h0000644000175000001440000000776010077051333011570 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * CPU architecture - exactly one of: * * ACC_ARCH_UNKNOWN [default] * ACC_ARCH_ALPHA * ACC_ARCH_AMD64 aka x86-64 or ia32e * ACC_ARCH_C166 * ACC_ARCH_IA16 Intel Architecture (8088, 8086, 80186, 80286) * ACC_ARCH_IA32 Intel Architecture (80386+) * ACC_ARCH_IA64 Intel Architecture (Itanium) * ACC_ARCH_M68K Motorola 680x0 * ACC_ARCH_MCS251 * ACC_ARCH_MCS51 * ACC_ARCH_PPC64 Power PC * ACC_ARCH_SPARC64 * * Optionally define one of: * ACC_ENDIAN_LITTLE_ENDIAN * ACC_ENDIAN_BIG_ENDIAN * * Note that this list is not exhaustive - actually we only really care * about architectures which allow unaligned memory access at reasonable * speed (for the moment this means IA16, IA32 and AMD64). */ #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) # define ACC_ARCH_IA16 1 # define ACC_INFO_ARCH "ia16" #elif defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64) # define ACC_ARCH_AMD64 1 # define ACC_INFO_ARCH "amd64" #elif (UINT_MAX <= ACC_0xffffL) && defined(__AVR__) # define ACC_ARCH_AVR 1 # define ACC_INFO_ARCH "avr" #elif (UINT_MAX == ACC_0xffffL) && defined(__C166__) # define ACC_ARCH_C166 1 # define ACC_INFO_ARCH "c166" #elif (UINT_MAX == ACC_0xffffL) && defined(__C251__) # define ACC_ARCH_MCS251 1 # define ACC_INFO_ARCH "mcs-251" #elif (UINT_MAX == ACC_0xffffL) && defined(__C51__) # define ACC_ARCH_MCS51 1 # define ACC_INFO_ARCH "mcs-51" #elif defined(__386__) || defined(__i386__) || defined(__i386) || defined(_M_IX86) || defined(_M_I386) # define ACC_ARCH_IA32 1 # define ACC_INFO_ARCH "ia32" #elif (ACC_CC_ZORTECHC && defined(__I86__)) # define ACC_ARCH_IA32 1 # define ACC_INFO_ARCH "ia32" #elif defined(__ia64__) || defined(__ia64) || defined(_M_IA64) # define ACC_ARCH_IA64 1 # define ACC_INFO_ARCH "ia64" #elif (ACC_OS_DOS32 && ACC_CC_HIGHC) && defined(_I386) # define ACC_ARCH_IA32 1 # define ACC_INFO_ARCH "ia32" #elif (ACC_OS_DOS32 || ACC_OS_OS2) # error "missing define for CPU architecture" #elif (ACC_OS_WIN32) # error "missing define for CPU architecture" #elif (ACC_OS_WIN64) /* # error "missing define for CPU architecture" */ #elif (ACC_OS_TOS) || defined(__m68000__) # define ACC_ARCH_M68K 1 # define ACC_INFO_ARCH "m68k" #elif defined(__alpha__) || defined(__alpha) # define ACC_ARCH_ALPHA 1 # define ACC_INFO_ARCH "alpha" #elif defined(__ppc64__) || defined(__ppc64) # define ACC_ARCH_PPC64 1 # define ACC_INFO_ARCH "ppc64" #elif defined(__sparc64__) || defined(__sparc64) # define ACC_ARCH_SPARC64 1 # define ACC_INFO_ARCH "sparc64" #else # define ACC_ARCH_UNKNOWN 1 # define ACC_INFO_ARCH "unknown" #endif #if (ACC_ARCH_AMD64 || ACC_ARCH_IA16 || ACC_ARCH_IA32) # define ACC_ENDIAN_LITTLE_ENDIAN 1 # define ACC_INFO_ENDIAN "little-endian" #elif (ACC_ARCH_M68K) # define ACC_ENDIAN_BIG_ENDIAN 1 # define ACC_INFO_ENDIAN "big-endian" #endif #if (ACC_ARCH_IA16) # if (UINT_MAX != ACC_0xffffL) # error "this should not happen" # endif # if (ULONG_MAX != ACC_0xffffffffL) # error "this should not happen" # endif #endif #if (ACC_ARCH_IA32) # if (UINT_MAX != ACC_0xffffffffL) # error "this should not happen" # endif # if (ULONG_MAX != ACC_0xffffffffL) # error "this should not happen" # endif #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_auto.h0000644000175000001440000004202210077051333011611 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * Possible configuration values: * * ACC_CONFIG_AUTO_NO_HEADERS * ACC_CONFIG_AUTO_NO_FUNCTIONS * ACC_CONFIG_AUTO_NO_SIZES */ /************************************************************************* // Checks for **************************************************************************/ #if !defined(ACC_CONFIG_AUTO_NO_HEADERS) #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) # if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)) # define HAVE_STDINT_H 1 # endif #elif defined(__dietlibc__) # undef HAVE_STDINT_H /* incomplete */ #elif (ACC_CC_BORLANDC) && (__BORLANDC__ >= 0x560) # undef HAVE_STDINT_H /* broken & incomplete */ #elif (ACC_CC_DMC) && (__DMC__ >= 0x825) # define HAVE_STDINT_H 1 #endif #if HAVE_STDINT_H # include #endif #endif /* !defined(ACC_CONFIG_AUTO_NO_HEADERS) */ /************************************************************************* // Checks for header files **************************************************************************/ #if !defined(ACC_CONFIG_AUTO_NO_HEADERS) #define STDC_HEADERS 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDARG_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #undef HAVE_ALLOCA_H #undef HAVE_CONIO_H #undef HAVE_DIRECT_H #undef HAVE_DOS_H #undef HAVE_IO_H #undef HAVE_SHARE_H #undef HAVE_STDINT_H #undef HAVE_STRINGS_H #undef HAVE_SYS_UTIME_H #if (ACC_OS_POSIX) # define HAVE_STRINGS_H 1 # if (ACC_OS_POSIX_FREEBSD || ACC_OS_POSIX_MACOSX || ACC_OS_POSIX_OPENBSD) # undef HAVE_MALLOC_H /* deprecated */ # elif (ACC_OS_POSIX_HPUX || ACC_OS_POSIX_INTERIX) # define HAVE_ALLOCA_H 1 # endif # if (ACC_OS_POSIX_MACOSX && ACC_CC_MWERKS) && defined(__MSL__) /* FIXME ??? */ # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H # endif #elif (ACC_OS_CYGWIN) # define HAVE_IO_H 1 #elif (ACC_OS_EMX) # define HAVE_ALLOCA_H 1 # define HAVE_IO_H 1 #elif (ACC_OS_TOS && ACC_CC_GNUC) # if !defined(__MINT__) # undef HAVE_MALLOC_H # endif #elif (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) # undef HAVE_DIRENT_H # undef HAVE_FCNTL_H # undef HAVE_MALLOC_H # undef HAVE_MEMORY_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_STAT_H # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H #endif /* DOS, OS/2 & Windows */ #if (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) #define HAVE_CONIO_H 1 #define HAVE_DIRECT_H 1 #define HAVE_DOS_H 1 #define HAVE_IO_H 1 #define HAVE_SHARE_H 1 #if (ACC_CC_AZTECC) # undef HAVE_CONIO_H # undef HAVE_DIRECT_H # undef HAVE_DIRENT_H # undef HAVE_MALLOC_H # undef HAVE_SHARE_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_STAT_H # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H #elif (ACC_CC_BORLANDC) # undef HAVE_UNISTD_H # undef HAVE_SYS_TIME_H # if (ACC_OS_WIN32 || ACC_OS_WIN64) # undef HAVE_DIRENT_H /* pulls in ; use instead */ # endif # if (__BORLANDC__ < 0x0400) # undef HAVE_DIRENT_H # undef HAVE_UTIME_H # endif #elif (ACC_CC_DMC) # undef HAVE_DIRENT_H /* not working */ # undef HAVE_UNISTD_H /* not working */ # define HAVE_SYS_DIRENT_H 1 #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) #elif (ACC_OS_DOS32 && ACC_CC_HIGHC) # define HAVE_ALLOCA_H 1 # undef HAVE_DIRENT_H # undef HAVE_UNISTD_H #elif (ACC_CC_IBMC && ACC_OS_OS2) # undef HAVE_DOS_H # undef HAVE_DIRENT_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H # define HAVE_SYS_UTIME_H 1 #elif (ACC_CC_INTELC || ACC_CC_MSC) # undef HAVE_DIRENT_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H # define HAVE_SYS_UTIME_H 1 #elif (ACC_CC_LCC) # undef HAVE_DIRENT_H # undef HAVE_DOS_H # undef HAVE_SYS_TIME_H #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__MINGW32__) # undef HAVE_UTIME_H # define HAVE_SYS_UTIME_H 1 #elif (ACC_OS_WIN32 && ACC_CC_MWERKS) && defined(__MSL__) # define HAVE_ALLOCA_H 1 # undef HAVE_DOS_H # undef HAVE_SHARE_H # undef HAVE_SYS_TIME_H #elif (ACC_CC_NDPC) # undef HAVE_DIRENT_H # undef HAVE_DOS_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H #elif (ACC_CC_PACIFICC) # undef HAVE_DIRECT_H # undef HAVE_DIRENT_H # undef HAVE_FCNTL_H # undef HAVE_IO_H # undef HAVE_MALLOC_H # undef HAVE_MEMORY_H # undef HAVE_SHARE_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_STAT_H # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H #elif (ACC_OS_WIN32 && ACC_CC_PELLESC) # undef HAVE_DIRENT_H # undef HAVE_DOS_H # undef HAVE_MALLOC_H # undef HAVE_SHARE_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H # if (__POCC__ < 280) # else # define HAVE_SYS_UTIME_H 1 # endif #elif (ACC_OS_WIN32 && ACC_CC_PGI) && defined(__MINGW32__) # undef HAVE_UTIME_H # define HAVE_SYS_UTIME_H 1 #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) #elif (ACC_CC_SYMANTECC) # undef HAVE_DIRENT_H /* opendir() not implemented in libc */ # undef HAVE_UNISTD_H /* not working */ # if (__SC__ < 0x700) # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H # endif #elif (ACC_CC_TOPSPEEDC) # undef HAVE_DIRENT_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_STAT_H # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H #elif (ACC_CC_TURBOC) # undef HAVE_UNISTD_H # undef HAVE_SYS_TIME_H # undef HAVE_SYS_TYPES_H /* useless */ # if (ACC_OS_WIN32 || ACC_OS_WIN64) # undef HAVE_DIRENT_H /* pulls in ; use instead */ # endif # if (__TURBOC__ < 0x0200) # undef HAVE_SIGNAL_H /* not working */ # endif # if (__TURBOC__ < 0x0400) # undef HAVE_DIRECT_H # undef HAVE_DIRENT_H # undef HAVE_MALLOC_H # undef HAVE_MEMORY_H # undef HAVE_UTIME_H # endif #elif (ACC_CC_WATCOMC) # undef HAVE_DIRENT_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H # define HAVE_SYS_UTIME_H 1 # if (__WATCOMC__ < 950) # undef HAVE_UNISTD_H # endif #elif (ACC_CC_ZORTECHC) # undef HAVE_DIRENT_H # undef HAVE_MEMORY_H # undef HAVE_UNISTD_H # undef HAVE_UTIME_H # undef HAVE_SYS_TIME_H #endif #endif /* DOS, OS/2 & Windows */ #if (HAVE_SYS_TIME_H && HAVE_TIME_H) # define TIME_WITH_SYS_TIME 1 #endif #endif /* !defined(ACC_CONFIG_AUTO_NO_HEADERS) */ /************************************************************************* // Checks for library functions **************************************************************************/ #if !defined(ACC_CONFIG_AUTO_NO_FUNCTIONS) #define HAVE_ACCESS 1 #define HAVE_ALLOCA 1 #define HAVE_ATEXIT 1 #define HAVE_ATOI 1 #define HAVE_ATOL 1 #define HAVE_CHMOD 1 #define HAVE_CHOWN 1 #define HAVE_CTIME 1 #define HAVE_DIFFTIME 1 #define HAVE_FILENO 1 #define HAVE_FSTAT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GMTIME 1 #define HAVE_LOCALTIME 1 #define HAVE_LONGJMP 1 #define HAVE_LSTAT 1 #define HAVE_MEMCMP 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMSET 1 #define HAVE_MKTIME 1 #define HAVE_QSORT 1 #define HAVE_RAISE 1 #define HAVE_SETJMP 1 #define HAVE_SIGNAL 1 #define HAVE_SNPRINTF 1 #define HAVE_STAT 1 #define HAVE_STRCHR 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRRCHR 1 #define HAVE_STRSTR 1 #define HAVE_TIME 1 #define HAVE_UMASK 1 #define HAVE_UTIME 1 #define HAVE_VSNPRINTF 1 #if (ACC_OS_BEOS || ACC_OS_CYGWIN || ACC_OS_POSIX || ACC_OS_QNX) # define HAVE_STRCASECMP 1 # define HAVE_STRNCASECMP 1 #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) # define HAVE_STRCASECMP 1 # define HAVE_STRNCASECMP 1 #else # define HAVE_STRICMP 1 # define HAVE_STRNICMP 1 #endif #if (ACC_OS_POSIX) # if (ACC_CC_TINYC) # undef HAVE_ALLOCA # elif defined(__dietlibc__) # endif # if (ACC_OS_POSIX_MACOSX && ACC_CC_MWERKS) && defined(__MSL__) /* FIXME ??? */ # undef HAVE_CHOWN # undef HAVE_LSTAT # endif #elif (ACC_OS_CYGWIN) # if (ACC_CC_GNUC < 0x025a00ul) # undef HAVE_GETTIMEOFDAY # undef HAVE_LSTAT # endif # if (ACC_CC_GNUC < 0x025f00ul) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # endif #elif (ACC_OS_EMX) # undef HAVE_CHOWN # undef HAVE_LSTAT #elif (ACC_OS_TOS && ACC_CC_GNUC) # if !defined(__MINT__) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # endif #elif (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) # undef HAVE_ALLOCA # undef HAVE_ACCESS # undef HAVE_CHMOD # undef HAVE_CHOWN # undef HAVE_FSTAT # undef HAVE_GETTIMEOFDAY # undef HAVE_LSTAT # undef HAVE_SNPRINTF # undef HAVE_UMASK # undef HAVE_UTIME # undef HAVE_VSNPRINTF #endif /* DOS, OS/2 & Windows */ #if (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) #undef HAVE_CHOWN #undef HAVE_GETTIMEOFDAY #undef HAVE_LSTAT #undef HAVE_UMASK #if (ACC_CC_AZTECC) # undef HAVE_ALLOCA # undef HAVE_DIFFTIME /* difftime() is in the math library */ # undef HAVE_FSTAT # undef HAVE_STRDUP /* missing in 5.2a */ # undef HAVE_SNPRINTF # undef HAVE_UTIME /* struct utimbuf is missing */ # undef HAVE_VSNPRINTF #elif (ACC_CC_BORLANDC) # if (__BORLANDC__ < 0x0400) # undef HAVE_ALLOCA # undef HAVE_UTIME # endif # if ((__BORLANDC__ < 0x0410) && ACC_OS_WIN16) # undef HAVE_ALLOCA # endif # if (__BORLANDC__ < 0x0550) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # endif #elif (ACC_CC_DMC) # if (ACC_OS_WIN16) # undef HAVE_ALLOCA # endif # define snprintf _snprintf # define vsnprintf _vsnprintf #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF #elif (ACC_OS_DOS32 && ACC_CC_HIGHC) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF #elif (ACC_CC_IBMC) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF #elif (ACC_CC_INTELC) # define snprintf _snprintf # define vsnprintf _vsnprintf #elif (ACC_CC_LCC) # define utime _utime #elif (ACC_CC_MSC) # if (_MSC_VER < 600) # undef HAVE_STRFTIME # endif # if (_MSC_VER < 700) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # else # define snprintf _snprintf # define vsnprintf _vsnprintf # endif # if ((_MSC_VER < 800) && ACC_OS_WIN16) # undef HAVE_ALLOCA # endif # if (ACC_ARCH_IA16) && defined(__cplusplus) # undef HAVE_LONGJMP # undef HAVE_SETJMP # endif #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__MINGW32__) # if (ACC_CC_GNUC < 0x025f00ul) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # else # define snprintf _snprintf # define vsnprintf _vsnprintf # endif #elif (ACC_OS_WIN32 && ACC_CC_MWERKS) && defined(__MSL__) # if (__MSL__ < 0x8000ul) # undef HAVE_CHMOD /* which in turn pulls in */ # endif #elif (ACC_CC_NDPC) # undef HAVE_ALLOCA # undef HAVE_SNPRINTF # undef HAVE_STRNICMP # undef HAVE_UTIME # undef HAVE_VSNPRINTF # if defined(__cplusplus) # undef HAVE_STAT # endif #elif (ACC_CC_PACIFICC) # undef HAVE_ACCESS # undef HAVE_ALLOCA # undef HAVE_CHMOD # undef HAVE_DIFFTIME # undef HAVE_FSTAT # undef HAVE_MKTIME # undef HAVE_RAISE # undef HAVE_SNPRINTF # undef HAVE_STRFTIME # undef HAVE_UTIME # undef HAVE_VSNPRINTF #elif (ACC_OS_WIN32 && ACC_CC_PELLESC) # if (__POCC__ < 280) # define alloca _alloca # undef HAVE_UTIME # endif #elif (ACC_OS_WIN32 && ACC_CC_PGI) && defined(__MINGW32__) # define snprintf _snprintf # define vsnprintf _vsnprintf #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF #elif (ACC_CC_SYMANTECC) # if (ACC_OS_WIN16 && (ACC_MM_MEDIUM || ACC_MM_LARGE || ACC_MM_HUGE)) # undef HAVE_ALLOCA # endif # if (__SC__ < 0x600) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # else # define snprintf _snprintf # define vsnprintf _vsnprintf # endif # if (__SC__ < 0x700) # undef HAVE_DIFFTIME /* difftime() is broken */ # undef HAVE_UTIME /* struct utimbuf is missing */ # endif #elif (ACC_CC_TOPSPEEDC) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF #elif (ACC_CC_TURBOC) # undef HAVE_ALLOCA # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # if (__TURBOC__ < 0x0200) # undef HAVE_RAISE # undef HAVE_SIGNAL # endif # if (__TURBOC__ < 0x0295) # undef HAVE_MKTIME # undef HAVE_STRFTIME # endif # if (__TURBOC__ < 0x0400) # undef HAVE_UTIME # endif #elif (ACC_CC_WATCOMC) # if (__WATCOMC__ < 1100) # undef HAVE_SNPRINTF # undef HAVE_VSNPRINTF # elif (__WATCOMC__ < 1200) # define snprintf _snprintf # define vsnprintf _vsnprintf # endif #elif (ACC_CC_ZORTECHC) # if (ACC_OS_WIN16 && (ACC_MM_MEDIUM || ACC_MM_LARGE || ACC_MM_HUGE)) # undef HAVE_ALLOCA # endif # undef HAVE_DIFFTIME /* difftime() is broken */ # undef HAVE_SNPRINTF # undef HAVE_UTIME /* struct utimbuf is missing */ # undef HAVE_VSNPRINTF #endif #endif /* DOS, OS/2 & Windows */ #endif /* !defined(ACC_CONFIG_AUTO_NO_FUNCTIONS) */ /************************************************************************* // Checks for sizes **************************************************************************/ #if !defined(ACC_CONFIG_AUTO_NO_SIZES) #define SIZEOF_SHORT (__ACC_SHORT_BIT / 8) #define SIZEOF_INT (__ACC_INT_BIT / 8) #define SIZEOF_LONG (__ACC_LONG_BIT / 8) #if (ACC_OS_WIN64) /* LLP64 programming model */ # define SIZEOF_PTRDIFF_T 8 # define SIZEOF_SIZE_T 8 # define SIZEOF_VOID_P 8 #elif (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) # define SIZEOF_SIZE_T 2 # if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) # define SIZEOF_VOID_P 2 # elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) # define SIZEOF_VOID_P 4 # else # error "ACC_MM" # endif # if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) # define SIZEOF_PTRDIFF_T 2 # elif (ACC_MM_COMPACT || ACC_MM_LARGE) # if (ACC_CC_BORLANDC || ACC_CC_TURBOC) # define SIZEOF_PTRDIFF_T 4 # else # define SIZEOF_PTRDIFF_T 2 # endif # elif (ACC_MM_HUGE) # define SIZEOF_PTRDIFF_T 4 # else # error "ACC_MM" # endif #elif (ACC_ARCH_AVR || ACC_ARCH_C166 || ACC_ARCH_MCS51 || ACC_ARCH_MCS251) # define SIZEOF_PTRDIFF_T 2 # define SIZEOF_SIZE_T 2 # define SIZEOF_VOID_P 2 #else # define SIZEOF_PTRDIFF_T SIZEOF_LONG # define SIZEOF_SIZE_T SIZEOF_LONG # define SIZEOF_VOID_P SIZEOF_LONG #endif #if !defined(SIZEOF_CHAR_P) && (SIZEOF_VOID_P > 0) # define SIZEOF_CHAR_P SIZEOF_VOID_P #endif #if ((SIZEOF_LONG) > 0 && (SIZEOF_LONG) < 8) #if (ACC_ARCH_IA16 && ACC_CC_DMC) #elif (ACC_CC_GNUC) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif ((ACC_OS_WIN32 || ACC_OS_WIN64) && ACC_CC_MSC && (_MSC_VER >= 1400)) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif (ACC_OS_WIN64) # define SIZEOF___INT64 8 # define SIZEOF_UNSIGNED___INT64 8 #elif (ACC_ARCH_IA32 && (ACC_CC_DMC)) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif (ACC_ARCH_IA32 && (ACC_CC_SYMANTECC && (__SC__ >= 0x700))) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif (ACC_ARCH_IA32 && (ACC_CC_INTELC && defined(__linux__))) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif (ACC_ARCH_IA32 && (ACC_CC_MWERKS || ACC_CC_PELLESC || ACC_CC_PGI)) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #elif (ACC_ARCH_IA32 && (ACC_CC_INTELC || ACC_CC_MSC)) # define SIZEOF___INT64 8 # define SIZEOF_UNSIGNED___INT64 8 #elif (ACC_ARCH_IA32 && (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0520))) /* INFO: unsigned __int64 is somewhat broken in 0x0520; fixed in 0x0530 */ # define SIZEOF___INT64 8 # define SIZEOF_UNSIGNED___INT64 8 #elif (ACC_ARCH_IA32 && (ACC_CC_WATCOMC && (__WATCOMC__ >= 1100))) # define SIZEOF___INT64 8 # define SIZEOF_UNSIGNED___INT64 8 #elif (ACC_CC_WATCOMC && defined(_INTEGRAL_MAX_BITS) && (_INTEGRAL_MAX_BITS == 64)) # define SIZEOF___INT64 8 # define SIZEOF_UNSIGNED___INT64 8 #elif 1 && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) # define SIZEOF_LONG_LONG 8 # define SIZEOF_UNSIGNED_LONG_LONG 8 #endif #endif #if defined(__cplusplus) && defined(ACC_CC_GNUC) # if (ACC_CC_GNUC < 0x020800ul) # undef SIZEOF_LONG_LONG # undef SIZEOF_UNSIGNED_LONG_LONG # endif #endif #endif /* !defined(ACC_CONFIG_AUTO_NO_SIZES) */ /************************************************************************* // misc **************************************************************************/ #if defined(HAVE_SIGNAL) && !defined(RETSIGTYPE) # define RETSIGTYPE void #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_cc.h0000644000175000001440000001212710077051333011231 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * C/C++ Compiler - exactly one of: * * ACC_CC_UNKNOWN [default] * ACC_CC_GNUC * ... */ #if defined(CIL) && defined(_GNUCC) && defined(__GNUC__) # define ACC_CC_CILLY 1 # define ACC_INFO_CC "Cilly" # define ACC_INFO_CCVER "unknown" #elif defined(__INTEL_COMPILER) # define ACC_CC_INTELC 1 # define ACC_INFO_CC "Intel C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__INTEL_COMPILER) #elif defined(__POCC__) # define ACC_CC_PELLESC 1 # define ACC_INFO_CC "Pelles C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__POCC__) #elif defined(__GNUC__) && defined(__VERSION__) # if defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__) # define ACC_CC_GNUC (__GNUC__ * 0x10000L + __GNUC_MINOR__ * 0x100 + __GNUC_PATCHLEVEL__) # elif defined(__GNUC_MINOR__) # define ACC_CC_GNUC (__GNUC__ * 0x10000L + __GNUC_MINOR__ * 0x100) # else # define ACC_CC_GNUC (__GNUC__ * 0x10000L) # endif # define ACC_INFO_CC "gcc" # define ACC_INFO_CCVER __VERSION__ #elif defined(__AZTEC_C__) # define ACC_CC_AZTECC 1 # define ACC_INFO_CC "Aztec C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__AZTEC_C__) #elif defined(__BORLANDC__) # define ACC_CC_BORLANDC 1 # define ACC_INFO_CC "Borland C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__BORLANDC__) #elif defined(__DMC__) # define ACC_CC_DMC 1 # define ACC_INFO_CC "Digital Mars C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__DMC__) #elif defined(__DECC) # define ACC_CC_DECC 1 # define ACC_INFO_CC "DEC C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__DECC) #elif defined(__HIGHC__) # define ACC_CC_HIGHC 1 # define ACC_INFO_CC "MetaWare High C" # define ACC_INFO_CCVER "unknown" #elif defined(__IBMC__) # define ACC_CC_IBMC 1 # define ACC_INFO_CC "IBM C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__IBMC__) #elif defined(__KEIL__) && defined(__C166__) # define ACC_CC_KEILC 1 # define ACC_INFO_CC "Keil C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__C166__) #elif defined(__LCC__) # define ACC_CC_LCC 1 # define ACC_INFO_CC "lcc" # define ACC_INFO_CCVER "unknown" #elif defined(_MSC_VER) # define ACC_CC_MSC 1 # define ACC_INFO_CC "Microsoft C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(_MSC_VER) #elif defined(__MWERKS__) # define ACC_CC_MWERKS 1 # define ACC_INFO_CC "Metrowerks C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__MWERKS__) #elif (defined(__NDPC__) || defined(__NDPX__)) && defined(__i386) # define ACC_CC_NDPC 1 # define ACC_INFO_CC "Microway NDP C" # define ACC_INFO_CCVER "unknown" #elif defined(__PACIFIC__) # define ACC_CC_PACIFICC 1 # define ACC_INFO_CC "Pacific C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__PACIFIC__) #elif defined(__PGI) && (defined(__linux__) || defined(__WIN32__)) # define ACC_CC_PGI 1 # define ACC_INFO_CC "Portland Group PGI C" # define ACC_INFO_CCVER "unknown" #elif defined(__PUREC__) # define ACC_CC_PUREC 1 # define ACC_INFO_CC "Pure C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__PUREC__) #elif defined(__SC__) # define ACC_CC_SYMANTECC 1 # define ACC_INFO_CC "Symantec C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__SC__) #elif defined(__SUNPRO_C) # define ACC_CC_SUNPROC 1 # define ACC_INFO_CC "Sun C" # define ACC_INFO_CCVER "unknown" #elif defined(__TINYC__) # define ACC_CC_TINYC 1 # define ACC_INFO_CC "Tiny C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__TINYC__) #elif defined(__TSC__) # define ACC_CC_TOPSPEEDC 1 # define ACC_INFO_CC "TopSpeed C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__TSC__) #elif defined(__WATCOMC__) # define ACC_CC_WATCOMC 1 # define ACC_INFO_CC "Watcom C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__WATCOMC__) #elif defined(__TURBOC__) # define ACC_CC_TURBOC 1 # define ACC_INFO_CC "Turbo C" # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__TURBOC__) #elif defined(__ZTC__) # define ACC_CC_ZORTECHC 1 # define ACC_INFO_CC "Zortech C" # if (__ZTC__ == 0x310) # define ACC_INFO_CCVER "0x310" # else # define ACC_INFO_CCVER ACC_CPP_MACRO_EXPAND(__ZTC__) # endif #else # define ACC_CC_UNKNOWN 1 # define ACC_INFO_CC "unknown" # define ACC_INFO_CCVER "unknown" #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_chk.ch0000644000175000001440000003750610077051333011564 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /************************************************************************* // **************************************************************************/ #if !defined(ACCCHK_ASSERT) # define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr) #endif /* compile-time sign */ #if !defined(ACCCHK_ASSERT_SIGN_T) # define ACCCHK_ASSERT_SIGN_T(type,relop) \ ACCCHK_ASSERT( (type) (-1) relop (type) 0 ) \ ACCCHK_ASSERT( (type) (~(type)0) relop (type) 0 ) \ ACCCHK_ASSERT( (type) (~(type)0) == (type) (-1) ) #endif #if !defined(ACCCHK_IS_SIGNED_T) # define ACCCHK_ASSERT_IS_SIGNED_T(type) ACCCHK_ASSERT_SIGN_T(type,<) #endif #if !defined(ACCCHK_IS_UNSIGNED_T) # if (ACC_BROKEN_INTEGRAL_PROMOTION) # define ACCCHK_ASSERT_IS_UNSIGNED_T(type) \ ACCCHK_ASSERT( (type) (-1) > (type) 0 ) # else # define ACCCHK_ASSERT_IS_UNSIGNED_T(type) ACCCHK_ASSERT_SIGN_T(type,>) # endif #endif /************************************************************************* // check preprocessor **************************************************************************/ #if (ACC_0xffffffffL - ACC_UINT32L_C(4294967294) != 1) # error "preprocessor error 1" #endif #if (ACC_0xffffffffL - ACC_UINT32L_C(0xfffffffd) != 2) # error "preprocessor error 2" #endif #define ACCCHK_VAL 1 #define ACCCHK_TMP1 ACCCHK_VAL #undef ACCCHK_VAL #define ACCCHK_VAL 2 #define ACCCHK_TMP2 ACCCHK_VAL #if (ACCCHK_TMP1 != 2) # error "preprocessor error 3a" #endif #if (ACCCHK_TMP2 != 2) # error "preprocessor error 3b" #endif #undef ACCCHK_VAL #if (ACCCHK_TMP2) # error "preprocessor error 3c" #endif #if (ACCCHK_TMP2 + 0 != 0) # error "preprocessor error 3d" #endif #undef ACCCHK_TMP1 #undef ACCCHK_TMP2 /************************************************************************* // check basic arithmetics **************************************************************************/ ACCCHK_ASSERT(1 == 1) ACCCHK_ASSERT(__ACC_INT_MAX(2) == 1) ACCCHK_ASSERT(__ACC_INT_MAX(8) == 127) ACCCHK_ASSERT(__ACC_INT_MAX(16) == 32767) ACCCHK_ASSERT(__ACC_UINT_MAX(2) == 3) ACCCHK_ASSERT(__ACC_UINT_MAX(16) == 0xffffU) ACCCHK_ASSERT(__ACC_UINT_MAX(32) == 0xffffffffUL) #if !defined(ACC_BROKEN_INTEGRAL_PROMOTION) ACCCHK_ASSERT(__ACC_UINT_MAX(__ACC_INT_BIT) == ~(0u)) ACCCHK_ASSERT(__ACC_UINT_MAX(__ACC_LONG_BIT) == ~(0ul)) #endif /************************************************************************* // check basic types **************************************************************************/ ACCCHK_ASSERT_IS_SIGNED_T(signed char) ACCCHK_ASSERT_IS_UNSIGNED_T(unsigned char) ACCCHK_ASSERT(sizeof(signed char) == sizeof(char)) ACCCHK_ASSERT(sizeof(unsigned char) == sizeof(char)) ACCCHK_ASSERT(sizeof(char) == 1) #if (ACC_CC_CILLY) /* CIL is broken */ #else ACCCHK_ASSERT(sizeof(char) == sizeof((char)0)) #endif #if defined(__cplusplus) ACCCHK_ASSERT(sizeof('\0') == sizeof(char)) #else # if (ACC_CC_DMC) /* Digital Mars C is broken */ # else ACCCHK_ASSERT(sizeof('\0') == sizeof(int)) # endif #endif #if defined(acc_alignof) ACCCHK_ASSERT(acc_alignof(char) == 1) ACCCHK_ASSERT(acc_alignof(signed char) == 1) ACCCHK_ASSERT(acc_alignof(unsigned char) == 1) #endif ACCCHK_ASSERT_IS_SIGNED_T(short) ACCCHK_ASSERT_IS_UNSIGNED_T(unsigned short) ACCCHK_ASSERT(sizeof(short) == sizeof(unsigned short)) ACCCHK_ASSERT(sizeof(short) >= 2) ACCCHK_ASSERT(sizeof(short) >= sizeof(char)) #if (ACC_CC_CILLY) /* CIL is broken */ #else ACCCHK_ASSERT(sizeof(short) == sizeof((short)0)) #endif #if (SIZEOF_SHORT > 0) ACCCHK_ASSERT(sizeof(short) == SIZEOF_SHORT) #endif ACCCHK_ASSERT_IS_SIGNED_T(int) ACCCHK_ASSERT_IS_UNSIGNED_T(unsigned int) ACCCHK_ASSERT(sizeof(int) == sizeof(unsigned int)) ACCCHK_ASSERT(sizeof(int) >= 2) ACCCHK_ASSERT(sizeof(int) >= sizeof(short)) ACCCHK_ASSERT(sizeof(int) == sizeof(0)) ACCCHK_ASSERT(sizeof(int) == sizeof((int)0)) #if (SIZEOF_INT > 0) ACCCHK_ASSERT(sizeof(int) == SIZEOF_INT) #endif ACCCHK_ASSERT_IS_SIGNED_T(long) ACCCHK_ASSERT_IS_UNSIGNED_T(unsigned long) ACCCHK_ASSERT(sizeof(long) == sizeof(unsigned long)) ACCCHK_ASSERT(sizeof(long) >= 4) ACCCHK_ASSERT(sizeof(long) >= sizeof(int)) ACCCHK_ASSERT(sizeof(long) == sizeof(0L)) ACCCHK_ASSERT(sizeof(long) == sizeof((long)0)) #if (SIZEOF_LONG > 0) ACCCHK_ASSERT(sizeof(long) == SIZEOF_LONG) #endif ACCCHK_ASSERT_IS_UNSIGNED_T(size_t) ACCCHK_ASSERT(sizeof(size_t) >= sizeof(int)) ACCCHK_ASSERT(sizeof(size_t) == sizeof(sizeof(0))) /* sizeof() returns size_t */ #if (SIZEOF_SIZE_T > 0) ACCCHK_ASSERT(sizeof(size_t) == SIZEOF_SIZE_T) #endif ACCCHK_ASSERT_IS_SIGNED_T(ptrdiff_t) ACCCHK_ASSERT(sizeof(ptrdiff_t) >= sizeof(int)) ACCCHK_ASSERT(sizeof(ptrdiff_t) >= sizeof(size_t)) #if !defined(ACC_BROKEN_SIZEOF) ACCCHK_ASSERT(sizeof(ptrdiff_t) == sizeof((char*)0 - (char*)0)) # if (ACC_HAVE_MM_HUGE_PTR) ACCCHK_ASSERT(4 == sizeof((char __huge*)0 - (char __huge*)0)) # endif #endif #if (SIZEOF_PTRDIFF_T > 0) ACCCHK_ASSERT(sizeof(ptrdiff_t) == SIZEOF_PTRDIFF_T) #endif ACCCHK_ASSERT(sizeof(void*) >= sizeof(char*)) #if (SIZEOF_VOID_P > 0) ACCCHK_ASSERT(sizeof(void*) == SIZEOF_VOID_P) #endif #if (SIZEOF_CHAR_P > 0) ACCCHK_ASSERT(sizeof(char*) == SIZEOF_CHAR_P) #endif #if (ACC_HAVE_MM_HUGE_PTR) ACCCHK_ASSERT(4 == sizeof(void __huge*)) ACCCHK_ASSERT(4 == sizeof(char __huge*)) #endif /************************************************************************* // check arithmetics **************************************************************************/ ACCCHK_ASSERT((((1u << 15) + 1) >> 15) == 1) ACCCHK_ASSERT((((1ul << 31) + 1) >> 31) == 1) #if (ACC_CC_TURBOC && (__TURBOC__ < 0x0150)) /* TC 1.0 bug, probably due to ACC_BROKEN_INTEGRAL_PROMOTION ?? */ #else ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) #endif ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0) ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0) #if defined(acc_int32e_t) ACCCHK_ASSERT(sizeof(acc_int32e_t) == 4) ACCCHK_ASSERT(sizeof(acc_int32e_t) == SIZEOF_ACC_INT32E_T) ACCCHK_ASSERT(sizeof(acc_uint32e_t) == 4) ACCCHK_ASSERT(sizeof(acc_int32e_t) == sizeof(acc_uint32e_t)) ACCCHK_ASSERT_IS_SIGNED_T(acc_int32e_t) ACCCHK_ASSERT(((( (acc_int32e_t)1 << 30) + 1) >> 30) == 1) ACCCHK_ASSERT(((( ACC_INT32E_C(1) << 30) + 1) >> 30) == 1) ACCCHK_ASSERT_IS_UNSIGNED_T(acc_uint32e_t) ACCCHK_ASSERT(((( (acc_uint32e_t)1 << 31) + 1) >> 31) == 1) ACCCHK_ASSERT(((( ACC_UINT32E_C(1) << 31) + 1) >> 31) == 1) ACCCHK_ASSERT( (acc_int32e_t) (1 + ~(acc_int32e_t)0) == 0) #if defined(ACCCHK_CONFIG_PEDANTIC) /* compiler may warn about overflow */ ACCCHK_ASSERT( (acc_uint32e_t)(1 + ~(acc_uint32e_t)0) == 0) #endif /* ACCCHK_CONFIG_PEDANTIC */ #if (SIZEOF_ACC_INT32E_T < SIZEOF_INT) ACCCHK_ASSERT(sizeof(ACC_INT32E_C(0)) == sizeof(int)) ACCCHK_ASSERT(sizeof(ACC_UINT32E_C(0)) == sizeof(int)) #else ACCCHK_ASSERT(sizeof(ACC_INT32E_C(0)) == SIZEOF_ACC_INT32E_T) ACCCHK_ASSERT(sizeof(ACC_UINT32E_C(0)) == SIZEOF_ACC_INT32E_T) #endif ACCCHK_ASSERT((ACC_INT32E_C(1) << (8*SIZEOF_ACC_INT32E_T-1)) < 0) ACCCHK_ASSERT((ACC_UINT32E_C(1) << (8*SIZEOF_ACC_INT32E_T-1)) > 0) ACCCHK_ASSERT((ACC_INT32E_C(1) << (int)(8*sizeof(ACC_INT32E_C(1))-1)) < 0) ACCCHK_ASSERT((ACC_UINT32E_C(1) << (int)(8*sizeof(ACC_UINT32E_C(1))-1)) > 0) ACCCHK_ASSERT(ACC_INT32E_C(2147483647) > 0) ACCCHK_ASSERT(ACC_INT32E_C(-2147483647) -1 < 0) ACCCHK_ASSERT(ACC_UINT32E_C(4294967295) > 0) ACCCHK_ASSERT(ACC_UINT32E_C(4294967295) == ACC_0xffffffffL) #endif ACCCHK_ASSERT(sizeof(acc_int32l_t) >= sizeof(int)) #if defined(acc_int32e_t) ACCCHK_ASSERT(sizeof(acc_int32l_t) >= sizeof(acc_int32e_t)) #endif ACCCHK_ASSERT(sizeof(acc_int32l_t) >= 4) ACCCHK_ASSERT(sizeof(acc_int32l_t) == SIZEOF_ACC_INT32L_T) ACCCHK_ASSERT(sizeof(acc_uint32l_t) >= 4) ACCCHK_ASSERT(sizeof(acc_int32l_t) == sizeof(acc_uint32l_t)) ACCCHK_ASSERT_IS_SIGNED_T(acc_int32l_t) ACCCHK_ASSERT(((( (acc_int32l_t)1 << 30) + 1) >> 30) == 1) ACCCHK_ASSERT(((( ACC_INT32L_C(1) << 30) + 1) >> 30) == 1) ACCCHK_ASSERT_IS_UNSIGNED_T(acc_uint32l_t) ACCCHK_ASSERT(((( (acc_uint32l_t)1 << 31) + 1) >> 31) == 1) ACCCHK_ASSERT(((( ACC_UINT32L_C(1) << 31) + 1) >> 31) == 1) #if (SIZEOF_ACC_INT32L_T < SIZEOF_INT) ACCCHK_ASSERT(sizeof(ACC_INT32L_C(0)) == sizeof(int)) ACCCHK_ASSERT(sizeof(ACC_UINT32L_C(0)) == sizeof(int)) #else ACCCHK_ASSERT(sizeof(ACC_INT32L_C(0)) == SIZEOF_ACC_INT32L_T) ACCCHK_ASSERT(sizeof(ACC_UINT32L_C(0)) == SIZEOF_ACC_INT32L_T) #endif ACCCHK_ASSERT((ACC_INT32L_C(1) << (8*SIZEOF_ACC_INT32L_T-1)) < 0) ACCCHK_ASSERT((ACC_UINT32L_C(1) << (8*SIZEOF_ACC_INT32L_T-1)) > 0) ACCCHK_ASSERT((ACC_INT32L_C(1) << (int)(8*sizeof(ACC_INT32L_C(1))-1)) < 0) ACCCHK_ASSERT((ACC_UINT32L_C(1) << (int)(8*sizeof(ACC_UINT32L_C(1))-1)) > 0) ACCCHK_ASSERT(ACC_INT32L_C(2147483647) > 0) ACCCHK_ASSERT(ACC_INT32L_C(-2147483647) -1 < 0) ACCCHK_ASSERT(ACC_UINT32L_C(4294967295) > 0) ACCCHK_ASSERT(ACC_UINT32L_C(4294967295) == ACC_0xffffffffL) ACCCHK_ASSERT(sizeof(acc_int32f_t) >= sizeof(int)) #if defined(acc_int32e_t) ACCCHK_ASSERT(sizeof(acc_int32f_t) >= sizeof(acc_int32e_t)) #endif ACCCHK_ASSERT(sizeof(acc_int32f_t) >= sizeof(acc_int32l_t)) ACCCHK_ASSERT(sizeof(acc_int32f_t) >= 4) ACCCHK_ASSERT(sizeof(acc_int32f_t) >= sizeof(acc_int32l_t)) ACCCHK_ASSERT(sizeof(acc_int32f_t) == SIZEOF_ACC_INT32F_T) ACCCHK_ASSERT(sizeof(acc_uint32f_t) >= 4) ACCCHK_ASSERT(sizeof(acc_uint32f_t) >= sizeof(acc_uint32l_t)) ACCCHK_ASSERT(sizeof(acc_int32f_t) == sizeof(acc_uint32f_t)) ACCCHK_ASSERT_IS_SIGNED_T(acc_int32f_t) ACCCHK_ASSERT(((( (acc_int32f_t)1 << 30) + 1) >> 30) == 1) ACCCHK_ASSERT(((( ACC_INT32F_C(1) << 30) + 1) >> 30) == 1) ACCCHK_ASSERT_IS_UNSIGNED_T(acc_uint32f_t) ACCCHK_ASSERT(((( (acc_uint32f_t)1 << 31) + 1) >> 31) == 1) ACCCHK_ASSERT(((( ACC_UINT32F_C(1) << 31) + 1) >> 31) == 1) #if (SIZEOF_ACC_INT32F_T < SIZEOF_INT) ACCCHK_ASSERT(sizeof(ACC_INT32F_C(0)) == sizeof(int)) ACCCHK_ASSERT(sizeof(ACC_UINT32F_C(0)) == sizeof(int)) #else ACCCHK_ASSERT(sizeof(ACC_INT32F_C(0)) == SIZEOF_ACC_INT32F_T) ACCCHK_ASSERT(sizeof(ACC_UINT32F_C(0)) == SIZEOF_ACC_INT32F_T) #endif ACCCHK_ASSERT((ACC_INT32F_C(1) << (8*SIZEOF_ACC_INT32F_T-1)) < 0) ACCCHK_ASSERT((ACC_UINT32F_C(1) << (8*SIZEOF_ACC_INT32F_T-1)) > 0) ACCCHK_ASSERT((ACC_INT32F_C(1) << (int)(8*sizeof(ACC_INT32F_C(1))-1)) < 0) ACCCHK_ASSERT((ACC_UINT32F_C(1) << (int)(8*sizeof(ACC_UINT32F_C(1))-1)) > 0) ACCCHK_ASSERT(ACC_INT32F_C(2147483647) > 0) ACCCHK_ASSERT(ACC_INT32F_C(-2147483647) -1 < 0) ACCCHK_ASSERT(ACC_UINT32F_C(4294967295) > 0) ACCCHK_ASSERT(ACC_UINT32F_C(4294967295) == ACC_0xffffffffL) #if defined(acc_int64l_t) ACCCHK_ASSERT(sizeof(acc_int64l_t) >= 8) ACCCHK_ASSERT(sizeof(acc_int64l_t) == SIZEOF_ACC_INT64L_T) ACCCHK_ASSERT(sizeof(acc_uint64l_t) >= 8) ACCCHK_ASSERT(sizeof(acc_int64l_t) == sizeof(acc_uint64l_t)) ACCCHK_ASSERT_IS_SIGNED_T(acc_int64l_t) ACCCHK_ASSERT(((( (acc_int64l_t)1 << 62) + 1) >> 62) == 1) ACCCHK_ASSERT(((( ACC_INT64L_C(1) << 62) + 1) >> 62) == 1) #if (ACC_CC_BORLANDC && (__BORLANDC__ < 0x0530)) /* Borland C is broken */ #else ACCCHK_ASSERT_IS_UNSIGNED_T(acc_uint64l_t) ACCCHK_ASSERT(ACC_UINT64L_C(18446744073709551615) > 0) #endif ACCCHK_ASSERT(((( (acc_uint64l_t)1 << 63) + 1) >> 63) == 1) ACCCHK_ASSERT(((( ACC_UINT64L_C(1) << 63) + 1) >> 63) == 1) #if defined(ACCCHK_CONFIG_PEDANTIC) #if (ACC_CC_BORLANDC && (__BORLANDC__ < 0x0560)) /* Borland C is broken */ #elif (SIZEOF_ACC_INT64L_T < SIZEOF_INT) ACCCHK_ASSERT(sizeof(ACC_INT64L_C(0)) == sizeof(int)) ACCCHK_ASSERT(sizeof(ACC_UINT64L_C(0)) == sizeof(int)) #else ACCCHK_ASSERT(sizeof(ACC_INT64L_C(0)) == SIZEOF_ACC_INT64L_T) ACCCHK_ASSERT(sizeof(ACC_UINT64L_C(0)) == SIZEOF_ACC_INT64L_T) #endif #endif /* ACCCHK_CONFIG_PEDANTIC */ ACCCHK_ASSERT((ACC_INT64L_C(1) << (8*SIZEOF_ACC_INT64L_T-1)) < 0) ACCCHK_ASSERT((ACC_UINT64L_C(1) << (8*SIZEOF_ACC_INT64L_T-1)) > 0) #if (ACC_CC_GNUC && (ACC_CC_GNUC < 0x020600ul)) /* avoid pedantic warning */ ACCCHK_ASSERT(ACC_INT64L_C(9223372036854775807) > ACC_INT64L_C(0)) #else ACCCHK_ASSERT(ACC_INT64L_C(9223372036854775807) > 0) #endif ACCCHK_ASSERT(ACC_INT64L_C(-9223372036854775807) - 1 < 0) ACCCHK_ASSERT( ACC_INT64L_C(9223372036854775807) % 2147483629l == 721) ACCCHK_ASSERT( ACC_INT64L_C(9223372036854775807) % 2147483647l == 1) ACCCHK_ASSERT(ACC_UINT64L_C(9223372036854775807) % 2147483629ul == 721) ACCCHK_ASSERT(ACC_UINT64L_C(9223372036854775807) % 2147483647ul == 1) #endif /* acc_int64l_t */ ACCCHK_ASSERT_IS_SIGNED_T(acc_intptr_t) ACCCHK_ASSERT_IS_UNSIGNED_T(acc_uintptr_t) ACCCHK_ASSERT(sizeof(acc_intptr_t) >= sizeof(void *)) ACCCHK_ASSERT(sizeof(acc_intptr_t) == SIZEOF_ACC_INTPTR_T) ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(acc_uintptr_t)) /************************************************************************* // check memory model ACC_MM **************************************************************************/ #if (ACC_MM_FLAT) #if 0 /* this is not a valid assumption -- disabled */ ACCCHK_ASSERT(sizeof(void*) == sizeof(void (*)(void))) #endif #endif #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) ACCCHK_ASSERT(sizeof(void*) == 2) ACCCHK_ASSERT(sizeof(ptrdiff_t) == 2) #elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) ACCCHK_ASSERT(sizeof(void*) == 4) #endif #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_COMPACT) ACCCHK_ASSERT(sizeof(void (*)(void)) == 2) #elif (ACC_MM_MEDIUM || ACC_MM_LARGE || ACC_MM_HUGE) ACCCHK_ASSERT(sizeof(void (*)(void)) == 4) #endif /************************************************************************* // check ACC_ARCH and ACC_OS **************************************************************************/ #if (ACC_ARCH_IA16) ACCCHK_ASSERT(sizeof(size_t) == 2) ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(void *)) #elif (ACC_ARCH_IA32 || ACC_ARCH_M68K) ACCCHK_ASSERT(sizeof(size_t) == 4) ACCCHK_ASSERT(sizeof(ptrdiff_t) == 4) ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(void *)) #elif (ACC_ARCH_AMD64 || ACC_ARCH_IA64) ACCCHK_ASSERT(sizeof(size_t) == 8) ACCCHK_ASSERT(sizeof(ptrdiff_t) == 8) ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(void *)) #endif #if (ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_WIN32) ACCCHK_ASSERT(sizeof(size_t) == 4) ACCCHK_ASSERT(sizeof(ptrdiff_t) == 4) ACCCHK_ASSERT(sizeof(void (*)(void)) == 4) #elif (ACC_OS_WIN64) ACCCHK_ASSERT(sizeof(size_t) == 8) ACCCHK_ASSERT(sizeof(ptrdiff_t) == 8) ACCCHK_ASSERT(sizeof(void (*)(void)) == 8) #endif /************************************************************************* // check promotion rules **************************************************************************/ #if (ACC_CC_NDPC) /* NDP C is broken */ #else /* check that the compiler correctly casts signed to unsigned */ ACCCHK_ASSERT( (int) ((unsigned char) ((signed char) -1)) == 255) #endif #if (ACC_CC_KEILC) /* Keil C is broken */ #elif (ACC_CC_NDPC) /* NDP C is broken */ #elif !defined(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1) /* check that the compiler correctly promotes integrals */ ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_chkr.ch0000644000175000001440000000570210077051333011737 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /************************************************************************* // **************************************************************************/ #if !defined(__ACCCHKR_FUNCNAME) # define __ACCCHKR_FUNCNAME(f) accchkr_ ## f #endif #if !defined(ACCCHKR_ASSERT) #if 0 || defined(ACCCHKR_CONFIG_DEBUG) #include static int __ACCCHKR_FUNCNAME(assert_fail)(const char* s, unsigned l) { fprintf(stderr, "ACCCHKR assertion failed in line %u: `%s'\n", l, s); return 0; } #define ACCCHKR_ASSERT(expr) ((expr) ? 1 : __ACCCHKR_FUNCNAME(assert_fail)(#expr,__LINE__)) #else #define ACCCHKR_ASSERT(expr) ((expr) ? 1 : 0) #endif #endif /* avoid inlining */ static int __ACCCHKR_FUNCNAME(schedule_insns_bug)(void); static int __ACCCHKR_FUNCNAME(strength_reduce_bug)(int*); /************************************************************************* // main entry **************************************************************************/ static int __ACCCHKR_FUNCNAME(check)(int r) { #if defined(ACC_ENDIAN_BIG_ENDIAN) { union { long l; unsigned char c[sizeof(long)]; } u; u.l = 0; u.c[sizeof(long)-1] = 0x80; r &= ACCCHKR_ASSERT(u.l == 128); u.l = 0; u.c[0] = 0x80; r &= ACCCHKR_ASSERT(u.l < 0); ACC_UNUSED(u); } #endif #if defined(ACC_ENDIAN_LITTLE_ENDIAN) { union { long l; unsigned char c[sizeof(long)]; } u; u.l = 0; u.c[0] = 0x80; r &= ACCCHKR_ASSERT(u.l == 128); u.l = 0; u.c[sizeof(long)-1] = 0x80; r &= ACCCHKR_ASSERT(u.l < 0); ACC_UNUSED(u); } #endif /* check for the gcc schedule-insns optimization bug */ if (r == 1) { r &= ACCCHKR_ASSERT(!__ACCCHKR_FUNCNAME(schedule_insns_bug())); } /* check for the gcc strength-reduce optimization bug */ if (r == 1) { static int x[3]; static unsigned xn = 3; register unsigned j; for (j = 0; j < xn; j++) x[j] = (int)j - 3; r &= ACCCHKR_ASSERT(!__ACCCHKR_FUNCNAME(strength_reduce_bug(x))); } return r; } /************************************************************************* // **************************************************************************/ static int __ACCCHKR_FUNCNAME(schedule_insns_bug)(void) { const int a[] = {1, 2, 0}; const int* b; b = a; return (*b) ? 0 : 1; } static int __ACCCHKR_FUNCNAME(strength_reduce_bug)(int* x) { #if 0 && (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) ACC_UNUSED(x); return 0; #else return x[0] != -3 || x[1] != -2 || x[2] != -1; #endif } /* vi:ts=4:et */ ucl-1.03/acc/acc_cxx.h0000644000175000001440000001113710077051333011446 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #ifndef __ACC_CXX_H_INCLUDED #define __ACC_CXX_H_INCLUDED 1 #if defined(__cplusplus) /************************************************************************* // exception specification // ACC_CXX_NOTHROW **************************************************************************/ #if defined(ACC_CXX_NOTHROW) #elif (ACC_CC_GNUC && (ACC_CC_GNUC < 0x020800ul)) #elif (ACC_CC_BORLANDC && (__BORLANDC__ < 0x0450)) #elif (ACC_CC_HIGHC) #elif (ACC_CC_MSC && (_MSC_VER < 1100)) #elif (ACC_CC_NDPC) #elif (ACC_CC_TURBOC) #elif (ACC_CC_WATCOMC && !defined(_CPPUNWIND)) #elif (ACC_CC_ZORTECHC) #else # define ACC_CXX_NOTHROW throw() #endif #if !defined(ACC_CXX_NOTHROW) # define ACC_CXX_NOTHROW #endif /************************************************************************* // disable dynamic allocation of an object - private helpers // __ACC_CXX_DO_NEW // __ACC_CXX_DO_DELETE **************************************************************************/ #if defined(__ACC_CXX_DO_NEW) #elif (ACC_CC_NDPC || ACC_CC_PGI) # define __ACC_CXX_DO_NEW { return 0; } #else # define __ACC_CXX_DO_NEW ; #endif /* need an implementation in case a class has virtual members */ #if defined(__ACC_CXX_DO_DELETE) #elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) # define __ACC_CXX_DO_DELETE { } #else # define __ACC_CXX_DO_DELETE ACC_CXX_NOTHROW { } #endif /************************************************************************* // disable dynamic allocation of an object // ACC_CXX_DISABLE_NEW_DELETE **************************************************************************/ /* #undef __ACC_CXX_HAVE_ARRAY_NEW #undef __ACC_CXX_HAVE_PLACEMENT_NEW #undef __ACC_CXX_HAVE_PLACEMENT_DELETE */ #if (ACC_CC_BORLANDC && (__BORLANDC__ < 0x0450)) #elif (ACC_CC_MSC && ACC_MM_HUGE) # define ACC_CXX_DISABLE_NEW_DELETE private: #elif (ACC_CC_MSC && (_MSC_VER < 1100)) #elif (ACC_CC_NDPC) #elif (ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) #elif (ACC_CC_TURBOC) #elif (ACC_CC_WATCOMC && (__WATCOMC__ < 1100)) #else # define __ACC_CXX_HAVE_ARRAY_NEW 1 #endif #if (__ACC_CXX_HAVE_ARRAY_NEW) # define __ACC_CXX_HAVE_PLACEMENT_NEW 1 #endif #if (__ACC_CXX_HAVE_PLACEMENT_NEW) # if (ACC_CC_GNUC >= 0x030000ul) # define __ACC_CXX_HAVE_PLACEMENT_DELETE 1 # elif (ACC_CC_INTELC) # define __ACC_CXX_HAVE_PLACEMENT_DELETE 1 # elif (ACC_CC_MSC && (_MSC_VER >= 1200)) # define __ACC_CXX_HAVE_PLACEMENT_DELETE 1 # elif (ACC_CC_PGI) # define __ACC_CXX_HAVE_PLACEMENT_DELETE 1 # endif #endif #if defined(ACC_CXX_DISABLE_NEW_DELETE) #elif defined(new) || defined(delete) # define ACC_CXX_DISABLE_NEW_DELETE private: #elif (ACC_CC_GNUC && (ACC_CC_GNUC < 0x025b00ul)) # define ACC_CXX_DISABLE_NEW_DELETE private: #elif (ACC_CC_HIGHC) # define ACC_CXX_DISABLE_NEW_DELETE private: #elif !defined(__ACC_CXX_HAVE_ARRAY_NEW) /* for old compilers use `protected' instead of `private' */ # define ACC_CXX_DISABLE_NEW_DELETE \ protected: static void operator delete(void*) __ACC_CXX_DO_DELETE \ protected: static void* operator new(size_t) __ACC_CXX_DO_NEW \ private: #else # define ACC_CXX_DISABLE_NEW_DELETE \ protected: static void operator delete(void*) __ACC_CXX_DO_DELETE \ static void operator delete[](void*) __ACC_CXX_DO_DELETE \ private: static void* operator new(size_t) __ACC_CXX_DO_NEW \ static void* operator new[](size_t) __ACC_CXX_DO_NEW #endif /************************************************************************* // Assist the compiler by defining a unique location for vtables and RTTI. // Every class which has virtual member functions or derives from a class // with virtual members should put this macro at the very top of its // class declaration. // ACC_CXX_TRIGGER_FUNCTION **************************************************************************/ #if defined(ACC_CXX_TRIGGER_FUNCTION) #else # define ACC_CXX_TRIGGER_FUNCTION \ protected: virtual const void* acc_cxx_trigger_function() const; \ private: #endif #if defined(ACC_CXX_TRIGGER_FUNCTION_IMPL) #else # define ACC_CXX_TRIGGER_FUNCTION_IMPL(klass) \ const void* klass::acc_cxx_trigger_function() const { return 0; } #endif #endif /* __cplusplus */ #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_defs.h0000644000175000001440000001470110077051333011565 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /*********************************************************************** // acc_alignof() / acc_inline ************************************************************************/ #if (ACC_CC_CILLY || ACC_CC_GNUC || ACC_CC_PGI) # define acc_alignof(e) __alignof__(e) #elif (ACC_CC_INTELC && (__INTEL_COMPILER >= 700)) # define acc_alignof(e) __alignof__(e) #elif (ACC_CC_MSC && (_MSC_VER >= 1300)) # define acc_alignof(e) __alignof(e) #endif #if (ACC_CC_TURBOC && (__TURBOC__ <= 0x0295)) #elif defined(__cplusplus) # define acc_inline inline #elif (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0550)) # define acc_inline __inline #elif (ACC_CC_CILLY || ACC_CC_GNUC || ACC_CC_PGI) # define acc_inline __inline__ #elif (ACC_CC_DMC) # define acc_inline __inline #elif (ACC_CC_INTELC) # define acc_inline __inline #elif (ACC_CC_MSC && (_MSC_VER >= 900)) # define acc_inline __inline #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) # define acc_inline inline #endif /*********************************************************************** // ACC_UNUSED / ACC_UNUSED_FUNC ************************************************************************/ #if !defined(ACC_UNUSED) # if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0600)) # define ACC_UNUSED(var) ((void) &var) # elif (ACC_CC_BORLANDC || ACC_CC_HIGHC || ACC_CC_NDPC || ACC_CC_TURBOC) # define ACC_UNUSED(var) if (&var) ; else # elif (ACC_CC_MSC && (_MSC_VER < 900)) # define ACC_UNUSED(var) if (&var) ; else # elif (ACC_CC_GNUC) # define ACC_UNUSED(var) ((void) var) # elif (ACC_CC_KEILC) # define ACC_UNUSED(var) # else # define ACC_UNUSED(var) ((void) &var) # endif #endif #if !defined(ACC_UNUSED_FUNC) # if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0600)) # define ACC_UNUSED_FUNC(func) ((void) func) # elif (ACC_CC_BORLANDC || ACC_CC_NDPC || ACC_CC_TURBOC) # define ACC_UNUSED_FUNC(func) if (func) ; else # elif (ACC_CC_GNUC == 0x030400ul) && defined(__llvm__) # define ACC_UNUSED_FUNC(func) ((void) &func) # elif (ACC_CC_MSC && (_MSC_VER < 900)) # define ACC_UNUSED_FUNC(func) if (func) ; else # elif (ACC_CC_MSC) # define ACC_UNUSED_FUNC(func) ((void) &func) # elif (ACC_CC_KEILC) # define ACC_UNUSED_FUNC(func) # else # define ACC_UNUSED_FUNC(func) ((void) func) # endif #endif /*********************************************************************** // compile-time-assertions ************************************************************************/ /* This can be put into a header file but may get ignored by some compilers. */ #if !defined(ACC_COMPILE_TIME_ASSERT_HEADER) # if (ACC_CC_AZTECC || ACC_CC_ZORTECHC) # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-!(e)]; # elif (ACC_CC_DMC || ACC_CC_SYMANTECC) # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1u-2*!(e)]; # elif (ACC_CC_TURBOC && (__TURBOC__ == 0x0295)) # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-!(e)]; # else # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-2*!(e)]; # endif #endif /* This must appear within a function body. */ #if !defined(ACC_COMPILE_TIME_ASSERT) # if (ACC_CC_AZTECC) # define ACC_COMPILE_TIME_ASSERT(e) {typedef int __acc_cta_t[1-!(e)];} # elif (ACC_CC_DMC || ACC_CC_PACIFICC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) # define ACC_COMPILE_TIME_ASSERT(e) switch(0) case 1:case !(e):break; # elif (ACC_CC_MSC && (_MSC_VER < 900)) # define ACC_COMPILE_TIME_ASSERT(e) switch(0) case 1:case !(e):break; # elif (ACC_CC_TURBOC && (__TURBOC__ == 0x0295)) # define ACC_COMPILE_TIME_ASSERT(e) switch(0) case 1:case !(e):break; # else # define ACC_COMPILE_TIME_ASSERT(e) {typedef int __acc_cta_t[1-2*!(e)];} # endif #endif /*********************************************************************** // macros ************************************************************************/ #if !defined(__ACC_UINT_MAX) # define __ACC_INT_MAX(b) ((((1l << ((b)-2)) - 1l) * 2l) + 1l) # define __ACC_UINT_MAX(b) ((((1ul << ((b)-1)) - 1ul) * 2ul) + 1ul) #endif /*********************************************************************** // get sizes of builtin integral types from ************************************************************************/ #if !defined(__ACC_SHORT_BIT) # if (USHRT_MAX == ACC_0xffffL) # define __ACC_SHORT_BIT 16 # elif (USHRT_MAX == ACC_0xffffffffL) # define __ACC_SHORT_BIT 32 # elif (USHRT_MAX == __ACC_UINT_MAX(64)) # define __ACC_SHORT_BIT 64 # elif (USHRT_MAX == __ACC_UINT_MAX(128)) # define __ACC_SHORT_BIT 128 # else # error "check your compiler installation: USHRT_MAX" # endif #endif #if !defined(__ACC_INT_BIT) # if (UINT_MAX == ACC_0xffffL) # define __ACC_INT_BIT 16 # elif (UINT_MAX == ACC_0xffffffffL) # define __ACC_INT_BIT 32 # elif (UINT_MAX == __ACC_UINT_MAX(64)) # define __ACC_INT_BIT 64 # elif (UINT_MAX == __ACC_UINT_MAX(128)) # define __ACC_INT_BIT 128 # else # error "check your compiler installation: UINT_MAX" # endif #endif #if !defined(__ACC_LONG_BIT) # if (ULONG_MAX == ACC_0xffffffffL) # define __ACC_LONG_BIT 32 # elif (ULONG_MAX == __ACC_UINT_MAX(64)) # define __ACC_LONG_BIT 64 # elif (ULONG_MAX == __ACC_UINT_MAX(128)) # define __ACC_LONG_BIT 128 # else # error "check your compiler installation: ULONG_MAX" # endif #endif /*********************************************************************** // acc_auto.h supplements ************************************************************************/ #if (ACC_OS_CYGWIN || (ACC_OS_EMX && defined(__RSXNT__)) || ACC_OS_WIN32 || ACC_OS_WIN64) # if (ACC_CC_WATCOMC && (__WATCOMC__ < 1000)) # elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) /* ancient pw32 version */ # elif ((ACC_OS_CYGWIN || defined(__MINGW32__)) && (ACC_CC_GNUC && (ACC_CC_GNUC < 0x025f00ul))) /* ancient cygwin/mingw version */ # else # define ACC_HAVE_WINDOWS_H 1 # endif #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_incd.h0000644000175000001440000000235710077051333011565 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #ifndef __ACC_INCD_H_INCLUDED #define __ACC_INCD_H_INCLUDED 1 /* default system includes */ /* see Autoconf: * headers.m4, _AC_INCLUDES_DEFAULT_REQUIREMENTS ac_includes_default */ #include #if defined(HAVE_TIME_H) && defined(__MSL__) && defined(__cplusplus) # include #endif #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_ince.h0000644000175000001440000000316210077051333011561 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #ifndef __ACC_INCE_H_INCLUDED #define __ACC_INCE_H_INCLUDED 1 /* extra system includes */ #if defined(HAVE_STDARG_H) # include #endif #if defined(HAVE_CTYPE_H) # include #endif #if defined(HAVE_ERRNO_H) # include #endif #if defined(HAVE_MALLOC_H) # include #endif #if defined(HAVE_ALLOCA_H) # include #endif #if defined(HAVE_FCNTL_H) # include #endif #if defined(HAVE_DIRENT_H) # include #endif #if defined(HAVE_SETJMP_H) # include #endif #if defined(HAVE_SIGNAL_H) # include #endif #if defined(TIME_WITH_SYS_TIME) # include # include #elif defined(HAVE_TIME_H) # include #endif #if defined(HAVE_UTIME_H) # include #elif defined(HAVE_SYS_UTIME_H) # include #endif /* DOS, OS/2 & Windows */ #if defined(HAVE_IO_H) # include #endif #if defined(HAVE_DOS_H) # include #endif #if defined(HAVE_DIRECT_H) # include #endif #if defined(HAVE_SHARE_H) # include #endif #if defined(ACC_CC_NDPC) # include #endif /* TOS */ #if defined(__TOS__) && (defined(__PUREC__) || defined(__TURBOC__)) # include #endif #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_inci.h0000644000175000001440000000530110077051333011562 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #ifndef __ACC_INCI_H_INCLUDED #define __ACC_INCI_H_INCLUDED 1 /************************************************************************* // internal system includes **************************************************************************/ #if (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) # include #elif (ACC_HAVE_WINDOWS_H) # if 1 && !defined(WIN32_LEAN_AND_MEAN) # define WIN32_LEAN_AND_MEAN 1 # endif # if 1 && !defined(_WIN32_WINNT) /* Restrict to a subset of Windows NT 4.0 header files */ # define _WIN32_WINNT 0x0400 # endif # include # if (ACC_CC_BORLANDC || ACC_CC_TURBOC) # include # endif #elif (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_WIN16) # if (ACC_CC_AZTECC) # include # include # elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) # include # include # elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) # include # elif (ACC_CC_PACIFICC) # include # include # include # elif (ACC_CC_WATCOMC) # include # endif #elif (ACC_OS_OS216) # if (ACC_CC_WATCOMC) # include # endif #endif /************************************************************************* // **************************************************************************/ #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) # if defined(FP_OFF) # define ACC_FP_OFF(x) FP_OFF(x) # elif defined(_FP_OFF) # define ACC_FP_OFF(x) _FP_OFF(x) # else # define ACC_FP_OFF(x) (((const unsigned __far*)&(x))[0]) # endif # if defined(FP_SEG) # define ACC_FP_SEG(x) FP_SEG(x) # elif defined(_FP_SEG) # define ACC_FP_SEG(x) _FP_SEG(x) # else # define ACC_FP_SEG(x) (((const unsigned __far*)&(x))[1]) # endif # if defined(MK_FP) # define ACC_MK_FP(s,o) MK_FP(s,o) # elif defined(_MK_FP) # define ACC_MK_FP(s,o) _MK_FP(s,o) # else # define ACC_MK_FP(s,o) ((void __far*)(((unsigned long)(s)<<16)+(unsigned)(o))) # endif # if 0 # undef ACC_FP_OFF # undef ACC_FP_SEG # undef ACC_MK_FP # define ACC_FP_OFF(x) (((const unsigned __far*)&(x))[0]) # define ACC_FP_SEG(x) (((const unsigned __far*)&(x))[1]) # define ACC_MK_FP(s,o) ((void __far*)(((unsigned long)(s)<<16)+(unsigned)(o))) # endif #endif #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_init.h0000644000175000001440000001451510077051333011612 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /*********************************************************************** // preprocessor ************************************************************************/ /* workaround for preprocessor bugs in some compilers */ #if 0 #define ACC_0xffffL 0xfffful #define ACC_0xffffffffL 0xfffffffful #else #define ACC_0xffffL 65535ul #define ACC_0xffffffffL 4294967295ul #endif /* some things we cannot work around */ #if (ACC_0xffffL == ACC_0xffffffffL) # error "your preprocessor is broken 1" #endif #if (16ul * 16384ul != 262144ul) # error "your preprocessor is broken 2" #endif #if 0 #if (32767 >= 4294967295ul) # error "your preprocessor is broken 3" #endif #if (65535u >= 4294967295ul) # error "your preprocessor is broken 4" #endif #endif /*********************************************************************** // try to detect specific compilers ************************************************************************/ #if (UINT_MAX == ACC_0xffffL) #if defined(__ZTC__) && defined(__I86__) && !defined(__OS2__) # if !defined(MSDOS) # define MSDOS 1 # endif # if !defined(_MSDOS) # define _MSDOS 1 # endif #elif defined(__VERSION) && defined(MB_LEN_MAX) # if (__VERSION == 520) && (MB_LEN_MAX == 1) # if !defined(__AZTEC_C__) # define __AZTEC_C__ __VERSION # endif # if !defined(__DOS__) # define __DOS__ 1 # endif # endif #endif #endif /*********************************************************************** // fix incorrect and missing stuff ************************************************************************/ /* Microsoft C does not correctly define ptrdiff_t for * the 16-bit huge memory model. */ #if defined(_MSC_VER) && defined(M_I86HM) && (UINT_MAX == ACC_0xffffL) # define ptrdiff_t long # define _PTRDIFF_T_DEFINED #endif /* Fix old compiler versions. */ #if (UINT_MAX == ACC_0xffffL) # undef __ACC_RENAME_A # undef __ACC_RENAME_B # if defined(__AZTEC_C__) && defined(__DOS__) # define __ACC_RENAME_A 1 # elif defined(_MSC_VER) && defined(MSDOS) # if (_MSC_VER < 600) # define __ACC_RENAME_A 1 # elif (_MSC_VER < 700) # define __ACC_RENAME_B 1 # endif # elif defined(__TSC__) && defined(__OS2__) # define __ACC_RENAME_A 1 # elif defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0410) # define __ACC_RENAME_A 1 # elif defined(__PACIFIC__) && defined(DOS) # if !defined(__far) # define __far far # endif # if !defined(__near) # define __near near # endif # endif # if defined(__ACC_RENAME_A) # if !defined(__cdecl) # define __cdecl cdecl # endif # if !defined(__far) # define __far far # endif # if !defined(__huge) # define __huge huge # endif # if !defined(__near) # define __near near # endif # if !defined(__pascal) # define __pascal pascal # endif # if !defined(__huge) # define __huge huge # endif # elif defined(__ACC_RENAME_B) # if !defined(__cdecl) # define __cdecl _cdecl # endif # if !defined(__far) # define __far _far # endif # if !defined(__huge) # define __huge _huge # endif # if !defined(__near) # define __near _near # endif # if !defined(__pascal) # define __pascal _pascal # endif # elif (defined(__PUREC__) || defined(__TURBOC__)) && defined(__TOS__) # if !defined(__cdecl) # define __cdecl cdecl # endif # if !defined(__pascal) # define __pascal pascal # endif # endif # undef __ACC_RENAME_A # undef __ACC_RENAME_B #endif #if (UINT_MAX == ACC_0xffffL) #if defined(__AZTEC_C__) && defined(__DOS__) # define ACC_BROKEN_CDECL_ALT_SYNTAX 1 #elif defined(_MSC_VER) && defined(MSDOS) # if (_MSC_VER < 600) # define ACC_BROKEN_INTEGRAL_CONSTANTS 1 # endif # if (_MSC_VER < 700) # define ACC_BROKEN_INTEGRAL_PROMOTION 1 # define ACC_BROKEN_SIZEOF 1 # endif #elif defined(__PACIFIC__) && defined(DOS) # define ACC_BROKEN_INTEGRAL_CONSTANTS 1 #elif defined(__TURBOC__) && defined(__MSDOS__) # if (__TURBOC__ < 0x0150) # define ACC_BROKEN_CDECL_ALT_SYNTAX 1 # define ACC_BROKEN_INTEGRAL_CONSTANTS 1 # define ACC_BROKEN_INTEGRAL_PROMOTION 1 # endif # if (__TURBOC__ < 0x0200) # define ACC_BROKEN_SIZEOF 1 # endif # if (__TURBOC__ < 0x0400) && defined(__cplusplus) # define ACC_BROKEN_CDECL_ALT_SYNTAX 1 # endif #elif (defined(__PUREC__) || defined(__TURBOC__)) && defined(__TOS__) # define ACC_BROKEN_CDECL_ALT_SYNTAX 1 # define ACC_BROKEN_SIZEOF 1 #endif #endif #if defined(__WATCOMC__) && (__WATCOMC__ < 900) # define ACC_BROKEN_INTEGRAL_CONSTANTS 1 #endif /*********************************************************************** // ANSI C preprocessor macros (cpp) ************************************************************************/ #define ACC_CPP_STRINGIZE(x) #x #define ACC_CPP_MACRO_EXPAND(x) ACC_CPP_STRINGIZE(x) /* concatenate */ #define ACC_CPP_CONCAT2(a,b) a ## b #define ACC_CPP_CONCAT3(a,b,c) a ## b ## c #define ACC_CPP_CONCAT4(a,b,c,d) a ## b ## c ## d #define ACC_CPP_CONCAT5(a,b,c,d,e) a ## b ## c ## d ## e /* expand and concatenate (by using one level of indirection) */ #define ACC_CPP_ECONCAT2(a,b) ACC_CPP_CONCAT2(a,b) #define ACC_CPP_ECONCAT3(a,b,c) ACC_CPP_CONCAT3(a,b,c) #define ACC_CPP_ECONCAT4(a,b,c,d) ACC_CPP_CONCAT4(a,b,c,d) #define ACC_CPP_ECONCAT5(a,b,c,d,e) ACC_CPP_CONCAT5(a,b,c,d,e) /*********************************************************************** // stdc macros ************************************************************************/ #if defined(__cplusplus) # undef __STDC_CONSTANT_MACROS # undef __STDC_LIMIT_MACROS # define __STDC_CONSTANT_MACROS 1 # define __STDC_LIMIT_MACROS 1 #endif /*********************************************************************** // misc macros ************************************************************************/ #if defined(__cplusplus) # define ACC_EXTERN_C extern "C" #else # define ACC_EXTERN_C extern #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_lib.ch0000644000175000001440000000303610077051333011554 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #if !defined(ACC_VERSION) # if defined ACC_CONFIG_INCLUDE # include ACC_CONFIG_INCLUDE("acc.h") # else # include "acc.h" # endif #endif #ifndef __ACC_INCD_H_INCLUDED # include ACC_CONFIG_INCLUDE("acc_incd.h") #endif #ifndef __ACC_INCE_H_INCLUDED # include ACC_CONFIG_INCLUDE("acc_ince.h") #endif #ifndef __ACC_INCI_H_INCLUDED # include ACC_CONFIG_INCLUDE("acc_inci.h") #endif #ifndef __ACC_LIB_H_INCLUDED # include ACC_CONFIG_INCLUDE("acc_lib.h") #endif #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #include ACC_CONFIG_INCLUDE("acclib/bele.ch") #include ACC_CONFIG_INCLUDE("acclib/hmemcpy.ch") #include ACC_CONFIG_INCLUDE("acclib/hstring.ch") #include ACC_CONFIG_INCLUDE("acclib/halloc.ch") #include ACC_CONFIG_INCLUDE("acclib/dosalloc.ch") #include ACC_CONFIG_INCLUDE("acclib/hfread.ch") #include ACC_CONFIG_INCLUDE("acclib/hread.ch") #include ACC_CONFIG_INCLUDE("acclib/opendir.ch") #include ACC_CONFIG_INCLUDE("acclib/rand.ch") #include ACC_CONFIG_INCLUDE("acclib/misc.ch") #if 0 /* modules which use floating point are not included by default */ #include ACC_CONFIG_INCLUDE("acclib/uclock.ch") #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_lib.h0000644000175000001440000004464510077051333011424 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #ifndef __ACC_LIB_H_INCLUDED #define __ACC_LIB_H_INCLUDED 1 #if !defined(__ACCLIB_FUNCNAME) # define __ACCLIB_FUNCNAME(f) f #endif #if !defined(ACCLIB_EXTERN) # define ACCLIB_EXTERN(r,f) extern r __ACCLIB_FUNCNAME(f) #endif #if !defined(__ACCLIB_CONST_CAST_RETURN) #if (ACC_CC_GNUC) # define __ACCLIB_CONST_CAST_RETURN(type,var) \ { union { type a; const type b; } u; u.b = (var); return u.a; } #else # define __ACCLIB_CONST_CAST_RETURN(type,var) return (type) (var); #endif #endif #if (ACC_OS_WIN64) # define acclib_handle_t acc_int64l_t # define acclib_uhandle_t acc_uint64l_t #elif (ACC_ARCH_IA32 && ACC_CC_MSC && (_MSC_VER >= 1300)) typedef __w64 long acclib_handle_t; typedef __w64 unsigned long acclib_uhandle_t; # define acclib_handle_t acclib_handle_t # define acclib_uhandle_t acclib_uhandle_t #else # define acclib_handle_t long # define acclib_uhandle_t unsigned long #endif /************************************************************************* // wrap **************************************************************************/ #if 0 ACCLIB_EXTERN(int, acc_ascii_digit) (int); ACCLIB_EXTERN(int, acc_ascii_islower) (int); ACCLIB_EXTERN(int, acc_ascii_isupper) (int); ACCLIB_EXTERN(int, acc_ascii_tolower) (int); ACCLIB_EXTERN(int, acc_ascii_toupper) (int); ACCLIB_EXTERN(int, acc_ascii_utolower) (int); ACCLIB_EXTERN(int, acc_ascii_utoupper) (int); #endif #define acc_ascii_isdigit(c) (((unsigned)(c) - 48) < 10) #define acc_ascii_islower(c) (((unsigned)(c) - 97) < 26) #define acc_ascii_isupper(c) (((unsigned)(c) - 65) < 26) #define acc_ascii_tolower(c) ((int)(c) + (acc_ascii_isupper(c) << 5)) #define acc_ascii_toupper(c) ((int)(c) - (acc_ascii_islower(c) << 5)) #define acc_ascii_utolower(c) acc_ascii_tolower((unsigned char)(c)) #define acc_ascii_utoupper(c) acc_ascii_toupper((unsigned char)(c)) /************************************************************************* // huge pointer layer **************************************************************************/ #ifndef acc_hsize_t #if (ACC_HAVE_MM_HUGE_PTR) # define acc_hsize_t unsigned long # define acc_hvoid_p void __huge * # define acc_hchar_p char __huge * # define acc_hchar_pp char __huge * __huge * # define acc_hbyte_p unsigned char __huge * #else # define acc_hsize_t size_t # define acc_hvoid_p void * # define acc_hchar_p char * # define acc_hchar_pp char ** # define acc_hbyte_p unsigned char * #endif #endif #ifndef ACC_FILE_P #define ACC_FILE_P FILE * #endif /* halloc */ ACCLIB_EXTERN(acc_hvoid_p, acc_halloc) (acc_hsize_t); ACCLIB_EXTERN(void, acc_hfree) (acc_hvoid_p); /* dos_alloc */ #if (ACC_OS_DOS16 || ACC_OS_OS216) ACCLIB_EXTERN(void __far*, acc_dos_alloc) (unsigned long); ACCLIB_EXTERN(int, acc_dos_free) (void __far*); #endif /* string */ ACCLIB_EXTERN(int, acc_hmemcmp) (const acc_hvoid_p, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemcpy) (acc_hvoid_p, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemmove) (acc_hvoid_p, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemset) (acc_hvoid_p, int, acc_hsize_t); /* string */ ACCLIB_EXTERN(acc_hsize_t, acc_hstrlen) (const acc_hchar_p); ACCLIB_EXTERN(int, acc_hstrcmp) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(int, acc_hstrncmp)(const acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(int, acc_ascii_hstricmp) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(int, acc_ascii_hstrnicmp)(const acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(int, acc_ascii_hmemicmp) (const acc_hvoid_p, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hchar_p, acc_hstrstr) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_ascii_hstristr) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemmem) (const acc_hvoid_p, acc_hsize_t, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_ascii_hmemimem) (const acc_hvoid_p, acc_hsize_t, const acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hchar_p, acc_hstrcpy) (acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_hstrcat) (acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hsize_t, acc_hstrlcpy) (acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(acc_hsize_t, acc_hstrlcat) (acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(int, acc_hstrscpy) (acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(int, acc_hstrscat) (acc_hchar_p, const acc_hchar_p, acc_hsize_t); ACCLIB_EXTERN(acc_hchar_p, acc_hstrccpy) (acc_hchar_p, const acc_hchar_p, int); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemccpy) (acc_hvoid_p, const acc_hvoid_p, int, acc_hsize_t); ACCLIB_EXTERN(acc_hchar_p, acc_hstrchr) (const acc_hchar_p, int); ACCLIB_EXTERN(acc_hchar_p, acc_hstrrchr) (const acc_hchar_p, int); ACCLIB_EXTERN(acc_hchar_p, acc_ascii_hstrichr) (const acc_hchar_p, int); ACCLIB_EXTERN(acc_hchar_p, acc_ascii_hstrrichr) (const acc_hchar_p, int); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemchr) (const acc_hvoid_p, int, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_hmemrchr) (const acc_hvoid_p, int, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_ascii_hmemichr) (const acc_hvoid_p, int, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_ascii_hmemrichr) (const acc_hvoid_p, int, acc_hsize_t); ACCLIB_EXTERN(acc_hsize_t, acc_hstrspn) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hsize_t, acc_hstrrspn) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hsize_t, acc_hstrcspn) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hsize_t, acc_hstrrcspn) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_hstrpbrk) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_hstrrpbrk) (const acc_hchar_p, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_hstrsep) (acc_hchar_pp, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_hstrrsep) (acc_hchar_pp, const acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_ascii_hstrlwr) (acc_hchar_p); ACCLIB_EXTERN(acc_hchar_p, acc_ascii_hstrupr) (acc_hchar_p); ACCLIB_EXTERN(acc_hvoid_p, acc_ascii_hmemlwr) (acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hvoid_p, acc_ascii_hmemupr) (acc_hvoid_p, acc_hsize_t); /* stdio */ ACCLIB_EXTERN(acc_hsize_t, acc_hfread) (ACC_FILE_P, acc_hvoid_p, acc_hsize_t); ACCLIB_EXTERN(acc_hsize_t, acc_hfwrite) (ACC_FILE_P, const acc_hvoid_p, acc_hsize_t); /* io */ #if (ACC_HAVE_MM_HUGE_PTR) ACCLIB_EXTERN(long, acc_hread) (int, acc_hvoid_p, long); ACCLIB_EXTERN(long, acc_hwrite) (int, const acc_hvoid_p, long); #endif ACCLIB_EXTERN(long, acc_safe_hread) (int, acc_hvoid_p, long); ACCLIB_EXTERN(long, acc_safe_hwrite) (int, const acc_hvoid_p, long); /************************************************************************* // wrap filename limits **************************************************************************/ /* maximum length of full pathname (excl. '\0') */ #if !defined(ACC_FN_PATH_MAX) #if (ACC_OS_DOS16 || ACC_OS_WIN16) # define ACC_FN_PATH_MAX 143 #elif (ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN32 || ACC_OS_WIN64) # define ACC_FN_PATH_MAX 259 #elif (ACC_OS_TOS) # define ACC_FN_PATH_MAX 259 #endif #endif #if !defined(ACC_FN_PATH_MAX) /* arbitrary limit for acclib implementation */ # define ACC_FN_PATH_MAX 1024 #endif /* maximum length of a filename (a single path component) (excl. '\0') */ #if !defined(ACC_FN_NAME_MAX) #if (ACC_OS_DOS16 || ACC_OS_WIN16) # define ACC_FN_NAME_MAX 12 #elif (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) # define ACC_FN_NAME_MAX 12 #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) #elif (ACC_OS_DOS32) # define ACC_FN_NAME_MAX 12 #endif #endif #if !defined(ACC_FN_NAME_MAX) # define ACC_FN_NAME_MAX ACC_FN_PATH_MAX #endif #define ACC_FNMATCH_NOESCAPE 1 #define ACC_FNMATCH_PATHNAME 2 #define ACC_FNMATCH_PATHSTAR 4 #define ACC_FNMATCH_PERIOD 8 #define ACC_FNMATCH_ASCII_CASEFOLD 16 ACCLIB_EXTERN(int, acc_fnmatch) (const acc_hchar_p, const acc_hchar_p, int); /************************************************************************* // wrap **************************************************************************/ #undef __ACCLIB_USE_OPENDIR #if (HAVE_DIRENT_H || ACC_CC_WATCOMC) # define __ACCLIB_USE_OPENDIR 1 # if (ACC_OS_DOS32 && defined(__BORLANDC__)) # elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) # elif (ACC_OS_OS2 || ACC_OS_OS216) # elif (ACC_OS_TOS && ACC_CC_GNUC) # elif (ACC_OS_WIN32 && !defined(ACC_HAVE_WINDOWS_H)) # elif (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_TOS || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) # undef __ACCLIB_USE_OPENDIR # endif #endif typedef struct { #if defined(__ACCLIB_USE_OPENDIR) void *u_dirp; /* private */ # if (ACC_CC_WATCOMC) unsigned short f_time; unsigned short f_date; unsigned long f_size; # endif char f_name[ACC_FN_NAME_MAX+1]; #elif (ACC_OS_WIN32 || ACC_OS_WIN64) acclib_handle_t u_handle; /* private */ unsigned f_attr; unsigned f_size_low; unsigned f_size_high; char f_name[ACC_FN_NAME_MAX+1]; #elif (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_TOS || ACC_OS_WIN16) char u_dta[21]; /* private */ unsigned char f_attr; unsigned short f_time; unsigned short f_date; unsigned short f_size_low; unsigned short f_size_high; char f_name[ACC_FN_NAME_MAX+1]; char u_dirp; /* private */ #else void *u_dirp; /* private */ char f_name[ACC_FN_NAME_MAX+1]; #endif } acc_dir_t; #ifndef acc_dir_p #define acc_dir_p acc_dir_t * #endif ACCLIB_EXTERN(int, acc_opendir) (acc_dir_p, const char*); ACCLIB_EXTERN(int, acc_readdir) (acc_dir_p); ACCLIB_EXTERN(int, acc_closedir) (acc_dir_p); /************************************************************************* // wrap misc **************************************************************************/ #if (ACC_CC_GNUC) && (defined(__CYGWIN__) || defined(__MINGW32__)) # define acc_alloca(x) __builtin_alloca((x)) #elif (ACC_CC_BORLANDC) && defined(__linux__) /* FIXME: alloca does not work */ #elif (HAVE_ALLOCA) # define acc_alloca(x) alloca((x)) #endif #if (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) # define acc_stackavail() stackavail() #elif (ACC_ARCH_IA16 && ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0410)) # define acc_stackavail() stackavail() #elif (ACC_ARCH_IA16 && ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0400)) # if (ACC_OS_WIN16) && (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) # else # define acc_stackavail() stackavail() # endif #elif ((ACC_ARCH_IA16 || ACC_ARCH_IA32) && (ACC_CC_DMC || ACC_CC_SYMANTECC)) # define acc_stackavail() stackavail() #elif ((ACC_ARCH_IA16) && ACC_CC_MSC && (_MSC_VER >= 700)) # define acc_stackavail() _stackavail() #elif ((ACC_ARCH_IA16) && ACC_CC_MSC) # define acc_stackavail() stackavail() #elif ((ACC_ARCH_IA16 || ACC_ARCH_IA32) && ACC_CC_TURBOC && (__TURBOC__ >= 0x0450)) # define acc_stackavail() stackavail() #elif (ACC_ARCH_IA16 && ACC_CC_TURBOC && (__TURBOC__ >= 0x0400)) ACC_EXTERN_C size_t __cdecl stackavail(void); # define acc_stackavail() stackavail() #elif ((ACC_ARCH_IA16 || ACC_ARCH_IA32) && (ACC_CC_WATCOMC)) # define acc_stackavail() stackavail() #elif (ACC_ARCH_IA16 && ACC_CC_ZORTECHC) # define acc_stackavail() _chkstack() #endif ACCLIB_EXTERN(acclib_handle_t, acc_get_osfhandle) (int); ACCLIB_EXTERN(int, acc_isatty) (int); ACCLIB_EXTERN(int, acc_mkdir) (const char*, unsigned); ACCLIB_EXTERN(int, acc_response) (int*, char***); ACCLIB_EXTERN(int, acc_set_binmode) (int, int); ACCLIB_EXTERN(acc_int32l_t, acc_muldiv32) (acc_int32l_t, acc_int32l_t, acc_int32l_t); ACCLIB_EXTERN(acc_uint32l_t, acc_umuldiv32) (acc_uint32l_t, acc_uint32l_t, acc_uint32l_t); ACCLIB_EXTERN(void, acc_wildargv) (int*, char***); /************************************************************************* // uclock (real, i.e. "wall" clock) **************************************************************************/ #if defined(acc_int32e_t) ACCLIB_EXTERN(int, acc_tsc_read) (acc_uint32e_t*); ACCLIB_EXTERN(int, acc_tsc_read_add) (acc_uint32e_t*); #endif typedef struct { /* all private */ acclib_handle_t h; int mode; #if (ACC_HAVE_WINDOWS_H) && defined(acc_int64l_t) double qpf; #endif } acc_uclock_handle_t; typedef struct { /* all private */ union { acc_uint32l_t t32; #if !(ACC_OS_DOS16 || ACC_OS_WIN16) double td; # if defined(acc_int64l_t) acc_int64l_t t64; # endif #endif } ticks; #if (ACC_HAVE_WINDOWS_H) && defined(acc_int64l_t) acc_int64l_t qpc; #endif } acc_uclock_t; #ifndef acc_uclock_handle_p #define acc_uclock_handle_p acc_uclock_handle_t * #endif #ifndef acc_uclock_p #define acc_uclock_p acc_uclock_t * #endif ACCLIB_EXTERN(int, acc_uclock_open) (acc_uclock_handle_p); ACCLIB_EXTERN(int, acc_uclock_close) (acc_uclock_handle_p); ACCLIB_EXTERN(void, acc_uclock_read) (acc_uclock_handle_p, acc_uclock_p); ACCLIB_EXTERN(double, acc_uclock_get_elapsed) (acc_uclock_handle_p, const acc_uclock_p, const acc_uclock_p); /************************************************************************* // performance counters (virtual clock) **************************************************************************/ #if defined(acc_int64l_t) typedef struct { /* all private */ void* h; unsigned cpu_type, cpu_features, cpu_khz, cpu_nrctrs; const char* cpu_name; } acc_perfctr_handle_t; typedef struct { acc_uint64l_t tsc; #if (ACC_OS_POSIX_LINUX) acc_uint64l_t pmc[18]; #else acc_uint64l_t pmc[1]; #endif } acc_perfctr_clock_t; #ifndef acc_perfctr_handle_p #define acc_perfctr_handle_p acc_perfctr_handle_t * #endif #ifndef acc_perfctr_clock_p #define acc_perfctr_clock_p acc_perfctr_clock_t * #endif ACCLIB_EXTERN(int, acc_perfctr_open) (acc_perfctr_handle_p); ACCLIB_EXTERN(int, acc_perfctr_close) (acc_perfctr_handle_p); ACCLIB_EXTERN(void, acc_perfctr_read) (acc_perfctr_handle_p, acc_perfctr_clock_p); ACCLIB_EXTERN(double, acc_perfctr_get_elapsed) (acc_perfctr_handle_p, const acc_perfctr_clock_p, const acc_perfctr_clock_p); ACCLIB_EXTERN(double, acc_perfctr_get_elapsed_tsc) (acc_perfctr_handle_p, acc_uint64l_t); #endif /************************************************************************* // Big Endian / Little Endian **************************************************************************/ ACCLIB_EXTERN(unsigned, acc_get_be16) (const acc_hvoid_p); ACCLIB_EXTERN(acc_uint32l_t, acc_get_be24) (const acc_hvoid_p); ACCLIB_EXTERN(acc_uint32l_t, acc_get_be32) (const acc_hvoid_p); ACCLIB_EXTERN(void, acc_set_be16) (acc_hvoid_p, unsigned); ACCLIB_EXTERN(void, acc_set_be24) (acc_hvoid_p, acc_uint32l_t); ACCLIB_EXTERN(void, acc_set_be32) (acc_hvoid_p, acc_uint32l_t); ACCLIB_EXTERN(unsigned, acc_get_le16) (const acc_hvoid_p); ACCLIB_EXTERN(acc_uint32l_t, acc_get_le24) (const acc_hvoid_p); ACCLIB_EXTERN(acc_uint32l_t, acc_get_le32) (const acc_hvoid_p); ACCLIB_EXTERN(void, acc_set_le16) (acc_hvoid_p, unsigned); ACCLIB_EXTERN(void, acc_set_le24) (acc_hvoid_p, acc_uint32l_t); ACCLIB_EXTERN(void, acc_set_le32) (acc_hvoid_p, acc_uint32l_t); #if defined(acc_uint64l_t) ACCLIB_EXTERN(acc_uint64l_t, acc_get_be64) (const acc_hvoid_p); ACCLIB_EXTERN(void, acc_set_be64) (acc_hvoid_p, acc_uint64l_t); ACCLIB_EXTERN(acc_uint64l_t, acc_get_le64) (const acc_hvoid_p); ACCLIB_EXTERN(void, acc_set_le64) (acc_hvoid_p, acc_uint64l_t); #endif /* inline versions */ #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) # define ACC_GET_LE16(p) (* (const unsigned short *) (p)) # define ACC_GET_LE32(p) (* (const acc_uint32e_t *) (p)) # define ACC_SET_LE16(p,v) (* (unsigned short *) (p) = (unsigned short) (v)) # define ACC_SET_LE32(p,v) (* (acc_uint32e_t *) (p) = (acc_uint32e_t) (v)) #endif #if (ACC_ARCH_AMD64) # define ACC_GET_LE64(p) (* (const acc_uint64l_t *) (p)) # define ACC_SET_LE64(p,v) (* (acc_uint64l_t *) (p) = (acc_uint64l_t) (v)) #endif /************************************************************************* // getopt **************************************************************************/ typedef struct { const char* name; int has_arg; int* flag; int val; } acc_getopt_longopt_t; #ifndef acc_getopt_longopt_p #define acc_getopt_longopt_p acc_getopt_longopt_t * #endif typedef struct { int go_argc; char** go_argv; const char* go_shortopts; const acc_getopt_longopt_p longopts; #if (ACC_BROKEN_CDECL_ALT_SYNTAX) int __acc_cdecl_va (*go_error)(const char *, ...); #else int (__acc_cdecl_va *go_error)(const char *, ...); #endif } acc_getopt_t; #ifndef acc_getopt_p #define acc_getopt_p acc_getopt_t * #endif ACCLIB_EXTERN(void, acc_getopt_init) (acc_getopt_p); ACCLIB_EXTERN(int, acc_getopt) (acc_getopt_p); ACCLIB_EXTERN(void, acc_getopt_close)(acc_getopt_p); /************************************************************************* // rand **************************************************************************/ typedef struct { /* all private */ acc_uint32l_t seed; } acc_rand31_t; #ifndef acc_rand31_p #define acc_rand31_p acc_rand31_t * #endif ACCLIB_EXTERN(void, acc_srand31) (acc_rand31_p, acc_uint32l_t); ACCLIB_EXTERN(acc_uint32l_t, acc_rand31) (acc_rand31_p); #if defined(acc_uint64l_t) typedef struct { /* all private */ acc_uint64l_t seed; } acc_rand48_t; #ifndef acc_rand48_p #define acc_rand48_p acc_rand48_t * #endif ACCLIB_EXTERN(void, acc_srand48) (acc_rand48_p, acc_uint32l_t); ACCLIB_EXTERN(acc_uint32l_t, acc_rand48) (acc_rand48_p); ACCLIB_EXTERN(acc_uint32l_t, acc_rand48_r32) (acc_rand48_p); #endif #if defined(acc_uint64l_t) typedef struct { /* all private */ acc_uint64l_t seed; } acc_rand64_t; #ifndef acc_rand64_p #define acc_rand64_p acc_rand64_t * #endif ACCLIB_EXTERN(void, acc_srand64) (acc_rand64_p, acc_uint64l_t); ACCLIB_EXTERN(acc_uint32l_t, acc_rand64) (acc_rand64_p); ACCLIB_EXTERN(acc_uint32l_t, acc_rand64_r32) (acc_rand64_p); #endif typedef struct { /* all private */ unsigned n; acc_uint32l_t s[624]; } acc_randmt_t; #ifndef acc_randmt_p #define acc_randmt_p acc_randmt_t * #endif ACCLIB_EXTERN(void, acc_srandmt) (acc_randmt_p, acc_uint32l_t); ACCLIB_EXTERN(acc_uint32l_t, acc_randmt) (acc_randmt_p); ACCLIB_EXTERN(acc_uint32l_t, acc_randmt_r32) (acc_randmt_p); #endif /* already included */ /* vi:ts=4:et */ ucl-1.03/acc/acc_mm.h0000644000175000001440000001244710077051333011262 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * Memory Model - exactly one of: * * ACC_MM_FLAT [default] * ACC_MM_TINY * ACC_MM_SMALL * ACC_MM_MEDIUM * ACC_MM_COMPACT * ACC_MM_LARGE * ACC_MM_HUGE */ #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) #if (UINT_MAX != ACC_0xffffL) # error "this should not happen" #endif #if defined(__TINY__) || defined(M_I86TM) || defined(_M_I86TM) # define ACC_MM_TINY 1 #elif defined(__HUGE__) || defined(_HUGE_) || defined(M_I86HM) || defined(_M_I86HM) # define ACC_MM_HUGE 1 #elif defined(__SMALL__) || defined(M_I86SM) || defined(_M_I86SM) || defined(SMALL_MODEL) # define ACC_MM_SMALL 1 #elif defined(__MEDIUM__) || defined(M_I86MM) || defined(_M_I86MM) # define ACC_MM_MEDIUM 1 #elif defined(__COMPACT__) || defined(M_I86CM) || defined(_M_I86CM) # define ACC_MM_COMPACT 1 #elif defined(__LARGE__) || defined(M_I86LM) || defined(_M_I86LM) || defined(LARGE_MODEL) # define ACC_MM_LARGE 1 #elif (ACC_CC_AZTECC) # if defined(_LARGE_CODE) && defined(_LARGE_DATA) # define ACC_MM_LARGE 1 # elif defined(_LARGE_CODE) # define ACC_MM_MEDIUM 1 # elif defined(_LARGE_DATA) # define ACC_MM_COMPACT 1 # else # define ACC_MM_SMALL 1 # endif #elif (ACC_CC_ZORTECHC && defined(__VCM__)) # define ACC_MM_LARGE 1 #else # error "unknown memory model" #endif /* ACC_HAVE_MM_HUGE_PTR ... working __huge pointers * ACC_HAVE_MM_HUGE_ARRAY ... char __huge x[256*1024L] works */ #define ACC_HAVE_MM_HUGE_PTR 1 #define ACC_HAVE_MM_HUGE_ARRAY 1 #if (ACC_MM_TINY) # undef ACC_HAVE_MM_HUGE_ARRAY #endif #if (ACC_CC_AZTECC || ACC_CC_PACIFICC || ACC_CC_ZORTECHC) # undef ACC_HAVE_MM_HUGE_PTR # undef ACC_HAVE_MM_HUGE_ARRAY #elif (ACC_CC_DMC || ACC_CC_SYMANTECC) # undef ACC_HAVE_MM_HUGE_ARRAY #elif (ACC_CC_MSC && defined(_QC)) # undef ACC_HAVE_MM_HUGE_ARRAY # if (_MSC_VER < 600) # undef ACC_HAVE_MM_HUGE_PTR # endif #elif (ACC_CC_TURBOC && (__TURBOC__ < 0x0295)) # undef ACC_HAVE_MM_HUGE_ARRAY #elif (ACC_CC_WATCOMC && (__WATCOMC__ >= 1200)) /* pointer arithmetics with __huge arrays seems broken in OpenWatcom 1.x */ # undef ACC_HAVE_MM_HUGE_ARRAY #endif #ifdef __cplusplus extern "C" { #endif #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0200)) extern void __near __cdecl _AHSHIFT(void); # define ACC_MM_AHSHIFT ((unsigned) _AHSHIFT) #elif (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) extern void __near __cdecl _AHSHIFT(void); # define ACC_MM_AHSHIFT ((unsigned) _AHSHIFT) #elif (ACC_CC_MSC || ACC_CC_TOPSPEEDC) extern void __near __cdecl _AHSHIFT(void); # define ACC_MM_AHSHIFT ((unsigned) _AHSHIFT) #elif (ACC_CC_TURBOC && (__TURBOC__ >= 0x0295)) extern void __near __cdecl _AHSHIFT(void); # define ACC_MM_AHSHIFT ((unsigned) _AHSHIFT) #elif ((ACC_CC_AZTECC || ACC_CC_PACIFICC || ACC_CC_TURBOC) && ACC_OS_DOS16) # define ACC_MM_AHSHIFT 12 #elif (ACC_CC_WATCOMC) extern unsigned char _HShift; # define ACC_MM_AHSHIFT ((unsigned) _HShift) #else # error "FIXME - implement ACC_MM_AHSHIFT" #endif #ifdef __cplusplus } /* extern "C" */ #endif #elif (ACC_ARCH_C166) #if !defined(__MODEL__) # error "FIXME - C166 __MODEL__" #elif ((__MODEL__) == 0) # define ACC_MM_SMALL 1 #elif ((__MODEL__) == 1) # define ACC_MM_SMALL 1 #elif ((__MODEL__) == 2) # define ACC_MM_LARGE 1 #elif ((__MODEL__) == 3) # define ACC_MM_TINY 1 #elif ((__MODEL__) == 4) # define ACC_MM_XTINY 1 #elif ((__MODEL__) == 5) # define ACC_MM_XSMALL 1 #else # error "FIXME - C166 __MODEL__" #endif #elif (ACC_ARCH_MCS251) #if !defined(__MODEL__) # error "FIXME - MCS251 __MODEL__" #elif ((__MODEL__) == 0) # define ACC_MM_SMALL 1 #elif ((__MODEL__) == 2) # define ACC_MM_LARGE 1 #elif ((__MODEL__) == 3) # define ACC_MM_TINY 1 #elif ((__MODEL__) == 4) # define ACC_MM_XTINY 1 #elif ((__MODEL__) == 5) # define ACC_MM_XSMALL 1 #else # error "FIXME - MCS251 __MODEL__" #endif #elif (ACC_ARCH_MCS51) #if !defined(__MODEL__) # error "FIXME - MCS51 __MODEL__" #elif ((__MODEL__) == 1) # define ACC_MM_SMALL 1 #elif ((__MODEL__) == 2) # define ACC_MM_LARGE 1 #elif ((__MODEL__) == 3) # define ACC_MM_TINY 1 #elif ((__MODEL__) == 4) # define ACC_MM_XTINY 1 #elif ((__MODEL__) == 5) # define ACC_MM_XSMALL 1 #else # error "FIXME - MCS51 __MODEL__" #endif #else # define ACC_MM_FLAT 1 #endif #if (ACC_MM_FLAT) # define ACC_INFO_MM "flat" #elif (ACC_MM_TINY) # define ACC_INFO_MM "tiny" #elif (ACC_MM_SMALL) # define ACC_INFO_MM "small" #elif (ACC_MM_MEDIUM) # define ACC_INFO_MM "medium" #elif (ACC_MM_COMPACT) # define ACC_INFO_MM "compact" #elif (ACC_MM_LARGE) # define ACC_INFO_MM "large" #elif (ACC_MM_HUGE) # define ACC_INFO_MM "huge" #else # error "unknown memory model" #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_os.h0000644000175000001440000001510510077051333011264 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /* * Operating System - exactly one of: * * ACC_OS_POSIX [default] * ACC_OS_AMIGAOS * ACC_OS_BEOS * ACC_OS_CYGWIN hybrid WIN32 and POSIX * ACC_OS_DOS16 16-bit DOS (segmented memory model) * ACC_OS_DOS32 * ACC_OS_EMX hybrid OS/2, DOS32, WIN32 (with RSX) and POSIX * ACC_OS_MACCLASSIC Macintosh Classic * ACC_OS_PALMOS * ACC_OS_OS2 OS/2 * ACC_OS_OS216 16-bit OS/2 1.x (segmented memory model) * ACC_OS_QNX * ACC_OS_RISCOS * ACC_OS_TOS Atari TOS / MiNT * ACC_OS_VMS * ACC_OS_WIN16 16-bit Windows 3.x (segmented memory model) * ACC_OS_WIN32 * ACC_OS_WIN64 64-bit Windows (LLP64 programming model) */ #if defined(__CYGWIN__) && defined(__GNUC__) # define ACC_OS_CYGWIN 1 # define ACC_INFO_OS "cygwin" #elif defined(__EMX__) && defined(__GNUC__) # define ACC_OS_EMX 1 # define ACC_INFO_OS "emx" #elif defined(__BEOS__) # define ACC_OS_BEOS 1 # define ACC_INFO_OS "beos" #elif defined(__QNX__) # define ACC_OS_QNX 1 # define ACC_INFO_OS "qnx" #elif defined(__BORLANDC__) && defined(__DPMI32__) && (__BORLANDC__ >= 0x0460) # define ACC_OS_DOS32 1 # define ACC_INFO_OS "dos32" #elif defined(__BORLANDC__) && defined(__DPMI16__) # define ACC_OS_DOS16 1 # define ACC_INFO_OS "dos16" #elif defined(__ZTC__) && defined(DOS386) # define ACC_OS_DOS32 1 # define ACC_INFO_OS "dos32" #elif defined(__OS2__) || defined(__OS2V2__) # if (UINT_MAX == ACC_0xffffL) # define ACC_OS_OS216 1 # define ACC_INFO_OS "os216" # elif (UINT_MAX == ACC_0xffffffffL) # define ACC_OS_OS2 1 # define ACC_INFO_OS "os2" # else # error "check your limits.h header" # endif #elif defined(__WIN64__) || defined(_WIN64) || defined(WIN64) # define ACC_OS_WIN64 1 # define ACC_INFO_OS "win64" #elif defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(__WINDOWS_386__) # define ACC_OS_WIN32 1 # define ACC_INFO_OS "win32" #elif defined(__MWERKS__) && defined(__INTEL__) # define ACC_OS_WIN32 1 # define ACC_INFO_OS "win32" #elif defined(__WINDOWS__) || defined(_WINDOWS) || defined(_Windows) # if (UINT_MAX == ACC_0xffffL) # define ACC_OS_WIN16 1 # define ACC_INFO_OS "win16" # elif (UINT_MAX == ACC_0xffffffffL) # define ACC_OS_WIN32 1 # define ACC_INFO_OS "win32" # else # error "check your limits.h header" # endif #elif defined(__DOS__) || defined(__MSDOS__) || defined(_MSDOS) || defined(MSDOS) || (defined(__PACIFIC__) && defined(DOS)) # if (UINT_MAX == ACC_0xffffL) # define ACC_OS_DOS16 1 # define ACC_INFO_OS "dos16" # elif (UINT_MAX == ACC_0xffffffffL) # define ACC_OS_DOS32 1 # define ACC_INFO_OS "dos32" # else # error "check your limits.h header" # endif #elif defined(__WATCOMC__) # if defined(__NT__) && (UINT_MAX == ACC_0xffffL) /* wcl: NT host defaults to DOS target */ # define ACC_OS_DOS16 1 # define ACC_INFO_OS "dos16" # elif defined(__NT__) && (__WATCOMC__ < 1100) /* wcl386: Watcom C 11 defines _WIN32 */ # define ACC_OS_WIN32 1 # define ACC_INFO_OS "win32" # else # error "please specify a target using the -bt compiler option" # endif #elif defined(__palmos__) # if (UINT_MAX == ACC_0xffffL) # define ACC_OS_PALMOS 1 # define ACC_INFO_OS "palmos" # else # error "check your limits.h header" # endif #elif defined(__TOS__) || defined(__atarist__) # define ACC_OS_TOS 1 # define ACC_INFO_OS "tos" #elif defined(macintosh) && !defined(__ppc__) # define ACC_OS_MACCLASSIC 1 # define ACC_INFO_OS "macclassic" #elif defined(__VMS) # define ACC_OS_VMS 1 # define ACC_INFO_OS "vms" #else # define ACC_OS_POSIX 1 # define ACC_INFO_OS "posix" #endif #if (ACC_OS_POSIX) # if defined(_AIX) || defined(__AIX__) || defined(__aix__) # define ACC_OS_POSIX_AIX 1 # define ACC_INFO_OS_POSIX "aix" # elif defined(__FreeBSD__) # define ACC_OS_POSIX_FREEBSD 1 # define ACC_INFO_OS_POSIX "freebsd" # elif defined(__hpux__) || defined(__hpux) # define ACC_OS_POSIX_HPUX 1 # define ACC_INFO_OS_POSIX "hpux" # elif defined(__INTERIX) # define ACC_OS_POSIX_INTERIX 1 # define ACC_INFO_OS_POSIX "interix" # elif defined(__IRIX__) || defined(__irix__) # define ACC_OS_POSIX_IRIX 1 # define ACC_INFO_OS_POSIX "irix" # elif defined(__linux__) || defined(__linux) # define ACC_OS_POSIX_LINUX 1 # define ACC_INFO_OS_POSIX "linux" # elif defined(__APPLE__) || defined(__MACOS__) # define ACC_OS_POSIX_MACOSX 1 # define ACC_INFO_OS_POSIX "macosx" # elif defined(__NetBSD__) # define ACC_OS_POSIX_NETBSD 1 # define ACC_INFO_OS_POSIX "netbsd" # elif defined(__OpenBSD__) # define ACC_OS_POSIX_OPENBSD 1 # define ACC_INFO_OS_POSIX "openbsd" # elif defined(__osf__) # define ACC_OS_POSIX_OSF 1 # define ACC_INFO_OS_POSIX "osf" # elif defined(__solaris__) || defined(__sun) # if defined(__SVR4) || defined(__svr4__) # define ACC_OS_POSIX_SOLARIS 1 # define ACC_INFO_OS_POSIX "solaris" # else # define ACC_OS_POSIX_SUNOS 1 # define ACC_INFO_OS_POSIX "sunos" # endif # elif defined(__ultrix__) || defined(__ultrix) # define ACC_OS_POSIX_ULTRIX 1 # define ACC_INFO_OS_POSIX "ultrix" # else # define ACC_OS_POSIX_UNKNOWN 1 # define ACC_INFO_OS_POSIX "unknown" # endif #endif #if (ACC_OS_DOS16 || ACC_OS_OS216 || ACC_OS_WIN16) # if (UINT_MAX != ACC_0xffffL) # error "this should not happen" # endif # if (ULONG_MAX != ACC_0xffffffffL) # error "this should not happen" # endif #endif #if (ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_WIN32 || ACC_OS_WIN64) # if (UINT_MAX != ACC_0xffffffffL) # error "this should not happen" # endif # if (ULONG_MAX != ACC_0xffffffffL) # error "this should not happen" # endif #endif /* vi:ts=4:et */ ucl-1.03/acc/acc_type.h0000644000175000001440000002452610077051333011633 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ /*********************************************************************** // ************************************************************************/ #if (ACC_CC_GNUC >= 0x020800ul) /* 2.8.0 */ # define __acc_gnuc_extension__ __extension__ #else # define __acc_gnuc_extension__ #endif #if (SIZEOF_LONG_LONG > 0) __acc_gnuc_extension__ typedef long long acc_llong_t; #endif #if (SIZEOF_UNSIGNED_LONG_LONG > 0) __acc_gnuc_extension__ typedef unsigned long long acc_ullong_t; #endif #if (!(SIZEOF_SHORT > 0 && SIZEOF_INT > 0 && SIZEOF_LONG > 0)) # error "missing defines for sizes" #endif #if (!(SIZEOF_PTRDIFF_T > 0 && SIZEOF_SIZE_T > 0 && SIZEOF_VOID_P > 0 && SIZEOF_CHAR_P > 0)) # error "missing defines for sizes" #endif /*********************************************************************** // some types: // required: least & fast: acc_int32l_t, acc_int32f_t // optional: exact32 acc_int32e_t // optional: least64 acc_int64l_t ************************************************************************/ /* acc_int32e_t is int32_t in terminology */ #if !defined(acc_int32e_t) #if (SIZEOF_INT == 4) # define acc_int32e_t int # define acc_uint32e_t unsigned int # define ACC_INT32E_C(c) c # define ACC_UINT32E_C(c) c##U #elif (SIZEOF_LONG == 4) # define acc_int32e_t long int # define acc_uint32e_t unsigned long int # define ACC_INT32E_C(c) c##L # define ACC_UINT32E_C(c) c##UL #elif (SIZEOF_SHORT == 4) # define acc_int32e_t short int # define acc_uint32e_t unsigned short int # define ACC_INT32E_C(c) c # define ACC_UINT32E_C(c) c##U #elif (SIZEOF_LONG_LONG == 4 && SIZEOF_UNSIGNED_LONG_LONG == 4) # define acc_int32e_t acc_llong_t # define acc_uint32e_t acc_ullong_t # define ACC_INT32E_C(c) c##LL # define ACC_UINT32E_C(c) c##ULL #elif (SIZEOF___INT32 == 4 && SIZEOF_UNSIGNED___INT32 == 4) # define acc_int32e_t __int32 # define acc_uint32e_t unsigned __int32 # if (SIZEOF_INT > 4) # define ACC_INT32E_C(c) c # define ACC_UINT32E_C(c) c##U # elif (SIZEOF_LONG > 4) # define ACC_INT32E_C(c) c##L # define ACC_UINT32E_C(c) c##UL # else # define ACC_INT32E_C(c) c##i32 # define ACC_UINT32E_C(c) c##ui32 # endif #else /* no exact 32-bit integral type on this machine */ #endif #endif #if defined(acc_int32e_t) # define SIZEOF_ACC_INT32E_T 4 #endif /* acc_int32l_t is int_least32_t in terminology */ #if !defined(acc_int32l_t) #if defined(acc_int32e_t) # define acc_int32l_t acc_int32e_t # define acc_uint32l_t acc_uint32e_t # define ACC_INT32L_C(c) ACC_INT32E_C(c) # define ACC_UINT32L_C(c) ACC_UINT32E_C(c) # define SIZEOF_ACC_INT32L_T SIZEOF_ACC_INT32E_T #elif (SIZEOF_INT > 4) # define acc_int32l_t int # define acc_uint32l_t unsigned int # define ACC_INT32L_C(c) c # define ACC_UINT32L_C(c) c##U # define SIZEOF_ACC_INT32L_T SIZEOF_INT #elif (SIZEOF_LONG > 4) # define acc_int32l_t long int # define acc_uint32l_t unsigned long int # define ACC_INT32L_C(c) c##L # define ACC_UINT32L_C(c) c##UL # define SIZEOF_ACC_INT32L_T SIZEOF_LONG #else # error "acc_int32l_t" #endif #endif /* acc_int32f_t is int_fast32_t in terminology */ #if !defined(acc_int32f_t) #if (SIZEOF_INT >= 4) # define acc_int32f_t int # define acc_uint32f_t unsigned int # define ACC_INT32F_C(c) c # define ACC_UINT32F_C(c) c##U # define SIZEOF_ACC_INT32F_T SIZEOF_INT #elif (SIZEOF_LONG >= 4) # define acc_int32f_t long int # define acc_uint32f_t unsigned long int # define ACC_INT32F_C(c) c##L # define ACC_UINT32F_C(c) c##UL # define SIZEOF_ACC_INT32F_T SIZEOF_LONG #elif defined(acc_int32e_t) # define acc_int32f_t acc_int32e_t # define acc_uint32f_t acc_uint32e_t # define ACC_INT32F_C(c) ACC_INT32E_C(c) # define ACC_UINT32F_C(c) ACC_UINT32E_C(c) # define SIZEOF_ACC_INT32F_T SIZEOF_ACC_INT32E_T #else # error "acc_int32f_t" #endif #endif /* acc_int64l_t is int_least64_t in terminology */ #if !defined(acc_int64l_t) #if (SIZEOF___INT64 >= 8 && SIZEOF_UNSIGNED___INT64 >= 8) # if (ACC_CC_BORLANDC) && !defined(ACC_CONFIG_PREFER___INT64) # define ACC_CONFIG_PREFER___INT64 1 # endif #endif #if (SIZEOF_INT >= 8) # define acc_int64l_t int # define acc_uint64l_t unsigned int # define ACC_INT64L_C(c) c # define ACC_UINT64L_C(c) c##U # define SIZEOF_ACC_INT64L_T SIZEOF_INT #elif (SIZEOF_LONG >= 8) # define acc_int64l_t long int # define acc_uint64l_t unsigned long int # define ACC_INT64L_C(c) c##L # define ACC_UINT64L_C(c) c##UL # define SIZEOF_ACC_INT64L_T SIZEOF_LONG #elif (SIZEOF_LONG_LONG >= 8 && SIZEOF_UNSIGNED_LONG_LONG >= 8) && !defined(ACC_CONFIG_PREFER___INT64) # define acc_int64l_t acc_llong_t # define acc_uint64l_t acc_ullong_t # if (ACC_CC_BORLANDC) # define ACC_INT64L_C(c) ((c) + 0ll) # define ACC_UINT64L_C(c) ((c) + 0ull) # else # define ACC_INT64L_C(c) c##LL # define ACC_UINT64L_C(c) c##ULL # endif # define SIZEOF_ACC_INT64L_T SIZEOF_LONG_LONG #elif (SIZEOF___INT64 >= 8 && SIZEOF_UNSIGNED___INT64 >= 8) # define acc_int64l_t __int64 # define acc_uint64l_t unsigned __int64 # if (ACC_CC_BORLANDC) # define ACC_INT64L_C(c) ((c) + 0i64) # define ACC_UINT64L_C(c) ((c) + 0ui64) # else # define ACC_INT64L_C(c) c##i64 # define ACC_UINT64L_C(c) c##ui64 # endif # define SIZEOF_ACC_INT64L_T SIZEOF___INT64 #else /* no least 64-bit integral type on this machine */ #endif #endif #if !defined(acc_intptr_t) #if (ACC_ARCH_IA32 && ACC_CC_MSC && (_MSC_VER >= 1300)) typedef __w64 int acc_intptr_t; typedef __w64 unsigned int acc_uintptr_t; # define acc_intptr_t acc_intptr_t # define acc_uintptr_t acc_uintptr_t # define SIZEOF_ACC_INTPTR_T SIZEOF_INT #elif (SIZEOF_INT >= SIZEOF_VOID_P) # define acc_intptr_t int # define acc_uintptr_t unsigned int # define SIZEOF_ACC_INTPTR_T SIZEOF_INT #elif (SIZEOF_LONG >= SIZEOF_VOID_P) # define acc_intptr_t long # define acc_uintptr_t unsigned long # define SIZEOF_ACC_INTPTR_T SIZEOF_LONG #elif (SIZEOF_ACC_INT64L_T >= SIZEOF_VOID_P) # define acc_intptr_t acc_int64l_t # define acc_uintptr_t acc_uint64l_t # define SIZEOF_ACC_INTPTR_T SIZEOF_ACC_INT64L_T #else # error "acc_intptr_t" #endif #endif /* workaround for broken compilers */ #if (ACC_BROKEN_INTEGRAL_CONSTANTS) # undef ACC_INT32E_C # undef ACC_UINT32E_C # undef ACC_INT32L_C # undef ACC_UINT32L_C # undef ACC_INT32F_C # undef ACC_UINT32F_C # if (SIZEOF_INT == 4) # define ACC_INT32E_C(c) ((c) + 0) # define ACC_UINT32E_C(c) ((c) + 0U) # define ACC_INT32L_C(c) ((c) + 0) # define ACC_UINT32L_C(c) ((c) + 0U) # define ACC_INT32F_C(c) ((c) + 0) # define ACC_UINT32F_C(c) ((c) + 0U) # elif (SIZEOF_LONG == 4) # define ACC_INT32E_C(c) ((c) + 0L) # define ACC_UINT32E_C(c) ((c) + 0UL) # define ACC_INT32L_C(c) ((c) + 0L) # define ACC_UINT32L_C(c) ((c) + 0UL) # define ACC_INT32F_C(c) ((c) + 0L) # define ACC_UINT32F_C(c) ((c) + 0UL) # else # error "integral constants" # endif #endif /*********************************************************************** // calling conventions ************************************************************************/ #if (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) # if (ACC_CC_GNUC || ACC_CC_HIGHC || ACC_CC_NDPC || ACC_CC_PACIFICC) # elif (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) # define __acc_cdecl __cdecl # define __acc_cdecl_atexit # define __acc_cdecl_main __cdecl # if (ACC_OS_OS2 && (ACC_CC_DMC || ACC_CC_SYMANTECC)) # define __acc_cdecl_qsort __pascal # elif (ACC_OS_OS2 && (ACC_CC_ZORTECHC)) # define __acc_cdecl_qsort _stdcall # else # define __acc_cdecl_qsort __cdecl # endif # elif (ACC_CC_WATCOMC) # define __acc_cdecl __cdecl # else # define __acc_cdecl __cdecl # define __acc_cdecl_atexit __cdecl # define __acc_cdecl_main __cdecl # define __acc_cdecl_qsort __cdecl # endif # if (ACC_CC_GNUC || ACC_CC_HIGHC || ACC_CC_NDPC || ACC_CC_PACIFICC || ACC_CC_WATCOMC) # elif (ACC_OS_OS2 && (ACC_CC_DMC || ACC_CC_SYMANTECC)) # define __acc_cdecl_sighandler __pascal # elif (ACC_OS_OS2 && (ACC_CC_ZORTECHC)) # define __acc_cdecl_sighandler _stdcall # elif (ACC_CC_MSC && (_MSC_VER >= 1400)) && defined(_M_CEE_PURE) # define __acc_cdecl_sighandler __clrcall # elif (ACC_CC_MSC && (_MSC_VER >= 600 && _MSC_VER < 700)) # if defined(_DLL) # define __acc_cdecl_sighandler _far _cdecl _loadds # elif defined(_MT) # define __acc_cdecl_sighandler _far _cdecl # else # define __acc_cdecl_sighandler _cdecl # endif # else # define __acc_cdecl_sighandler __cdecl # endif #elif (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) # define __acc_cdecl cdecl #endif #if !defined(__acc_cdecl) # define __acc_cdecl #endif #if !defined(__acc_cdecl_atexit) # define __acc_cdecl_atexit #endif #if !defined(__acc_cdecl_main) # define __acc_cdecl_main #endif #if !defined(__acc_cdecl_qsort) # define __acc_cdecl_qsort #endif #if !defined(__acc_cdecl_sighandler) # define __acc_cdecl_sighandler #endif #if !defined(__acc_cdecl_va) # define __acc_cdecl_va __acc_cdecl #endif #if (ACC_BROKEN_CDECL_ALT_SYNTAX) typedef void __acc_cdecl_sighandler (*acc_sighandler_t)(int); #elif defined(RETSIGTYPE) typedef RETSIGTYPE (__acc_cdecl_sighandler *acc_sighandler_t)(int); #else typedef void (__acc_cdecl_sighandler *acc_sighandler_t)(int); #endif /* vi:ts=4:et */ ucl-1.03/acc/acclib/0000777000175000001440000000000010077051333011163 500000000000000ucl-1.03/acc/acclib/halloc.ch0000644000175000001440000000762310077051333012665 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HALLOC_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #if (ACC_HAVE_MM_HUGE_PTR) #if 1 && (ACC_OS_DOS16 && defined(BLX286)) # define __ACCLIB_HALLOC_USE_DAH 1 #elif 1 && (ACC_OS_DOS16 && defined(DOSX286)) # define __ACCLIB_HALLOC_USE_DAH 1 #elif 1 && (ACC_OS_OS216) # define __ACCLIB_HALLOC_USE_DAH 1 #elif 1 && (ACC_OS_WIN16) # define __ACCLIB_HALLOC_USE_GA 1 #elif 1 && (ACC_OS_DOS16) && (ACC_CC_BORLANDC) && defined(__DPMI16__) # define __ACCLIB_HALLOC_USE_GA 1 #endif #endif #if (__ACCLIB_HALLOC_USE_DAH) #if 0 && (ACC_OS_OS216) #include #else ACC_EXTERN_C unsigned short __far __pascal DosAllocHuge(unsigned short, unsigned short, unsigned short __far *, unsigned short, unsigned short); ACC_EXTERN_C unsigned short __far __pascal DosFreeSeg(unsigned short); #endif #endif #if (__ACCLIB_HALLOC_USE_GA) #if 0 #define STRICT 1 #include #else ACC_EXTERN_C const void __near* __far __pascal GlobalAlloc(unsigned, unsigned long); ACC_EXTERN_C const void __near* __far __pascal GlobalFree(const void __near*); ACC_EXTERN_C unsigned long __far __pascal GlobalHandle(unsigned); ACC_EXTERN_C void __far* __far __pascal GlobalLock(const void __near*); ACC_EXTERN_C int __far __pascal GlobalUnlock(const void __near*); #endif #endif /*********************************************************************** // halloc ************************************************************************/ ACCLIB_PUBLIC(acc_hvoid_p, acc_halloc) (acc_hsize_t size) { acc_hvoid_p p = 0; if (size <= 0) return p; #if 0 && defined(__palmos__) p = MemPtrNew(size); #elif !defined(ACC_HAVE_MM_HUGE_PTR) if (size < (size_t) -1) p = malloc((size_t) size); #else if ((long)size <= 0) return p; { #if (__ACCLIB_HALLOC_USE_DAH) unsigned short sel = 0; if (DosAllocHuge((unsigned short)(size >> 16), (unsigned short)size, &sel, 0, 0) == 0) p = (acc_hvoid_p) ACC_MK_FP(sel, 0); #elif (__ACCLIB_HALLOC_USE_GA) const void __near* h = GlobalAlloc(2, size); if (h) { p = GlobalLock(h); if (p && ACC_FP_OFF(p) != 0) { GlobalUnlock(h); p = 0; } if (!p) GlobalFree(h); } #elif (ACC_CC_MSC && (_MSC_VER >= 700)) p = _halloc(size, 1); #elif (ACC_CC_MSC || ACC_CC_WATCOMC) p = halloc(size, 1); #elif (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) p = farmalloc(size); #elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) p = farmalloc(size); #elif defined(ACC_CC_AZTECC) p = lmalloc(size); #else if (size < (size_t) -1) p = malloc((size_t) size); #endif } #endif return p; } ACCLIB_PUBLIC(void, acc_hfree) (acc_hvoid_p p) { if (!p) return; #if 0 && defined(__palmos__) MemPtrFree(p); #elif !defined(ACC_HAVE_MM_HUGE_PTR) free(p); #else #if (__ACCLIB_HALLOC_USE_DAH) if (ACC_FP_OFF(p) == 0) DosFreeSeg((unsigned short) ACC_FP_SEG(p)); #elif (__ACCLIB_HALLOC_USE_GA) if (ACC_FP_OFF(p) == 0) { const void __near* h = (const void __near*) (unsigned) GlobalHandle(ACC_FP_SEG(p)); if (h) { GlobalUnlock(h); GlobalFree(h); } } #elif (ACC_CC_MSC && (_MSC_VER >= 700)) _hfree(p); #elif (ACC_CC_MSC || ACC_CC_WATCOMC) hfree(p); #elif (ACC_CC_DMC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC) farfree((void __far*) p); #elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) farfree((void __far*) p); #elif defined(ACC_CC_AZTECC) lfree(p); #else free(p); #endif #endif } /* vi:ts=4:et */ ucl-1.03/acc/acclib/hread.ch0000644000175000001440000000556410077051333012510 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HREAD_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /*********************************************************************** // huge pointer layer - read/write ************************************************************************/ #if (ACC_HAVE_MM_HUGE_PTR) ACCLIB_PUBLIC(long, acc_hread) (int fd, acc_hvoid_p buf, long size) { #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) #define __ACCLIB_REQUIRE_HMEMCPY_CH 1 unsigned char tmp[512]; long l = 0; while (l < size) { int n = size - l > (long)sizeof(tmp) ? (int) sizeof(tmp) : (int) (size - l); n = read(fd, tmp, n); if (n == 0) break; if (n < 0) return -1; __ACCLIB_FUNCNAME(acc_hmemcpy)((acc_hbyte_p)buf + l, tmp, (acc_hsize_t)n); l += n; } return l; #elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) acc_hbyte_p b = (acc_hbyte_p) buf; long l = 0; while (l < size) { unsigned n; n = ACC_FP_OFF(b); n = (n <= 1) ? 0x8000u : (0u - n); if ((long) n > size - l) n = (unsigned) (size - l); n = read(fd, (void __far*)b, n); if (n == 0) break; if (n == (unsigned)-1) return -1; b += n; l += n; } return l; #else # error "unknown memory model" #endif } ACCLIB_PUBLIC(long, acc_hwrite) (int fd, const acc_hvoid_p buf, long size) { #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) #define __ACCLIB_REQUIRE_HMEMCPY_CH 1 unsigned char tmp[512]; long l = 0; while (l < size) { int n = size - l > (long)sizeof(tmp) ? (int) sizeof(tmp) : (int) (size - l); __ACCLIB_FUNCNAME(acc_hmemcpy)(tmp, (const acc_hbyte_p)buf + l, (acc_hsize_t)n); n = write(fd, tmp, n); if (n == 0) break; if (n < 0) return -1; l += n; } return l; #elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) const acc_hbyte_p b = (const acc_hbyte_p) buf; long l = 0; while (l < size) { unsigned n; n = ACC_FP_OFF(b); n = (n <= 1) ? 0x8000u : (0u - n); if ((long) n > size - l) n = (unsigned) (size - l); n = write(fd, (void __far*)b, n); if (n == 0) break; if (n == (unsigned)-1) return -1; b += n; l += n; } return l; #else # error "unknown memory model" #endif } #endif /* #if (ACC_HAVE_MM_HUGE_PTR) */ /* vi:ts=4:et */ ucl-1.03/acc/acclib/rand.ch0000644000175000001440000000705410077051333012345 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_RAND_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // some linear congruential pseudo random number generators (PRNG) **************************************************************************/ ACCLIB_PUBLIC(void, acc_srand31) (acc_rand31_p r, acc_uint32l_t seed) { r->seed = seed & ACC_UINT32L_C(0xffffffff); } ACCLIB_PUBLIC(acc_uint32l_t, acc_rand31) (acc_rand31_p r) { r->seed = r->seed * ACC_UINT32L_C(1103515245) + 12345; r->seed &= ACC_UINT32L_C(0x7fffffff); return r->seed; } #if defined(acc_uint64l_t) ACCLIB_PUBLIC(void, acc_srand48) (acc_rand48_p r, acc_uint32l_t seed) { r->seed = seed & ACC_UINT32L_C(0xffffffff); r->seed <<= 16; r->seed |= 0x330e; } ACCLIB_PUBLIC(acc_uint32l_t, acc_rand48) (acc_rand48_p r) { r->seed = r->seed * ACC_UINT64L_C(25214903917) + 11; r->seed &= ACC_UINT64L_C(0xffffffffffff); return (acc_uint32l_t) (r->seed >> 17); } ACCLIB_PUBLIC(acc_uint32l_t, acc_rand48_r32) (acc_rand48_p r) { r->seed = r->seed * ACC_UINT64L_C(25214903917) + 11; r->seed &= ACC_UINT64L_C(0xffffffffffff); return (acc_uint32l_t) (r->seed >> 16); } #endif /* acc_uint64l_t */ #if defined(acc_uint64l_t) ACCLIB_PUBLIC(void, acc_srand64) (acc_rand64_p r, acc_uint64l_t seed) { r->seed = seed & ACC_UINT64L_C(0xffffffffffffffff); } ACCLIB_PUBLIC(acc_uint32l_t, acc_rand64) (acc_rand64_p r) { r->seed = r->seed * ACC_UINT64L_C(6364136223846793005) + 1; #if (SIZEOF_ACC_INT64L_T > 8) r->seed &= ACC_UINT64L_C(0xffffffffffffffff); #endif return (acc_uint32l_t) (r->seed >> 33); } ACCLIB_PUBLIC(acc_uint32l_t, acc_rand64_r32) (acc_rand64_p r) { r->seed = r->seed * ACC_UINT64L_C(6364136223846793005) + 1; #if (SIZEOF_ACC_INT64L_T > 8) r->seed &= ACC_UINT64L_C(0xffffffffffffffff); #endif return (acc_uint32l_t) (r->seed >> 32); } #endif /* acc_uint64l_t */ /************************************************************************* // mersenne twister PRNG **************************************************************************/ ACCLIB_PUBLIC(void, acc_srandmt) (acc_randmt_p r, acc_uint32l_t seed) { unsigned i = 0; do { r->s[i++] = (seed &= ACC_UINT32L_C(0xffffffff)); seed ^= seed >> 30; seed = seed * ACC_UINT32L_C(0x6c078965) + i; } while (i != 624); r->n = i; } ACCLIB_PUBLIC(acc_uint32l_t, acc_randmt) (acc_randmt_p r) { return (__ACCLIB_FUNCNAME(acc_randmt_r32)(r)) >> 1; } ACCLIB_PUBLIC(acc_uint32l_t, acc_randmt_r32) (acc_randmt_p r) { acc_uint32l_t v; if (r->n == 624) { int i = 0, j; r->n = 0; do { j = i - 623; if (j < 0) j += 624; v = (r->s[i] & ACC_UINT32L_C(0x80000000)) ^ (r->s[j] & ACC_UINT32L_C(0x7fffffff)); j = i - 227; if (j < 0) j += 624; r->s[i] = r->s[j] ^ (v >> 1); if (v & 1) r->s[i] ^= ACC_UINT32L_C(0x9908b0df); } while (++i != 624); } v = r->s[r->n++]; v ^= v >> 11; v ^= (v & ACC_UINT32L_C(0x013a58ad)) << 7; v ^= (v & ACC_UINT32L_C(0x0001df8c)) << 15; v ^= v >> 18; return v; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/opendir.ch0000644000175000001440000001357210077051333013063 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_OPENDIR_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // wrap **************************************************************************/ #if !defined(__ACCLIB_USE_OPENDIR) #if (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_TOS || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) static int __ACCLIB_FUNCNAME(acc_opendir_init)(acc_dir_p f, const char* path, char* buf, size_t bufsize) { size_t l; char* p; f->f_name[0] = 0; buf[0] = 0; l = strlen(path); if (l == 0 || bufsize <= 4 || l >= bufsize - 4) return -1; strcpy(buf, path); p = buf + l; if (p[-1] == ':' || p[-1] == '\\' || p[-1] == '/') strcpy(p, "*.*"); else strcpy(p, "\\*.*"); return 0; } #endif #endif #if defined(__ACCLIB_USE_OPENDIR) ACCLIB_PUBLIC(int, acc_opendir) (acc_dir_p f, const char* path) { f->u_dirp = opendir(path); if (!f->u_dirp) return -2; return __ACCLIB_FUNCNAME(acc_readdir)(f); } ACCLIB_PUBLIC(int, acc_readdir) (acc_dir_p f) { const struct dirent* dp; f->f_name[0] = 0; if (!f->u_dirp) return -1; dp = (const struct dirent*) readdir((DIR*) f->u_dirp); if (!dp) return -1; if (!dp->d_name[0] || strlen(dp->d_name) >= sizeof(f->f_name)) return -1; strcpy(f->f_name, dp->d_name); #if (ACC_CC_WATCOMC) ACC_COMPILE_TIME_ASSERT(sizeof(f->f_name) >= sizeof(dp->d_name)) f->f_time = dp->d_time; f->f_date = dp->d_date; f->f_size = dp->d_size; #endif return 0; } ACCLIB_PUBLIC(int, acc_closedir) (acc_dir_p f) { int r = -1; if (f->u_dirp) r = closedir((DIR*) f->u_dirp); f->u_dirp = 0; return r; } #elif (ACC_OS_WIN32 || ACC_OS_WIN64) ACCLIB_PUBLIC(int, acc_opendir) (acc_dir_p f, const char* path) { WIN32_FIND_DATAA d; HANDLE h; if (__ACCLIB_FUNCNAME(acc_opendir_init)(f, path, f->f_name, sizeof(f->f_name)) != 0) return -1; h = FindFirstFileA(f->f_name, &d); f->f_name[0] = 0; if ((f->u_handle = (acclib_handle_t) h) == -1) return -1; if (!d.cFileName[0] || strlen(d.cFileName) >= sizeof(f->f_name)) return -1; strcpy(f->f_name, d.cFileName); f->f_attr = d.dwFileAttributes; f->f_size_high = d.nFileSizeHigh; f->f_size_low = d.nFileSizeLow; return 0; } ACCLIB_PUBLIC(int, acc_readdir) (acc_dir_p f) { WIN32_FIND_DATAA d; f->f_name[0] = 0; if (f->u_handle == -1 || FindNextFileA((HANDLE) f->u_handle, &d) == 0) return -1; if (!d.cFileName[0] || strlen(d.cFileName) >= sizeof(f->f_name)) return -1; strcpy(f->f_name, d.cFileName); f->f_attr = d.dwFileAttributes; f->f_size_high = d.nFileSizeHigh; f->f_size_low = d.nFileSizeLow; return 0; } ACCLIB_PUBLIC(int, acc_closedir) (acc_dir_p f) { int r = -1; if (f->u_handle != -1) r = FindClose((HANDLE) f->u_handle); f->u_handle = -1; return r; } #elif (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_WIN16) ACCLIB_PUBLIC(int, acc_opendir) (acc_dir_p f, const char* path) { char tmp[ACC_FN_PATH_MAX+1]; int r; f->u_dirp = 0; if (__ACCLIB_FUNCNAME(acc_opendir_init)(f, path, tmp, sizeof(tmp)) != 0) return -1; #if (ACC_CC_AZTECC || ACC_CC_PACIFICC) r = -1; #elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) r = findfirst(tmp, (struct ffblk*) f->u_dta, FA_HIDDEN|FA_SYSTEM|FA_RDONLY|FA_DIREC); #else r = _dos_findfirst(tmp, _A_HIDDEN|_A_SYSTEM|_A_RDONLY|_A_SUBDIR, (struct find_t*) f->u_dta); #endif if (r != 0) f->f_name[0] = 0; if (!f->f_name[0]) return -1; f->u_dirp = 1; return 0; } ACCLIB_PUBLIC(int, acc_readdir) (acc_dir_p f) { int r; f->f_name[0] = 0; if (!f->u_dirp) return -1; #if (ACC_CC_AZTECC || ACC_CC_PACIFICC) r = -1; #elif (ACC_CC_BORLANDC || ACC_CC_TURBOC) r = findnext((struct ffblk*) f->u_dta); #else r = _dos_findnext((struct find_t*) f->u_dta); #endif if (r != 0) f->f_name[0] = 0; if (!f->f_name[0]) return -1; return 0; } ACCLIB_PUBLIC(int, acc_closedir) (acc_dir_p f) { ACC_COMPILE_TIME_ASSERT(sizeof(*f) == 44); f->f_name[0] = 0; f->u_dirp = 0; return 0; } #elif (ACC_OS_TOS) ACCLIB_PUBLIC(int, acc_opendir) (acc_dir_p f, const char* path) { char tmp[ACC_FN_PATH_MAX+1]; int r; DTA* olddta; f->u_dirp = 0; if (__ACCLIB_FUNCNAME(acc_opendir_init)(f, path, tmp, sizeof(tmp)) != 0) return -1; olddta = Fgetdta(); Fsetdta((DTA*) f->u_dta); r = Fsfirst(tmp, FA_HIDDEN|FA_SYSTEM|FA_READONLY|FA_SUBDIR); Fsetdta(olddta); if (r != 0) f->f_name[0] = 0; if (!f->f_name[0]) return -1; f->u_dirp = 1; return 0; } ACCLIB_PUBLIC(int, acc_readdir) (acc_dir_p f) { int r; DTA* olddta; f->f_name[0] = 0; if (!f->u_dirp) return -1; olddta = Fgetdta(); Fsetdta((DTA*) f->u_dta); r = Fsnext(); Fsetdta(olddta); if (r != 0) f->f_name[0] = 0; if (!f->f_name[0]) return -1; return 0; } ACCLIB_PUBLIC(int, acc_closedir) (acc_dir_p f) { ACC_COMPILE_TIME_ASSERT(sizeof(*f) == 44); f->f_name[0] = 0; f->u_dirp = 0; return 0; } #else ACCLIB_PUBLIC(int, acc_opendir) (acc_dir_p f, const char* path) { ACC_UNUSED(path); f->f_name[0] = 0; return -3; } ACCLIB_PUBLIC(int, acc_readdir) (acc_dir_p f) { f->f_name[0] = 0; return -1; } ACCLIB_PUBLIC(int, acc_closedir) (acc_dir_p f) { f->u_dirp = 0; return -1; } #endif /* vi:ts=4:et */ ucl-1.03/acc/acclib/dosalloc.ch0000644000175000001440000000447310077051333013223 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_DOSALLOC_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #if (ACC_OS_OS216) ACC_EXTERN_C unsigned short __far __pascal DosAllocHuge(unsigned short, unsigned short, unsigned short __far *, unsigned short, unsigned short); ACC_EXTERN_C unsigned short __far __pascal DosFreeSeg(unsigned short); #endif /*********************************************************************** // dos_alloc ************************************************************************/ #if (ACC_OS_DOS16 || ACC_OS_WIN16) #if !defined(ACC_CC_AZTECC) ACCLIB_PUBLIC(void __far*, acc_dos_alloc) (unsigned long size) { void __far* p = 0; union REGS ri, ro; if ((long)size <= 0) return p; size = (size + 15) >> 4; if (size > 0xffffu) return p; ri.x.ax = 0x4800; ri.x.bx = (unsigned short) size; int86(0x21, &ri, &ro); if ((ro.x.cflag & 1) == 0) /* if carry flag not set */ p = (void __far*) ACC_MK_FP(ro.x.ax, 0); return p; } ACCLIB_PUBLIC(int, acc_dos_free) (void __far* p) { union REGS ri, ro; struct SREGS rs; if (!p) return 0; if (ACC_FP_OFF(p) != 0) return -1; segread(&rs); ri.x.ax = 0x4900; rs.es = ACC_FP_SEG(p); int86x(0x21, &ri, &ro, &rs); if (ro.x.cflag & 1) /* if carry flag set */ return -1; return 0; } #endif #endif #if (ACC_OS_OS216) ACCLIB_PUBLIC(void __far*, acc_dos_alloc) (unsigned long size) { void __far* p = 0; unsigned short sel = 0; if ((long)size <= 0) return p; if (DosAllocHuge((unsigned short)(size >> 16), (unsigned short)size, &sel, 0, 0) == 0) p = (void __far*) ACC_MK_FP(sel, 0); return p; } ACCLIB_PUBLIC(int, acc_dos_free) (void __far* p) { if (!p) return 0; if (ACC_FP_OFF(p) != 0) return -1; if (DosFreeSeg(ACC_FP_SEG(p)) != 0) return -1; return 0; } #endif /* vi:ts=4:et */ ucl-1.03/acc/acclib/hmemcpy.ch0000644000175000001440000000466310077051333013066 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HMEMCPY_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /*********************************************************************** // memcmp, memcpy, memmove, memset ************************************************************************/ ACCLIB_PUBLIC(int, acc_hmemcmp) (const acc_hvoid_p s1, const acc_hvoid_p s2, acc_hsize_t len) { #if (ACC_HAVE_MM_HUGE_PTR) || !defined(HAVE_MEMCMP) const acc_hbyte_p p1 = (const acc_hbyte_p) s1; const acc_hbyte_p p2 = (const acc_hbyte_p) s2; if (len > 0) do { int d = *p1 - *p2; if (d != 0) return d; p1++; p2++; } while (--len > 0); return 0; #else return memcmp(s1, s2, len); #endif } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemcpy) (acc_hvoid_p dest, const acc_hvoid_p src, acc_hsize_t len) { #if (ACC_HAVE_MM_HUGE_PTR) || !defined(HAVE_MEMCPY) acc_hbyte_p p1 = (acc_hbyte_p) dest; const acc_hbyte_p p2 = (const acc_hbyte_p) src; if (len <= 0 || p1 == p2) return dest; do *p1++ = *p2++; while (--len > 0); return dest; #else return memcpy(dest, src, len); #endif } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemmove) (acc_hvoid_p dest, const acc_hvoid_p src, acc_hsize_t len) { #if (ACC_HAVE_MM_HUGE_PTR) || !defined(HAVE_MEMMOVE) acc_hbyte_p p1 = (acc_hbyte_p) dest; const acc_hbyte_p p2 = (const acc_hbyte_p) src; if (len <= 0 || p1 == p2) return dest; if (p1 < p2) { do *p1++ = *p2++; while (--len > 0); } else { p1 += len; p2 += len; do *--p1 = *--p2; while (--len > 0); } return dest; #else return memmove(dest, src, len); #endif } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemset) (acc_hvoid_p s, int c, acc_hsize_t len) { #if (ACC_HAVE_MM_HUGE_PTR) || !defined(HAVE_MEMSET) acc_hbyte_p p = (acc_hbyte_p) s; if (len > 0) do *p++ = (unsigned char) c; while (--len > 0); return s; #else return memset(s, c, len); #endif } /* vi:ts=4:et */ ucl-1.03/acc/acclib/misc.ch0000644000175000001440000001315610077051333012354 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_MISC_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // wrap misc **************************************************************************/ ACCLIB_PUBLIC(acclib_handle_t, acc_get_osfhandle) (int fd) { if (fd < 0) return -1; #if (ACC_OS_CYGWIN) return get_osfhandle(fd); #elif (ACC_OS_EMX && defined(__RSXNT__)) return -1; /* FIXME */ #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) return -1; /* FIXME */ #elif (ACC_OS_WIN32 || ACC_OS_WIN64) # if (ACC_CC_PELLESC && (__POCC__ < 280)) return -1; /* FIXME */ # elif (ACC_CC_WATCOMC && (__WATCOMC__ < 1000)) return -1; /* FIXME */ # elif (ACC_CC_WATCOMC && (__WATCOMC__ < 1100)) return _os_handle(fd); # else return _get_osfhandle(fd); # endif #else return fd; #endif } ACCLIB_PUBLIC(int, acc_set_binmode) (int fd, int binary) { #if (ACC_OS_TOS && defined(__MINT__)) FILE* fp; int old_binary; if (fd == STDIN_FILENO) fp = stdin; else if (fd == STDOUT_FILENO) fp = stdout; else if (fd == STDERR_FILENO) fp = stderr; else return -1; old_binary = fp->__mode.__binary; __set_binmode(fp, binary ? 1 : 0); return old_binary ? 1 : 0; #elif (ACC_OS_TOS) ACC_UNUSED(fd); ACC_UNUSED(binary); return -1; /* FIXME */ #elif (ACC_OS_DOS16 && (ACC_CC_AZTECC || ACC_CC_PACIFICC)) ACC_UNUSED(fd); ACC_UNUSED(binary); return -1; /* FIXME */ #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) int r; unsigned old_flags = __djgpp_hwint_flags; ACC_COMPILE_TIME_ASSERT(O_BINARY > 0) ACC_COMPILE_TIME_ASSERT(O_TEXT > 0) if (fd < 0) return -1; r = setmode(fd, binary ? O_BINARY : O_TEXT); if ((old_flags & 1u) != (__djgpp_hwint_flags & 1u)) __djgpp_set_ctrl_c(!(old_flags & 1)); if (r == -1) return -1; return (r & O_TEXT) ? 0 : 1; #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) if (fd < 0) return -1; ACC_UNUSED(binary); return 1; #elif (ACC_OS_DOS32 && ACC_CC_HIGHC) FILE* fp; int r; if (fd == fileno(stdin)) fp = stdin; else if (fd == fileno(stdout)) fp = stdout; else if (fd == fileno(stderr)) fp = stderr; else return -1; r = _setmode(fp, binary ? _BINARY : _TEXT); if (r == -1) return -1; return (r & _BINARY) ? 1 : 0; #elif (ACC_OS_WIN32 && ACC_CC_MWERKS) && defined(__MSL__) ACC_UNUSED(fd); ACC_UNUSED(binary); return -1; /* FIXME */ #elif (ACC_OS_CYGWIN && (ACC_CC_GNUC < 0x025a00ul)) ACC_UNUSED(fd); ACC_UNUSED(binary); return -1; /* FIXME */ #elif (ACC_OS_CYGWIN || ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_EMX || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) int r; #if !defined(ACC_CC_ZORTECHC) ACC_COMPILE_TIME_ASSERT(O_BINARY > 0) #endif ACC_COMPILE_TIME_ASSERT(O_TEXT > 0) if (fd < 0) return -1; r = setmode(fd, binary ? O_BINARY : O_TEXT); if (r == -1) return -1; return (r & O_TEXT) ? 0 : 1; #else if (fd < 0) return -1; ACC_UNUSED(binary); return 1; #endif } ACCLIB_PUBLIC(int, acc_isatty) (int fd) { /* work around library implementations that think that * any character device like `nul' is a tty */ if (fd < 0) return 0; #if (ACC_OS_DOS16 && !defined(ACC_CC_AZTECC)) { union REGS ri, ro; ri.x.ax = 0x4400; ri.x.bx = fd; int86(0x21, &ri, &ro); if ((ro.x.cflag & 1) == 0) /* if carry flag not set */ if ((ro.x.ax & 0x83) != 0x83) return 0; } #elif (ACC_OS_DOS32 && ACC_CC_WATCOMC) { union REGS ri, ro; ri.w.ax = 0x4400; ri.w.bx = (unsigned short) fd; int386(0x21, &ri, &ro); if ((ro.w.cflag & 1) == 0) /* if carry flag not set */ if ((ro.w.ax & 0x83) != 0x83) return 0; } #elif (ACC_HAVE_WINDOWS_H) { acclib_handle_t h = __ACCLIB_FUNCNAME(acc_get_osfhandle)(fd); if ((HANDLE)h != INVALID_HANDLE_VALUE) { DWORD d = 0; if (GetConsoleMode((HANDLE)h, &d) == 0) return 0; /* GetConsoleMode failed -> not a tty */ } } #endif return (isatty(fd)) ? 1 : 0; } ACCLIB_PUBLIC(int, acc_mkdir) (const char* name, unsigned mode) { #if (ACC_OS_TOS && (ACC_CC_PUREC || ACC_CC_TURBOC)) ACC_UNUSED(mode); return Dcreate(name); #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) return mkdir(name, mode); #elif (ACC_OS_WIN32 && ACC_CC_GNUC) && defined(__PW32__) return mkdir(name, mode); #elif (ACC_OS_DOS16 || ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64) ACC_UNUSED(mode); # if (ACC_CC_HIGHC || ACC_CC_PACIFICC) return mkdir((char*) name); # else return mkdir(name); # endif #else return mkdir(name, mode); #endif } ACCLIB_PUBLIC(acc_int32l_t, acc_muldiv32) (acc_int32l_t a, acc_int32l_t b, acc_int32l_t x) { acc_int32l_t r = 0; if (x == 0) return x; /* FIXME */ ACC_UNUSED(a); ACC_UNUSED(b); return r; } ACCLIB_PUBLIC(acc_uint32l_t, acc_umuldiv32) (acc_uint32l_t a, acc_uint32l_t b, acc_uint32l_t x) { acc_uint32l_t r = 0; if (x == 0) return x; /* FIXME */ ACC_UNUSED(a); ACC_UNUSED(b); return r; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/bele.ch0000644000175000001440000002045110077051333012324 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_BELE_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // be16 / be24 / be32 **************************************************************************/ ACCLIB_PUBLIC(unsigned, acc_get_be16) (const acc_hvoid_p p) { const acc_hbyte_p b = (const acc_hbyte_p) p; return ((unsigned)b[1]) | ((unsigned)b[0] << 8); } ACCLIB_PUBLIC(acc_uint32l_t, acc_get_be24) (const acc_hvoid_p p) { const acc_hbyte_p b = (const acc_hbyte_p) p; return ((acc_uint32l_t)b[2]) | ((acc_uint32l_t)b[1] << 8) | ((acc_uint32l_t)b[0] << 16); } ACCLIB_PUBLIC(acc_uint32l_t, acc_get_be32) (const acc_hvoid_p p) { const acc_hbyte_p b = (const acc_hbyte_p) p; return ((acc_uint32l_t)b[3]) | ((acc_uint32l_t)b[2] << 8) | ((acc_uint32l_t)b[1] << 16) | ((acc_uint32l_t)b[0] << 24); } ACCLIB_PUBLIC(void, acc_set_be16) (acc_hvoid_p p, unsigned v) { acc_hbyte_p b = (acc_hbyte_p) p; b[1] = (unsigned char) ((v >> 0) & 0xff); b[0] = (unsigned char) ((v >> 8) & 0xff); } ACCLIB_PUBLIC(void, acc_set_be24) (acc_hvoid_p p, acc_uint32l_t v) { acc_hbyte_p b = (acc_hbyte_p) p; b[2] = (unsigned char) ((v >> 0) & 0xff); b[1] = (unsigned char) ((v >> 8) & 0xff); b[0] = (unsigned char) ((v >> 16) & 0xff); } ACCLIB_PUBLIC(void, acc_set_be32) (acc_hvoid_p p, acc_uint32l_t v) { acc_hbyte_p b = (acc_hbyte_p) p; b[3] = (unsigned char) ((v >> 0) & 0xff); b[2] = (unsigned char) ((v >> 8) & 0xff); b[1] = (unsigned char) ((v >> 16) & 0xff); b[0] = (unsigned char) ((v >> 24) & 0xff); } ACCLIB_PUBLIC(unsigned, acc_get_le16) (const acc_hvoid_p p) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) return (* (const unsigned short *) (p)); #else const acc_hbyte_p b = (const acc_hbyte_p) p; return ((unsigned)b[0]) | ((unsigned)b[1] << 8); #endif } ACCLIB_PUBLIC(acc_uint32l_t, acc_get_le24) (const acc_hvoid_p p) { const acc_hbyte_p b = (const acc_hbyte_p) p; return ((acc_uint32l_t)b[0]) | ((acc_uint32l_t)b[1] << 8) | ((acc_uint32l_t)b[2] << 16); } ACCLIB_PUBLIC(acc_uint32l_t, acc_get_le32) (const acc_hvoid_p p) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) return (* (const acc_uint32e_t *) (p)); #else const acc_hbyte_p b = (const acc_hbyte_p) p; return ((acc_uint32l_t)b[0]) | ((acc_uint32l_t)b[1] << 8) | ((acc_uint32l_t)b[2] << 16) | ((acc_uint32l_t)b[3] << 24); #endif } /************************************************************************* // le16 / le24 / le32 **************************************************************************/ ACCLIB_PUBLIC(void, acc_set_le16) (acc_hvoid_p p, unsigned v) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) (* (unsigned short *) (p) = (unsigned short) (v)); #else acc_hbyte_p b = (acc_hbyte_p) p; b[0] = (unsigned char) ((v >> 0) & 0xff); b[1] = (unsigned char) ((v >> 8) & 0xff); #endif } ACCLIB_PUBLIC(void, acc_set_le24) (acc_hvoid_p p, acc_uint32l_t v) { acc_hbyte_p b = (acc_hbyte_p) p; b[0] = (unsigned char) ((v >> 0) & 0xff); b[1] = (unsigned char) ((v >> 8) & 0xff); b[2] = (unsigned char) ((v >> 16) & 0xff); } ACCLIB_PUBLIC(void, acc_set_le32) (acc_hvoid_p p, acc_uint32l_t v) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) (* (acc_uint32e_t *) (p) = (acc_uint32e_t) (v)); #else acc_hbyte_p b = (acc_hbyte_p) p; b[0] = (unsigned char) ((v >> 0) & 0xff); b[1] = (unsigned char) ((v >> 8) & 0xff); b[2] = (unsigned char) ((v >> 16) & 0xff); b[3] = (unsigned char) ((v >> 24) & 0xff); #endif } /************************************************************************* // be64 **************************************************************************/ #if defined(acc_uint64l_t) ACCLIB_PUBLIC(acc_uint64l_t, acc_get_be64) (const acc_hvoid_p p) { const acc_hbyte_p b = (const acc_hbyte_p) p; #if (SIZEOF_LONG >= 8) || (SIZEOF_SIZE_T >= 8) return ((acc_uint64l_t)b[7]) | ((acc_uint64l_t)b[6] << 8) | ((acc_uint64l_t)b[5] << 16) | ((acc_uint64l_t)b[4] << 24) | ((acc_uint64l_t)b[3] << 32) | ((acc_uint64l_t)b[2] << 40) | ((acc_uint64l_t)b[1] << 48) | ((acc_uint64l_t)b[0] << 56); #else acc_uint32l_t v0, v1; v1 = ((acc_uint32l_t)b[3]) | ((acc_uint32l_t)b[2] << 8) | ((acc_uint32l_t)b[1] << 16) | ((acc_uint32l_t)b[0] << 24); b += 4; v0 = ((acc_uint32l_t)b[3]) | ((acc_uint32l_t)b[2] << 8) | ((acc_uint32l_t)b[1] << 16) | ((acc_uint32l_t)b[0] << 24); return ((acc_uint64l_t)v0) | ((acc_uint64l_t)v1 << 32); #endif } ACCLIB_PUBLIC(void, acc_set_be64) (acc_hvoid_p p, acc_uint64l_t v) { acc_hbyte_p b = (acc_hbyte_p) p; #if (SIZEOF_LONG >= 8) || (SIZEOF_SIZE_T >= 8) b[7] = (unsigned char) ((v >> 0) & 0xff); b[6] = (unsigned char) ((v >> 8) & 0xff); b[5] = (unsigned char) ((v >> 16) & 0xff); b[4] = (unsigned char) ((v >> 24) & 0xff); b[3] = (unsigned char) ((v >> 32) & 0xff); b[2] = (unsigned char) ((v >> 40) & 0xff); b[1] = (unsigned char) ((v >> 48) & 0xff); b[0] = (unsigned char) ((v >> 56) & 0xff); #else acc_uint32l_t x; x = (acc_uint32l_t) (v >> 0); b[7] = (unsigned char) ((x >> 0) & 0xff); b[6] = (unsigned char) ((x >> 8) & 0xff); b[5] = (unsigned char) ((x >> 16) & 0xff); b[4] = (unsigned char) ((x >> 24) & 0xff); x = (acc_uint32l_t) (v >> 32); b[3] = (unsigned char) ((x >> 0) & 0xff); b[2] = (unsigned char) ((x >> 8) & 0xff); b[1] = (unsigned char) ((x >> 16) & 0xff); b[0] = (unsigned char) ((x >> 24) & 0xff); #endif } #endif /* acc_uint64l_t */ /************************************************************************* // le64 **************************************************************************/ #if defined(acc_uint64l_t) ACCLIB_PUBLIC(acc_uint64l_t, acc_get_le64) (const acc_hvoid_p p) { #if (ACC_ARCH_AMD64) return (* (const acc_uint64l_t *) (p)); #elif (ACC_ARCH_IA32) const acc_uint32e_t* b = (const acc_uint32e_t*) p; return ((acc_uint64l_t)b[0]) | ((acc_uint64l_t)b[1] << 32); #elif (SIZEOF_LONG >= 8) || (SIZEOF_SIZE_T >= 8) const acc_hbyte_p b = (const acc_hbyte_p) p; return ((acc_uint64l_t)b[0]) | ((acc_uint64l_t)b[1] << 8) | ((acc_uint64l_t)b[2] << 16) | ((acc_uint64l_t)b[3] << 24) | ((acc_uint64l_t)b[4] << 32) | ((acc_uint64l_t)b[5] << 40) | ((acc_uint64l_t)b[6] << 48) | ((acc_uint64l_t)b[7] << 56); #else const acc_hbyte_p b = (const acc_hbyte_p) p; acc_uint32l_t v0, v1; v0 = ((acc_uint32l_t)b[0]) | ((acc_uint32l_t)b[1] << 8) | ((acc_uint32l_t)b[2] << 16) | ((acc_uint32l_t)b[3] << 24); b += 4; v1 = ((acc_uint32l_t)b[0]) | ((acc_uint32l_t)b[1] << 8) | ((acc_uint32l_t)b[2] << 16) | ((acc_uint32l_t)b[3] << 24); return ((acc_uint64l_t)v0) | ((acc_uint64l_t)v1 << 32); #endif } ACCLIB_PUBLIC(void, acc_set_le64) (acc_hvoid_p p, acc_uint64l_t v) { #if (ACC_ARCH_AMD64) (* (acc_uint64l_t *) (p)) = v; #elif (ACC_ARCH_IA32) (((acc_uint32e_t *)(p))[0] = (acc_uint32e_t) (v >> 0)); (((acc_uint32e_t *)(p))[1] = (acc_uint32e_t) (v >> 32)); #elif (SIZEOF_LONG >= 8) || (SIZEOF_SIZE_T >= 8) acc_hbyte_p b = (acc_hbyte_p) p; b[0] = (unsigned char) ((v >> 0) & 0xff); b[1] = (unsigned char) ((v >> 8) & 0xff); b[2] = (unsigned char) ((v >> 16) & 0xff); b[3] = (unsigned char) ((v >> 24) & 0xff); b[4] = (unsigned char) ((v >> 32) & 0xff); b[5] = (unsigned char) ((v >> 40) & 0xff); b[6] = (unsigned char) ((v >> 48) & 0xff); b[7] = (unsigned char) ((v >> 56) & 0xff); #else acc_hbyte_p b = (acc_hbyte_p) p; acc_uint32l_t x; x = (acc_uint32l_t) (v >> 0); b[0] = (unsigned char) ((x >> 0) & 0xff); b[1] = (unsigned char) ((x >> 8) & 0xff); b[2] = (unsigned char) ((x >> 16) & 0xff); b[3] = (unsigned char) ((x >> 24) & 0xff); x = (acc_uint32l_t) (v >> 32); b[4] = (unsigned char) ((x >> 0) & 0xff); b[5] = (unsigned char) ((x >> 8) & 0xff); b[6] = (unsigned char) ((x >> 16) & 0xff); b[7] = (unsigned char) ((x >> 24) & 0xff); #endif } #endif /* acc_uint64l_t */ /* vi:ts=4:et */ ucl-1.03/acc/acclib/hfread.ch0000644000175000001440000000553010077051333012647 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HFREAD_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /*********************************************************************** // huge pointer layer - stdio.h ************************************************************************/ ACCLIB_PUBLIC(acc_hsize_t, acc_hfread) (ACC_FILE_P fp, acc_hvoid_p buf, acc_hsize_t size) { #if (ACC_HAVE_MM_HUGE_PTR) #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) #define __ACCLIB_REQUIRE_HMEMCPY_CH 1 unsigned char tmp[512]; acc_hsize_t l = 0; while (l < size) { size_t n = size - l > sizeof(tmp) ? sizeof(tmp) : (size_t) (size - l); n = fread(tmp, 1, n, fp); if (n == 0) break; __ACCLIB_FUNCNAME(acc_hmemcpy)((acc_hbyte_p)buf + l, tmp, (acc_hsize_t)n); l += n; } return l; #elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) acc_hbyte_p b = (acc_hbyte_p) buf; acc_hsize_t l = 0; while (l < size) { size_t n; n = ACC_FP_OFF(b); n = (n <= 1) ? 0x8000u : (0u - n); if ((acc_hsize_t) n > size - l) n = (size_t) (size - l); n = fread((void __far*)b, 1, n, fp); if (n == 0) break; b += n; l += n; } return l; #else # error "unknown memory model" #endif #else return fread(buf, 1, size, fp); #endif } ACCLIB_PUBLIC(acc_hsize_t, acc_hfwrite) (ACC_FILE_P fp, const acc_hvoid_p buf, acc_hsize_t size) { #if (ACC_HAVE_MM_HUGE_PTR) #if (ACC_MM_TINY || ACC_MM_SMALL || ACC_MM_MEDIUM) #define __ACCLIB_REQUIRE_HMEMCPY_CH 1 unsigned char tmp[512]; acc_hsize_t l = 0; while (l < size) { size_t n = size - l > sizeof(tmp) ? sizeof(tmp) : (size_t) (size - l); __ACCLIB_FUNCNAME(acc_hmemcpy)(tmp, (const acc_hbyte_p)buf + l, (acc_hsize_t)n); n = fwrite(tmp, 1, n, fp); if (n == 0) break; l += n; } return l; #elif (ACC_MM_COMPACT || ACC_MM_LARGE || ACC_MM_HUGE) const acc_hbyte_p b = (const acc_hbyte_p) buf; acc_hsize_t l = 0; while (l < size) { size_t n; n = ACC_FP_OFF(b); n = (n <= 1) ? 0x8000u : (0u - n); if ((acc_hsize_t) n > size - l) n = (size_t) (size - l); n = fwrite((void __far*)b, 1, n, fp); if (n == 0) break; b += n; l += n; } return l; #else # error "unknown memory model" #endif #else return fwrite(buf, 1, size, fp); #endif } /* vi:ts=4:et */ ucl-1.03/acc/acclib/uclock.ch0000644000175000001440000001464010077051333012700 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_UCLOCK_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #if (ACC_OS_DOS16 || ACC_OS_WIN16) #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) #elif (ACC_OS_CYGWIN || ACC_OS_WIN32 || ACC_OS_WIN64) && (ACC_HAVE_WINDOWS_H) # if defined(acc_int64l_t) /* See also: KB Q274323: PRB: Performance Counter Value May * Unexpectedly Leap Forward */ # define __ACCLIB_UCLOCK_USE_QPC 1 # endif /* fallbacks */ # if ((ACC_CC_DMC && (__DMC__ < 0x838)) || ACC_CC_LCC) /* winmm.lib is missing */ # define __ACCLIB_UCLOCK_USE_CLOCK 1 # else # define __ACCLIB_UCLOCK_USE_WINMM 1 # if (ACC_CC_MSC && (_MSC_VER >= 900)) /* avoid `-W4' warnings in */ # pragma warning(disable: 4201) # elif (ACC_CC_MWERKS) /* avoid duplicate typedef in */ # define LPUINT __ACC_MMSYSTEM_H_LPUINT # endif # if 1 # include # else # if (ACC_CC_INTELC || ACC_CC_MSC || ACC_CC_PELLESC) ACC_EXTERN_C __declspec(dllimport) unsigned long __stdcall timeGetTime(void); # else ACC_EXTERN_C unsigned long __stdcall timeGetTime(void); # endif # endif # if (ACC_CC_DMC) # pragma DMC includelib "winmm.lib" # elif (ACC_CC_INTELC || ACC_CC_MSC || ACC_CC_PELLESC) # pragma comment(lib, "winmm.lib") # elif (ACC_CC_MWERKS && (__MWERKS__ >= 0x3000)) # pragma comment(lib, "winmm.lib") # elif (ACC_CC_SYMANTECC) # pragma SC includelib "winmm.lib" # elif (ACC_CC_WATCOMC && (__WATCOMC__ >= 1050)) # pragma library("winmm.lib") # endif # endif #elif (ACC_OS_EMX) && (ACC_HAVE_WINDOWS_H) && defined(acc_int64l_t) # define __ACCLIB_UCLOCK_USE_QPC 1 #elif (ACC_OS_CYGWIN || ACC_OS_DOS32 || ACC_OS_EMX || ACC_OS_OS2 || ACC_OS_OS216 || ACC_OS_TOS || ACC_OS_WIN32 || ACC_OS_WIN64) # define __ACCLIB_UCLOCK_USE_CLOCK 1 #endif #if (__ACCLIB_UCLOCK_USE_CLOCK) && !defined(CLOCKS_PER_SEC) # if defined(CLK_TCK) # define CLOCKS_PER_SEC CLK_TCK # else # undef __ACCLIB_UCLOCK_USE_CLOCK # endif #endif /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(int, acc_uclock_open) (acc_uclock_handle_p h) { acc_uclock_t c; int i; #if (__ACCLIB_UCLOCK_USE_QPC) LARGE_INTEGER li; h->qpf = 0.0; if (QueryPerformanceFrequency(&li) != 0) { h->qpf = (double) li.QuadPart; if (h->qpf <= 0.0 || QueryPerformanceCounter(&li) == 0) { h->qpf = 0.0; } } #elif (ACC_HAVE_WINDOWS_H) && defined(acc_int64l_t) h->qpf = 0.0; #endif h->h = 1; h->mode = 0; /* warm up */ i = 100; do { acc_uclock_read(h, &c); #if (__ACCLIB_UCLOCK_USE_QPC) if (h->qpf > 0.0 && c.qpc == 0) { h->qpf = 0.0; i = 100; } #endif } while (--i > 0); return 0; } ACCLIB_PUBLIC(int, acc_uclock_close) (acc_uclock_handle_p h) { h->h = 0; h->mode = -1; return 0; } /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(void, acc_uclock_read) (acc_uclock_handle_p h, acc_uclock_p c) { #if (__ACCLIB_UCLOCK_USE_QPC) if (h->qpf > 0.0) { LARGE_INTEGER li; if (QueryPerformanceCounter(&li) != 0) { c->qpc = (acc_int64l_t) li.QuadPart; if (c->qpc > 0) return; } c->qpc = 0; /* failed */ } #elif (ACC_HAVE_WINDOWS_H) && defined(acc_int64l_t) /* c->qpc = 0; */ #endif { #if (ACC_OS_DOS16 || ACC_OS_WIN16) # if (ACC_CC_AZTECC) c->ticks.t32 = 0; # else union REGS ri, ro; ri.x.ax = 0x2c00; int86(0x21, &ri, &ro); c->ticks.t32 = ro.h.ch*60UL*60UL*100UL + ro.h.cl*60UL*100UL + ro.h.dh*100UL + ro.h.dl; # endif #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) c->ticks.t64 = uclock(); #elif (__ACCLIB_UCLOCK_USE_CLOCK) && defined(acc_int64l_t) c->ticks.t64 = clock(); #elif (__ACCLIB_UCLOCK_USE_CLOCK) c->ticks.t32 = clock(); #elif (__ACCLIB_UCLOCK_USE_WINMM) c->ticks.t32 = timeGetTime(); #elif (__ACCLIB_UCLOCK_USE_GETRUSAGE) struct rusage ru; if (getrusage(RUSAGE_SELF, &ru) != 0) c->ticks.rd = 0; else c->ticks.td = ru.ru_utime.tv_sec + ru.ru_utime.tv_usec / 1000000.0; #elif (HAVE_GETTIMEOFDAY) struct timeval tv; if (gettimeofday(&tv, 0) != 0) c->ticks.td = 0; else c->ticks.td = tv.tv_sec + tv.tv_usec / 1000000.0; #else ACC_UNUSED(c); #endif } ACC_UNUSED(h); } /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(double, acc_uclock_get_elapsed) (acc_uclock_handle_p h, const acc_uclock_p start, const acc_uclock_p stop) { double d; if (!h->h) { h->mode = -1; return 0.0; } #if (__ACCLIB_UCLOCK_USE_QPC) if (h->qpf > 0.0) { h->mode = 1; if (start->qpc == 0 || stop->qpc == 0) return 0.0; return (double) (stop->qpc - start->qpc) / h->qpf; } #endif #if (ACC_OS_DOS16 || ACC_OS_WIN16) h->mode = 2; d = (double) (stop->ticks.t32 - start->ticks.t32) / 100.0; if (d < 0.0) d += 86400.0; /* midnight passed */ #elif (ACC_OS_DOS32 && ACC_CC_GNUC) && defined(__DJGPP__) h->mode = 3; d = (double) (stop->ticks.t64 - start->ticks.t64) / (UCLOCKS_PER_SEC); #elif (__ACCLIB_UCLOCK_USE_CLOCK) && defined(acc_int64l_t) h->mode = 4; d = (double) (stop->ticks.t64 - start->ticks.t64) / (CLOCKS_PER_SEC); #elif (__ACCLIB_UCLOCK_USE_CLOCK) h->mode = 5; d = (double) (stop->ticks.t32 - start->ticks.t32) / (CLOCKS_PER_SEC); #elif (__ACCLIB_UCLOCK_USE_WINMM) h->mode = 6; d = (double) (stop->ticks.t32 - start->ticks.t32) / 1000.0; #elif (__ACCLIB_UCLOCK_USE_GETRUSAGE) h->mode = 7; d = stop->ticks.td - start->ticks.td; #elif (HAVE_GETTIMEOFDAY) h->mode = 8; d = stop->ticks.td - start->ticks.td; #else h->mode = 0; d = 0.0; #endif return d; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/fnmatch.ch0000644000175000001440000000774710077051333013052 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_FNMATCH_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // **************************************************************************/ typedef struct { const acc_hbyte_p s; const acc_hbyte_p s_start; int f; int f_escape; int f_casefold; } acc_fnmatch_internal_t; static int __ACCLIB_FUNCNAME(acc_fnmatch_internal) (const acc_hbyte_p p, acc_fnmatch_internal_t* a) { const acc_hbyte_p s = a->s; int f_pathname = (a->f & (ACC_FNMATCH_PATHNAME | ACC_FNMATCH_PATHSTAR)); while (*p) { switch (*p) { case '?': case '[': if (*s == 0) return 0; if (*s == '/' && f_pathname) return 0; if (*s == '.' && (a->f & ACC_FNMATCH_PERIOD) && (s == a->s_start || (f_pathname && s[-1] == '/'))) return 0; if (*p == '?') break; { int r = 0, fail = 0; unsigned char last = 0; if (*++p == '^' || *p == '!') fail = 1, ++p; do { switch (*p) { case 0: return -1; case '-': if (last == 0 || p[1] == ']') goto acc_label_default; if (a->f_escape && p[1] == '\\') ++p; if (*++p == 0) return -1; if (!a->f_casefold && last <= *s && *s <= *p) r = 1; else if (a->f_casefold && acc_ascii_tolower(last) <= acc_ascii_tolower(*s) && acc_ascii_tolower(*s) <= acc_ascii_tolower(*p)) r = 1; last = 0; continue; /* TODO: implement sets like [:alpha:] ??? */ case '\\': if (a->f_escape && *++p == 0) return -1; default: acc_label_default: if (*s == *p) r = 1; else if (a->f_casefold && acc_ascii_tolower(*s) == acc_ascii_tolower(*p)) r = 1; break; } last = *p; } while (*++p != ']'); if (r == fail) return 0; break; } case '*': while (*++p == '*') if (a->f & ACC_FNMATCH_PATHSTAR) f_pathname = 0; if (*s == '.' && (a->f & ACC_FNMATCH_PERIOD) && (s == a->s_start || (f_pathname && s[-1] == '/'))) return 0; if (*p == 0) { if (f_pathname) while (*s) if (*s++ == '/') return 0; return 1; } for ( ; *s; ++s) { int r; a->s = s; r = __ACCLIB_FUNCNAME(acc_fnmatch_internal)(p, a); switch (r) { case 0: if (*s == '/' && f_pathname) return 2; break; case 2: if (!f_pathname) break; default: return r; } } return 0; case '\\': if (a->f_escape && *++p == 0) return -1; default: if (*s == *p) break; if (a->f_casefold && acc_ascii_tolower(*s) == acc_ascii_tolower(*p)) break; return 0; } ++p, ++s; } return *s == 0; } ACCLIB_PUBLIC(int, acc_fnmatch) (const acc_hchar_p p, const acc_hchar_p s, int flags) { int r; acc_fnmatch_internal_t args; args.s = args.s_start = (const acc_hbyte_p) s; args.f = flags; args.f_escape = !(flags & ACC_FNMATCH_NOESCAPE); args.f_casefold = (flags & ACC_FNMATCH_ASCII_CASEFOLD); r = __ACCLIB_FUNCNAME(acc_fnmatch_internal)((const acc_hbyte_p)p, &args); if (r < 0) return r; return r != 1; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/hstring.ch0000644000175000001440000003550010077051333013074 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HSTRING_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /*********************************************************************** // strlen ************************************************************************/ ACCLIB_PUBLIC(acc_hsize_t, acc_hstrlen) (const acc_hchar_p s) { /* TODO: which one is the fastest generic version? */ #if 1 const acc_hchar_p start = s; while (*s) ++s; return (acc_hsize_t) (s - start); #elif 1 acc_hsize_t n = 0; while (*s) ++s, ++n; return n; #elif 1 acc_hsize_t n = 0; while (s[n]) ++n; return n; #endif } /*********************************************************************** // strcmp, strncmp, ascii_stricmp, ascii_strnicmp, ascii_memicmp ************************************************************************/ ACCLIB_PUBLIC(int, acc_hstrcmp) (const acc_hchar_p p, const acc_hchar_p s) { for ( ; *p; ++p, ++s) { if (*p != *s) break; } return (unsigned char)*p - (unsigned char)*s; } ACCLIB_PUBLIC(int, acc_hstrncmp) (const acc_hchar_p p, const acc_hchar_p s, acc_hsize_t n) { for ( ; *p && n > 0; ++p, ++s, --n) { if (*p != *s) break; } return (unsigned char)*p - (unsigned char)*s; } ACCLIB_PUBLIC(int, acc_ascii_hstricmp) (const acc_hchar_p p, const acc_hchar_p s) { for ( ; *p; ++p, ++s) { if (*p != *s) { int d = acc_ascii_utolower(*p) - acc_ascii_utolower(*s); if (d != 0) return d; } } return acc_ascii_utolower(*p) - acc_ascii_utolower(*s); } ACCLIB_PUBLIC(int, acc_ascii_hstrnicmp) (const acc_hchar_p p, const acc_hchar_p s, acc_hsize_t n) { for ( ; *p && n > 0; ++p, ++s, --n) { if (*p != *s) { int d = acc_ascii_utolower(*p) - acc_ascii_utolower(*s); if (d != 0) return d; } } return acc_ascii_utolower(*p) - acc_ascii_utolower(*s); } ACCLIB_PUBLIC(int, acc_ascii_hmemicmp) (const acc_hvoid_p pp, const acc_hvoid_p ss, acc_hsize_t n) { const acc_hbyte_p p = (const acc_hbyte_p) pp; const acc_hbyte_p s = (const acc_hbyte_p) ss; for ( ; n > 0; ++p, ++s, --n) { if (*p != *s) { int d = acc_ascii_utolower(*p) - acc_ascii_utolower(*s); if (d != 0) return d; } } return acc_ascii_utolower(*p) - acc_ascii_utolower(*s); } /*********************************************************************** // strstr, ascii_stristr, memmem, ascii_memimem ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrstr) (const acc_hchar_p p, const acc_hchar_p s) { acc_hsize_t pn = __ACCLIB_FUNCNAME(acc_hstrlen)(p); acc_hsize_t sn = __ACCLIB_FUNCNAME(acc_hstrlen)(s); return (acc_hchar_p) __ACCLIB_FUNCNAME(acc_hmemmem)(p, pn, s, sn); } ACCLIB_PUBLIC(acc_hchar_p, acc_ascii_hstristr) (const acc_hchar_p p, const acc_hchar_p s) { acc_hsize_t pn = __ACCLIB_FUNCNAME(acc_hstrlen)(p); acc_hsize_t sn = __ACCLIB_FUNCNAME(acc_hstrlen)(s); return (acc_hchar_p) __ACCLIB_FUNCNAME(acc_ascii_hmemimem)(p, pn, s, sn); } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemmem) (const acc_hvoid_p p, acc_hsize_t pn, const acc_hvoid_p s, acc_hsize_t sn) { #define __ACCLIB_REQUIRE_HMEMCPY_CH 1 if (sn == 0) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) for ( ; pn >= sn; --pn) { if (__ACCLIB_FUNCNAME(acc_hmemcmp)(p, s, sn) == 0) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) p = (const acc_hbyte_p)p + 1; } return (acc_hvoid_p) 0; } ACCLIB_PUBLIC(acc_hvoid_p, acc_ascii_hmemimem) (const acc_hvoid_p p, acc_hsize_t pn, const acc_hvoid_p s, acc_hsize_t sn) { if (sn == 0) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) for ( ; pn >= sn; --pn) { if (__ACCLIB_FUNCNAME(acc_ascii_hmemicmp)(p, s, sn) == 0) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) p = (const acc_hbyte_p)p + 1; } return (acc_hvoid_p) 0; } /*********************************************************************** // strcpy, strcat ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrcpy) (acc_hchar_p d, const acc_hchar_p s) { acc_hchar_p dest = d; while ((*d = *s) != 0) { ++d; ++s; } return dest; } ACCLIB_PUBLIC(acc_hchar_p, acc_hstrcat) (acc_hchar_p d, const acc_hchar_p s) { acc_hchar_p dest = d; while (*d) ++d; while ((*d = *s) != 0) { ++d; ++s; } return dest; } /*********************************************************************** // strlcpy, strlcat ************************************************************************/ ACCLIB_PUBLIC(acc_hsize_t, acc_hstrlcpy) (acc_hchar_p d, const acc_hchar_p s, acc_hsize_t size) { acc_hsize_t n = 0; if (n != size) { do { if ((*d = *s) == 0) return n; ++d; ++s; ++n; } while (n != size); d[-1] = 0; } while (*s) ++s, ++n; return n; } ACCLIB_PUBLIC(acc_hsize_t, acc_hstrlcat) (acc_hchar_p d, const acc_hchar_p s, acc_hsize_t size) { acc_hsize_t n = 0; while (*d && n != size) ++d, ++n; if (n != size) { do { if ((*d = *s) == 0) return n; ++d; ++s; ++n; } while (n != size); d[-1] = 0; } while (*s) ++s, ++n; return n; } /*********************************************************************** // strscpy, strscat // (same as strlcpy/strlcat, but just return -1 in case of failure) ************************************************************************/ ACCLIB_PUBLIC(int, acc_hstrscpy) (acc_hchar_p d, const acc_hchar_p s, acc_hsize_t size) { acc_hsize_t n = 0; if (n != size) { do { if ((*d = *s) == 0) return 0; ++d; ++s; ++n; } while (n != size); d[-1] = 0; } return -1; } ACCLIB_PUBLIC(int, acc_hstrscat) (acc_hchar_p d, const acc_hchar_p s, acc_hsize_t size) { acc_hsize_t n = 0; while (*d && n != size) ++d, ++n; if (n != size) { do { if ((*d = *s) == 0) return 0; ++d; ++s; ++n; } while (n != size); d[-1] = 0; } return -1; } /*********************************************************************** // strccpy, memccpy ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrccpy) (acc_hchar_p d, const acc_hchar_p s, int c) { for (;;) { if ((*d = *s) == 0) break; if (*d++ == (char) c) return d; ++s; } return (acc_hchar_p) 0; } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemccpy) (acc_hvoid_p d, const acc_hvoid_p s, int c, acc_hsize_t n) { acc_hbyte_p a = (acc_hbyte_p) d; const acc_hbyte_p p = (const acc_hbyte_p) s; const acc_hbyte_p e = (const acc_hbyte_p) s + n; while (p != e) { if ((*a++ = *p++) == (unsigned char) c) return a; } return (acc_hvoid_p) 0; } /*********************************************************************** // strchr, strrchr, ascii_strichr, ascii_strrichr ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrchr) (const acc_hchar_p s, int c) { for ( ; *s; ++s) { if (*s == (char) c) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } if ((char) c == 0) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) return (acc_hchar_p) 0; } ACCLIB_PUBLIC(acc_hchar_p, acc_hstrrchr) (const acc_hchar_p s, int c) { const acc_hchar_p start = s; while (*s) ++s; if ((char) c == 0) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) for (;;) { if (s == start) break; --s; if (*s == (char) c) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } return (acc_hchar_p) 0; } ACCLIB_PUBLIC(acc_hchar_p, acc_ascii_hstrichr) (const acc_hchar_p s, int c) { c = acc_ascii_utolower(c); for ( ; *s; ++s) { if (acc_ascii_utolower(*s) == c) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } if (c == 0) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) return (acc_hchar_p) 0; } ACCLIB_PUBLIC(acc_hchar_p, acc_ascii_hstrrichr) (const acc_hchar_p s, int c) { const acc_hchar_p start = s; c = acc_ascii_utolower(c); while (*s) ++s; if (c == 0) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) for (;;) { if (s == start) break; --s; if (acc_ascii_utolower(*s) == c) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } return (acc_hchar_p) 0; } /*********************************************************************** // memchr, memrchr, ascii_memichr, ascii_memrichr ************************************************************************/ ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemchr) (const acc_hvoid_p s, int c, acc_hsize_t n) { const acc_hbyte_p p = (const acc_hbyte_p) s; const acc_hbyte_p e = (const acc_hbyte_p) s + n; while (p != e) { if (*p == (unsigned char) c) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) ++p; } return (acc_hvoid_p) 0; } ACCLIB_PUBLIC(acc_hvoid_p, acc_hmemrchr) (const acc_hvoid_p s, int c, acc_hsize_t n) { const acc_hbyte_p p = (const acc_hbyte_p) s + n; const acc_hbyte_p e = (const acc_hbyte_p) s; while (p != e) { --p; if (*p == (unsigned char) c) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) } return (acc_hvoid_p) 0; } ACCLIB_PUBLIC(acc_hvoid_p, acc_ascii_hmemichr) (const acc_hvoid_p s, int c, acc_hsize_t n) { const acc_hbyte_p p = (const acc_hbyte_p) s; const acc_hbyte_p e = (const acc_hbyte_p) s + n; c = acc_ascii_utolower(c); while (p != e) { if (acc_ascii_utolower(*p) == c) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) ++p; } return (acc_hvoid_p) 0; } ACCLIB_PUBLIC(acc_hvoid_p, acc_ascii_hmemrichr) (const acc_hvoid_p s, int c, acc_hsize_t n) { const acc_hbyte_p p = (const acc_hbyte_p) s + n; const acc_hbyte_p e = (const acc_hbyte_p) s; c = acc_ascii_utolower(c); while (p != e) { --p; if (acc_ascii_utolower(*p) == c) __ACCLIB_CONST_CAST_RETURN(acc_hvoid_p, p) } return (acc_hvoid_p) 0; } /*********************************************************************** // strspn, strrspn ************************************************************************/ ACCLIB_PUBLIC(acc_hsize_t, acc_hstrspn) (const acc_hchar_p s, const acc_hchar_p accept) { acc_hsize_t n = 0; for ( ; *s; ++s) { const acc_hchar_p a; for (a = accept; *a; ++a) if (*s == *a) goto acc_label_next; break; acc_label_next: ++n; } return n; } ACCLIB_PUBLIC(acc_hsize_t, acc_hstrrspn) (const acc_hchar_p s, const acc_hchar_p accept) { acc_hsize_t n = 0; const acc_hchar_p start = s; while (*s) ++s; for (;;) { const acc_hchar_p a; if (s == start) break; --s; for (a = accept; *a; ++a) if (*s == *a) goto acc_label_next; break; acc_label_next: ++n; } return n; } /*********************************************************************** // strcspn, strrcspn ************************************************************************/ ACCLIB_PUBLIC(acc_hsize_t, acc_hstrcspn) (const acc_hchar_p s, const acc_hchar_p reject) { acc_hsize_t n = 0; for ( ; *s; ++s, ++n) { const acc_hchar_p r; for (r = reject; *r; ++r) if (*s == *r) return n; } return n; } ACCLIB_PUBLIC(acc_hsize_t, acc_hstrrcspn) (const acc_hchar_p s, const acc_hchar_p reject) { acc_hsize_t n = 0; const acc_hchar_p start = s; while (*s) ++s; for ( ; ; ++n) { const acc_hchar_p r; if (s == start) break; --s; for (r = reject; *r; ++r) if (*s == *r) return n; } return n; } /*********************************************************************** // strpbrk, strrpbrk ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrpbrk) (const acc_hchar_p s, const acc_hchar_p accept) { for ( ; *s; ++s) { const acc_hchar_p a; for (a = accept; *a; ++a) { if (*s == *a) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } } return (acc_hchar_p) 0; } ACCLIB_PUBLIC(acc_hchar_p, acc_hstrrpbrk) (const acc_hchar_p s, const acc_hchar_p accept) { const acc_hchar_p start = s; while (*s) ++s; for (;;) { const acc_hchar_p a; if (s == start) break; --s; for (a = accept; *a; ++a) { if (*s == *a) __ACCLIB_CONST_CAST_RETURN(acc_hchar_p, s) } } return (acc_hchar_p) 0; } /*********************************************************************** // strsep, strrsep ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_hstrsep) (acc_hchar_pp ss, const acc_hchar_p delim) { acc_hchar_p s = *ss; if (s) { acc_hchar_p p = __ACCLIB_FUNCNAME(acc_hstrpbrk)(s, delim); if (p) *p++ = 0; *ss = p; } return s; } ACCLIB_PUBLIC(acc_hchar_p, acc_hstrrsep) (acc_hchar_pp ss, const acc_hchar_p delim) { acc_hchar_p s = *ss; if (s) { acc_hchar_p p = __ACCLIB_FUNCNAME(acc_hstrrpbrk)(s, delim); if (p) { *p++ = 0; return p; } *ss = (acc_hchar_p) 0; } return s; } /*********************************************************************** // ascii_strlwr, ascii_strupr, ascii_memlwr, ascii_memupr ************************************************************************/ ACCLIB_PUBLIC(acc_hchar_p, acc_ascii_hstrlwr) (acc_hchar_p s) { acc_hbyte_p p = (acc_hbyte_p) s; for ( ; *p; ++p) *p = (unsigned char) acc_ascii_utolower(*p); return s; } ACCLIB_PUBLIC(acc_hchar_p, acc_ascii_hstrupr) (acc_hchar_p s) { acc_hbyte_p p = (acc_hbyte_p) s; for ( ; *p; ++p) *p = (unsigned char) acc_ascii_utoupper(*p); return s; } ACCLIB_PUBLIC(acc_hvoid_p, acc_ascii_hmemlwr) (acc_hvoid_p s, acc_hsize_t n) { acc_hbyte_p p = (acc_hbyte_p) s; acc_hbyte_p e = (acc_hbyte_p) s + n; for ( ; p != e; ++p) *p = (unsigned char) acc_ascii_utolower(*p); return s; } ACCLIB_PUBLIC(acc_hvoid_p, acc_ascii_hmemupr) (acc_hvoid_p s, acc_hsize_t n) { acc_hbyte_p p = (acc_hbyte_p) s; acc_hbyte_p e = (acc_hbyte_p) s + n; for ( ; p != e; ++p) *p = (unsigned char) acc_ascii_utoupper(*p); return s; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/getopt.ch0000644000175000001440000000163410077051333012721 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_GETOPT_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(void, acc_getopt_init) (acc_getopt_p go) { memset(po, 0, sizeof(*po)); } ACCLIB_PUBLIC(void, acc_getopt_close) (acc_getopt_p go) { memset(po, 0, sizeof(*po)); } ACCLIB_PUBLIC(int, acc_getopt) (acc_getopt_p go) { } /* vi:ts=4:et */ ucl-1.03/acc/acclib/rdtsc.ch0000644000175000001440000000543710077051333012543 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_RDTSC_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #if defined(acc_int32e_t) #if ((ACC_ARCH_AMD64 || ACC_ARCH_IA32) && ACC_CC_GNUC) # if (ACC_CC_GNUC >= 0x020000ul) # define __ACCLIB_RDTSC_REGS : : "r" (t) : "cc", "memory", "eax", "edx" # else # define __ACCLIB_RDTSC_REGS : : "r" (t) : "ax", "dx" # endif #elif (ACC_ARCH_IA32 && ACC_CC_INTELC) && defined(__linux__) # define __ACCLIB_RDTSC_REGS : : "r" (t) : "memory", "eax", "edx" #endif /************************************************************************* // read TSC **************************************************************************/ ACCLIB_PUBLIC(int, acc_tsc_read) (acc_uint32e_t* t) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) && defined(__ACCLIB_RDTSC_REGS) __asm__ __volatile__( "clc \n" ".byte 0x0f, 0x31\n" "movl %%eax,(%0)\n" "movl %%edx,4(%0)\n" __ACCLIB_RDTSC_REGS ); return 0; #elif (ACC_ARCH_IA32 && (ACC_OS_DOS32 || ACC_OS_WIN32) && (ACC_CC_DMC || ACC_CC_INTELC || ACC_CC_MSC || ACC_CC_PELLESC)) ACC_UNUSED(t); __asm { mov ecx, t clc # if (ACC_CC_MSC && (_MSC_VER < 1200)) _emit 0x0f _emit 0x31 # else rdtsc # endif mov [ecx], eax mov [ecx+4], edx } return 0; #else t[0] = t[1] = 0; return -1; #endif } /************************************************************************* // read and add TSC **************************************************************************/ ACCLIB_PUBLIC(int, acc_tsc_read_add) (acc_uint32e_t* t) { #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) && defined(__ACCLIB_RDTSC_REGS) __asm__ __volatile__( "clc \n" ".byte 0x0f, 0x31\n" "addl %%eax,(%0)\n" "adcl $0,%%edx\n" "addl %%edx,4(%0)\n" __ACCLIB_RDTSC_REGS ); return 0; #elif (ACC_ARCH_IA32 && (ACC_OS_DOS32 || ACC_OS_WIN32) && (ACC_CC_DMC || ACC_CC_INTELC || ACC_CC_MSC || ACC_CC_PELLESC)) ACC_UNUSED(t); __asm { mov ecx, t clc # if (ACC_CC_MSC && (_MSC_VER < 1200)) _emit 0x0f _emit 0x31 # else rdtsc # endif add [ecx], eax adc edx, 0 add [ecx+4], edx } return 0; #else acc_uint32e_t v[2]; int r; r = acc_tsc_read(v); t[0] += v[0]; if (t[0] < v[0]) t[1] += 1; t[1] += v[1]; return r; #endif } #endif /* defined(acc_int32e_t) */ /* vi:ts=4:et */ ucl-1.03/acc/acclib/hsread.ch0000644000175000001440000000436610077051333012672 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_HSREAD_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /*********************************************************************** // huge pointer layer - safe read/write // handles partial pipe writes and interrupted system calls ************************************************************************/ ACCLIB_PUBLIC(long, acc_safe_hread) (int fd, acc_hvoid_p buf, long size) { acc_hbyte_p b = (acc_hbyte_p) buf; long l = 0; int saved_errno; saved_errno = errno; while (l < size) { long n = size - l; #if (ACC_HAVE_MM_HUGE_PTR) # define __ACCLIB_REQUIRE_HREAD_CH 1 errno = 0; n = acc_hread(fd, b, n); #elif (ACC_OS_DOS32) && defined(__DJGPP__) errno = 0; n = _read(fd, b, n); #else errno = 0; n = read(fd, b, n); #endif if (n == 0) break; if (n < 0) { #if defined(EINTR) if (errno == (EINTR)) continue; #endif if (errno == 0) errno = 1; return l; } b += n; l += n; } errno = saved_errno; return l; } ACCLIB_PUBLIC(long, acc_safe_hwrite) (int fd, const acc_hvoid_p buf, long size) { const acc_hbyte_p b = (const acc_hbyte_p) buf; long l = 0; int saved_errno; saved_errno = errno; while (l < size) { long n = size - l; #if (ACC_HAVE_MM_HUGE_PTR) # define __ACCLIB_REQUIRE_HREAD_CH 1 errno = 0; n = acc_hwrite(fd, b, n); #elif (ACC_OS_DOS32) && defined(__DJGPP__) errno = 0; n = _write(fd, b, n); #else errno = 0; n = write(fd, b, n); #endif if (n == 0) break; if (n < 0) { #if defined(EINTR) if (errno == (EINTR)) continue; #endif if (errno == 0) errno = 1; return l; } b += n; l += n; } errno = saved_errno; return l; } /* vi:ts=4:et */ ucl-1.03/acc/acclib/perfctr.ch0000644000175000001440000001001510077051333013055 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_PERFCTR_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif #if (ACC_OS_POSIX_LINUX) /* see http://user.it.uu.se/~mikpe/linux/perfctr/ */ #if defined(__cplusplus) extern "C" { #include } #else #include #endif #endif /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(int, acc_perfctr_open) (acc_perfctr_handle_p h) { memset(h, 0, sizeof(*h)); #if (ACC_OS_POSIX_LINUX) { struct vperfctr* handle; struct perfctr_info info; struct vperfctr_control control; struct perfctr_cpu_control* const cc = &control.cpu_control; /* open */ handle = vperfctr_open(); if (!handle) goto error; /* get info */ if (vperfctr_info(handle, &info) < 0) goto error; h->cpu_type = info.cpu_type; h->cpu_features = info.cpu_features; h->cpu_khz = info.cpu_khz; h->cpu_nrctrs = perfctr_info_nrctrs(&info); h->cpu_name = perfctr_info_cpu_name(&info); /* setup control */ memset(&control, 0, sizeof(control)); switch (h->cpu_type) { #if (ACC_ARCH_IA32) case PERFCTR_X86_WINCHIP_C6: case PERFCTR_X86_WINCHIP_2: break; /* no working TSC available */ case PERFCTR_X86_AMD_K7: #endif #if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) case PERFCTR_X86_AMD_K8: case PERFCTR_X86_AMD_K8C: cc->tsc_on = 1; cc->nractrs = 2; /* event 0xC0 (RETIRED_INSNS), count at CPL > 0, Enable */ cc->pmc_map[0] = 0; cc->evntsel[0] = 0xC0 | (1 << 16) | (1 << 22); /* event 0xC1 (RETIRED_OPS), count at CPL > 0, Enable */ cc->pmc_map[1] = 1; cc->evntsel[1] = 0xC1 | (1 << 16) | (1 << 22); break; #endif default: cc->tsc_on = 1; break; } if (cc->nractrs > h->cpu_nrctrs) cc->nractrs = h->cpu_nrctrs; if (vperfctr_control(handle, &control) < 0) goto error; /* success */ h->h = (void*) handle; return 0; error: if (handle) { vperfctr_stop(handle); vperfctr_close(handle); } } #endif return -1; } ACCLIB_PUBLIC(int, acc_perfctr_close) (acc_perfctr_handle_p h) { if (h->h) { #if (ACC_OS_POSIX_LINUX) struct vperfctr* handle = (struct vperfctr*) h->h; vperfctr_stop(handle); vperfctr_close(handle); #endif h->h = 0; } return 0; } /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(void, acc_perfctr_read) (acc_perfctr_handle_p h, acc_perfctr_clock_p c) { if (h->h) { #if (ACC_OS_POSIX_LINUX) struct vperfctr* handle = (struct vperfctr*) h->h; vperfctr_read_ctrs(handle, (struct perfctr_sum_ctrs*) c); #else memset(c, 0, sizeof(*c)); #endif } else memset(c, 0, sizeof(*c)); } /************************************************************************* // **************************************************************************/ ACCLIB_PUBLIC(double, acc_perfctr_get_elapsed) (acc_perfctr_handle_p h, const acc_perfctr_clock_p start, const acc_perfctr_clock_p stop) { #if (ACC_OS_POSIX_LINUX) acc_uint64l_t tsc = stop->tsc - start->tsc; return ((double)tsc / h->cpu_khz) / 1000.0; #else ACC_UNUSED(h); ACC_UNUSED(start); ACC_UNUSED(stop); return 0; #endif } ACCLIB_PUBLIC(double, acc_perfctr_get_elapsed_tsc) (acc_perfctr_handle_p h, acc_uint64l_t tsc) { #if (ACC_OS_POSIX_LINUX) return ((double)tsc / h->cpu_khz) / 1000.0; #else ACC_UNUSED(h); ACC_UNUSED(tsc); return 0; #endif } /* vi:ts=4:et */ ucl-1.03/acc/acclib/wildargv.ch0000644000175000001440000000303210077051333013230 00000000000000/* ACC -- Automatic Compiler Configuration Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. This software is a copyrighted work licensed under the terms of the GNU General Public License. Please consult the file "ACC_LICENSE" for details. Markus F.X.J. Oberhumer http://www.oberhumer.com/ */ #define __ACCLIB_WILDARGV_CH_INCLUDED 1 #if !defined(ACCLIB_PUBLIC) # define ACCLIB_PUBLIC(r,f) r __ACCLIB_FUNCNAME(f) #endif /************************************************************************* // **************************************************************************/ #if (ACC_OS_DOS16 || ACC_OS216 || ACC_OS_WIN16) #if 0 && (ACC_CC_MSC) /* FIXME */ ACC_EXTERN_C int __acc_cdecl __setargv(void); ACC_EXTERN_C int __acc_cdecl _setargv(void); ACC_EXTERN_C int __acc_cdecl _setargv(void) { return __setargv(); } #endif #endif #if (ACC_OS_WIN32 || ACC_OS_WIN64) #if (ACC_CC_INTELC || ACC_CC_MSC) ACC_EXTERN_C int __acc_cdecl __setargv(void); ACC_EXTERN_C int __acc_cdecl _setargv(void); ACC_EXTERN_C int __acc_cdecl _setargv(void) { return __setargv(); } #endif #endif #if (ACC_OS_EMX) #define __ACCLIB_HAVE_ACC_WILDARGV 1 ACCLIB_PUBLIC(void, acc_wildargv) (int* argc, char*** argv) { _response(argc, argv); _wildcard(argc, argv); } #endif #if !defined(__ACCLIB_HAVE_ACC_WILDARGV) #define __ACCLIB_HAVE_ACC_WILDARGV 1 ACCLIB_PUBLIC(void, acc_wildargv) (int* argc, char*** argv) { ACC_UNUSED(argc); ACC_UNUSED(argv); } #endif /* vi:ts=4:et */