
			;   autoinit if you ever reference MathIeeeDoubBasBase
			;
			;   (c)Copyright 1990, Matthew Dillon, All Rights Reserved
			;
			;   can't use pc-relative between different code sections
			;   and cannot put string in autoinit section!

			xdef	_MathIeeeDoubTransBase
			xref	_MathIeeeDoubBasBase
			xref	__AutoFail0

_LVOOpenLibrary 	equ	-552
_LVOCloseLibrary	equ	-414

			section autoinit0,code

			moveq.l #0,D0
			lea	ieeetranname(pc),A1
			jsr	_LVOOpenLibrary(A6)
			move.l	D0,_MathIeeeDoubTransBase(A4)
			beq	__AutoFail0
			move.l	_MathIeeeDoubBasBase(A4),D0 ; DUMMY REFERENCE
			bra	i10
ieeetranname		dc.b	'mathieeedoubtrans.library',0
			ds.w	0

i10

			section autoexit0,code

			move.l	_MathIeeeDoubTransBase(A4),D0
			beq	l10
			move.l	D0,A1
			jsr	_LVOCloseLibrary(A6)
l10


			section libbss,bss

_MathIeeeDoubTransBase	ds.l	1

			END

