OpenCores
URL https://opencores.org/ocsvn/vapi/vapi/trunk

Subversion Repositories vapi

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 12 to Rev 13
    Reverse comparison

Rev 12 → Rev 13

tags/initial/Makefile.am Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/.deps/uart.P =================================================================== --- tags/initial/.deps/uart.P (revision 12) +++ tags/initial/.deps/uart.P (nonexistent) @@ -1,2 +0,0 @@ -uart.o: uart.c -uart.c : Index: tags/initial/.deps/vapi.P =================================================================== --- tags/initial/.deps/vapi.P (revision 12) +++ tags/initial/.deps/vapi.P (nonexistent) @@ -1,119 +0,0 @@ -vapi.o: vapi.c /usr/include/stdio.h /usr/include/features.h \ - /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ - /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h \ - /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h \ - /usr/include/bits/types.h /usr/include/bits/pthreadtypes.h \ - /usr/include/bits/sched.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/gconv.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/stdio.h /usr/include/stdlib.h \ - /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/sys/sysmacros.h /usr/include/alloca.h \ - /usr/include/string.h /usr/include/bits/string.h \ - /usr/include/bits/string2.h /usr/include/sys/poll.h \ - /usr/include/bits/poll.h /usr/include/sys/socket.h \ - /usr/include/bits/socket.h \ - /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h \ - /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ - /usr/include/asm/socket.h /usr/include/asm/sockios.h \ - /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \ - /usr/include/netinet/in.h /usr/include/stdint.h \ - /usr/include/bits/wordsize.h /usr/include/bits/in.h \ - /usr/include/bits/byteswap.h /usr/include/netinet/tcp.h \ - /usr/include/sys/time.h /usr/include/bits/time.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ - /usr/include/getopt.h /usr/include/signal.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ - /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ - /usr/include/sys/stat.h /usr/include/bits/stat.h \ - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ - /usr/include/asm/ioctls.h /usr/include/asm/ioctl.h \ - /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ - /usr/include/fcntl.h /usr/include/bits/fcntl.h /usr/include/errno.h \ - /usr/include/bits/errno.h /usr/include/linux/errno.h \ - /usr/include/asm/errno.h -vapi.c : -/usr/include/stdio.h : -/usr/include/features.h : -/usr/include/sys/cdefs.h : -/usr/include/gnu/stubs.h : -/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h : -/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h : -/usr/include/bits/types.h : -/usr/include/bits/pthreadtypes.h : -/usr/include/bits/sched.h : -/usr/include/libio.h : -/usr/include/_G_config.h : -/usr/include/wchar.h : -/usr/include/gconv.h : -/usr/include/bits/stdio_lim.h : -/usr/include/bits/stdio.h : -/usr/include/stdlib.h : -/usr/include/sys/types.h : -/usr/include/time.h : -/usr/include/endian.h : -/usr/include/bits/endian.h : -/usr/include/sys/select.h : -/usr/include/bits/select.h : -/usr/include/bits/sigset.h : -/usr/include/sys/sysmacros.h : -/usr/include/alloca.h : -/usr/include/string.h : -/usr/include/bits/string.h : -/usr/include/bits/string2.h : -/usr/include/sys/poll.h : -/usr/include/bits/poll.h : -/usr/include/sys/socket.h : -/usr/include/bits/socket.h : -/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h : -/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h : -/usr/include/limits.h : -/usr/include/bits/posix1_lim.h : -/usr/include/bits/local_lim.h : -/usr/include/linux/limits.h : -/usr/include/bits/posix2_lim.h : -/usr/include/bits/sockaddr.h : -/usr/include/asm/socket.h : -/usr/include/asm/sockios.h : -/usr/include/netdb.h : -/usr/include/rpc/netdb.h : -/usr/include/bits/netdb.h : -/usr/include/netinet/in.h : -/usr/include/stdint.h : -/usr/include/bits/wordsize.h : -/usr/include/bits/in.h : -/usr/include/bits/byteswap.h : -/usr/include/netinet/tcp.h : -/usr/include/sys/time.h : -/usr/include/bits/time.h : -/usr/include/unistd.h : -/usr/include/bits/posix_opt.h : -/usr/include/bits/confname.h : -/usr/include/getopt.h : -/usr/include/signal.h : -/usr/include/bits/signum.h : -/usr/include/bits/siginfo.h : -/usr/include/bits/sigaction.h : -/usr/include/bits/sigcontext.h : -/usr/include/asm/sigcontext.h : -/usr/include/bits/sigstack.h : -/usr/include/bits/sigthread.h : -/usr/include/sys/stat.h : -/usr/include/bits/stat.h : -/usr/include/sys/ioctl.h : -/usr/include/bits/ioctls.h : -/usr/include/asm/ioctls.h : -/usr/include/asm/ioctl.h : -/usr/include/bits/ioctl-types.h : -/usr/include/sys/ttydefaults.h : -/usr/include/fcntl.h : -/usr/include/bits/fcntl.h : -/usr/include/errno.h : -/usr/include/bits/errno.h : -/usr/include/linux/errno.h : -/usr/include/asm/errno.h : Index: tags/initial/uart.cfg =================================================================== --- tags/initial/uart.cfg (revision 12) +++ tags/initial/uart.cfg (nonexistent) @@ -1,67 +0,0 @@ -/* sim.cfg -- Simulator configuration script file - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file includes a lot of help about configurations and default one - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -section sim - verbose = 0 - debug = 0 - profile = 0 - prof_fn = "sim.profile" - - /* iprompt = 0 */ - exe_log = 0 - exe_log_fn = "executed.log" -end - -section VAPI - enabled = 1 - server_port = 8886 -end - -section cpu - ver = 0x1200 - rev = 0x0001 - /* upr = */ - superscalar = 0 - hazards = 0 - history = 0 - dependstats = 0 - dependency = 0 - slp = 0 - btic = 0 - bpb = 0 -end - - -section uart - enabled = 1 - nuarts = 1 - - device 0 - baseaddr = 0x80000000 - irq = 2 - rxfile = "/tmp/uart0.rx" - txfile = "/tmp/uart0.tx" - jitter = -1 /* async behaviour */ - 16550 = 1 - vapi_id = 0x12345600 - enddevice -end -
tags/initial/uart.cfg Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/uart =================================================================== --- tags/initial/uart (revision 12) +++ tags/initial/uart (nonexistent) @@ -1,124 +0,0 @@ -ELF`‰4@è4 (44€4€ÀÀôô€ô€€€-$-$0$0´0´P8à$à´à´   /lib/ld-linux.so.2GNU# - "!  -  ?l‡gL|‡"~Œ‡@Òœ‡Bb¬‡:a¼‡v„̇-å܇R0ì‡1ü‡“ ˆ¬"û€µ«ˆ=K,ˆB9<ˆá»LˆÄ-\ˆàŒlˆª!|ˆ2FŒˆ;Zœˆ)h¬ˆ‘"×¼ˆ¨̈Ë܈-(ìˆ=Ãüˆœ„Ÿó ‰-‰éw,‰=¶<‰@ L‰0__gmon_start__libc.so.6strcpyprintfconnectstrerror__strtol_internalgetprotobynamememcpyperror__cxa_finalizesocketwritefprintfstrcat__deregister_frame_infosetsockoptreadstrncmpstrncpysscanfpollgethostbynamegetservbynamesprintfstderrerror__errno_locationexit_IO_stdin_used__libc_start_mainstrchrfcntl__register_frame_infocloseGLIBC_2.1.3GLIBC_2.0si hii -tÜ´!€µ `´d´h´l´p´t´x´|´€´ „´ -ˆ´ Œ´ -´”´˜´œ´ ´¤´¨´¬´°´´´¸´¼´À´Ä´È´Ì´дÔ´ Ø´"U‰åSPè[Ã-‹ƒˆ…ÀtÿÐvè¯èÊ‹]üÉÃÿ5X´ÿ%\´ÿ%`´héàÿÿÿÿ%d´héÐÿÿÿÿ%h´héÀÿÿÿÿ%l´hé°ÿÿÿÿ%p´h é ÿÿÿÿ%t´h(éÿÿÿÿ%x´h0é€ÿÿÿÿ%|´h8épÿÿÿÿ%€´h@é`ÿÿÿÿ%„´hHéPÿÿÿÿ%ˆ´hPé@ÿÿÿÿ%Œ´hXé0ÿÿÿÿ%´h`é ÿÿÿÿ%”´hhéÿÿÿÿ%˜´hpéÿÿÿÿ%œ´hxéðþÿÿÿ% ´h€éàþÿÿÿ%¤´hˆéÐþÿÿÿ%¨´héÀþÿÿÿ%¬´h˜é°þÿÿÿ%°´h é þÿÿÿ%´´h¨éþÿÿÿ%¸´h°é€þÿÿÿ%¼´h¸épþÿÿÿ%À´hÀé`þÿÿÿ%Ä´hÈéPþÿÿÿ%È´hÐé@þÿÿÿ%Ì´hØé0þÿÿÿ%дhàé þÿÿÿ%Ô´hèéþÿÿÿ%Ø´hðéþÿÿ1í^‰áƒäøPTRh`Ÿh,‡QVh€’èÛþÿÿôU‹<´‰åƒì…ÒuI‹8´‹…Àtt&B£8´ÿ‹8´‹ -…Éuê¸ ˆ…Àtƒì h@´è0þÿÿƒÄ¸£<´‰ì]ÃvU‰åƒì‰ì]öU‰å¸|‡ƒì…Àtƒìh„µh@´è[ýÿÿƒÄ‰ì]ô&U‰åƒì‰ì]öU‰åWVSƒì ‹u…ö‹} „]è‰öRVWÿuè%ýÿÿƒÄ…Àybè‰ýÿÿ‹ƒø tƒø  ƒøtPëC‰öƒø t'ë:‹E‰EèfÇC·C‰CPjÿjSèîüÿÿƒÄë!ƒì ÿuèíüÿÿÇ µ¸ÿÿÿÿë -)ÆÇ…öu„1Àeô[^_]ÉöU‰åWVSƒì ‹u…ö‹} tu]è‰öPVWÿuè5þÿÿƒÄ…Ày>èéüÿÿ‹ƒøtNƒø t ¸ÿÿÿÿëH‰ö‹EQ‰EèjÿfÇCj·CS‰CèVüÿÿƒÄë…Àuƒì ÿuèQüÿÿ¸ÿÿÿÿë ‰ö)ÆÇ…öu1Àeô[^_]ÉöU‰åƒì‹EfÁÈÁÈfÁÈQUj‰E‰ÐPÿ5 µèþÿÿƒÄ…Ày -¸ë,v‹E fÁÈÁÈfÁÈRj‰E E Pÿ5 µèiþÿÿƒÄÁèÉÃU‰åVSPj‹]Sÿ5 µ‹u èêþÿÿƒÄ…Àx%‹fÁÈÁÈfÁȉSjVÿ5 µèÅþÿÿƒÄ…Ày -¸ëv‹fÁÈÁÈfÁȉ1Àeø[^]ÃU‰åWVSì8» ŸS‹} Ç…ÌýÿÿèÀûÿÿƒÄ…À‰…ÈýÿÿuWSh¤ŸØþÿÿSè€üÿÿéývjj -…ÔýÿÿPWè—ûÿÿ‹•Ôýÿÿ‰ÆƒÄ1À€:•ÀH!Æu>ƒì‹…Èýÿÿÿ0WèûÿÿƒÄ…ÀuVWhŸØþÿÿSè$üÿÿé¡vf‹@fÁÈ·ðƒì ÿuè¶ûÿÿ‰ÃƒÄ…ÛuSÿuhÙŸØþÿÿSèèûÿÿéevQjjjèôûÿÿ‰ÇƒÄ…ÿyOƒìè³úÿÿƒÄ ‰Ãÿ3h µØþÿÿVè«ûÿÿZÿ3èƒúÿÿƒÄ Ph  ØýÿÿSèŽûÿÿ_XSVèåúÿÿ‰4$éQ…ÐýÿÿPjWèìúÿÿƒÄ…Ày -RWh@ éHP‹…Ðýÿÿ%ÿ÷ÿÿPjWèÃúÿÿƒÄ…Ày‹…Ðýÿÿ -PWh€ éÇEØÇEÜÇEàÇEäf‹Cf‰EØ‹CQÿs UÜÿ0Rè~úÿÿƒÄ‰ðfÁÈSjf‰EÚEØPWè´úÿÿƒÄ…Àyaè¸ùÿÿ‰Æ‹ƒøstSQPh½ ØþÿÿSè¬úÿÿZÿ6è„ùÿÿƒÄ Ph  µØýÿÿVèúÿÿ‰<$è'ùÿÿ_XVSèÞùÿÿ‰$è†úÿÿ1Àév‹…ÐýÿÿQ -PjWè×ùÿÿƒÄ…Ày‹…Ðýÿÿ -PWh€ ë+ƒì j…ÌýÿÿPj‹…ÈýÿÿÿpWè/ùÿÿƒÄ …Ày(RWhà ØþÿÿSèúÿÿ‰$è -úÿÿ‰<$è•øÿÿ1Àë‰øeô[^_]ÉöU‰åWVSìjh¡‹E ÿu£œµèùÿÿƒÄ…À…½ƒì‹uj:ƒÆVèøÿÿ‰ÇƒÄ…ÿt$‰û+]QƒëSVµèþÿÿVèuùÿÿƒÄÆ3GëvƒìV…èþÿÿPè¨ùÿÿƒÄƒìW…èþÿÿPè‘üÿÿƒÄ…À£ µu$‹ERƒÀPh@¡èýÿÿSè0ùÿÿ‰$è8ùÿÿƒÄPÿu ÿuh€¡è„øÿÿƒÄ jE Pÿ5 µè4úÿÿƒÄ…Àt ¸ë‰ö1Àeô[^_]ÉöU‰åVSì…ìþÿÿPjÿ5 µÇ…ìþÿÿÇ…ðþÿÿÇ…ôþÿÿè'øÿÿƒÄ…Àµðþÿÿy#Rÿ5 µh@ øþÿÿSè‚øÿÿ‰$èŠøÿÿƒÄP‹…ìþÿÿ%ÿ÷ÿÿPjÿ5 µèÝ÷ÿÿƒÄ…Ày.‹…ìþÿÿ -Pÿ5 µh€ øþÿÿSè3øÿÿ‰$è;øÿÿƒÄƒì jVj -jÿ5 µè#÷ÿÿƒÄ …Ày#Sÿ5 µhÀ¡øþÿÿSèô÷ÿÿ‰$èü÷ÿÿƒÄƒì ÿ5 µè{öÿÿeø[^]ÃU‰åSƒì‹]Sÿ5œµhö¡è)÷ÿÿYXSÿ5œµèúÿÿƒÄ…ÀtÇE -¢‹]üÉéDöÿÿ‹]üÉÃvU‰åƒìEüPEøPèMúÿÿƒÄ…Àt:¡ µ…Àt&ƒì h¢è öÿÿYÿ5 µèðõÿÿƒÄÇ µƒì jèùöÿÿ‹Eø‹œµ9ÐtRPh@¢ÿ5€µèÙõÿÿÇ$èÍöÿÿRÿuüPhc¢èmöÿÿ‹EüÉÃU‰å¡ µSƒì…ÀtUfÇEô‰Eð·Eô]ð‰EôRjjSèYõÿÿƒÄƒøÿt …Àt!ë#vè£õÿÿƒ8tÚƒì hv¢èQõÿÿƒÄëÈ1À븋]üÉÉöU‰åSSƒ}‹] t&ƒì h{¢èáõÿÿÇ$ ¢èÕõÿÿ¸éŸvjj -jÿsèzõÿÿƒÄ ‰EøEøPhÈ¢ÿsèöÿÿƒÄ…Àtƒìÿuøÿsè:üÿÿƒÄ…Àt#¸ëTQÿshÍ¢ÿ5€µè¼ôÿÿ¸ë9è× …ÀtƒìhÞ¢ÿ5€µè˜ôÿÿ¸ëƒì hì¢è3õÿÿèÚüÿÿ1À‹]üÉÃU‰åƒì ÿu ÿuhú¢èõÿÿƒÄÇEÉéNõÿÿ‰öU‰åVSƒìŠEˆE÷èíýÿÿ¾u÷R‰Ã‰ðS ĵPh£èÎôÿÿ‰Ø0ÀƒÄ;ĵtƒìjQh*£èŒÿÿÿƒÄãÿtƒì¾ÃPh,£ë vƒì h2£è‡ôÿÿƒÄPSVh6£èwôÿÿƒÄ8]÷tƒìjVh*£è<ÿÿÿƒÄeø[^]ÉöU‰åƒì‹Àµ¾E0Ò Ð‰EÉéóüÿÿvU‰åVS‹uè+ýÿÿQÿ5ĵ‰ÃShP£èôÿÿ‰Ø0ÀƒÄ;ĵtƒìjfh*£èÑþÿÿƒÄãÿtƒì¾ÃPh,£ëƒì h2£èÏóÿÿƒÄˆF…Ûu™‹Eeø[^]ÃvU‰åVS‹u€>tUvè§üÿÿ‰Ã¾ ĵ9Ãtƒìjth*£èaþÿÿƒÄãÿtƒì¾ÃPh,£ëƒì h2£è_óÿÿƒÄF€>u®eø[^]ÃvU‰åSS‹]€;t"v¾‹Àµ0Òƒì ÐPCèáûÿÿƒÄ€;uá‹]üÉÃU‰åƒìhèÄûÿÿÇ$ÇĵÇÀµè¤ûÿÿÉÉöU‰åƒìh\£èÔòÿÿXZhhr£èÃòÿÿÉÃU‰åWVƒì h‚£è®òÿÿ^_h“hr£èòÿÿÇ$àµè]þÿÿZYh•hr£è€òÿÿ_Xhàµh’£¾àµèjòÿÿ¿Ÿ£¹üƒÄó¦—Â’À8Âtƒìh—h*£èýÿÿƒÄƒì h´£èâþÿÿY^h™hr£èòÿÿÇ$¹£èòÿÿeø^_]ÉöU‰åSƒìh½£è÷ñÿÿèöúÿÿƒÄ h@‰ÃShÉ£èÝñÿÿƒÄû@tƒìh¡h*£èœüÿÿƒÄƒìh¢hr£è«ñÿÿ¡ÀµƒÈ*‰$èWúÿÿZYh¤hr£èŠñÿÿè‰úÿÿ‰Ã¡ÀµƒÄ ƒÈ!PShÉ£èlñÿÿ¡ÀµƒÈ!ƒÄ9Ãtƒìh¥h*£è'üÿÿƒÄƒìh¦hr£è6ñÿÿÇ$èæùÿÿ¡ÀµƒÈb‰$èÖùÿÿ[Xh«hr£è ñÿÿèúÿÿ‰Ã¡ÀµƒÄ ƒÈ#PShÉ£èëðÿÿ¡ÀµƒÈ#ƒÄ9Ãtƒìh¬h*£è¦ûÿÿƒÄƒìh­hr£èµðÿÿÇ$èeùÿÿ¡ÀµƒÈ$‰$èUùÿÿZYh°hr£èˆðÿÿÇ$ç£èÄüÿÿè{ùÿÿƒÄ h@‰ÃShÉ£èbðÿÿƒÄû@tƒìh´h*£è!ûÿÿƒÄƒì h*£èéüÿÿ[Xh¶hr£è$ðÿÿè#ùÿÿ‰Ã¡ÀµƒÄ ƒÈ#PShÉ£èðÿÿ¡ÀµƒÈ#ƒÄ9Ãtƒìh¹h*£èÁúÿÿƒÄƒì hè‘øÿÿYÿ5Àµè…øÿÿÇ$ê£èqüÿÿXZh¾hr£è¬ïÿÿÇ$è\øÿÿÇ$î£èHüÿÿÇ$èDøÿÿY[hÄhr£èwïÿÿèvøÿÿ‰Ã¡ÀµƒÄ ƒÈ?PShÉ£èYïÿÿ¡ÀµƒÈ?ƒÄ9ÃtƒìhÆh*£èúÿÿƒÄƒì hèä÷ÿÿXZhÉhr£èïÿÿ¡ÀµƒÈ!‰$èÃ÷ÿÿÇ$¹£èûîÿÿ‹]üÉÉöU‰åSƒì»‹MÓãK‰ØƒàUPèÛùÿÿÇ$Uèwúÿÿƒãa‰$èÄùÿÿƒÄÇEa‹]üÉéYúÿÿU‰åVSƒì hð£èšîÿÿ»ƒÄ‰ö‰Øƒì -Pè<÷ÿÿÇ$ÇÀµÇĵè÷ÿÿÇ$è`ÿÿÿ^Xhíhr£CèBîÿÿƒÄƒû~ªƒìhïhr£è(îÿÿÇ$èØöÿÿZYhòhr£è îÿÿ1öƒÄ‰ö1Û‰öõ ØÁàƒì £Àµ£Äµ -Pè˜öÿÿC‰$èÝþÿÿYXhúhr£Cè¿íÿÿƒÄƒû~·Fƒþ~­ƒìhühr£èŸíÿÿ1ۃĉö‰ØƒÈÁàƒì £Àµ£Äµ -Pè4öÿÿC‰$èyþÿÿXZhhr£Cè[íÿÿƒÄƒû~»ƒìhhr£èAíÿÿÇ$Tè9øÿÿÇ$èåõÿÿÇ$ÇÀµÇĵèÅõÿÿÇ$Tèøÿÿ[^h -hr£èììÿÿÇ$¹£èàìÿÿeø[^]ÃU‰åƒìhè„õÿÿÇ$¤è¼ìÿÿÇ$Iè´÷ÿÿÇ$0èPøÿÿÇ$Ièœ÷ÿÿÇ$1è8øÿÿÇ$2è,øÿÿÇ$3è øÿÿÇ$4èøÿÿÇ$Iè`÷ÿÿÇ$5èü÷ÿÿÇ$6èð÷ÿÿÇ$7èä÷ÿÿÇ$8èØ÷ÿÿÇ$9èÌ÷ÿÿÇ$Iè÷ÿÿÇ$aè´÷ÿÿÇ$bè¨÷ÿÿÇ$cèœ÷ÿÿÇ$dè÷ÿÿÇ$eè„÷ÿÿÇ$fèx÷ÿÿÇ$gèl÷ÿÿÇ$Iè¸öÿÿÇ$hèT÷ÿÿÇ$ièH÷ÿÿÇ$jè<÷ÿÿÇ$*è0÷ÿÿÇ$Iè|öÿÿÇ$è(ôÿÿ¡ÀµƒÈb‰$èôÿÿZYh<hr£èKëÿÿÇ$BèCöÿÿYXh>hr£è.ëÿÿÇ$èÞóÿÿ¡ÀµƒÈ$‰$èÎóÿÿXZhAhr£èëÿÿÇ$IèùõÿÿÇ$Tè•öÿÿÇ$TèáõÿÿZYhJhr£èÌêÿÿÇ$è|óÿÿÇ$ÇĵÇÀµè\óÿÿÇ$Tè˜õÿÿÇ$¹£èˆêÿÿÉÉöU‰åƒìh¤ètêÿÿÇ$*èlõÿÿÇ$*èöÿÿYXh\hr£èKêÿÿÇ$!èCõÿÿÇ$!èßõÿÿXZh_hr£è"êÿÿÇ$1èõÿÿÇ$*èõÿÿÇ$*èªõÿÿÇ$¹£èòéÿÿÉÃU¡Äµ‰åƒì -Pè–òÿÿÇ$cèÒôÿÿÇ$è~òÿÿÇ$aèbõÿÿÇ$èfòÿÿÇ$bèJõÿÿZYhohr£èéÿÿÉÃvU‰åƒìè™öÿÿè`öÿÿèƒÿÿÿƒì j@èõÿÿ1ÀÉÃU¡D´‰åSƒìƒøÿ»D´tv¼'ƒëÿЋƒøÿuôX[]ÃU‰åƒì‰ì]öU‰åSRè[Ãêvèêÿÿ‹]üÉÃtcpProtocol "%s" not available. -Unknown service "%s". -Unknown host "%s" -can't create socket errno = %d -%s -Unable to get flags for VAPI proxy socket %dUnable to set flags for VAPI proxy socket %d to value 0x%08xconnect failed errno = %d -Unable to disable Nagel's algorithm for socket %d. -setsockoptvapi://Can not access VAPI Proxy Server at "%s"Remote or1k testing using %s, id 0x%x -Unable to disable SO_LINGER for VAPI proxy socket %d.WRITE [%08x, %08x] -write packetvapi readERROR: Invalid id %x, expected %x.READ [%08x, %08x] -pollUsage: vapit URL ID -vapit vapi://localhost:9998 0x12345678 -0x%xInvalid vapi_id -TEST FAILED. -Test passed. -Test failed in %s:%i -expected %08x, read %08x -?'%c' -\0 -expected %02x, read %02x -%08x, %08x -Testing registers... Passed line %i -send_recv_test -OK -read: %s -send_test_is_runningrecvOK -break_test -expected 0x%08x, read 0x%08x -ns2345different modes test -interrupt_test -control_register_test -P´ÿÿÿÿÿÿÿÿà´r‡‚‡’‡¢‡²‡‡Ò‡â‡ò‡ˆˆ"ˆ2ˆBˆRˆbˆrˆ‚ˆ’ˆ¢ˆ²ˆˆÒˆâˆòˆ‰‰"‰2‰B‰R‰ ,‡ -`Ÿ(0„‚ -h T´ø4†$†þÿÿoô…ÿÿÿoðÿÿo®…R€d„‰d„‰,<;€e€€®€æ€#€t€Å€ð€€I€r€Œ€§€È€€$€I€s€œ‚¢¶‚gVÝ‚‰s‚‚¢¢2‚Øk€Ç¢€ –€!­€"€#Ø€%ð€&€1€25€3L€4e€5}€6–€8®€9Ç€;ç€=ý€>€?)€@?€AV€Bn€C„€D›€E±€FÉ€Gà€Hù€I€Nt€QŒ€R¬€SÀTÞ€Uú€V€X*€[D€^\€bt€x¾€{Ô€~ €‡! €ˆ< €‹W €Œt € €¬ €“Ä €–Ý €™ø €š -€- -€ G -‚ùŒ{ -‚ˆ£ -€¢Ö -€ €#Z €4` €<­ €Cå €F -€S” -€ZÒ -€^ï -€Ä€lä€t8€yY€á€†€Œ¢¢2‚ -7€L€8¢`‚s‚b…€F¢¢€J€#‚¢‚-Á`Âs‚¢³€’€É€Gó€J"€KS€T†€ZÁ€^ú€a2€bj€€Â€¸€/€­¢¢S€5Æ€7Þ€8ö€9€:¢* "d„‰@d@Š\d@Š,<;€e€€®€æ€#€t€Å€ð€€I€r€Œ€§€È€€$€I€s€c‚ x‚‚¢©‚¢¢2ÂØ‚<û€+¢‚GtxÂ2‚¢2€ I€!`€"u€#‹€%£€&¹€1Ѐ2è€3ÿ€4€50€6I€8a€9z€;š€=°€>Æ€?Ü€@ò€A €B!€C7€DN€Ed€F|€G“€H¬€IÁ€N'€Q?€R_€Sv€T‘€U­€VÅ€XÝ€[÷€^€b'€xs€{‰€~£€‚½€‡Ö€ˆñ€‹ €Œ)€D€a€“y€–’€™­€šÉ€â€ ü‚Æé ‚ˆ7 €¢k €´ €#ó €4ü!€<M"€C‡"€F¤"€S;#€Z{#€^™#€Œ¢¢²#€0Ð#‚Ìå#‚gV‚¢2 -þ#‚b2Â$€F¢–$€Û$€#"%‚-ÁxÂþ#‚2¢2Â7%€&€M&€Gw&€J¦&€K×&€T -'€ZE'€^~'€a¶'€bî'€›(€F*€<+€³+€­¢×+€5M,€7f,€8,€9š,€:¢Â‚¢µ,€§Ï,€,-€-€Q0€Bh0€YŽ0€bµ0€jÚ0€m¢1€=1‚¢31€ÙG1‚¢¢a1‚ÅkxÂ2Âw1€b°1€jê1‚ì·xÂÂ2€!2€".2€#B2€$W2€%l2€&ƒ2€'™2€*¯2€.Ä2€:Ú2€?ð2€D3€I3€N53€`K3€e`3€jx3€o3€p¨3€t¾3‚žÂÒ3€GÂè3€RÂ4€]¢2Â4€-4€‘C4€’W4€¸n4€¹…4€ºœ4€»³4€¾Ì4€¿å4€Àþ4€Á5€Ã15‚xÂG5‚¢¢b5‚H -xÂÂ|5‚¢—5‚G²5€Ï5€¢¾3‚ˆ6€¢R6€0i6€3¢6‚¢œ6€àµ6€äÐ6€è¢ë6€›7€8‚xÂ2¢/8€ž¢]8‚xÂ2Âs8‚¢Ž8‚15ÂÂa1‚¢¢¢ª8‚ùxÂÂ8‚¢Û8€¢#9‚ wxÂ2Â=9‚r 2ÂX9‚‘9‚X9ÂÍ9‚xÂã9‚:‚ :‚¢¢¢<:‚¢¢¢¢ê1‚¢[:€$t:€Þ:‚×û:€¢;€k;€ê;€Ë<€˜=€>€Z>€£>‚½>‚¢¢Ø>€¢?€k?€˜?€WhB€[¢…D‚Ò‘xšD‚ºxÂ2³D€¢#9‚¢2ÂE€$%E‚ž?E€¢§E€-F€”F€èF€¢ÀG‚’ºxÂX9ÂÚG‚]ŸxÂ2ÂðG‚¢ -H€2$H€3;H€<RH€CnH€DŠH€E¦H€JÂH€NßH€OüH€PI€U8I€\TI€bpI€cŒI€e¨I€iÅI€oâI€pÿI€rJ€4J€‚MJ€ŒeJ€Ž¢ê1Â=9‚¢~J€7L€BPL€™D?ªD@¶DAÆDG×DHãDIïDJûDM DODNDO3DP8DQDDRP$RY$XøDXDYDZD[D\(D]9D^ED_QDabDbnDczDd†De’$”w$hŒžDhDiDhDi DjDk"Dl.Dm:DnFDoRDyc$e$|ôžD|DD€ D†D‰DŠD‹!$#  Gç Jö JdŸinit.c/usr/src/bs/BUILD/glibc-2.1.92/csu/gcc2_compiled.int:t(0,1)=r(0,1);-2147483648;2147483647;char:t(0,2)=r(0,2);0;127;long int:t(0,3)=r(0,3);-2147483648;2147483647;unsigned int:t(0,4)=r(0,4);0000000000000;0037777777777;long unsigned int:t(0,5)=r(0,5);0000000000000;0037777777777;long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;long long unsigned int:t(0,7)=@s64;r(0,7);0000000000000;01777777777777777777777;short int:t(0,8)=@s16;r(0,8);-32768;32767;short unsigned int:t(0,9)=@s16;r(0,9);0;65535;signed char:t(0,10)=@s8;r(0,10);-128;127;unsigned char:t(0,11)=@s8;r(0,11);0;255;float:t(0,12)=r(0,1);4;0;double:t(0,13)=r(0,1);8;0;long double:t(0,14)=r(0,1);12;0;complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;complex float:t(0,16)=r(0,16);8;0;complex double:t(0,17)=r(0,17);16;0;complex long double:t(0,18)=r(0,18);24;0;__builtin_va_list:t(0,19)=*(0,20)=(0,20)../include/libc-symbols.h../sysdeps/unix/sysv/linux/_G_config.h../sysdeps/unix/sysv/linux/bits/types.h../include/features.h../include/sys/cdefs.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.hsize_t:t(6,1)=(0,4)__u_char:t(3,1)=(0,11)__u_short:t(3,2)=(0,9)__u_int:t(3,3)=(0,4)__u_long:t(3,4)=(0,5)__u_quad_t:t(3,5)=(0,7)__quad_t:t(3,6)=(0,6)__int8_t:t(3,7)=(0,10)__uint8_t:t(3,8)=(0,11)__int16_t:t(3,9)=(0,8)__uint16_t:t(3,10)=(0,9)__int32_t:t(3,11)=(0,1)__uint32_t:t(3,12)=(0,4)__int64_t:t(3,13)=(0,6)__uint64_t:t(3,14)=(0,7)__qaddr_t:t(3,15)=(3,16)=*(3,6)__dev_t:t(3,17)=(3,5)__uid_t:t(3,18)=(3,3)__gid_t:t(3,19)=(3,3)__ino_t:t(3,20)=(3,4)__mode_t:t(3,21)=(3,3)__nlink_t:t(3,22)=(3,3)__off_t:t(3,23)=(0,3)__loff_t:t(3,24)=(3,6)__pid_t:t(3,25)=(0,1)__ssize_t:t(3,26)=(0,1)__rlim_t:t(3,27)=(3,4)__rlim64_t:t(3,28)=(3,5)__id_t:t(3,29)=(3,3)__fsid_t:t(3,30)=(3,31)=s8__val:(3,32)=ar(3,33)=r(3,33);0000000000000;0037777777777;;0;1;(0,1),0,64;;__daddr_t:t(3,34)=(0,1)__caddr_t:t(3,35)=(3,36)=*(0,2)__time_t:t(3,37)=(0,3)__useconds_t:t(3,38)=(0,4)__suseconds_t:t(3,39)=(0,3)__swblk_t:t(3,40)=(0,3)__clock_t:t(3,41)=(0,3)__clockid_t:t(3,42)=(0,1)__timer_t:t(3,43)=(0,1)__fd_mask:t(3,44)=(0,5)__fd_set:t(3,45)=(3,46)=s128fds_bits:(3,47)=ar(3,33);0;31;(3,44),0,1024;;__key_t:t(3,48)=(0,1)__ipc_pid_t:t(3,49)=(0,9)__blksize_t:t(3,50)=(0,3)__blkcnt_t:t(3,51)=(0,3)__blkcnt64_t:t(3,52)=(3,6)__fsblkcnt_t:t(3,53)=(3,4)__fsblkcnt64_t:t(3,54)=(3,5)__fsfilcnt_t:t(3,55)=(3,4)__fsfilcnt64_t:t(3,56)=(3,5)__ino64_t:t(3,57)=(3,5)__off64_t:t(3,58)=(3,24)__t_scalar_t:t(3,59)=(0,3)__t_uscalar_t:t(3,60)=(0,5)__intptr_t:t(3,61)=(0,1)__socklen_t:t(3,62)=(0,4)../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h../sysdeps/unix/sysv/linux/bits/sched.h__sched_param:T(8,1)=s4sched_priority:(0,1),0,32;;_pthread_fastlock:T(7,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(7,2)=(7,3)=*(7,4)=xs_pthread_descr_struct:pthread_attr_t:t(7,5)=(7,6)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(8,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(6,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(0,19),224,32;__stacksize:(6,1),256,32;;pthread_cond_t:t(7,7)=(7,8)=s12__c_lock:(7,1),0,64;__c_waiting:(7,2),64,32;;pthread_condattr_t:t(7,9)=(7,10)=s4__dummy:(0,1),0,32;;pthread_key_t:t(7,11)=(0,4)pthread_mutex_t:t(7,12)=(7,13)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(7,2),64,32;__m_kind:(0,1),96,32;__m_lock:(7,1),128,64;;pthread_mutexattr_t:t(7,14)=(7,15)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(7,16)=(0,1)_pthread_rwlock_t:T(7,17)=s32__rw_lock:(7,1),0,64;__rw_readers:(0,1),64,32;__rw_writer:(7,2),96,32;__rw_read_waiting:(7,2),128,32;__rw_write_waiting:(7,2),160,32;__rw_kind:(0,1),192,32;__rw_pshared:(0,1),224,32;;pthread_rwlock_t:t(7,18)=(7,17)pthread_rwlockattr_t:t(7,19)=(7,20)=s8__lockkind:(0,1),0,32;__pshared:(0,1),32,32;;pthread_spinlock_t:t(7,21)=(0,1)pthread_barrier_t:t(7,22)=(7,23)=s20__ba_lock:(7,1),0,64;__ba_required:(0,1),64,32;__ba_present:(0,1),96,32;__ba_waiting:(7,2),128,32;;pthread_barrierattr_t:t(7,24)=(7,25)=s4__pshared:(0,1),0,32;;pthread_t:t(7,26)=(0,5)wchar_t:t(9,1)=(0,3)wint_t:t(9,2)=(0,4)../include/wchar.h../wcsmbs/wchar.h__mbstate_t:t(11,1)=(11,2)=s8__count:(0,1),0,32;__value:(11,3)=u4__wch:(9,2),0,32;__wchb:(11,4)=ar(3,33);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(2,1)=(2,2)=s12__pos:(3,23),0,32;__state:(11,1),32,64;;_G_fpos64_t:t(2,3)=(2,4)=s16__pos:(3,58),0,64;__state:(11,1),64,64;;../include/gconv.h../iconv/gconv.h :T(13,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(13,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(13,3)=(13,4)=*(13,5)=f(0,1)__gconv_init_fct:t(13,6)=(13,7)=*(13,8)=f(0,1)__gconv_end_fct:t(13,9)=(13,10)=*(13,11)=f(0,20)__gconv_trans_fct:t(13,12)=(13,13)=*(13,14)=f(0,1)__gconv_trans_context_fct:t(13,15)=(13,16)=*(13,17)=f(0,1)__gconv_trans_query_fct:t(13,18)=(13,19)=*(13,20)=f(0,1)__gconv_trans_init_fct:t(13,21)=(13,22)=*(13,23)=f(0,1)__gconv_trans_end_fct:t(13,24)=(13,25)=*(13,26)=f(0,20)__gconv_trans_data:T(13,27)=s20__trans_fct:(13,12),0,32;__trans_context_fct:(13,15),32,32;__trans_end_fct:(13,24),64,32;__data:(0,19),96,32;__next:(13,28)=*(13,27),128,32;;__gconv_step:T(13,29)=s56__shlib_handle:(13,30)=*(13,31)=xs__gconv_loaded_object:,0,32;__modname:(13,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(13,32),96,32;__to_name:(13,32),128,32;__fct:(13,3),160,32;__init_fct:(13,6),192,32;__end_fct:(13,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(0,19),416,32;;__gconv_step_data:T(13,33)=s36__outbuf:(13,34)=*(0,11),0,32;__outbufend:(13,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(13,35)=*(11,1),160,32;__state:(11,1),192,64;__trans:(13,28),256,32;;__gconv_info:T(13,36)=s8__nsteps:(6,1),0,32;__steps:(13,37)=*(13,29),32,32;__data:(13,38)=ar(3,33);0;-1;(13,33),64,0;;__gconv_t:t(13,39)=(13,40)=*(13,36)_G_iconv_t:t(2,5)=(2,6)=u44__cd:(13,36),0,64;__combined:(2,7)=s44__cd:(13,36),0,64;__data:(13,33),64,288;;,0,352;;_G_int16_t:t(2,8)=(0,8)_G_int32_t:t(2,9)=(0,1)_G_uint16_t:t(2,10)=(0,9)_G_uint32_t:t(2,11)=(0,4)_IO_stdin_used:G(0,1)/projects/vapi/markom/vapi/vapi.c/usr/include/stdio.h/usr/include/features.h/usr/include/sys/cdefs.h/usr/include/gnu/stubs.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h__gnuc_va_list:t(6,1)=(0,19)/usr/include/bits/types.h__u_char:t(7,1)=(0,11)__u_short:t(7,2)=(0,9)__u_int:t(7,3)=(0,4)__u_long:t(7,4)=(0,5)__u_quad_t:t(7,5)=(0,7)__quad_t:t(7,6)=(0,6)__int8_t:t(7,7)=(0,10)__uint8_t:t(7,8)=(0,11)__int16_t:t(7,9)=(0,8)__uint16_t:t(7,10)=(0,9)__int32_t:t(7,11)=(0,1)__uint32_t:t(7,12)=(0,4)__int64_t:t(7,13)=(0,6)__uint64_t:t(7,14)=(0,7)__qaddr_t:t(7,15)=(7,16)=*(7,6)__dev_t:t(7,17)=(7,5)__uid_t:t(7,18)=(7,3)__gid_t:t(7,19)=(7,3)__ino_t:t(7,20)=(7,4)__mode_t:t(7,21)=(7,3)__nlink_t:t(7,22)=(7,3)__off_t:t(7,23)=(0,3)__loff_t:t(7,24)=(7,6)__pid_t:t(7,25)=(0,1)__ssize_t:t(7,26)=(0,1)__rlim_t:t(7,27)=(7,4)__rlim64_t:t(7,28)=(7,5)__id_t:t(7,29)=(7,3)__fsid_t:t(7,30)=(7,31)=s8__val:(7,32)=ar(7,33)=r(7,33);0000000000000;0037777777777;;0;1;(0,1),0,64;;__daddr_t:t(7,34)=(0,1)__caddr_t:t(7,35)=(7,36)=*(0,2)__time_t:t(7,37)=(0,3)__useconds_t:t(7,38)=(0,4)__suseconds_t:t(7,39)=(0,3)__swblk_t:t(7,40)=(0,3)__clock_t:t(7,41)=(0,3)__clockid_t:t(7,42)=(0,1)__timer_t:t(7,43)=(0,1)__fd_mask:t(7,44)=(0,5)__fd_set:t(7,45)=(7,46)=s128__fds_bits:(7,47)=ar(7,33);0;31;(7,44),0,1024;;__key_t:t(7,48)=(0,1)__ipc_pid_t:t(7,49)=(0,9)__blksize_t:t(7,50)=(0,3)__blkcnt_t:t(7,51)=(0,3)__blkcnt64_t:t(7,52)=(7,6)__fsblkcnt_t:t(7,53)=(7,4)__fsblkcnt64_t:t(7,54)=(7,5)__fsfilcnt_t:t(7,55)=(7,4)__fsfilcnt64_t:t(7,56)=(7,5)__ino64_t:t(7,57)=(7,5)__off64_t:t(7,58)=(7,24)__t_scalar_t:t(7,59)=(0,3)__t_uscalar_t:t(7,60)=(0,5)__intptr_t:t(7,61)=(0,1)__socklen_t:t(7,62)=(0,4)/usr/include/bits/pthreadtypes.h/usr/include/bits/sched.h__sched_param:T(11,1)=s4sched_priority:(0,1),0,32;;_pthread_fastlock:T(10,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(10,2)=(10,3)=*(10,4)=xs_pthread_descr_struct:pthread_attr_t:t(10,5)=(10,6)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(11,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(5,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(0,19),224,32;__stacksize:(5,1),256,32;;pthread_cond_t:t(10,7)=(10,8)=s12__c_lock:(10,1),0,64;__c_waiting:(10,2),64,32;;pthread_condattr_t:t(10,9)=(10,10)=s4__dummy:(0,1),0,32;;pthread_key_t:t(10,11)=(0,4)pthread_mutex_t:t(10,12)=(10,13)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(10,2),64,32;__m_kind:(0,1),96,32;__m_lock:(10,1),128,64;;pthread_mutexattr_t:t(10,14)=(10,15)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(10,16)=(0,1)pthread_t:t(10,17)=(0,5)FILE:t(1,1)=(1,2)=xs_IO_FILE:/usr/include/libio.h/usr/include/_G_config.h/usr/include/wchar.h__mbstate_t:t(16,1)=(16,2)=s8__count:(0,1),0,32;__value:(16,3)=u4__wch:(15,2),0,32;__wchb:(16,4)=ar(7,33);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(13,1)=(13,2)=s12__pos:(7,23),0,32;__state:(16,1),32,64;;_G_fpos64_t:t(13,3)=(13,4)=s16__pos:(7,58),0,64;__state:(16,1),64,64;;/usr/include/gconv.h :T(18,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(18,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(18,3)=(18,4)=*(18,5)=f(0,1)__gconv_init_fct:t(18,6)=(18,7)=*(18,8)=f(0,1)__gconv_end_fct:t(18,9)=(18,10)=*(18,11)=f(0,20)__gconv_trans_fct:t(18,12)=(18,13)=*(18,14)=f(0,1)__gconv_trans_context_fct:t(18,15)=(18,16)=*(18,17)=f(0,1)__gconv_trans_query_fct:t(18,18)=(18,19)=*(18,20)=f(0,1)__gconv_trans_init_fct:t(18,21)=(18,22)=*(18,23)=f(0,1)__gconv_trans_end_fct:t(18,24)=(18,25)=*(18,26)=f(0,20)__gconv_trans_data:T(18,27)=s20__trans_fct:(18,12),0,32;__trans_context_fct:(18,15),32,32;__trans_end_fct:(18,24),64,32;__data:(0,19),96,32;__next:(18,28)=*(18,27),128,32;;__gconv_step:T(18,29)=s56__shlib_handle:(18,30)=*(18,31)=xs__gconv_loaded_object:,0,32;__modname:(18,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(18,32),96,32;__to_name:(18,32),128,32;__fct:(18,3),160,32;__init_fct:(18,6),192,32;__end_fct:(18,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(0,19),416,32;;__gconv_step_data:T(18,33)=s36__outbuf:(18,34)=*(0,11),0,32;__outbufend:(18,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(18,35)=*(16,1),160,32;__state:(16,1),192,64;__trans:(18,28),256,32;;__gconv_info:T(18,36)=s8__nsteps:(5,1),0,32;__steps:(18,37)=*(18,29),32,32;__data:(18,38)=ar(7,33);0;-1;(18,33),64,0;;__gconv_t:t(18,39)=(18,40)=*(18,36)_G_iconv_t:t(13,5)=(13,6)=u44__cd:(18,36),0,64;__combined:(13,7)=s44__cd:(18,36),0,64;__data:(18,33),64,288;;,0,352;;_G_int16_t:t(13,8)=(0,8)_G_int32_t:t(13,9)=(0,1)_G_uint16_t:t(13,10)=(0,9)_G_uint32_t:t(13,11)=(0,4)_IO_lock_t:t(12,1)=(0,20)_IO_marker:T(12,2)=s12_next:(12,3)=*(12,2),0,32;_sbuf:(12,4)=*(1,2),32,32;_pos:(0,1),64,32;;__codecvt_result:T(12,5)=e__codecvt_ok:0,__codecvt_partial:1,__codecvt_error:2,__codecvt_noconv:3,;_IO_FILE:T(1,2)=s148_flags:(0,1),0,32;_IO_read_ptr:(7,36),32,32;_IO_read_end:(7,36),64,32;_IO_read_base:(7,36),96,32;_IO_write_base:(7,36),128,32;_IO_write_ptr:(7,36),160,32;_IO_write_end:(7,36),192,32;_IO_buf_base:(7,36),224,32;_IO_buf_end:(7,36),256,32;_IO_save_base:(7,36),288,32;_IO_backup_base:(7,36),320,32;_IO_save_end:(7,36),352,32;_markers:(12,3),384,32;_chain:(12,4),416,32;_fileno:(0,1),448,32;_blksize:(0,1),480,32;_old_offset:(7,23),512,32;_cur_column:(0,9),544,16;_vtable_offset:(0,10),560,8;_shortbuf:(12,6)=ar(7,33);0;0;(0,2),568,8;_lock:(12,7)=*(12,1),576,32;_offset:(7,58),608,64;__pad1:(0,19),672,32;__pad2:(0,19),704,32;_mode:(0,1),736,32;_unused2:(12,8)=ar(7,33);0;51;(0,2),768,416;;_IO_FILE:t(12,9)=(1,2)__io_read_fn:t(12,10)=(12,11)=f(7,26)__io_write_fn:t(12,12)=(12,13)=f(7,26)__io_seek_fn:t(12,14)=(12,15)=f(0,1)__io_close_fn:t(12,16)=(12,17)=f(0,1)fpos_t:t(1,3)=(13,1)/usr/include/bits/stdio_lim.hoff_t:t(1,4)=(7,23)/usr/include/bits/stdio.h/usr/include/stdlib.hdiv_t:t(26,1)=(26,2)=s8quot:(0,1),0,32;rem:(0,1),32,32;;ldiv_t:t(26,3)=(26,4)=s8quot:(0,3),0,32;rem:(0,3),32,32;;/usr/include/sys/types.hu_char:t(29,1)=(7,1)u_short:t(29,2)=(7,2)u_int:t(29,3)=(7,3)u_long:t(29,4)=(7,4)quad_t:t(29,5)=(7,6)u_quad_t:t(29,6)=(7,5)fsid_t:t(29,7)=(7,30)loff_t:t(29,8)=(7,24)ino_t:t(29,9)=(7,20)dev_t:t(29,10)=(7,17)gid_t:t(29,11)=(7,19)mode_t:t(29,12)=(7,21)nlink_t:t(29,13)=(7,22)uid_t:t(29,14)=(7,18)pid_t:t(29,15)=(7,25)id_t:t(29,16)=(7,29)ssize_t:t(29,17)=(7,26)daddr_t:t(29,18)=(7,34)caddr_t:t(29,19)=(7,35)key_t:t(29,20)=(7,48)/usr/include/time.htime_t:t(32,1)=(7,37)clockid_t:t(32,2)=(7,42)timer_t:t(32,3)=(7,43)ulong:t(29,21)=(0,5)ushort:t(29,22)=(0,9)uint:t(29,23)=(0,4)int8_t:t(29,24)=(0,10)int16_t:t(29,25)=(0,8)int32_t:t(29,26)=(0,1)int64_t:t(29,27)=(0,6)u_int8_t:t(29,28)=(0,11)u_int16_t:t(29,29)=(0,9)u_int32_t:t(29,30)=(0,4)u_int64_t:t(29,31)=(0,7)register_t:t(29,32)=(0,1)/usr/include/endian.h/usr/include/bits/endian.h/usr/include/sys/select.h/usr/include/bits/select.h/usr/include/bits/sigset.h__sig_atomic_t:t(44,1)=(0,1)__sigset_t:t(44,2)=(44,3)=s128__val:(44,4)=ar(7,33);0;31;(0,5),0,1024;;timespec:T(45,1)=s8tv_sec:(0,3),0,32;tv_nsec:(0,3),32,32;;fd_mask:t(40,1)=(7,44)fd_set:t(40,2)=(7,45)/usr/include/sys/sysmacros.hblkcnt_t:t(29,33)=(7,51)fsblkcnt_t:t(29,34)=(7,53)fsfilcnt_t:t(29,35)=(7,55)random_data:T(26,5)=s28fptr:(26,6)=*(29,26),0,32;rptr:(26,6),32,32;state:(26,6),64,32;rand_type:(0,1),96,32;rand_deg:(0,1),128,32;rand_sep:(0,1),160,32;end_ptr:(26,6),192,32;;drand48_data:T(26,7)=s24x:(26,8)=ar(7,33);0;2;(0,9),0,48;a:(26,8),48,48;c:(0,9),96,16;old_x:(26,8),112,48;init:(0,1),160,32;;/usr/include/alloca.h__compar_fn_t:t(26,9)=(26,10)=*(26,11)=f(0,1)/usr/include/string.h/usr/include/bits/string.h/usr/include/bits/string2.h/usr/include/sys/poll.h/usr/include/bits/poll.hpollfd:T(58,1)=s8fd:(0,1),0,32;events:(0,8),32,16;revents:(0,8),48,16;;/usr/include/sys/socket.h/usr/include/bits/socket.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h/usr/include/limits.h/usr/include/bits/posix1_lim.h/usr/include/bits/local_lim.h/usr/include/linux/limits.h/usr/include/bits/posix2_lim.hsocklen_t:t(64,1)=(7,62)__socket_type:T(64,2)=eSOCK_STREAM:1,SOCK_DGRAM:2,SOCK_RAW:3,SOCK_RDM:4,SOCK_SEQPACKET:5,SOCK_PACKET:10,;/usr/include/bits/sockaddr.hsa_family_t:t(76,1)=(0,9)sockaddr:T(64,3)=s16sa_family:(76,1),0,16;sa_data:(64,4)=ar(7,33);0;13;(0,2),16,112;;sockaddr_storage:T(64,5)=s128__ss_family:(76,1),0,16;__ss_align:(7,12),32,32;__ss_padding:(64,6)=ar(7,33);0;119;(0,2),64,960;; :T(64,7)=eMSG_OOB:1,MSG_PEEK:2,MSG_DONTROUTE:4,MSG_CTRUNC:8,MSG_PROXY:16,MSG_TRUNC:32,MSG_DONTWAIT:64,MSG_EOR:128,MSG_WAITALL:256,MSG_FIN:512,MSG_SYN:1024,MSG_CONFIRM:2048,MSG_RST:4096,MSG_ERRQUEUE:8192,MSG_NOSIGNAL:16384,;msghdr:T(64,8)=s28msg_name:(0,19),0,32;msg_namelen:(64,1),32,32;msg_iov:(64,9)=*(64,10)=xsiovec:,64,32;msg_iovlen:(5,1),96,32;msg_control:(0,19),128,32;msg_controllen:(5,1),160,32;msg_flags:(0,1),192,32;;cmsghdr:T(64,11)=s12cmsg_len:(5,1),0,32;cmsg_level:(0,1),32,32;cmsg_type:(0,1),64,32;__cmsg_data:(64,12)=ar(7,33);0;-1;(0,11),96,0;; :T(64,13)=eSCM_RIGHTS:1,SCM_CREDENTIALS:2,__SCM_CONNECT:3,;ucred:T(64,14)=s12pid:(29,15),0,32;uid:(29,14),32,32;gid:(29,11),64,32;;/usr/include/asm/socket.h/usr/include/asm/sockios.hlinger:T(64,15)=s8l_onoff:(0,1),0,32;l_linger:(0,1),32,32;;osockaddr:T(61,1)=s16sa_family:(0,9),0,16;sa_data:(61,2)=ar(7,33);0;13;(0,11),16,112;; :T(61,3)=eSHUT_RD:0,SHUT_WR:1,SHUT_RDWR:2,;__SOCKADDR_ARG:t(61,4)=(61,5)=u4__sockaddr__:(61,6)=*(64,3),0,32;__sockaddr_at__:(61,7)=*(61,8)=xssockaddr_at:,0,32;__sockaddr_ax25__:(61,9)=*(61,10)=xssockaddr_ax25:,0,32;__sockaddr_dl__:(61,11)=*(61,12)=xssockaddr_dl:,0,32;__sockaddr_eon__:(61,13)=*(61,14)=xssockaddr_eon:,0,32;__sockaddr_in__:(61,15)=*(61,16)=xssockaddr_in:,0,32;__sockaddr_in6__:(61,17)=*(61,18)=xssockaddr_in6:,0,32;__sockaddr_inarp__:(61,19)=*(61,20)=xssockaddr_inarp:,0,32;__sockaddr_ipx__:(61,21)=*(61,22)=xssockaddr_ipx:,0,32;__sockaddr_iso__:(61,23)=*(61,24)=xssockaddr_iso:,0,32;__sockaddr_ns__:(61,25)=*(61,26)=xssockaddr_ns:,0,32;__sockaddr_un__:(61,27)=*(61,28)=xssockaddr_un:,0,32;__sockaddr_x25__:(61,29)=*(61,30)=xssockaddr_x25:,0,32;;__CONST_SOCKADDR_ARG:t(61,31)=(61,32)=u4__sockaddr__:(61,33)=*(64,3),0,32;__sockaddr_at__:(61,34)=*(61,8),0,32;__sockaddr_ax25__:(61,35)=*(61,10),0,32;__sockaddr_dl__:(61,36)=*(61,12),0,32;__sockaddr_eon__:(61,37)=*(61,14),0,32;__sockaddr_in__:(61,38)=*(61,16),0,32;__sockaddr_in6__:(61,39)=*(61,18),0,32;__sockaddr_inarp__:(61,40)=*(61,20),0,32;__sockaddr_ipx__:(61,41)=*(61,22),0,32;__sockaddr_iso__:(61,42)=*(61,24),0,32;__sockaddr_ns__:(61,43)=*(61,26),0,32;__sockaddr_un__:(61,44)=*(61,28),0,32;__sockaddr_x25__:(61,45)=*(61,30),0,32;;/usr/include/netdb.h/usr/include/rpc/netdb.hrpcent:T(81,1)=s12r_name:(7,36),0,32;r_aliases:(81,2)=*(7,36),32,32;r_number:(0,1),64,32;;uint32_t:t(79,1)=(0,4)/usr/include/bits/netdb.hnetent:T(86,1)=s16n_name:(7,36),0,32;n_aliases:(81,2),32,32;n_addrtype:(0,1),64,32;n_net:(79,1),96,32;;hostent:T(79,2)=s20h_name:(7,36),0,32;h_aliases:(81,2),32,32;h_addrtype:(0,1),64,32;h_length:(64,1),96,32;h_addr_list:(81,2),128,32;;servent:T(79,3)=s16s_name:(7,36),0,32;s_aliases:(81,2),32,32;s_port:(0,1),64,32;s_proto:(7,36),96,32;;protoent:T(79,4)=s12p_name:(7,36),0,32;p_aliases:(81,2),32,32;p_proto:(0,1),64,32;;addrinfo:T(79,5)=s32ai_flags:(0,1),0,32;ai_family:(0,1),32,32;ai_socktype:(0,1),64,32;ai_protocol:(0,1),96,32;ai_addrlen:(64,1),128,32;ai_addr:(61,6),160,32;ai_canonname:(7,36),192,32;ai_next:(79,6)=*(79,5),224,32;;/usr/include/netinet/in.h/usr/include/stdint.h/usr/include/bits/wordsize.huint8_t:t(90,1)=(0,11)uint16_t:t(90,2)=(0,9)uint64_t:t(90,3)=(0,7)int_least8_t:t(90,4)=(0,10)int_least16_t:t(90,5)=(0,8)int_least32_t:t(90,6)=(0,1)int_least64_t:t(90,7)=(0,6)uint_least8_t:t(90,8)=(0,11)uint_least16_t:t(90,9)=(0,9)uint_least32_t:t(90,10)=(0,4)uint_least64_t:t(90,11)=(0,7)int_fast8_t:t(90,12)=(0,10)int_fast16_t:t(90,13)=(0,1)int_fast32_t:t(90,14)=(0,1)int_fast64_t:t(90,15)=(0,6)uint_fast8_t:t(90,16)=(0,11)uint_fast16_t:t(90,17)=(0,4)uint_fast32_t:t(90,18)=(0,4)uint_fast64_t:t(90,19)=(0,7)intptr_t:t(90,20)=(0,1)uintptr_t:t(90,21)=(0,4)intmax_t:t(90,22)=(0,6)uintmax_t:t(90,23)=(0,7) :T(87,1)=eIPPROTO_IP:0,IPPROTO_HOPOPTS:0,IPPROTO_ICMP:1,IPPROTO_IGMP:2,IPPROTO_IPIP:4,IPPROTO_TCP:6,IPPROTO_EGP:8,IPPROTO_PUP:12,IPPROTO_UDP:17,IPPROTO_IDP:22,IPPROTO_TP:29,IPPROTO_IPV6:41,IPPROTO_ROUTING:43,IPPROTO_FRAGMENT:44,IPPROTO_RSVP:46,IPPROTO_GRE:47,IPPROTO_ESP:50,IPPROTO_AH:51,IPPROTO_ICMPV6:58,IPPROTO_NONE:59,IPPROTO_DSTOPTS:60,IPPROTO_MTP:92,IPPROTO_ENCAP:98,IPPROTO_PIM:103,IPPROTO_COMP:108,IPPROTO_RAW:255,IPPROTO_MAX:256,;in_port_t:t(87,2)=(90,2) :T(87,3)=eIPPORT_ECHO:7,IPPORT_DISCARD:9,IPPORT_SYSTAT:11,IPPORT_DAYTIME:13,IPPORT_NETSTAT:15,IPPORT_FTP:21,IPPORT_TELNET:23,IPPORT_SMTP:25,IPPORT_TIMESERVER:37,IPPORT_NAMESERVER:42,IPPORT_WHOIS:43,IPPORT_MTP:57,IPPORT_TFTP:69,IPPORT_RJE:77,IPPORT_FINGER:79,IPPORT_TTYLINK:87,IPPORT_SUPDUP:95,IPPORT_EXECSERVER:512,IPPORT_LOGINSERVER:513,IPPORT_CMDSERVER:514,IPPORT_EFSSERVER:520,IPPORT_BIFFUDP:512,IPPORT_WHOSERVER:513,IPPORT_ROUTESERVER:520,IPPORT_RESERVED:1024,IPPORT_USERRESERVED:5000,;in_addr_t:t(87,4)=(79,1)in_addr:T(87,5)=s4s_addr:(87,4),0,32;;in6_addr:T(87,6)=s16in6_u:(87,7)=u16u6_addr8:(87,8)=ar(7,33);0;15;(90,1),0,128;u6_addr16:(87,9)=ar(7,33);0;7;(90,2),0,128;u6_addr32:(87,10)=ar(7,33);0;3;(79,1),0,128;;,0,128;;sockaddr_in:T(61,16)=s16sin_family:(76,1),0,16;sin_port:(87,2),16,16;sin_addr:(87,5),32,32;sin_zero:(87,11)=ar(7,33);0;7;(0,11),64,64;;sockaddr_in6:T(61,18)=s28sin6_family:(76,1),0,16;sin6_port:(87,2),16,16;sin6_flowinfo:(79,1),32,32;sin6_addr:(87,6),64,128;sin6_scope_id:(79,1),192,32;;ipv6_mreq:T(87,12)=s20ipv6mr_multiaddr:(87,6),0,128;ipv6mr_interface:(0,4),128,32;;/usr/include/bits/in.hip_opts:T(97,1)=s44ip_dst:(87,5),0,32;ip_opts:(97,2)=ar(7,33);0;39;(0,2),32,320;;ip_mreq:T(97,3)=s8imr_multiaddr:(87,5),0,32;imr_interface:(87,5),32,32;;ip_mreqn:T(97,4)=s12imr_multiaddr:(87,5),0,32;imr_address:(87,5),32,32;imr_ifindex:(0,1),64,32;;in_pktinfo:T(97,5)=s12ipi_ifindex:(0,1),0,32;ipi_spec_dst:(87,5),32,32;ipi_addr:(87,5),64,32;;/usr/include/bits/byteswap.hin6_pktinfo:T(87,13)=s20ipi6_addr:(87,6),0,128;ipi6_ifindex:(0,4),128,32;;/usr/include/netinet/tcp.htcphdr:T(100,1)=s20source:(29,29),0,16;dest:(29,29),16,16;seq:(29,30),32,32;ack_seq:(29,30),64,32;res1:(29,29),96,4;doff:(29,29),100,4;fin:(29,29),104,1;syn:(29,29),105,1;rst:(29,29),106,1;psh:(29,29),107,1;ack:(29,29),108,1;urg:(29,29),109,1;res2:(29,29),110,2;window:(29,29),112,16;check:(29,29),128,16;urg_ptr:(29,29),144,16;; :T(100,2)=eTCP_ESTABLISHED:1,TCP_SYN_SENT:2,TCP_SYN_RECV:3,TCP_FIN_WAIT1:4,TCP_FIN_WAIT2:5,TCP_TIME_WAIT:6,TCP_CLOSE:7,TCP_CLOSE_WAIT:8,TCP_LAST_ACK:9,TCP_LISTEN:10,TCP_CLOSING:11,;/usr/include/sys/time.h/usr/include/bits/time.hclock_t:t(106,1)=(7,41)tm:T(106,2)=s44tm_sec:(0,1),0,32;tm_min:(0,1),32,32;tm_hour:(0,1),64,32;tm_mday:(0,1),96,32;tm_mon:(0,1),128,32;tm_year:(0,1),160,32;tm_wday:(0,1),192,32;tm_yday:(0,1),224,32;tm_isdst:(0,1),256,32;tm_gmtoff:(0,3),288,32;tm_zone:(18,32),320,32;;itimerspec:T(106,3)=s16it_interval:(45,1),0,64;it_value:(45,1),64,64;;timeval:T(112,1)=s8tv_sec:(7,37),0,32;tv_usec:(7,39),32,32;;suseconds_t:t(104,1)=(7,39)timezone:T(104,2)=s8tz_minuteswest:(0,1),0,32;tz_dsttime:(0,1),32,32;;__timezone_ptr_t:t(104,3)=(104,4)=*(104,2)__itimer_which:T(104,5)=eITIMER_REAL:0,ITIMER_VIRTUAL:1,ITIMER_PROF:2,;itimerval:T(104,6)=s16it_interval:(112,1),0,64;it_value:(112,1),64,64;;__itimer_which_t:t(104,7)=(0,1)/usr/include/unistd.h/usr/include/bits/posix_opt.h/usr/include/bits/confname.h :T(119,1)=e_PC_LINK_MAX:0,_PC_MAX_CANON:1,_PC_MAX_INPUT:2,_PC_NAME_MAX:3,_PC_PATH_MAX:4,_PC_PIPE_BUF:5,_PC_CHOWN_RESTRICTED:6,_PC_NO_TRUNC:7,_PC_VDISABLE:8,_PC_SYNC_IO:9,_PC_ASYNC_IO:10,_PC_PRIO_IO:11,_PC_SOCK_MAXBUF:12,_PC_FILESIZEBITS:13,; :T(119,2)=e_SC_ARG_MAX:0,_SC_CHILD_MAX:1,_SC_CLK_TCK:2,_SC_NGROUPS_MAX:3,_SC_OPEN_MAX:4,_SC_STREAM_MAX:5,_SC_TZNAME_MAX:6,_SC_JOB_CONTROL:7,_SC_SAVED_IDS:8,_SC_REALTIME_SIGNALS:9,_SC_PRIORITY_SCHEDULING:10,_SC_TIMERS:11,_SC_ASYNCHRONOUS_IO:12,_SC_PRIORITIZED_IO:13,_SC_SYNCHRONIZED_IO:14,_SC_FSYNC:15,_SC_MAPPED_FILES:16,_SC_MEMLOCK:17,_SC_MEMLOCK_RANGE:18,_SC_MEMORY_PROTECTION:19,_SC_MESSAGE_PASSING:20,_SC_SEMAPHORES:21,_SC_SHARED_MEMORY_OBJECTS:22,_SC_AIO_LISTIO_MAX:23,_SC_AIO_MAX:24,_SC_AIO_PRIO_DELTA_MAX:25,_SC_DELAYTIMER_MAX:26,_SC_MQ_OPEN_MAX:27,_SC_MQ_PRIO_MAX:28,_SC_VERSION:29,_SC_PAGESIZE:30,_SC_RTSIG_MAX:31,_SC_SEM_NSEMS_MAX:32,_SC_SEM_VALUE_MAX:33,_SC_SIGQUEUE_MAX:34,_SC_TIMER_MAX:35,_SC_BC_BASE_MAX:36,_SC_BC_DIM_MAX:37,_SC_BC_SCALE_MAX:38,_SC_BC_STRING_MAX:39,_SC_COLL_WEIGHTS_MAX:40,_SC_EQUIV_CLASS_MAX:41,_SC_EXPR_NEST_MAX:42,_SC_LINE_MAX:43,_SC_RE_DUP_MAX:44,_SC_CHARCLASS_NAME_MAX:45,_SC_2_VERSION:46,_SC_2_C_BIND:47,_SC_2_C_DEV:48,_SC_2_FORT_DEV:49,_SC_2_FORT_RUN:50,_SC_2_SW_DEV:51,_SC_2_LOCALEDEF:52,_SC_PII:53,_SC_PII_XTI:54,_SC_PII_SOCKET:55,_SC_PII_INTERNET:56,_SC_PII_OSI:57,_SC_POLL:58,_SC_SELECT:59,_SC_UIO_MAXIOV:60,_SC_PII_INTERNET_STREAM:61,_SC_PII_INTERNET_DGRAM:62,_SC_PII_OSI_COTS:63,_SC_PII_OSI_CLTS:64,_SC_PII_OSI_M:65,_SC_T_IOV_MAX:66,_SC_THREADS:67,_SC_THREAD_SAFE_FUNCTIONS:68,_SC_GETGR_R_SIZE_MAX:69,_SC_GETPW_R_SIZE_MAX:70,_SC_LOGIN_NAME_MAX:71,_SC_TTY_NAME_MAX:72,_SC_THREAD_DESTRUCTOR_ITERATIONS:73,_SC_THREAD_KEYS_MAX:74,_SC_THREAD_STACK_MIN:75,_SC_THREAD_THREADS_MAX:76,_SC_THREAD_ATTR_STACKADDR:77,_SC_THREAD_ATTR_STACKSIZE:78,_SC_THREAD_PRIORITY_SCHEDULING:79,_SC_THREAD_PRIO_INHERIT:80,_SC_THREAD_PRIO_PROTECT:81,_SC_THREAD_PROCESS_SHARED:82,_SC_NPROCESSORS_CONF:83,_SC_NPROCESSORS_ONLN:84,_SC_PHYS_PAGES:85,_SC_AVPHYS_PAGES:86,_SC_ATEXIT_MAX:87,_SC_PASS_MAX:88,_SC_XOPEN_VERSION:89,_SC_XOPEN_XCU_VERSION:90,_SC_XOPEN_UNIX:91,_SC_XOPEN_CRYPT:92,_SC_XOPEN_ENH_I18N:93,_SC_XOPEN_SHM:94,_SC_2_CHAR_TERM:95,_SC_2_C_VERSION:96,_SC_2_UPE:97,_SC_XOPEN_XPG2:98,_SC_XOPEN_XPG3:99,_SC_XOPEN_XPG4:100,_SC_CHAR_BIT:101,_SC_CHAR_MAX:102,_SC_CHAR_MIN:103,_SC_INT_MAX:104,_SC_INT_MIN:105,_SC_LONG_BIT:106,_SC_WORD_BIT:107,_SC_MB_LEN_MAX:108,_SC_NZERO:109,_SC_SSIZE_MAX:110,_SC_SCHAR_MAX:111,_SC_SCHAR_MIN:112,_SC_SHRT_MAX:113,_SC_SHRT_MIN:114,_SC_UCHAR_MAX:115,_SC_UINT_MAX:116,_SC_ULONG_MAX:117,_SC_USHRT_MAX:118,_SC_NL_ARGMAX:119,_SC_NL_LANGMAX:120,_SC_NL_MSGMAX:121,_SC_NL_NMAX:122,_SC_NL_SETMAX:123,_SC_NL_TEXTMAX:124,_SC_XBS5_ILP32_OFF32:125,_SC_XBS5_ILP32_OFFBIG:126,_SC_XBS5_LP64_OFF64:127,_SC_XBS5_LPBIG_OFFBIG:128,_SC_XOPEN_LEGACY:129,_SC_XOPEN_REALTIME:130,_SC_XOPEN_REALTIME_THREADS:131,_SC_ADVISORY_INFO:132,_SC_BARRIERS:133,_SC_BASE:134,_SC_C_LANG_SUPPORT:135,_SC_C_LANG_SUPPORT_R:136,_SC_CLOCK_SELECTION:137,_SC_CPUTIME:138,_SC_THREAD_CPUTIME:139,_SC_DEVICE_IO:140,_SC_DEVICE_SPECIFIC:141,_SC_DEVICE_SPECIFIC_R:142,_SC_FD_MGMT:143,_SC_FIFO:144,_SC_PIPE:145,_SC_FILE_ATTRIBUTES:146,_SC_FILE_LOCKING:147,_SC_FILE_SYSTEM:148,_SC_MONOTONIC_CLOCK:149,_SC_MULTIPLE_PROCESS:150,_SC_SINGLE_PROCESS:151,_SC_NETWORKING:152,_SC_READER_WRITER_LOCKS:153,_SC_SPIN_LOCKS:154,_SC_REGEXP:155,_SC_REGEX_VERSION:156,_SC_SHELL:157,_SC_SIGNALS:158,_SC_SPAWN:159,_SC_SPORADIC_SERVER:160,_SC_THREAD_SPORADIC_SERVER:161,_SC_SYSTEM_DATABASE:162,_SC_SYSTEM_DATABASE_R:163,_SC_TIMEOUTS:164,_SC_TYPED_MEMORY_OBJECTS:165,_SC_USER_GROUPS:166,_SC_USER_GROUPS_R:167,_SC_PBS:168,_SC_PBS_ACCOUNTING:169,_SC_PBS_LOCATE:170,_SC_PBS_MESSAGE:171,_SC_PBS_TRACK:172,_SC_SYMLOOP:173,; :T(119,3)=e_CS_PATH:0,;/usr/include/getopt.h/usr/include/signal.hsig_atomic_t:t(121,1)=(44,1)sigset_t:t(121,2)=(44,2)/usr/include/bits/signum.h__sighandler_t:t(121,3)=(121,4)=*(121,5)=f(0,20)sig_t:t(121,6)=(121,3)/usr/include/bits/siginfo.hsigval:T(127,1)=u4sival_int:(0,1),0,32;sival_ptr:(0,19),0,32;;sigval_t:t(127,2)=(127,1)siginfo:T(127,3)=s128si_signo:(0,1),0,32;si_errno:(0,1),32,32;si_code:(0,1),64,32;_sifields:(127,4)=u116_pad:(127,5)=ar(7,33);0;28;(0,1),0,928;_kill:(127,6)=s8si_pid:(7,25),0,32;si_uid:(7,18),32,32;;,0,64;_timer:(127,7)=s8_timer1:(0,4),0,32;_timer2:(0,4),32,32;;,0,64;_rt:(127,8)=s12si_pid:(7,25),0,32;si_uid:(7,18),32,32;si_sigval:(127,2),64,32;;,0,96;_sigchld:(127,9)=s20si_pid:(7,25),0,32;si_uid:(7,18),32,32;si_status:(0,1),64,32;si_utime:(7,41),96,32;si_stime:(7,41),128,32;;,0,160;_sigfault:(127,10)=s4si_addr:(0,19),0,32;;,0,32;_sigpoll:(127,11)=s8si_band:(0,3),0,32;si_fd:(0,1),32,32;;,0,64;;,96,928;;siginfo_t:t(127,12)=(127,3) :T(127,13)=eSI_SIGIO:-5,SI_ASYNCIO:-4,SI_MESGQ:-3,SI_TIMER:-2,SI_QUEUE:-1,SI_USER:0,SI_KERNEL:128,; :T(127,14)=eILL_ILLOPC:1,ILL_ILLOPN:2,ILL_ILLADR:3,ILL_ILLTRP:4,ILL_PRVOPC:5,ILL_PRVREG:6,ILL_COPROC:7,ILL_BADSTK:8,; :T(127,15)=eFPE_INTDIV:1,FPE_INTOVF:2,FPE_FLTDIV:3,FPE_FLTOVF:4,FPE_FLTUND:5,FPE_FLTRES:6,FPE_FLTINV:7,FPE_FLTSUB:8,; :T(127,16)=eSEGV_MAPERR:1,SEGV_ACCERR:2,; :T(127,17)=eBUS_ADRALN:1,BUS_ADRERR:2,BUS_OBJERR:3,; :T(127,18)=eTRAP_BRKPT:1,TRAP_TRACE:2,; :T(127,19)=eCLD_EXITED:1,CLD_KILLED:2,CLD_DUMPED:3,CLD_TRAPPED:4,CLD_STOPPED:5,CLD_CONTINUED:6,; :T(127,20)=ePOLL_IN:1,POLL_OUT:2,POLL_MSG:3,POLL_ERR:4,POLL_PRI:5,POLL_HUP:6,;sigevent:T(127,21)=s64sigev_value:(127,2),0,32;sigev_signo:(0,1),32,32;sigev_notify:(0,1),64,32;_sigev_un:(127,22)=u52_pad:(127,23)=ar(7,33);0;12;(0,1),0,416;_sigev_thread:(127,24)=s8_function:(127,25)=*(127,26)=f(0,20),0,32;_attribute:(0,19),32,32;;,0,64;;,96,416;;sigevent_t:t(127,27)=(127,21) :T(127,28)=eSIGEV_SIGNAL:0,SIGEV_NONE:1,SIGEV_THREAD:2,;/usr/include/bits/sigaction.hsigaction:T(129,1)=s140__sigaction_handler:(129,2)=u4sa_handler:(121,3),0,32;sa_sigaction:(129,3)=*(129,4)=f(0,20),0,32;;,0,32;sa_mask:(44,2),32,1024;sa_flags:(0,1),1056,32;sa_restorer:(129,5)=*(129,6)=f(0,20),1088,32;;sigvec:T(121,7)=s12sv_handler:(121,3),0,32;sv_mask:(0,1),32,32;sv_flags:(0,1),64,32;;/usr/include/bits/sigcontext.h/usr/include/asm/sigcontext.h_fpreg:T(131,1)=s10significand:(131,2)=ar(7,33);0;3;(0,9),0,64;exponent:(0,9),64,16;;_fpxreg:T(131,3)=s16significand:(131,2),0,64;exponent:(0,9),64,16;padding:(26,8),80,48;;_xmmreg:T(131,4)=s16element:(131,5)=ar(7,33);0;3;(0,5),0,128;;_fpstate:T(131,6)=s624cw:(0,5),0,32;sw:(0,5),32,32;tag:(0,5),64,32;ipoff:(0,5),96,32;cssel:(0,5),128,32;dataoff:(0,5),160,32;datasel:(0,5),192,32;_st:(131,7)=ar(7,33);0;7;(131,1),224,640;status:(0,9),864,16;magic:(0,9),880,16;_fxsr_env:(131,8)=ar(7,33);0;5;(0,5),896,192;mxcsr:(0,5),1088,32;reserved:(0,5),1120,32;_fxsr_st:(131,9)=ar(7,33);0;7;(131,3),1152,1024;_xmm:(131,10)=ar(7,33);0;7;(131,4),2176,1024;padding:(131,11)=ar(7,33);0;55;(0,5),3200,1792;;sigcontext:T(131,12)=s88gs:(0,9),0,16;__gsh:(0,9),16,16;fs:(0,9),32,16;__fsh:(0,9),48,16;es:(0,9),64,16;__esh:(0,9),80,16;ds:(0,9),96,16;__dsh:(0,9),112,16;edi:(0,5),128,32;esi:(0,5),160,32;ebp:(0,5),192,32;esp:(0,5),224,32;ebx:(0,5),256,32;edx:(0,5),288,32;ecx:(0,5),320,32;eax:(0,5),352,32;trapno:(0,5),384,32;err:(0,5),416,32;eip:(0,5),448,32;cs:(0,9),480,16;__csh:(0,9),496,16;eflags:(0,5),512,32;esp_at_signal:(0,5),544,32;ss:(0,9),576,16;__ssh:(0,9),592,16;fpstate:(131,13)=*(131,6),608,32;oldmask:(0,5),640,32;cr2:(0,5),672,32;;/usr/include/bits/sigstack.hsigstack:T(132,1)=s8ss_sp:(0,19),0,32;ss_onstack:(0,1),32,32;; :T(132,2)=eSS_ONSTACK:1,SS_DISABLE:2,;sigaltstack:T(132,3)=s12ss_sp:(0,19),0,32;ss_flags:(0,1),32,32;ss_size:(5,1),64,32;;stack_t:t(132,4)=(132,3)/usr/include/bits/sigthread.h/usr/include/sys/stat.h/usr/include/bits/stat.hstat:T(138,1)=s88st_dev:(7,17),0,64;__pad1:(0,9),64,16;st_ino:(7,20),96,32;st_mode:(7,21),128,32;st_nlink:(7,22),160,32;st_uid:(7,18),192,32;st_gid:(7,19),224,32;st_rdev:(7,17),256,64;__pad2:(0,9),320,16;st_size:(7,23),352,32;st_blksize:(7,50),384,32;st_blocks:(7,51),416,32;st_atime:(7,37),448,32;__unused1:(0,5),480,32;st_mtime:(7,37),512,32;__unused2:(0,5),544,32;st_ctime:(7,37),576,32;__unused3:(0,5),608,32;__unused4:(0,5),640,32;__unused5:(0,5),672,32;;/usr/include/sys/ioctl.h/usr/include/bits/ioctls.h/usr/include/asm/ioctls.h/usr/include/asm/ioctl.h/usr/include/bits/ioctl-types.hwinsize:T(144,1)=s8ws_row:(0,9),0,16;ws_col:(0,9),16,16;ws_xpixel:(0,9),32,16;ws_ypixel:(0,9),48,16;;termio:T(144,2)=s18c_iflag:(0,9),0,16;c_oflag:(0,9),16,16;c_cflag:(0,9),32,16;c_lflag:(0,9),48,16;c_line:(0,11),64,8;c_cc:(87,11),72,64;;/usr/include/sys/ttydefaults.h/usr/include/fcntl.h/usr/include/bits/fcntl.hflock:T(149,1)=s16l_type:(0,8),0,16;l_whence:(0,8),16,16;l_start:(7,23),32,32;l_len:(7,23),64,32;l_pid:(7,25),96,32;;/usr/include/errno.h/usr/include/bits/errno.h/usr/include/linux/errno.h/usr/include/asm/errno.hvapi_write_stream:f(0,1)fd:p(0,1)buf:p(0,19)len:p(0,1)len:r(0,1)n:r(0,1)w_buf:r(7,36)block:(58,1)vapi_read_stream:f(0,1)r_buf:r(7,36)write_packet:f(0,1)id:p(0,5)data:p(0,5)read_packet:f(0,1)id:p(0,21)=*(0,5)data:p(0,21)id:r(0,21)data:r(0,21)connect_to_server:f(0,1)hostname:p(7,36)name:p(7,36)name:r(7,36)host:r(0,22)=*(79,2)sin:(61,16)service:r(0,23)=*(79,3)protocol:(0,24)=*(79,4)sock:r(0,1)flags:(0,1)sTemp:(0,25)=ar(7,33);0;255;(0,2)sTemp2:(0,25)proto_name:r(7,36)port:r(0,1)on_off:(0,1)s:(7,36)vapi_init:F(0,1)port_name:p(7,36)port:r(7,36)hostname:(0,25)vapi_done:F(0,20)linger:(64,15)sTemp:(0,25)vapi_write:F(0,20)data:r(0,5)vapi_read:F(0,5)id:(0,5)data:(0,5)vapi_waiting:F(0,1)fds:(0,26)=ar(7,33);0;0;(58,1)main:F(0,1)argc:p(0,1)argv:p(81,2)argv:r(81,2)vapi_fd:G(0,1)vapi_id:G(0,5)uart.cfail:F(0,20)func:p(0,21)=*(0,2)line:p(0,1)recv_char:F(0,20)c:p(0,1)c:(0,2)tmp:r(0,5)send_char:F(0,20)read_string:F(0,21)s:p(0,21)t:r(0,21)compare_string:F(0,20)s:r(0,21)send_string:F(0,20)init_8n1:F(0,20)test_registers:F(0,20)send_recv_test:F(0,20)break_test:F(0,20)r:r(0,5)test_mode:F(0,20)nbits:p(0,1)nbits:r(0,1)mask:r(0,4)different_modes_test:F(0,20)speed:r(0,1)length:r(0,1)parity:r(0,1)interrupt_test:F(0,20)control_register_test:F(0,20)line_error_test:F(0,20)vapi_main:F(0,1)str:G(0,22)=ar(0,23)=r(0,23);0000000000000;0037777777777;;0;4999;(0,2)control:G(0,1)control_rx:G(0,1)GCC: (GNU) 2.96 20000731 (experimental)GCC: (GNU) 2.96 20000731 (experimental)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (experimental)01.0101.0101.0101.0101.0101.0101.01.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.got.rel.bss.rel.plt.init.plt.text.fini.rodata.data.eh_frame.ctors.dtors.got.dynamic.sbss.bss.stab.stabstr.comment.noteô€ô# 1((Ø7 ‚0?0„0~Gÿÿÿo®…®FTþÿÿoô…ô0c $†$l ,†,u 4†4ø ~,‡,/„\‡\‰`‰` `Ÿ`•€Ÿ€­ 0´0$£@´@$­D´D$´L´L$»T´T$ŒÀà´à$ É€µ€%Ï€µ€%è Ô€%ä? Úde€ãlåSì¿æŒKçòí@ ¨õ¼ô€(‚0„®…ô…$†,† 4† -,‡ \‡ `‰ -`Ÿ€Ÿ0´@´D´L´T´à´€µ€µñÿ „‰ -ñÿ"ñÿ ‰ --8´1L´?<´K‰ -a@´tð‰ -„µˆŠ -”0Š -Ÿ@´­D´"ñÿ Ÿ -» Ÿ -ÑH´”PŸ -Ÿ@´ÞP´ë@´ñÿ `Ÿ -ùñÿ@Š¢ -䊒 -#x‹g -0à‹h -<HŒÞ -NñÿUX“& -Z(” -d0•4 -pÀµxl‡gŠôž# -”à´|‡"¾Œ‡@Ïœ‡B߬‡:ð÷¼‡v ̇-t– -'œµ/܇RH€‘” -Rì‡1f4´sü‡,‡ •H”y -¡€“¦ -« ˆ¬"Î8‘E -Ùĵ䀵öˆ= ,ˆB& µ.`‰ -5( -?Ä”i -N<ˆák’j -x¼•¶ -‡LˆÄšd•2 -£€µñÿ¯˜•# -¾€’Õ -Ã\ˆààlˆªò0´ ý|ˆ2`ŸŒˆ;&œˆ)8¬ˆ‘"T¼ˆ¨m¤›R -|̈Œø” -¢܈-´€µñÿ»ˆ™G -ÅT´ÛhÉñÿàൈäìˆ=÷üˆœ -„Ÿ ‰-,Œže -<0´I‰éZ,‰=l(þ -v<‰@†ЙÓ -› ªL‰0initfini.cgcc2_compiled.init.ccrtstuff.cp.0__DTOR_LIST__completed.1__do_global_dtors_aux__EH_FRAME_BEGIN__fini_dummyobject.2frame_dummyinit_dummyforce_to_data__CTOR_LIST____do_global_ctors_aux__CTOR_END____DTOR_END____FRAME_END__vapi.cvapi_write_streamvapi_read_streamwrite_packetread_packetconnect_to_serveruart.cfailsend_charsend_stringcontrolstrchr@@GLIBC_2.0vapi_main_DYNAMIC__register_frame_info@@GLIBC_2.0write@@GLIBC_2.0poll@@GLIBC_2.0close@@GLIBC_2.0_fp_hwperror@@GLIBC_2.0fprintf@@GLIBC_2.0break_testvapi_idgetservbyname@@GLIBC_2.0vapi_readstrerror@@GLIBC_2.0__dso_handle__errno_location@@GLIBC_2.0_initread_stringrecv_char__deregister_frame_info@@GLIBC_2.0vapi_writecontrol_rxstderr@@GLIBC_2.0setsockopt@@GLIBC_2.0getprotobyname@@GLIBC_2.0vapi_fd_startvapi_donecompare_string__strtol_internal@@GLIBC_2.0vapi_waitingsend_recv_teststrncmp@@GLIBC_2.0init_8n1__bss_starttest_registersmain__libc_start_main@@GLIBC_2.0strcat@@GLIBC_2.0data_startprintf@@GLIBC_2.0_finifcntl@@GLIBC_2.0memcpy@@GLIBC_2.0__cxa_finalize@@GLIBC_2.1.3gethostbyname@@GLIBC_2.0interrupt_testexit@@GLIBC_2.0control_register_testsscanf@@GLIBC_2.0_edatatest_mode_GLOBAL_OFFSET_TABLE__endstrconnect@@GLIBC_2.0strncpy@@GLIBC_2.0_IO_stdin_usedsprintf@@GLIBC_2.0line_error_test__data_starterror@@GLIBC_2.0socket@@GLIBC_2.0vapi_initread@@GLIBC_2.0different_modes_test__gmon_start__strcpy@@GLIBC_2.0 \ No newline at end of file
tags/initial/uart Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/Makefile =================================================================== --- tags/initial/Makefile (revision 12) +++ tags/initial/Makefile (nonexistent) @@ -1,353 +0,0 @@ -# Generated automatically from Makefile.in by configure. -# Makefile.in generated automatically by automake 1.4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 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. - - -SHELL = /bin/sh - -srcdir = . -top_srcdir = . -prefix = /usr/local -exec_prefix = ${prefix} - -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 -infodir = ${prefix}/info -mandir = ${prefix}/man -includedir = ${prefix}/include -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/vapi -pkglibdir = $(libdir)/vapi -pkgincludedir = $(includedir)/vapi - -top_builddir = . - -ACLOCAL = aclocal -AUTOCONF = autoconf -AUTOMAKE = automake -AUTOHEADER = autoheader - -INSTALL = /usr/bin//install -c -INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_SCRIPT = ${INSTALL_PROGRAM} -transform = s,x,x, - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -CC = gcc -MAKEINFO = makeinfo -PACKAGE = vapi -VERSION = 1.1 - -bin_PROGRAMS = uart - -uart_SOURCES = vapi.c vapi.h uart.c -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -I. -I$(srcdir) -CPPFLAGS = -LDFLAGS = -LIBS = -uart_OBJECTS = vapi.o uart.o -uart_LDADD = $(LDADD) -uart_DEPENDENCIES = -uart_LDFLAGS = -CFLAGS = -g -O2 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = COPYING INSTALL Makefile.am Makefile.in aclocal.m4 \ -config.guess config.sub configure configure.in install-sh missing \ -mkinstalldirs - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = gtar -GZIP_ENV = --best -DEP_FILES = .deps/uart.P .deps/vapi.P -SOURCES = $(uart_SOURCES) -OBJECTS = $(uart_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) - @rm -f uart - $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(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 - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: -dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am - -install-data-am: -install-data: install-data-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-am - -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-am - -rm -f config.status - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -rm -f config.status - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# 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: Index: tags/initial/aclocal.m4 =================================================================== --- tags/initial/aclocal.m4 (revision 12) +++ tags/initial/aclocal.m4 (nonexistent) @@ -1,104 +0,0 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4 - -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -# Do all the work for Automake. 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. - -# serial 1 - -dnl Usage: -dnl AM_INIT_AUTOMAKE(package,version, [no-define]) - -AC_DEFUN(AM_INIT_AUTOMAKE, -[AC_REQUIRE([AC_PROG_INSTALL]) -PACKAGE=[$1] -AC_SUBST(PACKAGE) -VERSION=[$2] -AC_SUBST(VERSION) -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 -ifelse([$3],, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) -AC_REQUIRE([AM_SANITY_CHECK]) -AC_REQUIRE([AC_ARG_PROGRAM]) -dnl FIXME This is truly gross. -missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) -AC_REQUIRE([AC_PROG_MAKE_SET])]) - -# -# Check to make sure that the build environment is sane. -# - -AC_DEFUN(AM_SANITY_CHECK, -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftestfile -# 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 conftestfile 2> /dev/null` - if test "[$]*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $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" = conftestfile - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -rm -f conftest* -AC_MSG_RESULT(yes)]) - -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) -dnl The program must properly implement --version. -AC_DEFUN(AM_MISSING_PROG, -[AC_MSG_CHECKING(for working $2) -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if ($2 --version) < /dev/null > /dev/null 2>&1; then - $1=$2 - AC_MSG_RESULT(found) -else - $1="$3/missing $2" - AC_MSG_RESULT(missing) -fi -AC_SUBST($1)]) - Index: tags/initial/vapi.c =================================================================== --- tags/initial/vapi.c (revision 12) +++ tags/initial/vapi.c (nonexistent) @@ -1,374 +0,0 @@ -/* vapi.c -- Verification API Interface test side - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -int vapi_fd; -unsigned long vapi_id; - -static int vapi_write_stream(int fd, void* buf, int len) -{ - int n; - char* w_buf = (char*)buf; - struct pollfd block; - - while(len) { - if((n = write(fd,w_buf,len)) < 0) { - switch(errno) { - case EWOULDBLOCK: /* or EAGAIN */ - /* We've been called on a descriptor marked - for nonblocking I/O. We better simulate - blocking behavior. */ - block.fd = fd; - block.events = POLLOUT; - block.revents = 0; - poll(&block,1,-1); - continue; - case EINTR: - continue; - case EPIPE: - close(fd); - vapi_fd = 0; - return -1; - default: - return -1; - } - } else { - len -= n; - w_buf += n; - } - } - return 0; -} - -static int vapi_read_stream(int fd, void* buf, int len) -{ - int n; - char* r_buf = (char*)buf; - struct pollfd block; - - while(len) { - if((n = read(fd,r_buf,len)) < 0) { - switch(errno) { - case EWOULDBLOCK: /* or EAGAIN */ - /* We've been called on a descriptor marked - for nonblocking I/O. We better simulate - blocking behavior. */ - block.fd = fd; - block.events = POLLIN; - block.revents = 0; - poll(&block,1,-1); - continue; - case EINTR: - continue; - default: - return -1; - } - } else if(n == 0) { - close(fd); - fd = 0; - return -1; - } else { - len -= n; - r_buf += n; - } - } - return 0; -} - -static int write_packet (unsigned long id, unsigned long data) { - id = htonl (id); - if (vapi_write_stream(vapi_fd, &id, sizeof (id)) < 0) - return 1; - data = htonl (data); - if (vapi_write_stream(vapi_fd, &data, sizeof (data)) < 0) - return 1; - return 0; -} - -static int read_packet (unsigned long *id, unsigned long *data) { - if (vapi_read_stream(vapi_fd, id, sizeof (unsigned long)) < 0) - return 1; - *id = htonl (*id); - if (vapi_read_stream(vapi_fd, data, sizeof (unsigned long)) < 0) - return 1; - *data = htonl (*data); - return 0; -} - -/* Added by CZ 24/05/01 */ -static int connect_to_server(char* hostname,char* name) -{ - struct hostent *host; - struct sockaddr_in sin; - struct servent *service; - struct protoent *protocol; - int sock,flags; - char sTemp[256],sTemp2[256]; - char* proto_name = "tcp"; - int port = 0; - int on_off = 0; /* Turn off Nagel's algorithm on the socket */ - char *s; - - if(!(protocol = getprotobyname(proto_name))) { - sprintf(sTemp,"Protocol \"%s\" not available.\n", - proto_name); - error(sTemp); - return 0; - } - - /* Convert name to an integer only if it is well formatted. - Otherwise, assume that it is a service name. */ - - port = strtol(name, &s, 10); - if(*s) - port = 0; - - if(!port) { - if(!(service = getservbyname(name, protocol->p_name))) { - sprintf(sTemp,"Unknown service \"%s\".\n",name); - error(sTemp); - return 0; - } - port = ntohs(service->s_port); - } - - if(!(host = gethostbyname(hostname))) { - sprintf(sTemp,"Unknown host \"%s\"\n",hostname); - error(sTemp); - return 0; - } - - if((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) { - sprintf(sTemp, "can't create socket errno = %d\n", errno); - sprintf(sTemp2, "%s\n",strerror(errno)); - strcat(sTemp, sTemp2); - error(sTemp); - return 0; - } - - if(fcntl(sock, F_GETFL, &flags) < 0) { - sprintf(sTemp, "Unable to get flags for VAPI proxy socket %d", sock); - error(sTemp); - close(sock); - return 0; - } - - if(fcntl(sock,F_SETFL, flags & ~O_NONBLOCK) < 0) { - sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock,flags | O_NONBLOCK); - error(sTemp); - close(sock); - return 0; - } - - memset(&sin,0,sizeof(sin)); - sin.sin_family = host->h_addrtype; - memcpy(&sin.sin_addr, host->h_addr_list[0], host->h_length); - sin.sin_port = htons(port); - - if((connect(sock, (struct sockaddr*)&sin, sizeof(sin)) < 0) - && errno != EINPROGRESS) { - - sprintf(sTemp, "connect failed errno = %d\n", errno); - sprintf(sTemp2, "%s\n", strerror(errno)); - close(sock); - strcat(sTemp, sTemp2); - error(sTemp); - return 0; - } - - if(fcntl(sock,F_SETFL, flags | O_NONBLOCK) < 0) { - sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock, flags | O_NONBLOCK); - error(sTemp); - close(sock); - return 0; - } - - if(setsockopt(sock,protocol->p_proto,TCP_NODELAY,&on_off,sizeof(int)) < 0) { - sprintf(sTemp,"Unable to disable Nagel's algorithm for socket %d.\nsetsockopt", sock); - error(sTemp); - close(sock); - return 0; - } - - return sock; -} - -/* Initialize a new connection to the or1k board, and make sure we are - really connected. */ - -int -vapi_init (char *port_name, unsigned long id) -{ - vapi_id = id; - /* CZ 24/05/01 - Check to see if we have specified a remote - VAPI interface or a local one. It is remote if it follows - the URL naming convention vapi://: */ - if(!strncmp(port_name,"vapi://",7)) { - char *port; - char hostname[256]; - - port = strchr(&port_name[7], ':'); - if(port) { - int len = port - port_name - 7; - strncpy(hostname,&port_name[7],len); - hostname[len] = '\0'; - port++; - } else - strcpy(hostname,&port_name[7]); - - /* Interface is remote */ - if(!(vapi_fd = connect_to_server(hostname,port))) { - char sTemp[256]; - sprintf(sTemp,"Can not access VAPI Proxy Server at \"%s\"", - &port_name[5]); - error(sTemp); - } - printf("Remote or1k testing using %s, id 0x%x\n", port_name, id); - if (vapi_write_stream (vapi_fd, &id, sizeof (id))) - return 1; - } else - return 1; - return 0; -} - -void -vapi_done () /* CZ */ -{ - int flags = 0; - struct linger linger; - char sTemp[256]; - - linger.l_onoff = 0; - linger.l_linger = 0; - - /* First, make sure we're non blocking */ - if(fcntl(vapi_fd, F_GETFL,&flags) < 0) { - sprintf(sTemp,"Unable to get flags for VAPI proxy socket %d", vapi_fd); - error(sTemp); - } - if(fcntl(vapi_fd, F_SETFL, flags & ~O_NONBLOCK) < 0) { - sprintf(sTemp,"Unable to set flags for VAPI proxy socket %d to value 0x%08x", vapi_fd, flags | O_NONBLOCK); - error(sTemp); - } - - /* Now, make sure we don't linger around */ - if(setsockopt(vapi_fd,SOL_SOCKET,SO_LINGER,&linger,sizeof(linger)) < 0) { - sprintf(sTemp,"Unable to disable SO_LINGER for VAPI proxy socket %d.", vapi_fd); - error(sTemp); - } - - close(vapi_fd); -} - -/* Writes an unsigned long to server */ -void vapi_write(unsigned long data) { - printf ("WRITE [%08x, %08x]\n", vapi_id, data); - if (write_packet (vapi_id, data)) - perror ("write packet"); -} - -/* Reads an unsigned long from server */ -unsigned long vapi_read() { - unsigned long id, data; - if(read_packet (&id, &data)) { - if(vapi_fd) { - perror("vapi read"); - close(vapi_fd); - vapi_fd = 0; - } - exit (2); - } - if (id != vapi_id) { - fprintf (stderr, "ERROR: Invalid id %x, expected %x.", id, vapi_id); - exit (1); - } - printf ("READ [%08x, %08x]\n", id, data); - return data; -} - -/* Polls the port if anything is available and if do_read is set something is read from port. */ -int vapi_waiting () -{ - struct pollfd fds[1]; - - if(vapi_fd) { - fds[0].fd = vapi_fd; - fds[0].events = POLLIN; - fds[0].revents = 0; - } else - return; - - while(1) { - switch(poll(fds, 1, 0)) { - case -1: - if(errno == EINTR) - continue; - perror("poll"); - break; - case 0: /* Nothing interesting going on */ - return 0; - default: - return 1; - } /* End of switch statement */ - } /* End of while statement */ -} - -int main (int argc, char *argv[]) { - unsigned long id, data; - if (argc != 3) { - printf ("Usage: vapit URL ID\n"); - printf ("vapit vapi://localhost:9998 0x12345678\n"); - return 2; - } - id = atol (argv[2]); - if (sscanf (argv[2], "0x%x", &id)) { - if (vapi_init(argv[1], id)) - return 1; - } else { - fprintf (stderr, "Invalid vapi_id\n", argv[2]); - return 2; - } - - if (vapi_main ()) { - fprintf (stderr, "TEST FAILED.\n"); - return 1; - } - printf ("Test passed.\n"); - - vapi_done(); - return 0; -}
tags/initial/vapi.c Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/configure =================================================================== --- tags/initial/configure (revision 12) +++ tags/initial/configure (nonexistent) @@ -1,1739 +0,0 @@ -#! /bin/sh - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -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' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - -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 - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # 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 ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$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" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) 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) - # 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 << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --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 -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$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) - 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 ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - 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 "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -done - -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# 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 - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=vapi.c - -# 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_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - 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 "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# 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 "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -# 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 -# 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" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:556: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:609: checking whether build environment is sane" >&5 -# Just in case -sleep 1 -echo timestamp > conftestfile -# 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 conftestfile 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $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 "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } - fi - - test "$2" = conftestfile - ) -then - # Ok. - : -else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } -fi -rm -f conftest* -echo "$ac_t""yes" 1>&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed -s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed -fi -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" - -# sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:666: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 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 conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - - -PACKAGE=vapi - -VERSION=1.1 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -fi -cat >> confdefs.h <> confdefs.h <&6 -echo "configure:712: checking for working aclocal" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal - echo "$ac_t""found" 1>&6 -else - ACLOCAL="$missing_dir/missing aclocal" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:725: checking for working autoconf" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 -else - AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:738: checking for working automake" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake - echo "$ac_t""found" 1>&6 -else - AUTOMAKE="$missing_dir/missing automake" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:751: checking for working autoheader" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 -else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:764: checking for working makeinfo" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 -else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 -fi - - - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:781: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:811: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -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 $# -gt 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 - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:862: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 905 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:941: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:969: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&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 $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1001: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - -ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:1082: checking for minix/config.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MINIX=yes -else - echo "$ac_t""no" 1>&6 -MINIX= -fi - -if test "$MINIX" = yes; then - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF - - cat >> confdefs.h <<\EOF -#define _POSIX_1_SOURCE 2 -EOF - - cat >> confdefs.h <<\EOF -#define _MINIX 1 -EOF - -fi - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1130: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 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 conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1158: checking whether ${CC-cc} needs -traditional" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_pattern="Autoconf.*'x'" - cat > conftest.$ac_ext < -Autoconf TIOCGETP -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - -# 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 -# 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" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1215: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1270: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -#include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - 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 < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - 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 < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#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); } - -EOF -if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1377: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done - - - -for ac_func in socket strerror strtol -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1418: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* 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(); - -int main() { - -/* 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 -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - - -trap '' 1 2 15 -cat > confcache <<\EOF -# 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. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# 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 \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -cat > conftest.defs <<\EOF -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g -s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -s%\[%\\&%g -s%\]%\\&%g -s%\$%$$%g -EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -rm -f conftest.defs - - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </dev/null | sed 1q`: -# -# $0 $ac_configure_args -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option -do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" - -trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@ACLOCAL@%$ACLOCAL%g -s%@AUTOCONF@%$AUTOCONF%g -s%@AUTOMAKE@%$AUTOMAKE%g -s%@AUTOHEADER@%$AUTOHEADER%g -s%@MAKEINFO@%$MAKEINFO%g -s%@SET_MAKE@%$SET_MAKE%g -s%@CC@%$CC%g -s%@CPP@%$CPP%g - -CEOF -EOF - -cat >> $CONFIG_STATUS <<\EOF - -# 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_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF - -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -
tags/initial/configure Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/Makefile.in =================================================================== --- tags/initial/Makefile.in (revision 12) +++ tags/initial/Makefile.in (nonexistent) @@ -1,353 +0,0 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 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. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -CC = @CC@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -VERSION = @VERSION@ - -bin_PROGRAMS = uart - -uart_SOURCES = vapi.c vapi.h uart.c -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -uart_OBJECTS = vapi.o uart.o -uart_LDADD = $(LDADD) -uart_DEPENDENCIES = -uart_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = COPYING INSTALL Makefile.am Makefile.in aclocal.m4 \ -config.guess config.sub configure configure.in install-sh missing \ -mkinstalldirs - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = gtar -GZIP_ENV = --best -DEP_FILES = .deps/uart.P .deps/vapi.P -SOURCES = $(uart_SOURCES) -OBJECTS = $(uart_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) - @rm -f uart - $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(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 - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: -dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am - -install-data-am: -install-data: install-data-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-am - -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-am - -rm -f config.status - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -rm -f config.status - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# 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: Index: tags/initial/config.log =================================================================== --- tags/initial/config.log (revision 12) +++ tags/initial/config.log (nonexistent) @@ -1,30 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -configure:556: checking for a BSD compatible install -configure:609: checking whether build environment is sane -configure:666: checking whether make sets ${MAKE} -configure:712: checking for working aclocal -configure:725: checking for working autoconf -configure:738: checking for working automake -configure:751: checking for working autoheader -configure:764: checking for working makeinfo -configure:781: checking for gcc -configure:894: checking whether the C compiler (gcc ) works -configure:910: gcc -o conftest conftest.c 1>&5 -configure:936: checking whether the C compiler (gcc ) is a cross-compiler -configure:941: checking whether we are using GNU C -configure:969: checking whether gcc accepts -g -configure:1001: checking how to run the C preprocessor -configure:1082: checking for minix/config.h -configure:1130: checking whether make sets ${MAKE} -configure:1158: checking whether gcc needs -traditional -configure:1215: checking for a BSD compatible install -configure:1270: checking for ANSI C header files -configure:1377: checking for fcntl.h -configure:1377: checking for sys/ioctl.h -configure:1377: checking for sys/time.h -configure:1377: checking for unistd.h -configure:1418: checking for socket -configure:1418: checking for strerror -configure:1418: checking for strtol Index: tags/initial/vapi.h =================================================================== --- tags/initial/vapi.h (revision 12) +++ tags/initial/vapi.h (nonexistent) @@ -1,30 +0,0 @@ -/* vapi.h - Verification API Interface - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* Writes an unsigned long to server */ -void vapi_write(unsigned long data) { - -/* Reads an unsigned long from server */ -unsigned long vapi_read(); - -/* Polls the port if anything is available and if do_read is set something is read from port. */ -int vapi_waiting (); - -/* Main function, actually the testcase, defined by VAPI user. */ -extern void vapi_main();
tags/initial/vapi.h Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/configure.in =================================================================== --- tags/initial/configure.in (revision 12) +++ tags/initial/configure.in (nonexistent) @@ -1,23 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(vapi.c) -AM_INIT_AUTOMAKE(vapi, 1.1) - -dnl Checks for programs. -AC_PROG_CC -AC_MINIX -AC_PROG_MAKE_SET -AC_PROG_GCC_TRADITIONAL -AC_PROG_INSTALL - -dnl Checks for libraries. - -dnl Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) - -dnl Checks for typedefs, structures, and compiler characteristics. - -dnl Checks for library functions. -AC_CHECK_FUNCS(socket strerror strtol) - -AC_OUTPUT(Makefile)
tags/initial/configure.in Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/config.status =================================================================== --- tags/initial/config.status (revision 12) +++ tags/initial/config.status (nonexistent) @@ -1,168 +0,0 @@ -#! /bin/sh -# Generated automatically by configure. -# Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host odin: -# -# ./configure -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" -for ac_option -do - case "$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" - exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "./config.status generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "$ac_cs_usage"; exit 0 ;; - *) echo "$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=. -ac_given_INSTALL="/usr/bin//install -c" - -trap 'rm -fr Makefile conftest*; exit 1' 1 2 15 - -# Protect against being on the right side of a sed subst in config.status. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF -/^[ ]*VPATH[ ]*=[^:]*$/d - -s%@SHELL@%/bin/sh%g -s%@CFLAGS@%-g -O2%g -s%@CPPFLAGS@%%g -s%@CXXFLAGS@%%g -s%@FFLAGS@%%g -s%@DEFS@% -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 %g -s%@LDFLAGS@%%g -s%@LIBS@%%g -s%@exec_prefix@%${prefix}%g -s%@prefix@%/usr/local%g -s%@program_transform_name@%s,x,x,%g -s%@bindir@%${exec_prefix}/bin%g -s%@sbindir@%${exec_prefix}/sbin%g -s%@libexecdir@%${exec_prefix}/libexec%g -s%@datadir@%${prefix}/share%g -s%@sysconfdir@%${prefix}/etc%g -s%@sharedstatedir@%${prefix}/com%g -s%@localstatedir@%${prefix}/var%g -s%@libdir@%${exec_prefix}/lib%g -s%@includedir@%${prefix}/include%g -s%@oldincludedir@%/usr/include%g -s%@infodir@%${prefix}/info%g -s%@mandir@%${prefix}/man%g -s%@INSTALL_PROGRAM@%${INSTALL}%g -s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g -s%@INSTALL_DATA@%${INSTALL} -m 644%g -s%@PACKAGE@%vapi%g -s%@VERSION@%1.1%g -s%@ACLOCAL@%aclocal%g -s%@AUTOCONF@%autoconf%g -s%@AUTOMAKE@%automake%g -s%@AUTOHEADER@%autoheader%g -s%@MAKEINFO@%makeinfo%g -s%@SET_MAKE@%%g -s%@CC@%gcc%g -s%@CPP@%gcc -E%g - -CEOF - -# 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_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi - -CONFIG_FILES=${CONFIG_FILES-"Makefile"} -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - - - -exit 0
tags/initial/config.status Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/uart.c =================================================================== --- tags/initial/uart.c (revision 12) +++ tags/initial/uart.c (nonexistent) @@ -1,395 +0,0 @@ -/* uart.c -- test for uart, by using VAPI - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* UART messages */ -#define TX_CMD 0xff000000 -#define TX_CMD0 0x00000000 -#define TX_CHAR 0x000000ff -#define TX_NBITS 0x00000300 -#define TX_STOPLEN 0x00000400 -#define TX_PARITY 0x00000800 -#define TX_EVENP 0x00001000 -#define TX_STICK 0x00002000 -#define TX_BREAK 0x00004000 - -/* Send speed */ -#define TX_CMD1 0x01000000 -#define TX_SPEED 0x0000ffff - -/* Send receive LCR reg */ -#define TX_CMD2 0x02000000 - -/* Send skew */ -#define TX_CMD3 0x03000000 - -/* Set break */ -#define TX_CMD4 0x04000000 -#define TX_CMD4_BREAK 0x00010000 -#define TX_CMD4_DELAY 0x0000ffff - -/* Check FIFO */ -#define TX_CMD5 0x05000000 -#define TX_CMD5_FIFOFULL 0x0000001 - -#define RX_CMD0 0x00000000 -#define RX_PARERR 0x00010000 -#define RX_FRAERR 0x00020000 - -/* fails if x is false */ -#define ASSERT(x) ((x)?1:fail (__FUNCTION__, __LINE__)) -#define MARK() printf ("Passed line %i\n", __LINE__) -#define VAPI_READ(x) {unsigned long r = vapi_read (); printf ("expected 0x%08x, read 0x%08x\n", r, (x)); ASSERT(r == (x));} - -#ifndef __LINE__ -#define __LINE__ 0 -#endif - -void fail (char *func, int line) -{ -#ifndef __FUNCTION__ -#define __FUNCTION__ "?" -#endif - printf ("Test failed in %s:%i\n", func, line); - exit (1); -} -char str[5000]; - -/* current comm. control bits */ -int control, control_rx; - -void recv_char (char c) -{ - unsigned long tmp = vapi_read (); - printf ("expected %08x, read %08x\n", control_rx | c, tmp); - /* test if something is wrong */ - ASSERT ((tmp & 0xffffff00) == control_rx); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - printf ("expected %02x, read %02x\n", c, tmp); - ASSERT (c == (char)tmp); -} - -void send_char (char c) -{ - vapi_write (c | (control & 0xffffff00)); -} - -char *read_string (char *s) -{ - char *t = s; - unsigned long tmp = 1; - while (tmp) { - tmp = vapi_read (); - printf ("%08x, %08x\n", tmp, control_rx); - /* test if something is wrong */ - ASSERT ((tmp & 0xffffff00) == control_rx); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - *(t++) = (char)tmp; - } - return s; -} - - -void compare_string (char *s) { - while (*s) { - unsigned long tmp = vapi_read (); - /* test if something is wrong */ - ASSERT (tmp == (control_rx | *s)); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - s++; - } -} - -void send_string (char *s) -{ - while (*s) - vapi_write (*(s++) | (control & 0xffffff00)); -} - -void init_8n1 () -{ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control = control_rx = TX_CMD0 | TX_NBITS; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ -} - -void test_registers () -{ - /* This test is performed just by cpu, if it is not stopped, we have an error. */ - printf ("Testing registers... "); - MARK(); -} - -void send_recv_test () -{ - printf ("send_recv_test\n"); - MARK(); - read_string (str); - MARK(); - printf ("OK\nread: %s\n",str); - ASSERT (strcmp (str, "send_test_is_running") == 0); - send_string ("recv"); - MARK(); - printf ("OK\n"); -} - -void break_test () -{ - printf ("break_test\n"); - /* receive a break */ - VAPI_READ (TX_BREAK); - MARK(); - vapi_write (control | '*'); - MARK(); - VAPI_READ (control | '!'); - MARK(); - - /* send a break */ - vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); - vapi_write (control | 'b'); - MARK(); - VAPI_READ (control | '#'); - MARK(); - vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); - vapi_write (control | '$'); - MARK(); - - /* Receive a breaked string "ns*", only "ns" should be received. */ - compare_string ("ns"); - VAPI_READ (TX_BREAK); - send_string ("?"); - MARK(); - - /* Send a break */ - VAPI_READ (control | '#'); - vapi_write(TX_CMD4 | TX_CMD4_BREAK | (5 & TX_CMD4_DELAY)); - vapi_write (control | 0); - /* Wait four chars */ - send_string ("234"); - MARK(); - /* FIFO should be empty */ - vapi_write(TX_CMD5); - send_string ("5"); - /* FIFO should be nonempty and */ - vapi_write(TX_CMD5 | TX_CMD5_FIFOFULL); - MARK(); - /* it should contain '?' */ - VAPI_READ ('?' | control); - /* Reset break signal*/ - vapi_write(TX_CMD4 | (0) & TX_CMD4_DELAY); - MARK(); - vapi_write ('!' | control); - printf ("OK\n"); -} - -/* Tries to send data in different modes in both directions */ - -/* Utility function, that tests current configuration */ -void test_mode (int nbits) -{ - unsigned mask = (1 << nbits) - 1; - recv_char ('U' & mask); //0x55 -#if DETAILED - recv_char ('U' & mask); //0x55 - send_char ('U'); //0x55 -#endif - send_char ('U'); //0x55 - recv_char ('a' & mask); //0x61 -#if DETAILED - recv_char ('a' & mask); //0x61 - send_char ('a'); //0x61 -#endif - send_char ('a'); //0x61 -} - -void different_modes_test () -{ - int speed, length, parity; - printf ("different modes test\n"); - /* Init */ - /* Test different speeds */ - for (speed = 1; speed < 5; speed++) { - vapi_write(TX_CMD1 | speed); /* Set tx/rx speed */ - control_rx = control = 0x03 << 8; /* 8N1 */ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - test_mode (8); - MARK(); - } - MARK(); - - vapi_write(TX_CMD1 | 1); /* Set tx/rx speed */ - MARK(); - - /* Test all parity modes with different char lengths */ - for (parity = 0; parity < 8; parity++) - for (length = 0; length < 4; length++) { - control_rx = control = (length | (0 << 2) | (parity << 3)) << 8; - vapi_write(TX_CMD2 | control_rx); - test_mode (5 + length); - MARK(); - } - MARK(); - - /* Test configuration, if we have >1 stop bits */ - for (length = 0; length < 4; length++) { - control_rx = control = (length | (1 << 2) | (0 << 3)) << 8; - vapi_write(TX_CMD2 | control_rx); - test_mode (5 + length); - MARK(); - } - MARK(); - - /* Restore normal mode */ - recv_char ('T'); /* Wait for acknowledge */ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control_rx = control = 0x03 << 8; /* 8N1 @ 2*/ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('T'); /* Wait for acknowledge before ending the test */ - MARK(); - printf ("OK\n"); -} - -/* Test various FIFO levels, break and framing error interrupt, etc */ - -void interrupt_test () -{ - int i; - vapi_write(TX_CMD1 | 6); /* Set tx/rx speed */ - printf ("interrupt_test\n"); - /* start interrupt test */ - recv_char ('I'); /* Test trigger level 1 */ - send_char ('0'); - - recv_char ('I'); /* Test trigger level 4 */ - send_char ('1'); - send_char ('2'); - send_char ('3'); - send_char ('4'); - - recv_char ('I'); /* Test trigger level 8 */ - send_char ('5'); - send_char ('6'); - send_char ('7'); - send_char ('8'); - send_char ('9'); - - recv_char ('I'); /* Test trigger level 14 */ - send_char ('a'); - send_char ('b'); - send_char ('c'); - send_char ('d'); - send_char ('e'); - send_char ('f'); - send_char ('g'); - - recv_char ('I'); /* Test OE */ - send_char ('h'); - send_char ('i'); - send_char ('j'); - send_char ('*'); /* should not be put in the fifo */ - - recv_char ('I'); /* test break interrupt */ - /* send a break */ - vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); - vapi_write (control | 'b'); - MARK(); - recv_char ('B'); /* Release break */ - MARK(); - vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); - vapi_write (control | '$'); - MARK(); - - /* TODO: Check for parity error */ - /* TODO: Check for frame error */ - - /* Check for timeout */ - recv_char ('I'); - send_char ('T'); /* Send char -> timeout should occur */ - recv_char ('T'); /* Wait for acknowledge before changing configuration */ - MARK (); - - /* Restore previous mode */ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control = control_rx = TX_CMD0 | TX_NBITS; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('T'); /* Wait for acknowledge before ending the test */ - printf ("OK\n"); -} - -/* Test if all control bits are set correctly. Lot of this was already tested - elsewhere and tests are not duplicated. */ - -void control_register_test () -{ - printf ("control_register_test\n"); - recv_char ('*'); - send_char ('*'); - MARK (); - recv_char ('!'); - send_char ('!'); - MARK (); - - recv_char ('1'); - recv_char ('*'); - send_char ('*'); - printf ("OK\n"); -} - -void line_error_test () -{ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('c'); - vapi_write(TX_CMD1 | 3); /* Set incorrect tx/rx speed */ - send_char ('a'); - vapi_write(TX_CMD1 | 2); /* Set correct tx/rx speed */ - send_char ('b'); - MARK (); - -#if COMPLETE - recv_char ('*'); - control = TX_CMD0 | TX_NBITS; - control_rx = TX_CMD0 | TX_NBITS | TX_STOPLEN; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('*'); - MARK (); -#endif -} - -int vapi_main () -{ - - /* Test section area */ - test_registers (); - init_8n1 (); -/* send_recv_test (); - break_test(); - different_modes_test (); - interrupt_test (); - control_register_test ();*/ - line_error_test (); - /* End of test section area */ - - send_char ('@'); - return 0; -}
tags/initial/uart.c Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: tags/initial/configure.scan =================================================================== --- tags/initial/configure.scan (revision 12) +++ tags/initial/configure.scan (nonexistent) @@ -1,17 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(uart.c) - -dnl Checks for programs. - -dnl Checks for libraries. - -dnl Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) - -dnl Checks for typedefs, structures, and compiler characteristics. - -dnl Checks for library functions. -AC_CHECK_FUNCS(socket strerror strtol) - -AC_OUTPUT() Index: trunk/uart.c =================================================================== --- trunk/uart.c (revision 12) +++ trunk/uart.c (nonexistent) @@ -1,405 +0,0 @@ -/* uart.c -- test for uart, by using VAPI - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - - -#include "vapi.h" - -unsigned long num_vapi_ids = 1; - -/* UART messages */ -#define TX_CMD 0xff000000 -#define TX_CMD0 0x00000000 -#define TX_CHAR 0x000000ff -#define TX_NBITS 0x00000300 -#define TX_STOPLEN 0x00000400 -#define TX_PARITY 0x00000800 -#define TX_EVENP 0x00001000 -#define TX_STICK 0x00002000 -#define TX_BREAK 0x00004000 - -/* Send speed */ -#define TX_CMD1 0x01000000 -#define TX_SPEED 0x0000ffff - -/* Send receive LCR reg */ -#define TX_CMD2 0x02000000 - -/* Send skew */ -#define TX_CMD3 0x03000000 - -/* Set break */ -#define TX_CMD4 0x04000000 -#define TX_CMD4_BREAK 0x00010000 -#define TX_CMD4_DELAY 0x0000ffff - -/* Check FIFO */ -#define TX_CMD5 0x05000000 -#define TX_CMD5_FIFOFULL 0x0000001 - -#define RX_CMD0 0x00000000 -#define RX_PARERR 0x00010000 -#define RX_FRAERR 0x00020000 - -/* fails if x is false */ -#define ASSERT(x) ((x)?1:fail (__FUNCTION__, __LINE__)) -#define MARK() printf ("Passed line %i\n", __LINE__) -#define VAPI_READ(x) {unsigned long r = vapi_read (); printf ("expected 0x%08x, read 0x%08x\n", r, (x)); ASSERT(r == (x));} - -#ifndef __LINE__ -#define __LINE__ 0 -#endif - -void fail (char *func, int line) -{ -#ifndef __FUNCTION__ -#define __FUNCTION__ "?" -#endif - printf ("Test failed in %s:%i\n", func, line); - exit (1); -} -char str[5000]; - -/* current comm. control bits */ -int control, control_rx; - -void recv_char (char c) -{ - unsigned long tmp = vapi_read (); - printf ("expected %08x, read %08x\n", control_rx | c, tmp); - /* test if something is wrong */ - ASSERT ((tmp & 0xffffff00) == control_rx); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - printf ("expected %02x, read %02x\n", c, tmp); - ASSERT (c == (char)tmp); -} - -void send_char (char c) -{ - vapi_write (c | (control & 0xffffff00)); -} - -char *read_string (char *s) -{ - char *t = s; - unsigned long tmp = 1; - while (tmp) { - tmp = vapi_read (); - printf ("%08x, %08x\n", tmp, control_rx); - /* test if something is wrong */ - ASSERT ((tmp & 0xffffff00) == control_rx); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - *(t++) = (char)tmp; - } - return s; -} - - -void compare_string (char *s) { - while (*s) { - unsigned long tmp = vapi_read (); - /* test if something is wrong */ - ASSERT (tmp == (control_rx | *s)); - tmp &= 0xff; - if (tmp) printf ("'%c'\n", (char)tmp); - else printf ("\\0\n"); - s++; - } -} - -void send_string (char *s) -{ - while (*s) - vapi_write (*(s++) | (control & 0xffffff00)); -} - -void init_8n1 () -{ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control = control_rx = TX_CMD0 | TX_NBITS; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ -} - -void test_registers () -{ - /* This test is performed just by cpu, if it is not stopped, we have an error. */ - printf ("Testing registers... "); - MARK(); -} - -void send_recv_test () -{ - printf ("send_recv_test\n"); - MARK(); - read_string (str); - MARK(); - printf ("OK\nread: %s\n",str); - ASSERT (strcmp (str, "send_test_is_running") == 0); - send_string ("recv"); - MARK(); - printf ("OK\n"); -} - -void break_test () -{ - printf ("break_test\n"); - /* receive a break */ - VAPI_READ (TX_BREAK); - MARK(); - vapi_write (control | '*'); - MARK(); - VAPI_READ (control | '!'); - MARK(); - - /* send a break */ - vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); - vapi_write (control | 'b'); - MARK(); - VAPI_READ (control | '#'); - MARK(); - vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); - vapi_write (control | '$'); - MARK(); - - /* Receive a breaked string "ns*", only "ns" should be received. */ - compare_string ("ns"); - VAPI_READ (TX_BREAK); - send_string ("?"); - MARK(); - - /* Send a break */ - VAPI_READ (control | '#'); - vapi_write(TX_CMD4 | TX_CMD4_BREAK | (5 & TX_CMD4_DELAY)); - vapi_write (control | 0); - MARK(); -#if 0 - /* Wait four chars */ - send_string ("234"); - MARK(); -#endif - - /* FIFO should be empty */ - vapi_write(TX_CMD5); - send_string ("5"); - /* FIFO should be nonempty and */ - vapi_write(TX_CMD5 | TX_CMD5_FIFOFULL); - MARK(); - /* it should contain '?' */ - VAPI_READ ('?' | control); - /* Reset break signal*/ - vapi_write(TX_CMD4 | (0) & TX_CMD4_DELAY); - MARK(); - vapi_write ('!' | control); - printf ("OK\n"); -} - -/* Tries to send data in different modes in both directions */ - -/* Utility function, that tests current configuration */ -void test_mode (int nbits) -{ - unsigned mask = (1 << nbits) - 1; - recv_char ('U' & mask); //0x55 -#if DETAILED - recv_char ('U' & mask); //0x55 - send_char ('U'); //0x55 -#endif - send_char ('U'); //0x55 - recv_char ('a' & mask); //0x61 -#if DETAILED - recv_char ('a' & mask); //0x61 - send_char ('a'); //0x61 -#endif - send_char ('a'); //0x61 -} - -void different_modes_test () -{ - int speed, length, parity; - printf ("different modes test\n"); - /* Init */ - /* Test different speeds */ - for (speed = 1; speed < 5; speed++) { - vapi_write(TX_CMD1 | speed); /* Set tx/rx speed */ - control_rx = control = 0x03 << 8; /* 8N1 */ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - test_mode (8); - MARK(); - } - MARK(); - - vapi_write(TX_CMD1 | 1); /* Set tx/rx speed */ - MARK(); - - /* Test all parity modes with different char lengths */ - for (parity = 0; parity < 8; parity++) - for (length = 0; length < 4; length++) { - control_rx = control = (length | (0 << 2) | (parity << 3)) << 8; - vapi_write(TX_CMD2 | control_rx); - test_mode (5 + length); - MARK(); - } - MARK(); - - /* Test configuration, if we have >1 stop bits */ - for (length = 0; length < 4; length++) { - control_rx = control = (length | (1 << 2) | (0 << 3)) << 8; - vapi_write(TX_CMD2 | control_rx); - test_mode (5 + length); - MARK(); - } - MARK(); - - /* Restore normal mode */ - recv_char ('T'); /* Wait for acknowledge */ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control_rx = control = 0x03 << 8; /* 8N1 @ 2*/ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - send_char ('x'); /* Send a character. It is possible that this char is received unproperly */ - recv_char ('T'); /* Wait for acknowledge before ending the test */ - MARK(); - printf ("OK\n"); -} - -/* Test various FIFO levels, break and framing error interrupt, etc */ - -void interrupt_test () -{ - int i; - vapi_write(TX_CMD1 | 6); /* Set tx/rx speed */ - printf ("interrupt_test\n"); - /* start interrupt test */ - recv_char ('I'); /* Test trigger level 1 */ - send_char ('0'); - - recv_char ('I'); /* Test trigger level 4 */ - send_char ('1'); - send_char ('2'); - send_char ('3'); - send_char ('4'); - - recv_char ('I'); /* Test trigger level 8 */ - send_char ('5'); - send_char ('6'); - send_char ('7'); - send_char ('8'); - send_char ('9'); - - recv_char ('I'); /* Test trigger level 14 */ - send_char ('a'); - send_char ('b'); - send_char ('c'); - send_char ('d'); - send_char ('e'); - send_char ('f'); - send_char ('g'); - - recv_char ('I'); /* Test OE */ - send_char ('h'); - send_char ('i'); - send_char ('j'); - send_char ('*'); /* should not be put in the fifo */ - - recv_char ('I'); /* test break interrupt */ - /* send a break */ - vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); - vapi_write (control | 'b'); - MARK(); - recv_char ('B'); /* Release break */ - MARK(); - vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); - vapi_write (control | '$'); - MARK(); - - /* TODO: Check for parity error */ - /* TODO: Check for frame error */ - - /* Check for timeout */ - recv_char ('I'); - send_char ('T'); /* Send char -> timeout should occur */ - recv_char ('T'); /* Wait for acknowledge before changing configuration */ - MARK (); - - /* Restore previous mode */ - vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ - control = control_rx = TX_CMD0 | TX_NBITS; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('T'); /* Wait for acknowledge before ending the test */ - printf ("OK\n"); -} - -/* Test if all control bits are set correctly. Lot of this was already tested - elsewhere and tests are not duplicated. */ - -void control_register_test () -{ - printf ("control_register_test\n"); - recv_char ('*'); - send_char ('*'); - MARK (); - recv_char ('!'); - send_char ('!'); - MARK (); - - recv_char ('1'); - recv_char ('*'); - send_char ('*'); - printf ("OK\n"); -} - -void line_error_test () -{ - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('c'); - vapi_write(TX_CMD1 | 3); /* Set incorrect tx/rx speed */ - send_char ('a'); - vapi_write(TX_CMD1 | 2); /* Set correct tx/rx speed */ - send_char ('b'); - MARK (); - -#if COMPLETE - recv_char ('*'); - control = TX_CMD0 | TX_NBITS; - control_rx = TX_CMD0 | TX_NBITS | TX_STOPLEN; - vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ - recv_char ('*'); - MARK (); -#endif -} - -int vapi_main () -{ - - /* Test section area */ - test_registers (); - init_8n1 (); - send_recv_test (); - break_test(); - different_modes_test (); - interrupt_test (); - control_register_test (); - line_error_test (); - /* End of test section area */ - - send_char ('@'); - return 0; -}
trunk/uart.c Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/aclocal.m4 =================================================================== --- trunk/aclocal.m4 (revision 12) +++ trunk/aclocal.m4 (nonexistent) @@ -1,104 +0,0 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4 - -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -# Do all the work for Automake. 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. - -# serial 1 - -dnl Usage: -dnl AM_INIT_AUTOMAKE(package,version, [no-define]) - -AC_DEFUN(AM_INIT_AUTOMAKE, -[AC_REQUIRE([AC_PROG_INSTALL]) -PACKAGE=[$1] -AC_SUBST(PACKAGE) -VERSION=[$2] -AC_SUBST(VERSION) -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 -ifelse([$3],, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) -AC_REQUIRE([AM_SANITY_CHECK]) -AC_REQUIRE([AC_ARG_PROGRAM]) -dnl FIXME This is truly gross. -missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) -AC_REQUIRE([AC_PROG_MAKE_SET])]) - -# -# Check to make sure that the build environment is sane. -# - -AC_DEFUN(AM_SANITY_CHECK, -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftestfile -# 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 conftestfile 2> /dev/null` - if test "[$]*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $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" = conftestfile - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -rm -f conftest* -AC_MSG_RESULT(yes)]) - -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) -dnl The program must properly implement --version. -AC_DEFUN(AM_MISSING_PROG, -[AC_MSG_CHECKING(for working $2) -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if ($2 --version) < /dev/null > /dev/null 2>&1; then - $1=$2 - AC_MSG_RESULT(found) -else - $1="$3/missing $2" - AC_MSG_RESULT(missing) -fi -AC_SUBST($1)]) - Index: trunk/Makefile =================================================================== --- trunk/Makefile (revision 12) +++ trunk/Makefile (nonexistent) @@ -1,360 +0,0 @@ -# Generated automatically from Makefile.in by configure. -# Makefile.in generated automatically by automake 1.4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 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. - - -SHELL = /bin/sh - -srcdir = . -top_srcdir = . -prefix = /usr/local -exec_prefix = ${prefix} - -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 -infodir = ${prefix}/info -mandir = ${prefix}/man -includedir = ${prefix}/include -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/vapi -pkglibdir = $(libdir)/vapi -pkgincludedir = $(includedir)/vapi - -top_builddir = . - -ACLOCAL = aclocal -AUTOCONF = autoconf -AUTOMAKE = automake -AUTOHEADER = autoheader - -INSTALL = /usr/bin//install -c -INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_SCRIPT = ${INSTALL_PROGRAM} -transform = s,x,x, - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -CC = gcc -MAKEINFO = makeinfo -PACKAGE = vapi -VERSION = 1.1 - -bin_PROGRAMS = uart gpio - -uart_SOURCES = vapi.c vapi.h uart.c -gpio_SOURCES = vapi.c vapi.h gpio.c -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -I. -I$(srcdir) -CPPFLAGS = -LDFLAGS = -LIBS = -uart_OBJECTS = vapi.o uart.o -uart_LDADD = $(LDADD) -uart_DEPENDENCIES = -uart_LDFLAGS = -gpio_OBJECTS = vapi.o gpio.o -gpio_LDADD = $(LDADD) -gpio_DEPENDENCIES = -gpio_LDFLAGS = -CFLAGS = -g -O2 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = gtar -GZIP_ENV = --best -DEP_FILES = .deps/gpio.P .deps/uart.P .deps/vapi.P -SOURCES = $(uart_SOURCES) $(gpio_SOURCES) -OBJECTS = $(uart_OBJECTS) $(gpio_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) - @rm -f uart - $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) - -gpio: $(gpio_OBJECTS) $(gpio_DEPENDENCIES) - @rm -f gpio - $(LINK) $(gpio_LDFLAGS) $(gpio_OBJECTS) $(gpio_LDADD) $(LIBS) - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(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 - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: -dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am - -install-data-am: -install-data: install-data-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-am - -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-am - -rm -f config.status - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -rm -f config.status - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# 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: Index: trunk/install-sh =================================================================== --- trunk/install-sh (revision 12) +++ trunk/install-sh (nonexistent) @@ -1,251 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. -# -# 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}" - -transformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - true -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - chmodcmd="" - else - instcmd=mkdir - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f $src -o -d $src ] - then - true - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - true - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - true - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -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 [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - true - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - true - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# 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 $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0
trunk/install-sh Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/gpio.c =================================================================== --- trunk/gpio.c (revision 12) +++ trunk/gpio.c (nonexistent) @@ -1,108 +0,0 @@ -/* gpio.c -- test for GPIO, by using VAPI - Copyright (C) 2001, Erez Volk, erez@opencores.org - - This file is part of OpenRISC 1000 Architectural Simulator. - - 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -#include - -unsigned long num_vapi_ids = 8; - -#define ALL_ONES 0xFFFFFFFFLU -#define ALL_ZEROS 0x00000000LU - - -/* fails if x is false */ -#define ASSERT(x) ((x)?1: fail (__FILE__, __LINE__)) - -static void fail (char *file, int line) -{ - printf( "Test failed in %s:%i\n", file, line ); - exit( 1 ); -} - - -static void test_registers( void ) -{ -} - -static void test_simple_io( void ) -{ - unsigned i; - unsigned long oe; - - for ( i = 1, oe = 1; i < 31; ++ i, oe = (oe << 1) | 1 ) { - ASSERT( vapi_read() == oe ); - vapi_write( ~oe ); - ASSERT( vapi_read() == 0 ); - vapi_write( oe ); - } -} - - -static void test_interrupts( void ) -{ - unsigned i; - - ASSERT( vapi_read() == 0x80000000 ); - for ( i = 0; i < 31; ++ i ) { - vapi_write( 1LU << i ); - ASSERT( vapi_read() == ((i % 2) ? 0x80000000 : 0) ); - } -} - -static void test_external_clock( void ) -{ - unsigned i, j, edge; - unsigned long junk = 0xdf662b5c; - - for ( edge = 0; edge < 2; ++ edge ) { - ASSERT( vapi_read() == 0x80000000 ); - vapi_write_with_id( 2, !edge ); - for ( i = 0; i < 31; ++ i ) { - for ( j = 0; j < 4; ++ j, junk = junk * 0xf7b1dfbd + 0x5bf9f28b ) - vapi_write( junk ); - - vapi_write( 1LU << i ); - vapi_write_with_id( 2, edge ); - - ASSERT( vapi_read() == ((i % 2) ? 0x80000000 : 0) ); - - for ( j = 0; j < 4; ++ j, junk = junk * 0xf7b1dfbd + 0x5bf9f28b ) - vapi_write( junk ); - vapi_write_with_id( 2, !edge ); - } - } -} - - -static void endshake( void ) -{ - ASSERT( vapi_read() == 0x12340000 ); - vapi_write( 0x00005678 ); - ASSERT( vapi_read() == 0xDeadDead ); -} - -int vapi_main( void ) -{ - test_registers(); - test_simple_io(); - test_interrupts(); - test_external_clock(); - endshake(); - - return 0; -} Index: trunk/vapi.c =================================================================== --- trunk/vapi.c (revision 12) +++ trunk/vapi.c (nonexistent) @@ -1,403 +0,0 @@ -/* vapi.c -- Verification API Interface test side - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - -This file is part of OpenRISC 1000 Architectural Simulator. - -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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "vapi.h" - -int vapi_fd; -unsigned long first_id, last_id; - -static int vapi_write_stream(int fd, void* buf, int len) -{ - int n; - char* w_buf = (char*)buf; - struct pollfd block; - - while(len) { - if((n = write(fd,w_buf,len)) < 0) { - switch(errno) { - case EWOULDBLOCK: /* or EAGAIN */ - /* We've been called on a descriptor marked - for nonblocking I/O. We better simulate - blocking behavior. */ - block.fd = fd; - block.events = POLLOUT; - block.revents = 0; - poll(&block,1,-1); - continue; - case EINTR: - continue; - case EPIPE: - close(fd); - vapi_fd = 0; - return -1; - default: - return -1; - } - } else { - len -= n; - w_buf += n; - } - } - return 0; -} - -static int vapi_read_stream(int fd, void* buf, int len) -{ - int n; - char* r_buf = (char*)buf; - struct pollfd block; - - while(len) { - if((n = read(fd,r_buf,len)) < 0) { - switch(errno) { - case EWOULDBLOCK: /* or EAGAIN */ - /* We've been called on a descriptor marked - for nonblocking I/O. We better simulate - blocking behavior. */ - block.fd = fd; - block.events = POLLIN; - block.revents = 0; - poll(&block,1,-1); - continue; - case EINTR: - continue; - default: - return -1; - } - } else if(n == 0) { - close(fd); - fd = 0; - return -1; - } else { - len -= n; - r_buf += n; - } - } - return 0; -} - -static int write_packet (unsigned long id, unsigned long data) { - id = htonl (id); - if (vapi_write_stream(vapi_fd, &id, sizeof (id)) < 0) - return 1; - data = htonl (data); - if (vapi_write_stream(vapi_fd, &data, sizeof (data)) < 0) - return 1; - return 0; -} - -static int read_packet (unsigned long *id, unsigned long *data) { - if (vapi_read_stream(vapi_fd, id, sizeof (unsigned long)) < 0) - return 1; - *id = htonl (*id); - if (vapi_read_stream(vapi_fd, data, sizeof (unsigned long)) < 0) - return 1; - *data = htonl (*data); - return 0; -} - -/* Added by CZ 24/05/01 */ -static int connect_to_server(char* hostname,char* name) -{ - struct hostent *host; - struct sockaddr_in sin; - struct servent *service; - struct protoent *protocol; - int sock,flags; - char sTemp[256],sTemp2[256]; - char* proto_name = "tcp"; - int port = 0; - int on_off = 0; /* Turn off Nagel's algorithm on the socket */ - char *s; - - if(!(protocol = getprotobyname(proto_name))) { - sprintf(sTemp,"Protocol \"%s\" not available.\n", - proto_name); - error(sTemp); - return 0; - } - - /* Convert name to an integer only if it is well formatted. - Otherwise, assume that it is a service name. */ - - port = strtol(name, &s, 10); - if(*s) - port = 0; - - if(!port) { - if(!(service = getservbyname(name, protocol->p_name))) { - sprintf(sTemp,"Unknown service \"%s\".\n",name); - error(sTemp); - return 0; - } - port = ntohs(service->s_port); - } - - if(!(host = gethostbyname(hostname))) { - sprintf(sTemp,"Unknown host \"%s\"\n",hostname); - error(sTemp); - return 0; - } - - if((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) { - sprintf(sTemp, "can't create socket errno = %d\n", errno); - sprintf(sTemp2, "%s\n",strerror(errno)); - strcat(sTemp, sTemp2); - error(sTemp); - return 0; - } - - if(fcntl(sock, F_GETFL, &flags) < 0) { - sprintf(sTemp, "Unable to get flags for VAPI proxy socket %d", sock); - error(sTemp); - close(sock); - return 0; - } - - if(fcntl(sock,F_SETFL, flags & ~O_NONBLOCK) < 0) { - sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock,flags | O_NONBLOCK); - error(sTemp); - close(sock); - return 0; - } - - memset(&sin,0,sizeof(sin)); - sin.sin_family = host->h_addrtype; - memcpy(&sin.sin_addr, host->h_addr_list[0], host->h_length); - sin.sin_port = htons(port); - - if((connect(sock, (struct sockaddr*)&sin, sizeof(sin)) < 0) - && errno != EINPROGRESS) { - - sprintf(sTemp, "connect failed errno = %d\n", errno); - sprintf(sTemp2, "%s\n", strerror(errno)); - close(sock); - strcat(sTemp, sTemp2); - error(sTemp); - return 0; - } - - if(fcntl(sock,F_SETFL, flags | O_NONBLOCK) < 0) { - sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock, flags | O_NONBLOCK); - error(sTemp); - close(sock); - return 0; - } - - if(setsockopt(sock,protocol->p_proto,TCP_NODELAY,&on_off,sizeof(int)) < 0) { - sprintf(sTemp,"Unable to disable Nagel's algorithm for socket %d.\nsetsockopt", sock); - error(sTemp); - close(sock); - return 0; - } - - return sock; -} - -/* Check if a vapi id is "good" */ -static inline int good_id (unsigned long id) -{ - return ((id >= first_id) && (id <= last_id)); -} - - -/* Initialize a new connection to the or1k board, and make sure we are - really connected. */ - -int -vapi_init (char *port_name, unsigned long id) -{ - first_id = id; - last_id = id + num_vapi_ids - 1; - /* CZ 24/05/01 - Check to see if we have specified a remote - VAPI interface or a local one. It is remote if it follows - the URL naming convention vapi://: */ - if(!strncmp(port_name,"vapi://",7)) { - char *port; - char hostname[256]; - - port = strchr(&port_name[7], ':'); - if(port) { - int len = port - port_name - 7; - strncpy(hostname,&port_name[7],len); - hostname[len] = '\0'; - port++; - } else - strcpy(hostname,&port_name[7]); - - /* Interface is remote */ - if(!(vapi_fd = connect_to_server(hostname,port))) { - char sTemp[256]; - sprintf(sTemp,"Can not access VAPI Proxy Server at \"%s\"", - &port_name[5]); - error(sTemp); - } - printf("Remote or1k testing using %s, id 0x%x\n", port_name, id); - if (vapi_write_stream (vapi_fd, &id, sizeof (id))) - return 1; - } else - return 1; - return 0; -} - -void -vapi_done () /* CZ */ -{ - int flags = 0; - struct linger linger; - char sTemp[256]; - - linger.l_onoff = 0; - linger.l_linger = 0; - - /* First, make sure we're non blocking */ - if(fcntl(vapi_fd, F_GETFL,&flags) < 0) { - sprintf(sTemp,"Unable to get flags for VAPI proxy socket %d", vapi_fd); - error(sTemp); - } - if(fcntl(vapi_fd, F_SETFL, flags & ~O_NONBLOCK) < 0) { - sprintf(sTemp,"Unable to set flags for VAPI proxy socket %d to value 0x%08x", vapi_fd, flags | O_NONBLOCK); - error(sTemp); - } - - /* Now, make sure we don't linger around */ - if(setsockopt(vapi_fd,SOL_SOCKET,SO_LINGER,&linger,sizeof(linger)) < 0) { - sprintf(sTemp,"Unable to disable SO_LINGER for VAPI proxy socket %d.", vapi_fd); - error(sTemp); - } - - close(vapi_fd); -} - -/* Writes an unsigned long to server */ -void vapi_write(unsigned long data) -{ - vapi_write_with_id (0, data); -} - -/* Writes an unsigned long to server with relative ID */ -void vapi_write_with_id(unsigned long relative_id, unsigned long data) -{ - printf ("WRITE [%08x, %08x]\n", first_id + relative_id, data); - if (write_packet (first_id + relative_id, data)) - perror ("write packet"); -} - -/* Reads an unsigned long from server */ -unsigned long vapi_read() -{ - unsigned long relative_id, data; - vapi_read_with_id (&relative_id, &data); - return data; -} - -/* Reads an unsigned long and vapi id from server */ -void vapi_read_with_id(unsigned long *relative_id, unsigned long *data) -{ - unsigned long id; - if(read_packet (&id, data)) { - if(vapi_fd) { - perror("vapi read"); - close(vapi_fd); - vapi_fd = 0; - } - exit (2); - } - if (!good_id (id)) { - if (last_id > first_id) - fprintf (stderr, "ERROR: Invalid id %x, expected %x..%x", id, first_id, last_id); - else - fprintf (stderr, "ERROR: Invalid id %x, expected %x.", id, first_id); - exit (1); - } - printf ("READ [%08x, %08x]\n", id, *data); - *relative_id = id - first_id; -} - -/* Polls the port if anything is available and if do_read is set something is read from port. */ -int vapi_waiting () -{ - struct pollfd fds[1]; - - if(vapi_fd) { - fds[0].fd = vapi_fd; - fds[0].events = POLLIN; - fds[0].revents = 0; - } else - return; - - while(1) { - switch(poll(fds, 1, 0)) { - case -1: - if(errno == EINTR) - continue; - perror("poll"); - break; - case 0: /* Nothing interesting going on */ - return 0; - default: - return 1; - } /* End of switch statement */ - } /* End of while statement */ -} - -int main (int argc, char *argv[]) { - unsigned long id, data; - if (argc != 3) { - printf ("Usage: %s URL ID\n", argv[0]); - printf ("%s vapi://localhost:9998 0x12345678\n", argv[0]); - return 2; - } - id = atol (argv[2]); - if (sscanf (argv[2], "0x%x", &id)) { - if (vapi_init(argv[1], id)) - return 1; - } else { - fprintf (stderr, "Invalid vapi_id\n", argv[2]); - return 2; - } - - if (vapi_main ()) { - fprintf (stderr, "TEST FAILED.\n"); - return 1; - } - printf ("Test passed.\n"); - - vapi_done(); - return 0; -}
trunk/vapi.c Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/configure =================================================================== --- trunk/configure (revision 12) +++ trunk/configure (nonexistent) @@ -1,1739 +0,0 @@ -#! /bin/sh - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -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' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - -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 - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # 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 ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$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" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) 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) - # 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 << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --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 -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$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) - 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 ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - 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 "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -done - -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# 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 - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=vapi.c - -# 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_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - 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 "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# 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 "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -# 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 -# 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" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:556: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:609: checking whether build environment is sane" >&5 -# Just in case -sleep 1 -echo timestamp > conftestfile -# 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 conftestfile 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $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 "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } - fi - - test "$2" = conftestfile - ) -then - # Ok. - : -else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } -fi -rm -f conftest* -echo "$ac_t""yes" 1>&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed -s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed -fi -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" - -# sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:666: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 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 conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - - -PACKAGE=vapi - -VERSION=1.1 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -fi -cat >> confdefs.h <> confdefs.h <&6 -echo "configure:712: checking for working aclocal" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal - echo "$ac_t""found" 1>&6 -else - ACLOCAL="$missing_dir/missing aclocal" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:725: checking for working autoconf" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 -else - AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:738: checking for working automake" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake - echo "$ac_t""found" 1>&6 -else - AUTOMAKE="$missing_dir/missing automake" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:751: checking for working autoheader" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 -else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:764: checking for working makeinfo" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 -else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 -fi - - - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:781: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:811: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -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 $# -gt 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 - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:862: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 905 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:941: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:969: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&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 $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1001: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - -ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:1082: checking for minix/config.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MINIX=yes -else - echo "$ac_t""no" 1>&6 -MINIX= -fi - -if test "$MINIX" = yes; then - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF - - cat >> confdefs.h <<\EOF -#define _POSIX_1_SOURCE 2 -EOF - - cat >> confdefs.h <<\EOF -#define _MINIX 1 -EOF - -fi - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1130: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 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 conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1158: checking whether ${CC-cc} needs -traditional" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_pattern="Autoconf.*'x'" - cat > conftest.$ac_ext < -Autoconf TIOCGETP -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - -# 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 -# 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" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1215: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1270: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -#include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - 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 < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - 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 < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#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); } - -EOF -if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1377: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done - - - -for ac_func in socket strerror strtol -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1418: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* 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(); - -int main() { - -/* 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 -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - - -trap '' 1 2 15 -cat > confcache <<\EOF -# 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. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# 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 \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -cat > conftest.defs <<\EOF -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g -s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -s%\[%\\&%g -s%\]%\\&%g -s%\$%$$%g -EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -rm -f conftest.defs - - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </dev/null | sed 1q`: -# -# $0 $ac_configure_args -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option -do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" - -trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@ACLOCAL@%$ACLOCAL%g -s%@AUTOCONF@%$AUTOCONF%g -s%@AUTOMAKE@%$AUTOMAKE%g -s%@AUTOHEADER@%$AUTOHEADER%g -s%@MAKEINFO@%$MAKEINFO%g -s%@SET_MAKE@%$SET_MAKE%g -s%@CC@%$CC%g -s%@CPP@%$CPP%g - -CEOF -EOF - -cat >> $CONFIG_STATUS <<\EOF - -# 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_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF - -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -
trunk/configure Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/Makefile.in =================================================================== --- trunk/Makefile.in (revision 12) +++ trunk/Makefile.in (nonexistent) @@ -1,360 +0,0 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 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. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -CC = @CC@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -VERSION = @VERSION@ - -bin_PROGRAMS = uart gpio - -uart_SOURCES = vapi.c vapi.h uart.c -gpio_SOURCES = vapi.c vapi.h gpio.c -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -uart_OBJECTS = vapi.o uart.o -uart_LDADD = $(LDADD) -uart_DEPENDENCIES = -uart_LDFLAGS = -gpio_OBJECTS = vapi.o gpio.o -gpio_LDADD = $(LDADD) -gpio_DEPENDENCIES = -gpio_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = gtar -GZIP_ENV = --best -DEP_FILES = .deps/gpio.P .deps/uart.P .deps/vapi.P -SOURCES = $(uart_SOURCES) $(gpio_SOURCES) -OBJECTS = $(uart_OBJECTS) $(gpio_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) - @rm -f uart - $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) - -gpio: $(gpio_OBJECTS) $(gpio_DEPENDENCIES) - @rm -f gpio - $(LINK) $(gpio_LDFLAGS) $(gpio_OBJECTS) $(gpio_LDADD) $(LIBS) - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(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 - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: -dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am - -install-data-am: -install-data: install-data-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-am - -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-am - -rm -f config.status - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -rm -f config.status - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# 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: Index: trunk/configure.scan =================================================================== --- trunk/configure.scan (revision 12) +++ trunk/configure.scan (nonexistent) @@ -1,17 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(uart.c) - -dnl Checks for programs. - -dnl Checks for libraries. - -dnl Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) - -dnl Checks for typedefs, structures, and compiler characteristics. - -dnl Checks for library functions. -AC_CHECK_FUNCS(socket strerror strtol) - -AC_OUTPUT() Index: trunk/config.log =================================================================== --- trunk/config.log (revision 12) +++ trunk/config.log (nonexistent) @@ -1,30 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -configure:556: checking for a BSD compatible install -configure:609: checking whether build environment is sane -configure:666: checking whether make sets ${MAKE} -configure:712: checking for working aclocal -configure:725: checking for working autoconf -configure:738: checking for working automake -configure:751: checking for working autoheader -configure:764: checking for working makeinfo -configure:781: checking for gcc -configure:894: checking whether the C compiler (gcc ) works -configure:910: gcc -o conftest conftest.c 1>&5 -configure:936: checking whether the C compiler (gcc ) is a cross-compiler -configure:941: checking whether we are using GNU C -configure:969: checking whether gcc accepts -g -configure:1001: checking how to run the C preprocessor -configure:1082: checking for minix/config.h -configure:1130: checking whether make sets ${MAKE} -configure:1158: checking whether gcc needs -traditional -configure:1215: checking for a BSD compatible install -configure:1270: checking for ANSI C header files -configure:1377: checking for fcntl.h -configure:1377: checking for sys/ioctl.h -configure:1377: checking for sys/time.h -configure:1377: checking for unistd.h -configure:1418: checking for socket -configure:1418: checking for strerror -configure:1418: checking for strtol Index: trunk/vapi.h =================================================================== --- trunk/vapi.h (revision 12) +++ trunk/vapi.h (nonexistent) @@ -1,39 +0,0 @@ -/* vapi.h - Verification API Interface - Copyright (C) 2001, Marko Mlinar, markom@opencores.org - - This file is part of OpenRISC 1000 Architectural Simulator. - - 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* Writes an unsigned long to server */ -void vapi_write(unsigned long data); - -/* Writes an unsigned long to server with relative ID */ -void vapi_write_with_id(unsigned long relative_id, unsigned long data); - -/* Reads an unsigned long from server */ -unsigned long vapi_read(); - -/* Reads an unsigned long and vapi id from server */ -void vapi_read_with_id(unsigned long *relative_id, unsigned long *data); - -/* Polls the port if anything is available and if do_read is set something is read from port. */ -int vapi_waiting (); - -/* Main function, actually the testcase, defined by VAPI user. */ -extern int vapi_main(); - -/* Number of consecutive VAPI IDs the user needs */ -extern unsigned long num_vapi_ids;
trunk/vapi.h Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/configure.in =================================================================== --- trunk/configure.in (revision 12) +++ trunk/configure.in (nonexistent) @@ -1,23 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(vapi.c) -AM_INIT_AUTOMAKE(vapi, 1.1) - -dnl Checks for programs. -AC_PROG_CC -AC_MINIX -AC_PROG_MAKE_SET -AC_PROG_GCC_TRADITIONAL -AC_PROG_INSTALL - -dnl Checks for libraries. - -dnl Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) - -dnl Checks for typedefs, structures, and compiler characteristics. - -dnl Checks for library functions. -AC_CHECK_FUNCS(socket strerror strtol) - -AC_OUTPUT(Makefile)
trunk/configure.in Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/config.status =================================================================== --- trunk/config.status (revision 12) +++ trunk/config.status (nonexistent) @@ -1,168 +0,0 @@ -#! /bin/sh -# Generated automatically by configure. -# Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host vili: -# -# ./configure -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" -for ac_option -do - case "$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" - exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "./config.status generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "$ac_cs_usage"; exit 0 ;; - *) echo "$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=. -ac_given_INSTALL="/usr/bin//install -c" - -trap 'rm -fr Makefile conftest*; exit 1' 1 2 15 - -# Protect against being on the right side of a sed subst in config.status. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF -/^[ ]*VPATH[ ]*=[^:]*$/d - -s%@SHELL@%/bin/sh%g -s%@CFLAGS@%-g -O2%g -s%@CPPFLAGS@%%g -s%@CXXFLAGS@%%g -s%@FFLAGS@%%g -s%@DEFS@% -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 %g -s%@LDFLAGS@%%g -s%@LIBS@%%g -s%@exec_prefix@%${prefix}%g -s%@prefix@%/usr/local%g -s%@program_transform_name@%s,x,x,%g -s%@bindir@%${exec_prefix}/bin%g -s%@sbindir@%${exec_prefix}/sbin%g -s%@libexecdir@%${exec_prefix}/libexec%g -s%@datadir@%${prefix}/share%g -s%@sysconfdir@%${prefix}/etc%g -s%@sharedstatedir@%${prefix}/com%g -s%@localstatedir@%${prefix}/var%g -s%@libdir@%${exec_prefix}/lib%g -s%@includedir@%${prefix}/include%g -s%@oldincludedir@%/usr/include%g -s%@infodir@%${prefix}/info%g -s%@mandir@%${prefix}/man%g -s%@INSTALL_PROGRAM@%${INSTALL}%g -s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g -s%@INSTALL_DATA@%${INSTALL} -m 644%g -s%@PACKAGE@%vapi%g -s%@VERSION@%1.1%g -s%@ACLOCAL@%aclocal%g -s%@AUTOCONF@%autoconf%g -s%@AUTOMAKE@%automake%g -s%@AUTOHEADER@%autoheader%g -s%@MAKEINFO@%makeinfo%g -s%@SET_MAKE@%%g -s%@CC@%gcc%g -s%@CPP@%gcc -E%g - -CEOF - -# 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_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi - -CONFIG_FILES=${CONFIG_FILES-"Makefile"} -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - - - -exit 0
trunk/config.status Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/config.cache =================================================================== --- trunk/config.cache (revision 12) +++ trunk/config.cache (nonexistent) @@ -1,32 +0,0 @@ -# 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. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -ac_cv_func_socket=${ac_cv_func_socket=yes} -ac_cv_func_strerror=${ac_cv_func_strerror=yes} -ac_cv_func_strtol=${ac_cv_func_strtol=yes} -ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes} -ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no} -ac_cv_header_stdc=${ac_cv_header_stdc=yes} -ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h=yes} -ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes} -ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes} -ac_cv_path_install=${ac_cv_path_install='/usr/bin//install -c'} -ac_cv_prog_CC=${ac_cv_prog_CC=gcc} -ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} -ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} -ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} -ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} -ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} -ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no} -ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} Index: trunk/Makefile.am =================================================================== --- trunk/Makefile.am (revision 12) +++ trunk/Makefile.am (nonexistent) @@ -1,4 +0,0 @@ -bin_PROGRAMS = uart gpio - -uart_SOURCES = vapi.c vapi.h uart.c -gpio_SOURCES = vapi.c vapi.h gpio.c
trunk/Makefile.am Property changes : Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk =================================================================== --- trunk (revision 12) +++ trunk (nonexistent)
trunk Property changes : Deleted: svn:ignore ## -1,3 +0,0 ## -.deps -gpio -uart Index: vapi/trunk/config.status =================================================================== --- vapi/trunk/config.status (nonexistent) +++ vapi/trunk/config.status (revision 13) @@ -0,0 +1,168 @@ +#! /bin/sh +# Generated automatically by configure. +# Run this file to recreate the current configuration. +# This directory was configured as follows, +# on host vili: +# +# ./configure +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" +for ac_option +do + case "$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" + exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "./config.status generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "$ac_cs_usage"; exit 0 ;; + *) echo "$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=. +ac_given_INSTALL="/usr/bin//install -c" + +trap 'rm -fr Makefile conftest*; exit 1' 1 2 15 + +# Protect against being on the right side of a sed subst in config.status. +sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; + s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF +/^[ ]*VPATH[ ]*=[^:]*$/d + +s%@SHELL@%/bin/sh%g +s%@CFLAGS@%-g -O2%g +s%@CPPFLAGS@%%g +s%@CXXFLAGS@%%g +s%@FFLAGS@%%g +s%@DEFS@% -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 %g +s%@LDFLAGS@%%g +s%@LIBS@%%g +s%@exec_prefix@%${prefix}%g +s%@prefix@%/usr/local%g +s%@program_transform_name@%s,x,x,%g +s%@bindir@%${exec_prefix}/bin%g +s%@sbindir@%${exec_prefix}/sbin%g +s%@libexecdir@%${exec_prefix}/libexec%g +s%@datadir@%${prefix}/share%g +s%@sysconfdir@%${prefix}/etc%g +s%@sharedstatedir@%${prefix}/com%g +s%@localstatedir@%${prefix}/var%g +s%@libdir@%${exec_prefix}/lib%g +s%@includedir@%${prefix}/include%g +s%@oldincludedir@%/usr/include%g +s%@infodir@%${prefix}/info%g +s%@mandir@%${prefix}/man%g +s%@INSTALL_PROGRAM@%${INSTALL}%g +s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g +s%@INSTALL_DATA@%${INSTALL} -m 644%g +s%@PACKAGE@%vapi%g +s%@VERSION@%1.1%g +s%@ACLOCAL@%aclocal%g +s%@AUTOCONF@%autoconf%g +s%@AUTOMAKE@%automake%g +s%@AUTOHEADER@%autoheader%g +s%@MAKEINFO@%makeinfo%g +s%@SET_MAKE@%%g +s%@CC@%gcc%g +s%@CPP@%gcc -E%g + +CEOF + +# 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_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi + +CONFIG_FILES=${CONFIG_FILES-"Makefile"} +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + + + +exit 0
vapi/trunk/config.status Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/install-sh =================================================================== --- vapi/trunk/install-sh (nonexistent) +++ vapi/trunk/install-sh (revision 13) @@ -0,0 +1,251 @@ +#!/bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# 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}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + chmodcmd="" + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -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 [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# 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 $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0
vapi/trunk/install-sh Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/vapi.h =================================================================== --- vapi/trunk/vapi.h (nonexistent) +++ vapi/trunk/vapi.h (revision 13) @@ -0,0 +1,39 @@ +/* vapi.h - Verification API Interface + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + + This file is part of OpenRISC 1000 Architectural Simulator. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* Writes an unsigned long to server */ +void vapi_write(unsigned long data); + +/* Writes an unsigned long to server with relative ID */ +void vapi_write_with_id(unsigned long relative_id, unsigned long data); + +/* Reads an unsigned long from server */ +unsigned long vapi_read(); + +/* Reads an unsigned long and vapi id from server */ +void vapi_read_with_id(unsigned long *relative_id, unsigned long *data); + +/* Polls the port if anything is available and if do_read is set something is read from port. */ +int vapi_waiting (); + +/* Main function, actually the testcase, defined by VAPI user. */ +extern int vapi_main(); + +/* Number of consecutive VAPI IDs the user needs */ +extern unsigned long num_vapi_ids;
vapi/trunk/vapi.h Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/uart.c =================================================================== --- vapi/trunk/uart.c (nonexistent) +++ vapi/trunk/uart.c (revision 13) @@ -0,0 +1,405 @@ +/* uart.c -- test for uart, by using VAPI + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + + +#include "vapi.h" + +unsigned long num_vapi_ids = 1; + +/* UART messages */ +#define TX_CMD 0xff000000 +#define TX_CMD0 0x00000000 +#define TX_CHAR 0x000000ff +#define TX_NBITS 0x00000300 +#define TX_STOPLEN 0x00000400 +#define TX_PARITY 0x00000800 +#define TX_EVENP 0x00001000 +#define TX_STICK 0x00002000 +#define TX_BREAK 0x00004000 + +/* Send speed */ +#define TX_CMD1 0x01000000 +#define TX_SPEED 0x0000ffff + +/* Send receive LCR reg */ +#define TX_CMD2 0x02000000 + +/* Send skew */ +#define TX_CMD3 0x03000000 + +/* Set break */ +#define TX_CMD4 0x04000000 +#define TX_CMD4_BREAK 0x00010000 +#define TX_CMD4_DELAY 0x0000ffff + +/* Check FIFO */ +#define TX_CMD5 0x05000000 +#define TX_CMD5_FIFOFULL 0x0000001 + +#define RX_CMD0 0x00000000 +#define RX_PARERR 0x00010000 +#define RX_FRAERR 0x00020000 + +/* fails if x is false */ +#define ASSERT(x) ((x)?1:fail (__FUNCTION__, __LINE__)) +#define MARK() printf ("Passed line %i\n", __LINE__) +#define VAPI_READ(x) {unsigned long r = vapi_read (); printf ("expected 0x%08x, read 0x%08x\n", r, (x)); ASSERT(r == (x));} + +#ifndef __LINE__ +#define __LINE__ 0 +#endif + +void fail (char *func, int line) +{ +#ifndef __FUNCTION__ +#define __FUNCTION__ "?" +#endif + printf ("Test failed in %s:%i\n", func, line); + exit (1); +} +char str[5000]; + +/* current comm. control bits */ +int control, control_rx; + +void recv_char (char c) +{ + unsigned long tmp = vapi_read (); + printf ("expected %08x, read %08x\n", control_rx | c, tmp); + /* test if something is wrong */ + ASSERT ((tmp & 0xffffff00) == control_rx); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + printf ("expected %02x, read %02x\n", c, tmp); + ASSERT (c == (char)tmp); +} + +void send_char (char c) +{ + vapi_write (c | (control & 0xffffff00)); +} + +char *read_string (char *s) +{ + char *t = s; + unsigned long tmp = 1; + while (tmp) { + tmp = vapi_read (); + printf ("%08x, %08x\n", tmp, control_rx); + /* test if something is wrong */ + ASSERT ((tmp & 0xffffff00) == control_rx); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + *(t++) = (char)tmp; + } + return s; +} + + +void compare_string (char *s) { + while (*s) { + unsigned long tmp = vapi_read (); + /* test if something is wrong */ + ASSERT (tmp == (control_rx | *s)); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + s++; + } +} + +void send_string (char *s) +{ + while (*s) + vapi_write (*(s++) | (control & 0xffffff00)); +} + +void init_8n1 () +{ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control = control_rx = TX_CMD0 | TX_NBITS; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ +} + +void test_registers () +{ + /* This test is performed just by cpu, if it is not stopped, we have an error. */ + printf ("Testing registers... "); + MARK(); +} + +void send_recv_test () +{ + printf ("send_recv_test\n"); + MARK(); + read_string (str); + MARK(); + printf ("OK\nread: %s\n",str); + ASSERT (strcmp (str, "send_test_is_running") == 0); + send_string ("recv"); + MARK(); + printf ("OK\n"); +} + +void break_test () +{ + printf ("break_test\n"); + /* receive a break */ + VAPI_READ (TX_BREAK); + MARK(); + vapi_write (control | '*'); + MARK(); + VAPI_READ (control | '!'); + MARK(); + + /* send a break */ + vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); + vapi_write (control | 'b'); + MARK(); + VAPI_READ (control | '#'); + MARK(); + vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); + vapi_write (control | '$'); + MARK(); + + /* Receive a breaked string "ns*", only "ns" should be received. */ + compare_string ("ns"); + VAPI_READ (TX_BREAK); + send_string ("?"); + MARK(); + + /* Send a break */ + VAPI_READ (control | '#'); + vapi_write(TX_CMD4 | TX_CMD4_BREAK | (5 & TX_CMD4_DELAY)); + vapi_write (control | 0); + MARK(); +#if 0 + /* Wait four chars */ + send_string ("234"); + MARK(); +#endif + + /* FIFO should be empty */ + vapi_write(TX_CMD5); + send_string ("5"); + /* FIFO should be nonempty and */ + vapi_write(TX_CMD5 | TX_CMD5_FIFOFULL); + MARK(); + /* it should contain '?' */ + VAPI_READ ('?' | control); + /* Reset break signal*/ + vapi_write(TX_CMD4 | (0) & TX_CMD4_DELAY); + MARK(); + vapi_write ('!' | control); + printf ("OK\n"); +} + +/* Tries to send data in different modes in both directions */ + +/* Utility function, that tests current configuration */ +void test_mode (int nbits) +{ + unsigned mask = (1 << nbits) - 1; + recv_char ('U' & mask); //0x55 +#if DETAILED + recv_char ('U' & mask); //0x55 + send_char ('U'); //0x55 +#endif + send_char ('U'); //0x55 + recv_char ('a' & mask); //0x61 +#if DETAILED + recv_char ('a' & mask); //0x61 + send_char ('a'); //0x61 +#endif + send_char ('a'); //0x61 +} + +void different_modes_test () +{ + int speed, length, parity; + printf ("different modes test\n"); + /* Init */ + /* Test different speeds */ + for (speed = 1; speed < 5; speed++) { + vapi_write(TX_CMD1 | speed); /* Set tx/rx speed */ + control_rx = control = 0x03 << 8; /* 8N1 */ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + test_mode (8); + MARK(); + } + MARK(); + + vapi_write(TX_CMD1 | 1); /* Set tx/rx speed */ + MARK(); + + /* Test all parity modes with different char lengths */ + for (parity = 0; parity < 8; parity++) + for (length = 0; length < 4; length++) { + control_rx = control = (length | (0 << 2) | (parity << 3)) << 8; + vapi_write(TX_CMD2 | control_rx); + test_mode (5 + length); + MARK(); + } + MARK(); + + /* Test configuration, if we have >1 stop bits */ + for (length = 0; length < 4; length++) { + control_rx = control = (length | (1 << 2) | (0 << 3)) << 8; + vapi_write(TX_CMD2 | control_rx); + test_mode (5 + length); + MARK(); + } + MARK(); + + /* Restore normal mode */ + recv_char ('T'); /* Wait for acknowledge */ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control_rx = control = 0x03 << 8; /* 8N1 @ 2*/ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + send_char ('x'); /* Send a character. It is possible that this char is received unproperly */ + recv_char ('T'); /* Wait for acknowledge before ending the test */ + MARK(); + printf ("OK\n"); +} + +/* Test various FIFO levels, break and framing error interrupt, etc */ + +void interrupt_test () +{ + int i; + vapi_write(TX_CMD1 | 6); /* Set tx/rx speed */ + printf ("interrupt_test\n"); + /* start interrupt test */ + recv_char ('I'); /* Test trigger level 1 */ + send_char ('0'); + + recv_char ('I'); /* Test trigger level 4 */ + send_char ('1'); + send_char ('2'); + send_char ('3'); + send_char ('4'); + + recv_char ('I'); /* Test trigger level 8 */ + send_char ('5'); + send_char ('6'); + send_char ('7'); + send_char ('8'); + send_char ('9'); + + recv_char ('I'); /* Test trigger level 14 */ + send_char ('a'); + send_char ('b'); + send_char ('c'); + send_char ('d'); + send_char ('e'); + send_char ('f'); + send_char ('g'); + + recv_char ('I'); /* Test OE */ + send_char ('h'); + send_char ('i'); + send_char ('j'); + send_char ('*'); /* should not be put in the fifo */ + + recv_char ('I'); /* test break interrupt */ + /* send a break */ + vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); + vapi_write (control | 'b'); + MARK(); + recv_char ('B'); /* Release break */ + MARK(); + vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); + vapi_write (control | '$'); + MARK(); + + /* TODO: Check for parity error */ + /* TODO: Check for frame error */ + + /* Check for timeout */ + recv_char ('I'); + send_char ('T'); /* Send char -> timeout should occur */ + recv_char ('T'); /* Wait for acknowledge before changing configuration */ + MARK (); + + /* Restore previous mode */ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control = control_rx = TX_CMD0 | TX_NBITS; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('T'); /* Wait for acknowledge before ending the test */ + printf ("OK\n"); +} + +/* Test if all control bits are set correctly. Lot of this was already tested + elsewhere and tests are not duplicated. */ + +void control_register_test () +{ + printf ("control_register_test\n"); + recv_char ('*'); + send_char ('*'); + MARK (); + recv_char ('!'); + send_char ('!'); + MARK (); + + recv_char ('1'); + recv_char ('*'); + send_char ('*'); + printf ("OK\n"); +} + +void line_error_test () +{ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('c'); + vapi_write(TX_CMD1 | 3); /* Set incorrect tx/rx speed */ + send_char ('a'); + vapi_write(TX_CMD1 | 2); /* Set correct tx/rx speed */ + send_char ('b'); + MARK (); + +#if COMPLETE + recv_char ('*'); + control = TX_CMD0 | TX_NBITS; + control_rx = TX_CMD0 | TX_NBITS | TX_STOPLEN; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('*'); + MARK (); +#endif +} + +int vapi_main () +{ + + /* Test section area */ + test_registers (); + init_8n1 (); + send_recv_test (); + break_test(); + different_modes_test (); + interrupt_test (); + control_register_test (); + line_error_test (); + /* End of test section area */ + + send_char ('@'); + return 0; +}
vapi/trunk/uart.c Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/gpio.c =================================================================== --- vapi/trunk/gpio.c (nonexistent) +++ vapi/trunk/gpio.c (revision 13) @@ -0,0 +1,108 @@ +/* gpio.c -- test for GPIO, by using VAPI + Copyright (C) 2001, Erez Volk, erez@opencores.org + + This file is part of OpenRISC 1000 Architectural Simulator. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include + +unsigned long num_vapi_ids = 8; + +#define ALL_ONES 0xFFFFFFFFLU +#define ALL_ZEROS 0x00000000LU + + +/* fails if x is false */ +#define ASSERT(x) ((x)?1: fail (__FILE__, __LINE__)) + +static void fail (char *file, int line) +{ + printf( "Test failed in %s:%i\n", file, line ); + exit( 1 ); +} + + +static void test_registers( void ) +{ +} + +static void test_simple_io( void ) +{ + unsigned i; + unsigned long oe; + + for ( i = 1, oe = 1; i < 31; ++ i, oe = (oe << 1) | 1 ) { + ASSERT( vapi_read() == oe ); + vapi_write( ~oe ); + ASSERT( vapi_read() == 0 ); + vapi_write( oe ); + } +} + + +static void test_interrupts( void ) +{ + unsigned i; + + ASSERT( vapi_read() == 0x80000000 ); + for ( i = 0; i < 31; ++ i ) { + vapi_write( 1LU << i ); + ASSERT( vapi_read() == ((i % 2) ? 0x80000000 : 0) ); + } +} + +static void test_external_clock( void ) +{ + unsigned i, j, edge; + unsigned long junk = 0xdf662b5c; + + for ( edge = 0; edge < 2; ++ edge ) { + ASSERT( vapi_read() == 0x80000000 ); + vapi_write_with_id( 2, !edge ); + for ( i = 0; i < 31; ++ i ) { + for ( j = 0; j < 4; ++ j, junk = junk * 0xf7b1dfbd + 0x5bf9f28b ) + vapi_write( junk ); + + vapi_write( 1LU << i ); + vapi_write_with_id( 2, edge ); + + ASSERT( vapi_read() == ((i % 2) ? 0x80000000 : 0) ); + + for ( j = 0; j < 4; ++ j, junk = junk * 0xf7b1dfbd + 0x5bf9f28b ) + vapi_write( junk ); + vapi_write_with_id( 2, !edge ); + } + } +} + + +static void endshake( void ) +{ + ASSERT( vapi_read() == 0x12340000 ); + vapi_write( 0x00005678 ); + ASSERT( vapi_read() == 0xDeadDead ); +} + +int vapi_main( void ) +{ + test_registers(); + test_simple_io(); + test_interrupts(); + test_external_clock(); + endshake(); + + return 0; +} Index: vapi/trunk/vapi.c =================================================================== --- vapi/trunk/vapi.c (nonexistent) +++ vapi/trunk/vapi.c (revision 13) @@ -0,0 +1,403 @@ +/* vapi.c -- Verification API Interface test side + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "vapi.h" + +int vapi_fd; +unsigned long first_id, last_id; + +static int vapi_write_stream(int fd, void* buf, int len) +{ + int n; + char* w_buf = (char*)buf; + struct pollfd block; + + while(len) { + if((n = write(fd,w_buf,len)) < 0) { + switch(errno) { + case EWOULDBLOCK: /* or EAGAIN */ + /* We've been called on a descriptor marked + for nonblocking I/O. We better simulate + blocking behavior. */ + block.fd = fd; + block.events = POLLOUT; + block.revents = 0; + poll(&block,1,-1); + continue; + case EINTR: + continue; + case EPIPE: + close(fd); + vapi_fd = 0; + return -1; + default: + return -1; + } + } else { + len -= n; + w_buf += n; + } + } + return 0; +} + +static int vapi_read_stream(int fd, void* buf, int len) +{ + int n; + char* r_buf = (char*)buf; + struct pollfd block; + + while(len) { + if((n = read(fd,r_buf,len)) < 0) { + switch(errno) { + case EWOULDBLOCK: /* or EAGAIN */ + /* We've been called on a descriptor marked + for nonblocking I/O. We better simulate + blocking behavior. */ + block.fd = fd; + block.events = POLLIN; + block.revents = 0; + poll(&block,1,-1); + continue; + case EINTR: + continue; + default: + return -1; + } + } else if(n == 0) { + close(fd); + fd = 0; + return -1; + } else { + len -= n; + r_buf += n; + } + } + return 0; +} + +static int write_packet (unsigned long id, unsigned long data) { + id = htonl (id); + if (vapi_write_stream(vapi_fd, &id, sizeof (id)) < 0) + return 1; + data = htonl (data); + if (vapi_write_stream(vapi_fd, &data, sizeof (data)) < 0) + return 1; + return 0; +} + +static int read_packet (unsigned long *id, unsigned long *data) { + if (vapi_read_stream(vapi_fd, id, sizeof (unsigned long)) < 0) + return 1; + *id = htonl (*id); + if (vapi_read_stream(vapi_fd, data, sizeof (unsigned long)) < 0) + return 1; + *data = htonl (*data); + return 0; +} + +/* Added by CZ 24/05/01 */ +static int connect_to_server(char* hostname,char* name) +{ + struct hostent *host; + struct sockaddr_in sin; + struct servent *service; + struct protoent *protocol; + int sock,flags; + char sTemp[256],sTemp2[256]; + char* proto_name = "tcp"; + int port = 0; + int on_off = 0; /* Turn off Nagel's algorithm on the socket */ + char *s; + + if(!(protocol = getprotobyname(proto_name))) { + sprintf(sTemp,"Protocol \"%s\" not available.\n", + proto_name); + error(sTemp); + return 0; + } + + /* Convert name to an integer only if it is well formatted. + Otherwise, assume that it is a service name. */ + + port = strtol(name, &s, 10); + if(*s) + port = 0; + + if(!port) { + if(!(service = getservbyname(name, protocol->p_name))) { + sprintf(sTemp,"Unknown service \"%s\".\n",name); + error(sTemp); + return 0; + } + port = ntohs(service->s_port); + } + + if(!(host = gethostbyname(hostname))) { + sprintf(sTemp,"Unknown host \"%s\"\n",hostname); + error(sTemp); + return 0; + } + + if((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) { + sprintf(sTemp, "can't create socket errno = %d\n", errno); + sprintf(sTemp2, "%s\n",strerror(errno)); + strcat(sTemp, sTemp2); + error(sTemp); + return 0; + } + + if(fcntl(sock, F_GETFL, &flags) < 0) { + sprintf(sTemp, "Unable to get flags for VAPI proxy socket %d", sock); + error(sTemp); + close(sock); + return 0; + } + + if(fcntl(sock,F_SETFL, flags & ~O_NONBLOCK) < 0) { + sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock,flags | O_NONBLOCK); + error(sTemp); + close(sock); + return 0; + } + + memset(&sin,0,sizeof(sin)); + sin.sin_family = host->h_addrtype; + memcpy(&sin.sin_addr, host->h_addr_list[0], host->h_length); + sin.sin_port = htons(port); + + if((connect(sock, (struct sockaddr*)&sin, sizeof(sin)) < 0) + && errno != EINPROGRESS) { + + sprintf(sTemp, "connect failed errno = %d\n", errno); + sprintf(sTemp2, "%s\n", strerror(errno)); + close(sock); + strcat(sTemp, sTemp2); + error(sTemp); + return 0; + } + + if(fcntl(sock,F_SETFL, flags | O_NONBLOCK) < 0) { + sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock, flags | O_NONBLOCK); + error(sTemp); + close(sock); + return 0; + } + + if(setsockopt(sock,protocol->p_proto,TCP_NODELAY,&on_off,sizeof(int)) < 0) { + sprintf(sTemp,"Unable to disable Nagel's algorithm for socket %d.\nsetsockopt", sock); + error(sTemp); + close(sock); + return 0; + } + + return sock; +} + +/* Check if a vapi id is "good" */ +static inline int good_id (unsigned long id) +{ + return ((id >= first_id) && (id <= last_id)); +} + + +/* Initialize a new connection to the or1k board, and make sure we are + really connected. */ + +int +vapi_init (char *port_name, unsigned long id) +{ + first_id = id; + last_id = id + num_vapi_ids - 1; + /* CZ 24/05/01 - Check to see if we have specified a remote + VAPI interface or a local one. It is remote if it follows + the URL naming convention vapi://: */ + if(!strncmp(port_name,"vapi://",7)) { + char *port; + char hostname[256]; + + port = strchr(&port_name[7], ':'); + if(port) { + int len = port - port_name - 7; + strncpy(hostname,&port_name[7],len); + hostname[len] = '\0'; + port++; + } else + strcpy(hostname,&port_name[7]); + + /* Interface is remote */ + if(!(vapi_fd = connect_to_server(hostname,port))) { + char sTemp[256]; + sprintf(sTemp,"Can not access VAPI Proxy Server at \"%s\"", + &port_name[5]); + error(sTemp); + } + printf("Remote or1k testing using %s, id 0x%x\n", port_name, id); + if (vapi_write_stream (vapi_fd, &id, sizeof (id))) + return 1; + } else + return 1; + return 0; +} + +void +vapi_done () /* CZ */ +{ + int flags = 0; + struct linger linger; + char sTemp[256]; + + linger.l_onoff = 0; + linger.l_linger = 0; + + /* First, make sure we're non blocking */ + if(fcntl(vapi_fd, F_GETFL,&flags) < 0) { + sprintf(sTemp,"Unable to get flags for VAPI proxy socket %d", vapi_fd); + error(sTemp); + } + if(fcntl(vapi_fd, F_SETFL, flags & ~O_NONBLOCK) < 0) { + sprintf(sTemp,"Unable to set flags for VAPI proxy socket %d to value 0x%08x", vapi_fd, flags | O_NONBLOCK); + error(sTemp); + } + + /* Now, make sure we don't linger around */ + if(setsockopt(vapi_fd,SOL_SOCKET,SO_LINGER,&linger,sizeof(linger)) < 0) { + sprintf(sTemp,"Unable to disable SO_LINGER for VAPI proxy socket %d.", vapi_fd); + error(sTemp); + } + + close(vapi_fd); +} + +/* Writes an unsigned long to server */ +void vapi_write(unsigned long data) +{ + vapi_write_with_id (0, data); +} + +/* Writes an unsigned long to server with relative ID */ +void vapi_write_with_id(unsigned long relative_id, unsigned long data) +{ + printf ("WRITE [%08x, %08x]\n", first_id + relative_id, data); + if (write_packet (first_id + relative_id, data)) + perror ("write packet"); +} + +/* Reads an unsigned long from server */ +unsigned long vapi_read() +{ + unsigned long relative_id, data; + vapi_read_with_id (&relative_id, &data); + return data; +} + +/* Reads an unsigned long and vapi id from server */ +void vapi_read_with_id(unsigned long *relative_id, unsigned long *data) +{ + unsigned long id; + if(read_packet (&id, data)) { + if(vapi_fd) { + perror("vapi read"); + close(vapi_fd); + vapi_fd = 0; + } + exit (2); + } + if (!good_id (id)) { + if (last_id > first_id) + fprintf (stderr, "ERROR: Invalid id %x, expected %x..%x", id, first_id, last_id); + else + fprintf (stderr, "ERROR: Invalid id %x, expected %x.", id, first_id); + exit (1); + } + printf ("READ [%08x, %08x]\n", id, *data); + *relative_id = id - first_id; +} + +/* Polls the port if anything is available and if do_read is set something is read from port. */ +int vapi_waiting () +{ + struct pollfd fds[1]; + + if(vapi_fd) { + fds[0].fd = vapi_fd; + fds[0].events = POLLIN; + fds[0].revents = 0; + } else + return; + + while(1) { + switch(poll(fds, 1, 0)) { + case -1: + if(errno == EINTR) + continue; + perror("poll"); + break; + case 0: /* Nothing interesting going on */ + return 0; + default: + return 1; + } /* End of switch statement */ + } /* End of while statement */ +} + +int main (int argc, char *argv[]) { + unsigned long id, data; + if (argc != 3) { + printf ("Usage: %s URL ID\n", argv[0]); + printf ("%s vapi://localhost:9998 0x12345678\n", argv[0]); + return 2; + } + id = atol (argv[2]); + if (sscanf (argv[2], "0x%x", &id)) { + if (vapi_init(argv[1], id)) + return 1; + } else { + fprintf (stderr, "Invalid vapi_id\n", argv[2]); + return 2; + } + + if (vapi_main ()) { + fprintf (stderr, "TEST FAILED.\n"); + return 1; + } + printf ("Test passed.\n"); + + vapi_done(); + return 0; +}
vapi/trunk/vapi.c Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/Makefile.in =================================================================== --- vapi/trunk/Makefile.in (nonexistent) +++ vapi/trunk/Makefile.in (revision 13) @@ -0,0 +1,360 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = @CC@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +bin_PROGRAMS = uart gpio + +uart_SOURCES = vapi.c vapi.h uart.c +gpio_SOURCES = vapi.c vapi.h gpio.c +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = @DEFS@ -I. -I$(srcdir) +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +uart_OBJECTS = vapi.o uart.o +uart_LDADD = $(LDADD) +uart_DEPENDENCIES = +uart_LDFLAGS = +gpio_OBJECTS = vapi.o gpio.o +gpio_LDADD = $(LDADD) +gpio_DEPENDENCIES = +gpio_LDFLAGS = +CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/gpio.P .deps/uart.P .deps/vapi.P +SOURCES = $(uart_SOURCES) $(gpio_SOURCES) +OBJECTS = $(uart_OBJECTS) $(gpio_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) + @rm -f uart + $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) + +gpio: $(gpio_OBJECTS) $(gpio_DEPENDENCIES) + @rm -f gpio + $(LINK) $(gpio_LDFLAGS) $(gpio_OBJECTS) $(gpio_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(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 + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ + clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ + distclean-depend distclean-generic clean-am + +distclean: distclean-am + -rm -f config.status + +maintainer-clean-am: maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + -rm -f config.status + +.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: Index: vapi/trunk/Makefile.am =================================================================== --- vapi/trunk/Makefile.am (nonexistent) +++ vapi/trunk/Makefile.am (revision 13) @@ -0,0 +1,4 @@ +bin_PROGRAMS = uart gpio + +uart_SOURCES = vapi.c vapi.h uart.c +gpio_SOURCES = vapi.c vapi.h gpio.c
vapi/trunk/Makefile.am Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/Makefile =================================================================== --- vapi/trunk/Makefile (nonexistent) +++ vapi/trunk/Makefile (revision 13) @@ -0,0 +1,360 @@ +# Generated automatically from Makefile.in by configure. +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = . +prefix = /usr/local +exec_prefix = ${prefix} + +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 +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/vapi +pkglibdir = $(libdir)/vapi +pkgincludedir = $(includedir)/vapi + +top_builddir = . + +ACLOCAL = aclocal +AUTOCONF = autoconf +AUTOMAKE = automake +AUTOHEADER = autoheader + +INSTALL = /usr/bin//install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL_PROGRAM} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = gcc +MAKEINFO = makeinfo +PACKAGE = vapi +VERSION = 1.1 + +bin_PROGRAMS = uart gpio + +uart_SOURCES = vapi.c vapi.h uart.c +gpio_SOURCES = vapi.c vapi.h gpio.c +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -I. -I$(srcdir) +CPPFLAGS = +LDFLAGS = +LIBS = +uart_OBJECTS = vapi.o uart.o +uart_LDADD = $(LDADD) +uart_DEPENDENCIES = +uart_LDFLAGS = +gpio_OBJECTS = vapi.o gpio.o +gpio_LDADD = $(LDADD) +gpio_DEPENDENCIES = +gpio_LDFLAGS = +CFLAGS = -g -O2 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/gpio.P .deps/uart.P .deps/vapi.P +SOURCES = $(uart_SOURCES) $(gpio_SOURCES) +OBJECTS = $(uart_OBJECTS) $(gpio_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) + @rm -f uart + $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) + +gpio: $(gpio_OBJECTS) $(gpio_DEPENDENCIES) + @rm -f gpio + $(LINK) $(gpio_LDFLAGS) $(gpio_OBJECTS) $(gpio_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(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 + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ + clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ + distclean-depend distclean-generic clean-am + +distclean: distclean-am + -rm -f config.status + +maintainer-clean-am: maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + -rm -f config.status + +.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: Index: vapi/trunk/configure =================================================================== --- vapi/trunk/configure (nonexistent) +++ vapi/trunk/configure (revision 13) @@ -0,0 +1,1739 @@ +#! /bin/sh + +# Guess values for system-dependent variables and create Makefiles. +# Generated automatically using autoconf version 2.13 +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: + +# Initialize some variables set by options. +# The variables have the same names as the options, with +# dashes changed to underlines. +build=NONE +cache_file=./config.cache +exec_prefix=NONE +host=NONE +no_create= +nonopt=NONE +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +target=NONE +verbose= +x_includes=NONE +x_libraries=NONE +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' + +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 + +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 + + case "$ac_option" in + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac + + # 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 ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$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" ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) 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) + # 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 << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --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 +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$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) + 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 ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + 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 "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; + + *) + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" + ;; + + esac +done + +if test -n "$ac_prev"; then + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } +fi + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +# 6 checking for... messages and results +# 5 compiler messages saved in config.log +if test "$silent" = yes; then + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +# 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 + +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=vapi.c + +# 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_prog=$0 + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + 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 "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + +# 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 "loading site script $ac_site_file" + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +ac_exeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi + + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 + fi +done +if test -z "$ac_aux_dir"; then + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + +# 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 +# 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" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:556: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 +echo "configure:609: checking whether build environment is sane" >&5 +# Just in case +sleep 1 +echo timestamp > conftestfile +# 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 conftestfile 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "$*" != "X $srcdir/configure conftestfile" \ + && test "$*" != "X conftestfile $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 "configure: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" 1>&2; exit 1; } + fi + + test "$2" = conftestfile + ) +then + # Ok. + : +else + { echo "configure: error: newly created file is older than distributed files! +Check your system clock" 1>&2; exit 1; } +fi +rm -f conftest* +echo "$ac_t""yes" 1>&6 +if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi +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" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:666: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 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 conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + + +PACKAGE=vapi + +VERSION=1.1 + +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } +fi +cat >> confdefs.h <> confdefs.h <&6 +echo "configure:712: checking for working aclocal" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (aclocal --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal + echo "$ac_t""found" 1>&6 +else + ACLOCAL="$missing_dir/missing aclocal" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 +echo "configure:725: checking for working autoconf" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoconf --version) < /dev/null > /dev/null 2>&1; then + AUTOCONF=autoconf + echo "$ac_t""found" 1>&6 +else + AUTOCONF="$missing_dir/missing autoconf" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working automake""... $ac_c" 1>&6 +echo "configure:738: checking for working automake" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (automake --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake + echo "$ac_t""found" 1>&6 +else + AUTOMAKE="$missing_dir/missing automake" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 +echo "configure:751: checking for working autoheader" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoheader --version) < /dev/null > /dev/null 2>&1; then + AUTOHEADER=autoheader + echo "$ac_t""found" 1>&6 +else + AUTOHEADER="$missing_dir/missing autoheader" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 +echo "configure:764: checking for working makeinfo" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then + MAKEINFO=makeinfo + echo "$ac_t""found" 1>&6 +else + MAKEINFO="$missing_dir/missing makeinfo" + echo "$ac_t""missing" 1>&6 +fi + + + +# Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:781: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:811: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_prog_rejected=no + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_save_ifs" +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 $# -gt 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 + set dummy "$ac_dir/$ac_word" "$@" + shift + ac_cv_prog_CC="$@" + fi +fi +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:862: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi + test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } +fi + +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +echo "configure:894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +cat > conftest.$ac_ext << EOF + +#line 905 "configure" +#include "confdefs.h" + +main(){return(0);} +EOF +if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then + ac_cv_prog_cc_cross=no + else + ac_cv_prog_cc_cross=yes + fi +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ac_cv_prog_cc_works=no +fi +rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 +if test $ac_cv_prog_cc_works = no; then + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } +fi +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +echo "configure:936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 +cross_compiling=$ac_cv_prog_cc_cross + +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +echo "configure:941: checking whether we are using GNU C" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes +else + ac_cv_prog_gcc=no +fi +fi + +echo "$ac_t""$ac_cv_prog_gcc" 1>&6 + +if test $ac_cv_prog_gcc = yes; then + GCC=yes +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:969: checking whether ${CC-cc} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ac_cv_prog_cc_g=yes +else + ac_cv_prog_cc_g=no +fi +rm -f conftest* + +fi + +echo "$ac_t""$ac_cv_prog_cc_g" 1>&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 $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +echo "configure:1001: checking how to run the C preprocessor" >&5 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPP="${CC-cc} -E" + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP=/lib/cpp +fi +rm -f conftest* +fi +rm -f conftest* +fi +rm -f conftest* + ac_cv_prog_CPP="$CPP" +fi + CPP="$ac_cv_prog_CPP" +else + ac_cv_prog_CPP="$CPP" +fi +echo "$ac_t""$CPP" 1>&6 + +ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 +echo "configure:1082: checking for minix/config.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + MINIX=yes +else + echo "$ac_t""no" 1>&6 +MINIX= +fi + +if test "$MINIX" = yes; then + cat >> confdefs.h <<\EOF +#define _POSIX_SOURCE 1 +EOF + + cat >> confdefs.h <<\EOF +#define _POSIX_1_SOURCE 2 +EOF + + cat >> confdefs.h <<\EOF +#define _MINIX 1 +EOF + +fi + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:1130: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 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 conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + +if test $ac_cv_prog_gcc = yes; then + echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 +echo "configure:1158: checking whether ${CC-cc} needs -traditional" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_pattern="Autoconf.*'x'" + cat > conftest.$ac_ext < +Autoconf TIOCGETP +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_prog_gcc_traditional=yes +else + rm -rf conftest* + ac_cv_prog_gcc_traditional=no +fi +rm -f conftest* + + + if test $ac_cv_prog_gcc_traditional = no; then + cat > conftest.$ac_ext < +Autoconf TCGETA +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_prog_gcc_traditional=yes +fi +rm -f conftest* + + fi +fi + +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi + +# 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 +# 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" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:1215: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + + +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +echo "configure:1270: checking for ANSI C header files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +#include +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + ac_cv_header_stdc=yes +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_stdc=no +fi +rm -f conftest* + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "memchr" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "free" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 < +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#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); } + +EOF +if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_header_stdc=no +fi +rm -fr conftest* +fi + +fi +fi + +echo "$ac_t""$ac_cv_header_stdc" 1>&6 +if test $ac_cv_header_stdc = yes; then + cat >> confdefs.h <<\EOF +#define STDC_HEADERS 1 +EOF + +fi + +for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:1377: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + + + +for ac_func in socket strerror strtol +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:1418: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* 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(); + +int main() { + +/* 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 +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + +trap '' 1 2 15 +cat > confcache <<\EOF +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +# 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 \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +cat > conftest.defs <<\EOF +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g +s%\[%\\&%g +s%\]%\\&%g +s%\$%$$%g +EOF +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` +rm -f conftest.defs + + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: +# +# $0 $ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option +do + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=$srcdir +ac_given_INSTALL="$INSTALL" + +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +EOF +cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g +s%@INSTALL_DATA@%$INSTALL_DATA%g +s%@PACKAGE@%$PACKAGE%g +s%@VERSION@%$VERSION%g +s%@ACLOCAL@%$ACLOCAL%g +s%@AUTOCONF@%$AUTOCONF%g +s%@AUTOMAKE@%$AUTOMAKE%g +s%@AUTOHEADER@%$AUTOHEADER%g +s%@MAKEINFO@%$MAKEINFO%g +s%@SET_MAKE@%$SET_MAKE%g +s%@CC@%$CC%g +s%@CPP@%$CPP%g + +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# 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_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF + +exit 0 +EOF +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +
vapi/trunk/configure Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/config.log =================================================================== --- vapi/trunk/config.log (nonexistent) +++ vapi/trunk/config.log (revision 13) @@ -0,0 +1,30 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +configure:556: checking for a BSD compatible install +configure:609: checking whether build environment is sane +configure:666: checking whether make sets ${MAKE} +configure:712: checking for working aclocal +configure:725: checking for working autoconf +configure:738: checking for working automake +configure:751: checking for working autoheader +configure:764: checking for working makeinfo +configure:781: checking for gcc +configure:894: checking whether the C compiler (gcc ) works +configure:910: gcc -o conftest conftest.c 1>&5 +configure:936: checking whether the C compiler (gcc ) is a cross-compiler +configure:941: checking whether we are using GNU C +configure:969: checking whether gcc accepts -g +configure:1001: checking how to run the C preprocessor +configure:1082: checking for minix/config.h +configure:1130: checking whether make sets ${MAKE} +configure:1158: checking whether gcc needs -traditional +configure:1215: checking for a BSD compatible install +configure:1270: checking for ANSI C header files +configure:1377: checking for fcntl.h +configure:1377: checking for sys/ioctl.h +configure:1377: checking for sys/time.h +configure:1377: checking for unistd.h +configure:1418: checking for socket +configure:1418: checking for strerror +configure:1418: checking for strtol Index: vapi/trunk/configure.in =================================================================== --- vapi/trunk/configure.in (nonexistent) +++ vapi/trunk/configure.in (revision 13) @@ -0,0 +1,23 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(vapi.c) +AM_INIT_AUTOMAKE(vapi, 1.1) + +dnl Checks for programs. +AC_PROG_CC +AC_MINIX +AC_PROG_MAKE_SET +AC_PROG_GCC_TRADITIONAL +AC_PROG_INSTALL + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Checks for library functions. +AC_CHECK_FUNCS(socket strerror strtol) + +AC_OUTPUT(Makefile)
vapi/trunk/configure.in Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/trunk/configure.scan =================================================================== --- vapi/trunk/configure.scan (nonexistent) +++ vapi/trunk/configure.scan (revision 13) @@ -0,0 +1,17 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(uart.c) + +dnl Checks for programs. + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Checks for library functions. +AC_CHECK_FUNCS(socket strerror strtol) + +AC_OUTPUT() Index: vapi/trunk/config.cache =================================================================== --- vapi/trunk/config.cache (nonexistent) +++ vapi/trunk/config.cache (revision 13) @@ -0,0 +1,32 @@ +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +ac_cv_func_socket=${ac_cv_func_socket=yes} +ac_cv_func_strerror=${ac_cv_func_strerror=yes} +ac_cv_func_strtol=${ac_cv_func_strtol=yes} +ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes} +ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no} +ac_cv_header_stdc=${ac_cv_header_stdc=yes} +ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h=yes} +ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes} +ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes} +ac_cv_path_install=${ac_cv_path_install='/usr/bin//install -c'} +ac_cv_prog_CC=${ac_cv_prog_CC=gcc} +ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} +ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} +ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} +ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} +ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} +ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no} +ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} Index: vapi/trunk/aclocal.m4 =================================================================== --- vapi/trunk/aclocal.m4 (nonexistent) +++ vapi/trunk/aclocal.m4 (revision 13) @@ -0,0 +1,104 @@ +dnl aclocal.m4 generated automatically by aclocal 1.4 + +dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. + +# Do all the work for Automake. 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. + +# serial 1 + +dnl Usage: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) + +AC_DEFUN(AM_INIT_AUTOMAKE, +[AC_REQUIRE([AC_PROG_INSTALL]) +PACKAGE=[$1] +AC_SUBST(PACKAGE) +VERSION=[$2] +AC_SUBST(VERSION) +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 +ifelse([$3],, +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) +AC_REQUIRE([AM_SANITY_CHECK]) +AC_REQUIRE([AC_ARG_PROGRAM]) +dnl FIXME This is truly gross. +missing_dir=`cd $ac_aux_dir && pwd` +AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) +AC_REQUIRE([AC_PROG_MAKE_SET])]) + +# +# Check to make sure that the build environment is sane. +# + +AC_DEFUN(AM_SANITY_CHECK, +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftestfile +# 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 conftestfile 2> /dev/null` + if test "[$]*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "[$]*" != "X $srcdir/configure conftestfile" \ + && test "[$]*" != "X conftestfile $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" = conftestfile + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +rm -f conftest* +AC_MSG_RESULT(yes)]) + +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) +dnl The program must properly implement --version. +AC_DEFUN(AM_MISSING_PROG, +[AC_MSG_CHECKING(for working $2) +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if ($2 --version) < /dev/null > /dev/null 2>&1; then + $1=$2 + AC_MSG_RESULT(found) +else + $1="$3/missing $2" + AC_MSG_RESULT(missing) +fi +AC_SUBST($1)]) + Index: vapi/trunk =================================================================== --- vapi/trunk (nonexistent) +++ vapi/trunk (revision 13)
vapi/trunk Property changes : Added: svn:ignore ## -0,0 +1,3 ## +.deps +gpio +uart Added: svn:mergeinfo ## -0,0 +0,0 ## Index: vapi/web_uploads =================================================================== --- vapi/web_uploads (nonexistent) +++ vapi/web_uploads (revision 13)
vapi/web_uploads Property changes : Added: svn:mergeinfo ## -0,0 +0,0 ## Index: vapi/branches =================================================================== --- vapi/branches (nonexistent) +++ vapi/branches (revision 13)
vapi/branches Property changes : Added: svn:mergeinfo ## -0,0 +0,0 ## Index: vapi/tags/initial/vapi.c =================================================================== --- vapi/tags/initial/vapi.c (nonexistent) +++ vapi/tags/initial/vapi.c (revision 13) @@ -0,0 +1,374 @@ +/* vapi.c -- Verification API Interface test side + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +int vapi_fd; +unsigned long vapi_id; + +static int vapi_write_stream(int fd, void* buf, int len) +{ + int n; + char* w_buf = (char*)buf; + struct pollfd block; + + while(len) { + if((n = write(fd,w_buf,len)) < 0) { + switch(errno) { + case EWOULDBLOCK: /* or EAGAIN */ + /* We've been called on a descriptor marked + for nonblocking I/O. We better simulate + blocking behavior. */ + block.fd = fd; + block.events = POLLOUT; + block.revents = 0; + poll(&block,1,-1); + continue; + case EINTR: + continue; + case EPIPE: + close(fd); + vapi_fd = 0; + return -1; + default: + return -1; + } + } else { + len -= n; + w_buf += n; + } + } + return 0; +} + +static int vapi_read_stream(int fd, void* buf, int len) +{ + int n; + char* r_buf = (char*)buf; + struct pollfd block; + + while(len) { + if((n = read(fd,r_buf,len)) < 0) { + switch(errno) { + case EWOULDBLOCK: /* or EAGAIN */ + /* We've been called on a descriptor marked + for nonblocking I/O. We better simulate + blocking behavior. */ + block.fd = fd; + block.events = POLLIN; + block.revents = 0; + poll(&block,1,-1); + continue; + case EINTR: + continue; + default: + return -1; + } + } else if(n == 0) { + close(fd); + fd = 0; + return -1; + } else { + len -= n; + r_buf += n; + } + } + return 0; +} + +static int write_packet (unsigned long id, unsigned long data) { + id = htonl (id); + if (vapi_write_stream(vapi_fd, &id, sizeof (id)) < 0) + return 1; + data = htonl (data); + if (vapi_write_stream(vapi_fd, &data, sizeof (data)) < 0) + return 1; + return 0; +} + +static int read_packet (unsigned long *id, unsigned long *data) { + if (vapi_read_stream(vapi_fd, id, sizeof (unsigned long)) < 0) + return 1; + *id = htonl (*id); + if (vapi_read_stream(vapi_fd, data, sizeof (unsigned long)) < 0) + return 1; + *data = htonl (*data); + return 0; +} + +/* Added by CZ 24/05/01 */ +static int connect_to_server(char* hostname,char* name) +{ + struct hostent *host; + struct sockaddr_in sin; + struct servent *service; + struct protoent *protocol; + int sock,flags; + char sTemp[256],sTemp2[256]; + char* proto_name = "tcp"; + int port = 0; + int on_off = 0; /* Turn off Nagel's algorithm on the socket */ + char *s; + + if(!(protocol = getprotobyname(proto_name))) { + sprintf(sTemp,"Protocol \"%s\" not available.\n", + proto_name); + error(sTemp); + return 0; + } + + /* Convert name to an integer only if it is well formatted. + Otherwise, assume that it is a service name. */ + + port = strtol(name, &s, 10); + if(*s) + port = 0; + + if(!port) { + if(!(service = getservbyname(name, protocol->p_name))) { + sprintf(sTemp,"Unknown service \"%s\".\n",name); + error(sTemp); + return 0; + } + port = ntohs(service->s_port); + } + + if(!(host = gethostbyname(hostname))) { + sprintf(sTemp,"Unknown host \"%s\"\n",hostname); + error(sTemp); + return 0; + } + + if((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) { + sprintf(sTemp, "can't create socket errno = %d\n", errno); + sprintf(sTemp2, "%s\n",strerror(errno)); + strcat(sTemp, sTemp2); + error(sTemp); + return 0; + } + + if(fcntl(sock, F_GETFL, &flags) < 0) { + sprintf(sTemp, "Unable to get flags for VAPI proxy socket %d", sock); + error(sTemp); + close(sock); + return 0; + } + + if(fcntl(sock,F_SETFL, flags & ~O_NONBLOCK) < 0) { + sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock,flags | O_NONBLOCK); + error(sTemp); + close(sock); + return 0; + } + + memset(&sin,0,sizeof(sin)); + sin.sin_family = host->h_addrtype; + memcpy(&sin.sin_addr, host->h_addr_list[0], host->h_length); + sin.sin_port = htons(port); + + if((connect(sock, (struct sockaddr*)&sin, sizeof(sin)) < 0) + && errno != EINPROGRESS) { + + sprintf(sTemp, "connect failed errno = %d\n", errno); + sprintf(sTemp2, "%s\n", strerror(errno)); + close(sock); + strcat(sTemp, sTemp2); + error(sTemp); + return 0; + } + + if(fcntl(sock,F_SETFL, flags | O_NONBLOCK) < 0) { + sprintf(sTemp, "Unable to set flags for VAPI proxy socket %d to value 0x%08x", sock, flags | O_NONBLOCK); + error(sTemp); + close(sock); + return 0; + } + + if(setsockopt(sock,protocol->p_proto,TCP_NODELAY,&on_off,sizeof(int)) < 0) { + sprintf(sTemp,"Unable to disable Nagel's algorithm for socket %d.\nsetsockopt", sock); + error(sTemp); + close(sock); + return 0; + } + + return sock; +} + +/* Initialize a new connection to the or1k board, and make sure we are + really connected. */ + +int +vapi_init (char *port_name, unsigned long id) +{ + vapi_id = id; + /* CZ 24/05/01 - Check to see if we have specified a remote + VAPI interface or a local one. It is remote if it follows + the URL naming convention vapi://: */ + if(!strncmp(port_name,"vapi://",7)) { + char *port; + char hostname[256]; + + port = strchr(&port_name[7], ':'); + if(port) { + int len = port - port_name - 7; + strncpy(hostname,&port_name[7],len); + hostname[len] = '\0'; + port++; + } else + strcpy(hostname,&port_name[7]); + + /* Interface is remote */ + if(!(vapi_fd = connect_to_server(hostname,port))) { + char sTemp[256]; + sprintf(sTemp,"Can not access VAPI Proxy Server at \"%s\"", + &port_name[5]); + error(sTemp); + } + printf("Remote or1k testing using %s, id 0x%x\n", port_name, id); + if (vapi_write_stream (vapi_fd, &id, sizeof (id))) + return 1; + } else + return 1; + return 0; +} + +void +vapi_done () /* CZ */ +{ + int flags = 0; + struct linger linger; + char sTemp[256]; + + linger.l_onoff = 0; + linger.l_linger = 0; + + /* First, make sure we're non blocking */ + if(fcntl(vapi_fd, F_GETFL,&flags) < 0) { + sprintf(sTemp,"Unable to get flags for VAPI proxy socket %d", vapi_fd); + error(sTemp); + } + if(fcntl(vapi_fd, F_SETFL, flags & ~O_NONBLOCK) < 0) { + sprintf(sTemp,"Unable to set flags for VAPI proxy socket %d to value 0x%08x", vapi_fd, flags | O_NONBLOCK); + error(sTemp); + } + + /* Now, make sure we don't linger around */ + if(setsockopt(vapi_fd,SOL_SOCKET,SO_LINGER,&linger,sizeof(linger)) < 0) { + sprintf(sTemp,"Unable to disable SO_LINGER for VAPI proxy socket %d.", vapi_fd); + error(sTemp); + } + + close(vapi_fd); +} + +/* Writes an unsigned long to server */ +void vapi_write(unsigned long data) { + printf ("WRITE [%08x, %08x]\n", vapi_id, data); + if (write_packet (vapi_id, data)) + perror ("write packet"); +} + +/* Reads an unsigned long from server */ +unsigned long vapi_read() { + unsigned long id, data; + if(read_packet (&id, &data)) { + if(vapi_fd) { + perror("vapi read"); + close(vapi_fd); + vapi_fd = 0; + } + exit (2); + } + if (id != vapi_id) { + fprintf (stderr, "ERROR: Invalid id %x, expected %x.", id, vapi_id); + exit (1); + } + printf ("READ [%08x, %08x]\n", id, data); + return data; +} + +/* Polls the port if anything is available and if do_read is set something is read from port. */ +int vapi_waiting () +{ + struct pollfd fds[1]; + + if(vapi_fd) { + fds[0].fd = vapi_fd; + fds[0].events = POLLIN; + fds[0].revents = 0; + } else + return; + + while(1) { + switch(poll(fds, 1, 0)) { + case -1: + if(errno == EINTR) + continue; + perror("poll"); + break; + case 0: /* Nothing interesting going on */ + return 0; + default: + return 1; + } /* End of switch statement */ + } /* End of while statement */ +} + +int main (int argc, char *argv[]) { + unsigned long id, data; + if (argc != 3) { + printf ("Usage: vapit URL ID\n"); + printf ("vapit vapi://localhost:9998 0x12345678\n"); + return 2; + } + id = atol (argv[2]); + if (sscanf (argv[2], "0x%x", &id)) { + if (vapi_init(argv[1], id)) + return 1; + } else { + fprintf (stderr, "Invalid vapi_id\n", argv[2]); + return 2; + } + + if (vapi_main ()) { + fprintf (stderr, "TEST FAILED.\n"); + return 1; + } + printf ("Test passed.\n"); + + vapi_done(); + return 0; +}
vapi/tags/initial/vapi.c Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/configure =================================================================== --- vapi/tags/initial/configure (nonexistent) +++ vapi/tags/initial/configure (revision 13) @@ -0,0 +1,1739 @@ +#! /bin/sh + +# Guess values for system-dependent variables and create Makefiles. +# Generated automatically using autoconf version 2.13 +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: + +# Initialize some variables set by options. +# The variables have the same names as the options, with +# dashes changed to underlines. +build=NONE +cache_file=./config.cache +exec_prefix=NONE +host=NONE +no_create= +nonopt=NONE +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +target=NONE +verbose= +x_includes=NONE +x_libraries=NONE +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' + +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 + +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 + + case "$ac_option" in + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac + + # 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 ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$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" ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) 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) + # 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 << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --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 +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$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) + 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 ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + 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 "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; + + *) + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" + ;; + + esac +done + +if test -n "$ac_prev"; then + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } +fi + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +# 6 checking for... messages and results +# 5 compiler messages saved in config.log +if test "$silent" = yes; then + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +# 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 + +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=vapi.c + +# 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_prog=$0 + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + 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 "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + +# 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 "loading site script $ac_site_file" + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +ac_exeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi + + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 + fi +done +if test -z "$ac_aux_dir"; then + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + +# 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 +# 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" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:556: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 +echo "configure:609: checking whether build environment is sane" >&5 +# Just in case +sleep 1 +echo timestamp > conftestfile +# 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 conftestfile 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "$*" != "X $srcdir/configure conftestfile" \ + && test "$*" != "X conftestfile $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 "configure: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" 1>&2; exit 1; } + fi + + test "$2" = conftestfile + ) +then + # Ok. + : +else + { echo "configure: error: newly created file is older than distributed files! +Check your system clock" 1>&2; exit 1; } +fi +rm -f conftest* +echo "$ac_t""yes" 1>&6 +if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi +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" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:666: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 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 conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + + +PACKAGE=vapi + +VERSION=1.1 + +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } +fi +cat >> confdefs.h <> confdefs.h <&6 +echo "configure:712: checking for working aclocal" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (aclocal --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal + echo "$ac_t""found" 1>&6 +else + ACLOCAL="$missing_dir/missing aclocal" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 +echo "configure:725: checking for working autoconf" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoconf --version) < /dev/null > /dev/null 2>&1; then + AUTOCONF=autoconf + echo "$ac_t""found" 1>&6 +else + AUTOCONF="$missing_dir/missing autoconf" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working automake""... $ac_c" 1>&6 +echo "configure:738: checking for working automake" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (automake --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake + echo "$ac_t""found" 1>&6 +else + AUTOMAKE="$missing_dir/missing automake" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 +echo "configure:751: checking for working autoheader" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoheader --version) < /dev/null > /dev/null 2>&1; then + AUTOHEADER=autoheader + echo "$ac_t""found" 1>&6 +else + AUTOHEADER="$missing_dir/missing autoheader" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 +echo "configure:764: checking for working makeinfo" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then + MAKEINFO=makeinfo + echo "$ac_t""found" 1>&6 +else + MAKEINFO="$missing_dir/missing makeinfo" + echo "$ac_t""missing" 1>&6 +fi + + + +# Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:781: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:811: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_prog_rejected=no + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_save_ifs" +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 $# -gt 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 + set dummy "$ac_dir/$ac_word" "$@" + shift + ac_cv_prog_CC="$@" + fi +fi +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:862: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi + test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } +fi + +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +echo "configure:894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +cat > conftest.$ac_ext << EOF + +#line 905 "configure" +#include "confdefs.h" + +main(){return(0);} +EOF +if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then + ac_cv_prog_cc_cross=no + else + ac_cv_prog_cc_cross=yes + fi +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ac_cv_prog_cc_works=no +fi +rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 +if test $ac_cv_prog_cc_works = no; then + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } +fi +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +echo "configure:936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 +cross_compiling=$ac_cv_prog_cc_cross + +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +echo "configure:941: checking whether we are using GNU C" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes +else + ac_cv_prog_gcc=no +fi +fi + +echo "$ac_t""$ac_cv_prog_gcc" 1>&6 + +if test $ac_cv_prog_gcc = yes; then + GCC=yes +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:969: checking whether ${CC-cc} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ac_cv_prog_cc_g=yes +else + ac_cv_prog_cc_g=no +fi +rm -f conftest* + +fi + +echo "$ac_t""$ac_cv_prog_cc_g" 1>&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 $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +echo "configure:1001: checking how to run the C preprocessor" >&5 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPP="${CC-cc} -E" + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP=/lib/cpp +fi +rm -f conftest* +fi +rm -f conftest* +fi +rm -f conftest* + ac_cv_prog_CPP="$CPP" +fi + CPP="$ac_cv_prog_CPP" +else + ac_cv_prog_CPP="$CPP" +fi +echo "$ac_t""$CPP" 1>&6 + +ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 +echo "configure:1082: checking for minix/config.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + MINIX=yes +else + echo "$ac_t""no" 1>&6 +MINIX= +fi + +if test "$MINIX" = yes; then + cat >> confdefs.h <<\EOF +#define _POSIX_SOURCE 1 +EOF + + cat >> confdefs.h <<\EOF +#define _POSIX_1_SOURCE 2 +EOF + + cat >> confdefs.h <<\EOF +#define _MINIX 1 +EOF + +fi + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:1130: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 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 conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + +if test $ac_cv_prog_gcc = yes; then + echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 +echo "configure:1158: checking whether ${CC-cc} needs -traditional" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_pattern="Autoconf.*'x'" + cat > conftest.$ac_ext < +Autoconf TIOCGETP +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_prog_gcc_traditional=yes +else + rm -rf conftest* + ac_cv_prog_gcc_traditional=no +fi +rm -f conftest* + + + if test $ac_cv_prog_gcc_traditional = no; then + cat > conftest.$ac_ext < +Autoconf TCGETA +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_prog_gcc_traditional=yes +fi +rm -f conftest* + + fi +fi + +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi + +# 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 +# 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" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:1215: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +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 "$ac_t""$INSTALL" 1>&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_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + + +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +echo "configure:1270: checking for ANSI C header files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +#include +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + ac_cv_header_stdc=yes +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_stdc=no +fi +rm -f conftest* + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "memchr" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "free" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 < +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#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); } + +EOF +if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_header_stdc=no +fi +rm -fr conftest* +fi + +fi +fi + +echo "$ac_t""$ac_cv_header_stdc" 1>&6 +if test $ac_cv_header_stdc = yes; then + cat >> confdefs.h <<\EOF +#define STDC_HEADERS 1 +EOF + +fi + +for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:1377: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + + + +for ac_func in socket strerror strtol +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:1418: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* 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(); + +int main() { + +/* 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 +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + +trap '' 1 2 15 +cat > confcache <<\EOF +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +# 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 \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +cat > conftest.defs <<\EOF +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g +s%\[%\\&%g +s%\]%\\&%g +s%\$%$$%g +EOF +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` +rm -f conftest.defs + + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: +# +# $0 $ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option +do + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=$srcdir +ac_given_INSTALL="$INSTALL" + +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +EOF +cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g +s%@INSTALL_DATA@%$INSTALL_DATA%g +s%@PACKAGE@%$PACKAGE%g +s%@VERSION@%$VERSION%g +s%@ACLOCAL@%$ACLOCAL%g +s%@AUTOCONF@%$AUTOCONF%g +s%@AUTOMAKE@%$AUTOMAKE%g +s%@AUTOHEADER@%$AUTOHEADER%g +s%@MAKEINFO@%$MAKEINFO%g +s%@SET_MAKE@%$SET_MAKE%g +s%@CC@%$CC%g +s%@CPP@%$CPP%g + +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# 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_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF + +exit 0 +EOF +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +
vapi/tags/initial/configure Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/Makefile.in =================================================================== --- vapi/tags/initial/Makefile.in (nonexistent) +++ vapi/tags/initial/Makefile.in (revision 13) @@ -0,0 +1,353 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = @CC@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +bin_PROGRAMS = uart + +uart_SOURCES = vapi.c vapi.h uart.c +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = @DEFS@ -I. -I$(srcdir) +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +uart_OBJECTS = vapi.o uart.o +uart_LDADD = $(LDADD) +uart_DEPENDENCIES = +uart_LDFLAGS = +CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = COPYING INSTALL Makefile.am Makefile.in aclocal.m4 \ +config.guess config.sub configure configure.in install-sh missing \ +mkinstalldirs + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/uart.P .deps/vapi.P +SOURCES = $(uart_SOURCES) +OBJECTS = $(uart_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) + @rm -f uart + $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(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 + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ + clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ + distclean-depend distclean-generic clean-am + +distclean: distclean-am + -rm -f config.status + +maintainer-clean-am: maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + -rm -f config.status + +.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: Index: vapi/tags/initial/config.log =================================================================== --- vapi/tags/initial/config.log (nonexistent) +++ vapi/tags/initial/config.log (revision 13) @@ -0,0 +1,30 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +configure:556: checking for a BSD compatible install +configure:609: checking whether build environment is sane +configure:666: checking whether make sets ${MAKE} +configure:712: checking for working aclocal +configure:725: checking for working autoconf +configure:738: checking for working automake +configure:751: checking for working autoheader +configure:764: checking for working makeinfo +configure:781: checking for gcc +configure:894: checking whether the C compiler (gcc ) works +configure:910: gcc -o conftest conftest.c 1>&5 +configure:936: checking whether the C compiler (gcc ) is a cross-compiler +configure:941: checking whether we are using GNU C +configure:969: checking whether gcc accepts -g +configure:1001: checking how to run the C preprocessor +configure:1082: checking for minix/config.h +configure:1130: checking whether make sets ${MAKE} +configure:1158: checking whether gcc needs -traditional +configure:1215: checking for a BSD compatible install +configure:1270: checking for ANSI C header files +configure:1377: checking for fcntl.h +configure:1377: checking for sys/ioctl.h +configure:1377: checking for sys/time.h +configure:1377: checking for unistd.h +configure:1418: checking for socket +configure:1418: checking for strerror +configure:1418: checking for strtol Index: vapi/tags/initial/vapi.h =================================================================== --- vapi/tags/initial/vapi.h (nonexistent) +++ vapi/tags/initial/vapi.h (revision 13) @@ -0,0 +1,30 @@ +/* vapi.h - Verification API Interface + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* Writes an unsigned long to server */ +void vapi_write(unsigned long data) { + +/* Reads an unsigned long from server */ +unsigned long vapi_read(); + +/* Polls the port if anything is available and if do_read is set something is read from port. */ +int vapi_waiting (); + +/* Main function, actually the testcase, defined by VAPI user. */ +extern void vapi_main();
vapi/tags/initial/vapi.h Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/configure.in =================================================================== --- vapi/tags/initial/configure.in (nonexistent) +++ vapi/tags/initial/configure.in (revision 13) @@ -0,0 +1,23 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(vapi.c) +AM_INIT_AUTOMAKE(vapi, 1.1) + +dnl Checks for programs. +AC_PROG_CC +AC_MINIX +AC_PROG_MAKE_SET +AC_PROG_GCC_TRADITIONAL +AC_PROG_INSTALL + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Checks for library functions. +AC_CHECK_FUNCS(socket strerror strtol) + +AC_OUTPUT(Makefile)
vapi/tags/initial/configure.in Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/config.status =================================================================== --- vapi/tags/initial/config.status (nonexistent) +++ vapi/tags/initial/config.status (revision 13) @@ -0,0 +1,168 @@ +#! /bin/sh +# Generated automatically by configure. +# Run this file to recreate the current configuration. +# This directory was configured as follows, +# on host odin: +# +# ./configure +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" +for ac_option +do + case "$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" + exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "./config.status generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "$ac_cs_usage"; exit 0 ;; + *) echo "$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=. +ac_given_INSTALL="/usr/bin//install -c" + +trap 'rm -fr Makefile conftest*; exit 1' 1 2 15 + +# Protect against being on the right side of a sed subst in config.status. +sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; + s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF +/^[ ]*VPATH[ ]*=[^:]*$/d + +s%@SHELL@%/bin/sh%g +s%@CFLAGS@%-g -O2%g +s%@CPPFLAGS@%%g +s%@CXXFLAGS@%%g +s%@FFLAGS@%%g +s%@DEFS@% -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 %g +s%@LDFLAGS@%%g +s%@LIBS@%%g +s%@exec_prefix@%${prefix}%g +s%@prefix@%/usr/local%g +s%@program_transform_name@%s,x,x,%g +s%@bindir@%${exec_prefix}/bin%g +s%@sbindir@%${exec_prefix}/sbin%g +s%@libexecdir@%${exec_prefix}/libexec%g +s%@datadir@%${prefix}/share%g +s%@sysconfdir@%${prefix}/etc%g +s%@sharedstatedir@%${prefix}/com%g +s%@localstatedir@%${prefix}/var%g +s%@libdir@%${exec_prefix}/lib%g +s%@includedir@%${prefix}/include%g +s%@oldincludedir@%/usr/include%g +s%@infodir@%${prefix}/info%g +s%@mandir@%${prefix}/man%g +s%@INSTALL_PROGRAM@%${INSTALL}%g +s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g +s%@INSTALL_DATA@%${INSTALL} -m 644%g +s%@PACKAGE@%vapi%g +s%@VERSION@%1.1%g +s%@ACLOCAL@%aclocal%g +s%@AUTOCONF@%autoconf%g +s%@AUTOMAKE@%automake%g +s%@AUTOHEADER@%autoheader%g +s%@MAKEINFO@%makeinfo%g +s%@SET_MAKE@%%g +s%@CC@%gcc%g +s%@CPP@%gcc -E%g + +CEOF + +# 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_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi + +CONFIG_FILES=${CONFIG_FILES-"Makefile"} +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + + + +exit 0
vapi/tags/initial/config.status Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/uart.c =================================================================== --- vapi/tags/initial/uart.c (nonexistent) +++ vapi/tags/initial/uart.c (revision 13) @@ -0,0 +1,395 @@ +/* uart.c -- test for uart, by using VAPI + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* UART messages */ +#define TX_CMD 0xff000000 +#define TX_CMD0 0x00000000 +#define TX_CHAR 0x000000ff +#define TX_NBITS 0x00000300 +#define TX_STOPLEN 0x00000400 +#define TX_PARITY 0x00000800 +#define TX_EVENP 0x00001000 +#define TX_STICK 0x00002000 +#define TX_BREAK 0x00004000 + +/* Send speed */ +#define TX_CMD1 0x01000000 +#define TX_SPEED 0x0000ffff + +/* Send receive LCR reg */ +#define TX_CMD2 0x02000000 + +/* Send skew */ +#define TX_CMD3 0x03000000 + +/* Set break */ +#define TX_CMD4 0x04000000 +#define TX_CMD4_BREAK 0x00010000 +#define TX_CMD4_DELAY 0x0000ffff + +/* Check FIFO */ +#define TX_CMD5 0x05000000 +#define TX_CMD5_FIFOFULL 0x0000001 + +#define RX_CMD0 0x00000000 +#define RX_PARERR 0x00010000 +#define RX_FRAERR 0x00020000 + +/* fails if x is false */ +#define ASSERT(x) ((x)?1:fail (__FUNCTION__, __LINE__)) +#define MARK() printf ("Passed line %i\n", __LINE__) +#define VAPI_READ(x) {unsigned long r = vapi_read (); printf ("expected 0x%08x, read 0x%08x\n", r, (x)); ASSERT(r == (x));} + +#ifndef __LINE__ +#define __LINE__ 0 +#endif + +void fail (char *func, int line) +{ +#ifndef __FUNCTION__ +#define __FUNCTION__ "?" +#endif + printf ("Test failed in %s:%i\n", func, line); + exit (1); +} +char str[5000]; + +/* current comm. control bits */ +int control, control_rx; + +void recv_char (char c) +{ + unsigned long tmp = vapi_read (); + printf ("expected %08x, read %08x\n", control_rx | c, tmp); + /* test if something is wrong */ + ASSERT ((tmp & 0xffffff00) == control_rx); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + printf ("expected %02x, read %02x\n", c, tmp); + ASSERT (c == (char)tmp); +} + +void send_char (char c) +{ + vapi_write (c | (control & 0xffffff00)); +} + +char *read_string (char *s) +{ + char *t = s; + unsigned long tmp = 1; + while (tmp) { + tmp = vapi_read (); + printf ("%08x, %08x\n", tmp, control_rx); + /* test if something is wrong */ + ASSERT ((tmp & 0xffffff00) == control_rx); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + *(t++) = (char)tmp; + } + return s; +} + + +void compare_string (char *s) { + while (*s) { + unsigned long tmp = vapi_read (); + /* test if something is wrong */ + ASSERT (tmp == (control_rx | *s)); + tmp &= 0xff; + if (tmp) printf ("'%c'\n", (char)tmp); + else printf ("\\0\n"); + s++; + } +} + +void send_string (char *s) +{ + while (*s) + vapi_write (*(s++) | (control & 0xffffff00)); +} + +void init_8n1 () +{ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control = control_rx = TX_CMD0 | TX_NBITS; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ +} + +void test_registers () +{ + /* This test is performed just by cpu, if it is not stopped, we have an error. */ + printf ("Testing registers... "); + MARK(); +} + +void send_recv_test () +{ + printf ("send_recv_test\n"); + MARK(); + read_string (str); + MARK(); + printf ("OK\nread: %s\n",str); + ASSERT (strcmp (str, "send_test_is_running") == 0); + send_string ("recv"); + MARK(); + printf ("OK\n"); +} + +void break_test () +{ + printf ("break_test\n"); + /* receive a break */ + VAPI_READ (TX_BREAK); + MARK(); + vapi_write (control | '*'); + MARK(); + VAPI_READ (control | '!'); + MARK(); + + /* send a break */ + vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); + vapi_write (control | 'b'); + MARK(); + VAPI_READ (control | '#'); + MARK(); + vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); + vapi_write (control | '$'); + MARK(); + + /* Receive a breaked string "ns*", only "ns" should be received. */ + compare_string ("ns"); + VAPI_READ (TX_BREAK); + send_string ("?"); + MARK(); + + /* Send a break */ + VAPI_READ (control | '#'); + vapi_write(TX_CMD4 | TX_CMD4_BREAK | (5 & TX_CMD4_DELAY)); + vapi_write (control | 0); + /* Wait four chars */ + send_string ("234"); + MARK(); + /* FIFO should be empty */ + vapi_write(TX_CMD5); + send_string ("5"); + /* FIFO should be nonempty and */ + vapi_write(TX_CMD5 | TX_CMD5_FIFOFULL); + MARK(); + /* it should contain '?' */ + VAPI_READ ('?' | control); + /* Reset break signal*/ + vapi_write(TX_CMD4 | (0) & TX_CMD4_DELAY); + MARK(); + vapi_write ('!' | control); + printf ("OK\n"); +} + +/* Tries to send data in different modes in both directions */ + +/* Utility function, that tests current configuration */ +void test_mode (int nbits) +{ + unsigned mask = (1 << nbits) - 1; + recv_char ('U' & mask); //0x55 +#if DETAILED + recv_char ('U' & mask); //0x55 + send_char ('U'); //0x55 +#endif + send_char ('U'); //0x55 + recv_char ('a' & mask); //0x61 +#if DETAILED + recv_char ('a' & mask); //0x61 + send_char ('a'); //0x61 +#endif + send_char ('a'); //0x61 +} + +void different_modes_test () +{ + int speed, length, parity; + printf ("different modes test\n"); + /* Init */ + /* Test different speeds */ + for (speed = 1; speed < 5; speed++) { + vapi_write(TX_CMD1 | speed); /* Set tx/rx speed */ + control_rx = control = 0x03 << 8; /* 8N1 */ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + test_mode (8); + MARK(); + } + MARK(); + + vapi_write(TX_CMD1 | 1); /* Set tx/rx speed */ + MARK(); + + /* Test all parity modes with different char lengths */ + for (parity = 0; parity < 8; parity++) + for (length = 0; length < 4; length++) { + control_rx = control = (length | (0 << 2) | (parity << 3)) << 8; + vapi_write(TX_CMD2 | control_rx); + test_mode (5 + length); + MARK(); + } + MARK(); + + /* Test configuration, if we have >1 stop bits */ + for (length = 0; length < 4; length++) { + control_rx = control = (length | (1 << 2) | (0 << 3)) << 8; + vapi_write(TX_CMD2 | control_rx); + test_mode (5 + length); + MARK(); + } + MARK(); + + /* Restore normal mode */ + recv_char ('T'); /* Wait for acknowledge */ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control_rx = control = 0x03 << 8; /* 8N1 @ 2*/ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('T'); /* Wait for acknowledge before ending the test */ + MARK(); + printf ("OK\n"); +} + +/* Test various FIFO levels, break and framing error interrupt, etc */ + +void interrupt_test () +{ + int i; + vapi_write(TX_CMD1 | 6); /* Set tx/rx speed */ + printf ("interrupt_test\n"); + /* start interrupt test */ + recv_char ('I'); /* Test trigger level 1 */ + send_char ('0'); + + recv_char ('I'); /* Test trigger level 4 */ + send_char ('1'); + send_char ('2'); + send_char ('3'); + send_char ('4'); + + recv_char ('I'); /* Test trigger level 8 */ + send_char ('5'); + send_char ('6'); + send_char ('7'); + send_char ('8'); + send_char ('9'); + + recv_char ('I'); /* Test trigger level 14 */ + send_char ('a'); + send_char ('b'); + send_char ('c'); + send_char ('d'); + send_char ('e'); + send_char ('f'); + send_char ('g'); + + recv_char ('I'); /* Test OE */ + send_char ('h'); + send_char ('i'); + send_char ('j'); + send_char ('*'); /* should not be put in the fifo */ + + recv_char ('I'); /* test break interrupt */ + /* send a break */ + vapi_write (TX_CMD4 | TX_CMD4_BREAK | (0) & TX_CMD4_DELAY); + vapi_write (control | 'b'); + MARK(); + recv_char ('B'); /* Release break */ + MARK(); + vapi_write (TX_CMD4 | (0) & TX_CMD4_DELAY); + vapi_write (control | '$'); + MARK(); + + /* TODO: Check for parity error */ + /* TODO: Check for frame error */ + + /* Check for timeout */ + recv_char ('I'); + send_char ('T'); /* Send char -> timeout should occur */ + recv_char ('T'); /* Wait for acknowledge before changing configuration */ + MARK (); + + /* Restore previous mode */ + vapi_write(TX_CMD1 | 2); /* Set tx/rx speed */ + control = control_rx = TX_CMD0 | TX_NBITS; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('T'); /* Wait for acknowledge before ending the test */ + printf ("OK\n"); +} + +/* Test if all control bits are set correctly. Lot of this was already tested + elsewhere and tests are not duplicated. */ + +void control_register_test () +{ + printf ("control_register_test\n"); + recv_char ('*'); + send_char ('*'); + MARK (); + recv_char ('!'); + send_char ('!'); + MARK (); + + recv_char ('1'); + recv_char ('*'); + send_char ('*'); + printf ("OK\n"); +} + +void line_error_test () +{ + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('c'); + vapi_write(TX_CMD1 | 3); /* Set incorrect tx/rx speed */ + send_char ('a'); + vapi_write(TX_CMD1 | 2); /* Set correct tx/rx speed */ + send_char ('b'); + MARK (); + +#if COMPLETE + recv_char ('*'); + control = TX_CMD0 | TX_NBITS; + control_rx = TX_CMD0 | TX_NBITS | TX_STOPLEN; + vapi_write(TX_CMD2 | control_rx); /* Set rx mode */ + recv_char ('*'); + MARK (); +#endif +} + +int vapi_main () +{ + + /* Test section area */ + test_registers (); + init_8n1 (); +/* send_recv_test (); + break_test(); + different_modes_test (); + interrupt_test (); + control_register_test ();*/ + line_error_test (); + /* End of test section area */ + + send_char ('@'); + return 0; +}
vapi/tags/initial/uart.c Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/configure.scan =================================================================== --- vapi/tags/initial/configure.scan (nonexistent) +++ vapi/tags/initial/configure.scan (revision 13) @@ -0,0 +1,17 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(uart.c) + +dnl Checks for programs. + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Checks for library functions. +AC_CHECK_FUNCS(socket strerror strtol) + +AC_OUTPUT() Index: vapi/tags/initial/config.cache =================================================================== --- vapi/tags/initial/config.cache (nonexistent) +++ vapi/tags/initial/config.cache (revision 13) @@ -0,0 +1,32 @@ +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +ac_cv_func_socket=${ac_cv_func_socket=yes} +ac_cv_func_strerror=${ac_cv_func_strerror=yes} +ac_cv_func_strtol=${ac_cv_func_strtol=yes} +ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes} +ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no} +ac_cv_header_stdc=${ac_cv_header_stdc=yes} +ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h=yes} +ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes} +ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes} +ac_cv_path_install=${ac_cv_path_install='/usr/bin//install -c'} +ac_cv_prog_CC=${ac_cv_prog_CC=gcc} +ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} +ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no} +ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes} +ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes} +ac_cv_prog_gcc=${ac_cv_prog_gcc=yes} +ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no} +ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes} Index: vapi/tags/initial/.deps/uart.P =================================================================== --- vapi/tags/initial/.deps/uart.P (nonexistent) +++ vapi/tags/initial/.deps/uart.P (revision 13) @@ -0,0 +1,2 @@ +uart.o: uart.c +uart.c : Index: vapi/tags/initial/.deps/vapi.P =================================================================== --- vapi/tags/initial/.deps/vapi.P (nonexistent) +++ vapi/tags/initial/.deps/vapi.P (revision 13) @@ -0,0 +1,119 @@ +vapi.o: vapi.c /usr/include/stdio.h /usr/include/features.h \ + /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ + /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h \ + /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h \ + /usr/include/bits/types.h /usr/include/bits/pthreadtypes.h \ + /usr/include/bits/sched.h /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/wchar.h /usr/include/gconv.h /usr/include/bits/stdio_lim.h \ + /usr/include/bits/stdio.h /usr/include/stdlib.h \ + /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \ + /usr/include/bits/endian.h /usr/include/sys/select.h \ + /usr/include/bits/select.h /usr/include/bits/sigset.h \ + /usr/include/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/string.h /usr/include/bits/string.h \ + /usr/include/bits/string2.h /usr/include/sys/poll.h \ + /usr/include/bits/poll.h /usr/include/sys/socket.h \ + /usr/include/bits/socket.h \ + /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h \ + /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h \ + /usr/include/limits.h /usr/include/bits/posix1_lim.h \ + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ + /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \ + /usr/include/asm/socket.h /usr/include/asm/sockios.h \ + /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \ + /usr/include/netinet/in.h /usr/include/stdint.h \ + /usr/include/bits/wordsize.h /usr/include/bits/in.h \ + /usr/include/bits/byteswap.h /usr/include/netinet/tcp.h \ + /usr/include/sys/time.h /usr/include/bits/time.h /usr/include/unistd.h \ + /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ + /usr/include/getopt.h /usr/include/signal.h /usr/include/bits/signum.h \ + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ + /usr/include/bits/sigcontext.h /usr/include/asm/sigcontext.h \ + /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ + /usr/include/sys/stat.h /usr/include/bits/stat.h \ + /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ + /usr/include/asm/ioctls.h /usr/include/asm/ioctl.h \ + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ + /usr/include/fcntl.h /usr/include/bits/fcntl.h /usr/include/errno.h \ + /usr/include/bits/errno.h /usr/include/linux/errno.h \ + /usr/include/asm/errno.h +vapi.c : +/usr/include/stdio.h : +/usr/include/features.h : +/usr/include/sys/cdefs.h : +/usr/include/gnu/stubs.h : +/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h : +/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h : +/usr/include/bits/types.h : +/usr/include/bits/pthreadtypes.h : +/usr/include/bits/sched.h : +/usr/include/libio.h : +/usr/include/_G_config.h : +/usr/include/wchar.h : +/usr/include/gconv.h : +/usr/include/bits/stdio_lim.h : +/usr/include/bits/stdio.h : +/usr/include/stdlib.h : +/usr/include/sys/types.h : +/usr/include/time.h : +/usr/include/endian.h : +/usr/include/bits/endian.h : +/usr/include/sys/select.h : +/usr/include/bits/select.h : +/usr/include/bits/sigset.h : +/usr/include/sys/sysmacros.h : +/usr/include/alloca.h : +/usr/include/string.h : +/usr/include/bits/string.h : +/usr/include/bits/string2.h : +/usr/include/sys/poll.h : +/usr/include/bits/poll.h : +/usr/include/sys/socket.h : +/usr/include/bits/socket.h : +/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h : +/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h : +/usr/include/limits.h : +/usr/include/bits/posix1_lim.h : +/usr/include/bits/local_lim.h : +/usr/include/linux/limits.h : +/usr/include/bits/posix2_lim.h : +/usr/include/bits/sockaddr.h : +/usr/include/asm/socket.h : +/usr/include/asm/sockios.h : +/usr/include/netdb.h : +/usr/include/rpc/netdb.h : +/usr/include/bits/netdb.h : +/usr/include/netinet/in.h : +/usr/include/stdint.h : +/usr/include/bits/wordsize.h : +/usr/include/bits/in.h : +/usr/include/bits/byteswap.h : +/usr/include/netinet/tcp.h : +/usr/include/sys/time.h : +/usr/include/bits/time.h : +/usr/include/unistd.h : +/usr/include/bits/posix_opt.h : +/usr/include/bits/confname.h : +/usr/include/getopt.h : +/usr/include/signal.h : +/usr/include/bits/signum.h : +/usr/include/bits/siginfo.h : +/usr/include/bits/sigaction.h : +/usr/include/bits/sigcontext.h : +/usr/include/asm/sigcontext.h : +/usr/include/bits/sigstack.h : +/usr/include/bits/sigthread.h : +/usr/include/sys/stat.h : +/usr/include/bits/stat.h : +/usr/include/sys/ioctl.h : +/usr/include/bits/ioctls.h : +/usr/include/asm/ioctls.h : +/usr/include/asm/ioctl.h : +/usr/include/bits/ioctl-types.h : +/usr/include/sys/ttydefaults.h : +/usr/include/fcntl.h : +/usr/include/bits/fcntl.h : +/usr/include/errno.h : +/usr/include/bits/errno.h : +/usr/include/linux/errno.h : +/usr/include/asm/errno.h : Index: vapi/tags/initial/Makefile.am =================================================================== --- vapi/tags/initial/Makefile.am (nonexistent) +++ vapi/tags/initial/Makefile.am (revision 13) @@ -0,0 +1,3 @@ +bin_PROGRAMS = uart + +uart_SOURCES = vapi.c vapi.h uart.c
vapi/tags/initial/Makefile.am Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/uart.cfg =================================================================== --- vapi/tags/initial/uart.cfg (nonexistent) +++ vapi/tags/initial/uart.cfg (revision 13) @@ -0,0 +1,67 @@ +/* sim.cfg -- Simulator configuration script file + Copyright (C) 2001, Marko Mlinar, markom@opencores.org + +This file includes a lot of help about configurations and default one + +This file is part of OpenRISC 1000 Architectural Simulator. + +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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +section sim + verbose = 0 + debug = 0 + profile = 0 + prof_fn = "sim.profile" + + /* iprompt = 0 */ + exe_log = 0 + exe_log_fn = "executed.log" +end + +section VAPI + enabled = 1 + server_port = 8886 +end + +section cpu + ver = 0x1200 + rev = 0x0001 + /* upr = */ + superscalar = 0 + hazards = 0 + history = 0 + dependstats = 0 + dependency = 0 + slp = 0 + btic = 0 + bpb = 0 +end + + +section uart + enabled = 1 + nuarts = 1 + + device 0 + baseaddr = 0x80000000 + irq = 2 + rxfile = "/tmp/uart0.rx" + txfile = "/tmp/uart0.tx" + jitter = -1 /* async behaviour */ + 16550 = 1 + vapi_id = 0x12345600 + enddevice +end +
vapi/tags/initial/uart.cfg Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/uart =================================================================== --- vapi/tags/initial/uart (nonexistent) +++ vapi/tags/initial/uart (revision 13) @@ -0,0 +1,124 @@ +ELF`‰4@è4 (44€4€ÀÀôô€ô€€€-$-$0$0´0´P8à$à´à´   /lib/ld-linux.so.2GNU# + "!  +  ?l‡gL|‡"~Œ‡@Òœ‡Bb¬‡:a¼‡v„̇-å܇R0ì‡1ü‡“ ˆ¬"û€µ«ˆ=K,ˆB9<ˆá»LˆÄ-\ˆàŒlˆª!|ˆ2FŒˆ;Zœˆ)h¬ˆ‘"×¼ˆ¨̈Ë܈-(ìˆ=Ãüˆœ„Ÿó ‰-‰éw,‰=¶<‰@ L‰0__gmon_start__libc.so.6strcpyprintfconnectstrerror__strtol_internalgetprotobynamememcpyperror__cxa_finalizesocketwritefprintfstrcat__deregister_frame_infosetsockoptreadstrncmpstrncpysscanfpollgethostbynamegetservbynamesprintfstderrerror__errno_locationexit_IO_stdin_used__libc_start_mainstrchrfcntl__register_frame_infocloseGLIBC_2.1.3GLIBC_2.0si hii +tÜ´!€µ `´d´h´l´p´t´x´|´€´ „´ +ˆ´ Œ´ +´”´˜´œ´ ´¤´¨´¬´°´´´¸´¼´À´Ä´È´Ì´дÔ´ Ø´"U‰åSPè[Ã-‹ƒˆ…ÀtÿÐvè¯èÊ‹]üÉÃÿ5X´ÿ%\´ÿ%`´héàÿÿÿÿ%d´héÐÿÿÿÿ%h´héÀÿÿÿÿ%l´hé°ÿÿÿÿ%p´h é ÿÿÿÿ%t´h(éÿÿÿÿ%x´h0é€ÿÿÿÿ%|´h8épÿÿÿÿ%€´h@é`ÿÿÿÿ%„´hHéPÿÿÿÿ%ˆ´hPé@ÿÿÿÿ%Œ´hXé0ÿÿÿÿ%´h`é ÿÿÿÿ%”´hhéÿÿÿÿ%˜´hpéÿÿÿÿ%œ´hxéðþÿÿÿ% ´h€éàþÿÿÿ%¤´hˆéÐþÿÿÿ%¨´héÀþÿÿÿ%¬´h˜é°þÿÿÿ%°´h é þÿÿÿ%´´h¨éþÿÿÿ%¸´h°é€þÿÿÿ%¼´h¸épþÿÿÿ%À´hÀé`þÿÿÿ%Ä´hÈéPþÿÿÿ%È´hÐé@þÿÿÿ%Ì´hØé0þÿÿÿ%дhàé þÿÿÿ%Ô´hèéþÿÿÿ%Ø´hðéþÿÿ1í^‰áƒäøPTRh`Ÿh,‡QVh€’èÛþÿÿôU‹<´‰åƒì…ÒuI‹8´‹…Àtt&B£8´ÿ‹8´‹ +…Éuê¸ ˆ…Àtƒì h@´è0þÿÿƒÄ¸£<´‰ì]ÃvU‰åƒì‰ì]öU‰å¸|‡ƒì…Àtƒìh„µh@´è[ýÿÿƒÄ‰ì]ô&U‰åƒì‰ì]öU‰åWVSƒì ‹u…ö‹} „]è‰öRVWÿuè%ýÿÿƒÄ…Àybè‰ýÿÿ‹ƒø tƒø  ƒøtPëC‰öƒø t'ë:‹E‰EèfÇC·C‰CPjÿjSèîüÿÿƒÄë!ƒì ÿuèíüÿÿÇ µ¸ÿÿÿÿë +)ÆÇ…öu„1Àeô[^_]ÉöU‰åWVSƒì ‹u…ö‹} tu]è‰öPVWÿuè5þÿÿƒÄ…Ày>èéüÿÿ‹ƒøtNƒø t ¸ÿÿÿÿëH‰ö‹EQ‰EèjÿfÇCj·CS‰CèVüÿÿƒÄë…Àuƒì ÿuèQüÿÿ¸ÿÿÿÿë ‰ö)ÆÇ…öu1Àeô[^_]ÉöU‰åƒì‹EfÁÈÁÈfÁÈQUj‰E‰ÐPÿ5 µèþÿÿƒÄ…Ày +¸ë,v‹E fÁÈÁÈfÁÈRj‰E E Pÿ5 µèiþÿÿƒÄÁèÉÃU‰åVSPj‹]Sÿ5 µ‹u èêþÿÿƒÄ…Àx%‹fÁÈÁÈfÁȉSjVÿ5 µèÅþÿÿƒÄ…Ày +¸ëv‹fÁÈÁÈfÁȉ1Àeø[^]ÃU‰åWVSì8» ŸS‹} Ç…ÌýÿÿèÀûÿÿƒÄ…À‰…ÈýÿÿuWSh¤ŸØþÿÿSè€üÿÿéývjj +…ÔýÿÿPWè—ûÿÿ‹•Ôýÿÿ‰ÆƒÄ1À€:•ÀH!Æu>ƒì‹…Èýÿÿÿ0WèûÿÿƒÄ…ÀuVWhŸØþÿÿSè$üÿÿé¡vf‹@fÁÈ·ðƒì ÿuè¶ûÿÿ‰ÃƒÄ…ÛuSÿuhÙŸØþÿÿSèèûÿÿéevQjjjèôûÿÿ‰ÇƒÄ…ÿyOƒìè³úÿÿƒÄ ‰Ãÿ3h µØþÿÿVè«ûÿÿZÿ3èƒúÿÿƒÄ Ph  ØýÿÿSèŽûÿÿ_XSVèåúÿÿ‰4$éQ…ÐýÿÿPjWèìúÿÿƒÄ…Ày +RWh@ éHP‹…Ðýÿÿ%ÿ÷ÿÿPjWèÃúÿÿƒÄ…Ày‹…Ðýÿÿ +PWh€ éÇEØÇEÜÇEàÇEäf‹Cf‰EØ‹CQÿs UÜÿ0Rè~úÿÿƒÄ‰ðfÁÈSjf‰EÚEØPWè´úÿÿƒÄ…Àyaè¸ùÿÿ‰Æ‹ƒøstSQPh½ ØþÿÿSè¬úÿÿZÿ6è„ùÿÿƒÄ Ph  µØýÿÿVèúÿÿ‰<$è'ùÿÿ_XVSèÞùÿÿ‰$è†úÿÿ1Àév‹…ÐýÿÿQ +PjWè×ùÿÿƒÄ…Ày‹…Ðýÿÿ +PWh€ ë+ƒì j…ÌýÿÿPj‹…ÈýÿÿÿpWè/ùÿÿƒÄ …Ày(RWhà ØþÿÿSèúÿÿ‰$è +úÿÿ‰<$è•øÿÿ1Àë‰øeô[^_]ÉöU‰åWVSìjh¡‹E ÿu£œµèùÿÿƒÄ…À…½ƒì‹uj:ƒÆVèøÿÿ‰ÇƒÄ…ÿt$‰û+]QƒëSVµèþÿÿVèuùÿÿƒÄÆ3GëvƒìV…èþÿÿPè¨ùÿÿƒÄƒìW…èþÿÿPè‘üÿÿƒÄ…À£ µu$‹ERƒÀPh@¡èýÿÿSè0ùÿÿ‰$è8ùÿÿƒÄPÿu ÿuh€¡è„øÿÿƒÄ jE Pÿ5 µè4úÿÿƒÄ…Àt ¸ë‰ö1Àeô[^_]ÉöU‰åVSì…ìþÿÿPjÿ5 µÇ…ìþÿÿÇ…ðþÿÿÇ…ôþÿÿè'øÿÿƒÄ…Àµðþÿÿy#Rÿ5 µh@ øþÿÿSè‚øÿÿ‰$èŠøÿÿƒÄP‹…ìþÿÿ%ÿ÷ÿÿPjÿ5 µèÝ÷ÿÿƒÄ…Ày.‹…ìþÿÿ +Pÿ5 µh€ øþÿÿSè3øÿÿ‰$è;øÿÿƒÄƒì jVj +jÿ5 µè#÷ÿÿƒÄ …Ày#Sÿ5 µhÀ¡øþÿÿSèô÷ÿÿ‰$èü÷ÿÿƒÄƒì ÿ5 µè{öÿÿeø[^]ÃU‰åSƒì‹]Sÿ5œµhö¡è)÷ÿÿYXSÿ5œµèúÿÿƒÄ…ÀtÇE +¢‹]üÉéDöÿÿ‹]üÉÃvU‰åƒìEüPEøPèMúÿÿƒÄ…Àt:¡ µ…Àt&ƒì h¢è öÿÿYÿ5 µèðõÿÿƒÄÇ µƒì jèùöÿÿ‹Eø‹œµ9ÐtRPh@¢ÿ5€µèÙõÿÿÇ$èÍöÿÿRÿuüPhc¢èmöÿÿ‹EüÉÃU‰å¡ µSƒì…ÀtUfÇEô‰Eð·Eô]ð‰EôRjjSèYõÿÿƒÄƒøÿt …Àt!ë#vè£õÿÿƒ8tÚƒì hv¢èQõÿÿƒÄëÈ1À븋]üÉÉöU‰åSSƒ}‹] t&ƒì h{¢èáõÿÿÇ$ ¢èÕõÿÿ¸éŸvjj +jÿsèzõÿÿƒÄ ‰EøEøPhÈ¢ÿsèöÿÿƒÄ…Àtƒìÿuøÿsè:üÿÿƒÄ…Àt#¸ëTQÿshÍ¢ÿ5€µè¼ôÿÿ¸ë9è× …ÀtƒìhÞ¢ÿ5€µè˜ôÿÿ¸ëƒì hì¢è3õÿÿèÚüÿÿ1À‹]üÉÃU‰åƒì ÿu ÿuhú¢èõÿÿƒÄÇEÉéNõÿÿ‰öU‰åVSƒìŠEˆE÷èíýÿÿ¾u÷R‰Ã‰ðS ĵPh£èÎôÿÿ‰Ø0ÀƒÄ;ĵtƒìjQh*£èŒÿÿÿƒÄãÿtƒì¾ÃPh,£ë vƒì h2£è‡ôÿÿƒÄPSVh6£èwôÿÿƒÄ8]÷tƒìjVh*£è<ÿÿÿƒÄeø[^]ÉöU‰åƒì‹Àµ¾E0Ò Ð‰EÉéóüÿÿvU‰åVS‹uè+ýÿÿQÿ5ĵ‰ÃShP£èôÿÿ‰Ø0ÀƒÄ;ĵtƒìjfh*£èÑþÿÿƒÄãÿtƒì¾ÃPh,£ëƒì h2£èÏóÿÿƒÄˆF…Ûu™‹Eeø[^]ÃvU‰åVS‹u€>tUvè§üÿÿ‰Ã¾ ĵ9Ãtƒìjth*£èaþÿÿƒÄãÿtƒì¾ÃPh,£ëƒì h2£è_óÿÿƒÄF€>u®eø[^]ÃvU‰åSS‹]€;t"v¾‹Àµ0Òƒì ÐPCèáûÿÿƒÄ€;uá‹]üÉÃU‰åƒìhèÄûÿÿÇ$ÇĵÇÀµè¤ûÿÿÉÉöU‰åƒìh\£èÔòÿÿXZhhr£èÃòÿÿÉÃU‰åWVƒì h‚£è®òÿÿ^_h“hr£èòÿÿÇ$àµè]þÿÿZYh•hr£è€òÿÿ_Xhàµh’£¾àµèjòÿÿ¿Ÿ£¹üƒÄó¦—Â’À8Âtƒìh—h*£èýÿÿƒÄƒì h´£èâþÿÿY^h™hr£èòÿÿÇ$¹£èòÿÿeø^_]ÉöU‰åSƒìh½£è÷ñÿÿèöúÿÿƒÄ h@‰ÃShÉ£èÝñÿÿƒÄû@tƒìh¡h*£èœüÿÿƒÄƒìh¢hr£è«ñÿÿ¡ÀµƒÈ*‰$èWúÿÿZYh¤hr£èŠñÿÿè‰úÿÿ‰Ã¡ÀµƒÄ ƒÈ!PShÉ£èlñÿÿ¡ÀµƒÈ!ƒÄ9Ãtƒìh¥h*£è'üÿÿƒÄƒìh¦hr£è6ñÿÿÇ$èæùÿÿ¡ÀµƒÈb‰$èÖùÿÿ[Xh«hr£è ñÿÿèúÿÿ‰Ã¡ÀµƒÄ ƒÈ#PShÉ£èëðÿÿ¡ÀµƒÈ#ƒÄ9Ãtƒìh¬h*£è¦ûÿÿƒÄƒìh­hr£èµðÿÿÇ$èeùÿÿ¡ÀµƒÈ$‰$èUùÿÿZYh°hr£èˆðÿÿÇ$ç£èÄüÿÿè{ùÿÿƒÄ h@‰ÃShÉ£èbðÿÿƒÄû@tƒìh´h*£è!ûÿÿƒÄƒì h*£èéüÿÿ[Xh¶hr£è$ðÿÿè#ùÿÿ‰Ã¡ÀµƒÄ ƒÈ#PShÉ£èðÿÿ¡ÀµƒÈ#ƒÄ9Ãtƒìh¹h*£èÁúÿÿƒÄƒì hè‘øÿÿYÿ5Àµè…øÿÿÇ$ê£èqüÿÿXZh¾hr£è¬ïÿÿÇ$è\øÿÿÇ$î£èHüÿÿÇ$èDøÿÿY[hÄhr£èwïÿÿèvøÿÿ‰Ã¡ÀµƒÄ ƒÈ?PShÉ£èYïÿÿ¡ÀµƒÈ?ƒÄ9ÃtƒìhÆh*£èúÿÿƒÄƒì hèä÷ÿÿXZhÉhr£èïÿÿ¡ÀµƒÈ!‰$èÃ÷ÿÿÇ$¹£èûîÿÿ‹]üÉÉöU‰åSƒì»‹MÓãK‰ØƒàUPèÛùÿÿÇ$Uèwúÿÿƒãa‰$èÄùÿÿƒÄÇEa‹]üÉéYúÿÿU‰åVSƒì hð£èšîÿÿ»ƒÄ‰ö‰Øƒì +Pè<÷ÿÿÇ$ÇÀµÇĵè÷ÿÿÇ$è`ÿÿÿ^Xhíhr£CèBîÿÿƒÄƒû~ªƒìhïhr£è(îÿÿÇ$èØöÿÿZYhòhr£è îÿÿ1öƒÄ‰ö1Û‰öõ ØÁàƒì £Àµ£Äµ +Pè˜öÿÿC‰$èÝþÿÿYXhúhr£Cè¿íÿÿƒÄƒû~·Fƒþ~­ƒìhühr£èŸíÿÿ1ۃĉö‰ØƒÈÁàƒì £Àµ£Äµ +Pè4öÿÿC‰$èyþÿÿXZhhr£Cè[íÿÿƒÄƒû~»ƒìhhr£èAíÿÿÇ$Tè9øÿÿÇ$èåõÿÿÇ$ÇÀµÇĵèÅõÿÿÇ$Tèøÿÿ[^h +hr£èììÿÿÇ$¹£èàìÿÿeø[^]ÃU‰åƒìhè„õÿÿÇ$¤è¼ìÿÿÇ$Iè´÷ÿÿÇ$0èPøÿÿÇ$Ièœ÷ÿÿÇ$1è8øÿÿÇ$2è,øÿÿÇ$3è øÿÿÇ$4èøÿÿÇ$Iè`÷ÿÿÇ$5èü÷ÿÿÇ$6èð÷ÿÿÇ$7èä÷ÿÿÇ$8èØ÷ÿÿÇ$9èÌ÷ÿÿÇ$Iè÷ÿÿÇ$aè´÷ÿÿÇ$bè¨÷ÿÿÇ$cèœ÷ÿÿÇ$dè÷ÿÿÇ$eè„÷ÿÿÇ$fèx÷ÿÿÇ$gèl÷ÿÿÇ$Iè¸öÿÿÇ$hèT÷ÿÿÇ$ièH÷ÿÿÇ$jè<÷ÿÿÇ$*è0÷ÿÿÇ$Iè|öÿÿÇ$è(ôÿÿ¡ÀµƒÈb‰$èôÿÿZYh<hr£èKëÿÿÇ$BèCöÿÿYXh>hr£è.ëÿÿÇ$èÞóÿÿ¡ÀµƒÈ$‰$èÎóÿÿXZhAhr£èëÿÿÇ$IèùõÿÿÇ$Tè•öÿÿÇ$TèáõÿÿZYhJhr£èÌêÿÿÇ$è|óÿÿÇ$ÇĵÇÀµè\óÿÿÇ$Tè˜õÿÿÇ$¹£èˆêÿÿÉÉöU‰åƒìh¤ètêÿÿÇ$*èlõÿÿÇ$*èöÿÿYXh\hr£èKêÿÿÇ$!èCõÿÿÇ$!èßõÿÿXZh_hr£è"êÿÿÇ$1èõÿÿÇ$*èõÿÿÇ$*èªõÿÿÇ$¹£èòéÿÿÉÃU¡Äµ‰åƒì +Pè–òÿÿÇ$cèÒôÿÿÇ$è~òÿÿÇ$aèbõÿÿÇ$èfòÿÿÇ$bèJõÿÿZYhohr£èéÿÿÉÃvU‰åƒìè™öÿÿè`öÿÿèƒÿÿÿƒì j@èõÿÿ1ÀÉÃU¡D´‰åSƒìƒøÿ»D´tv¼'ƒëÿЋƒøÿuôX[]ÃU‰åƒì‰ì]öU‰åSRè[Ãêvèêÿÿ‹]üÉÃtcpProtocol "%s" not available. +Unknown service "%s". +Unknown host "%s" +can't create socket errno = %d +%s +Unable to get flags for VAPI proxy socket %dUnable to set flags for VAPI proxy socket %d to value 0x%08xconnect failed errno = %d +Unable to disable Nagel's algorithm for socket %d. +setsockoptvapi://Can not access VAPI Proxy Server at "%s"Remote or1k testing using %s, id 0x%x +Unable to disable SO_LINGER for VAPI proxy socket %d.WRITE [%08x, %08x] +write packetvapi readERROR: Invalid id %x, expected %x.READ [%08x, %08x] +pollUsage: vapit URL ID +vapit vapi://localhost:9998 0x12345678 +0x%xInvalid vapi_id +TEST FAILED. +Test passed. +Test failed in %s:%i +expected %08x, read %08x +?'%c' +\0 +expected %02x, read %02x +%08x, %08x +Testing registers... Passed line %i +send_recv_test +OK +read: %s +send_test_is_runningrecvOK +break_test +expected 0x%08x, read 0x%08x +ns2345different modes test +interrupt_test +control_register_test +P´ÿÿÿÿÿÿÿÿà´r‡‚‡’‡¢‡²‡‡Ò‡â‡ò‡ˆˆ"ˆ2ˆBˆRˆbˆrˆ‚ˆ’ˆ¢ˆ²ˆˆÒˆâˆòˆ‰‰"‰2‰B‰R‰ ,‡ +`Ÿ(0„‚ +h T´ø4†$†þÿÿoô…ÿÿÿoðÿÿo®…R€d„‰d„‰,<;€e€€®€æ€#€t€Å€ð€€I€r€Œ€§€È€€$€I€s€œ‚¢¶‚gVÝ‚‰s‚‚¢¢2‚Øk€Ç¢€ –€!­€"€#Ø€%ð€&€1€25€3L€4e€5}€6–€8®€9Ç€;ç€=ý€>€?)€@?€AV€Bn€C„€D›€E±€FÉ€Gà€Hù€I€Nt€QŒ€R¬€SÀTÞ€Uú€V€X*€[D€^\€bt€x¾€{Ô€~ €‡! €ˆ< €‹W €Œt € €¬ €“Ä €–Ý €™ø €š +€- +€ G +‚ùŒ{ +‚ˆ£ +€¢Ö +€ €#Z €4` €<­ €Cå €F +€S” +€ZÒ +€^ï +€Ä€lä€t8€yY€á€†€Œ¢¢2‚ +7€L€8¢`‚s‚b…€F¢¢€J€#‚¢‚-Á`Âs‚¢³€’€É€Gó€J"€KS€T†€ZÁ€^ú€a2€bj€€Â€¸€/€­¢¢S€5Æ€7Þ€8ö€9€:¢* "d„‰@d@Š\d@Š,<;€e€€®€æ€#€t€Å€ð€€I€r€Œ€§€È€€$€I€s€c‚ x‚‚¢©‚¢¢2ÂØ‚<û€+¢‚GtxÂ2‚¢2€ I€!`€"u€#‹€%£€&¹€1Ѐ2è€3ÿ€4€50€6I€8a€9z€;š€=°€>Æ€?Ü€@ò€A €B!€C7€DN€Ed€F|€G“€H¬€IÁ€N'€Q?€R_€Sv€T‘€U­€VÅ€XÝ€[÷€^€b'€xs€{‰€~£€‚½€‡Ö€ˆñ€‹ €Œ)€D€a€“y€–’€™­€šÉ€â€ ü‚Æé ‚ˆ7 €¢k €´ €#ó €4ü!€<M"€C‡"€F¤"€S;#€Z{#€^™#€Œ¢¢²#€0Ð#‚Ìå#‚gV‚¢2 +þ#‚b2Â$€F¢–$€Û$€#"%‚-ÁxÂþ#‚2¢2Â7%€&€M&€Gw&€J¦&€K×&€T +'€ZE'€^~'€a¶'€bî'€›(€F*€<+€³+€­¢×+€5M,€7f,€8,€9š,€:¢Â‚¢µ,€§Ï,€,-€-€Q0€Bh0€YŽ0€bµ0€jÚ0€m¢1€=1‚¢31€ÙG1‚¢¢a1‚ÅkxÂ2Âw1€b°1€jê1‚ì·xÂÂ2€!2€".2€#B2€$W2€%l2€&ƒ2€'™2€*¯2€.Ä2€:Ú2€?ð2€D3€I3€N53€`K3€e`3€jx3€o3€p¨3€t¾3‚žÂÒ3€GÂè3€RÂ4€]¢2Â4€-4€‘C4€’W4€¸n4€¹…4€ºœ4€»³4€¾Ì4€¿å4€Àþ4€Á5€Ã15‚xÂG5‚¢¢b5‚H +xÂÂ|5‚¢—5‚G²5€Ï5€¢¾3‚ˆ6€¢R6€0i6€3¢6‚¢œ6€àµ6€äÐ6€è¢ë6€›7€8‚xÂ2¢/8€ž¢]8‚xÂ2Âs8‚¢Ž8‚15ÂÂa1‚¢¢¢ª8‚ùxÂÂ8‚¢Û8€¢#9‚ wxÂ2Â=9‚r 2ÂX9‚‘9‚X9ÂÍ9‚xÂã9‚:‚ :‚¢¢¢<:‚¢¢¢¢ê1‚¢[:€$t:€Þ:‚×û:€¢;€k;€ê;€Ë<€˜=€>€Z>€£>‚½>‚¢¢Ø>€¢?€k?€˜?€WhB€[¢…D‚Ò‘xšD‚ºxÂ2³D€¢#9‚¢2ÂE€$%E‚ž?E€¢§E€-F€”F€èF€¢ÀG‚’ºxÂX9ÂÚG‚]ŸxÂ2ÂðG‚¢ +H€2$H€3;H€<RH€CnH€DŠH€E¦H€JÂH€NßH€OüH€PI€U8I€\TI€bpI€cŒI€e¨I€iÅI€oâI€pÿI€rJ€4J€‚MJ€ŒeJ€Ž¢ê1Â=9‚¢~J€7L€BPL€™D?ªD@¶DAÆDG×DHãDIïDJûDM DODNDO3DP8DQDDRP$RY$XøDXDYDZD[D\(D]9D^ED_QDabDbnDczDd†De’$”w$hŒžDhDiDhDi DjDk"Dl.Dm:DnFDoRDyc$e$|ôžD|DD€ D†D‰DŠD‹!$#  Gç Jö JdŸinit.c/usr/src/bs/BUILD/glibc-2.1.92/csu/gcc2_compiled.int:t(0,1)=r(0,1);-2147483648;2147483647;char:t(0,2)=r(0,2);0;127;long int:t(0,3)=r(0,3);-2147483648;2147483647;unsigned int:t(0,4)=r(0,4);0000000000000;0037777777777;long unsigned int:t(0,5)=r(0,5);0000000000000;0037777777777;long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;long long unsigned int:t(0,7)=@s64;r(0,7);0000000000000;01777777777777777777777;short int:t(0,8)=@s16;r(0,8);-32768;32767;short unsigned int:t(0,9)=@s16;r(0,9);0;65535;signed char:t(0,10)=@s8;r(0,10);-128;127;unsigned char:t(0,11)=@s8;r(0,11);0;255;float:t(0,12)=r(0,1);4;0;double:t(0,13)=r(0,1);8;0;long double:t(0,14)=r(0,1);12;0;complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;complex float:t(0,16)=r(0,16);8;0;complex double:t(0,17)=r(0,17);16;0;complex long double:t(0,18)=r(0,18);24;0;__builtin_va_list:t(0,19)=*(0,20)=(0,20)../include/libc-symbols.h../sysdeps/unix/sysv/linux/_G_config.h../sysdeps/unix/sysv/linux/bits/types.h../include/features.h../include/sys/cdefs.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.hsize_t:t(6,1)=(0,4)__u_char:t(3,1)=(0,11)__u_short:t(3,2)=(0,9)__u_int:t(3,3)=(0,4)__u_long:t(3,4)=(0,5)__u_quad_t:t(3,5)=(0,7)__quad_t:t(3,6)=(0,6)__int8_t:t(3,7)=(0,10)__uint8_t:t(3,8)=(0,11)__int16_t:t(3,9)=(0,8)__uint16_t:t(3,10)=(0,9)__int32_t:t(3,11)=(0,1)__uint32_t:t(3,12)=(0,4)__int64_t:t(3,13)=(0,6)__uint64_t:t(3,14)=(0,7)__qaddr_t:t(3,15)=(3,16)=*(3,6)__dev_t:t(3,17)=(3,5)__uid_t:t(3,18)=(3,3)__gid_t:t(3,19)=(3,3)__ino_t:t(3,20)=(3,4)__mode_t:t(3,21)=(3,3)__nlink_t:t(3,22)=(3,3)__off_t:t(3,23)=(0,3)__loff_t:t(3,24)=(3,6)__pid_t:t(3,25)=(0,1)__ssize_t:t(3,26)=(0,1)__rlim_t:t(3,27)=(3,4)__rlim64_t:t(3,28)=(3,5)__id_t:t(3,29)=(3,3)__fsid_t:t(3,30)=(3,31)=s8__val:(3,32)=ar(3,33)=r(3,33);0000000000000;0037777777777;;0;1;(0,1),0,64;;__daddr_t:t(3,34)=(0,1)__caddr_t:t(3,35)=(3,36)=*(0,2)__time_t:t(3,37)=(0,3)__useconds_t:t(3,38)=(0,4)__suseconds_t:t(3,39)=(0,3)__swblk_t:t(3,40)=(0,3)__clock_t:t(3,41)=(0,3)__clockid_t:t(3,42)=(0,1)__timer_t:t(3,43)=(0,1)__fd_mask:t(3,44)=(0,5)__fd_set:t(3,45)=(3,46)=s128fds_bits:(3,47)=ar(3,33);0;31;(3,44),0,1024;;__key_t:t(3,48)=(0,1)__ipc_pid_t:t(3,49)=(0,9)__blksize_t:t(3,50)=(0,3)__blkcnt_t:t(3,51)=(0,3)__blkcnt64_t:t(3,52)=(3,6)__fsblkcnt_t:t(3,53)=(3,4)__fsblkcnt64_t:t(3,54)=(3,5)__fsfilcnt_t:t(3,55)=(3,4)__fsfilcnt64_t:t(3,56)=(3,5)__ino64_t:t(3,57)=(3,5)__off64_t:t(3,58)=(3,24)__t_scalar_t:t(3,59)=(0,3)__t_uscalar_t:t(3,60)=(0,5)__intptr_t:t(3,61)=(0,1)__socklen_t:t(3,62)=(0,4)../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h../sysdeps/unix/sysv/linux/bits/sched.h__sched_param:T(8,1)=s4sched_priority:(0,1),0,32;;_pthread_fastlock:T(7,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(7,2)=(7,3)=*(7,4)=xs_pthread_descr_struct:pthread_attr_t:t(7,5)=(7,6)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(8,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(6,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(0,19),224,32;__stacksize:(6,1),256,32;;pthread_cond_t:t(7,7)=(7,8)=s12__c_lock:(7,1),0,64;__c_waiting:(7,2),64,32;;pthread_condattr_t:t(7,9)=(7,10)=s4__dummy:(0,1),0,32;;pthread_key_t:t(7,11)=(0,4)pthread_mutex_t:t(7,12)=(7,13)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(7,2),64,32;__m_kind:(0,1),96,32;__m_lock:(7,1),128,64;;pthread_mutexattr_t:t(7,14)=(7,15)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(7,16)=(0,1)_pthread_rwlock_t:T(7,17)=s32__rw_lock:(7,1),0,64;__rw_readers:(0,1),64,32;__rw_writer:(7,2),96,32;__rw_read_waiting:(7,2),128,32;__rw_write_waiting:(7,2),160,32;__rw_kind:(0,1),192,32;__rw_pshared:(0,1),224,32;;pthread_rwlock_t:t(7,18)=(7,17)pthread_rwlockattr_t:t(7,19)=(7,20)=s8__lockkind:(0,1),0,32;__pshared:(0,1),32,32;;pthread_spinlock_t:t(7,21)=(0,1)pthread_barrier_t:t(7,22)=(7,23)=s20__ba_lock:(7,1),0,64;__ba_required:(0,1),64,32;__ba_present:(0,1),96,32;__ba_waiting:(7,2),128,32;;pthread_barrierattr_t:t(7,24)=(7,25)=s4__pshared:(0,1),0,32;;pthread_t:t(7,26)=(0,5)wchar_t:t(9,1)=(0,3)wint_t:t(9,2)=(0,4)../include/wchar.h../wcsmbs/wchar.h__mbstate_t:t(11,1)=(11,2)=s8__count:(0,1),0,32;__value:(11,3)=u4__wch:(9,2),0,32;__wchb:(11,4)=ar(3,33);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(2,1)=(2,2)=s12__pos:(3,23),0,32;__state:(11,1),32,64;;_G_fpos64_t:t(2,3)=(2,4)=s16__pos:(3,58),0,64;__state:(11,1),64,64;;../include/gconv.h../iconv/gconv.h :T(13,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(13,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(13,3)=(13,4)=*(13,5)=f(0,1)__gconv_init_fct:t(13,6)=(13,7)=*(13,8)=f(0,1)__gconv_end_fct:t(13,9)=(13,10)=*(13,11)=f(0,20)__gconv_trans_fct:t(13,12)=(13,13)=*(13,14)=f(0,1)__gconv_trans_context_fct:t(13,15)=(13,16)=*(13,17)=f(0,1)__gconv_trans_query_fct:t(13,18)=(13,19)=*(13,20)=f(0,1)__gconv_trans_init_fct:t(13,21)=(13,22)=*(13,23)=f(0,1)__gconv_trans_end_fct:t(13,24)=(13,25)=*(13,26)=f(0,20)__gconv_trans_data:T(13,27)=s20__trans_fct:(13,12),0,32;__trans_context_fct:(13,15),32,32;__trans_end_fct:(13,24),64,32;__data:(0,19),96,32;__next:(13,28)=*(13,27),128,32;;__gconv_step:T(13,29)=s56__shlib_handle:(13,30)=*(13,31)=xs__gconv_loaded_object:,0,32;__modname:(13,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(13,32),96,32;__to_name:(13,32),128,32;__fct:(13,3),160,32;__init_fct:(13,6),192,32;__end_fct:(13,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(0,19),416,32;;__gconv_step_data:T(13,33)=s36__outbuf:(13,34)=*(0,11),0,32;__outbufend:(13,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(13,35)=*(11,1),160,32;__state:(11,1),192,64;__trans:(13,28),256,32;;__gconv_info:T(13,36)=s8__nsteps:(6,1),0,32;__steps:(13,37)=*(13,29),32,32;__data:(13,38)=ar(3,33);0;-1;(13,33),64,0;;__gconv_t:t(13,39)=(13,40)=*(13,36)_G_iconv_t:t(2,5)=(2,6)=u44__cd:(13,36),0,64;__combined:(2,7)=s44__cd:(13,36),0,64;__data:(13,33),64,288;;,0,352;;_G_int16_t:t(2,8)=(0,8)_G_int32_t:t(2,9)=(0,1)_G_uint16_t:t(2,10)=(0,9)_G_uint32_t:t(2,11)=(0,4)_IO_stdin_used:G(0,1)/projects/vapi/markom/vapi/vapi.c/usr/include/stdio.h/usr/include/features.h/usr/include/sys/cdefs.h/usr/include/gnu/stubs.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h__gnuc_va_list:t(6,1)=(0,19)/usr/include/bits/types.h__u_char:t(7,1)=(0,11)__u_short:t(7,2)=(0,9)__u_int:t(7,3)=(0,4)__u_long:t(7,4)=(0,5)__u_quad_t:t(7,5)=(0,7)__quad_t:t(7,6)=(0,6)__int8_t:t(7,7)=(0,10)__uint8_t:t(7,8)=(0,11)__int16_t:t(7,9)=(0,8)__uint16_t:t(7,10)=(0,9)__int32_t:t(7,11)=(0,1)__uint32_t:t(7,12)=(0,4)__int64_t:t(7,13)=(0,6)__uint64_t:t(7,14)=(0,7)__qaddr_t:t(7,15)=(7,16)=*(7,6)__dev_t:t(7,17)=(7,5)__uid_t:t(7,18)=(7,3)__gid_t:t(7,19)=(7,3)__ino_t:t(7,20)=(7,4)__mode_t:t(7,21)=(7,3)__nlink_t:t(7,22)=(7,3)__off_t:t(7,23)=(0,3)__loff_t:t(7,24)=(7,6)__pid_t:t(7,25)=(0,1)__ssize_t:t(7,26)=(0,1)__rlim_t:t(7,27)=(7,4)__rlim64_t:t(7,28)=(7,5)__id_t:t(7,29)=(7,3)__fsid_t:t(7,30)=(7,31)=s8__val:(7,32)=ar(7,33)=r(7,33);0000000000000;0037777777777;;0;1;(0,1),0,64;;__daddr_t:t(7,34)=(0,1)__caddr_t:t(7,35)=(7,36)=*(0,2)__time_t:t(7,37)=(0,3)__useconds_t:t(7,38)=(0,4)__suseconds_t:t(7,39)=(0,3)__swblk_t:t(7,40)=(0,3)__clock_t:t(7,41)=(0,3)__clockid_t:t(7,42)=(0,1)__timer_t:t(7,43)=(0,1)__fd_mask:t(7,44)=(0,5)__fd_set:t(7,45)=(7,46)=s128__fds_bits:(7,47)=ar(7,33);0;31;(7,44),0,1024;;__key_t:t(7,48)=(0,1)__ipc_pid_t:t(7,49)=(0,9)__blksize_t:t(7,50)=(0,3)__blkcnt_t:t(7,51)=(0,3)__blkcnt64_t:t(7,52)=(7,6)__fsblkcnt_t:t(7,53)=(7,4)__fsblkcnt64_t:t(7,54)=(7,5)__fsfilcnt_t:t(7,55)=(7,4)__fsfilcnt64_t:t(7,56)=(7,5)__ino64_t:t(7,57)=(7,5)__off64_t:t(7,58)=(7,24)__t_scalar_t:t(7,59)=(0,3)__t_uscalar_t:t(7,60)=(0,5)__intptr_t:t(7,61)=(0,1)__socklen_t:t(7,62)=(0,4)/usr/include/bits/pthreadtypes.h/usr/include/bits/sched.h__sched_param:T(11,1)=s4sched_priority:(0,1),0,32;;_pthread_fastlock:T(10,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(10,2)=(10,3)=*(10,4)=xs_pthread_descr_struct:pthread_attr_t:t(10,5)=(10,6)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(11,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(5,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(0,19),224,32;__stacksize:(5,1),256,32;;pthread_cond_t:t(10,7)=(10,8)=s12__c_lock:(10,1),0,64;__c_waiting:(10,2),64,32;;pthread_condattr_t:t(10,9)=(10,10)=s4__dummy:(0,1),0,32;;pthread_key_t:t(10,11)=(0,4)pthread_mutex_t:t(10,12)=(10,13)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(10,2),64,32;__m_kind:(0,1),96,32;__m_lock:(10,1),128,64;;pthread_mutexattr_t:t(10,14)=(10,15)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(10,16)=(0,1)pthread_t:t(10,17)=(0,5)FILE:t(1,1)=(1,2)=xs_IO_FILE:/usr/include/libio.h/usr/include/_G_config.h/usr/include/wchar.h__mbstate_t:t(16,1)=(16,2)=s8__count:(0,1),0,32;__value:(16,3)=u4__wch:(15,2),0,32;__wchb:(16,4)=ar(7,33);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(13,1)=(13,2)=s12__pos:(7,23),0,32;__state:(16,1),32,64;;_G_fpos64_t:t(13,3)=(13,4)=s16__pos:(7,58),0,64;__state:(16,1),64,64;;/usr/include/gconv.h :T(18,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(18,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(18,3)=(18,4)=*(18,5)=f(0,1)__gconv_init_fct:t(18,6)=(18,7)=*(18,8)=f(0,1)__gconv_end_fct:t(18,9)=(18,10)=*(18,11)=f(0,20)__gconv_trans_fct:t(18,12)=(18,13)=*(18,14)=f(0,1)__gconv_trans_context_fct:t(18,15)=(18,16)=*(18,17)=f(0,1)__gconv_trans_query_fct:t(18,18)=(18,19)=*(18,20)=f(0,1)__gconv_trans_init_fct:t(18,21)=(18,22)=*(18,23)=f(0,1)__gconv_trans_end_fct:t(18,24)=(18,25)=*(18,26)=f(0,20)__gconv_trans_data:T(18,27)=s20__trans_fct:(18,12),0,32;__trans_context_fct:(18,15),32,32;__trans_end_fct:(18,24),64,32;__data:(0,19),96,32;__next:(18,28)=*(18,27),128,32;;__gconv_step:T(18,29)=s56__shlib_handle:(18,30)=*(18,31)=xs__gconv_loaded_object:,0,32;__modname:(18,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(18,32),96,32;__to_name:(18,32),128,32;__fct:(18,3),160,32;__init_fct:(18,6),192,32;__end_fct:(18,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(0,19),416,32;;__gconv_step_data:T(18,33)=s36__outbuf:(18,34)=*(0,11),0,32;__outbufend:(18,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(18,35)=*(16,1),160,32;__state:(16,1),192,64;__trans:(18,28),256,32;;__gconv_info:T(18,36)=s8__nsteps:(5,1),0,32;__steps:(18,37)=*(18,29),32,32;__data:(18,38)=ar(7,33);0;-1;(18,33),64,0;;__gconv_t:t(18,39)=(18,40)=*(18,36)_G_iconv_t:t(13,5)=(13,6)=u44__cd:(18,36),0,64;__combined:(13,7)=s44__cd:(18,36),0,64;__data:(18,33),64,288;;,0,352;;_G_int16_t:t(13,8)=(0,8)_G_int32_t:t(13,9)=(0,1)_G_uint16_t:t(13,10)=(0,9)_G_uint32_t:t(13,11)=(0,4)_IO_lock_t:t(12,1)=(0,20)_IO_marker:T(12,2)=s12_next:(12,3)=*(12,2),0,32;_sbuf:(12,4)=*(1,2),32,32;_pos:(0,1),64,32;;__codecvt_result:T(12,5)=e__codecvt_ok:0,__codecvt_partial:1,__codecvt_error:2,__codecvt_noconv:3,;_IO_FILE:T(1,2)=s148_flags:(0,1),0,32;_IO_read_ptr:(7,36),32,32;_IO_read_end:(7,36),64,32;_IO_read_base:(7,36),96,32;_IO_write_base:(7,36),128,32;_IO_write_ptr:(7,36),160,32;_IO_write_end:(7,36),192,32;_IO_buf_base:(7,36),224,32;_IO_buf_end:(7,36),256,32;_IO_save_base:(7,36),288,32;_IO_backup_base:(7,36),320,32;_IO_save_end:(7,36),352,32;_markers:(12,3),384,32;_chain:(12,4),416,32;_fileno:(0,1),448,32;_blksize:(0,1),480,32;_old_offset:(7,23),512,32;_cur_column:(0,9),544,16;_vtable_offset:(0,10),560,8;_shortbuf:(12,6)=ar(7,33);0;0;(0,2),568,8;_lock:(12,7)=*(12,1),576,32;_offset:(7,58),608,64;__pad1:(0,19),672,32;__pad2:(0,19),704,32;_mode:(0,1),736,32;_unused2:(12,8)=ar(7,33);0;51;(0,2),768,416;;_IO_FILE:t(12,9)=(1,2)__io_read_fn:t(12,10)=(12,11)=f(7,26)__io_write_fn:t(12,12)=(12,13)=f(7,26)__io_seek_fn:t(12,14)=(12,15)=f(0,1)__io_close_fn:t(12,16)=(12,17)=f(0,1)fpos_t:t(1,3)=(13,1)/usr/include/bits/stdio_lim.hoff_t:t(1,4)=(7,23)/usr/include/bits/stdio.h/usr/include/stdlib.hdiv_t:t(26,1)=(26,2)=s8quot:(0,1),0,32;rem:(0,1),32,32;;ldiv_t:t(26,3)=(26,4)=s8quot:(0,3),0,32;rem:(0,3),32,32;;/usr/include/sys/types.hu_char:t(29,1)=(7,1)u_short:t(29,2)=(7,2)u_int:t(29,3)=(7,3)u_long:t(29,4)=(7,4)quad_t:t(29,5)=(7,6)u_quad_t:t(29,6)=(7,5)fsid_t:t(29,7)=(7,30)loff_t:t(29,8)=(7,24)ino_t:t(29,9)=(7,20)dev_t:t(29,10)=(7,17)gid_t:t(29,11)=(7,19)mode_t:t(29,12)=(7,21)nlink_t:t(29,13)=(7,22)uid_t:t(29,14)=(7,18)pid_t:t(29,15)=(7,25)id_t:t(29,16)=(7,29)ssize_t:t(29,17)=(7,26)daddr_t:t(29,18)=(7,34)caddr_t:t(29,19)=(7,35)key_t:t(29,20)=(7,48)/usr/include/time.htime_t:t(32,1)=(7,37)clockid_t:t(32,2)=(7,42)timer_t:t(32,3)=(7,43)ulong:t(29,21)=(0,5)ushort:t(29,22)=(0,9)uint:t(29,23)=(0,4)int8_t:t(29,24)=(0,10)int16_t:t(29,25)=(0,8)int32_t:t(29,26)=(0,1)int64_t:t(29,27)=(0,6)u_int8_t:t(29,28)=(0,11)u_int16_t:t(29,29)=(0,9)u_int32_t:t(29,30)=(0,4)u_int64_t:t(29,31)=(0,7)register_t:t(29,32)=(0,1)/usr/include/endian.h/usr/include/bits/endian.h/usr/include/sys/select.h/usr/include/bits/select.h/usr/include/bits/sigset.h__sig_atomic_t:t(44,1)=(0,1)__sigset_t:t(44,2)=(44,3)=s128__val:(44,4)=ar(7,33);0;31;(0,5),0,1024;;timespec:T(45,1)=s8tv_sec:(0,3),0,32;tv_nsec:(0,3),32,32;;fd_mask:t(40,1)=(7,44)fd_set:t(40,2)=(7,45)/usr/include/sys/sysmacros.hblkcnt_t:t(29,33)=(7,51)fsblkcnt_t:t(29,34)=(7,53)fsfilcnt_t:t(29,35)=(7,55)random_data:T(26,5)=s28fptr:(26,6)=*(29,26),0,32;rptr:(26,6),32,32;state:(26,6),64,32;rand_type:(0,1),96,32;rand_deg:(0,1),128,32;rand_sep:(0,1),160,32;end_ptr:(26,6),192,32;;drand48_data:T(26,7)=s24x:(26,8)=ar(7,33);0;2;(0,9),0,48;a:(26,8),48,48;c:(0,9),96,16;old_x:(26,8),112,48;init:(0,1),160,32;;/usr/include/alloca.h__compar_fn_t:t(26,9)=(26,10)=*(26,11)=f(0,1)/usr/include/string.h/usr/include/bits/string.h/usr/include/bits/string2.h/usr/include/sys/poll.h/usr/include/bits/poll.hpollfd:T(58,1)=s8fd:(0,1),0,32;events:(0,8),32,16;revents:(0,8),48,16;;/usr/include/sys/socket.h/usr/include/bits/socket.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h/usr/include/limits.h/usr/include/bits/posix1_lim.h/usr/include/bits/local_lim.h/usr/include/linux/limits.h/usr/include/bits/posix2_lim.hsocklen_t:t(64,1)=(7,62)__socket_type:T(64,2)=eSOCK_STREAM:1,SOCK_DGRAM:2,SOCK_RAW:3,SOCK_RDM:4,SOCK_SEQPACKET:5,SOCK_PACKET:10,;/usr/include/bits/sockaddr.hsa_family_t:t(76,1)=(0,9)sockaddr:T(64,3)=s16sa_family:(76,1),0,16;sa_data:(64,4)=ar(7,33);0;13;(0,2),16,112;;sockaddr_storage:T(64,5)=s128__ss_family:(76,1),0,16;__ss_align:(7,12),32,32;__ss_padding:(64,6)=ar(7,33);0;119;(0,2),64,960;; :T(64,7)=eMSG_OOB:1,MSG_PEEK:2,MSG_DONTROUTE:4,MSG_CTRUNC:8,MSG_PROXY:16,MSG_TRUNC:32,MSG_DONTWAIT:64,MSG_EOR:128,MSG_WAITALL:256,MSG_FIN:512,MSG_SYN:1024,MSG_CONFIRM:2048,MSG_RST:4096,MSG_ERRQUEUE:8192,MSG_NOSIGNAL:16384,;msghdr:T(64,8)=s28msg_name:(0,19),0,32;msg_namelen:(64,1),32,32;msg_iov:(64,9)=*(64,10)=xsiovec:,64,32;msg_iovlen:(5,1),96,32;msg_control:(0,19),128,32;msg_controllen:(5,1),160,32;msg_flags:(0,1),192,32;;cmsghdr:T(64,11)=s12cmsg_len:(5,1),0,32;cmsg_level:(0,1),32,32;cmsg_type:(0,1),64,32;__cmsg_data:(64,12)=ar(7,33);0;-1;(0,11),96,0;; :T(64,13)=eSCM_RIGHTS:1,SCM_CREDENTIALS:2,__SCM_CONNECT:3,;ucred:T(64,14)=s12pid:(29,15),0,32;uid:(29,14),32,32;gid:(29,11),64,32;;/usr/include/asm/socket.h/usr/include/asm/sockios.hlinger:T(64,15)=s8l_onoff:(0,1),0,32;l_linger:(0,1),32,32;;osockaddr:T(61,1)=s16sa_family:(0,9),0,16;sa_data:(61,2)=ar(7,33);0;13;(0,11),16,112;; :T(61,3)=eSHUT_RD:0,SHUT_WR:1,SHUT_RDWR:2,;__SOCKADDR_ARG:t(61,4)=(61,5)=u4__sockaddr__:(61,6)=*(64,3),0,32;__sockaddr_at__:(61,7)=*(61,8)=xssockaddr_at:,0,32;__sockaddr_ax25__:(61,9)=*(61,10)=xssockaddr_ax25:,0,32;__sockaddr_dl__:(61,11)=*(61,12)=xssockaddr_dl:,0,32;__sockaddr_eon__:(61,13)=*(61,14)=xssockaddr_eon:,0,32;__sockaddr_in__:(61,15)=*(61,16)=xssockaddr_in:,0,32;__sockaddr_in6__:(61,17)=*(61,18)=xssockaddr_in6:,0,32;__sockaddr_inarp__:(61,19)=*(61,20)=xssockaddr_inarp:,0,32;__sockaddr_ipx__:(61,21)=*(61,22)=xssockaddr_ipx:,0,32;__sockaddr_iso__:(61,23)=*(61,24)=xssockaddr_iso:,0,32;__sockaddr_ns__:(61,25)=*(61,26)=xssockaddr_ns:,0,32;__sockaddr_un__:(61,27)=*(61,28)=xssockaddr_un:,0,32;__sockaddr_x25__:(61,29)=*(61,30)=xssockaddr_x25:,0,32;;__CONST_SOCKADDR_ARG:t(61,31)=(61,32)=u4__sockaddr__:(61,33)=*(64,3),0,32;__sockaddr_at__:(61,34)=*(61,8),0,32;__sockaddr_ax25__:(61,35)=*(61,10),0,32;__sockaddr_dl__:(61,36)=*(61,12),0,32;__sockaddr_eon__:(61,37)=*(61,14),0,32;__sockaddr_in__:(61,38)=*(61,16),0,32;__sockaddr_in6__:(61,39)=*(61,18),0,32;__sockaddr_inarp__:(61,40)=*(61,20),0,32;__sockaddr_ipx__:(61,41)=*(61,22),0,32;__sockaddr_iso__:(61,42)=*(61,24),0,32;__sockaddr_ns__:(61,43)=*(61,26),0,32;__sockaddr_un__:(61,44)=*(61,28),0,32;__sockaddr_x25__:(61,45)=*(61,30),0,32;;/usr/include/netdb.h/usr/include/rpc/netdb.hrpcent:T(81,1)=s12r_name:(7,36),0,32;r_aliases:(81,2)=*(7,36),32,32;r_number:(0,1),64,32;;uint32_t:t(79,1)=(0,4)/usr/include/bits/netdb.hnetent:T(86,1)=s16n_name:(7,36),0,32;n_aliases:(81,2),32,32;n_addrtype:(0,1),64,32;n_net:(79,1),96,32;;hostent:T(79,2)=s20h_name:(7,36),0,32;h_aliases:(81,2),32,32;h_addrtype:(0,1),64,32;h_length:(64,1),96,32;h_addr_list:(81,2),128,32;;servent:T(79,3)=s16s_name:(7,36),0,32;s_aliases:(81,2),32,32;s_port:(0,1),64,32;s_proto:(7,36),96,32;;protoent:T(79,4)=s12p_name:(7,36),0,32;p_aliases:(81,2),32,32;p_proto:(0,1),64,32;;addrinfo:T(79,5)=s32ai_flags:(0,1),0,32;ai_family:(0,1),32,32;ai_socktype:(0,1),64,32;ai_protocol:(0,1),96,32;ai_addrlen:(64,1),128,32;ai_addr:(61,6),160,32;ai_canonname:(7,36),192,32;ai_next:(79,6)=*(79,5),224,32;;/usr/include/netinet/in.h/usr/include/stdint.h/usr/include/bits/wordsize.huint8_t:t(90,1)=(0,11)uint16_t:t(90,2)=(0,9)uint64_t:t(90,3)=(0,7)int_least8_t:t(90,4)=(0,10)int_least16_t:t(90,5)=(0,8)int_least32_t:t(90,6)=(0,1)int_least64_t:t(90,7)=(0,6)uint_least8_t:t(90,8)=(0,11)uint_least16_t:t(90,9)=(0,9)uint_least32_t:t(90,10)=(0,4)uint_least64_t:t(90,11)=(0,7)int_fast8_t:t(90,12)=(0,10)int_fast16_t:t(90,13)=(0,1)int_fast32_t:t(90,14)=(0,1)int_fast64_t:t(90,15)=(0,6)uint_fast8_t:t(90,16)=(0,11)uint_fast16_t:t(90,17)=(0,4)uint_fast32_t:t(90,18)=(0,4)uint_fast64_t:t(90,19)=(0,7)intptr_t:t(90,20)=(0,1)uintptr_t:t(90,21)=(0,4)intmax_t:t(90,22)=(0,6)uintmax_t:t(90,23)=(0,7) :T(87,1)=eIPPROTO_IP:0,IPPROTO_HOPOPTS:0,IPPROTO_ICMP:1,IPPROTO_IGMP:2,IPPROTO_IPIP:4,IPPROTO_TCP:6,IPPROTO_EGP:8,IPPROTO_PUP:12,IPPROTO_UDP:17,IPPROTO_IDP:22,IPPROTO_TP:29,IPPROTO_IPV6:41,IPPROTO_ROUTING:43,IPPROTO_FRAGMENT:44,IPPROTO_RSVP:46,IPPROTO_GRE:47,IPPROTO_ESP:50,IPPROTO_AH:51,IPPROTO_ICMPV6:58,IPPROTO_NONE:59,IPPROTO_DSTOPTS:60,IPPROTO_MTP:92,IPPROTO_ENCAP:98,IPPROTO_PIM:103,IPPROTO_COMP:108,IPPROTO_RAW:255,IPPROTO_MAX:256,;in_port_t:t(87,2)=(90,2) :T(87,3)=eIPPORT_ECHO:7,IPPORT_DISCARD:9,IPPORT_SYSTAT:11,IPPORT_DAYTIME:13,IPPORT_NETSTAT:15,IPPORT_FTP:21,IPPORT_TELNET:23,IPPORT_SMTP:25,IPPORT_TIMESERVER:37,IPPORT_NAMESERVER:42,IPPORT_WHOIS:43,IPPORT_MTP:57,IPPORT_TFTP:69,IPPORT_RJE:77,IPPORT_FINGER:79,IPPORT_TTYLINK:87,IPPORT_SUPDUP:95,IPPORT_EXECSERVER:512,IPPORT_LOGINSERVER:513,IPPORT_CMDSERVER:514,IPPORT_EFSSERVER:520,IPPORT_BIFFUDP:512,IPPORT_WHOSERVER:513,IPPORT_ROUTESERVER:520,IPPORT_RESERVED:1024,IPPORT_USERRESERVED:5000,;in_addr_t:t(87,4)=(79,1)in_addr:T(87,5)=s4s_addr:(87,4),0,32;;in6_addr:T(87,6)=s16in6_u:(87,7)=u16u6_addr8:(87,8)=ar(7,33);0;15;(90,1),0,128;u6_addr16:(87,9)=ar(7,33);0;7;(90,2),0,128;u6_addr32:(87,10)=ar(7,33);0;3;(79,1),0,128;;,0,128;;sockaddr_in:T(61,16)=s16sin_family:(76,1),0,16;sin_port:(87,2),16,16;sin_addr:(87,5),32,32;sin_zero:(87,11)=ar(7,33);0;7;(0,11),64,64;;sockaddr_in6:T(61,18)=s28sin6_family:(76,1),0,16;sin6_port:(87,2),16,16;sin6_flowinfo:(79,1),32,32;sin6_addr:(87,6),64,128;sin6_scope_id:(79,1),192,32;;ipv6_mreq:T(87,12)=s20ipv6mr_multiaddr:(87,6),0,128;ipv6mr_interface:(0,4),128,32;;/usr/include/bits/in.hip_opts:T(97,1)=s44ip_dst:(87,5),0,32;ip_opts:(97,2)=ar(7,33);0;39;(0,2),32,320;;ip_mreq:T(97,3)=s8imr_multiaddr:(87,5),0,32;imr_interface:(87,5),32,32;;ip_mreqn:T(97,4)=s12imr_multiaddr:(87,5),0,32;imr_address:(87,5),32,32;imr_ifindex:(0,1),64,32;;in_pktinfo:T(97,5)=s12ipi_ifindex:(0,1),0,32;ipi_spec_dst:(87,5),32,32;ipi_addr:(87,5),64,32;;/usr/include/bits/byteswap.hin6_pktinfo:T(87,13)=s20ipi6_addr:(87,6),0,128;ipi6_ifindex:(0,4),128,32;;/usr/include/netinet/tcp.htcphdr:T(100,1)=s20source:(29,29),0,16;dest:(29,29),16,16;seq:(29,30),32,32;ack_seq:(29,30),64,32;res1:(29,29),96,4;doff:(29,29),100,4;fin:(29,29),104,1;syn:(29,29),105,1;rst:(29,29),106,1;psh:(29,29),107,1;ack:(29,29),108,1;urg:(29,29),109,1;res2:(29,29),110,2;window:(29,29),112,16;check:(29,29),128,16;urg_ptr:(29,29),144,16;; :T(100,2)=eTCP_ESTABLISHED:1,TCP_SYN_SENT:2,TCP_SYN_RECV:3,TCP_FIN_WAIT1:4,TCP_FIN_WAIT2:5,TCP_TIME_WAIT:6,TCP_CLOSE:7,TCP_CLOSE_WAIT:8,TCP_LAST_ACK:9,TCP_LISTEN:10,TCP_CLOSING:11,;/usr/include/sys/time.h/usr/include/bits/time.hclock_t:t(106,1)=(7,41)tm:T(106,2)=s44tm_sec:(0,1),0,32;tm_min:(0,1),32,32;tm_hour:(0,1),64,32;tm_mday:(0,1),96,32;tm_mon:(0,1),128,32;tm_year:(0,1),160,32;tm_wday:(0,1),192,32;tm_yday:(0,1),224,32;tm_isdst:(0,1),256,32;tm_gmtoff:(0,3),288,32;tm_zone:(18,32),320,32;;itimerspec:T(106,3)=s16it_interval:(45,1),0,64;it_value:(45,1),64,64;;timeval:T(112,1)=s8tv_sec:(7,37),0,32;tv_usec:(7,39),32,32;;suseconds_t:t(104,1)=(7,39)timezone:T(104,2)=s8tz_minuteswest:(0,1),0,32;tz_dsttime:(0,1),32,32;;__timezone_ptr_t:t(104,3)=(104,4)=*(104,2)__itimer_which:T(104,5)=eITIMER_REAL:0,ITIMER_VIRTUAL:1,ITIMER_PROF:2,;itimerval:T(104,6)=s16it_interval:(112,1),0,64;it_value:(112,1),64,64;;__itimer_which_t:t(104,7)=(0,1)/usr/include/unistd.h/usr/include/bits/posix_opt.h/usr/include/bits/confname.h :T(119,1)=e_PC_LINK_MAX:0,_PC_MAX_CANON:1,_PC_MAX_INPUT:2,_PC_NAME_MAX:3,_PC_PATH_MAX:4,_PC_PIPE_BUF:5,_PC_CHOWN_RESTRICTED:6,_PC_NO_TRUNC:7,_PC_VDISABLE:8,_PC_SYNC_IO:9,_PC_ASYNC_IO:10,_PC_PRIO_IO:11,_PC_SOCK_MAXBUF:12,_PC_FILESIZEBITS:13,; :T(119,2)=e_SC_ARG_MAX:0,_SC_CHILD_MAX:1,_SC_CLK_TCK:2,_SC_NGROUPS_MAX:3,_SC_OPEN_MAX:4,_SC_STREAM_MAX:5,_SC_TZNAME_MAX:6,_SC_JOB_CONTROL:7,_SC_SAVED_IDS:8,_SC_REALTIME_SIGNALS:9,_SC_PRIORITY_SCHEDULING:10,_SC_TIMERS:11,_SC_ASYNCHRONOUS_IO:12,_SC_PRIORITIZED_IO:13,_SC_SYNCHRONIZED_IO:14,_SC_FSYNC:15,_SC_MAPPED_FILES:16,_SC_MEMLOCK:17,_SC_MEMLOCK_RANGE:18,_SC_MEMORY_PROTECTION:19,_SC_MESSAGE_PASSING:20,_SC_SEMAPHORES:21,_SC_SHARED_MEMORY_OBJECTS:22,_SC_AIO_LISTIO_MAX:23,_SC_AIO_MAX:24,_SC_AIO_PRIO_DELTA_MAX:25,_SC_DELAYTIMER_MAX:26,_SC_MQ_OPEN_MAX:27,_SC_MQ_PRIO_MAX:28,_SC_VERSION:29,_SC_PAGESIZE:30,_SC_RTSIG_MAX:31,_SC_SEM_NSEMS_MAX:32,_SC_SEM_VALUE_MAX:33,_SC_SIGQUEUE_MAX:34,_SC_TIMER_MAX:35,_SC_BC_BASE_MAX:36,_SC_BC_DIM_MAX:37,_SC_BC_SCALE_MAX:38,_SC_BC_STRING_MAX:39,_SC_COLL_WEIGHTS_MAX:40,_SC_EQUIV_CLASS_MAX:41,_SC_EXPR_NEST_MAX:42,_SC_LINE_MAX:43,_SC_RE_DUP_MAX:44,_SC_CHARCLASS_NAME_MAX:45,_SC_2_VERSION:46,_SC_2_C_BIND:47,_SC_2_C_DEV:48,_SC_2_FORT_DEV:49,_SC_2_FORT_RUN:50,_SC_2_SW_DEV:51,_SC_2_LOCALEDEF:52,_SC_PII:53,_SC_PII_XTI:54,_SC_PII_SOCKET:55,_SC_PII_INTERNET:56,_SC_PII_OSI:57,_SC_POLL:58,_SC_SELECT:59,_SC_UIO_MAXIOV:60,_SC_PII_INTERNET_STREAM:61,_SC_PII_INTERNET_DGRAM:62,_SC_PII_OSI_COTS:63,_SC_PII_OSI_CLTS:64,_SC_PII_OSI_M:65,_SC_T_IOV_MAX:66,_SC_THREADS:67,_SC_THREAD_SAFE_FUNCTIONS:68,_SC_GETGR_R_SIZE_MAX:69,_SC_GETPW_R_SIZE_MAX:70,_SC_LOGIN_NAME_MAX:71,_SC_TTY_NAME_MAX:72,_SC_THREAD_DESTRUCTOR_ITERATIONS:73,_SC_THREAD_KEYS_MAX:74,_SC_THREAD_STACK_MIN:75,_SC_THREAD_THREADS_MAX:76,_SC_THREAD_ATTR_STACKADDR:77,_SC_THREAD_ATTR_STACKSIZE:78,_SC_THREAD_PRIORITY_SCHEDULING:79,_SC_THREAD_PRIO_INHERIT:80,_SC_THREAD_PRIO_PROTECT:81,_SC_THREAD_PROCESS_SHARED:82,_SC_NPROCESSORS_CONF:83,_SC_NPROCESSORS_ONLN:84,_SC_PHYS_PAGES:85,_SC_AVPHYS_PAGES:86,_SC_ATEXIT_MAX:87,_SC_PASS_MAX:88,_SC_XOPEN_VERSION:89,_SC_XOPEN_XCU_VERSION:90,_SC_XOPEN_UNIX:91,_SC_XOPEN_CRYPT:92,_SC_XOPEN_ENH_I18N:93,_SC_XOPEN_SHM:94,_SC_2_CHAR_TERM:95,_SC_2_C_VERSION:96,_SC_2_UPE:97,_SC_XOPEN_XPG2:98,_SC_XOPEN_XPG3:99,_SC_XOPEN_XPG4:100,_SC_CHAR_BIT:101,_SC_CHAR_MAX:102,_SC_CHAR_MIN:103,_SC_INT_MAX:104,_SC_INT_MIN:105,_SC_LONG_BIT:106,_SC_WORD_BIT:107,_SC_MB_LEN_MAX:108,_SC_NZERO:109,_SC_SSIZE_MAX:110,_SC_SCHAR_MAX:111,_SC_SCHAR_MIN:112,_SC_SHRT_MAX:113,_SC_SHRT_MIN:114,_SC_UCHAR_MAX:115,_SC_UINT_MAX:116,_SC_ULONG_MAX:117,_SC_USHRT_MAX:118,_SC_NL_ARGMAX:119,_SC_NL_LANGMAX:120,_SC_NL_MSGMAX:121,_SC_NL_NMAX:122,_SC_NL_SETMAX:123,_SC_NL_TEXTMAX:124,_SC_XBS5_ILP32_OFF32:125,_SC_XBS5_ILP32_OFFBIG:126,_SC_XBS5_LP64_OFF64:127,_SC_XBS5_LPBIG_OFFBIG:128,_SC_XOPEN_LEGACY:129,_SC_XOPEN_REALTIME:130,_SC_XOPEN_REALTIME_THREADS:131,_SC_ADVISORY_INFO:132,_SC_BARRIERS:133,_SC_BASE:134,_SC_C_LANG_SUPPORT:135,_SC_C_LANG_SUPPORT_R:136,_SC_CLOCK_SELECTION:137,_SC_CPUTIME:138,_SC_THREAD_CPUTIME:139,_SC_DEVICE_IO:140,_SC_DEVICE_SPECIFIC:141,_SC_DEVICE_SPECIFIC_R:142,_SC_FD_MGMT:143,_SC_FIFO:144,_SC_PIPE:145,_SC_FILE_ATTRIBUTES:146,_SC_FILE_LOCKING:147,_SC_FILE_SYSTEM:148,_SC_MONOTONIC_CLOCK:149,_SC_MULTIPLE_PROCESS:150,_SC_SINGLE_PROCESS:151,_SC_NETWORKING:152,_SC_READER_WRITER_LOCKS:153,_SC_SPIN_LOCKS:154,_SC_REGEXP:155,_SC_REGEX_VERSION:156,_SC_SHELL:157,_SC_SIGNALS:158,_SC_SPAWN:159,_SC_SPORADIC_SERVER:160,_SC_THREAD_SPORADIC_SERVER:161,_SC_SYSTEM_DATABASE:162,_SC_SYSTEM_DATABASE_R:163,_SC_TIMEOUTS:164,_SC_TYPED_MEMORY_OBJECTS:165,_SC_USER_GROUPS:166,_SC_USER_GROUPS_R:167,_SC_PBS:168,_SC_PBS_ACCOUNTING:169,_SC_PBS_LOCATE:170,_SC_PBS_MESSAGE:171,_SC_PBS_TRACK:172,_SC_SYMLOOP:173,; :T(119,3)=e_CS_PATH:0,;/usr/include/getopt.h/usr/include/signal.hsig_atomic_t:t(121,1)=(44,1)sigset_t:t(121,2)=(44,2)/usr/include/bits/signum.h__sighandler_t:t(121,3)=(121,4)=*(121,5)=f(0,20)sig_t:t(121,6)=(121,3)/usr/include/bits/siginfo.hsigval:T(127,1)=u4sival_int:(0,1),0,32;sival_ptr:(0,19),0,32;;sigval_t:t(127,2)=(127,1)siginfo:T(127,3)=s128si_signo:(0,1),0,32;si_errno:(0,1),32,32;si_code:(0,1),64,32;_sifields:(127,4)=u116_pad:(127,5)=ar(7,33);0;28;(0,1),0,928;_kill:(127,6)=s8si_pid:(7,25),0,32;si_uid:(7,18),32,32;;,0,64;_timer:(127,7)=s8_timer1:(0,4),0,32;_timer2:(0,4),32,32;;,0,64;_rt:(127,8)=s12si_pid:(7,25),0,32;si_uid:(7,18),32,32;si_sigval:(127,2),64,32;;,0,96;_sigchld:(127,9)=s20si_pid:(7,25),0,32;si_uid:(7,18),32,32;si_status:(0,1),64,32;si_utime:(7,41),96,32;si_stime:(7,41),128,32;;,0,160;_sigfault:(127,10)=s4si_addr:(0,19),0,32;;,0,32;_sigpoll:(127,11)=s8si_band:(0,3),0,32;si_fd:(0,1),32,32;;,0,64;;,96,928;;siginfo_t:t(127,12)=(127,3) :T(127,13)=eSI_SIGIO:-5,SI_ASYNCIO:-4,SI_MESGQ:-3,SI_TIMER:-2,SI_QUEUE:-1,SI_USER:0,SI_KERNEL:128,; :T(127,14)=eILL_ILLOPC:1,ILL_ILLOPN:2,ILL_ILLADR:3,ILL_ILLTRP:4,ILL_PRVOPC:5,ILL_PRVREG:6,ILL_COPROC:7,ILL_BADSTK:8,; :T(127,15)=eFPE_INTDIV:1,FPE_INTOVF:2,FPE_FLTDIV:3,FPE_FLTOVF:4,FPE_FLTUND:5,FPE_FLTRES:6,FPE_FLTINV:7,FPE_FLTSUB:8,; :T(127,16)=eSEGV_MAPERR:1,SEGV_ACCERR:2,; :T(127,17)=eBUS_ADRALN:1,BUS_ADRERR:2,BUS_OBJERR:3,; :T(127,18)=eTRAP_BRKPT:1,TRAP_TRACE:2,; :T(127,19)=eCLD_EXITED:1,CLD_KILLED:2,CLD_DUMPED:3,CLD_TRAPPED:4,CLD_STOPPED:5,CLD_CONTINUED:6,; :T(127,20)=ePOLL_IN:1,POLL_OUT:2,POLL_MSG:3,POLL_ERR:4,POLL_PRI:5,POLL_HUP:6,;sigevent:T(127,21)=s64sigev_value:(127,2),0,32;sigev_signo:(0,1),32,32;sigev_notify:(0,1),64,32;_sigev_un:(127,22)=u52_pad:(127,23)=ar(7,33);0;12;(0,1),0,416;_sigev_thread:(127,24)=s8_function:(127,25)=*(127,26)=f(0,20),0,32;_attribute:(0,19),32,32;;,0,64;;,96,416;;sigevent_t:t(127,27)=(127,21) :T(127,28)=eSIGEV_SIGNAL:0,SIGEV_NONE:1,SIGEV_THREAD:2,;/usr/include/bits/sigaction.hsigaction:T(129,1)=s140__sigaction_handler:(129,2)=u4sa_handler:(121,3),0,32;sa_sigaction:(129,3)=*(129,4)=f(0,20),0,32;;,0,32;sa_mask:(44,2),32,1024;sa_flags:(0,1),1056,32;sa_restorer:(129,5)=*(129,6)=f(0,20),1088,32;;sigvec:T(121,7)=s12sv_handler:(121,3),0,32;sv_mask:(0,1),32,32;sv_flags:(0,1),64,32;;/usr/include/bits/sigcontext.h/usr/include/asm/sigcontext.h_fpreg:T(131,1)=s10significand:(131,2)=ar(7,33);0;3;(0,9),0,64;exponent:(0,9),64,16;;_fpxreg:T(131,3)=s16significand:(131,2),0,64;exponent:(0,9),64,16;padding:(26,8),80,48;;_xmmreg:T(131,4)=s16element:(131,5)=ar(7,33);0;3;(0,5),0,128;;_fpstate:T(131,6)=s624cw:(0,5),0,32;sw:(0,5),32,32;tag:(0,5),64,32;ipoff:(0,5),96,32;cssel:(0,5),128,32;dataoff:(0,5),160,32;datasel:(0,5),192,32;_st:(131,7)=ar(7,33);0;7;(131,1),224,640;status:(0,9),864,16;magic:(0,9),880,16;_fxsr_env:(131,8)=ar(7,33);0;5;(0,5),896,192;mxcsr:(0,5),1088,32;reserved:(0,5),1120,32;_fxsr_st:(131,9)=ar(7,33);0;7;(131,3),1152,1024;_xmm:(131,10)=ar(7,33);0;7;(131,4),2176,1024;padding:(131,11)=ar(7,33);0;55;(0,5),3200,1792;;sigcontext:T(131,12)=s88gs:(0,9),0,16;__gsh:(0,9),16,16;fs:(0,9),32,16;__fsh:(0,9),48,16;es:(0,9),64,16;__esh:(0,9),80,16;ds:(0,9),96,16;__dsh:(0,9),112,16;edi:(0,5),128,32;esi:(0,5),160,32;ebp:(0,5),192,32;esp:(0,5),224,32;ebx:(0,5),256,32;edx:(0,5),288,32;ecx:(0,5),320,32;eax:(0,5),352,32;trapno:(0,5),384,32;err:(0,5),416,32;eip:(0,5),448,32;cs:(0,9),480,16;__csh:(0,9),496,16;eflags:(0,5),512,32;esp_at_signal:(0,5),544,32;ss:(0,9),576,16;__ssh:(0,9),592,16;fpstate:(131,13)=*(131,6),608,32;oldmask:(0,5),640,32;cr2:(0,5),672,32;;/usr/include/bits/sigstack.hsigstack:T(132,1)=s8ss_sp:(0,19),0,32;ss_onstack:(0,1),32,32;; :T(132,2)=eSS_ONSTACK:1,SS_DISABLE:2,;sigaltstack:T(132,3)=s12ss_sp:(0,19),0,32;ss_flags:(0,1),32,32;ss_size:(5,1),64,32;;stack_t:t(132,4)=(132,3)/usr/include/bits/sigthread.h/usr/include/sys/stat.h/usr/include/bits/stat.hstat:T(138,1)=s88st_dev:(7,17),0,64;__pad1:(0,9),64,16;st_ino:(7,20),96,32;st_mode:(7,21),128,32;st_nlink:(7,22),160,32;st_uid:(7,18),192,32;st_gid:(7,19),224,32;st_rdev:(7,17),256,64;__pad2:(0,9),320,16;st_size:(7,23),352,32;st_blksize:(7,50),384,32;st_blocks:(7,51),416,32;st_atime:(7,37),448,32;__unused1:(0,5),480,32;st_mtime:(7,37),512,32;__unused2:(0,5),544,32;st_ctime:(7,37),576,32;__unused3:(0,5),608,32;__unused4:(0,5),640,32;__unused5:(0,5),672,32;;/usr/include/sys/ioctl.h/usr/include/bits/ioctls.h/usr/include/asm/ioctls.h/usr/include/asm/ioctl.h/usr/include/bits/ioctl-types.hwinsize:T(144,1)=s8ws_row:(0,9),0,16;ws_col:(0,9),16,16;ws_xpixel:(0,9),32,16;ws_ypixel:(0,9),48,16;;termio:T(144,2)=s18c_iflag:(0,9),0,16;c_oflag:(0,9),16,16;c_cflag:(0,9),32,16;c_lflag:(0,9),48,16;c_line:(0,11),64,8;c_cc:(87,11),72,64;;/usr/include/sys/ttydefaults.h/usr/include/fcntl.h/usr/include/bits/fcntl.hflock:T(149,1)=s16l_type:(0,8),0,16;l_whence:(0,8),16,16;l_start:(7,23),32,32;l_len:(7,23),64,32;l_pid:(7,25),96,32;;/usr/include/errno.h/usr/include/bits/errno.h/usr/include/linux/errno.h/usr/include/asm/errno.hvapi_write_stream:f(0,1)fd:p(0,1)buf:p(0,19)len:p(0,1)len:r(0,1)n:r(0,1)w_buf:r(7,36)block:(58,1)vapi_read_stream:f(0,1)r_buf:r(7,36)write_packet:f(0,1)id:p(0,5)data:p(0,5)read_packet:f(0,1)id:p(0,21)=*(0,5)data:p(0,21)id:r(0,21)data:r(0,21)connect_to_server:f(0,1)hostname:p(7,36)name:p(7,36)name:r(7,36)host:r(0,22)=*(79,2)sin:(61,16)service:r(0,23)=*(79,3)protocol:(0,24)=*(79,4)sock:r(0,1)flags:(0,1)sTemp:(0,25)=ar(7,33);0;255;(0,2)sTemp2:(0,25)proto_name:r(7,36)port:r(0,1)on_off:(0,1)s:(7,36)vapi_init:F(0,1)port_name:p(7,36)port:r(7,36)hostname:(0,25)vapi_done:F(0,20)linger:(64,15)sTemp:(0,25)vapi_write:F(0,20)data:r(0,5)vapi_read:F(0,5)id:(0,5)data:(0,5)vapi_waiting:F(0,1)fds:(0,26)=ar(7,33);0;0;(58,1)main:F(0,1)argc:p(0,1)argv:p(81,2)argv:r(81,2)vapi_fd:G(0,1)vapi_id:G(0,5)uart.cfail:F(0,20)func:p(0,21)=*(0,2)line:p(0,1)recv_char:F(0,20)c:p(0,1)c:(0,2)tmp:r(0,5)send_char:F(0,20)read_string:F(0,21)s:p(0,21)t:r(0,21)compare_string:F(0,20)s:r(0,21)send_string:F(0,20)init_8n1:F(0,20)test_registers:F(0,20)send_recv_test:F(0,20)break_test:F(0,20)r:r(0,5)test_mode:F(0,20)nbits:p(0,1)nbits:r(0,1)mask:r(0,4)different_modes_test:F(0,20)speed:r(0,1)length:r(0,1)parity:r(0,1)interrupt_test:F(0,20)control_register_test:F(0,20)line_error_test:F(0,20)vapi_main:F(0,1)str:G(0,22)=ar(0,23)=r(0,23);0000000000000;0037777777777;;0;4999;(0,2)control:G(0,1)control_rx:G(0,1)GCC: (GNU) 2.96 20000731 (experimental)GCC: (GNU) 2.96 20000731 (experimental)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-81)GCC: (GNU) 2.96 20000731 (experimental)01.0101.0101.0101.0101.0101.0101.01.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.got.rel.bss.rel.plt.init.plt.text.fini.rodata.data.eh_frame.ctors.dtors.got.dynamic.sbss.bss.stab.stabstr.comment.noteô€ô# 1((Ø7 ‚0?0„0~Gÿÿÿo®…®FTþÿÿoô…ô0c $†$l ,†,u 4†4ø ~,‡,/„\‡\‰`‰` `Ÿ`•€Ÿ€­ 0´0$£@´@$­D´D$´L´L$»T´T$ŒÀà´à$ É€µ€%Ï€µ€%è Ô€%ä? Úde€ãlåSì¿æŒKçòí@ ¨õ¼ô€(‚0„®…ô…$†,† 4† +,‡ \‡ `‰ +`Ÿ€Ÿ0´@´D´L´T´à´€µ€µñÿ „‰ +ñÿ"ñÿ ‰ +-8´1L´?<´K‰ +a@´tð‰ +„µˆŠ +”0Š +Ÿ@´­D´"ñÿ Ÿ +» Ÿ +ÑH´”PŸ +Ÿ@´ÞP´ë@´ñÿ `Ÿ +ùñÿ@Š¢ +䊒 +#x‹g +0à‹h +<HŒÞ +NñÿUX“& +Z(” +d0•4 +pÀµxl‡gŠôž# +”à´|‡"¾Œ‡@Ïœ‡B߬‡:ð÷¼‡v ̇-t– +'œµ/܇RH€‘” +Rì‡1f4´sü‡,‡ •H”y +¡€“¦ +« ˆ¬"Î8‘E +Ùĵ䀵öˆ= ,ˆB& µ.`‰ +5( +?Ä”i +N<ˆák’j +x¼•¶ +‡LˆÄšd•2 +£€µñÿ¯˜•# +¾€’Õ +Ã\ˆààlˆªò0´ ý|ˆ2`ŸŒˆ;&œˆ)8¬ˆ‘"T¼ˆ¨m¤›R +|̈Œø” +¢܈-´€µñÿ»ˆ™G +ÅT´ÛhÉñÿàൈäìˆ=÷üˆœ +„Ÿ ‰-,Œže +<0´I‰éZ,‰=l(þ +v<‰@†ЙÓ +› ªL‰0initfini.cgcc2_compiled.init.ccrtstuff.cp.0__DTOR_LIST__completed.1__do_global_dtors_aux__EH_FRAME_BEGIN__fini_dummyobject.2frame_dummyinit_dummyforce_to_data__CTOR_LIST____do_global_ctors_aux__CTOR_END____DTOR_END____FRAME_END__vapi.cvapi_write_streamvapi_read_streamwrite_packetread_packetconnect_to_serveruart.cfailsend_charsend_stringcontrolstrchr@@GLIBC_2.0vapi_main_DYNAMIC__register_frame_info@@GLIBC_2.0write@@GLIBC_2.0poll@@GLIBC_2.0close@@GLIBC_2.0_fp_hwperror@@GLIBC_2.0fprintf@@GLIBC_2.0break_testvapi_idgetservbyname@@GLIBC_2.0vapi_readstrerror@@GLIBC_2.0__dso_handle__errno_location@@GLIBC_2.0_initread_stringrecv_char__deregister_frame_info@@GLIBC_2.0vapi_writecontrol_rxstderr@@GLIBC_2.0setsockopt@@GLIBC_2.0getprotobyname@@GLIBC_2.0vapi_fd_startvapi_donecompare_string__strtol_internal@@GLIBC_2.0vapi_waitingsend_recv_teststrncmp@@GLIBC_2.0init_8n1__bss_starttest_registersmain__libc_start_main@@GLIBC_2.0strcat@@GLIBC_2.0data_startprintf@@GLIBC_2.0_finifcntl@@GLIBC_2.0memcpy@@GLIBC_2.0__cxa_finalize@@GLIBC_2.1.3gethostbyname@@GLIBC_2.0interrupt_testexit@@GLIBC_2.0control_register_testsscanf@@GLIBC_2.0_edatatest_mode_GLOBAL_OFFSET_TABLE__endstrconnect@@GLIBC_2.0strncpy@@GLIBC_2.0_IO_stdin_usedsprintf@@GLIBC_2.0line_error_test__data_starterror@@GLIBC_2.0socket@@GLIBC_2.0vapi_initread@@GLIBC_2.0different_modes_test__gmon_start__strcpy@@GLIBC_2.0 \ No newline at end of file
vapi/tags/initial/uart Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: vapi/tags/initial/Makefile =================================================================== --- vapi/tags/initial/Makefile (nonexistent) +++ vapi/tags/initial/Makefile (revision 13) @@ -0,0 +1,353 @@ +# Generated automatically from Makefile.in by configure. +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = . +prefix = /usr/local +exec_prefix = ${prefix} + +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 +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/vapi +pkglibdir = $(libdir)/vapi +pkgincludedir = $(includedir)/vapi + +top_builddir = . + +ACLOCAL = aclocal +AUTOCONF = autoconf +AUTOMAKE = automake +AUTOHEADER = autoheader + +INSTALL = /usr/bin//install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL_PROGRAM} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = gcc +MAKEINFO = makeinfo +PACKAGE = vapi +VERSION = 1.1 + +bin_PROGRAMS = uart + +uart_SOURCES = vapi.c vapi.h uart.c +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = -DPACKAGE=\"vapi\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -I. -I$(srcdir) +CPPFLAGS = +LDFLAGS = +LIBS = +uart_OBJECTS = vapi.o uart.o +uart_LDADD = $(LDADD) +uart_DEPENDENCIES = +uart_LDFLAGS = +CFLAGS = -g -O2 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = COPYING INSTALL Makefile.am Makefile.in aclocal.m4 \ +config.guess config.sub configure configure.in install-sh missing \ +mkinstalldirs + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/uart.P .deps/vapi.P +SOURCES = $(uart_SOURCES) +OBJECTS = $(uart_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +uart: $(uart_OBJECTS) $(uart_DEPENDENCIES) + @rm -f uart + $(LINK) $(uart_LDFLAGS) $(uart_OBJECTS) $(uart_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(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 + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ + clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ + distclean-depend distclean-generic clean-am + +distclean: distclean-am + -rm -f config.status + +maintainer-clean-am: maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + -rm -f config.status + +.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: Index: vapi/tags/initial/aclocal.m4 =================================================================== --- vapi/tags/initial/aclocal.m4 (nonexistent) +++ vapi/tags/initial/aclocal.m4 (revision 13) @@ -0,0 +1,104 @@ +dnl aclocal.m4 generated automatically by aclocal 1.4 + +dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. + +# Do all the work for Automake. 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. + +# serial 1 + +dnl Usage: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) + +AC_DEFUN(AM_INIT_AUTOMAKE, +[AC_REQUIRE([AC_PROG_INSTALL]) +PACKAGE=[$1] +AC_SUBST(PACKAGE) +VERSION=[$2] +AC_SUBST(VERSION) +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 +ifelse([$3],, +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) +AC_REQUIRE([AM_SANITY_CHECK]) +AC_REQUIRE([AC_ARG_PROGRAM]) +dnl FIXME This is truly gross. +missing_dir=`cd $ac_aux_dir && pwd` +AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) +AC_REQUIRE([AC_PROG_MAKE_SET])]) + +# +# Check to make sure that the build environment is sane. +# + +AC_DEFUN(AM_SANITY_CHECK, +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftestfile +# 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 conftestfile 2> /dev/null` + if test "[$]*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "[$]*" != "X $srcdir/configure conftestfile" \ + && test "[$]*" != "X conftestfile $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" = conftestfile + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +rm -f conftest* +AC_MSG_RESULT(yes)]) + +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) +dnl The program must properly implement --version. +AC_DEFUN(AM_MISSING_PROG, +[AC_MSG_CHECKING(for working $2) +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if ($2 --version) < /dev/null > /dev/null 2>&1; then + $1=$2 + AC_MSG_RESULT(found) +else + $1="$3/missing $2" + AC_MSG_RESULT(missing) +fi +AC_SUBST($1)]) + Index: vapi/tags =================================================================== --- vapi/tags (nonexistent) +++ vapi/tags (revision 13)
vapi/tags Property changes : Added: svn:mergeinfo ## -0,0 +0,0 ##

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.