From f4baf2ecfea36a23ef55b40b25cdd9ded722a2bf Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 23 Jul 2008 22:13:41 +0000 Subject: Remove obsolete files. --- itcl/itk/doc/itkwish.1 | 55 - itcl/itk/mac/MW_ItkHeader.pch | 73 - itcl/itk/mac/itkMacApplication.r | 1676 -------------- itcl/itk/mac/itkMacLibrary.r | 94 - itcl/itk/mac/itkMacResource.r | 1376 ------------ itcl/itk/mac/itkMacTclCode.r | 29 - itcl/itk/mac/itkStaticApplication.r | 29 - itcl/itk/mac/pkgIndex.tcl | 3 - itcl/itk/mac/tclIndex | 11 - itcl/itk/mac/tkMacAppInit.c | 418 ---- itcl/itk/pkgIndex.tcl | 3 - itcl/itk/unix/tkAppInit.c | 151 -- itcl/itk/win/Makefile.in | 433 ---- itcl/itk/win/Makefile.in_first | 277 --- itcl/itk/win/configure | 4120 ----------------------------------- itcl/itk/win/configure.in | 630 ------ itcl/itk/win/pkgIndex.tcl | 3 - itcl/itk/win/winMain.c | 345 --- 18 files changed, 9726 deletions(-) delete mode 100644 itcl/itk/doc/itkwish.1 delete mode 100644 itcl/itk/mac/MW_ItkHeader.pch delete mode 100644 itcl/itk/mac/itkMacApplication.r delete mode 100644 itcl/itk/mac/itkMacLibrary.r delete mode 100644 itcl/itk/mac/itkMacResource.r delete mode 100644 itcl/itk/mac/itkMacTclCode.r delete mode 100644 itcl/itk/mac/itkStaticApplication.r delete mode 100644 itcl/itk/mac/pkgIndex.tcl delete mode 100644 itcl/itk/mac/tclIndex delete mode 100644 itcl/itk/mac/tkMacAppInit.c delete mode 100644 itcl/itk/pkgIndex.tcl delete mode 100644 itcl/itk/unix/tkAppInit.c delete mode 100644 itcl/itk/win/Makefile.in delete mode 100644 itcl/itk/win/Makefile.in_first delete mode 100755 itcl/itk/win/configure delete mode 100644 itcl/itk/win/configure.in delete mode 100644 itcl/itk/win/pkgIndex.tcl delete mode 100644 itcl/itk/win/winMain.c diff --git a/itcl/itk/doc/itkwish.1 b/itcl/itk/doc/itkwish.1 deleted file mode 100644 index b6a12194b81..00000000000 --- a/itcl/itk/doc/itkwish.1 +++ /dev/null @@ -1,55 +0,0 @@ -'\" -'\" Copyright (c) 1993-1998 Lucent Technologies, Inc. -'\" -'\" See the file "license.terms" for information on usage and redistribution -'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. -'\" -'\" RCS: $Id$ -'\" -.so man.macros -.TH itkwish 1 3.0 itk "[incr\ Tk]" -.BS -'\" Note: do not modify the .SH NAME line immediately below! -.SH NAME -itkwish \- Simple windowing shell for [incr\ Tcl] / [incr\ Tk] -.SH SYNOPSIS -\fBitkwish\fR ?\fIfileName arg arg ...\fR? -.SH OPTIONS -.IP "\fB\-display \fIdisplay\fR" 20 -Display (and screen) on which to display window. -.IP "\fB\-geometry \fIgeometry\fR" 20 -Initial geometry to use for window. If this option is specified, its -value is stored in the \fBgeometry\fR global variable of the application's -Tcl interpreter. -.IP "\fB\-name \fIname\fR" 20 -Use \fIname\fR as the title to be displayed in the window, and -as the name of the interpreter for \fBsend\fR commands. -.IP "\fB\-sync\fR" 20 -Execute all X server commands synchronously, so that errors -are reported immediately. This will result in much slower -execution, but it is useful for debugging. -.IP "\fB\-\|\-\fR" 20 -Pass all remaining arguments through to the script's \fBargv\fR -variable without interpreting them. -This provides a mechanism for passing arguments such as \fB\-name\fR -to a script instead of having \fBitkwish\fR interpret them. -.BE - -.SH DESCRIPTION -.PP -\fBitkwish\fR is a simple program consisting of the Tcl command -language, the Tk toolkit, the \fB[incr\ Tcl]\fR extension for -object-oriented programming, and the \fB[incr\ Tk]\fR extension -for building mega-widgets. The main program creates an -interpreter, creates a main window, and then processes Tcl -commands from standard input or from a file. -.PP -\fBitkwish\fR is just like \fBwish\fR, but includes the -\fB[incr\ Tcl]\fR / \fB[incr\ Tk]\fR extensions. -.PP -See the \fBwish\fR man page for details concerning usage. See -the \fBitcl\fR and \fBitk\fR man pages for an overview of -\fB[incr\ Tcl]\fR / \fB[incr\ Tk]\fR. - -.SH KEYWORDS -Tcl, Tk, itcl, itk, interpreter, shell, toolkit diff --git a/itcl/itk/mac/MW_ItkHeader.pch b/itcl/itk/mac/MW_ItkHeader.pch deleted file mode 100644 index 40663118c1b..00000000000 --- a/itcl/itk/mac/MW_ItkHeader.pch +++ /dev/null @@ -1,73 +0,0 @@ -/* - * MW_ItkHeader.pch -- - * - * This file is the source for a pre-compilied header that gets used - * for all files in the Tk projects. This make compilies go a bit - * faster. This file is only intended to be used in the MetroWerks - * CodeWarrior environment. It essentially acts as a place to set - * compiler flags. See MetroWerks documention for more details. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) MW_TkHeader.pch 1.16 96/09/04 17:01:00 - */ - -/* - * Support for automatically naming the precompiled header file ... - */ -#if __POWERPC__ -#pragma precompile_target "MW_ItkHeaderPPC" -#include "MW_TkHeaderPPC" -#elif __CFM68K__ -#pragma precompile_target "MW_ItkHeaderCFM68K" -#include "MW_TkHeaderCFM68K" -#else -#pragma precompile_target "MW_ItkHeader68K" -#include "MW_TkHeader68K" -#endif - -/* - * Macintosh Tcl must be compiled with certain compiler options to - * ensure that it will work correctly. The following pragmas are - * used to ensure that those options are set correctly. An error - * will occur at compile time if they are not set correctly. - */ - -#if !__option(enumsalwaysint) -#error Tcl requires the Metrowerks setting "Enums always ints". -#endif - -#if !defined(__POWERPC__) -#if !__option(far_data) -#error Tcl requires the Metrowerks setting "Far data". -#endif -#endif - -#if !defined(__POWERPC__) -#if !__option(fourbyteints) -#error Tcl requires the Metrowerks setting "4 byte ints". -#endif -#endif - -#if !defined(__POWERPC__) -#if !__option(IEEEdoubles) -#error Tcl requires the Metrowerks setting "8 byte doubles". -#endif -#endif - -#include -#include -#include - -/* - * Place any includes below that will are needed by the majority of the - * and is OK to be in any file in the system. The pragma's are used - * to control what functions are exported in the Tcl shared library. - */ - -#pragma export on -#include "itk.h" -#pragma export reset diff --git a/itcl/itk/mac/itkMacApplication.r b/itcl/itk/mac/itkMacApplication.r deleted file mode 100644 index 989ea0735a3..00000000000 --- a/itcl/itk/mac/itkMacApplication.r +++ /dev/null @@ -1,1676 +0,0 @@ -/* - * tkMacApplication.r -- - * - * This file creates resources for use in the Wish application. - * - * Copyright (c) 1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) tkMacApplication.r 1.2 96/10/03 17:53:57 - */ - -#include -#include -#include - -/* - * The folowing include and defines help construct - * the version string for Tcl. - */ - -#define RESOURCE_INCLUDED -#include "tk.h" -#include "itcl.h" -#include "itkPatch.h" - -#if (TK_RELEASE_LEVEL == 0) -# define RELEASE_LEVEL alpha -#elif (TK_RELEASE_LEVEL == 1) -# define RELEASE_LEVEL beta -#elif (TK_RELEASE_LEVEL == 2) -# define RELEASE_LEVEL final -#endif - -#if (TK_RELEASE_LEVEL == 2) -# define MINOR_VERSION (ITCL_MINOR_VERSION * 16) + TK_RELEASE_SERIAL -#else -# define MINOR_VERSION ITCL_MINOR_VERSION * 16 -#endif - -#define RELEASE_CODE 0x00 - -#define ITCL_LIBRARY_RESOURCES 3000 -#define ITK_LIBRARY_RESOURCES 3500 - -resource 'vers' (1) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - ITK_PATCH_LEVEL ", by Michael McLennan 1993-1998" "\n" "Lucent Technologies, Inc." -}; - -resource 'vers' (2) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - "ItkWish " ITK_PATCH_LEVEL " 1993-1998" -}; - - -#define ITK_APP_RESOURCES 128 -#define ITK_APP_CREATOR 'ITkW' - -/* - * The 'BNDL' resource is the primary link between a file's - * creator/type and its icon. This resource acts for all Tcl shared - * libraries; other libraries will not need one and ought to use - * custom icons rather than new file types for a different appearance. - */ - -resource 'BNDL' (ITK_APP_RESOURCES, "Itk app bundle", purgeable) -{ - ITK_APP_CREATOR, - 0, - { - 'FREF', - { - 0, ITK_APP_RESOURCES, - 1, ITK_APP_RESOURCES+1 - }, - 'ICN#', - { - 0, ITK_APP_RESOURCES, - 1, ITK_APP_RESOURCES+1 - } - } -}; - -resource 'FREF' (ITK_APP_RESOURCES, purgeable) -{ - 'APPL', 0, "" -}; -resource 'FREF' (ITK_APP_RESOURCES+1, purgeable) -{ - 'TEXT', 1, "" -}; - -type ITK_APP_CREATOR as 'STR '; -resource ITK_APP_CREATOR (0, purgeable) { - "ItkWish " ITK_PATCH_LEVEL " 1993-1998" -}; - -/* - * The 'kind' resource works with a 'BNDL' in Macintosh Easy Open - * to affect the text the Finder displays in the "kind" column and - * file info dialog. This information will be applied to all files - * with the listed creator and type. - */ -resource 'kind' (ITK_APP_RESOURCES, "Itcl kind", purgeable) { - ITK_APP_CREATOR, - 0, /* region = USA */ - { - 'APPL', "ItkWish", - 'TEXT', "Itcl/Itk Script" - } -}; - -/* This resource will be picked up by tkMacMenus.c, and used for the - * "About" entry in the Apple Menu - */ - -resource 'STR ' (2000,"AppleMenuAboutSTR") { - "About Itkwish" -}; - - -/* - * The following resource define the icon used by Tcl scripts. Any - * TEXT file with the creator of WIsH will get this icon. - */ - -data 'icl4' (ITK_APP_RESOURCES, "Itk Doc", purgeable) { - $"0000 0000 CEFE EFDA DAFA AAC0 0000 0000" /* ........ */ - $"0000 000E F010 DFFE 0DAF ECEF C000 0000" /* .....¯... */ - $"0000 00AC 0001 00EF F00D FED0 FE00 0000" /* ......... */ - $"0000 CA10 0000 100D FA00 DFAD 0EA0 0000" /* .......߭... */ - $"000C F000 0000 0000 AFC0 0DFE 00EA 0000" /* .......... */ - $"000F D000 F000 0100 EFC0 0EFD 000A E000" /* .......... */ - $"00FD 0000 F000 0000 DE00 0EAD 0000 FD00" /* ........... */ - $"0FED C000 F000 0000 0000 0000 0000 0FD0" /* ............ */ - $"00AD C000 F000 0000 0000 0000 000C FAA0" /* ........... */ - $"000D C000 F000 0000 0000 0000 00CD A000" /* ..........͠. */ - $"000D DCC0 F000 0000 0000 0000 00CF 0000" /* ........... */ - $"000D DCCC FC00 0000 0000 0000 0CA0 0000" /* ........... */ - $"0000 ACCD FC00 000C 00CC 0C0C CDD0 0000" /* .......... */ - $"0000 DCCC FCC0 000C C0CC 0C0C CA00 0000" /* ......... */ - $"0000 DDDD FCCC 00CC CCCC 0CCC A000 0000" /* ....̠... */ - $"0000 0DDD FCCC 0CCC CCCC CCCD E000 0000" /* ...... */ - $"0000 0ADD FADC CCCC CCCC CCCD 0000 0000" /* ....... */ - $"000F FFFF FFFA CDDC CDCC CDDF 0000 0000" /* ...... */ - $"000F FFFF FFED DCDD DDDC DDDE 0000 0000" /* ...... */ - $"0000 00ED FDDD CD5D DDDD DDF0 0000 0000" /* ...].... */ - $"0000 00ED DDDD DDDD DDDD DDA0 0000 0000" /* ...ݠ.... */ - $"0000 00DE DDDD DD5D DEED DA00 0000 0000" /* ...]..... */ - $"00FF FFFF FFFF 5DDD EDE5 DE00 0000 0000" /* .]..... */ - $"00DF FFFF FFFF F5DD D5ED 5FFF D000 0000" /* ._... */ - $"0000 EFFF FFFF AE5D DD55 DFFF D000 0000" /* ..]U... */ - $"0000 00FF FFFF FFEE DED5 FFD0 0000 0000" /* ....... */ - $"0000 00FF FFFF FFFF FAAF FD00 0000 0000" /* ........ */ - $"0000 00FF FFFF FFFF FFFF A000 0000 0000" /* ........ */ - $"0000 00DF FFFF FFFF FFFF E000 0000 0000" /* ........ */ - $"0000 0000 0DAF FFFF FFFF E000 0000 0000" /* ....¯..... */ - $"0000 0000 000C DEAF FFFF A000 0000 0000" /* ......ޯ..... */ - $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ -}; - -data 'icl8' (ITK_APP_RESOURCES + 1, "Itk Doc", purgeable) { - $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF" /* ... */ - $"FFFF FFFF FFFF 0000 0000 0000 0000 0000" /* .......... */ - $"0000 00FF 0000 0000 0000 0000 0000 0000" /* ............... */ - $"0000 0000 00FF FF00 0000 0000 0000 0000" /* .............. */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6FF 00FF 0000 0000 0000 0000" /* ......... */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6FF 00F6 FF00 0000 0000 0000" /* ........ */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6FF 00F6 F6FF 0000 0000 0000" /* ....... */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6FF F8F8 F8F8 FF00 0000 0000" /* ..... */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6FF FFFF FFFF FFFF 0000 0000" /* .... */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6F6 F6F6 F6F6 F8FF 0000 0000" /* .... */ - $"0000 00FF 00F6 F6F6 F65F B3B3 B35F F6F6" /* ....__ */ - $"5FB3 B3B3 B35F F6F6 F6F6 F8FF 0000 0000" /* __.... */ - $"0000 00FF 00F6 F6F6 5F89 8989 8989 89B3" /* ...._ */ - $"8989 8989 8989 B35F F6F6 F8FF 0000 0000" /* _.... */ - $"0000 00FF 00F6 F65F 3489 B3B3 B389 B389" /* ...._4 */ - $"89B3 B3B3 895F 89B3 5FF6 F8FF 0000 0000" /* __.... */ - $"0000 00FF 00F6 F634 8900 0000 0034 8989" /* ....4....4 */ - $"3400 0000 00B3 5F89 B334 F8FF 0000 0000" /* 4...._4.... */ - $"0000 00FF 00F6 5F89 0000 0000 0000 3434" /* ...._......44 */ - $"0000 0000 0000 B389 895F F8FF 0000 0000" /* ......_.... */ - $"0000 00FF 00F6 8934 0000 0000 F500 0000" /* ....4....... */ - $"0000 0000 0000 34B3 89B3 F8FF 0000 0000" /* ......4.... */ - $"0000 00FF 00F6 B300 0000 F501 0100 0000" /* ............ */ - $"0000 0000 0000 00B3 89B3 F8FF 0000 0000" /* ........... */ - $"0000 00FF 00F6 8934 0000 00F7 0000 00F7" /* ....4...... */ - $"0101 0100 0000 3489 89B3 F8FF 0000 0000" /* ......4.... */ - $"0000 00FF 00F6 F6B3 3400 0000 0000 0000" /* ....4....... */ - $"F701 F500 0034 B389 B3F6 F8FF 0000 0000" /* ...4.... */ - $"0000 00FF 00F6 F6F6 8934 0000 0000 0000" /* ....4...... */ - $"0000 F700 3489 895F F6F6 F8FF 0000 0000" /* ...4_.... */ - $"0000 00FF 00F6 F6F6 B334 0000 0000 0000" /* ....4...... */ - $"0000 0000 34B3 89B3 F6F6 F8FF 0000 0000" /* ....4.... */ - $"0000 00FF 00F6 F634 8900 0000 0001 0000" /* ....4....... */ - $"0000 0000 0089 3489 B3F6 F8FF 0000 0000" /* .....4.... */ - $"0000 00FF 00F6 F689 0000 0000 F701 F500" /* .......... */ - $"0000 0000 0000 8989 B3F6 F8FF 0000 0000" /* .......... */ - $"0000 00FF 00F6 F6B3 0000 0000 00F7 0000" /* ........... */ - $"0000 0000 0000 B389 B3F6 F8FF 0000 0000" /* .......... */ - $"0000 00FF 00F6 F689 0000 0000 0000 0000" /* ............ */ - $"0001 0000 0000 8989 B3F6 F8FF 0000 0000" /* .......... */ - $"0000 00FF 00F6 F6B3 0000 0000 0101 0000" /* ............ */ - $"F701 0101 0000 B389 B3F6 F8FF 0000 0000" /* ......... */ - $"0000 00FF 00F6 F6B3 0000 0101 01F5 0000" /* ........... */ - $"00F7 01F5 0000 B389 B3F6 F8FF 0000 0000" /* ........ */ - $"0000 00FF 00F6 F689 0000 01F5 0100 0000" /* ........... */ - $"00F5 F5F5 0000 8989 B3F6 F8FF 0000 0000" /* ....... */ - $"0000 00FF 00F6 F6B3 0000 F7F7 0000 0000" /* .......... */ - $"0000 0000 0000 B389 B3F6 F8FF 0000 0000" /* .......... */ - $"0000 00FF 00F6 F634 8900 0000 0000 0000" /* ....4....... */ - $"0000 0000 0089 5FB3 34F6 F8FF 0000 0000" /* ....._4.... */ - $"0000 00FF 00F6 F6F6 34B3 89B3 B3B3 B3B3" /* ....4 */ - $"B389 B3B3 8934 34F6 F6F6 F8FF 0000 0000" /* 44.... */ - $"0000 00FF 00F6 F6F6 F6F6 F6F6 F6F6 F6F6" /* .... */ - $"F6F6 F6F6 F6F6 F6F6 F6F6 F8FF 0000 0000" /* .... */ - $"0000 00FF F8F8 F8F8 F8F8 F8F8 F8F8 F8F8" /* ... */ - $"F8F8 F8F8 F8F8 F8F8 F8F8 F8FF 0000 0000" /* .... */ - $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF" /* ... */ - $"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000" /* .... */ -}; - -data 'ICN#' (ITK_APP_RESOURCES + 1, "Itk Doc", purgeable) { - $"1FFF FC00 1000 0600 1000 0500 1000 0480" /* ............. */ - $"1000 0440 1000 0420 1000 07F0 1000 0010" /* ...@... ....... */ - $"107C FC10 10FF FF10 117F FF90 1083 0790" /* .|....... */ - $"1300 03D0 1200 01D0 1200 01D0 1200 01D0" /* ............ */ - $"1100 0390 1080 0710 1080 0710 1080 0590" /* ........... */ - $"1100 0390 1100 0390 1100 0390 1100 0390" /* ............ */ - $"1100 0390 1100 0390 1100 0390 1080 0710" /* ............ */ - $"107F F810 1000 0010 1000 0010 1FFF FFF0" /* ............ */ - $"1FFF FC00 1FFF FE00 1FFF FF00 1FFF FF80" /* ....... */ - $"1FFF FFC0 1FFF FFE0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ - $"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0" /* .... */ -}; - -data 'ics#' (ITK_APP_RESOURCES + 1, "Itk Doc", purgeable) { - $"7FF0 4038 402C 403C 46E4 4FF4 5014 5014" /* .@8@,@ -#include -#include - -/* - * The folowing include and defines help construct - * the version string for Tcl. - */ - -#define RESOURCE_INCLUDED -#include -#include -#include "itcl.h" -#include "itk.h" - -#if (TK_RELEASE_LEVEL == 0) -# define RELEASE_LEVEL alpha -#elif (TK_RELEASE_LEVEL == 1) -# define RELEASE_LEVEL beta -#elif (TK_RELEASE_LEVEL == 2) -# define RELEASE_LEVEL final -#endif - -#if (TK_RELEASE_LEVEL == 2) -# define MINOR_VERSION (ITCL_MINOR_VERSION * 16) + TK_RELEASE_SERIAL -#else -# define MINOR_VERSION ITCL_MINOR_VERSION * 16 -#endif - -#define RELEASE_CODE 0x00 - -#define ITCL_LIBRARY_RESOURCES 3000 -#define ITK_LIBRARY_RESOURCES 3500 - -resource 'vers' (1) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - ITK_PATCH_LEVEL ", by Michael McLennan 1993-1998" "\n" "Lucent Technologies, Inc." -}; - -resource 'vers' (2) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - "ItkWish " ITK_PATCH_LEVEL " 1993-1998" -}; - - -#define ITCL_LIBRARY_RESOURCES 2000 -#define ITK_LIBRARY_RESOURCES 3500 -/* - * The -16397 string will be displayed by Finder when a user - * tries to open the shared library. The string should - * give the user a little detail about the library's capabilities - * and enough information to install the library in the correct location. - * A similar string should be placed in all shared libraries. - */ -resource 'STR ' (-16397, purgeable) { - "Itk Library\n\n" - "This is the library needed to run add Itcl to the Tcl/Tk shell. " - "To work properly, it should be placed in the Tool Command Language folder " - "within the Extensions folder." -}; - - -/* - * We now load the Tk library into the resource fork of the library. - */ - -#include "itkMacTclCode.r" - -read 'TEXT' (ITK_LIBRARY_RESOURCES+12, "itk:tclIndex", purgeable) - "::mac:tclIndex"; -data 'TEXT' (ITK_LIBRARY_RESOURCES+13,"pkgIndex",purgeable, preload) { - "# Tcl package index file, version 1.0\n" - "package ifneeded Itk 3.1 [list package require Itcl 3.1 \; load [file join $dir itk31[info sharedlibextension]] Itk \; source -rsrc itk:tclIndex]\n" -}; - diff --git a/itcl/itk/mac/itkMacResource.r b/itcl/itk/mac/itkMacResource.r deleted file mode 100644 index 88c4f808591..00000000000 --- a/itcl/itk/mac/itkMacResource.r +++ /dev/null @@ -1,1376 +0,0 @@ -/* - * tkMacLibrary.r -- - * - * This file creates resources for use in most Tk applications. - * This is designed to be an example of using the Tcl/Tk - * libraries in a Macintosh Application. - * - * Copyright (c) 1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) tkMacLibrary.r 1.5 96/10/03 17:54:21 - */ - -#include -#include -#include - -/* - * The folowing include and defines help construct - * the version string for Tcl. - */ - -#define RESOURCE_INCLUDED -#include "tcl.h" -#include "tk.h" -#include "itcl.h" -#include "itkPatch.h" - -#if (TK_RELEASE_LEVEL == 0) -# define RELEASE_LEVEL alpha -#elif (TK_RELEASE_LEVEL == 1) -# define RELEASE_LEVEL beta -#elif (TK_RELEASE_LEVEL == 2) -# define RELEASE_LEVEL final -#endif - -#if (TK_RELEASE_LEVEL == 2) -# define MINOR_VERSION (ITCL_MINOR_VERSION * 16) + TK_RELEASE_SERIAL -#else -# define MINOR_VERSION ITCL_MINOR_VERSION * 16 -#endif - -#define RELEASE_CODE 0x00 - -#define ITCL_LIBRARY_RESOURCES 3000 -#define ITK_LIBRARY_RESOURCES 3500 - -resource 'vers' (1) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - ITK_PATCH_LEVEL ", by Michael McLennan 1993-1998" "\n" "Lucent Technologies, Inc." -}; - -resource 'vers' (2) { - ITCL_MAJOR_VERSION, MINOR_VERSION, - RELEASE_LEVEL, 0x00, verUS, - ITK_PATCH_LEVEL, - "ItkWish " ITK_PATCH_LEVEL " 1993-1998" -}; - - - -/* - * The mechanisim below loads Tcl source into the resource fork of the - * application. The example below creates a TEXT resource named - * "Init" from the file "init.tcl". This allows applications to use - * Tcl to define the behavior of the application without having to - * require some predetermined file structure - all needed Tcl "files" - * are located within the application. To source a file for the - * resource fork the source command has been modified to support - * sourcing from resources. In the below case "source -rsrc {Init}" - * will load the TEXT resource named "Init". - */ - -read 'TEXT' (0, "Init", purgeable, preload) - ":::tcl" TCL_VERSION ":library:init.tcl"; -read 'TEXT' (1, "tk", purgeable, preload) "::library:tk.tcl"; -read 'TEXT' (2, "button", purgeable, preload) "::library:button.tcl"; -read 'TEXT' (3, "dialog", purgeable, preload) "::library:dialog.tcl"; -read 'TEXT' (4, "entry", purgeable, preload) "::library:entry.tcl"; -read 'TEXT' (5, "focus", purgeable, preload) "::library:focus.tcl"; -read 'TEXT' (6, "listbox", purgeable, preload) "::library:listbox.tcl"; -read 'TEXT' (7, "menu", purgeable, preload) "::library:menu.tcl"; -read 'TEXT' (8, "optionMenu", purgeable, preload) "::library:optMenu.tcl"; -read 'TEXT' (9, "palette", purgeable, preload) "::library:palette.tcl"; -read 'TEXT' (10, "scale", purgeable, preload) "::library:scale.tcl"; -read 'TEXT' (11, "scrollbar", purgeable, preload) "::library:scrlbar.tcl"; -read 'TEXT' (12, "tearoff", purgeable, preload) "::library:tearoff.tcl"; -read 'TEXT' (13, "text", purgeable, preload) "::library:text.tcl"; -read 'TEXT' (14, "tkerror", purgeable, preload) "::library:bgerror.tcl"; -read 'TEXT' (15, "Console", purgeable, preload) "::library:console.tcl"; -read 'TEXT' (16, "msgbox", purgeable, preload) "::library:msgbox.tcl"; -read 'TEXT' (17, "comdlg", purgeable, preload) "::library:comdlg.tcl"; -read 'TEXT' (18, "prolog", purgeable, preload) "::library:prolog.ps"; - -/* - * We now load the Itk library into the resource fork of the application. - */ - -read 'TEXT' (ITCL_LIBRARY_RESOURCES, "itcl", purgeable) - ":::itcl:library:itcl.tcl"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+1, "itk", purgeable) - "::library:itk.tcl"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+2, "Itk_tclIndex", purgeable) - "::mac:tclIndex"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+3, "Itk_Archetype", purgeable) - "::library:Archetype.itk"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+4, "Itk_Widget", purgeable) - "::library:Widget.itk"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+5, "Itk_Toplevel", purgeable) - "::library:Toplevel.itk"; - - -/* - * The following resource is used when creating the 'env' variable in - * the Macintosh environment. The creation mechanisim looks for the - * 'STR#' resource named "Tcl Environment Variables" rather than a - * specific resource number. (In other words, feel free to change the - * resource id if it conflicts with your application.) Each string in - * the resource must be of the form "KEYWORD=SOME STRING". See Tcl - * documentation for futher information about the env variable. - */ - -/* A good example of something you may want to set is: - * "TCL_LIBRARY=My disk:etc." - */ - -resource 'STR#' (128, "Tcl Environment Variables") { - { "SCHEDULE_NAME=Agent Controller Schedule", - "SCHEDULE_PATH=Lozoya:System Folder:Tcl Lib:Tcl-Scheduler" - }; -}; - - -/* - * The following resources defines the Apple Events that Tk can be - * sent from Apple Script. - */ - -resource 'aete' (0, "Wish Suite") { - 0x01, 0x00, english, roman, - { - "Required Suite", - "Events that every application should support", - 'reqd', 1, 1, - {}, - {}, - {}, - {}, - - "Wish Suite", "Events for the Wish application", 'WIsH', 1, 1, - { - "do script", "Execute a Tcl script", 'misc', 'dosc', - 'TEXT', "Result", replyOptional, singleItem, - notEnumerated, reserved, reserved, reserved, reserved, - reserved, reserved, reserved, reserved, reserved, - reserved, reserved, reserved, reserved, - 'TEXT', "Script to execute", directParamRequired, - singleItem, notEnumerated, changesState, reserved, - reserved, reserved, reserved, reserved, reserved, - reserved, reserved, reserved, reserved, reserved, - reserved, - {}, - }, - {}, - {}, - {}, - } -}; - -/* - * The following two resources define the default "About Box" for Mac Tk. - * This dialog appears if the "About Tk..." menu item is selected from - * the Apple menu. This dialog may be overridden by defining a Tcl procedure - * with the name of "tkAboutDialog". If this procedure is defined the - * default dialog will not be shown and the Tcl procedure is expected to - * create and manage an About Dialog box. - */ -data 'DLOG' (128, "Default About Box", purgeable) { - $"002E 0026 011B 01E0 0001 0100 0100 0000" - $"0000 0081 00" -}; - - -resource 'DITL' (129, "About Box", purgeable) { - { - {198, 278, 220, 362}, Button {enabled, "Ok"}, - { 21, 205, 181, 442}, StaticText {disabled, - "ItkWish" ITK_PATCH_LEVEL " - an Object-Oriented Wish" - "\n\n" "Michael McLennan" - "\n" "Jim Ingham" "\n" "Lee Bernhard" "\n\n" - "Lucent Technologies, Inc. 1993-1998" "\n\n" "For more Info, see:" "\n" - "http://www.tcltk.com/itcl"}, - { 37, 22, 204, 182}, Picture {enabled, 128} - } -}; - -data 'PICT' (128) { - $"46B2 0000 0000 00A7 00A0 0011 02FF 0C00" - $"FFFE 0000 0048 0000 0048 0000 0000 0000" - $"00A7 00A0 0000 0000 001E 0001 000A 0000" - $"0000 00A7 00A0 0099 80A0 0000 0000 00A7" - $"00A0 0000 0000 0000 0000 0048 0000 0048" - $"0000 0000 0008 0001 0008 0000 0000 0157" - $"9668 0000 0000 0000 8746 8000 00FF 0004" - $"F800 FC00 F800 0066 F800 F800 F800 015D" - $"F000 F400 F000 0000 F000 F000 F000 0000" - $"E800 EC00 E800 01C1 E800 E800 E800 0000" - $"E000 E400 E000 011E E000 E000 E000 01C3" - $"D800 DC00 D800 0000 D800 D800 D800 0000" - $"D000 D400 D000 0000 D000 D000 D000 0000" - $"C800 C800 C800 0000 C000 C400 C000 0000" - $"C000 C000 C000 0000 B800 BC00 B800 0000" - $"B800 B800 B800 0000 B000 B400 B000 0000" - $"B000 B000 B000 0000 A800 AC00 A800 0000" - $"A800 A800 A800 0000 A000 A400 A000 0000" - $"A000 A000 9800 0000 A000 A000 A000 0000" - $"9800 9C00 9800 0000 9800 9800 9800 0000" - $"9000 9400 9000 0000 8800 8C00 8800 0000" - $"8800 8800 8800 0000 8800 8400 8000 0000" - $"8800 A000 5800 0000 8000 8400 8000 0000" - $"8000 9C00 5800 0000 7800 8C00 6000 0000" - $"7800 7C00 7800 0000 7800 7800 7800 0000" - $"7000 8000 6000 0000 7000 7400 7000 0000" - $"7000 7000 6800 0000 7000 7800 5800 0000" - $"6800 6C00 6800 0000 6800 6800 6800 0000" - $"6000 6400 6000 0000 6000 6C00 5000 0000" - $"6000 6000 6000 0000 5800 6400 5000 0000" - $"5800 5C00 5800 0000 5800 5800 5800 0000" - $"5000 5400 5000 0000 5000 9800 4000 0000" - $"5000 5400 4800 0000 5000 A800 4000 0000" - $"5000 5000 5000 0000 5000 8800 4000 0000" - $"5000 B400 3800 0000 4800 7C00 4000 0000" - $"4800 4C00 4800 0000 4800 4800 4800 0000" - $"4800 C000 3000 0000 4800 6C00 4000 0000" - $"4000 4800 4000 0000 4000 4400 4000 0000" - $"4000 4000 4000 0000 4000 9000 3800 0000" - $"4000 CC00 2800 0000 4000 8400 3800 0000" - $"4000 9800 3000 0000 4000 7400 3800 0000" - $"4000 5C00 3800 0000 3800 8000 3800 0000" - $"3800 3C00 3800 0000 3800 3800 3800 0000" - $"3800 6400 3800 0000 3800 A800 3000 0000" - $"3800 3800 3000 0000 3800 5000 3000 0000" - $"3800 C400 2800 0000 3000 D800 2000 0000" - $"3000 4800 3000 0000 3000 3400 3000 0000" - $"3000 BC00 2800 0000 3000 3000 3000 0000" - $"3000 4400 3000 0000 2800 2C00 2800 0000" - $"2800 3800 2800 0000 2800 E400 1800 0000" - $"2800 A800 2000 0000 2800 2800 2800 0000" - $"2800 CC00 2000 0000 2800 AC00 2000 4D61" - $"2800 7000 2000 015D 2800 3800 2000 0001" - $"2000 2C00 2000 015D 2000 D400 1800 0000" - $"2000 B000 2000 015A 2000 9C00 1800 015A" - $"2000 2400 2000 0000 2000 2000 2000 0003" - $"2000 D800 1800 0066 2000 4C00 1800 025B" - $"2000 B800 1800 0000 2000 A800 1800 0010" - $"2000 8C00 2000 015D 2000 B400 1800 0000" - $"1800 EC00 1000 0000 1800 E800 1000 015D" - $"1800 C000 1800 0000 1800 3800 1800 0000" - $"1800 1C00 1800 0000 1800 DC00 1800 0000" - $"1800 8C00 1800 7400 1800 7400 1800 0159" - $"1800 E000 1000 0000 1800 2C00 1000 0003" - $"1800 1800 1800 0066 1800 CC00 1000 015D" - $"1800 E400 1000 0004 1000 EC00 1000 0066" - $"1000 F000 0800 015D 1000 E400 1000 0000" - $"1000 9000 1000 0000 1000 2400 1000 01C1" - $"1000 EC00 0800 0000 1000 3400 1000 011E" - $"1000 E800 0800 01C3 1000 E000 1000 0000" - $"1000 4C00 1000 0000 1000 2000 1000 0000" - $"1000 1000 1000 0000 1000 5C00 1000 0000" - $"1000 5800 1000 0000 1000 1000 0800 0000" - $"1000 6400 1000 0000 0800 F400 0000 0000" - $"0800 7000 0800 0000 0800 1400 0800 0000" - $"0800 F400 0800 0000 0800 8000 0800 0000" - $"0800 8800 0800 0000 0800 EC00 0800 0000" - $"0800 0800 0800 0000 0000 F400 0000 0000" - $"0000 FC00 0000 0000 0000 F800 0000 0000" - $"0000 0400 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 5845" - $"0000 0000 0000 015C 0000 0000 0000 0001" - $"0000 0000 0000 015D 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 0D09" - $"0000 0000 0000 0000 0000 0000 0000 055E" - $"0000 0000 0000 0106 0000 0000 0000 0054" - $"0000 0000 0000 013B 0000 0000 0000 20F9" - $"0000 0000 0000 005C 0000 0000 0000 0002" - $"0000 0000 0000 20FC 0000 0000 0000 0064" - $"0000 0000 0000 00E5 0000 0000 0000 015D" - $"0000 0000 0000 0000 0000 0000 0000 067E" - $"0000 0000 0000 0159 0000 0000 0000 0000" - $"0000 0000 0000 0003 0000 0000 0000 0066" - $"0000 0000 0000 015D 0000 0000 0000 0004" - $"0000 0000 0000 0066 0000 0000 0000 015D" - $"0000 0000 0000 0000 0000 0000 0000 0000" - $"0000 0000 0000 015D 0000 0000 0000 0000" - $"0000 0000 0000 0000 0000 0000 0000 5400" - $"0000 0000 0000 6F64 0000 0000 0000 6573" - $"0000 0000 0000 4B65 0000 0000 0000 0000" - $"0000 0000 0000 5074 0000 0000 0000 4572" - $"0000 0000 0000 646C 0000 0000 0000 6972" - $"0000 0000 0000 6573 0000 0000 0000 7374" - $"0000 0000 0000 7400 0000 0000 0000 7200" - $"0000 0000 0000 7243 0000 0000 0000 6572" - $"0000 0000 0000 6300 0000 0000 0000 6E74" - $"0000 0000 0000 3064 0000 0000 0000 6F75" - $"0000 0000 0000 6F6D 0000 0000 0000 0002" - $"0000 0000 0000 6E64 0000 0000 0000 636F" - $"0000 0000 0000 6572 0000 0000 0000 6567" - $"0000 0000 0000 726F 0000 0000 0000 0720" - $"0000 0000 0000 6550 0000 0000 0000 7900" - $"0000 0000 0000 6374 0000 0000 0000 6F50" - $"0000 0000 0000 6B53 0000 0000 0000 6F6E" - $"0000 0000 0000 E86D 0000 0000 0000 6541" - $"0000 0000 0000 696E 0000 0000 0000 0003" - $"0000 0000 0000 7473 0000 0000 0000 1E74" - $"0000 0000 0000 6D70 0000 0000 0000 D274" - $"0000 0000 0000 6D00 0000 0000 0000 6F75" - $"0000 0000 0000 4174 0000 0000 0000 7070" - $"0000 0000 0000 6F6E 0000 0000 0000 CD77" - $"0000 0000 0000 746F 0000 0000 0000 0000" - $"0000 00A7 00A0 0000 0000 00A7 00A0 0000" - $"000A 0000 0000 00A7 00A0 0481 00E1 0004" - $"8100 E100 A27F 0000 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 1F01 0001 0001 0001 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"0001 0001 0001 009F FE00 7F01 0001 0001" - $"0C22 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2018 2220 2220" - $"2220 2220 2220 2220 2220 2220 2220 2220" - $"2208 0001 01FD 0014 0200 0001 FC00 0020" - $"818E F28E 0408 0606 0101 FE00 15FD 0000" - $"01FE 0000 2281 8EF2 8E07 0C0A 0805 0101" - $"0000 1708 0000 0100 0001 0002 2081 8EF2" - $"8E07 1411 0C0A 0501 0100 16FE 0000 01FE" - $"0001 0222 818E F28E 071F 1912 0C05 0401" - $"0017 0800 0001 0001 0000 0220 818E F28E" - $"0728 1F19 0F08 0501 0014 FC00 0301 0002" - $"2281 8EF2 8E07 2F23 1B11 0905 0100 1708" - $"0000 0100 0100 0002 2081 8EF2 8E07 2F28" - $"1B11 0A05 0100 27FE 0000 01FE 0001 0222" - $"C58E 0F5D 6578 6F5A 5254 5254 524E 5A78" - $"7867 77BE 8E07 3828 1F12 0A05 0100 2B08" - $"0000 0100 0001 0002 20C8 8E01 584B FD6C" - $"0172 72FB 6C08 726C 726C 7260 4549 6DC2" - $"8E07 3828 1C12 0A05 0100 26FD 0004 0100" - $"0002 22CA 8E03 5060 6C6C F172 086C 726C" - $"726C 7253 4449 C68E 0738 281C 120A 0501" - $"0042 0200 0001 FD00 0102 20D3 8E21 5D78" - $"5A4B 7868 6A66 6072 6C72 6C72 6C6C 3E22" - $"1912 1213 141B 2547 726C 7272 6C72 6C72" - $"FE6C 0572 6C54 6F65 77CB 8E07 3828 1C12" - $"0A05 0100 3AFE 0005 0100 0100 0222 D58E" - $"0250 5472 FC6C FC72 046C 726C 6C0C F700" - $"0708 236C 6C72 6C72 6CFE 7207 6C72 6C72" - $"6C72 545D CD8E 0738 281C 120A 0501 0047" - $"0800 0001 0001 0000 0220 D98E 175D 6563" - $"6C6C 726C 7260 3D60 6C72 726C 726C 726C" - $"7272 471B 05F7 0013 081C 3872 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C4E 7877 D08E 0738" - $"281C 120A 0501 0049 FA00 0102 22DA 8E01" - $"5A72 FE6C 0E72 6C3E 0F01 0007 3E72 6C72" - $"6C72 6C72 FE6C 0972 610C 0100 0100 0100" - $"01FC 0011 1B72 6C72 6C72 6C72 281B 5172" - $"6C72 6C72 6C41 D18E 0738 281C 120A 0501" - $"0049 0800 0001 0001 0000 0220 DC8E 085D" - $"536C 7272 6C6C 3E0F FC00 0301 0C51 6CFE" - $"7200 6CFD 7203 6C72 2E03 F700 1201 1B6C" - $"7272 6C72 6C60 0800 2351 6C72 726C 725A" - $"D28E 0738 281C 120A 0501 004E FE00 0501" - $"0001 0002 22DE 8E08 676F 606C 7251 2A14" - $"04F8 0008 0419 386C 7272 6C72 6CFD 7208" - $"4719 0300 0100 0100 01FD 0002 1051 6CFD" - $"720C 6C12 0001 122E 6072 6C72 536F 75D5" - $"8E07 3828 1C12 0A05 0100 5202 0000 01FD" - $"0001 0220 DF8E 065A 6C72 6C72 1F01 FB00" - $"0201 0001 FB00 020C 476C FE72 026C 726C" - $"FE72 016C 0EFE 0002 0100 01FD 0004 012A" - $"6C72 6CFE 7200 11FE 0007 0138 7272 6C6C" - $"5377 D68E 0738 281C 120A 0501 0056 FD00" - $"0401 0000 0222 E28E 0776 7854 6C72 6C22" - $"05FB 0007 0100 0001 0001 0001 FD00 0E01" - $"122E 6072 726C 726C 726C 726C 1F07 FC00" - $"0001 FD00 131F 7272 6C72 6C72 2804 0000" - $"0119 3E6C 6C72 724B 73D8 8E07 3828 1C12" - $"0A05 0100 5608 0000 0100 0001 0002 20E2" - $"8E05 4B6C 6C72 2A01 FB00 0301 0000 01FD" - $"0000 01F9 001A 0138 7272 6C72 6C72 6C72" - $"7246 0100 0100 0100 0001 0000 0122 7272" - $"6CFE 7200 2AFD 0003 033E 7272 FE6C 0050" - $"D98E 0738 281C 120A 0501 0059 FE00 0001" - $"FE00 0102 22E3 8E05 4E6C 6C72 2801 FB00" - $"0701 0001 0000 0100 01FE 0002 0100 01FB" - $"0010 2E72 726C 726C 726C 7272 5108 0001" - $"0000 01FD 0008 0123 6C72 6C72 6C6C 07FD" - $"0007 0123 6C72 6C72 6C5D DA8E 0738 281C" - $"120A 0501 0061 0800 0001 0001 0000 0220" - $"E58E 0667 6372 6C2E 1901 FE00 0201 0001" - $"FD00 0E01 0000 0100 0100 0100 0100 0001" - $"0001 FE00 0C0F 2F6C 7272 6C72 6C72 726C" - $"1A01 FD00 0001 FD00 0728 6C72 6C72 6C6C" - $"1AFC 0007 1251 6C72 7253 7876 DC8E 0738" - $"281C 120A 0501 005C FC00 0301 0002 22E7" - $"8E05 6D60 7272 6C14 FC00 0901 0001 0001" - $"0001 0000 01FD 0000 01FD 0002 0100 01FB" - $"0006 0760 6C72 6C72 6CFE 7206 3D01 0001" - $"0000 01FD 0003 6072 726C FE72 000C FC00" - $"0203 2872 FE6C 0160 76DD 8E07 3828 1C12" - $"0A05 0100 6708 0000 0100 0100 0002 20EC" - $"8E09 4B60 6D8E 8E54 6C6C 600C FC00 0001" - $"FC00 0701 0001 0000 0100 01FE 0002 0100" - $"01FD 0000 01FC 0006 106C 7272 6C72 6CFE" - $"7206 4703 0000 0100 01FE 000A 076C 7272" - $"6C72 6C1C 0000 01FE 0006 0134 726C 726C" - $"5ADD 8E07 3828 1C12 0A05 0100 66FE 0000" - $"01FE 0001 0222 ED8E 0449 6C6C 495A FE6C" - $"012A 0BFD 0000 01FE 0002 0100 01FD 0012" - $"0100 0001 0001 0001 0001 0000 0100 0100" - $"0100 01FE 000B 091F 6C72 6C72 6C72 726C" - $"3803 F900 071F 726C 726C 7247 01FB 0002" - $"0422 6CFE 7201 5A6D DF8E 0738 281C 120A" - $"0501 006D 0800 0001 0000 0100 0220 ED8E" - $"0049 FD6C 0272 5108 FD00 0E01 0000 0100" - $"0100 0100 0100 0100 0001 FD00 0001 FD00" - $"0201 0001 FE00 0201 0001 FD00 1E17 6C72" - $"6C72 6C72 726C 6109 0000 0100 0100 0001" - $"516C 7272 6C6C 2300 0001 0001 FE00 061F" - $"726C 7272 6C5D E08E 0738 281C 120A 0501" - $"0065 FD00 0401 0000 0222 ED8E 0149 6CFE" - $"7201 380C FD00 0501 0001 0000 01FC 0007" - $"0100 0100 0001 0001 FE00 0201 0001 FD00" - $"0001 F800 0110 4FFE 7208 6C72 726C 3D05" - $"0000 01FD 000A 0B6C 726C 7272 6C05 0000" - $"01FD 0007 0119 516C 6C72 546A E18E 0738" - $"281C 120A 0501 0070 0200 0001 FD00 0102" - $"20ED 8E05 4372 6C6C 1B01 FE00 0001 FE00" - $"0701 0001 0000 0100 01FD 0016 0100 0001" - $"0001 0001 0001 0000 0100 0100 0100 0100" - $"0100 01FE 0005 1072 6C72 726C FE72 0160" - $"07FE 0000 01FE 0006 5172 726C 726C 12FD" - $"0000 01FD 0006 0157 726C 726C 6DE2 8E07" - $"3828 1C12 0A05 0100 6DFE 0005 0100 0100" - $"0222 EE8E 0449 6C72 722A FB00 1001 0001" - $"5146 1901 0000 0100 0100 0100 0001 FD00" - $"0001 FD00 0201 0001 FE00 0401 0001 0001" - $"FD00 1E01 2272 6C72 726C 726C 7247 0000" - $"0100 0100 0051 6C72 726C 7212 0000 0100" - $"0001 FD00 0019 FE72 016C 5AE2 8E07 3828" - $"1C12 0A05 0100 6D08 0000 0100 0100 0002" - $"20EF 8E05 656C 726C 7204 FD00 0901 0000" - $"0100 5772 6C72 0AFD 0007 0100 0100 0001" - $"0001 FE00 0201 0001 FD00 0001 FA00 0001" - $"FD00 0812 6C6C 7272 6C72 7251 FB00 0301" - $"5772 6CFE 7200 12FE 0000 01FE 0000 01FE" - $"0006 1951 6C72 725A 76E4 8E07 3828 1C12" - $"0A05 0100 73FA 0001 0222 F08E 0550 6C72" - $"6C72 6CFE 0006 0100 0001 0000 01FE 7204" - $"6C0C 0000 01FD 0018 0100 0001 0001 0001" - $"0001 0000 0100 0100 0100 0100 0100 0100" - $"01FD 001E 2572 726C 726C 6C57 0000 0100" - $"0100 016C 7272 6C72 7211 0000 0100 0100" - $"0100 01FE 0006 0157 6C72 7260 76E5 8E07" - $"3828 1C12 0A05 0100 6E08 0000 0100 0100" - $"0002 20F1 8E06 416C 726C 726C 72FD 000A" - $"0100 0001 0001 7272 6C72 0BFE 0005 0100" - $"0100 0001 FD00 0001 FD00 0201 0001 FE00" - $"0401 0001 0001 FA00 071B 726C 726C 7272" - $"51FE 000A 0100 0107 726C 7272 6C72 0CFC" - $"0000 01FA 0005 1A72 726C 7278 E58E 0738" - $"281C 120A 0501 0077 FE00 0501 0001 0002" - $"22F2 8E11 5D6C 726C 4E6A 6C6C 0A00 0001" - $"0001 0000 0101 FE72 0D6C 0C00 0001 0001" - $"0001 0000 0100 01FE 0002 0100 01FD 0000" - $"01FA 0010 0100 0100 0100 1072 726C 726C" - $"7251 0000 01FE 001B 236C 726C 7272 6C01" - $"0000 0100 0100 0001 0001 0001 0001 1F72" - $"726C 6064 E68E 0738 281C 120A 0501 0073" - $"0200 0001 FD00 0102 20F1 8E07 4B6C 5A8E" - $"8E60 720C FC00 0801 0000 0172 726C 720C" - $"FA00 2401 0000 0100 0100 0100 0100 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"096C 7272 6C72 6C57 FD00 0201 0047 FE72" - $"026C 7251 FD00 0701 0000 0100 0100 01FD" - $"0001 2572 FE6C 0049 E78E 0738 281C 120A" - $"0501 006F FD00 0401 0000 0222 F18E 1076" - $"7877 8E8E 606C 0B00 0001 0001 0001 0001" - $"FE72 0A6C 0B00 0001 0001 0001 0001 FD00" - $"0001 FD00 0201 0001 FE00 0401 0001 0001" - $"F900 1372 6C72 726C 722A 0000 0100 0005" - $"6C72 6C72 726C 23FE 0003 0100 0001 F800" - $"0005 FE72 026C 6C6A E88E 0738 281C 120A" - $"0501 0074 0800 0001 0000 0100 0220 EC8E" - $"0254 6C0F FE00 0001 FE00 0601 0172 726C" - $"720C FE00 0201 0001 FE00 0201 0001 FE00" - $"0201 0001 FD00 0001 FA00 0D01 0001 0001" - $"0000 7272 6C72 726C 19FE 0020 0100 1172" - $"6C72 6C72 7208 0000 0100 0001 0000 0100" - $"0100 0100 0100 1972 726C 726C 5AE8 8E07" - $"3828 1C12 0A05 0100 76FE 0000 01FE 0001" - $"0222 EC8E 0B52 6C12 0000 0100 0001 0000" - $"01FE 7204 6C0C 0000 01FD 0031 0100 0001" - $"0001 0001 0001 0000 0100 0100 0100 0100" - $"0100 0100 0100 0100 0001 6C72 726C 7272" - $"0100 0001 0000 196C 726C 726C 6C01 FD00" - $"1201 0000 0100 0100 0100 0100 0134 6C72" - $"726C 7278 E88E 0738 281C 120A 0501 006B" - $"0800 0001 0001 0000 0220 EC8E 1052 6C13" - $"0001 0000 0100 0100 0172 726C 720B FD00" - $"0401 0001 0001 FD00 0001 FD00 0201 0001" - $"FE00 0401 0001 0001 F900 0672 6C72 726C" - $"3801 FD00 0701 1C72 6057 473D 28FE 0000" - $"01FE 0000 01F9 0007 1C6C 726C 6054 5276" - $"E88E 0738 281C 120A 0501 006A FC00 0301" - $"0002 22EC 8E02 5A72 17FE 0000 01FE 0001" - $"0101 FE72 076C 0C00 0001 0000 01FE 0002" - $"0100 01FE 0002 0100 01FD 0000 01FA 000C" - $"0100 0100 0100 0572 726C 7272 12FE 0002" - $"0100 00FE 01FB 0012 0100 0100 0100 0001" - $"0001 0001 000C 7272 6C72 78E5 8E07 3828" - $"1C12 0A05 0100 7008 0000 0100 0100 0002" - $"20EC 8E10 4B6C 1900 0001 0000 0100 0001" - $"7272 6C72 0CFE 0000 01FE 0028 0100 0001" - $"0001 0001 0001 0000 0100 0100 0100 0100" - $"0100 0100 0100 0100 000B 726C 3E2F 1201" - $"0000 0100 01F8 0000 01FE 000A 0100 0001" - $"0001 0001 0001 1FFE 7201 6C77 E58E 0738" - $"281C 120A 0501 005F FE00 0001 FE00 0102" - $"22EC 8E02 6F6C 1BFD 0004 0100 0100 01FE" - $"720A 6C0B 0000 0100 0100 0100 01FD 0000" - $"01FD 0002 0100 01FE 0004 0100 0100 01FB" - $"0003 0101 0001 F200 0501 0001 0000 01FE" - $"0000 01FB 0005 0C60 726C 545D E48E 0738" - $"281C 120A 0501 0066 0800 0001 0000 0100" - $"0220 EC8E 0578 721C 0000 01FD 0006 0101" - $"7272 6C72 0CFC 0000 01FE 0002 0100 01FE" - $"0002 0100 01FD 0000 01FA 0004 0100 0100" - $"01F8 001E 0100 0100 0100 0100 0100 0001" - $"0000 0100 0100 0100 0001 0001 0001 6072" - $"6C6C 6DE3 8E07 3828 1C12 0A05 0100 6DFD" - $"0004 0100 0002 22EC 8E02 786C 1FFE 0005" - $"0100 0100 0001 FE72 236C 0C00 0001 0001" - $"0000 0100 0001 0001 0001 0001 0000 0100" - $"0100 0100 0100 0100 0100 0100 01FA 000C" - $"0100 0100 0100 0100 0100 0100 01FE 0000" - $"01FE 0008 0100 0001 0001 0001 3DFE 7200" - $"66E2 8E07 3828 1C12 0A05 0100 6302 0000" - $"01FD 0001 0220 EC8E 1078 6C2E 0000 0100" - $"0100 0100 016C 6C72 7212 FE00 0501 0000" - $"0100 01FD 0000 01FD 0002 0100 01FE 0004" - $"0100 0100 01FB 0007 0100 0100 0100 0001" - $"F600 0501 0001 0000 01FE 0000 01FD 0004" - $"1972 726C 60E1 8E07 3828 1C12 0A05 0100" - $"68FE 0005 0100 0100 0222 EC8E 0278 6C2E" - $"FA00 0C01 0051 7272 6C12 0000 0100 0001" - $"FE00 0201 0001 FE00 0201 0001 FD00 0001" - $"FA00 0A01 0001 0001 0001 0001 0001 FE00" - $"1C01 0001 0001 0001 0001 0000 0100 0001" - $"0001 0001 0000 0100 002E 726C 7250 E18E" - $"0738 281C 120A 0501 006C 0800 0001 0001" - $"0000 0220 EC8E 1067 6C3D 0000 0100 0100" - $"0100 0057 726C 7212 FD00 1D01 0000 0100" - $"0001 0001 0001 0001 0000 0100 0100 0100" - $"0100 0100 0100 0100 01FA 000C 0100 0100" - $"0100 0100 0100 0100 01FE 0000 01FE 000A" - $"0100 0001 0001 106C 6C72 6FE0 8E07 3828" - $"1C12 0A05 0100 5FFA 0001 0222 EC8E 0267" - $"7246 FE00 0201 0001 FE00 0051 FE72 0312" - $"0000 01FE 0002 0100 01FD 0000 01FD 0002" - $"0100 01FE 0004 0100 0100 01FB 0007 0100" - $"0100 0100 0001 F600 0501 0001 0000 01FE" - $"0008 0100 0007 6C6C 7272 6DE0 8E07 3828" - $"1C12 0A05 0100 6A08 0000 0100 0100 0002" - $"20EC 8E05 5D6C 6000 0001 FD00 0601 0057" - $"6C72 7212 FE00 0201 0001 FE00 0201 0001" - $"FE00 0201 0001 FD00 0001 FA00 0A01 0001" - $"0001 0001 0001 0001 FE00 1201 0001 0001" - $"0001 0001 0000 0100 0001 0001 0001 FE00" - $"042E 7272 6C4B DF8E 0738 281C 120A 0501" - $"006A FE00 0501 0001 0002 22EC 8E02 5D72" - $"61FD 0005 0100 0100 0051 FE72 2214 0000" - $"0100 0100 0001 0000 0100 0100 0100 0100" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"FA00 0C01 0001 0001 0001 0001 0001 0001" - $"FE00 0001 FE00 0901 0000 010C 726C 724B" - $"76DF 8E07 3828 1C12 0A05 0100 5C02 0000" - $"01FD 0001 0220 EB8E 0F6C 7201 0000 0100" - $"0100 0001 516C 726C 19FB 0002 0100 01FD" - $"0000 01FD 0002 0100 01FE 0004 0100 0100" - $"01FB 0007 0100 0100 0100 0001 F600 0501" - $"0001 0000 01FE 0005 0100 2572 7253 DD8E" - $"0738 281C 120A 0501 0062 FD00 0401 0000" - $"0222 EB8E 026C 6C0B FB00 0201 0057 FE72" - $"0519 0000 0100 01FD 0002 0100 01FE 0002" - $"0100 01FD 0000 01FA 000A 0100 0100 0100" - $"0100 0100 01FE 0018 0100 0100 0100 0100" - $"0100 0001 0000 0100 0100 0100 0761 726C" - $"66DD 8E07 3828 1C12 0A05 0100 6908 0000" - $"0100 0001 0002 20EB 8E07 5472 1900 0001" - $"0001 FE00 0051 FE72 0019 FE00 1E01 0001" - $"0001 0000 0100 0100 0100 0100 0001 0001" - $"0001 0001 0001 0001 0001 0001 FA00 0C01" - $"0001 0001 0001 0001 0001 0001 FE00 0001" - $"FE00 0701 0001 476C 726C 76DD 8E07 3828" - $"1C12 0A05 0100 5EFE 0000 01FE 0001 0222" - $"EB8E 0253 7222 FE00 0C01 0001 0000 576C" - $"726C 1900 0001 FE00 0201 0001 FD00 0001" - $"FD00 0201 0001 FE00 0401 0001 0001 FB00" - $"0701 0001 0001 0000 01F6 0005 0100 0100" - $"0001 FE00 040B 7272 6C41 DC8E 0738 281C" - $"120A 0501 0065 0800 0001 0001 0000 0220" - $"EB8E 054B 6C2E 0000 01FE 0002 0100 51FE" - $"7205 1F00 0100 0001 FD00 0201 0001 FE00" - $"0201 0001 FD00 0001 FA00 0A01 0001 0001" - $"0001 0001 0001 FE00 1601 0001 0001 0001" - $"0001 0000 0100 0001 0001 0000 2372 725A" - $"DB8E 0738 281C 120A 0501 0062 FC00 0301" - $"0002 22EB 8E02 4872 51FD 0000 01FE 0004" - $"5772 6C72 1CFE 001E 0100 0100 0100 0001" - $"0001 0001 0001 0000 0100 0100 0100 0100" - $"0100 0100 0100 01FA 000C 0100 0100 0100" - $"0100 0100 0100 01FE 0000 01FE 0004 0101" - $"6172 53DA 8E07 3828 1C12 0A05 0100 5D08" - $"0000 0100 0100 0002 20EB 8E12 4272 5100" - $"0001 0000 0100 002E 7272 6C1F 0000 01FE" - $"0002 0100 01FD 0000 01FD 0002 0100 01FE" - $"0004 0100 0100 01FB 0007 0100 0100 0100" - $"0001 F600 0B01 0001 0000 0100 0019 6C72" - $"6FDA 8E07 3828 1C12 0A05 0100 62FE 0000" - $"01FE 0001 0222 EB8E 0B49 6C72 0100 0001" - $"0000 0100 2EFE 7200 1FFD 0000 01FD 0002" - $"0100 01FE 0002 0100 01FD 0000 01FA 000A" - $"0100 0100 0100 0100 0100 01FE 0015 0100" - $"0100 0100 0100 0100 0001 0000 0100 010C" - $"6072 6C73 DA8E 0738 281C 120A 0501 0064" - $"0800 0001 0000 0100 0220 EA8E 026C 720C" - $"FE00 2A01 0000 012E 7272 6C2A 0001 0001" - $"0001 0001 0000 0100 0100 0100 0100 0001" - $"0001 0001 0001 0001 0001 0001 0001 FA00" - $"0C01 0001 0001 0001 0001 0001 0001 FE00" - $"0001 FE00 0347 726C 48D9 8E07 3828 1C12" - $"0A05 0100 59FD 0004 0100 0002 22EA 8E0A" - $"6C72 1900 0001 0001 0000 2EFE 7203 2E00" - $"0001 FE00 0201 0001 FD00 0001 FD00 0201" - $"0001 FE00 0401 0001 0001 FB00 0701 0001" - $"0001 0000 01F6 000A 0100 0100 0001 0E72" - $"7253 76D9 8E07 3828 1C12 0A05 0100 5D02" - $"0000 01FD 0001 0220 EA8E 0260 722F FC00" - $"0601 002E 7272 6C2E FD00 0001 FD00 0201" - $"0001 FE00 0201 0001 FD00 0001 FA00 0A01" - $"0001 0001 0001 0001 0001 FE00 1301 0001" - $"0001 0001 0001 0000 0100 0001 0025 726C" - $"78D8 8E07 3828 1C12 0A05 0100 62FE 0005" - $"0100 0100 0222 EA8E 0A60 6C2E 0000 0100" - $"0100 012E FE72 222E 0000 0100 0001 0001" - $"0000 0100 0100 0100 0100 0001 0001 0001" - $"0001 0001 0001 0001 0001 FA00 0C01 0001" - $"0001 0001 0001 0001 0001 FE00 0601 0001" - $"576C 7264 D88E 0738 281C 120A 0501 0059" - $"0800 0001 0001 0000 0220 EA8E 0254 7251" - $"FE00 0001 FE00 0428 7272 6C2F FE00 0501" - $"0000 0100 01FD 0000 01FD 0002 0100 01FE" - $"0004 0100 0100 01FB 0007 0100 0100 0100" - $"0001 F600 0801 0001 0000 196C 724B D78E" - $"0738 281C 120A 0501 005A FA00 0102 22EA" - $"8E13 546C 7200 0001 0000 0100 196C 7272" - $"4700 0001 0001 FD00 0201 0001 FE00 0201" - $"0001 FD00 0001 FA00 0A01 0001 0001 0001" - $"0001 0001 FE00 1101 0001 0001 0001 0001" - $"0000 0100 0007 6C72 6CD6 8E07 3828 1C12" - $"0A05 0100 5D08 0000 0100 0100 0002 20EA" - $"8E02 4E6C 72FD 0007 0100 0117 726C 7246" - $"FC00 1C01 0001 0000 0100 0100 0100 0100" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"FA00 0C01 0001 0001 0001 0001 0001 0001" - $"FD00 032E 7272 41D6 8E07 3828 1C12 0A05" - $"0100 56FE 0005 0100 0100 0222 EA8E 065A" - $"7272 0800 0001 FE00 0D19 6C72 6C46 0000" - $"0100 0100 0100 01FD 0000 01FD 0002 0100" - $"01FE 0004 0100 0100 01FB 0007 0100 0100" - $"0100 0001 F600 0601 0001 086C 7254 D58E" - $"0738 281C 120A 0501 005B 0200 0001 FD00" - $"0102 20EA 8E03 5A72 720C FD00 0201 0017" - $"FE72 0446 0001 0001 FC00 0201 0001 FE00" - $"0201 0001 FD00 0001 FA00 0A01 0001 0001" - $"0001 0001 0001 FE00 1001 0001 0001 0001" - $"0001 0000 0100 1C72 726F D58E 0738 281C" - $"120A 0501 005C FD00 0401 0000 0222 EA8E" - $"068A 726C 1200 0001 FE00 0419 6C72 7251" - $"FC00 1C01 0001 0000 0100 0100 0100 0100" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"FA00 0C01 0001 0001 0001 0001 0001 0001" - $"FE00 033E 6C72 73D5 8E07 3828 1C12 0A05" - $"0100 5608 0000 0100 0001 0002 20EA 8E03" - $"786C 7219 FE00 1001 0000 0172 726C 6100" - $"0001 0001 0001 0001 FD00 0001 FD00 0201" - $"0001 FE00 0401 0001 0001 FB00 0701 0001" - $"0001 0000 01F6 0005 0100 1772 7248 D48E" - $"0738 281C 120A 0501 005B FE00 0001 FE00" - $"0102 22EA 8E0A 786C 6C19 0000 0100 0100" - $"01FE 7200 60FE 0000 01FC 0002 0100 01FE" - $"0002 0100 01FD 0000 01FA 000A 0100 0100" - $"0100 0100 0100 01FE 000F 0100 0100 0100" - $"0100 0100 0001 3D72 7270 D48E 0738 281C" - $"120A 0501 005C 0800 0001 0001 0000 0220" - $"EA8E 0378 6C72 1BFC 0027 0101 7272 6C60" - $"0000 0100 0001 0001 0000 0100 0100 0100" - $"0100 0001 0001 0001 0001 0001 0001 0001" - $"0001 FA00 1101 0001 0001 0001 0001 0001" - $"0001 000E 7272 66D3 8E07 3828 1C12 0A05" - $"0100 4FFC 0003 0100 0222 EA8E 0A67 6C72" - $"1F00 0001 0001 0001 FE72 0060 FD00 0401" - $"0001 0001 FD00 0001 FD00 0201 0001 FE00" - $"0401 0001 0001 FB00 0701 0001 0001 0000" - $"01F5 0002 226C 51D2 8E07 3828 1C12 0A05" - $"0100 5908 0000 0100 0100 0002 20EA 8E03" - $"6772 6C28 FE00 0A01 0000 0172 726C 6100" - $"0001 FB00 0201 0001 FE00 0201 0001 FD00" - $"0001 FA00 0A01 0001 0001 0001 0001 0001" - $"FE00 0D01 0001 0001 0001 0001 0003 5772" - $"6ED2 8E07 3828 1C12 0A05 0100 5CFE 0000" - $"01FE 0001 0222 EA8E 0E64 6C72 2E00 0001" - $"0000 0100 6072 7260 FE00 1E01 0001 0001" - $"0000 0100 0100 0100 0100 0001 0001 0001" - $"0001 0001 0001 0001 0001 FA00 1001 0001" - $"0001 0001 0001 0001 0000 236C 725D D28E" - $"0738 281C 120A 0501 0053 0800 0001 0000" - $"0100 0220 EA8E 036D 726C 38FD 000F 0100" - $"0060 726C 6000 0001 0001 0001 0001 FD00" - $"0001 FD00 0201 0001 FE00 0401 0001 0001" - $"FB00 0701 0001 0001 0000 01F7 0003 016C" - $"726C D18E 0738 281C 120A 0501 0055 FD00" - $"0401 0000 0222 EA8E 065D 6C72 4600 0001" - $"FD00 0461 6C72 6C01 FB00 0405 0B04 0001" - $"FE00 0201 0001 FD00 0001 FA00 0A01 0001" - $"0001 0001 0001 0001 FE00 0C01 0001 0001" - $"0001 0001 3872 6C58 D18E 0738 281C 120A" - $"0501 0059 0200 0001 FD00 0102 20EA 8E03" - $"766C 7251 FE00 0C01 0317 1961 726C 722E" - $"5751 5761 FD72 1819 0000 0100 0100 0100" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"FA00 0E01 0001 0001 0001 0001 0001 0E72" - $"6C54 D08E 0738 281C 120A 0501 0052 FE00" - $"0501 0001 0002 22EC 8E0E 5D49 4872 726C" - $"2E2E 5761 7272 6C72 6CFA 7204 6C72 6C72" - $"19FE 0000 01FD 0002 0100 01FE 0004 0100" - $"0100 01FB 0007 0100 0100 0100 0001 F800" - $"031A 7272 6FD0 8E07 3828 1C12 0A05 0100" - $"6008 0000 0100 0100 0002 20F1 8E08 785A" - $"5260 6C72 6C72 6CFD 721A 6C72 6C72 726C" - $"726C 726C 726C 726C 726C 726C 1B00 0001" - $"0000 0100 01FD 0000 01FA 000A 0100 0100" - $"0100 0100 0100 01FE 000B 0100 0100 0100" - $"0100 3E72 6C73 D08E 0738 281C 120A 0501" - $"005C FA00 0102 22F1 8E37 5472 6C72 6C72" - $"726C 726C 726C 7272 6C72 6C72 726C 726C" - $"726C 726C 726C 726C 721F 0001 0000 0100" - $"0100 0001 0001 0001 0001 0001 0001 0001" - $"0001 FA00 0D01 0001 0001 0001 0001 0017" - $"7272 4ECF 8E07 3828 1C12 0A05 0100 5D08" - $"0000 0100 0100 0002 20F1 8E1F 5372 726C" - $"726C 7272 6C72 6C72 6C72 726C 726C 7272" - $"6C72 6C72 6C72 6C72 6C72 6C1C FE00 0001" - $"FD00 0201 0001 FE00 0401 0001 0001 FB00" - $"0701 0001 0001 0000 01FA 0004 0C61 7260" - $"6DCF 8E07 3828 1C12 0A05 0100 5EFE 0005" - $"0100 0100 0222 F18E 0054 FE72 236C 726C" - $"7272 6C72 6C72 6C72 726C 726C 7272 6C72" - $"6C72 6C72 6C72 6C72 1F00 0001 0000 0100" - $"01FD 0000 01FA 000A 0100 0100 0100 0100" - $"0100 01FE 0009 0100 0100 0100 516C 7249" - $"CE8E 0738 281C 120A 0501 005D 0200 0001" - $"FD00 0102 20F1 8E1F 4E72 6C72 726C 726C" - $"7272 6C72 6C72 6C72 726C 726C 7272 6C72" - $"6C72 6C72 6C72 6C1F FD00 1301 0001 0000" - $"0100 0100 0100 0100 0100 0100 0100 01FA" - $"000B 0100 0100 0100 0100 0772 726C CD8E" - $"0738 281C 120A 0501 005A FD00 0401 0000" - $"0222 F18E 2348 6C72 6C72 726C 726C 7272" - $"6C72 6C72 6C72 726C 726C 7272 6C72 6C72" - $"6C72 6C6C 1B00 0100 01FD 0002 0100 01FE" - $"0004 0100 0100 01FB 0007 0100 0100 0100" - $"0001 FB00 031F 6C72 5ACD 8E07 3828 1C12" - $"0A05 0100 5E08 0000 0100 0001 0002 20F1" - $"8E1E 4372 6C72 6C72 726C 726C 7272 6C72" - $"6C72 6C72 726C 726C 726C 513E 2E19 1901" - $"01FE 0005 0100 0001 0001 FD00 0001 FA00" - $"0A01 0001 0001 0001 0001 0001 FE00 0801" - $"0001 0001 516C 6C6A CD8E 0738 281C 120A" - $"0501 0058 FE00 0001 FE00 0102 22F1 8E17" - $"496C 726C 726C 7272 6C72 6C72 726C 726C" - $"726C 7272 6C72 0101 F800 1601 0000 0100" - $"0100 0001 0001 0001 0001 0001 0001 0001" - $"0001 FA00 0701 0001 0001 0001 0CFE 7200" - $"76CD 8E07 3828 1C12 0A05 0100 5408 0000" - $"0100 0100 0002 20F1 8E01 7653 FB60 0E6C" - $"7272 2F2F 1F1B 1912 0C6C 6C72 6C01 F800" - $"0301 0000 01FD 0002 0100 01FE 0004 0100" - $"0100 01FB 0007 0100 0100 0100 0001 FD00" - $"0403 516C 7249 CC8E 0738 281C 120A 0501" - $"0068 FC00 0301 0002 22E9 8E03 496C 6C03" - $"FB00 0360 726C 60FD 0004 0100 0100 01FE" - $"0005 0100 0001 0001 FD00 0001 FA00 0A01" - $"0001 0001 0001 0001 0001 FE00 0601 0000" - $"1972 7248 FD8E 0058 FA3B 075C 648E 4D3A" - $"3333 36FD 4D00 55F9 8E04 7631 545C 36F1" - $"8E07 3828 1C12 0A05 0100 8108 0000 0100" - $"0100 0002 20E9 8E03 4972 7211 FB00 0360" - $"7272 60FE 001E 0100 0100 0100 0100 0100" - $"0001 0001 0000 0100 0100 0100 0100 0100" - $"0100 0100 01FA 0009 0100 0100 0100 3872" - $"6077 FD8E 245E 6C60 2E2A 2328 2F6C 5965" - $"462A 3E6C 303E 383E 723B 775A 484B 5A77" - $"8E8E 6561 2828 5366 8E8E FD6C 0371 8E68" - $"68FC 8E07 3828 1C12 0A05 0100 7FFE 0000" - $"01FE 0001 0222 E98E 1049 6C72 1900 0001" - $"0001 0060 726C 6100 0001 FA00 0301 0000" - $"01FD 0002 0100 01FE 0004 0100 0100 01FB" - $"0007 0100 0100 0100 0001 FE00 030C 726C" - $"6FFC 8E02 5E6C 0CFD 0026 0572 5E8A 1800" - $"1B72 304A 1900 6C4B 4E6C 6C2F 7266 8E8E" - $"4B22 0000 084B 8E8E 6C00 0023 6C4B 6C6C" - $"4DFD 8E07 3828 1C12 0A05 0100 8208 0000" - $"0100 0001 0002 20E9 8E03 496C 7219 FE00" - $"0601 0000 5772 7260 FD00 0401 0001 0001" - $"FE00 0501 0000 0100 01FD 0000 01FA 000A" - $"0100 0100 0100 0100 0100 01FE 0005 0101" - $"3E72 7265 FC8E 025E 6C0C FE00 1801 0C47" - $"5E6A 1F00 196C 304A 1500 7272 6C22 0100" - $"114B 8E8E 5C08 FE00 063E 768E 6C00 0023" - $"FD6C 005A FD8E 0738 281C 120A 0501 007F" - $"FD00 0401 0000 0222 E98E 0649 6C72 1F00" - $"0001 FE00 2546 7272 6000 0001 0000 0100" - $"0100 0100 0100 0001 0001 0000 0100 0100" - $"0100 0100 0100 0100 0100 01FA 0008 0100" - $"0100 1F72 7253 76FC 8E03 656C 0C00 FC72" - $"0C5E 8A2B 0011 8976 7E0C 0038 6012 FD00" - $"034B 8E3A 3EFD 000B 2C3A 8E60 0000 1B11" - $"0100 194B FD8E 0738 281C 120A 0501 0079" - $"0200 0001 FD00 0102 20E9 8E03 496C 722E" - $"FD00 0501 0046 7272 60FE 0000 01FB 0003" - $"0100 0001 FD00 0201 0001 FE00 0401 0001" - $"0001 FB00 0D01 0001 0001 0000 0100 0572" - $"726C 58FB 8E05 786C 0C0C 6C54 FE3B 0B70" - $"6A2E 000C 898E 7E0C 0025 09FC 0003 4E8E" - $"4423 FD00 0323 318E 6CFB 0001 194E FD8E" - $"0738 281C 120A 0501 007D FE00 0501 0001" - $"0002 22E9 8E06 496C 722E 0000 01FE 000C" - $"2857 5160 0000 0100 0100 0100 01FE 0005" - $"0100 0001 0001 FD00 0001 FA00 0A01 0001" - $"0001 0001 0001 0001 FE00 0317 7272 53FA" - $"8E05 786C 0C0C 6C5A FD8E 098A 5400 1A89" - $"8E7E 0C00 01FE 000E 0100 0052 6871 1F00" - $"011F 001F 3B8E 60FB 0001 194E FD8E 0738" - $"281C 120A 0501 007C 0800 0001 0001 0000" - $"0220 E98E 0349 6C72 47FE 0002 0100 01F8" - $"001C 0100 0100 0100 0100 0001 0001 0000" - $"0100 0100 0100 0100 0100 0100 0100 01FA" - $"0006 0100 002E 726C 6EFA 8E05 786C 0C0C" - $"6C78 FD8E 0764 796C 6C8A 887E 0CFE 0018" - $"0C0C 0001 0046 216C 0C00 2538 0017 3B8E" - $"5300 000B 2807 0019 52FD 8E07 3828 1C12" - $"0A05 0100 72FA 0001 0222 E98E 0449 6C72" - $"6C01 FE00 0001 FB00 0201 0001 FB00 0301" - $"0000 01FD 0002 0100 01FE 0004 0100 0100" - $"01FB 000C 0100 0100 0100 0001 0772 6C72" - $"77FA 8E05 786C 0C14 6C65 F88E 1E4D 6C01" - $"0001 3872 720E 0000 4A30 7205 0972 6100" - $"113B 8E3E 0000 1972 1B00 194E FD8E 0738" - $"281C 120A 0501 0084 0800 0001 0001 0000" - $"0220 FA8E 0065 F078 056C 6C72 1900 01FE" - $"0015 0100 0100 0100 0100 0100 0907 0001" - $"0000 0100 0001 0001 FD00 0001 FA00 1001" - $"0001 0001 0001 0001 0001 0003 4672 6C66" - $"F98E 0578 6C0C 196C 5EFE 8E24 3A48 4B48" - $"4B52 246C 0000 1272 386C 2800 053E 574A" - $"0022 6B81 0710 6E8E 4800 0025 7222 000E" - $"52FD 8E07 3828 1C12 0A05 0100 7FFE 0005" - $"0100 0100 0222 FA8E EE6C 0472 6C72 726C" - $"FE72 256C 726C 726C 726C 726C 726C 721B" - $"0000 0100 0001 0001 0000 0100 0100 0100" - $"0100 0100 0100 0100 01F9 0003 2E72 7248" - $"F88E 0567 7F0C 1972 58FE 8E24 336C 3E2E" - $"3E86 8E7E 0100 1C72 276C 2E00 0C4A 6C28" - $"0051 6F65 3860 6F8E 4800 002E 5125 000C" - $"4EFD 8E07 3828 1C12 0A05 0100 9202 0000" - $"01FD 0001 0220 FB8E 2950 6C72 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C72 726C 726C" - $"7272 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 22FE 0000 01FD 0002 0100 01FE 0004" - $"0100 0100 01FB 000A 0100 0100 0100 0372" - $"726C 70F8 8E05 6787 0C2E 6C58 FE8E 2433" - $"6C0F 001B 868E 7E01 002C 7224 722E 0011" - $"4672 1900 725E 8A71 4B8E 8E48 0001 462E" - $"2E00 0C4E FD8E 0738 281C 120A 0501 0090" - $"FD00 0401 0000 0222 FB8E 3154 726C 726C" - $"726C 726C 726C 726C 726C 726C 726C 7272" - $"6C72 6C72 726C 726C 726C 726C 726C 726C" - $"726C 726C 723D 1B03 0000 0100 01FD 0000" - $"01FA 000F 0100 0100 0100 0100 0100 0019" - $"6C72 5A88 F88E 058A 710C 2E6C 55FE 8E18" - $"3372 0400 1B6F 8E63 0000 3E7E 6D6C 1900" - $"1A46 720F 0572 4D8E 58FE 8E08 4800 0054" - $"3A3C 1125 52FD 8E07 3828 1C12 0A05 0100" - $"9108 0000 0100 0001 0002 20FC 8E2D 5D6C" - $"7272 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 6C72 726C 726C 7272 6C72 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 7219 FE00 1101" - $"0000 0100 0100 0100 0100 0100 0100 0100" - $"01FA 0003 3872 6C65 F78E 056A 6C0C 2E6C" - $"68FE 8E16 3351 0000 2351 243E 0000 7281" - $"736C 1400 2E46 7208 0581 76FC 8E08 4800" - $"006B 8E6B 6C72 5AFD 8E07 3828 1C12 0A05" - $"0100 97FE 0000 01FE 0001 0222 FC8E 3565" - $"6C6C 7272 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 6C72 6C72 726C 726C 7272 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C72 1400 0001" - $"0000 0100 01FE 0004 0100 0100 01FB 000C" - $"0100 0100 0101 6C72 6C77 8E8E 58FD 4908" - $"678E 8E8A 6C0C 3872 68FE 8E15 333E 0000" - $"2530 243E 0003 726C 5E6C 0C00 3D3D 6C00" - $"0581 FC8E 0975 4800 006B 8E7E 6C35 55FD" - $"8E07 3828 1C12 0A05 0100 9508 0000 0100" - $"0100 0002 20FC 8E2D 786C 726C 7272 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"726C 726C 7272 6C72 6C72 6C72 6C72 6C72" - $"6C72 6C72 6C10 FD00 0001 FD00 0001 FA00" - $"0A01 0001 0001 0001 0001 0038 FE72 106C" - $"6C72 726C 726C 725A 8E8E 6A6C 0C6C 6C68" - $"FE8E 2133 3800 002A 2D27 3E00 056C 4478" - $"6C04 0172 3072 0005 818E 785A 5A4E 3334" - $"000A 4E8E 58FA 8E07 3828 1C12 0A05 0100" - $"91FC 0003 0100 0222 FA8E 0148 6CFE 7229" - $"6C72 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 726C 726C 7272 6C72 6C72 6C72 6C72" - $"6C72 6C72 6C72 0900 0001 FE00 0E01 0001" - $"0001 0001 0001 0001 0001 0001 FC00 140E" - $"726C 726C 7272 6C72 726C 7272 4B8E 8E8A" - $"710C 6C6C FD8E 1F33 2E00 002E 2432 3E00" - $"0C6C 316E 3E00 0572 326C 0005 818E 6319" - $"226C 242E 000C 4EF8 8E07 3828 1C12 0A05" - $"0100 9108 0000 0100 0100 0002 20F9 8E29" - $"7765 5A60 6C72 726C 726C 726C 726C 726C" - $"726C 726C 726C 7272 6C72 6C72 726C 726C" - $"726C 726C 726C 726C 7260 FD00 0401 0001" - $"0001 FE00 0401 0001 0001 FB00 1801 0001" - $"0023 7272 6C72 6C72 726C 7272 6C6C 4E8E" - $"8E64 800C 6C71 FD8E 1F33 2E00 0038 2132" - $"3800 0C81 7665 2500 0C6C 5A6C 0005 6B42" - $"2D00 1251 242E 000B 4BF8 8E07 3828 1C12" - $"0A05 0100 8CFE 0000 01FE 0001 0222 F58E" - $"0258 526C FE72 256C 726C 726C 726C 726C" - $"726C 726C 7272 6C72 6C72 726C 726C 726C" - $"726C 726C 726C 2F00 0001 0000 01FD 0000" - $"01FA 001E 0100 0100 0100 0100 0161 726C" - $"726C 726C 7272 6C72 726C 548E 8E48 6C0C" - $"6C6C 76FE 8E1F 332E 0000 461E 322E 0012" - $"818E 7818 0012 6C78 6C00 006C 6C25 001B" - $"3024 2E00 0C48 F88E 0738 281C 120A 0501" - $"008F 0800 0001 0000 0100 0220 F38E 0149" - $"54FE 721E 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 726C 726C 7272 6C72 6C72 6C72 6C72" - $"6C72 11FE 0000 01FE 000E 0100 0100 0100" - $"0100 0100 0100 0100 01FD 0039 1272 6C72" - $"6C72 6C72 6C72 726C 7272 548E 8E48 6C0C" - $"386C 3133 4D55 3323 0000 511E 322E 0012" - $"6C8E 4B0D 0014 4478 6C00 0072 7219 001C" - $"2B32 2E01 1148 F88E 0738 281C 120A 0501" - $"008A FD00 0401 0000 0222 F28E 2B88 6478" - $"4E6C 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"726C 726C 7272 6C72 6C72 6C72 6C72 5101" - $"0000 0100 0100 0100 01FE 0004 0100 0100" - $"01FB 0004 0100 0751 6CFE 7234 6C72 6C72" - $"6C72 726C 7254 8E8E 4872 0C1C 2F3E 616C" - $"3824 2500 016C 7671 2E00 194E 8E4E 0800" - $"1B37 786C 0400 2C23 0100 2A21 322E 0019" - $"6FF8 8E07 3828 1C12 0A05 0100 7F02 0000" - $"01FD 0001 0220 EE8E 1D70 416C 726C 726C" - $"726C 726C 726C 726C 7272 6C72 6C72 726C" - $"726C 726C 726C 1BFB 0000 01FD 0000 01FA" - $"0007 0100 0100 0100 0138 FE72 076C 7272" - $"6C72 6C72 6CFE 7205 658E 8E4B 6C0C FD00" - $"1572 3824 2500 056C 8E6C 2E00 1B37 8E60" - $"0000 2333 786C 0CFC 0006 5476 3B2E 0019" - $"5AF8 8E07 3828 1C12 0A05 0100 86FE 0005" - $"0100 0100 0222 EC8E 205D 536C 7272 6C72" - $"6C72 6C72 6C72 6C72 726C 726C 7272 6C72" - $"6C72 6C72 0100 0001 0001 FE00 2001 0001" - $"0001 0001 0001 0001 0001 0001 0000 036C" - $"726C 7272 6C72 726C 726C 726C 5349 FE8E" - $"0248 6C0C FD00 1572 6562 2500 0C4E 8E71" - $"2E00 2333 8E6C 0000 2533 786C 19FD 0007" - $"0B52 8E3B 2800 285A F88E 0738 281C 120A" - $"0501 0082 0800 0001 0001 0000 0220 EA8E" - $"236A 4B6C 6C72 726C 726C 726C 726C 7272" - $"6C72 6C72 726C 726C 7260 1912 0900 0100" - $"0001 0000 01FE 0004 0100 0100 01FA 000D" - $"1972 6C72 6C72 726C 7272 6C53 6F6A FC8E" - $"2948 7247 3E38 2E2E 6C8A 553C 1B23 523A" - $"602E 1038 333A 6005 0F3E 3365 6C38 0000" - $"010B 5766 883B 2F12 3E66 88F9 8E07 3828" - $"1C12 0A05 0100 79FA 0001 0222 E98E 2049" - $"6C72 6C72 726C 726C 726C 726C 7272 6C72" - $"6C72 726C 726C 726C 726C 7251 3817 0B01" - $"FE00 0001 FA00 1001 0001 0001 0038 7272" - $"6C72 6C72 726C 4E49 F98E 244E 796C 6C71" - $"6C6C 716A 7572 726C 484D 6C72 726C 5540" - $"6C72 726C 3376 446C 382C 7272 6C4D 8E3B" - $"FE72 0166 88F9 8E07 3828 1C12 0A05 0100" - $"7408 0000 0100 0100 0002 20E8 8E1B 6C6C" - $"726C 7272 6C72 6C72 6C72 6C72 726C 726C" - $"7272 6C72 6C72 6C72 726C FE72 1A6C 573C" - $"281C 1A12 0C01 0100 0100 0100 0100 0C6C" - $"6C72 726C 7254 6E6A ED8E 1E55 6868 8E68" - $"6258 584D 8E55 4878 6562 768E 8E73 648A" - $"786A 768E 8E76 625E 7873 F88E 0738 281C" - $"120A 0501 007A FE00 0501 0001 0002 22E8" - $"8E19 5472 6C72 6C72 726C 726C 726C 726C" - $"7272 6C72 6C72 726C 726C 726C FE72 026C" - $"726C F972 0E61 3C23 1701 0000 013D 7272" - $"6C72 7249 F58E 1C73 4E63 7F87 6C87 876C" - $"8787 7F87 6C87 7F87 6C7F 877F 8772 877F" - $"714E 6363 FE78 025A 634E FE63 0160 7FFE" - $"8702 6C87 6CFC 8E07 3828 1C12 0A05 0100" - $"5102 0000 01FD 0001 0220 E88E 2048 6C72" - $"6C72 6C72 726C 726C 726C 726C 7272 6C72" - $"6C72 726C 726C 726C 726C 726C 726C FC72" - $"006C FE72 0B6C 726C 5138 2E72 726C 726C" - $"50F4 8E00 5FD4 90FC 8E07 3828 1C12 0A05" - $"0100 6BFD 0004 0100 0002 22E8 8E2B 496C" - $"7272 6C72 6C72 726C 726C 726C 726C 7272" - $"6C72 6C72 726C 726C 726C 726C 726C 726C" - $"726C 726C 726C 726C 726C FA72 014E 73F3" - $"8E00 5FFE 90FB 8C09 6C72 616C 616C 616C" - $"616C F690 023C 3D72 FE90 056C 1F22 1F22" - $"4FFE 90FC 8E07 3828 1C12 0A05 0100 6608" - $"0000 0100 0001 0002 20E7 8E2B 6C72 6C72" - $"6C72 6C72 726C 726C 726C 726C 7272 6C72" - $"6C72 726C 726C 726C 726C 726C 726C 726C" - $"726C 726C 726C 726C FE72 026C 7241 F18E" - $"0356 9090 1FF2 0000 17F7 9003 8C00 0017" - $"FE90 003D FD00 0017 FE90 FC8E 0738 281C" - $"120A 0501 0065 FE00 0001 FE00 0102 22E7" - $"8E30 606C 726C 726C 726C 7272 6C72 6C72" - $"6C72 6C72 726C 726C 7272 6C72 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 4EF0 8E03 5F90 901F F200 001C F790" - $"038C 0000 17FE 9005 803D 3E3E 0E00 FE90" - $"FC8E 0738 281C 120A 0501 0071 0800 0001" - $"0001 0000 0220 E78E 3054 726C 726C 726C" - $"726C 7272 6C72 6C72 6C72 6C72 726C 726C" - $"7272 6C72 6C72 6C72 6C72 6C72 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C73 F08E 035F 9090" - $"3DFC 1F04 1A01 0001 19FC 1C00 38FE 9001" - $"5128 FE1C 053E 908C 0000 17FA 9001 1700" - $"FE90 FC8E 0738 281C 120A 0501 0065 FC00" - $"0301 0002 22E7 8E00 5AFD 722A 6C72 6C72" - $"6C72 726C 726C 726C 726C 7272 6C72 6C72" - $"726C 726C 726C 726C 726C 726C 726C 726C" - $"726C 726C 726C 48EF 8E00 56F9 9004 6100" - $"0100 8CF9 9000 22FC 0005 6090 8C00 001C" - $"FA90 0419 008C 9090 FC8E 0738 281C 120A" - $"0501 006A 0800 0001 0001 0000 0220 E78E" - $"2F6F 6C6C 726C 726C 726C 726C 7272 6C72" - $"6C72 6C72 6C72 726C 726C 7272 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C72 6C72 6C54" - $"76EF 8E00 66F9 9000 57FE 00F9 900C 3E01" - $"0003 388C 8C90 908C 0000 1BFA 9004 1700" - $"8C90 90FC 8E07 3828 1C12 0A05 0100 69FE" - $"0000 01FE 0001 0222 E78E 2E78 6C72 6C72" - $"6C72 6C72 6C72 6C72 726C 726C 726C 726C" - $"7272 6C72 6C72 726C 726C 726C 726C 726C" - $"726C 726C 726C 726C 7270 EE8E 0063 F990" - $"033C 0100 00F9 9000 1CFE 0008 576C 8C90" - $"9061 0000 1CFA 9004 1900 8C90 90FC 8E07" - $"3828 1C12 0A05 0100 6908 0000 0100 0001" - $"0002 20E7 8E2D 656C 6C72 6C72 6C72 6C72" - $"6C72 6C72 726C 726C 726C 726C 7272 6C72" - $"6C72 726C 726C 726C 726C 726C 726C 726C" - $"726C 7254 ED8E 004E F990 033D 0100 00F9" - $"9001 6003 FE00 0701 0C90 9061 0000 1BFA" - $"9004 1700 8C90 90FC 8E07 3828 1C12 0A05" - $"0100 6BFD 0004 0100 0002 22E7 8E2D 736C" - $"726C 726C 726C 726C 726C 726C 7272 6C72" - $"6C72 6C72 6C72 726C 726C 7272 6C72 6C72" - $"6C72 6C72 6C72 6C72 6C72 6C6E ED8E 0063" - $"F990 0357 170E 0EF8 9001 471A FE17 0623" - $"9090 6100 001C FE90 0938 1C19 1903 008C" - $"9090 88FD 8E07 3828 1C12 0A05 0100 5B02" - $"0000 01FD 0001 0220 E68E 2C41 4E6C 6C72" - $"6C72 6C72 6C72 6C72 6C72 726C 726C 726C" - $"726C 7272 6C72 6C72 726C 726C 726C 726C" - $"726C 726C 726C 725D ED8E 007F E490 038C" - $"3D72 8CFE 9004 383C 3E72 6CFD 9000 73FD" - $"8E07 3828 1C12 0A05 0100 49FE 0005 0100" - $"0100 0222 E48E 0476 3F4B 6C6C FE72 216C" - $"726C 726C 7272 6C72 6C72 6C72 6C72 726C" - $"726C 7272 6C72 6C72 6C72 6C72 6C72 6C72" - $"6CEC 8E00 87D4 9000 7DFD 8E07 3828 1C12" - $"0A05 0100 4D08 0000 0100 0100 0002 20E0" - $"8E05 5D78 785A 536C FE72 1C6C 7272 6C72" - $"6C72 6C72 6C72 726C 726C 7272 6C72 6C72" - $"6C72 6C72 6C72 6C48 EC8E 0078 ED8A F889" - $"F68A 0365 7873 77FB 8E07 3828 1C12 0A05" - $"0100 33FA 0001 0222 DA8E 1F43 6C6C 726C" - $"7272 6C72 6C72 6C72 6C72 726C 726C 7272" - $"6C72 6C72 6C72 6C72 6C72 50B9 8E07 3828" - $"1C12 0A05 0100 3508 0000 0100 0100 0002" - $"20D8 8E06 7765 6F4B 606C 6CFE 7212 6C72" - $"6C72 726C 726C 7272 6C72 6C72 6C72 6C72" - $"6CB8 8E07 3828 1C12 0A05 0100 30FE 0005" - $"0100 0100 0222 D48E 1876 4160 6C72 6C72" - $"6C72 6C72 726C 726C 7272 6C72 6C72 604B" - $"4277 B88E 0738 281C 120A 0501 002A 0200" - $"0001 FD00 0102 20D2 8E12 7748 6C72 6C72" - $"6C72 6C72 726C 726C 7272 5443 49B4 8E07" - $"3828 1C12 0A05 0100 23FD 0004 0100 0002" - $"22CF 8E0C 6A5A 5472 6C6C 5352 5A78 786A" - $"76B1 8E07 3828 1C12 0A05 0100 1A08 0000" - $"0100 0001 0002 20CC 8E01 7758 A98E 0738" - $"281C 120A 0501 0016 FE00 0001 FE00 0102" - $"2281 8EF2 8E07 3828 1C12 0A05 0100 1708" - $"0000 0100 0100 0002 2081 8EF2 8E07 3828" - $"1C12 0A05 0100 14FC 0003 0100 0222 818E" - $"F28E 0738 281C 120A 0501 00A2 7F00 0001" - $"0001 0000 0213 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 2022 2022" - $"2022 2022 2022 2022 2022 2022 201F 2220" - $"2220 2220 2220 2220 2220 2220 2220 2220" - $"2220 2220 2220 3B25 1F12 0A05 0100 16FE" - $"0000 01FE 0001 0208 810A F20A 072E 281F" - $"120A 0501 0019 0900 0001 0000 0100 0002" - $"0481 06F4 0608 0430 281F 120A 0501 0013" - $"FD00 0001 FC00 8102 F302 0738 281F 120A" - $"0501 0015 0200 0001 FC00 0001 8100 F200" - $"0738 251F 120A 0501 0038 FE00 0501 0001" - $"0000 01F8 0000 03FD 0002 1214 07E3 0009" - $"0307 080C 1214 112A 2E1F E300 0901 0A0C" - $"0C07 0000 1722 1FD3 0007 3828 1C12 0A05" - $"0100 4B07 0000 0100 0100 0001 F900 0903" - $"2572 2A00 0014 6C6C 11F5 0008 0519 0C00" - $"0003 0C0C 01FD 0005 031F 343E 6C72 FC6C" - $"0334 2F6C 2FE4 0001 013E FE6C 0522 0000" - $"6C72 2FD3 0007 3428 1F12 0A05 0100 97F9" - $"002E 0100 0001 0001 0001 126C 7272 0A00" - $"3D6C 6C1B 0001 051C 2F25 0B00 0119 6C60" - $"6172 1B00 1260 6C6C 470C 0000 0105 6C72" - $"6CFA 7261 2F47 6C34 0000 0100 0100 0B1B" - $"1A14 0001 0001 000A 0A05 1C1A 0B00 0100" - $"0100 0100 013D 6C6C 7272 2F00 056C 6C34" - $"0000 0100 0105 1C13 0719 1C13 0300 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0105 0C0A 0100 0100 0100 0100 0100 3828" - $"1C12 0A05 0100 A007 0000 0100 0100 0001" - $"FD00 0901 0001 0014 7272 6C51 3CFE 720A" - $"2500 1F72 6C6C 726C 2E08 25FE 720C 6C1F" - $"2F6C 5125 1B51 6C17 0000 05FE 4703 516C" - $"726C FE47 1923 6C6C 2A12 1F19 0500 256C" - $"726C 7261 2F0A 003E 7272 6C72 6C51 0EFE" - $"0044 0100 0019 7272 3822 2522 0007 7272" - $"3E23 2F2A 1701 0C6C 726C 6C72 7219 0E28" - $"3447 2F1B 070E 473C 1F25 1A2A 342F 0E00" - $"0E38 6C6C 7238 0700 0100 0100 0100 0134" - $"281F 120A 0501 008B FE00 0801 0001 0000" - $"0100 0001 FD00 0213 726C FB72 172F 036C" - $"7272 1414 6172 2A28 726C 3E07 1172 6C19" - $"0828 7272 3EFB 0008 0C72 726C 0800 0001" - $"6CFD 720D 6C6C 0719 382A 2A6C 726C 2E00" - $"726C FB72 0804 0001 0000 012A 7228 FC00" - $"0305 6C72 6CFE 7203 6C13 0C6C FD72 036C" - $"146C 72FE 6C03 726C 236C FC72 FE6C 0808" - $"7272 340C 1972 4701 FA00 0738 281C 120A" - $"0501 0096 0200 0001 FC00 0001 FD00 2601" - $"0000 1372 726C 726C 726C 6C60 0C72 6C19" - $"0000 2E72 2F28 6C72 0A00 126C 7272 6C72" - $"6C47 1700 0001 FE00 0B05 6C72 7205 0000" - $"056C 7272 6CFE 7202 1900 1FFC 720A 6101" - $"6C72 7247 1B47 6C72 11FE 0004 0100 2F6C" - $"0CFE 0002 0100 07FE 7200 6CFE 7210 280C" - $"7272 6C2A 0C11 1F72 380C 0C19 7272 34F8" - $"7217 1B72 6C0F 0528 6C6C 0500 0001 0001" - $"0000 3428 1F12 0A05 0100 9FFD 0003 0100" - $"0001 FE00 6701 0000 0100 1372 6C3E 7272" - $"5147 6C72 0A6C 7228 0C19 516C 2A25 7272" - $"0000 0E72 726C 512F 3860 1A01 0000 0100" - $"0100 6172 7205 0000 0772 726C 2A38 6C72" - $"3C08 6172 120C 1F72 6C1A 6172 6C0B 0001" - $"4772 1F00 0001 0000 2F6C 3813 131C 2E1F" - $"0A6C 726C 1911 6C6C 5101 726C 72FE 001A" - $"2372 1900 000B 726C 4672 6014 2E6C 720A" - $"2E72 2F6C 7251 7261 383C 11FE 000B 0100" - $"0100 3828 1C12 0A05 0100 9C08 0000 0100" - $"0001 0000 01FE 0010 0100 0001 1372 7212" - $"146C 0A34 726C 0C34 6CFE 7205 6C47 0328" - $"6C72 FE00 0813 7272 6C6C 7272 5101 FE00" - $"0E01 0000 4772 7205 0000 0B72 6C1B 0005" - $"FE72 1105 6C6C 1B3C 726C 723C 4772 7205" - $"0000 2572 2EFD 0001 0123 FA72 0C1B 726C" - $"2500 001A 726C 1372 7260 FE00 1D19 6C72" - $"382A 4F72 722E 7228 000C 726C 001B 722C" - $"726C 726C 4751 6C1A 0100 01FE 0008 0134" - $"281F 120A 0501 009D FE00 0001 FD00 1D01" - $"0000 0100 0100 0011 4747 1100 0300 1F34" - $"2F0C 0413 1B1B 1911 0300 1228 25FD 0006" - $"081C 2825 2319 08FE 0000 01FE 0008 232F" - $"3805 0000 0825 1FFE 002E 1222 1B08 0F38" - $"473C 2A51 5728 3838 3403 0000 1728 0B00" - $"0001 0000 031B 516C 7260 3823 142F 2A0C" - $"0000 012A 280E 4760 2FFE 001A 0314 2F3E" - $"4738 1F08 2F72 1900 081B 0F00 1323 0810" - $"2A6C 7272 6038 0CFD 000A 0100 0038 281C" - $"120A 0501 002F 0700 0001 0001 0000 01FB" - $"0000 01DD 0003 0100 0001 DE00 0201 0001" - $"EA00 0001 E400 0D01 0001 0001 0034 281F" - $"120A 0501 0038 FC00 0801 0000 0100 0001" - $"0001 E900 0201 0001 F800 0301 0000 01F8" - $"0004 0100 0100 01F9 0000 01F9 0000 01C4" - $"0000 01FD 0007 3828 1C12 0A05 0100 A204" - $"0000 0100 01FE 0000 01FE 007F 0100 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"0001 0000 0100 0001 0001 0001 0001 0000" - $"0100 0100 0001 0001 0001 0001 0000 0100" - $"0100 0100 0100 0001 0001 0001 0001 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"0001 0001 0001 0001 0001 0001 0001 0001" - $"0001 0001 0001 0001 0001 0001 0500 0100" - $"0100 01FE 000A 0100 0134 281F 120A 0501" - $"009C FE00 0001 FE00 0001 FE00 1901 0000" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 01FC 0014 0100 0100 0100" - $"0100 0001 0000 0100 0100 0100 0100 01FC" - $"005B 0100 0100 0100 0100 0001 0001 0001" - $"0001 0000 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 0100 0100 0100 0100 0100" - $"0100 0100 0100 3428 1C11 0A05 0100 3A08" - $"0000 0100 0001 0000 01FD 0000 01E9 0002" - $"0100 01F8 0003 0100 0001 F800 0401 0001" - $"0001 F900 0001 F900 0001 C400 0001 FD00" - $"0734 251C 110A 0501 003B FD00 0001 FE00" - $"0801 0405 0B0E 1112 1714 EC17 0014 F617" - $"0314 1717 14F8 1700 14FE 1700 14F9 1700" - $"14F9 1700 14C4 170C 1417 1714 142E 2319" - $"1108 0501 0038 0200 0001 FD00 0801 0308" - $"0C12 1F23 2A2E EB2F 0034 F62F 0034 F52F" - $"0034 FE2F 0034 F92F 0034 F92F 0034 C42F" - $"0034 FE2F 082E 251C 190C 0804 0100 30FE" - $"000C 0100 0100 0001 050A 0F14 191F 22DF" - $"2300 22F1 2300 22F9 2300 22F9 2300 22C4" - $"230C 2223 2322 1F1B 1411 0C05 0400 00A1" - $"0400 0001 0001 FE00 7F01 0405 0B0F 1112" - $"1414 1914 1714 1914 1914 1714 1914 1914" - $"1714 1914 1914 1714 1914 1914 1419 1419" - $"1414 1914 1914 1714 1914 1914 1714 1914" - $"1914 1419 1419 1414 1914 1914 1419 1419" - $"1414 1914 1914 1714 1914 1914 1419 1419" - $"1414 1914 1914 1419 1419 1414 1914 1914" - $"1419 1419 1414 1914 1914 1419 1419 1414" - $"1914 1914 1419 1419 140B 1419 1419 1414" - $"1914 1914 1419 FD14 0712 0E0C 0804 0100" - $"007B FB00 0B01 0001 0105 080A 0C0C 0F0F" - $"0EFC 0F00 0EFC 0F00 0EFC 0F00 0EFC 0F00" - $"0EFD 0F00 0EFD 0F00 0EFC 0F00 0EFC 0F00" - $"0EFD 0F00 0EFD 0F00 0EFD 0F00 0EFD 0F00" - $"0EFC 0F00 0EFD 0F00 0EFD 0F00 0EFD 0F00" - $"0EFD 0F00 0EFD 0F00 0EFD 0F00 0EFD 0F00" - $"0EFD 0F00 0EFD 0F00 0EFD 0F00 0EFD 0F00" - $"0EFB 0F08 0C0C 0A08 0501 0100 0087 0400" - $"0001 0001 FD00 0601 0103 0505 0807 FE08" - $"0207 0807 FD08 0007 FD08 0207 0807 FD08" - $"0007 FD08 0007 FD08 0007 FD08 0207 0807" - $"FD08 0007 FD08 0007 FD08 0007 FD08 0007" - $"FD08 0007 FD08 0207 0807 FD08 0007 FD08" - $"0007 FD08 0007 FD08 0007 FD08 0007 FD08" - $"0007 FD08 0007 FD08 0007 FD08 0007 FD08" - $"0007 FD08 0007 FD08 0007 FE08 0507 0505" - $"0401 01FE 0099 FE00 0201 0001 FC00 FD01" - $"7F03 0101 0301 0301 0301 0103 0103 0101" - $"0301 0301 0301 0103 0103 0101 0301 0301" - $"0103 0103 0101 0301 0301 0301 0103 0103" - $"0101 0301 0301 0103 0103 0101 0301 0301" - $"0103 0103 0101 0301 0301 0301 0103 0103" - $"0101 0301 0301 0103 0103 0101 0301 0301" - $"0103 0103 0101 0301 0301 0103 0103 0101" - $"0301 0301 0103 0103 0101 0301 0301 0103" - $"0108 0301 0103 0103 0101 04FD 01FD 0099" - $"0200 0001 FE00 0001 FA00 7F01 0001 0100" - $"0100 0100 0101 0001 0001 0100 0100 0100" - $"0101 0001 0001 0100 0100 0101 0001 0001" - $"0100 0100 0100 0101 0001 0001 0100 0100" - $"0101 0001 0001 0100 0100 0101 0001 0001" - $"0100 0100 0100 0101 0001 0001 0100 0100" - $"0101 0001 0001 0100 0100 0101 0001 0001" - $"0100 0100 0101 0001 0001 0100 0100 0101" - $"0001 0001 0100 0100 0101 000A 0100 0101" - $"0001 0001 0100 01FA 0010 FD00 0501 0000" - $"0100 0181 00ED 0001 0100 150B 0000 0100" - $"0001 0000 0100 0001 8100 F000 0201 0000" - $"00FF" -}; -/* - * Here is the custom file open dialog. This dialog is used instead of - * the default file dialog if the -filetypes flag is specified. - */ - -resource 'DLOG' (130, purgeable) { - {0, 0, 195, 344}, dBoxProc, invisible, noGoAway, 0, - 130, "" -}; - -resource 'DITL' (130, "File Open Box", purgeable) { - { - {135, 252, 155, 332}, Button {enabled, "Open"}, - {104, 252, 124, 332}, Button {enabled, "Cancel"}, - { 0, 0, 0, 0}, HelpItem {disabled, HMScanhdlg {130}}, - { 8, 235, 24, 337}, UserItem {enabled}, - { 32, 252, 52, 332}, Button {enabled, "Eject"}, - { 60, 252, 80, 332}, Button {enabled, "Desktop"}, - { 29, 12, 159, 230}, UserItem {enabled}, - { 6, 12, 25, 230}, UserItem {enabled}, - { 91, 251, 92, 333}, Picture {disabled, 11}, - {168, 20, 187, 300}, Control {enabled, 131} - } -}; - -resource 'CNTL' (131, "File Types menu", purgeable) { - {168, 20, 187, 300}, - popupTitleLeftJust, - visible, - 80, - 132, - popupMenuCDEFProc, - 0, - "File Type:" -}; - - -resource 'MENU' (132, preload) { - 132, - textMenuProc, - 0xFFFF, enabled, "", {} -}; diff --git a/itcl/itk/mac/itkMacTclCode.r b/itcl/itk/mac/itkMacTclCode.r deleted file mode 100644 index 898da31b4dc..00000000000 --- a/itcl/itk/mac/itkMacTclCode.r +++ /dev/null @@ -1,29 +0,0 @@ -/* - * itkMacTclCode.r - * - * This file includes the Itk code that is needed to startup Itk. - * It is to be included either in the resource fork of the shared library, or in the - * resource fork of the application for a statically bound application. - * - * Jim Ingham - * Lucent Technologies 1996 - * - */ - - -#define ITK_LIBRARY_RESOURCES 3500 - -/* - * We now load the Itk library into the resource fork of the application. - */ - -read 'TEXT' (ITK_LIBRARY_RESOURCES+1, "itk", purgeable) - "::library:itk.tcl"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+3, "Itk_Archetype", purgeable) - "::library:Archetype.itk"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+4, "Itk_Widget", purgeable) - "::library:Widget.itk"; -read 'TEXT' (ITK_LIBRARY_RESOURCES+5, "Itk_Toplevel", purgeable) - "::library:Toplevel.itk"; - - diff --git a/itcl/itk/mac/itkStaticApplication.r b/itcl/itk/mac/itkStaticApplication.r deleted file mode 100644 index 05b411c4c01..00000000000 --- a/itcl/itk/mac/itkStaticApplication.r +++ /dev/null @@ -1,29 +0,0 @@ -/* - * itkStaticApplication.r -- - * - * This file creates resources which bind in the static version of the - * pkgIndex tclIndex and itk's Tcl code files. - * - * Jim Ingham for Itcl 2.2 - * - * Copyright (c) 1996 Lucent Technologies - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) itkStaticApplication.r 1.5 96/10/03 17:54:21 - */ - -#include -#include - -#define ITK_LIBRARY_RESOURCES 3500 - -#include "itkMacTclCode.r" - -data 'TEXT' (ITK_LIBRARY_RESOURCES+6,"itk:pkgIndex",purgeable, preload) { - "# Tcl package index file, version 1.0\n" - "package ifneeded Itk 2.2 {load {} Itk}\n" -}; -read 'TEXT' (ITK_LIBRARY_RESOURCES+2, "Itk:tclIndex", purgeable) - "::mac:tclIndex"; diff --git a/itcl/itk/mac/pkgIndex.tcl b/itcl/itk/mac/pkgIndex.tcl deleted file mode 100644 index 04ada33ab18..00000000000 --- a/itcl/itk/mac/pkgIndex.tcl +++ /dev/null @@ -1,3 +0,0 @@ -# Tcl package index file, version 1.0 - -package ifneeded Itk 3.1 [list load [file join $dir itk31[info sharedlibextension]] Itk] diff --git a/itcl/itk/mac/tclIndex b/itcl/itk/mac/tclIndex deleted file mode 100644 index 21cadd3695b..00000000000 --- a/itcl/itk/mac/tclIndex +++ /dev/null @@ -1,11 +0,0 @@ -# Tcl autoload index file, version 2.0 -# This file is generated by the "auto_mkindex" command -# and sourced to set up indexing information for one or -# more commands. Typically each line is a command that -# sets an element in the auto_index array, where the -# element name is the name of a command and the value is -# a script that loads the command. - -set auto_index(::itk::Archetype) [list source -rsrc Itk_Archetype] -set auto_index(::itk::Toplevel) [list source -rsrc Itk_Toplevel] -set auto_index(::itk::Widget) [list source -rsrc Itk_Widget] diff --git a/itcl/itk/mac/tkMacAppInit.c b/itcl/itk/mac/tkMacAppInit.c deleted file mode 100644 index cc606a490a5..00000000000 --- a/itcl/itk/mac/tkMacAppInit.c +++ /dev/null @@ -1,418 +0,0 @@ -/* - * tkMacAppInit.c -- - * - * Provides a version of the Tcl_AppInit procedure for the example shell. - * - * Copyright (c) 1993-1994 Lockheed Missle & Space Company, AI Center - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) tkMacAppInit.c 1.35 97/07/28 11:18:55 - */ - -#include -#include -#include -#include -#include -#include -#include - -#include "tk.h" -#include "tkInt.h" -#include "tkMacInt.h" -#include "tclMac.h" - -#include "itk.h" - -/* include tclInt.h for access to namespace API */ -#include "tclInt.h" - -#ifdef TK_TEST -EXTERN int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -#endif /* TK_TEST */ - -#ifdef TCL_TEST -EXTERN int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -#endif /* TCL_TEST */ - -Tcl_Interp *gStdoutInterp = NULL; - -int TkMacConvertEvent _ANSI_ARGS_((EventRecord *eventPtr)); - -/* - * Prototypes for functions the ANSI library needs to link against. - */ -short InstallConsole _ANSI_ARGS_((short fd)); -void RemoveConsole _ANSI_ARGS_((void)); -long WriteCharsToConsole _ANSI_ARGS_((char *buff, long n)); -long ReadCharsFromConsole _ANSI_ARGS_((char *buff, long n)); -extern char * __ttyname _ANSI_ARGS_((long fildes)); -short SIOUXHandleOneEvent _ANSI_ARGS_((EventRecord *event)); - -/* - * Prototypes for functions from the tkConsole.c file. - */ - -EXTERN void TkConsoleCreate _ANSI_ARGS_((void)); -EXTERN int TkConsoleInit _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp, - int devId, char *buffer, long size)); -/* - * Forward declarations for procedures defined later in this file: - */ - -static int MacintoshInit _ANSI_ARGS_((void)); -static int SetupMainInterp _ANSI_ARGS_((Tcl_Interp *interp)); - -/* - *---------------------------------------------------------------------- - * - * main -- - * - * Main program for Wish. - * - * Results: - * None. This procedure never returns (it exits the process when - * it's done - * - * Side effects: - * This procedure initializes the wish world and then - * calls Tk_Main. - * - *---------------------------------------------------------------------- - */ - -void -main( - int argc, /* Number of arguments. */ - char **argv) /* Array of argument strings. */ -{ - char *newArgv[2]; - - if (MacintoshInit() != TCL_OK) { - Tcl_Exit(1); - } - - argc = 1; - newArgv[0] = "itkwish"; - newArgv[1] = NULL; - Tk_Main(argc, newArgv, Tcl_AppInit); -} - -/* - *---------------------------------------------------------------------- - * - * Tcl_AppInit -- - * - * This procedure performs application-specific initialization. - * Most applications, especially those that incorporate additional - * packages, will have their own version of this procedure. - * - * Results: - * Returns a standard Tcl completion code, and leaves an error - * message in interp->result if an error occurs. - * - * Side effects: - * Depends on the startup script. - * - *---------------------------------------------------------------------- - */ - -int -Tcl_AppInit( - Tcl_Interp *interp) /* Interpreter for application. */ -{ - if (Tcl_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - if (Tk_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit); - - /* - * Call the init procedures for included packages. Each call should - * look like this: - * - * if (Mod_Init(interp) == TCL_ERROR) { - * return TCL_ERROR; - * } - * - * where "Mod" is the name of the module. - */ - -#ifdef TCL_TEST - if (Tcltest_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init, - (Tcl_PackageInitProc *) NULL); - if (TclObjTest_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } -#endif /* TCL_TEST */ - -#ifdef TK_TEST - if (Tktest_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Tktest", Tktest_Init, - (Tcl_PackageInitProc *) NULL); -#endif /* TK_TEST */ - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - * Each call would look like this: - * - * Tcl_CreateCommand(interp, "tclName", CFuncCmd, NULL, NULL); - */ - if (Itcl_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - if (Itk_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Itcl", Itcl_Init, Itcl_SafeInit); - Tcl_StaticPackage(interp, "Itk", Itk_Init, (Tcl_PackageInitProc *) NULL); - - /* - * This is itkwish, so import all [incr Tcl] commands by - * default into the global namespace. Fix up the autoloader - * to do the same. - */ - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itk::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itcl::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Eval(interp, "auto_mkindex_parser::slavehook { _%@namespace import -force ::itcl::* ::itk::* }") != TCL_OK) { - return TCL_ERROR; - } - - SetupMainInterp(interp); - - /* - * Specify a user-specific startup script to invoke if the application - * is run interactively. On the Mac we can specifiy either a TEXT resource - * which contains the script or the more UNIX like file location - * may also used. (I highly recommend using the resource method.) - */ - - Tcl_SetVar(interp, "tcl_rcRsrcName", "itkwishrc", TCL_GLOBAL_ONLY); - /* Tcl_SetVar(interp, "tcl_rcFileName", "~/.itkwishrc", TCL_GLOBAL_ONLY); */ - - return TCL_OK; -} - -/* - *---------------------------------------------------------------------- - * - * MacintoshInit -- - * - * This procedure calls Mac specific initilization calls. Most of - * these calls must be made as soon as possible in the startup - * process. - * - * Results: - * Returns TCL_OK if everything went fine. If it didn't the - * application should probably fail. - * - * Side effects: - * Inits the application. - * - *---------------------------------------------------------------------- - */ - -static int -MacintoshInit() -{ - int i; - long result, mask = 0x0700; /* mask = system 7.x */ - -#if GENERATING68K && !GENERATINGCFM - SetApplLimit(GetApplLimit() - (TK_MAC_68K_STACK_GROWTH)); -#endif - MaxApplZone(); - for (i = 0; i < 4; i++) { - (void) MoreMasters(); - } - - /* - * Tk needs us to set the qd pointer it uses. This is needed - * so Tk doesn't have to assume the availablity of the qd global - * variable. Which in turn allows Tk to be used in code resources. - */ - tcl_macQdPtr = &qd; - - /* - * If appearance is present, then register Tk as an Appearance client - * This means that the mapping from non-Appearance to Appearance cdefs - * will be done for Tk regardless of the setting in the Appearance - * control panel. - */ - - if (TkMacHaveAppearance()) { - RegisterAppearanceClient(); - } - - InitGraf(&tcl_macQdPtr->thePort); - InitFonts(); - InitWindows(); - InitMenus(); - InitDialogs((long) NULL); - InitCursor(); - - /* - * Make sure we are running on system 7 or higher - */ - - if ((NGetTrapAddress(_Gestalt, ToolTrap) == - NGetTrapAddress(_Unimplemented, ToolTrap)) - || (((Gestalt(gestaltSystemVersion, &result) != noErr) - || (result < mask)))) { - panic("Tcl/Tk requires System 7 or higher."); - } - - /* - * Make sure we have color quick draw - * (this means we can't run on 68000 macs) - */ - - if (((Gestalt(gestaltQuickdrawVersion, &result) != noErr) - || (result < gestalt32BitQD13))) { - panic("Tk requires Color QuickDraw."); - } - - - FlushEvents(everyEvent, 0); - SetEventMask(everyEvent); - - - Tcl_MacSetEventProc(TkMacConvertEvent); - TkConsoleCreate(); - - return TCL_OK; -} - -/* - *---------------------------------------------------------------------- - * - * SetupMainInterp -- - * - * This procedure calls initalization routines require a Tcl - * interp as an argument. This call effectively makes the passed - * iterpreter the "main" interpreter for the application. - * - * Results: - * Returns TCL_OK if everything went fine. If it didn't the - * application should probably fail. - * - * Side effects: - * More initilization. - * - *---------------------------------------------------------------------- - */ - -static int -SetupMainInterp( - Tcl_Interp *interp) -{ - /* - * Initialize the console only if we are running as an interactive - * application. - */ - - TkMacInitAppleEvents(interp); - TkMacInitMenus(interp); - - if (strcmp(Tcl_GetVar(interp, "tcl_interactive", TCL_GLOBAL_ONLY), "1") - == 0) { - if (TkConsoleInit(interp) == TCL_ERROR) { - goto error; - } - } - - /* - * Attach the global interpreter to tk's expected global console - */ - - gStdoutInterp = interp; - - return TCL_OK; - -error: - panic(interp->result); - return TCL_ERROR; -} - -/* - *---------------------------------------------------------------------- - * - * InstallConsole, RemoveConsole, etc. -- - * - * The following functions provide the UI for the console package. - * Users wishing to replace SIOUX with their own console package - * need only provide the four functions below in a library. - * - * Results: - * See SIOUX documentation for details. - * - * Side effects: - * See SIOUX documentation for details. - * - *---------------------------------------------------------------------- - */ - -short -InstallConsole(short fd) -{ -#pragma unused (fd) - - return 0; -} - -void -RemoveConsole(void) -{ -} - -long -WriteCharsToConsole(char *buffer, long n) -{ - TkConsolePrint(gStdoutInterp, TCL_STDOUT, buffer, n); - return n; -} - -long -ReadCharsFromConsole(char *buffer, long n) -{ - return 0; -} - -extern char * -__ttyname(long fildes) -{ - static char *__devicename = "null device"; - - if (fildes >= 0 && fildes <= 2) { - return (__devicename); - } - - return (0L); -} - -short -SIOUXHandleOneEvent(EventRecord *event) -{ - return 0; -} diff --git a/itcl/itk/pkgIndex.tcl b/itcl/itk/pkgIndex.tcl deleted file mode 100644 index 614ba374ce3..00000000000 --- a/itcl/itk/pkgIndex.tcl +++ /dev/null @@ -1,3 +0,0 @@ -# Tcl package index file, version 1.0 - -package ifneeded Itk 3.2 [list load [file join $dir .. "libitk3.2.so"] Itk] diff --git a/itcl/itk/unix/tkAppInit.c b/itcl/itk/unix/tkAppInit.c deleted file mode 100644 index 9d3c240db3e..00000000000 --- a/itcl/itk/unix/tkAppInit.c +++ /dev/null @@ -1,151 +0,0 @@ -/* - * tkAppInit.c -- - * - * Provides a default version of the Tcl_AppInit procedure for - * use in wish and similar Tk-based applications. - * - * Copyright (c) 1993 The Regents of the University of California. - * Copyright (c) 1994 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) tkAppInit.c 1.22 96/05/29 09:47:08 - */ - -#include "tk.h" -#include "itk.h" - -/* include tclInt.h for access to namespace API */ -#include "tclInt.h" - -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; - -#ifdef TK_TEST -EXTERN int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -#endif /* TK_TEST */ - -/* - *---------------------------------------------------------------------- - * - * main -- - * - * This is the main program for the application. - * - * Results: - * None: Tk_Main never returns here, so this procedure never - * returns either. - * - * Side effects: - * Whatever the application does. - * - *---------------------------------------------------------------------- - */ - -int -main(argc, argv) - int argc; /* Number of command-line arguments. */ - char **argv; /* Values of command-line arguments. */ -{ - Tk_Main(argc, argv, Tcl_AppInit); - return 0; /* Needed only to prevent compiler warning. */ -} - -/* - *---------------------------------------------------------------------- - * - * Tcl_AppInit -- - * - * This procedure performs application-specific initialization. - * Most applications, especially those that incorporate additional - * packages, will have their own version of this procedure. - * - * Results: - * Returns a standard Tcl completion code, and leaves an error - * message in interp->result if an error occurs. - * - * Side effects: - * Depends on the startup script. - * - *---------------------------------------------------------------------- - */ - -int -Tcl_AppInit(interp) - Tcl_Interp *interp; /* Interpreter for application. */ -{ - if (Tcl_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - if (Tk_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit); -#ifdef TK_TEST - if (Tktest_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Tktest", Tktest_Init, - (Tcl_PackageInitProc *) NULL); -#endif /* TK_TEST */ - - - /* - * Call the init procedures for included packages. Each call should - * look like this: - * - * if (Mod_Init(interp) == TCL_ERROR) { - * return TCL_ERROR; - * } - * - * where "Mod" is the name of the module. - */ - if (Itcl_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - if (Itk_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Itcl", Itcl_Init, Itcl_SafeInit); - Tcl_StaticPackage(interp, "Itk", Itk_Init, (Tcl_PackageInitProc *) NULL); - - /* - * This is itkwish, so import all [incr Tcl] commands by - * default into the global namespace. Fix up the autoloader - * to do the same. - */ - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itk::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itcl::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Eval(interp, "auto_mkindex_parser::slavehook { _%@namespace import -force ::itcl::* ::itk::* }") != TCL_OK) { - return TCL_ERROR; - } - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - - /* - * Specify a user-specific startup file to invoke if the application - * is run interactively. Typically the startup file is "~/.apprc" - * where "app" is the name of the application. If this line is deleted - * then no user-specific startup file will be run under any conditions. - */ - - Tcl_SetVar(interp, "tcl_rcFileName", "~/.itkwishrc", TCL_GLOBAL_ONLY); - return TCL_OK; -} diff --git a/itcl/itk/win/Makefile.in b/itcl/itk/win/Makefile.in deleted file mode 100644 index b7c46ee314f..00000000000 --- a/itcl/itk/win/Makefile.in +++ /dev/null @@ -1,433 +0,0 @@ -# This file is CYGNUS LOCAL. It is a copy of makefile.vc modified for -# GNU make. -# -# Visual C++ 4.0 makefile -# -# Copyright (c) 1993-1996 Lucent Technologies -# -# See the file "license.terms" for information on usage and redistribution -# of this file, and for a DISCLAIMER OF ALL WARRANTIES. - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -VPATH = @srcdir@:@srcdir@/../generic:@srcdir@/../unix -srcdir = @srcdir@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ -mandir=@mandir@ -datadir=@datadir@ - -CC = @CC@ -CFLAGS = @CFLAGS@ -NM = @NM@ -AS = @AS@ -LD = @LD@ -DLLTOOL = @DLLTOOL@ -WINDRES = @WINDRES@ -OBJEXT = @OBJEXT@ - -DLL_LDFLAGS = @DLL_LDFLAGS@ -DLL_LDLIBS = @DLL_LDLIBS@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - -# -# Project directories -# -# ROOT = top of source tree -# -# TMPDIR = location where .obj files should be stored during build -# - -ROOT = @ITK_SRC_DIR@ -TMPDIR = . - -TCLLIBDIR = @TCL_BIN_DIR@ -TKLIBDIR = @TK_BIN_DIR@ -ITCLLIBDIR = @ITCL_BIN_DIR@ - -TCLSRCDIR = @TCL_SRC_DIR@ -TKSRCDIR = @TK_SRC_DIR@ -ITCLSRCDIR = @ITCL_SRC_DIR@ - - -SRC_INC_DIR = $(ROOT)/generic -SRC_WIN_DIR = $(ROOT)/win -SRC_UNIX_DIR = $(ROOT)/unix -SRC_LIB_DIR = $(ROOT)/library -SRC_MAN_DIR = $(ROOT)/doc - -# -# Here are all the built files we will need: -# - -ITCL_VERSION = @ITCL_VERSION@ -VERSION = 30 - -CYGITKLIB = @CYGITKLIB@ -CYGITKDLL = @CYGITKDLL@ -CYGITKWISH = @CYGITKWISH@ -CYGITKDEF = @CYGITKDEF@ -CYGITKTEST = @CYGITKTEST@ -CYGIMPORTLIB = @CYGIMPORTLIB@ -CYGITKRES = @CYGITKRES@ -CYGITKWISHRES = @CYGITKWISHRES@ - -SNITKLIB = @SNITKLIB@ -SNITKDLL = @SNITKDLL@ -SNITKWISH = @SNITKWISH@ -SNITKDEF = @SNITKDEF@ -SNITKTEST = @SNITKTEST@ -SNIMPORTLIB = @SNIMPORTLIB@ -SNITKRES = @SNITKRES@ -SNITKWISHRES = @SNITKWISHRES@ - -ITKLIB = @ITKLIB@ -ITKDLL = @ITKDLL@ -ITKWISH = @ITKWISH@ -ITKDEF = @ITKDEF@ -ITKTEST = @ITKTEST@ -ITKIMPORTLIB = @ITKIMPORTLIB@ -ITKRES = @ITKRES@ -ITKWISHRES = @ITKWISHRES@ - - -# Directory in which to install the library of Itcl scripts and demos -# (note: you can set the ITK_LIBRARY environment variable at run-time to -# override the compiled-in location): -ITK_LIBRARY = $(prefix)/share/itk$(ITCL_VERSION) - -# Directory in which to install the archive libitcl.a: -INSTALL_LIB_DIR = $(libdir) - -# Directory in which to install the program itclsh: -INSTALL_BIN_DIR = $(bindir) - -# Directory in which to install the include file itcl.h: -INSTALL_INCLUDE_DIR = $(includedir) - -# Top-level directory for manual entries: -INSTALL_MAN_DIR = $(mandir) - -# Directory in which to install manual entry for itclsh: -INSTALL_MAN1_DIR = $(INSTALL_MAN_DIR)/man1 - -# Directory in which to install manual entries for Itcl's C library -# procedures: -INSTALL_MAN3_DIR = $(INSTALL_MAN_DIR)/man3 - -# Directory in which to install manual entries for the built-in -# Tcl commands implemented by Itcl: -INSTALL_MANN_DIR = $(INSTALL_MAN_DIR)/mann - - -# Comment the following line to compile with symbols -NODEBUG=1 - -# uncomment the following two lines to compile with TCL_MEM_DEBUG -#DEBUGDEFINES = -DTCL_MEM_DEBUG - -ITKWISHOBJS = \ - $(TKLIBDIR)/tkConsole.$(OBJEXT) \ - $(TMPDIR)/winMain.$(OBJEXT) - -TKTESTOBJS = \ - $(TMPDIR)/tkConsole.$(OBJEXT) \ - $(TMPDIR)/tkTest.$(OBJEXT) \ - $(TMPDIR)/tkSquare.$(OBJEXT) \ - $(TMPDIR)/testMain.$(OBJEXT) - -ITKOBJS = \ - $(TMPDIR)/itk_archetype.$(OBJEXT) \ - $(TMPDIR)/itk_cmds.$(OBJEXT) \ - $(TMPDIR)/itk_option.$(OBJEXT) \ - $(TMPDIR)/itk_util.$(OBJEXT) \ - $(TMPDIR)/dllEntryPoint.$(OBJEXT) - -DUMPEXTS = $(TCLLIBDIR)/dumpexts.exe - -TCLLIB = @TCL_LIB_FILE@ -TCL_BUILD_LIB_SPEC = @TCL_BUILD_LIB_SPEC@ -TCL_LIB_FULL_PATH = @TCL_LIB_FULL_PATH@ -TKLIB = @TK_LIB_FILE@ -TK_BUILD_LIB_SPEC = @TK_BUILD_LIB_SPEC@ -TK_LIB_FULL_PATH = @TK_LIB_FULL_PATH@ -ITCLLIB = @ITCL_LIB_FILE@ -ITCL_BUILD_LIB_SPEC = @ITCL_BUILD_LIB_SPEC@ -ITCL_LIB_FULL_PATH = @ITCL_LIB_FULL_PATH@ - -TCL_INCLUDES = -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win -TK_INCLUDES = -I$(TKSRCDIR)/generic -I$(TKSRCDIR)/win -I$(TKSRCDIR)/xlib -ITCL_INCLUDES = -I$(ITCLSRCDIR)/generic -I$(ITCLSRCDIR)/win -ITK_INCLUDES = -I$(SRC_INC_DIR) -I$(SRC_WIN_DIR) $(ITCL_INCLUDES) \ - $(TCL_INCLUDES) $(TK_INCLUDES) - -ITK_DEFINES = -D__WIN32__ $(DEBUGDEFINES) -DDLL_BUILD -DBUILD_itk -D_DLL -ITK_CFLAGS = $(ITK_INCLUDES) $(ITK_DEFINES) $(CFLAGS) - -CPU = i386 - -###################################################################### -# Link flags -###################################################################### - -conlflags = -Wl,--subsystem,console -mwindows -guilflags = -mwindows -dlllflags = - -baselibs = @BASELIBS@ -winlibs = @WINLIBS@ -libcdll = @LIBCDLL@ - -guilibs = $(baselibs) $(winlibs) -conlibs = $(baselibs) -guilibsdll = $(libcdll) $(baselibs) $(winlibs) -conlibsdll = $(libcdll) $(baselibs) - -# -# Targets -# - -release: $(ITKDLL) $(ITKWISH) $(ITKLIB) -all: $(ITKDLL) $(ITKWISH) $(ITKLIB) -test: $(ITKWISH) - $(CP) $(TCLLIBDIR)\*.dll - $(ITKWISH) << - cd ../tests - source all - -$(TMPDIR)/$(CYGITKDEF): $(ITKOBJS) - echo 'EXPORTS' > tmp.def - -for o in $(ITKOBJS); do \ - $(NM) --extern-only --defined-only $$o | sed -e 's/[^ ]* [^ ]* //' -e 's/^_//' | fgrep -v DllEntryPoint | fgrep -v DllMain | fgrep -v impure_ptr >> tmp.def; \ - done - mv tmp.def $(TMPDIR)/$(CYGITKDEF) - -$(CYGITKDLL): $(ITKOBJS) $(TMPDIR)/$(CYGITKDEF) $(TMPDIR)/$(CYGITKRES) - $(CC) -s $(DLL_LDFLAGS) -Wl,--base-file,itk.base \ - -o $(CYGITKDLL) $(ITKOBJS) $(TMPDIR)/$(CYGITKRES) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows -Wl,-e,_DllMain@12 \ - -Wl,--image-base,0x66800000 - $(DLLTOOL) --as=$(AS) --dllname $(CYGITKDLL) --def $(TMPDIR)/$(CYGITKDEF) \ - --base-file itk.base --output-exp itk.exp - $(CC) -s $(DLL_LDFLAGS) -Wl,--base-file,itk.base -Wl,itk.exp \ - -o $(CYGITKDLL) $(ITKOBJS) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows -Wl,-e,_DllMain@12 \ - -Wl,--image-base,0x66800000 - $(DLLTOOL) --as=$(AS) --dllname $(ITKDLL) --def $(TMPDIR)/$(CYGITKDEF) \ - --base-file itk.base --output-exp itk.exp - $(CC) $(DLL_LDFLAGS) -Wl,itk.exp -o $(CYGITKDLL) $(ITKOBJS) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows \ - -Wl,-e,_DllMain@12 -Wl,--image-base,0x66800000 - -$(CYGITKLIB): $(TMPDIR)/$(CYGITKDEF) - $(DLLTOOL) --as=$(AS) --dllname $(ITKDLL) --def $(TMPDIR)/$(CYGITKDEF) \ - --output-lib $(CYGITKLIB) - -$(CYGITKWISH): $(ITKWISHOBJS) $(CYGITKLIB) $(TMPDIR)/$(CYGITKWISHRES) - $(CC) $(ldebug) $(guilflags) $(ITKWISHOBJS) $(ITK_CFLAGS) $(TMPDIR)/$(CYGITKWISHRES) \ - $(ITKLIB) $(TKLIBDIR)/$(TKLIB) \ - $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(guilibsdll) \ - -o $(CYGITKWISH) - -$(CYGITKTEST): $(ITKTESTOBJS) $(CYGITKLIB) $(TMPDIR)/$(CYGITKWISHRES) - $(CC) $(ldebug) $(guilflags) $(WISHOBJS) $(ITK_CFLAGS) $(TMPDIR)/$(CYGITKWISHRES) \ - $(CYGITKLIB) $(TKLIBDIR)/$(TKLIB) \ - $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(guilibsdll) \ - -o $(CYGITKTEST) - -$(TMPDIR)/$(CYGITKRES): $(ROOT)/win/rc/itk.rc - $(WINDRES) --include $(ROOT)/win/rc --include $(ROOT)/generic \ - --include $(ITCLSRCDIR)/generic \ - --include $(TCLSRCDIR)/generic --include $(TKSRCDIR)/generic \ - --define VS_VERSION_INFO=1 $(ROOT)/win/rc/itk.rc $(TMPDIR)/$(CYGITKRES) - -$(TMPDIR)/$(CYGITKWISHRES): $(ROOT)/win/rc/itkwish.rc - $(WINDRES) --include $(ROOT)/win/rc --include $(ITCLSRCDIR)/generic \ - --include $(TCLSRCDIR)/generic --include $(TKSRCDIR)/generic\ - --include $(ROOT)/generic --define VS_VERSION_INFO=1 \ - $(ROOT)/win/rc/itkwish.rc $(TMPDIR)/$(CYGITKWISHRES) - -# Visual C++ specific targets - -$(TMPDIR)/$(SNITKDEF): $(DUMPEXTS) $(ITKOBJS) - $(DUMPEXTS) -o $@ $(SNITKDLL) $(ITKOBJS) - -$(SNITKDLL): $(ITKOBJS) $(TMPDIR)/$(SNITKDEF) $(TMPDIR)/$(SNITKRES) $(TCL_LIB_FULL_PATH) \ - $(TK_LIB_FULL_PATH) $(ITCL_LIB_FULL_PATH) - link.exe -DEBUG -dll -def:$(TMPDIR)/$(SNITKDEF) -NODEFAULTLIB \ - -out:$(SNITKDLL) $(guilibsdll) $(ITKOBJS) $(TMPDIR)/$(SNITKRES) \ - $(TCL_BUILD_LIB_SPEC) $(TK_BUILD_LIB_SPEC) $(ITCL_BUILD_LIB_SPEC) - -$(SNITKLIB) $(SNIMPORTLIB): - cp $(SNIMPORTLIB) $(SNITKLIB) - -$(SNITKWISH): $(ITKWISHOBJS) $(SNITKLIB) $(TMPDIR)/$(SNITKWISHRES) $(TCL_LIB_FULL_PATH) \ - $(TK_LIB_FULL_PATH) $(ITCL_LIB_FULL_PATH) - link.exe -DEBUG -NODEFAULTLIB -entry:WinMainCRTStartup \ - -out:$@ $(guilibsdll) $(ITKWISHOBJS) $(TMPDIR)/$(SNITKWISHRES) \ - $(SNITKLIB) $(TCL_BUILD_LIB_SPEC) $(TK_BUILD_LIB_SPEC) \ - $(ITCL_BUILD_LIB_SPEC) - -$(SNITKTEST): $(ITKWISHOBJS) $(ITCLTESTOBJS) $(SNITKLIB) $(TMPDIR)/$(SNITKWISHRES) \ - $(TCL_LIB_FULL_PATH) $(TK_LIB_FULL_PATH) $(ITCL_LIB_FULL_PATH) - link.exe -DEBUG -NODEFAULTLIB -entry:WinMainCRTStartup \ - -out $@ $(guilibsdll) $(ITKWISHOBJS) $(TMPDIR)/$(SNITKWISHRES) \ - $(SNITKLIB) $(TCL_BUILD_LIB_SPEC) $(TK_BUILD_LIB_SPEC) \ - $(ITCL_BUILD_LIB_SPEC) - -$(TMPDIR)/$(SNITKWISHRES):: $(SRC_WIN_DIR)/rc/itkwish.rc - rc $(ITK_INCLUDES) -d__WIN32__ -dVS_VERSION_INFO=1 -fo$@ $? - -$(TMPDIR)/$(SNITKRES):: $(SRC_WIN_DIR)/rc/itk.rc - rc $(ITK_INCLUDES) -d__WIN32__ -dVS_VERSION_INFO=1 -fo$@ $? - -# -# Special case object file targets -# - -$(TMPDIR)/testMain.$(OBJEXT): $(ROOT)/win/winMain.c - $(CC) -c $(ITK_CFLAGS) -DTCL_TEST -DTK_TEST -DSTATIC_BUILD -o $@ $? - -$(TMPDIR)/winMain.$(OBJEXT): $(ROOT)/win/winMain.c - $(CC) -c $(ITK_CFLAGS) -DSTATIC_BUILD -o $@ $? - -# -# Implicit rules -# - -$(TMPDIR)/%.$(OBJEXT): $(SRC_INC_DIR)/%.c - $(CC) -c $(ITK_CFLAGS) -o $@ $< - -$(TMPDIR)/%.$(OBJEXT): $(SRC_WIN_DIR)/%.c - $(CC) -c $(ITK_CFLAGS) -o $@ $< - -clean: - - rm -f $(TMPDIR)/*.$(OBJEXT) $(TMPDIR)/*.exp $(TMPDIR)/*.def - rm -f $(ITKLIB) $(ITKDLL) $(ITKDLL) $(ITKWISH) - - -Makefile: $(srcdir)/Makefile.in config.status - $(SHELL) config.status - -config.status: $(srcdir)/configure - ./config.status --recheck - -#---------------------------------------------------------------------- -# -# Installation -# -#---------------------------------------------------------------------- - - -install:: install-basic install-binaries - @echo done - -install-binaries:: - @for i in $(INSTALL_LIB_DIR) $(INSTALL_BIN_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @echo "Installing $(ITKLIB) as $(INSTALL_LIB_DIR)/$(ITKLIB)" - @$(INSTALL_DATA) $(ITKLIB) $(INSTALL_LIB_DIR)/$(ITKLIB) - @echo "Installing $(ITKWISH) as $(INSTALL_BIN_DIR)/$(ITKWISH)" - @$(INSTALL_PROGRAM) $(ITKWISH) $(INSTALL_BIN_DIR)/$(ITKWISH) - @echo "Installing $(ITKDLL) as $(INSTALL_BIN_DIR)/$(ITKDLL)" - @$(INSTALL_PROGRAM) $(ITKDLL) $(INSTALL_BIN_DIR)/$(ITKDLL) - -# -# Basic installation -# -install-basic:: install-libraries install-headers \ - install-man - - -install-headers: - @for i in $(INSTALL_INCLUDE_DIR); \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @for i in $(SRC_INC_DIR)/itk.h; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(INSTALL_INCLUDE_DIR); \ - done; - -install-libraries: install-shared-libraries - @for i in $(prefix)/lib $(ITK_LIBRARY); \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @for i in $(SRC_LIB_DIR)/*.tcl $(SRC_LIB_DIR)/*.itk; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(ITK_LIBRARY); \ - done; - - @echo "Installing pkgIndex.tcl" - @$(INSTALL_DATA) $(srcdir)/pkgIndex.tcl $(ITK_LIBRARY) - - @echo "Installing tclIndex" - @$(INSTALL_DATA) $(SRC_LIB_DIR)/tclIndex $(ITK_LIBRARY) - -install-shared-libraries: - @echo "Installing $(ITKDLL) as $(INSTALL_BIN_DIR)/$(ITKDLL)" - @$(INSTALL_PROGRAM) $(ITKDLL) $(INSTALL_BIN_DIR)/$(ITKDLL) - -install-man: - @for i in $(INSTALL_MAN_DIR) $(INSTALL_MAN1_DIR) \ - $(INSTALL_MAN3_DIR) $(INSTALL_MANN_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @cd $(SRC_MAN_DIR); for i in *.n ; \ - do \ - echo "Installing doc/$$i"; \ - rm -f $(INSTALL_MANN_DIR)/$$i; \ - sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ - $$i > $(INSTALL_MANN_DIR)/$$i; \ - chmod 444 $(INSTALL_MANN_DIR)/$$i; \ - done; \ - for i in *.1 ; \ - do \ - echo "Installing doc/$$i"; \ - rm -f $(INSTALL_MAN1_DIR)/$$i; \ - sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ - $$i > $(INSTALL_MAN1_DIR)/$$i; \ - chmod 444 $(INSTALL_MAN1_DIR)/$$i; \ - done; - -install-info info installcheck: - -install-minimal: install-libraries - @echo "Installing $(ITKDLL) as $(INSTALL_BIN_DIR)/$(ITKDLL)" - @$(INSTALL_PROGRAM) $(ITKDLL) $(INSTALL_BIN_DIR)/$(ITKDLL) diff --git a/itcl/itk/win/Makefile.in_first b/itcl/itk/win/Makefile.in_first deleted file mode 100644 index 9956124ad4d..00000000000 --- a/itcl/itk/win/Makefile.in_first +++ /dev/null @@ -1,277 +0,0 @@ -## This file is CYGNUS LOCAL. It is a copy of makefile.vc modified for -# GNU make. -# -# Visual C++ 4.0 makefile -# -# Copyright (c) 1993-1996 Lucent Technologies -# based on original from -# Copyright (c) 1995-1996 by Sun Microsystems, Inc. -# -# See the file "license.terms" for information on usage and redistribution -# of this file, and for a DISCLAIMER OF ALL WARRANTIES. - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -VPATH = @srcdir@:@srcdir@/../generic:@srcdir@/../unix -srcdir = @srcdir@ - -CC = @CC@ -CFLAGS = @CFLAGS@ -NM = @NM@ -AS = @AS@ -LD = @LD@ -DLLTOOL = @DLLTOOL@ -WINDRES = @WINDRES@ - -DLL_LDFLAGS = @DLL_LDFLAGS@ -DLL_LDLIBS = @DLL_LDLIBS@ - - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - -ITCL_VERSION = @ITCL_VERSION@ -VERSION = $(ITCL_VERSION) - -ITKLIB = libitk$(VERSION).a -ITKDLL = cygitk$(VERSION).dll -ITKWISH = cygitkwish$(VERSION).exe -ITKTEST = itktest.exe - -TCLLIBDIR = @TCL_BIN_DIR@ -TCLLIB = @TCL_LIB_FILE@ -TKLIBDIR = @TK_BIN_DIR@ -TKLIB = @TK_LIB_FILE@ -ITCLLIBDIR = @ITCL_BIN_DIR@ -ITCLLIB = @ITCL_LIB_FILE@ - -# Project directories -# -# ROOT = top of source tree -# TMPDIR = location where .obj files should be stored during build - -ROOT = $(srcdir)/.. -TMPDIR = . - -###################################################################### -# Link flags -###################################################################### - -conlflags = $(lflags) -Wl,--subsystem,console -mwindows -guilflags = $(lflags) -mwindows -dlllflags = $(lflags) - -baselibs = -lkernel32 $(optlibs) -ladvapi32 -winlibs = $(baselibs) -luser32 -lgdi32 -lcomdlg32 -lwinspool -guilibs = $(libc) $(winlibs) - -guilibsdll = $(libcdll) $(winlibs) - -###################################################################### -# Compile flags -###################################################################### - -# Comment the following line to compile with symbols - -NODEBUG=1 - -# uncomment the following two lines to compile with TCL_MEM_DEBUG -#DEBUGDEFINES =-DTCL_MEM_DEBUG - - -WINDIR = $(ROOT)/win -GENERICDIR = $(ROOT)/generic - -TCLSRCDIR = @TCL_SRC_DIR@ -TKSRCDIR = @TK_SRC_DIR@ -ITCLSRCDIR = @ITCL_SRC_DIR@ - -TCL_INCLUDES = -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win -TK_INCLUDES = -I$(TKSRCDIR)/generic -I$(TKSRCDIR)/win -I$(TKSRCDIR)/xlib -ITCL_INCLUDES = -I$(ITCLSRCDIR)/generic -I$(ITCLSRCDIR)/win -ITK_INCLUDES = -I$(GENERICDIR) -I$(WINDIR) $(ITCL_INCLUDES) \ - $(TCL_INCLUDES) $(TK_INCLUDES) - -ITK_DEFINES = -D__WIN32__ $(DEBUGDEFINES) -ITK_CFLAGS = $(ITK_INCLUDES) $(ITK_DEFINES) $(CFLAGS) - -ITKWISHOBJS = \ - $(TKLIBDIR)/tkConsole.o \ - $(TMPDIR)/winMain.o - -TKTESTOBJS = \ - $(TMPDIR)/tkConsole.o \ - $(TMPDIR)/tkTest.o \ - $(TMPDIR)/tkSquare.o \ - $(TMPDIR)/testMain.o - -ITKOBJS = \ - $(TMPDIR)/itk_archetype.o \ - $(TMPDIR)/itk_cmds.o \ - $(TMPDIR)/itk_option.o \ - $(TMPDIR)/itk_util.o \ - $(TMPDIR)/dllEntryPoint.o - -ITKDLL = itk$(VERSION).dll -ITKLIB = libitk$(VERSION).a -ITKWISH = itkwish.exe -ITKTEST = tktest.exe -DUMPEXTS = # $(TCLLIBDIR)/dumpexts.exe - -CPU = i386 - -# -# Targets -# - -all: $(ITKDLL) $(ITKWISH) -test: $(ITKDLL) $(ITKTEST) - -install: install-binaries install-libraries - -install-binaries: $(ITKDLL) $(ITKLIB) $(ITKWISH) - @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @echo "Installing $(ITKLIB)" - @$(INSTALL_DATA) $(ITKLIB) $(LIB_INSTALL_DIR)/$(ITKLIB) - @chmod 555 $(LIB_INSTALL_DIR)/$(ITKLIB) - @echo "Installing wish" - @$(INSTALL_PROGRAM) $(ITKWISH) $(BIN_INSTALL_DIR)/$(ITKWISH) - @echo "Installing tkConfig.sh" - @$(INSTALL_DATA) ../unix/tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh - -install-libraries: - @echo "Installing DLL" - @$(INSTALL_DATA) $(ITKDLL) $(BIN_INSTALL_DIR)/$(ITKDLL) - @for i in $(INSTALL_ROOT)@datadir@ $(INCLUDE_INSTALL_DIR) \ - $(SCRIPT_INSTALL_DIR) $(INSTALL_ROOT)@exec_prefix@ \ - $(INSTALL_ROOT)@exec_prefix@/@host_alias@ \ - $(INSTALL_ROOT)@exec_prefix@/@host_alias@/include \ - $(X11_INCLUDE_INSTALL_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @echo "Installing tk.h" - @$(INSTALL_DATA) $(GENERICDIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h - for i in $(XLIBDIR)/X11/*.h; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(X11_INCLUDE_INSTALL_DIR); \ - done; - for i in $(ROOT)/library/*.tcl $(ROOT)/library/tclIndex $(ROOT)/library/prolog.ps $(ROOT)/unix/tkAppInit.c; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \ - done; - -install-minimal: - @echo "Installing DLL" - @$(INSTALL_DATA) $(ITKDLL) $(BIN_INSTALL_DIR)/$(ITKDLL) - @for i in $(INSTALL_ROOT)@datadir@ $(SCRIPT_INSTALL_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - for i in $(ROOT)/library/*.tcl $(ROOT)/library/tclIndex $(ROOT)/library/prolog.ps; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \ - done; - -$(TMPDIR)/itkcyg.def: $(DUMPEXTS) $(ITKOBJS) - echo 'EXPORTS' > tmp.def - -for o in $(ITKOBJS); do \ - $(NM) --extern-only --defined-only $$o | sed -e 's/[^ ]* [^ ]* //' -e 's/^_//' | fgrep -v DllEntryPoint | fgrep -v DllMain | fgrep -v impure_ptr >> tmp.def; \ - done - mv tmp.def $(TMPDIR)/itkcyg.def - -$(ITKDLL): $(ITKOBJS) $(TMPDIR)/itkcyg.def - $(CC) -s $(DLL_LDFLAGS) -Wl,--base-file,itk.base \ - -o $(ITKDLL) $(ITKOBJS) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows -Wl,-e,_DllMain@12 \ - -Wl,--image-base,0x66600000 - $(DLLTOOL) --as=$(AS) --dllname $(ITKDLL) --def $(TMPDIR)/itkcyg.def \ - --base-file itk.base --output-exp itk.exp - $(CC) -s $(DLL_LDFLAGS) -Wl,--base-file,itk.base -Wl,itk.exp \ - -o $(ITKDLL) $(ITKOBJS) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows -Wl,-e,_DllMain@12 \ - -Wl,--image-base,0x66600000 - $(DLLTOOL) --as=$(AS) --dllname $(ITKDLL) --def $(TMPDIR)/itkcyg.def \ - --base-file itk.base --output-exp itk.exp - $(CC) $(DLL_LDFLAGS) -Wl,itk.exp -o $(ITKDLL) $(ITKOBJS) \ - $(TKLIBDIR)/$(TKLIB) $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(DLL_LDLIBS) -mwindows \ - -Wl,-e,_DllMain@12 -Wl,--image-base,0x66600000 - -$(ITKLIB): $(TMPDIR)/itkcyg.def - $(DLLTOOL) --as=$(AS) --dllname $(ITKDLL) --def $(TMPDIR)/itkcyg.def \ - --output-lib $(ITKLIB) - -$(ITKWISH): $(ITKWISHOBJS) $(ITKLIB) $(TMPDIR)/itkwishres.o - $(CC) $(ldebug) $(guilflags) $(ITKWISHOBJS) $(ITK_CFLAGS) $(TMPDIR)/itkwishres.o \ - $(ITKLIB) $(TKLIBDIR)/$(TKLIB) \ - $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(guilibsdll) \ - -o $(ITKWISH) - -$(ITKTEST): $(ITKTESTOBJS) $(ITKLIB) $(TMPDIR)/itkwishres.o - $(CC) $(ldebug) $(guilflags) $(WISHOBJS) $(ITK_CFLAGS) $(TMPDIR)/itkwishres.o \ - $(ITKLIB) $(TKLIBDIR)/$(TKLIB) \ - $(ITCLLIBDIR)/$(ITCLLIB) $(TCLLIBDIR)/$(TCLLIB) \ - $(guilibsdll) \ - -o $(ITKTEST) - -# -# Special case object file targets -# - -$(TMPDIR)/testMain.o: $(ROOT)/win/winMain.c - $(CC) -c $(ITK_CFLAGS) -DTK_TEST -o $@ $? - -$(TMPDIR)/winMain.o: $(ROOT)/win/winMain.c - $(CC) -c $(ITK_CFLAGS) -DTK_TEST -o $@ $? - -# -# Implicit rules -# - -$(TMPDIR)/%.o: $(GENERICDIR)/%.c - $(CC) -c $(ITK_CFLAGS) -o $@ $< - -itkres.o: $(ROOT)/win/rc/itk.rc - $(WINDRES) --include $(ROOT)/win/rc --include $(ROOT)/generic \ - --include $(ITCLSRCDIR)/generic \ - --include $(TCLSRCDIR)/generic --include $(TKSRCDIR)/generic \ - --define VS_VERSION_INFO=1 $(ROOT)/win/rc/itk.rc itkres.o - -itkwishres.o: $(ROOT)/win/rc/itkwish.rc - $(WINDRES) --include $(ROOT)/win/rc --include $(ITCLSRCDIR)/generic \ - --include $(TCLSRCDIR)/generic --include $(TKSRCDIR)/generic\ - --include $(ROOT)/generic --define VS_VERSION_INFO=1 \ - $(ROOT)/win/rc/itkwish.rc itkwishres.o - - -Makefile: $(WINDIR)/Makefile.in config.status - $(SHELL) config.status - -config.status: $(WINDIR)/configure - ./config.status --recheck diff --git a/itcl/itk/win/configure b/itcl/itk/win/configure deleted file mode 100755 index 4058c11a21d..00000000000 --- a/itcl/itk/win/configure +++ /dev/null @@ -1,4120 +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: -ac_default_prefix=/usr/local -ac_help="$ac_help - --enable-gcc allow use of gcc if available" -ac_help="$ac_help - --with-tcl=DIR use Tcl 8.0 binaries from DIR" -ac_help="$ac_help - --with-tk=DIR use Tk 8.0 binaries from DIR" -ac_help="$ac_help - --with-itcl=DIR use Itcl 3.0 binaries from DIR" -ac_help="$ac_help - --with-cflags=FLAGS set compiler flags to FLAGS" -ac_help="$ac_help - --with-cc=CC set C compiler to CC" -ac_help="$ac_help - --with-x use the X Window System" -ac_help="$ac_help - --enable-shared build libitk as a shared library" - -# 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=../generic/itk.h - -# 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/../../../; 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/../../../" 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. - - -# Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } -fi - -echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:569: checking host system type" >&5 - -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; -esac - -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$host" 1>&6 - - -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:593: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 -else - echo "$ac_t""no" 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:624: 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:654: 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:705: 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:737: 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 748 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:753: \"$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:779: 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:784: 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:812: 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 for object suffix""... $ac_c" 1>&6 -echo "configure:844: checking for object suffix" >&5 -if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - rm -f conftest* -echo 'int i = 1;' > conftest.$ac_ext -if { (eval echo configure:850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - for ac_file in conftest.*; do - case $ac_file in - *.c) ;; - *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; - esac - done -else - { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_objext" 1>&6 -OBJEXT=$ac_cv_objext -ac_objext=$ac_cv_objext - -echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:868: checking build system type" >&5 - -build_alias=$build -case "$build_alias" in -NONE) - case $nonopt in - NONE) build_alias=$host_alias ;; - *) build_alias=$nonopt ;; - esac ;; -esac - -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$build" 1>&6 - -if test $host != $build; then - ac_tool_prefix=${host_alias}- -else - ac_tool_prefix= -fi - -# Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. -set dummy ${ac_tool_prefix}nm; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:894: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$NM"; then - ac_cv_prog_NM="$NM" # 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_NM="${ac_tool_prefix}nm" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -NM="$ac_cv_prog_NM" -if test -n "$NM"; then - echo "$ac_t""$NM" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test -z "$ac_cv_prog_NM"; then -if test -n "$ac_tool_prefix"; then - # Extract the first word of "nm", so it can be a program name with args. -set dummy nm; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:926: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$NM"; then - ac_cv_prog_NM="$NM" # 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_NM="nm" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="nm" -fi -fi -NM="$ac_cv_prog_NM" -if test -n "$NM"; then - echo "$ac_t""$NM" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - NM="nm" -fi -fi - - -# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -set dummy ${ac_tool_prefix}as; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:962: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$AS"; then - ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -AS="$ac_cv_prog_AS" -if test -n "$AS"; then - echo "$ac_t""$AS" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test -z "$ac_cv_prog_AS"; then -if test -n "$ac_tool_prefix"; then - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:994: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$AS"; then - ac_cv_prog_AS="$AS" # 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_AS="as" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as" -fi -fi -AS="$ac_cv_prog_AS" -if test -n "$AS"; then - echo "$ac_t""$AS" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - AS="as" -fi -fi - - -# Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. -set dummy ${ac_tool_prefix}ld; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1030: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$LD"; then - ac_cv_prog_LD="$LD" # 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_LD="${ac_tool_prefix}ld" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -LD="$ac_cv_prog_LD" -if test -n "$LD"; then - echo "$ac_t""$LD" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test -z "$ac_cv_prog_LD"; then -if test -n "$ac_tool_prefix"; then - # Extract the first word of "ld", so it can be a program name with args. -set dummy ld; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1062: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$LD"; then - ac_cv_prog_LD="$LD" # 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_LD="ld" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld" -fi -fi -LD="$ac_cv_prog_LD" -if test -n "$LD"; then - echo "$ac_t""$LD" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - LD="ld" -fi -fi - - -# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1098: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -DLLTOOL="$ac_cv_prog_DLLTOOL" -if test -n "$DLLTOOL"; then - echo "$ac_t""$DLLTOOL" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test -z "$ac_cv_prog_DLLTOOL"; then -if test -n "$ac_tool_prefix"; then - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1130: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="dlltool" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="dlltool" -fi -fi -DLLTOOL="$ac_cv_prog_DLLTOOL" -if test -n "$DLLTOOL"; then - echo "$ac_t""$DLLTOOL" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - DLLTOOL="dlltool" -fi -fi - - -# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. -set dummy ${ac_tool_prefix}windres; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1166: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$WINDRES"; then - ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -WINDRES="$ac_cv_prog_WINDRES" -if test -n "$WINDRES"; then - echo "$ac_t""$WINDRES" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test -z "$ac_cv_prog_WINDRES"; then -if test -n "$ac_tool_prefix"; then - # Extract the first word of "windres", so it can be a program name with args. -set dummy windres; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1198: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$WINDRES"; then - ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="windres" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_WINDRES" && ac_cv_prog_WINDRES="windres" -fi -fi -WINDRES="$ac_cv_prog_WINDRES" -if test -n "$WINDRES"; then - echo "$ac_t""$WINDRES" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -else - WINDRES="windres" -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:1244: 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' - - -# needed for the subtle differences between cygwin and mingw32 -case "${host}" in -*-*-cygwin*) - DLL_LDLIBS=-lcygwin - DLL_LDFLAGS='-nostartfiles -Wl,--dll' - ;; -*-*-mingw32*) - DLL_LDLIBS= - DLL_LDFLAGS='-mdll' - ;; -esac - - - -ITCL_VERSION=3.0 -ITCL_MAJOR_VERSION=3 -ITCL_MINOR_VERSION=0 -VERSION=${ITCL_MAJOR_VERSION}${ITCL_MINOR_VERSION} - -if test "${prefix}" = "NONE"; then - prefix=/usr/local -fi -if test "${exec_prefix}" = "NONE"; then - exec_prefix=$prefix -fi - -# ----------------------------------------------------------------------- -# Set up a new default --prefix. If a previous installation of -# [incr Tcl] can be found searching $PATH use that directory. -# ----------------------------------------------------------------------- - - -if test "x$prefix" = xNONE; then -echo $ac_n "checking for prefix by $ac_c" 1>&6 -# Extract the first word of "itclsh", so it can be a program name with args. -set dummy itclsh; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1334: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_ITCLSH'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$ITCLSH" in - /*) - ac_cv_path_ITCLSH="$ITCLSH" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_ITCLSH="$ITCLSH" # Let the user override the test with a dos path. - ;; - *) - 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_path_ITCLSH="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -ITCLSH="$ac_cv_path_ITCLSH" -if test -n "$ITCLSH"; then - echo "$ac_t""$ITCLSH" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -n "$ac_cv_path_ITCLSH"; then - prefix=`echo $ac_cv_path_ITCLSH|sed 's%/[^/][^/]*//*[^/][^/]*$%%'` - fi -fi - - -# ----------------------------------------------------------------------- -BUILD_DIR=`pwd` -ITK_SRC_DIR=`cd $srcdir/..; pwd` - -if ! test "$GCC" = yes; then - tmp="`cygpath --windows $ITK_SRC_DIR`" - ITK_SRC_DIR="`echo $tmp | sed -e s#\\\\\\\\#/#g`" -fi - -cd ${BUILD_DIR} - -# Check whether --enable-gcc or --disable-gcc was given. -if test "${enable_gcc+set}" = set; then - enableval="$enable_gcc" - itk_ok=$enableval -else - itk_ok=no -fi - -if test "$itk_ok" = "yes"; then - # 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:1395: 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:1425: 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:1476: 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:1508: 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 1519 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:1524: \"$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:1550: 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:1555: 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:1583: 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 - -else - CC=${CC-cc} - -fi -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1619: 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:1640: \"$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:1657: \"$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:1674: \"$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 - -for ac_hdr in unistd.h limits.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1702: 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:1712: \"$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 - - - -#-------------------------------------------------------------------- -# See if there was a command-line option for where Tcl is; if -# not, assume that its top-level directory is a sibling of ours. -# CYGNUS LOCAL - Actually Tcl & Tk are siblings of the itcl directory -# that contains itcl & itk & iwidgets. -#-------------------------------------------------------------------- - -# Check whether --with-tcl or --without-tcl was given. -if test "${with_tcl+set}" = set; then - withval="$with_tcl" - TCL_BIN_DIR=$withval -else - TCL_BIN_DIR=`cd ../../../tcl/win; pwd` -fi - - -if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then - TCL_BIN_DIR=`cd ../../../tcl8.1/win;pwd` -fi - -if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then - { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; } -fi - -#-------------------------------------------------------------------- -# Read in configuration information generated by Tcl for shared -# libraries, and arrange for it to be substituted into our -# Makefile. -#-------------------------------------------------------------------- - -file=$TCL_BIN_DIR/../unix/tclConfig.sh -. $file - - -SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS -SHLIB_LD=$TCL_SHLIB_LD -SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS -SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX -SHLIB_VERSION=$TCL_SHLIB_VERSION -DL_LIBS=$TCL_DL_LIBS -LD_FLAGS=$TCL_LD_FLAGS -ITK_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS - -#-------------------------------------------------------------------- -# See if there was a command-line option for where Tk is; if -# not, assume that its top-level directory is a sibling of ours. -# CYGNUS LOCAL - actually these are one level higher in the CYGNUS tree. -#-------------------------------------------------------------------- - -# Check whether --with-tcl or --without-tcl was given. -if test "${with_tcl+set}" = set; then - withval="$with_tcl" - TK_BIN_DIR=$withval -else - TK_BIN_DIR=`cd ../../../tk/win; pwd` -fi - - -if test ! -f $TK_BIN_DIR/../unix/tkConfig.sh; then - TK_BIN_DIR=`cd ../../../tk8.1/win;pwd` -fi - -if test ! -f $TK_BIN_DIR/../unix/tkConfig.sh; then - { echo "configure: error: There's no tkConfig.sh in $TK_BIN_DIR; perhaps you didn't specify the Tk *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; } -fi - -file=$TK_BIN_DIR/../unix/tkConfig.sh -. $file - -if ! test "$GCC" = yes; then - tmp="`cygpath --windows $TK_BIN_DIR`" - TK_BIN_DIR="`echo $tmp | sed -e s#\\\\\\\\#/#g`" -fi - - -#-------------------------------------------------------------------- -# See if there was a command-line option for where [incr Tcl] is. -# If not, assume that its top-level directory is a sibling of ours. -#-------------------------------------------------------------------- - -# Check whether --with-itcl or --without-itcl was given. -if test "${with_itcl+set}" = set; then - withval="$with_itcl" - ITCL_BIN_DIR=$withval -else - ITCL_BIN_DIR=`cd ../../itcl/win; pwd` -fi - -if test ! -d $ITCL_BIN_DIR; then - { echo "configure: error: Itcl directory $ITCL_BIN_DIR doesn't exist" 1>&2; exit 1; } -fi -if test ! -f $ITCL_BIN_DIR/Makefile; then - { echo "configure: error: There's no Makefile in $ITCL_BIN_DIR; perhaps you didn't specify the Itcl *build* directory (not the toplevel Itcl directory) or you forgot to configure Itcl?" 1>&2; exit 1; } -fi - -file=$ITCL_BIN_DIR/../itclConfig.sh -. $file - - -echo $ac_n "checking whether C compiler is gcc""... $ac_c" 1>&6 -echo "configure:1840: checking whether C compiler is gcc" >&5 -if eval "test \"`echo '$''{'itcl_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - - cat > conftest.$ac_ext <&5 | - egrep "_cc_is_gcc_" >/dev/null 2>&1; then - rm -rf conftest* - itcl_cv_prog_gcc=yes -else - rm -rf conftest* - itcl_cv_prog_gcc=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$itcl_cv_prog_gcc" 1>&6 - -if test -z "$CFLAGS" ; then - CFLAGS="-O" -fi -if test "$itcl_cv_prog_gcc" = "yes" ; then - CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall" -fi - -echo $ac_n "checking default compiler flags""... $ac_c" 1>&6 -echo "configure:1876: checking default compiler flags" >&5 -# Check whether --with-cflags or --without-cflags was given. -if test "${with_cflags+set}" = set; then - withval="$with_cflags" - CFLAGS="$with_cflags" -fi - - -echo "$ac_t""$CFLAGS" 1>&6 - -#-------------------------------------------------------------------- -# Supply a substitute for stdlib.h if it doesn't define strtol, -# strtoul, or strtod (which it doesn't in some versions of SunOS). -#-------------------------------------------------------------------- - -echo $ac_n "checking stdlib.h""... $ac_c" 1>&6 -echo "configure:1892: checking stdlib.h" >&5 -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtol" >/dev/null 2>&1; then - rm -rf conftest* - itk_ok=yes -else - rm -rf conftest* - itk_ok=no -fi -rm -f conftest* - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtoul" >/dev/null 2>&1; then - : -else - rm -rf conftest* - itk_ok=no -fi -rm -f conftest* - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtod" >/dev/null 2>&1; then - : -else - rm -rf conftest* - itk_ok=no -fi -rm -f conftest* - -if test $itk_ok = no; then - cat >> confdefs.h <<\EOF -#define NO_STDLIB_H 1 -EOF - -fi -echo "$ac_t""$itk_ok" 1>&6 - -#-------------------------------------------------------------------- -# Check for various typedefs and provide substitutes if -# they don't exist. -#-------------------------------------------------------------------- - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1950: 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:1963: \"$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:2030: \"$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 - -echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:2054: checking for mode_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_mode_t=yes -else - rm -rf conftest* - ac_cv_type_mode_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_mode_t" 1>&6 -if test $ac_cv_type_mode_t = no; then - cat >> confdefs.h <<\EOF -#define mode_t int -EOF - -fi - -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2087: checking for pid_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_pid_t" 1>&6 -if test $ac_cv_type_pid_t = no; then - cat >> confdefs.h <<\EOF -#define pid_t int -EOF - -fi - -echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2120: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes -else - rm -rf conftest* - ac_cv_type_size_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF - -fi - -echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2153: checking for uid_t in sys/types.h" >&5 -if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_uid_t=yes -else - rm -rf conftest* - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_type_uid_t" 1>&6 -if test $ac_cv_type_uid_t = no; then - cat >> confdefs.h <<\EOF -#define uid_t int -EOF - - cat >> confdefs.h <<\EOF -#define gid_t int -EOF - -fi - - -# ----------------------------------------------------------------------- -# C compiler and debugging flags -# ----------------------------------------------------------------------- -echo $ac_n "checking which C compiler""... $ac_c" 1>&6 -echo "configure:2191: checking which C compiler" >&5 -if test -z "$CC" ; then - CC="cc" -fi -# Check whether --with-cc or --without-cc was given. -if test "${with_cc+set}" = set; then - withval="$with_cc" - CC=$with_cc -fi - -echo "$ac_t""$CC" 1>&6 - - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:2205: 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:2226: \"$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:2243: \"$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:2260: \"$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 - - -#-------------------------------------------------------------------- -# Supply substitutes for missing POSIX header files. -# Replacements are handled in "tclInt.h" which we include here. -#-------------------------------------------------------------------- - -ac_safe=`echo "limits.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for limits.h""... $ac_c" 1>&6 -echo "configure:2292: checking for limits.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:2302: \"$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 - : -else - echo "$ac_t""no" 1>&6 -cat >> confdefs.h <<\EOF -#define NO_LIMITS_H 1 -EOF - -fi - -ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6 -echo "configure:2329: checking for stdlib.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:2339: \"$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 - tcl_ok=1 -else - echo "$ac_t""no" 1>&6 -tcl_ok=0 -fi - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtol" >/dev/null 2>&1; then - : -else - rm -rf conftest* - tcl_ok=0 -fi -rm -f conftest* - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtoul" >/dev/null 2>&1; then - : -else - rm -rf conftest* - tcl_ok=0 -fi -rm -f conftest* - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strtod" >/dev/null 2>&1; then - : -else - rm -rf conftest* - tcl_ok=0 -fi -rm -f conftest* - -if test $tcl_ok = 0; then - cat >> confdefs.h <<\EOF -#define NO_STDLIB_H 1 -EOF - -fi -ac_safe=`echo "string.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for string.h""... $ac_c" 1>&6 -echo "configure:2411: checking for string.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:2421: \"$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 - tcl_ok=1 -else - echo "$ac_t""no" 1>&6 -tcl_ok=0 -fi - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strstr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - tcl_ok=0 -fi -rm -f conftest* - -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "strerror" >/dev/null 2>&1; then - : -else - rm -rf conftest* - tcl_ok=0 -fi -rm -f conftest* - -if test $tcl_ok = 0; then - cat >> confdefs.h <<\EOF -#define NO_STRING_H 1 -EOF - -fi - -#-------------------------------------------------------------------- -# Check for various typedefs and provide substitutes if -# they don't exist. -#-------------------------------------------------------------------- - -echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:2484: checking for mode_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_mode_t=yes -else - rm -rf conftest* - ac_cv_type_mode_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_mode_t" 1>&6 -if test $ac_cv_type_mode_t = no; then - cat >> confdefs.h <<\EOF -#define mode_t int -EOF - -fi - -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2517: checking for pid_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_pid_t" 1>&6 -if test $ac_cv_type_pid_t = no; then - cat >> confdefs.h <<\EOF -#define pid_t int -EOF - -fi - -echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2550: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes -else - rm -rf conftest* - ac_cv_type_size_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF - -fi - -echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2583: checking for uid_t in sys/types.h" >&5 -if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_uid_t=yes -else - rm -rf conftest* - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_type_uid_t" 1>&6 -if test $ac_cv_type_uid_t = no; then - cat >> confdefs.h <<\EOF -#define uid_t int -EOF - - cat >> confdefs.h <<\EOF -#define gid_t int -EOF - -fi - - -#-------------------------------------------------------------------- -# Locate the X11 header files and the X11 library archive. Try -# the ac_path_x macro first, but if it doesn't find the X stuff -# (e.g. because there's no xmkmf program) then check through -# a list of possible directories. Under some conditions the -# autoconf macro will return an include directory that contains -# no include files, so double-check its result just to be safe. -#-------------------------------------------------------------------- - -# If we find X, set shell vars x_includes and x_libraries to the -# paths, otherwise set no_x=yes. -# Uses ac_ vars as temps to allow command line to override cache and checks. -# --without-x overrides everything else, but does not touch the cache. -echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:2631: checking for X" >&5 - -# Check whether --with-x or --without-x was given. -if test "${with_x+set}" = set; then - withval="$with_x" - : -fi - -# $have_x is `yes', `no', `disabled', or empty when we do not yet know. -if test "x$with_x" = xno; then - # The user explicitly disabled X. - have_x=disabled -else - if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then - # Both variables are already set. - have_x=yes - else -if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # One or both of the vars are not set, and there is no cached value. -ac_x_includes=NO ac_x_libraries=NO -rm -fr conftestdir -if mkdir conftestdir; then - cd conftestdir - # Make sure to not put "make" in the Imakefile rules, since we grep it out. - cat > Imakefile <<'EOF' -acfindx: - @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' -EOF - if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering...", which would confuse us. - eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl; do - if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && - test -f $ac_im_libdir/libX11.$ac_extension; then - ac_im_usrlibdir=$ac_im_libdir; break - fi - done - # Screen out bogus values from the imake configuration. They are - # bogus both because they are the default anyway, and because - # using them would break gcc on systems where it needs fixed includes. - case "$ac_im_incroot" in - /usr/include) ;; - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; - esac - case "$ac_im_usrlibdir" in - /usr/lib | /lib) ;; - *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; - esac - fi - cd .. - rm -fr conftestdir -fi - -if test "$ac_x_includes" = NO; then - # Guess where to find include files, by looking for this one X11 .h file. - test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h - - # First, try using that file with no special directory specified. -cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2698: \"$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* - # We can compile using X headers with no special include directory. -ac_x_includes= -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - # Look for the header file in a standard set of common directories. -# Check X11 before X11Rn because it is often a symlink to the current release. - for ac_dir in \ - /usr/X11/include \ - /usr/X11R6/include \ - /usr/X11R5/include \ - /usr/X11R4/include \ - \ - /usr/include/X11 \ - /usr/include/X11R6 \ - /usr/include/X11R5 \ - /usr/include/X11R4 \ - \ - /usr/local/X11/include \ - /usr/local/X11R6/include \ - /usr/local/X11R5/include \ - /usr/local/X11R4/include \ - \ - /usr/local/include/X11 \ - /usr/local/include/X11R6 \ - /usr/local/include/X11R5 \ - /usr/local/include/X11R4 \ - \ - /usr/X386/include \ - /usr/x386/include \ - /usr/XFree86/include/X11 \ - \ - /usr/include \ - /usr/local/include \ - /usr/unsupported/include \ - /usr/athena/include \ - /usr/local/x11r5/include \ - /usr/lpp/Xamples/include \ - \ - /usr/openwin/include \ - /usr/openwin/share/include \ - ; \ - do - if test -r "$ac_dir/$x_direct_test_include"; then - ac_x_includes=$ac_dir - break - fi - done -fi -rm -f conftest* -fi # $ac_x_includes = NO - -if test "$ac_x_libraries" = NO; then - # Check for the libraries. - - test -z "$x_direct_test_library" && x_direct_test_library=Xt - test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc - - # See if we find them without any special options. - # Don't add to $LIBS permanently. - ac_save_LIBS="$LIBS" - LIBS="-l$x_direct_test_library $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - LIBS="$ac_save_LIBS" -# We can link X programs with no special library path. -ac_x_libraries= -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - LIBS="$ac_save_LIBS" -# First see if replacing the include by lib works. -# Check X11 before X11Rn because it is often a symlink to the current release. -for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ - /usr/X11/lib \ - /usr/X11R6/lib \ - /usr/X11R5/lib \ - /usr/X11R4/lib \ - \ - /usr/lib/X11 \ - /usr/lib/X11R6 \ - /usr/lib/X11R5 \ - /usr/lib/X11R4 \ - \ - /usr/local/X11/lib \ - /usr/local/X11R6/lib \ - /usr/local/X11R5/lib \ - /usr/local/X11R4/lib \ - \ - /usr/local/lib/X11 \ - /usr/local/lib/X11R6 \ - /usr/local/lib/X11R5 \ - /usr/local/lib/X11R4 \ - \ - /usr/X386/lib \ - /usr/x386/lib \ - /usr/XFree86/lib/X11 \ - \ - /usr/lib \ - /usr/local/lib \ - /usr/unsupported/lib \ - /usr/athena/lib \ - /usr/local/x11r5/lib \ - /usr/lpp/Xamples/lib \ - /lib/usr/lib/X11 \ - \ - /usr/openwin/lib \ - /usr/openwin/share/lib \ - ; \ -do - for ac_extension in a so sl; do - if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then - ac_x_libraries=$ac_dir - break 2 - fi - done -done -fi -rm -f conftest* -fi # $ac_x_libraries = NO - -if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then - # Didn't find X anywhere. Cache the known absence of X. - ac_cv_have_x="have_x=no" -else - # Record where we found X for the cache. - ac_cv_have_x="have_x=yes \ - ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" -fi -fi - fi - eval "$ac_cv_have_x" -fi # $with_x != no - -if test "$have_x" != yes; then - echo "$ac_t""$have_x" 1>&6 - no_x=yes -else - # If each of the values was on the command line, it overrides each guess. - test "x$x_includes" = xNONE && x_includes=$ac_x_includes - test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries - # Update the cache value to reflect the command line values. - ac_cv_have_x="have_x=yes \ - ac_x_includes=$x_includes ac_x_libraries=$x_libraries" - echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 -fi - -not_really_there="" -if test "$no_x" = ""; then - if test "$x_includes" = ""; then - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2869: \"$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* - not_really_there="yes" -fi -rm -f conftest* - else - if test ! -r $x_includes/X11/Intrinsic.h; then - not_really_there="yes" - fi - fi -fi -if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then - echo checking for X11 header files - XINCLUDES="# no special path needed" - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2896: \"$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* - XINCLUDES="nope" -fi -rm -f conftest* - if test "$XINCLUDES" = nope; then - dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/include/X11R6 /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include" - for i in $dirs ; do - if test -r $i/X11/Intrinsic.h; then - XINCLUDES=" -I$i" - fi - done - fi -else - if test "$x_includes" != ""; then - XINCLUDES=-I$x_includes - else - XINCLUDES="# no special path needed" - fi -fi -if test "$XINCLUDES" = nope; then - echo "Warning: couldn't find any X11 include files." - XINCLUDES="# no include files found" -fi - - -if test "$no_x" = yes; then - XLIBSW=nope - if test "$XLIBSW" = nope; then - dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/lib/X11R6 /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib" - for i in $dirs ; do - if test -r $i/libX11.a; then - XLIBSW="-L$i -lX11" - fi - done - fi -else - if test "$x_libraries" = ""; then - XLIBSW=-lX11 - else - XLIBSW="-L$x_libraries -lX11" - fi -fi -if test "$XLIBSW" = nope ; then - echo $ac_n "checking for XCreateWindow in -lXwindow""... $ac_c" 1>&6 -echo "configure:2948: checking for XCreateWindow in -lXwindow" >&5 -ac_lib_var=`echo Xwindow'_'XCreateWindow | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lXwindow $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - XLIBSW=-lXwindow -else - echo "$ac_t""no" 1>&6 -fi - -fi -if test "$XLIBSW" = nope ; then - echo "$ac_t""couldn't find any! Using -lX11." 1>&6 - XLIBSW=-lX11 -fi - -#-------------------------------------------------------------------- -# If the X library binaries are in a non-standard directory, and -# if a mechanism such as -R is available on this platform for -# specifying a runtime search path for shared libraries, add the X -# library location into that search path. -#-------------------------------------------------------------------- - -if test "$x_libraries" != "" -a "$ITK_LD_SEARCH_FLAGS" != ""; then - itk_tmp=`sed -e "s|\\\${LIB_RUNTIME_DIR}|$x_libraries|" << EOF -$ITK_LD_SEARCH_FLAGS -EOF` - ITK_LD_SEARCH_FLAGS="$ITK_LD_SEARCH_FLAGS $itk_tmp" -fi - -#-------------------------------------------------------------------- -# Check for the existence of various libraries. The order here -# is important, so that then end up in the right order in the -# command line generated by make. The -lsocket and -lnsl libraries -# require a couple of special tricks: -# 1. Use "connect" and "accept" to check for -lsocket, and -# "gethostbyname" to check for -lnsl. -# 2. Use each function name only once: can't redo a check because -# autoconf caches the results of the last check and won't redo it. -# 3. Use -lnsl and -lsocket only if they supply procedures that -# aren't already present in the normal libraries. This is because -# IRIX 5.2 has libraries, but they aren't needed and they're -# bogus: they goof up name resolution if used. -# 4. On some SVR4 systems, can't use -lsocket without -lnsl too. -# To get around this problem, check for both libraries together -# if -lsocket doesn't work by itself. -#-------------------------------------------------------------------- - -echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 -echo "configure:3026: checking for main in -lXbsd" >&5 -ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lXbsd $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lXbsd" -else - echo "$ac_t""no" 1>&6 -fi - - -itk_checkBoth=0 -echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:3064: checking for connect" >&5 -if eval "test \"`echo '$''{'ac_cv_func_connect'+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 connect(); - -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_connect) || defined (__stub___connect) -choke me -#else -connect(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_connect=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_connect=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then - echo "$ac_t""yes" 1>&6 - itk_checkSocket=0 -else - echo "$ac_t""no" 1>&6 -itk_checkSocket=1 -fi - -if test "$itk_checkSocket" = 1; then - echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 -echo "configure:3114: checking for main in -lsocket" >&5 -ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lsocket $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lsocket" -else - echo "$ac_t""no" 1>&6 -itk_checkBoth=1 -fi - -fi -if test "$itk_checkBoth" = 1; then - itk_oldLibs=$LIBS - LIBS="$LIBS -lsocket -lnsl" - echo $ac_n "checking for accept""... $ac_c" 1>&6 -echo "configure:3155: checking for accept" >&5 -if eval "test \"`echo '$''{'ac_cv_func_accept'+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 accept(); - -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_accept) || defined (__stub___accept) -choke me -#else -accept(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_accept=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_accept=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then - echo "$ac_t""yes" 1>&6 - itk_checkNsl=0 -else - echo "$ac_t""no" 1>&6 -LIBS=$itk_oldLibs -fi - -fi -echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:3205: checking for gethostbyname" >&5 -if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+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 gethostbyname(); - -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_gethostbyname) || defined (__stub___gethostbyname) -choke me -#else -gethostbyname(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_gethostbyname=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_gethostbyname=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 -echo "configure:3251: checking for main in -lnsl" >&5 -ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lnsl $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lnsl" -else - echo "$ac_t""no" 1>&6 -fi - -fi - - -#-------------------------------------------------------------------- -# One more check related to the X libraries. The standard releases -# of Ultrix don't support the "xauth" mechanism, so send won't work -# unless TK_NO_SECURITY is defined. However, there are usually copies -# of the MIT X server available as well, which do support xauth. -# Check for the MIT stuff and use it if it exists. -# -# Note: can't use ac_check_lib macro (at least, not in Autoconf 2.1) -# because it can't deal with the "-" in the library name. -#-------------------------------------------------------------------- - -if test -d /usr/include/mit ; then - echo $ac_n "checking MIT X libraries""... $ac_c" 1>&6 -echo "configure:3302: checking MIT X libraries" >&5 - itk_oldCFlags=$CFLAGS - CFLAGS="$CFLAGS -I/usr/include/mit" - itk_oldLibs=$LIBS - LIBS="$LIBS -lX11-mit" - cat > conftest.$ac_ext < - -int main() { - - XOpenDisplay(0); - -; return 0; } -EOF -if { (eval echo configure:3319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - - echo "$ac_t""yes" 1>&6 - XLIBSW="-lX11-mit" - XINCLUDES="-I/usr/include/mit" - -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - echo "$ac_t""no" 1>&6 -fi -rm -f conftest* - CFLAGS=$itk_oldCFlags - LIBS=$itk_oldLibs -fi - -#-------------------------------------------------------------------- -# On a few very rare systems, all of the libm.a stuff is -# already in libc.a. Set compiler flags accordingly. -# Also, Linux requires the "ieee" library for math to -# work right (and it must appear before "-lm"). -#-------------------------------------------------------------------- - -MATH_LIBS="" -echo $ac_n "checking for sin""... $ac_c" 1>&6 -echo "configure:3346: checking for sin" >&5 -if eval "test \"`echo '$''{'ac_cv_func_sin'+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 sin(); - -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_sin) || defined (__stub___sin) -choke me -#else -sin(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_sin=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_sin=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -MATH_LIBS="-lm" -fi - -echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6 -echo "configure:3395: checking for main in -lieee" >&5 -ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lieee $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MATH_LIBS="-lieee $MATH_LIBS" -else - echo "$ac_t""no" 1>&6 -fi - - -#-------------------------------------------------------------------- -# If this system doesn't have a memmove procedure, use memcpy -# instead. -#-------------------------------------------------------------------- - -echo $ac_n "checking for memmove""... $ac_c" 1>&6 -echo "configure:3437: checking for memmove" >&5 -if eval "test \"`echo '$''{'ac_cv_func_memmove'+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 memmove(); - -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_memmove) || defined (__stub___memmove) -choke me -#else -memmove(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_memmove=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_memmove=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'memmove`\" = yes"; then - echo "$ac_t""yes" 1>&6 - : -else - echo "$ac_t""no" 1>&6 -cat >> confdefs.h <<\EOF -#define memmove memcpy -EOF - -fi - - -#-------------------------------------------------------------------- -# Figure out whether "char" is unsigned. If so, set a -# #define for __CHAR_UNSIGNED__. -#-------------------------------------------------------------------- - -#AC_C_CHAR_UNSIGNED - -#-------------------------------------------------------------------- -# Under Solaris 2.4, strtod returns the wrong value for the -# terminating character under some conditions. Check for this -# and if the problem exists use a substitute procedure -# "fixstrtod" (provided by Tcl) that corrects the error. -#-------------------------------------------------------------------- - -echo $ac_n "checking for strtod""... $ac_c" 1>&6 -echo "configure:3504: checking for strtod" >&5 -if eval "test \"`echo '$''{'ac_cv_func_strtod'+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 strtod(); - -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_strtod) || defined (__stub___strtod) -choke me -#else -strtod(); -#endif - -; return 0; } -EOF -if { (eval echo configure:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_strtod=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_strtod=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'strtod`\" = yes"; then - echo "$ac_t""yes" 1>&6 - itk_strtod=1 -else - echo "$ac_t""no" 1>&6 -itk_strtod=0 -fi - -if test "$itk_strtod" = 1; then - echo $ac_n "checking for Solaris 2.4 strtod bug""... $ac_c" 1>&6 -echo "configure:3554: checking for Solaris 2.4 strtod bug" >&5 - if test "$cross_compiling" = yes; then - itk_ok=0 -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - itk_ok=1 -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - itk_ok=0 -fi -rm -fr conftest* -fi - - if test "$itk_ok" = 1; then - echo "$ac_t""ok" 1>&6 - else - echo "$ac_t""buggy" 1>&6 - cat >> confdefs.h <<\EOF -#define strtod fixstrtod -EOF - - fi -fi - -#-------------------------------------------------------------------- -# If we are building with cygwin, we need one set of library names, -# otherwise, we need the Source-Navigator set. -#-------------------------------------------------------------------- - - - -if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then - CYGITKLIBSPEC=itk${VERSION} -else - CYGITKLIBSPEC="itk`echo ${VERSION} | tr -d .`" -fi -CYGITKLIB=lib${CYGITKLIBSPEC}.a -CYGITKDLL=cygitk${VERSION}.dll -CYGITKWISH=cygitkwish${VERSION}.exe -CYGITKDEF=itkcyg.def -CYGITKTEST=cygitktest.exe -CYGIMPORTLIB=cygitk${VERSION}.lib -CYGITKRES=cygitk.o -CYGITKWISHRES=cygitkwish.o - -SNITKLIBSPEC=itk30.lib -SNITKLIB=${SNITKLIBSPEC} -SNITKDLL=snitk30.dll -SNITKWISH=snitkwish30.exe -SNITKDEF=itksn.def -SNITKTEST=snitktest.exe -SNIMPORTLIB=snitk30.lib -SNITKRES=snitk.obj -SNITKWISHRES=snitksh.obj - -if test "$GCC" = yes; then -ITKLIBSPEC=${CYGITKLIBSPEC} -ITKLIB=${CYGITKLIB} -ITKDLL=${CYGITKDLL} -ITKWISH=${CYGITKWISH} -ITKDEF=${CYGITKDEF} -ITKTEST=${CYGITKTEST} -ITKIMPORTLIB=${CYGIMPORTLIB} -ITKRES=${CYGITKRES} -ITKWISHRES=${CYGITKWISHRES} -else -ITKLIBSPEC=${SNITKLIBSPEC} -ITKLIB=${SNITKLIB} -ITKDLL=${SNITKDLL} -ITKWISH=${SNITKWISH} -ITKDEF=${SNITKDEF} -ITKTEST=${SNITKTEST} -ITKIMPORTLIB=${SNIMPORTLIB} -ITKRES=${SNITKRES} -ITKWISHRES=${SNITKWISHRES} -fi - -#-------------------------------------------------------------------- -# The statements below define a collection of symbols related to -# building libitk as a shared library instead of a static library. -#-------------------------------------------------------------------- - -# Check whether --enable-shared or --disable-shared was given. -if test "${enable_shared+set}" = set; then - enableval="$enable_shared" - ok=$enableval -else - ok=no -fi - -if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then - ITK_SHLIB_CFLAGS="${SHLIB_CFLAGS}" - eval "ITK_LIB_FILE=libitk${VERSION}${SHLIB_SUFFIX}" - ITK_PKG_FILE="[file join [file dirname \$dir] ${ITK_LIB_FILE}]" - MAKE_LIB="\${SHLIB_LD} -o ${ITK_LIB_FILE} ${LIBS} \${OBJS} ${SHLIB_LD_LIBS}" - RANLIB=":" -else - ITK_SHLIB_CFLAGS="" - eval "ITK_LIB_FILE=libitk${VERSION}.a" - ITK_PKG_FILE="" - MAKE_LIB="ar cr ${ITK_LIB_FILE} \${OBJS}" -fi - -# Note: in the following variable, it's important to use the absolute -# path name of the Tcl directory rather than "..": this is because -# AIX remembers this path and will attempt to use it at run-time to look -# up the Tcl library. - -if test "$GCC" = yes; then - ITK_BUILD_LIB_SPEC="-L`pwd` -l${ITKLIBSPEC}" - ITK_LIB_SPEC="-L${exec_prefix}/lib/ITK -l{ITKLIBSPEC}" - ITK_LIB_FULL_PATH="`pwd`/${ITKLIB}" -else - tmp="`pwd`/${ITKLIB}" - tmp2="`cygpath --windows $tmp`" - ITK_BUILD_LIB_SPEC="`echo $tmp2 | sed -e s#\\\\\\\\#/#g`" - ITK_LIB_FULL_PATH=${ITK_BUILD_LIB_SPEC} - tmp="${exec_prefix}/lib/ITK/${ITKLIB}" - tmp2="`cygpath --windows $tmp`" - ITK_LIB_SPEC="`echo $tmp2 | sed -e s#\\\\\\\\#/#g`" -fi - -if test "$GCC" = yes; then - BASELIBS="-lkernel32 $optlibs -ladvapi32 -luser32" - WINLIBS="-lgdi32 -lcomdlg32 -lwinspool" - LIBCDLL= -else - BASELIBS="kernel32.lib advapi32.lib user32.lib" - WINLIBS="gdi32.lib comdlg32.lib winspool.lib" - LIBCDLL="msvcrt.lib oldnames.lib" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -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 ../unix/pkgIndex.tcl ../itkConfig.sh" | 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%@host@%$host%g -s%@host_alias@%$host_alias%g -s%@host_cpu@%$host_cpu%g -s%@host_vendor@%$host_vendor%g -s%@host_os@%$host_os%g -s%@RANLIB@%$RANLIB%g -s%@CC@%$CC%g -s%@OBJEXT@%$OBJEXT%g -s%@build@%$build%g -s%@build_alias@%$build_alias%g -s%@build_cpu@%$build_cpu%g -s%@build_vendor@%$build_vendor%g -s%@build_os@%$build_os%g -s%@NM@%$NM%g -s%@AS@%$AS%g -s%@LD@%$LD%g -s%@DLLTOOL@%$DLLTOOL%g -s%@WINDRES@%$WINDRES%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@DLL_LDFLAGS@%$DLL_LDFLAGS%g -s%@DLL_LDLIBS@%$DLL_LDLIBS%g -s%@ITCLSH@%$ITCLSH%g -s%@CPP@%$CPP%g -s%@XINCLUDES@%$XINCLUDES%g -s%@DL_LIBS@%$DL_LIBS%g -s%@LD_FLAGS@%$LD_FLAGS%g -s%@MATH_LIBS@%$MATH_LIBS%g -s%@MAKE_LIB@%$MAKE_LIB%g -s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g -s%@SHLIB_LD@%$SHLIB_LD%g -s%@SHLIB_LD_LIBS@%$SHLIB_LD_LIBS%g -s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g -s%@SHLIB_VERSION@%$SHLIB_VERSION%g -s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g -s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g -s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g -s%@TCL_VERSION@%$TCL_VERSION%g -s%@TCL_LIB_FILE@%$TCL_LIB_FILE%g -s%@TCL_LIB_FULL_PATH@%$TCL_LIB_FULL_PATH%g -s%@TK_BIN_DIR@%$TK_BIN_DIR%g -s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g -s%@TK_SRC_DIR@%$TK_SRC_DIR%g -s%@TK_VERSION@%$TK_VERSION%g -s%@TK_LIB_FILE@%$TK_LIB_FILE%g -s%@TK_LIB_FULL_PATH@%$TK_LIB_FULL_PATH%g -s%@ITCL_BIN_DIR@%$ITCL_BIN_DIR%g -s%@ITCL_BUILD_LIB_SPEC@%$ITCL_BUILD_LIB_SPEC%g -s%@ITCL_MAJOR_VERSION@%$ITCL_MAJOR_VERSION%g -s%@ITCL_MINOR_VERSION@%$ITCL_MINOR_VERSION%g -s%@ITCL_SRC_DIR@%$ITCL_SRC_DIR%g -s%@ITCL_VERSION@%$ITCL_VERSION%g -s%@ITCL_LIB_FILE@%$ITCL_LIB_FILE%g -s%@ITCL_LIB_FULL_PATH@%$ITCL_LIB_FULL_PATH%g -s%@ITK_BUILD_LIB_SPEC@%$ITK_BUILD_LIB_SPEC%g -s%@ITK_LD_SEARCH_FLAGS@%$ITK_LD_SEARCH_FLAGS%g -s%@ITK_LIB_FILE@%$ITK_LIB_FILE%g -s%@ITK_LIB_FULL_PATH@%$ITK_LIB_FULL_PATH%g -s%@ITK_LIB_SPEC@%$ITK_LIB_SPEC%g -s%@ITK_PKG_FILE@%$ITK_PKG_FILE%g -s%@ITK_SHLIB_CFLAGS@%$ITK_SHLIB_CFLAGS%g -s%@ITK_SRC_DIR@%$ITK_SRC_DIR%g -s%@XLIBSW@%$XLIBSW%g -s%@CYGITKLIB@%$CYGITKLIB%g -s%@CYGITKDLL@%$CYGITKDLL%g -s%@CYGITKWISH@%$CYGITKWISH%g -s%@CYGITKDEF@%$CYGITKDEF%g -s%@CYGITKTEST@%$CYGITKTEST%g -s%@CYGIMPORTLIB@%$CYGIMPORTLIB%g -s%@CYGITKRES@%$CYGITKRES%g -s%@CYGITKWISHRES@%$CYGITKWISHRES%g -s%@SNITKLIB@%$SNITKLIB%g -s%@SNITKDLL@%$SNITKDLL%g -s%@SNITKWISH@%$SNITKWISH%g -s%@SNITKDEF@%$SNITKDEF%g -s%@SNITKTEST@%$SNITKTEST%g -s%@SNIMPORTLIB@%$SNIMPORTLIB%g -s%@SNITKRES@%$SNITKRES%g -s%@SNITKWISHRES@%$SNITKWISHRES%g -s%@ITKLIB@%$ITKLIB%g -s%@ITKDLL@%$ITKDLL%g -s%@ITKWISH@%$ITKWISH%g -s%@ITKDEF@%$ITKDEF%g -s%@ITKTEST@%$ITKTEST%g -s%@ITKIMPORTLIB@%$ITKIMPORTLIB%g -s%@ITKRES@%$ITKRES%g -s%@ITKWISHRES@%$ITKWISHRES%g -s%@BASELIBS@%$BASELIBS%g -s%@WINLIBS@%$WINLIBS%g -s%@LIBCDLL@%$LIBCDLL%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 - - diff --git a/itcl/itk/win/configure.in b/itcl/itk/win/configure.in deleted file mode 100644 index 42beccee3ca..00000000000 --- a/itcl/itk/win/configure.in +++ /dev/null @@ -1,630 +0,0 @@ -dnl This file is an input file used by the GNU "autoconf" program to -dnl generate the file "configure", which is run during Tk installation -dnl to configure the system for the local environment. - -AC_PREREQ(2.5) - -AC_INIT(../generic/itk.h) - -AC_CONFIG_AUX_DIR(../../../) -AC_CANONICAL_HOST - -AC_PROG_RANLIB - -AC_PROG_CC -AC_OBJEXT -AC_CHECK_TOOL(NM, nm, nm) -AC_SUBST(NM) -AC_CHECK_TOOL(AS, as, as) -AC_SUBST(AS) -AC_CHECK_TOOL(LD, ld, ld) -AC_SUBST(LD) -AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool) -AC_SUBST(DLLTOOL) -AC_CHECK_TOOL(WINDRES, windres, windres) -AC_SUBST(WINDRES) - -AC_PROG_INSTALL - -# needed for the subtle differences between cygwin and mingw32 -case "${host}" in -*-*-cygwin*) - DLL_LDLIBS=-lcygwin - DLL_LDFLAGS='-nostartfiles -Wl,--dll' - ;; -*-*-mingw32*) - DLL_LDLIBS= - DLL_LDFLAGS='-mdll' - ;; -esac -AC_SUBST(DLL_LDFLAGS) -AC_SUBST(DLL_LDLIBS) - -ITCL_VERSION=3.0 -ITCL_MAJOR_VERSION=3 -ITCL_MINOR_VERSION=0 -VERSION=${ITCL_MAJOR_VERSION}${ITCL_MINOR_VERSION} - -if test "${prefix}" = "NONE"; then - prefix=/usr/local -fi -if test "${exec_prefix}" = "NONE"; then - exec_prefix=$prefix -fi - -# ----------------------------------------------------------------------- -# Set up a new default --prefix. If a previous installation of -# [incr Tcl] can be found searching $PATH use that directory. -# ----------------------------------------------------------------------- - -AC_PREFIX_DEFAULT(/usr/local) -AC_PREFIX_PROGRAM(itclsh) - -# ----------------------------------------------------------------------- -BUILD_DIR=`pwd` -ITK_SRC_DIR=`cd $srcdir/..; pwd` - -if ! test "$GCC" = yes; then - tmp="`cygpath --windows $ITK_SRC_DIR`" - ITK_SRC_DIR="`echo $tmp | sed -e s#\\\\\\\\#/#g`" -fi - -cd ${BUILD_DIR} - -AC_ARG_ENABLE(gcc, [ --enable-gcc allow use of gcc if available], - [itk_ok=$enableval], [itk_ok=no]) -if test "$itk_ok" = "yes"; then - AC_PROG_CC -else - CC=${CC-cc} -AC_SUBST(CC) -fi -AC_HAVE_HEADERS(unistd.h limits.h) - - -#-------------------------------------------------------------------- -# See if there was a command-line option for where Tcl is; if -# not, assume that its top-level directory is a sibling of ours. -# CYGNUS LOCAL - Actually Tcl & Tk are siblings of the itcl directory -# that contains itcl & itk & iwidgets. -#-------------------------------------------------------------------- - -AC_ARG_WITH(tcl, [ --with-tcl=DIR use Tcl 8.0 binaries from DIR], - TCL_BIN_DIR=$withval, TCL_BIN_DIR=`cd ../../../tcl/win; pwd`) - -if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then - TCL_BIN_DIR=`cd ../../../tcl8.1/win;pwd` -fi - -if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then - AC_MSG_ERROR(There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?) -fi - -#-------------------------------------------------------------------- -# Read in configuration information generated by Tcl for shared -# libraries, and arrange for it to be substituted into our -# Makefile. -#-------------------------------------------------------------------- - -file=$TCL_BIN_DIR/../unix/tclConfig.sh -. $file - -dnl CFLAGS=$TCL_CFLAGS - -SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS -SHLIB_LD=$TCL_SHLIB_LD -SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS -SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX -SHLIB_VERSION=$TCL_SHLIB_VERSION -DL_LIBS=$TCL_DL_LIBS -LD_FLAGS=$TCL_LD_FLAGS -ITK_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS - -#-------------------------------------------------------------------- -# See if there was a command-line option for where Tk is; if -# not, assume that its top-level directory is a sibling of ours. -# CYGNUS LOCAL - actually these are one level higher in the CYGNUS tree. -#-------------------------------------------------------------------- - -AC_ARG_WITH(tcl, [ --with-tk=DIR use Tk 8.0 binaries from DIR], - TK_BIN_DIR=$withval, TK_BIN_DIR=`cd ../../../tk/win; pwd`) - -if test ! -f $TK_BIN_DIR/../unix/tkConfig.sh; then - TK_BIN_DIR=`cd ../../../tk8.1/win;pwd` -fi - -if test ! -f $TK_BIN_DIR/../unix/tkConfig.sh; then - AC_MSG_ERROR(There's no tkConfig.sh in $TK_BIN_DIR; perhaps you didn't specify the Tk *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?) -fi - -file=$TK_BIN_DIR/../unix/tkConfig.sh -. $file - -if ! test "$GCC" = yes; then - tmp="`cygpath --windows $TK_BIN_DIR`" - TK_BIN_DIR="`echo $tmp | sed -e s#\\\\\\\\#/#g`" -fi - - -#-------------------------------------------------------------------- -# See if there was a command-line option for where [incr Tcl] is. -# If not, assume that its top-level directory is a sibling of ours. -#-------------------------------------------------------------------- - -AC_ARG_WITH(itcl, [ --with-itcl=DIR use Itcl 3.0 binaries from DIR], - ITCL_BIN_DIR=$withval, ITCL_BIN_DIR=`cd ../../itcl/win; pwd`) -if test ! -d $ITCL_BIN_DIR; then - AC_MSG_ERROR(Itcl directory $ITCL_BIN_DIR doesn't exist) -fi -if test ! -f $ITCL_BIN_DIR/Makefile; then - AC_MSG_ERROR(There's no Makefile in $ITCL_BIN_DIR; perhaps you didn't specify the Itcl *build* directory (not the toplevel Itcl directory) or you forgot to configure Itcl?) -fi - -file=$ITCL_BIN_DIR/../itclConfig.sh -. $file - - -AC_MSG_CHECKING([whether C compiler is gcc]) -AC_CACHE_VAL(itcl_cv_prog_gcc, [ - AC_EGREP_CPP(_cc_is_gcc_, [ -#ifdef __GNUC__ -_cc_is_gcc_ -#endif -], [itcl_cv_prog_gcc=yes], [itcl_cv_prog_gcc=no])]) -AC_MSG_RESULT([$itcl_cv_prog_gcc]) - -if test -z "$CFLAGS" ; then - CFLAGS="-O" -fi -if test "$itcl_cv_prog_gcc" = "yes" ; then - CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall" -fi - -AC_MSG_CHECKING([default compiler flags]) -AC_ARG_WITH(cflags, [ --with-cflags=FLAGS set compiler flags to FLAGS], - [CFLAGS="$with_cflags"]) - -AC_MSG_RESULT([$CFLAGS]) - -#-------------------------------------------------------------------- -# Supply a substitute for stdlib.h if it doesn't define strtol, -# strtoul, or strtod (which it doesn't in some versions of SunOS). -#-------------------------------------------------------------------- - -AC_MSG_CHECKING(stdlib.h) -AC_HEADER_EGREP(strtol, stdlib.h, itk_ok=yes, itk_ok=no) -AC_HEADER_EGREP(strtoul, stdlib.h, , itk_ok=no) -AC_HEADER_EGREP(strtod, stdlib.h, , itk_ok=no) -if test $itk_ok = no; then - AC_DEFINE(NO_STDLIB_H) -fi -AC_MSG_RESULT($itk_ok) - -#-------------------------------------------------------------------- -# Check for various typedefs and provide substitutes if -# they don't exist. -#-------------------------------------------------------------------- - -AC_MODE_T -AC_PID_T -AC_SIZE_T -AC_UID_T - -# ----------------------------------------------------------------------- -# C compiler and debugging flags -# ----------------------------------------------------------------------- -AC_MSG_CHECKING([which C compiler]) -if test -z "$CC" ; then - CC="cc" -fi -AC_ARG_WITH(cc, [ --with-cc=CC set C compiler to CC], - [CC=$with_cc]) -AC_MSG_RESULT([$CC]) -AC_SUBST(CC) - -AC_PROG_CPP - -#-------------------------------------------------------------------- -# Supply substitutes for missing POSIX header files. -# Replacements are handled in "tclInt.h" which we include here. -#-------------------------------------------------------------------- - -AC_CHECK_HEADER(limits.h, , AC_DEFINE(NO_LIMITS_H)) -AC_CHECK_HEADER(stdlib.h, tcl_ok=1, tcl_ok=0) -AC_EGREP_HEADER(strtol, stdlib.h, , tcl_ok=0) -AC_EGREP_HEADER(strtoul, stdlib.h, , tcl_ok=0) -AC_EGREP_HEADER(strtod, stdlib.h, , tcl_ok=0) -if test $tcl_ok = 0; then - AC_DEFINE(NO_STDLIB_H) -fi -AC_CHECK_HEADER(string.h, tcl_ok=1, tcl_ok=0) -AC_EGREP_HEADER(strstr, string.h, , tcl_ok=0) -AC_EGREP_HEADER(strerror, string.h, , tcl_ok=0) -if test $tcl_ok = 0; then - AC_DEFINE(NO_STRING_H) -fi - -#-------------------------------------------------------------------- -# Check for various typedefs and provide substitutes if -# they don't exist. -#-------------------------------------------------------------------- - -AC_MODE_T -AC_PID_T -AC_SIZE_T -AC_UID_T - -#-------------------------------------------------------------------- -# Locate the X11 header files and the X11 library archive. Try -# the ac_path_x macro first, but if it doesn't find the X stuff -# (e.g. because there's no xmkmf program) then check through -# a list of possible directories. Under some conditions the -# autoconf macro will return an include directory that contains -# no include files, so double-check its result just to be safe. -#-------------------------------------------------------------------- - -AC_PATH_X -not_really_there="" -if test "$no_x" = ""; then - if test "$x_includes" = ""; then - AC_TRY_CPP([#include ], , not_really_there="yes") - else - if test ! -r $x_includes/X11/Intrinsic.h; then - not_really_there="yes" - fi - fi -fi -if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then - echo checking for X11 header files - XINCLUDES="# no special path needed" - AC_TRY_CPP([#include ], , XINCLUDES="nope") - if test "$XINCLUDES" = nope; then - dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/include/X11R6 /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include" - for i in $dirs ; do - if test -r $i/X11/Intrinsic.h; then - XINCLUDES=" -I$i" - fi - done - fi -else - if test "$x_includes" != ""; then - XINCLUDES=-I$x_includes - else - XINCLUDES="# no special path needed" - fi -fi -if test "$XINCLUDES" = nope; then - echo "Warning: couldn't find any X11 include files." - XINCLUDES="# no include files found" -fi -AC_SUBST(XINCLUDES) - -if test "$no_x" = yes; then - XLIBSW=nope - if test "$XLIBSW" = nope; then - dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/lib/X11R6 /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib" - for i in $dirs ; do - if test -r $i/libX11.a; then - XLIBSW="-L$i -lX11" - fi - done - fi -else - if test "$x_libraries" = ""; then - XLIBSW=-lX11 - else - XLIBSW="-L$x_libraries -lX11" - fi -fi -if test "$XLIBSW" = nope ; then - AC_CHECK_LIB(Xwindow, XCreateWindow, XLIBSW=-lXwindow) -fi -if test "$XLIBSW" = nope ; then - AC_MSG_RESULT(couldn't find any! Using -lX11.) - XLIBSW=-lX11 -fi - -#-------------------------------------------------------------------- -# If the X library binaries are in a non-standard directory, and -# if a mechanism such as -R is available on this platform for -# specifying a runtime search path for shared libraries, add the X -# library location into that search path. -#-------------------------------------------------------------------- - -if test "$x_libraries" != "" -a "$ITK_LD_SEARCH_FLAGS" != ""; then - itk_tmp=`sed -e "s|\\\${LIB_RUNTIME_DIR}|$x_libraries|" << EOF -$ITK_LD_SEARCH_FLAGS -EOF` - ITK_LD_SEARCH_FLAGS="$ITK_LD_SEARCH_FLAGS $itk_tmp" -fi - -#-------------------------------------------------------------------- -# Check for the existence of various libraries. The order here -# is important, so that then end up in the right order in the -# command line generated by make. The -lsocket and -lnsl libraries -# require a couple of special tricks: -# 1. Use "connect" and "accept" to check for -lsocket, and -# "gethostbyname" to check for -lnsl. -# 2. Use each function name only once: can't redo a check because -# autoconf caches the results of the last check and won't redo it. -# 3. Use -lnsl and -lsocket only if they supply procedures that -# aren't already present in the normal libraries. This is because -# IRIX 5.2 has libraries, but they aren't needed and they're -# bogus: they goof up name resolution if used. -# 4. On some SVR4 systems, can't use -lsocket without -lnsl too. -# To get around this problem, check for both libraries together -# if -lsocket doesn't work by itself. -#-------------------------------------------------------------------- - -AC_CHECK_LIB(Xbsd, main, [LIBS="$LIBS -lXbsd"]) - -itk_checkBoth=0 -AC_CHECK_FUNC(connect, itk_checkSocket=0, itk_checkSocket=1) -if test "$itk_checkSocket" = 1; then - AC_CHECK_LIB(socket, main, LIBS="$LIBS -lsocket", itk_checkBoth=1) -fi -if test "$itk_checkBoth" = 1; then - itk_oldLibs=$LIBS - LIBS="$LIBS -lsocket -lnsl" - AC_CHECK_FUNC(accept, itk_checkNsl=0, [LIBS=$itk_oldLibs]) -fi -AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])) - -#-------------------------------------------------------------------- -# One more check related to the X libraries. The standard releases -# of Ultrix don't support the "xauth" mechanism, so send won't work -# unless TK_NO_SECURITY is defined. However, there are usually copies -# of the MIT X server available as well, which do support xauth. -# Check for the MIT stuff and use it if it exists. -# -# Note: can't use ac_check_lib macro (at least, not in Autoconf 2.1) -# because it can't deal with the "-" in the library name. -#-------------------------------------------------------------------- - -if test -d /usr/include/mit ; then - AC_MSG_CHECKING([MIT X libraries]) - itk_oldCFlags=$CFLAGS - CFLAGS="$CFLAGS -I/usr/include/mit" - itk_oldLibs=$LIBS - LIBS="$LIBS -lX11-mit" - AC_TRY_LINK([ - #include - ], [ - XOpenDisplay(0); - ], [ - AC_MSG_RESULT(yes) - XLIBSW="-lX11-mit" - XINCLUDES="-I/usr/include/mit" - ], AC_MSG_RESULT(no)) - CFLAGS=$itk_oldCFlags - LIBS=$itk_oldLibs -fi - -#-------------------------------------------------------------------- -# On a few very rare systems, all of the libm.a stuff is -# already in libc.a. Set compiler flags accordingly. -# Also, Linux requires the "ieee" library for math to -# work right (and it must appear before "-lm"). -#-------------------------------------------------------------------- - -MATH_LIBS="" -AC_CHECK_FUNC(sin, , MATH_LIBS="-lm") -AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"]) - -#-------------------------------------------------------------------- -# If this system doesn't have a memmove procedure, use memcpy -# instead. -#-------------------------------------------------------------------- - -AC_CHECK_FUNC(memmove, , [AC_DEFINE(memmove, memcpy)]) - -#-------------------------------------------------------------------- -# Figure out whether "char" is unsigned. If so, set a -# #define for __CHAR_UNSIGNED__. -#-------------------------------------------------------------------- - -#AC_C_CHAR_UNSIGNED - -#-------------------------------------------------------------------- -# Under Solaris 2.4, strtod returns the wrong value for the -# terminating character under some conditions. Check for this -# and if the problem exists use a substitute procedure -# "fixstrtod" (provided by Tcl) that corrects the error. -#-------------------------------------------------------------------- - -AC_CHECK_FUNC(strtod, itk_strtod=1, itk_strtod=0) -if test "$itk_strtod" = 1; then - AC_MSG_CHECKING([for Solaris 2.4 strtod bug]) - AC_TRY_RUN([ - extern double strtod(); - int main() - { - char *string = "NaN"; - char *term; - strtod(string, &term); - if ((term != string) && (term[-1] == 0)) { - exit(1); - } - exit(0); - }], itk_ok=1, itk_ok=0, itk_ok=0) - if test "$itk_ok" = 1; then - AC_MSG_RESULT(ok) - else - AC_MSG_RESULT(buggy) - AC_DEFINE(strtod, fixstrtod) - fi -fi - -#-------------------------------------------------------------------- -# If we are building with cygwin, we need one set of library names, -# otherwise, we need the Source-Navigator set. -#-------------------------------------------------------------------- - - - -if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then - CYGITKLIBSPEC=itk${VERSION} -else - CYGITKLIBSPEC="itk`echo ${VERSION} | tr -d .`" -fi -CYGITKLIB=lib${CYGITKLIBSPEC}.a -CYGITKDLL=cygitk${VERSION}.dll -CYGITKWISH=cygitkwish${VERSION}.exe -CYGITKDEF=itkcyg.def -CYGITKTEST=cygitktest.exe -CYGIMPORTLIB=cygitk${VERSION}.lib -CYGITKRES=cygitk.o -CYGITKWISHRES=cygitkwish.o - -SNITKLIBSPEC=itk30.lib -SNITKLIB=${SNITKLIBSPEC} -SNITKDLL=snitk30.dll -SNITKWISH=snitkwish30.exe -SNITKDEF=itksn.def -SNITKTEST=snitktest.exe -SNIMPORTLIB=snitk30.lib -SNITKRES=snitk.obj -SNITKWISHRES=snitksh.obj - -if test "$GCC" = yes; then -ITKLIBSPEC=${CYGITKLIBSPEC} -ITKLIB=${CYGITKLIB} -ITKDLL=${CYGITKDLL} -ITKWISH=${CYGITKWISH} -ITKDEF=${CYGITKDEF} -ITKTEST=${CYGITKTEST} -ITKIMPORTLIB=${CYGIMPORTLIB} -ITKRES=${CYGITKRES} -ITKWISHRES=${CYGITKWISHRES} -else -ITKLIBSPEC=${SNITKLIBSPEC} -ITKLIB=${SNITKLIB} -ITKDLL=${SNITKDLL} -ITKWISH=${SNITKWISH} -ITKDEF=${SNITKDEF} -ITKTEST=${SNITKTEST} -ITKIMPORTLIB=${SNIMPORTLIB} -ITKRES=${SNITKRES} -ITKWISHRES=${SNITKWISHRES} -fi - -#-------------------------------------------------------------------- -# The statements below define a collection of symbols related to -# building libitk as a shared library instead of a static library. -#-------------------------------------------------------------------- - -AC_ARG_ENABLE(shared, - [ --enable-shared build libitk as a shared library], - [ok=$enableval], [ok=no]) -if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then - ITK_SHLIB_CFLAGS="${SHLIB_CFLAGS}" - eval "ITK_LIB_FILE=libitk${VERSION}${SHLIB_SUFFIX}" - ITK_PKG_FILE="[[file join [file dirname \$dir] ${ITK_LIB_FILE}]]" - MAKE_LIB="\${SHLIB_LD} -o ${ITK_LIB_FILE} ${LIBS} \${OBJS} ${SHLIB_LD_LIBS}" - RANLIB=":" -else - ITK_SHLIB_CFLAGS="" - eval "ITK_LIB_FILE=libitk${VERSION}.a" - ITK_PKG_FILE="" - MAKE_LIB="ar cr ${ITK_LIB_FILE} \${OBJS}" -fi - -# Note: in the following variable, it's important to use the absolute -# path name of the Tcl directory rather than "..": this is because -# AIX remembers this path and will attempt to use it at run-time to look -# up the Tcl library. - -if test "$GCC" = yes; then - ITK_BUILD_LIB_SPEC="-L`pwd` -l${ITKLIBSPEC}" - ITK_LIB_SPEC="-L${exec_prefix}/lib/ITK -l{ITKLIBSPEC}" - ITK_LIB_FULL_PATH="`pwd`/${ITKLIB}" -else - tmp="`pwd`/${ITKLIB}" - tmp2="`cygpath --windows $tmp`" - ITK_BUILD_LIB_SPEC="`echo $tmp2 | sed -e s#\\\\\\\\#/#g`" - ITK_LIB_FULL_PATH=${ITK_BUILD_LIB_SPEC} - tmp="${exec_prefix}/lib/ITK/${ITKLIB}" - tmp2="`cygpath --windows $tmp`" - ITK_LIB_SPEC="`echo $tmp2 | sed -e s#\\\\\\\\#/#g`" -fi - -if test "$GCC" = yes; then - BASELIBS="-lkernel32 $optlibs -ladvapi32 -luser32" - WINLIBS="-lgdi32 -lcomdlg32 -lwinspool" - LIBCDLL= -else - BASELIBS="kernel32.lib advapi32.lib user32.lib" - WINLIBS="gdi32.lib comdlg32.lib winspool.lib" - LIBCDLL="msvcrt.lib oldnames.lib" -fi - -AC_SUBST(CFLAGS) -AC_SUBST(DL_LIBS) -AC_SUBST(LD_FLAGS) -AC_SUBST(MATH_LIBS) -AC_SUBST(MAKE_LIB) -AC_SUBST(SHLIB_CFLAGS) -AC_SUBST(SHLIB_LD) -AC_SUBST(SHLIB_LD_LIBS) -AC_SUBST(SHLIB_SUFFIX) -AC_SUBST(SHLIB_VERSION) -AC_SUBST(TCL_BIN_DIR) -AC_SUBST(TCL_BUILD_LIB_SPEC) -AC_SUBST(TCL_SRC_DIR) -AC_SUBST(TCL_VERSION) -AC_SUBST(TCL_LIB_FILE) -AC_SUBST(TCL_LIB_FULL_PATH) -AC_SUBST(TK_BIN_DIR) -AC_SUBST(TK_BUILD_LIB_SPEC) -AC_SUBST(TK_SRC_DIR) -AC_SUBST(TK_VERSION) -AC_SUBST(TK_LIB_FILE) -AC_SUBST(TK_LIB_FULL_PATH) -AC_SUBST(ITCL_BIN_DIR) -AC_SUBST(ITCL_BUILD_LIB_SPEC) -AC_SUBST(ITCL_MAJOR_VERSION) -AC_SUBST(ITCL_MINOR_VERSION) -AC_SUBST(ITCL_SRC_DIR) -AC_SUBST(ITCL_VERSION) -AC_SUBST(ITCL_LIB_FILE) -AC_SUBST(ITCL_LIB_FULL_PATH) -AC_SUBST(ITK_BUILD_LIB_SPEC) -AC_SUBST(ITK_LD_SEARCH_FLAGS) -AC_SUBST(ITK_LIB_FILE) -AC_SUBST(ITK_LIB_FULL_PATH) -AC_SUBST(ITK_LIB_SPEC) -AC_SUBST(ITK_PKG_FILE) -AC_SUBST(ITK_SHLIB_CFLAGS) -AC_SUBST(ITK_SRC_DIR) -AC_SUBST(XINCLUDES) -AC_SUBST(XLIBSW) -AC_SUBST(CYGITKLIB) -AC_SUBST(CYGITKDLL) -AC_SUBST(CYGITKWISH) -AC_SUBST(CYGITKDEF) -AC_SUBST(CYGITKTEST) -AC_SUBST(CYGIMPORTLIB) -AC_SUBST(CYGITKRES) -AC_SUBST(CYGITKWISHRES) -AC_SUBST(SNITKLIB) -AC_SUBST(SNITKDLL) -AC_SUBST(SNITKWISH) -AC_SUBST(SNITKDEF) -AC_SUBST(SNITKTEST) -AC_SUBST(SNIMPORTLIB) -AC_SUBST(SNITKRES) -AC_SUBST(SNITKWISHRES) -AC_SUBST(ITKLIB) -AC_SUBST(ITKDLL) -AC_SUBST(ITKWISH) -AC_SUBST(ITKDEF) -AC_SUBST(ITKTEST) -AC_SUBST(ITKIMPORTLIB) -AC_SUBST(ITKRES) -AC_SUBST(ITKWISHRES) -AC_SUBST(BASELIBS) -AC_SUBST(WINLIBS) -AC_SUBST(LIBCDLL) - -AC_OUTPUT(Makefile ../unix/pkgIndex.tcl ../itkConfig.sh) - diff --git a/itcl/itk/win/pkgIndex.tcl b/itcl/itk/win/pkgIndex.tcl deleted file mode 100644 index 381ad6cae08..00000000000 --- a/itcl/itk/win/pkgIndex.tcl +++ /dev/null @@ -1,3 +0,0 @@ -# Tcl package index file, version 1.0 - -package ifneeded Itk 3.1 [list load [file join $dir itk31.dll] Itk] diff --git a/itcl/itk/win/winMain.c b/itcl/itk/win/winMain.c deleted file mode 100644 index 4ec8d1976c4..00000000000 --- a/itcl/itk/win/winMain.c +++ /dev/null @@ -1,345 +0,0 @@ -/* - * winMain.c -- - * - * Main entry point for wish and other Tk-based applications. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * SCCS: @(#) winMain.c 1.33 96/12/17 12:56:14 - */ - -#include -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN -#include -#include - -#include "itk.h" - -/* include tclInt.h for access to namespace API */ -#include "tkInt.h" - - -/* - * Forward declarations for procedures defined later in this file: - */ - -static void setargv _ANSI_ARGS_((int *argcPtr, char ***argvPtr)); -static void WishPanic _ANSI_ARGS_(TCL_VARARGS(char *,format)); - -#ifdef TK_TEST -EXTERN int Tktest_Init(Tcl_Interp *interp); -#endif /* TK_TEST */ - - -/* - *---------------------------------------------------------------------- - * - * WinMain -- - * - * Main entry point from Windows. - * - * Results: - * Returns false if initialization fails, otherwise it never - * returns. - * - * Side effects: - * Just about anything, since from here we call arbitrary Tcl code. - * - *---------------------------------------------------------------------- - */ - -int APIENTRY -WinMain(hInstance, hPrevInstance, lpszCmdLine, nCmdShow) - HINSTANCE hInstance; - HINSTANCE hPrevInstance; - LPSTR lpszCmdLine; - int nCmdShow; -{ - char **argv, *p; - int argc; - char buffer[MAX_PATH]; - - Tcl_SetPanicProc(WishPanic); - - /* - * Set up the default locale to be standard "C" locale so parsing - * is performed correctly. - */ - - setlocale(LC_ALL, "C"); - - - /* - * Increase the application queue size from default value of 8. - * At the default value, cross application SendMessage of WM_KILLFOCUS - * will fail because the handler will not be able to do a PostMessage! - * This is only needed for Windows 3.x, since NT dynamically expands - * the queue. - */ - SetMessageQueue(64); - - /* - * Create the console channels and install them as the standard - * channels. All I/O will be discarded until TkConsoleInit is - * called to attach the console to a text widget. - */ - - setargv(&argc, &argv); - - /* - * Replace argv[0] with full pathname of executable, and forward - * slashes substituted for backslashes. - */ - - GetModuleFileName(NULL, buffer, sizeof(buffer)); - argv[0] = buffer; - for (p = buffer; *p != '\0'; p++) { - if (*p == '\\') { - *p = '/'; - } - } - - Tk_Main(argc, argv, Tcl_AppInit); - return 1; -} - - -/* - *---------------------------------------------------------------------- - * - * Tcl_AppInit -- - * - * This procedure performs application-specific initialization. - * Most applications, especially those that incorporate additional - * packages, will have their own version of this procedure. - * - * Results: - * Returns a standard Tcl completion code, and leaves an error - * message in interp->result if an error occurs. - * - * Side effects: - * Depends on the startup script. - * - *---------------------------------------------------------------------- - */ - -int -Tcl_AppInit(interp) - Tcl_Interp *interp; /* Interpreter for application. */ -{ - if (Tcl_Init(interp) == TCL_ERROR) { - goto error; - } - if (Tk_Init(interp) == TCL_ERROR) { - goto error; - } - Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit); - - if (Itcl_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - if (Itk_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - Tcl_StaticPackage(interp, "Itcl", Itcl_Init, Itcl_SafeInit); - Tcl_StaticPackage(interp, "Itk", Itk_Init, (Tcl_PackageInitProc *) NULL); - - /* - * This is itkwish, so import all [incr Tcl] commands by - * default into the global namespace. Fix up the autoloader - * to do the same. - */ - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itk::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Import(interp, Tcl_GetGlobalNamespace(interp), - "::itcl::*", /* allowOverwrite */ 1) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_Eval(interp, "auto_mkindex_parser::slavehook { _%@namespace import -force ::itcl::* ::itk::* }") != TCL_OK) { - return TCL_ERROR; - } - - /* - * Initialize the console only if we are running as an interactive - * application. - */ - - if (Tk_CreateConsoleWindow(interp) == TCL_ERROR) { - goto error; - } - -#ifdef TK_TEST - if (Tktest_Init(interp) == TCL_ERROR) { - goto error; - } - Tcl_StaticPackage(interp, "Tktest", Tktest_Init, - (Tcl_PackageInitProc *) NULL); -#endif /* TK_TEST */ - - Tcl_SetVar(interp, "tcl_rcFileName", "~/itkwishrc.tcl", TCL_GLOBAL_ONLY); - return TCL_OK; - -error: - WishPanic(interp->result); - return TCL_ERROR; -} - -/* - *---------------------------------------------------------------------- - * - * WishPanic -- - * - * Display a message and exit. - * - * Results: - * None. - * - * Side effects: - * Exits the program. - * - *---------------------------------------------------------------------- - */ - -void -WishPanic TCL_VARARGS_DEF(char *,arg1) -{ - va_list argList; - char buf[1024]; - char *format; - - format = TCL_VARARGS_START(char *,arg1,argList); - vsprintf(buf, format, argList); - - MessageBeep(MB_ICONEXCLAMATION); - MessageBox(NULL, buf, "Fatal Error in Wish", - MB_ICONSTOP | MB_OK | MB_TASKMODAL | MB_SETFOREGROUND); -#ifdef _MSC_VER - DebugBreak(); -#endif - ExitProcess(1); -} -/* - *------------------------------------------------------------------------- - * - * setargv -- - * - * Parse the Windows command line string into argc/argv. Done here - * because we don't trust the builtin argument parser in crt0. - * Windows applications are responsible for breaking their command - * line into arguments. - * - * 2N backslashes + quote -> N backslashes + begin quoted string - * 2N + 1 backslashes + quote -> literal - * N backslashes + non-quote -> literal - * quote + quote in a quoted string -> single quote - * quote + quote not in quoted string -> empty string - * quote -> begin quoted string - * - * Results: - * Fills argcPtr with the number of arguments and argvPtr with the - * array of arguments. - * - * Side effects: - * Memory allocated. - * - *-------------------------------------------------------------------------- - */ - -static void -setargv(argcPtr, argvPtr) - int *argcPtr; /* Filled with number of argument strings. */ - char ***argvPtr; /* Filled with argument strings (malloc'd). */ -{ - char *cmdLine, *p, *arg, *argSpace; - char **argv; - int argc, size, inquote, copy, slashes; - - cmdLine = GetCommandLine(); - - /* - * Precompute an overly pessimistic guess at the number of arguments - * in the command line by counting non-space spans. - */ - - size = 2; - for (p = cmdLine; *p != '\0'; p++) { - if (isspace(*p)) { - size++; - while (isspace(*p)) { - p++; - } - if (*p == '\0') { - break; - } - } - } - argSpace = (char *) ckalloc((unsigned) (size * sizeof(char *) - + strlen(cmdLine) + 1)); - argv = (char **) argSpace; - argSpace += size * sizeof(char *); - size--; - - p = cmdLine; - for (argc = 0; argc < size; argc++) { - argv[argc] = arg = argSpace; - while (isspace(*p)) { - p++; - } - if (*p == '\0') { - break; - } - - inquote = 0; - slashes = 0; - while (1) { - copy = 1; - while (*p == '\\') { - slashes++; - p++; - } - if (*p == '"') { - if ((slashes & 1) == 0) { - copy = 0; - if ((inquote) && (p[1] == '"')) { - p++; - copy = 1; - } else { - inquote = !inquote; - } - } - slashes >>= 1; - } - - while (slashes) { - *arg = '\\'; - arg++; - slashes--; - } - - if ((*p == '\0') || (!inquote && isspace(*p))) { - break; - } - if (copy != 0) { - *arg = *p; - arg++; - } - p++; - } - *arg = '\0'; - argSpace = arg + 1; - } - argv[argc] = NULL; - - *argcPtr = argc; - *argvPtr = argv; -} - -- cgit v1.2.1