1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/doc/fw_commands.txt Tue Jan 29 22:31:52 2008 +0100
1.3 @@ -0,0 +1,89 @@
1.4 +--- Protocol Descrition ---
1.5 +
1.6 +[------------------ HEADER ------------------] [- DATA -]
1.7 +[SYNC] [COMMAND] [LENGTH_UPPER] [LENGTH_LOWER] ([DATA])
1.8 +
1.9 +
1.10 +--- HEADER ---
1.11 +-- Sync --
1.12 +Commands send from the Host to the Unit start with 0xAA.
1.13 +Commands from the unit, to the Host Computer start with 0x55.
1.14 +
1.15 +-- Length --
1.16 +Warning: A complete Packet _must_ be smaller than 64 Bytes. This is a Firmware limit!
1.17 +Therefore, LENGTH_UPPER is always zero.
1.18 +LENGTH_LOWER ist the number of Data bytes, following the header. The Firmware will scrap the complete package, if length is not correct.
1.19 +
1.20 +--- Commands ---
1.21 +Currently the following commands are implemented:
1.22 +
1.23 +-- Commands used by the unit --
1.24 +In most cases, these are replys to host initiated commands. Only CMD_SYS_IR is used 'standalone'.
1.25 +
1.26 +- CMD_SYS_SYNC (0x00)-
1.27 + * not used.
1.28 +
1.29 +- CMD_SYS_ACK (0x01) -
1.30 + * Acknowledge command.
1.31 + * Can contain data
1.32 +
1.33 +- CMD_SYS_NACK (0x02) -
1.34 + * Not Acknowledge
1.35 + * Never contains data
1.36 +
1.37 +- CMD_SYS_NIMP (0xFF) -
1.38 + * Issued commands is not implemented.
1.39 + * Never contains data
1.40 +
1.41 +- CMD_SYS_IR (0x10) -
1.42 + * A Infrared or Key-Event has occured
1.43 + * 2 data Bytes: RC5-Address & RC5-Command
1.44 +
1.45 +-- Host initiated commands --
1.46 +- CMD_DISP_CLEAR_SCREEN (0x10) -
1.47 + * Required data: None
1.48 + * Clears Display Data-RAM from 0x0000 to 0x1000
1.49 +
1.50 +- CMD_DISP_SET_ROW_DATA (0x14) -
1.51 + * Required data: at least 3 data Bytes: ADDR_LOWER, ADDR_UPPER, DISPLAY_DATA[]
1.52 + * sets the Display Ram starting from address (ADDR_UPPER << 2 + ADDR_LOWER) to DISPLAY_DATA[].
1.53 + * most usefull if one ore more complete rows are written.
1.54 +
1.55 +- CMD_DISP_SET_ADDRESS (0x16) -
1.56 + * Required data: 2 data Bytes: ADDR_LOWER, ADDR_UPPER
1.57 + * Sets the Display Ram Address to (ADDR_UPPER << 2 + ADDR_LOWER)
1.58 +
1.59 +- CMD_READ_CLOCK (0x40) -
1.60 + * Required data: None
1.61 + * Returns 10Bytes of Data, corresponding to the pcf8583 ram from 0x00 to 0x0F.
1.62 +
1.63 +- CMD_WRITE_CLOCK (0x41) -
1.64 + * Required data: 10Bytes: CLOCK_DATA[]
1.65 + * Writes CLOCK_DATA to the pcf8583 from address 0x00 to 0x0F.
1.66 +
1.67 +- CMD_SET_PWM1 (0x45) -
1.68 + * Required data: 1 Byte (DutyCycle)
1.69 + * Loads PWM1 DutyCycle Register
1.70 +
1.71 +- CMD_SET_PWM2 (0x46) -
1.72 + * Required data: 1 Byte (DutyCycle)
1.73 + * Loads PWM2 DutyCycle Register
1.74 +
1.75 +- CMD_SET_MODE_MANAGED (0x70) -
1.76 + * Required data: None
1.77 + * Enters 'managed mode': now the display wont be updated, ir&key events will be send
1.78 +
1.79 +- CMD_SET_MODE_UNMANAGED (0x71) -
1.80 + * Required data: None
1.81 + * Enters 'unmanaged mode': now the display wont be updated, ir&key events will be send
1.82 +
1.83 +- CMD_BOOT (0x80) -
1.84 + * Required data: None
1.85 + * Enters Bootload mode. NO ACK is send!
1.86 +
1.87 +--- Examples ---
1.88 +0xAA 0x10 0x00 0x00 -> Clears the Display
1.89 +0xAA 0x45 0x00 0x01 0x80 -> Sets PWM1 to 50% DC
1.90 +0xAA 0x14 0x00 0x03 0x00 0x08 0x42 -> Writes a small 'b' to the upper left display corner
1.91 +0xAA 0x80 0x00 0x00 -> Enters Bootloader mode
1.92 +0xAA 0x40 0x00 0x00 -> Returns 10Bytes Clock Data
1.93 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/doc/glcd_rammap.txt Tue Jan 29 22:31:52 2008 +0100
2.3 @@ -0,0 +1,22 @@
2.4 +Gfx-Area:
2.5 +
2.6 + Row0 Row1 Row2 ... Row29 Row30
2.7 +Col0 0x000 0x0001 0x0002 ... 0x001C 0x001D
2.8 +Col1 0x001E 0x001F 0x0020 ... 0x003A 0x003B
2.9 +. . . . . .
2.10 +. . . . . .
2.11 +. . . . . .
2.12 +Col62 0x0744 0x0745 0x0756 0x0760 0x0761
2.13 +Col63 0x0762 0x0763 0x0764 0x077E 0x077F
2.14 +
2.15 +
2.16 +
2.17 +Txt-Area
2.18 + Row0 Row1 Row2 ... Row29 Row30
2.19 +Col0 0x0800 0x0801 0x0802 ... 0x081C 0x081D
2.20 +Col1 0x081E 0x081F 0x0820 ... 0x083A 0x083B
2.21 +. . . . . .
2.22 +. . . . . .
2.23 +. . . . . .
2.24 +Col6 0x08B4 0x08B5 0x08B6 ... 0x08D0 0x08D1
2.25 +Col7 0x08D2 0x08D3 0x08D4 ... 0x08EE 0x08EF
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/firmware/18f4550_boot.lkr Tue Jan 29 22:31:52 2008 +0100
3.3 @@ -0,0 +1,32 @@
3.4 +// File: 18f4550.lkr
3.5 +// linker script for the PIC18F4550 processor with Bootloader
3.6 +
3.7 +LIBPATH .
3.8 +
3.9 +FILES c018i.o
3.10 +FILES clib.lib
3.11 +FILES p18f4550.lib
3.12 +
3.13 +CODEPAGE NAME=boot START=0x0 END=0x7FF PROTECTED
3.14 +
3.15 +CODEPAGE NAME=vectors START=0x800 END=0x829 PROTECTED
3.16 +CODEPAGE NAME=page START=0x82A END=0x7FFF
3.17 +CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
3.18 +CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
3.19 +CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
3.20 +CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED
3.21 +
3.22 +ACCESSBANK NAME=accessram START=0x0 END=0x5F
3.23 +DATABANK NAME=gpr0 START=0x60 END=0xFF
3.24 +DATABANK NAME=gpr1 START=0x100 END=0x1FF
3.25 +DATABANK NAME=gpr2 START=0x200 END=0x2FF
3.26 +DATABANK NAME=gpr3 START=0x300 END=0x3FF
3.27 +DATABANK NAME=usb4 START=0x400 END=0x4FF PROTECTED
3.28 +DATABANK NAME=usb5 START=0x500 END=0x5FF PROTECTED
3.29 +DATABANK NAME=usb6 START=0x600 END=0x6FF PROTECTED
3.30 +DATABANK NAME=usb7 START=0x700 END=0x7FF PROTECTED
3.31 +ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
3.32 +
3.33 +SECTION NAME=CONFIG ROM=config
3.34 +
3.35 +STACK SIZE=0x100 RAM=gpr3
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/firmware/18f4550i.lkr Tue Jan 29 22:31:52 2008 +0100
4.3 @@ -0,0 +1,32 @@
4.4 +// File: 18f4550i.lkr
4.5 +// Sample ICD2 linker script for the PIC18F4550 processor
4.6 +
4.7 +LIBPATH .
4.8 +
4.9 +FILES c018i.o
4.10 +FILES clib.lib
4.11 +FILES p18f4550.lib
4.12 +
4.13 +CODEPAGE NAME=vectors START=0x0 END=0x29 PROTECTED
4.14 +CODEPAGE NAME=page START=0x2A END=0x7DBF
4.15 +CODEPAGE NAME=debug START=0x7DC0 END=0x7FFF PROTECTED
4.16 +CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
4.17 +CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
4.18 +CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
4.19 +CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED
4.20 +
4.21 +ACCESSBANK NAME=accessram START=0x0 END=0x5F
4.22 +DATABANK NAME=gpr0 START=0x60 END=0xFF
4.23 +DATABANK NAME=gpr1 START=0x100 END=0x1FF
4.24 +DATABANK NAME=gpr2 START=0x200 END=0x2FF
4.25 +DATABANK NAME=gpr3 START=0x300 END=0x3F3
4.26 +DATABANK NAME=dbgspr START=0x3F4 END=0x3FF PROTECTED
4.27 +DATABANK NAME=usb4 START=0x400 END=0x4FF PROTECTED
4.28 +DATABANK NAME=usb5 START=0x500 END=0x5FF PROTECTED
4.29 +DATABANK NAME=usb6 START=0x600 END=0x6FF PROTECTED
4.30 +DATABANK NAME=usb7 START=0x700 END=0x7FF PROTECTED
4.31 +ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
4.32 +
4.33 +SECTION NAME=CONFIG ROM=config
4.34 +
4.35 +STACK SIZE=0x100 RAM=gpr2
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/firmware/T6963.c Tue Jan 29 22:31:52 2008 +0100
5.3 @@ -0,0 +1,172 @@
5.4 +/*
5.5 + * Project Frontplatte
5.6 + *
5.7 + * t6963.c - Controll a t6963c display
5.8 + *
5.9 + * This file is released under the GNU General Public License. Refer
5.10 + * to the COPYING file distributed with this package.
5.11 + *
5.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
5.13 + * heavily inspired by Holger Klabunde
5.14 + */
5.15 +
5.16 +
5.17 +/** I N C L U D E S **********************************************************/
5.18 +#include <p18cxxx.h>
5.19 +#include "t6963.h"
5.20 +#include "io_cfg.h"
5.21 +
5.22 +/** P R I V A T E P R O T O T Y P E S ***************************************/
5.23 +unsigned char lcd_checkBusy(void);
5.24 +
5.25 +/** V A R I A B L E S ********************************************************/
5.26 +unsigned char lcd_auto_mode = MODE_NOAUTO;
5.27 +
5.28 +
5.29 +/** H I G H L E V E L ********************************************************/
5.30 +void lcd_ClearScreen(void)
5.31 +{
5.32 + unsigned int i;
5.33 +
5.34 + // Address Pointer Set
5.35 + lcd_WriteData(0x00); // byte1
5.36 + lcd_WriteData(0x00); // byte2
5.37 + lcd_WriteCommand(0x24); //set!
5.38 +
5.39 +
5.40 + // bis 0x08F0 löschen...
5.41 + lcd_SetAutomode(MODE_AUTO);
5.42 + for(i=0; i <= 0x11E; i++)
5.43 + {
5.44 + lcd_WriteData(0x00); lcd_WriteData(0x00);
5.45 + lcd_WriteData(0x00); lcd_WriteData(0x00);
5.46 + lcd_WriteData(0x00); lcd_WriteData(0x00);
5.47 + lcd_WriteData(0x00); lcd_WriteData(0x00);
5.48 + }
5.49 + lcd_SetAutomode(MODE_NOAUTO);
5.50 +
5.51 + lcd_WriteData(0x00); // byte1
5.52 + lcd_WriteData(0x00); // byte2
5.53 + lcd_WriteCommand(0x24); //set!
5.54 +
5.55 +}
5.56 +
5.57 +void lcd_InitDisplay(void)
5.58 +{
5.59 + mLcdDataDirOut();
5.60 + mLcdWriteData(0x00);
5.61 + mLcdInitCtrl();
5.62 +
5.63 +
5.64 + // MODE_SET
5.65 + lcd_WriteCommand(0x80); // OR-Mode; CG-ROM Mode
5.66 +
5.67 + // DISPLAY_MODE
5.68 + lcd_WriteCommand(0x9C); // GFX-Mode=1, Text-Mode=1, Cursor=0, Blink=0 -> C
5.69 +
5.70 +
5.71 + // CONTROL_WORD set Text-Area-Home
5.72 + lcd_WriteData(0x00); // byte1
5.73 + lcd_WriteData(0x08); // byte2
5.74 + lcd_WriteCommand(0x40); //set!
5.75 +
5.76 + // CONTROL_WORD SET Text-Area
5.77 + lcd_WriteData(0x1E); // TA-Value (Address of Second Line)
5.78 + lcd_WriteData(0x00); // always Zero
5.79 + lcd_WriteCommand(0x41); // set!
5.80 +
5.81 + // CONTROL_WORD set GFX-Area-Home
5.82 + lcd_WriteData(0x00); // byte1
5.83 + lcd_WriteData(0x00); // byte2
5.84 + lcd_WriteCommand(0x42); //set!
5.85 +
5.86 + // CONTROL_WORD SET GFX-Area
5.87 + lcd_WriteData(0x1E); // Start-Address of Second Line
5.88 + lcd_WriteData(0x00); // always Zero
5.89 + lcd_WriteCommand(0x43); // set!
5.90 +
5.91 +
5.92 +
5.93 + lcd_ClearScreen();
5.94 +}
5.95 +
5.96 +/** I N T E R F A C E ********************************************************/
5.97 +unsigned char lcd_CheckBusy(void)
5.98 +{
5.99 + unsigned char by;
5.100 +
5.101 + D_CD = MODE_COMMAND;
5.102 + mLcdDataDirIn();
5.103 +
5.104 + if (lcd_auto_mode == MODE_AUTO)
5.105 + {
5.106 + // in auto_mode only status3 is valid
5.107 + do {
5.108 + D_RD = 0;
5.109 + by = mLcdReadData();
5.110 + by &= 0x08;
5.111 + D_RD = 1;
5.112 + }
5.113 + while (by!=0x08);
5.114 + }
5.115 + else
5.116 + {
5.117 + // check status1 & status 2
5.118 + do {
5.119 + D_RD = 0;
5.120 + by = mLcdReadData();
5.121 + by &= 0x03;
5.122 + D_RD = 1;
5.123 + }
5.124 + while (by!=0x03);
5.125 + }
5.126 +
5.127 + mLcdDataDirOut();
5.128 + return by;
5.129 +}
5.130 +
5.131 +void lcd_SetAutomode(unsigned char mode)
5.132 +{
5.133 + unsigned char by;
5.134 +
5.135 + if (mode == MODE_AUTO)
5.136 + {
5.137 + lcd_WriteCommand(0xB0); // Data Auto Write Set
5.138 + lcd_CheckBusy();
5.139 + }
5.140 + else
5.141 + {
5.142 + lcd_WriteCommand(0xB2); // Auto Mode Reset
5.143 + }
5.144 +
5.145 + lcd_auto_mode = mode;
5.146 + return;
5.147 +}
5.148 +
5.149 +
5.150 +void lcd_WriteData(unsigned char dat)
5.151 +{
5.152 + lcd_CheckBusy();
5.153 +
5.154 + D_CD = MODE_DATA;
5.155 + mLcdWriteData(dat); //Daten schreiben
5.156 + D_WR = 0;
5.157 + D_WR = 1;
5.158 +}
5.159 +
5.160 +void lcd_WriteCommand(unsigned char comand)
5.161 +{
5.162 + lcd_CheckBusy();
5.163 +
5.164 + D_CD = MODE_COMMAND;
5.165 + mLcdWriteData(comand); //Kommando schreiben
5.166 + D_WR = 0;
5.167 + D_WR = 1;
5.168 +}
5.169 +
5.170 +void lcd_WriteByte(unsigned char dat)
5.171 +{
5.172 + lcd_WriteData(dat); //Daten schreiben
5.173 + lcd_WriteCommand(0xC0); //Kommando schreiben
5.174 +}
5.175 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/firmware/T6963.h Tue Jan 29 22:31:52 2008 +0100
6.3 @@ -0,0 +1,29 @@
6.4 +/*
6.5 + * Project Frontplatte
6.6 + *
6.7 + * t6963.h - Controll a t6963c display
6.8 + *
6.9 + * This file is released under the GNU General Public License. Refer
6.10 + * to the COPYING file distributed with this package.
6.11 + *
6.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
6.13 + */
6.14 +
6.15 +#ifndef t6963_h
6.16 +#define t6963_h
6.17 +
6.18 +
6.19 +#define MODE_DATA 0 //Daten vom/zum Display
6.20 +#define MODE_COMMAND 1 //Kommando/BusyCheck zum/vom Display
6.21 +
6.22 +#define MODE_NOAUTO 0
6.23 +#define MODE_AUTO 1
6.24 +
6.25 +void lcd_InitDisplay(void);
6.26 +void lcd_ClearScreen(void);
6.27 +void lcd_WriteByte(unsigned char dat);
6.28 +void lcd_SetAutomode(unsigned char mode);
6.29 +void lcd_WriteCommand(unsigned char comand);
6.30 +void lcd_WriteData(unsigned char comand);
6.31 +
6.32 +#endif // t6963_h
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/firmware/TODO Tue Jan 29 22:31:52 2008 +0100
7.3 @@ -0,0 +1,7 @@
7.4 +Hardware:
7.5 +- Kontrastspannung
7.6 +- fiepen/summen, welches durch die PWM verursacht wird, beseitigen
7.7 +
7.8 +Firmware:
7.9 +- evtl. tastenwiederholungen senden, wenn nicht losgelassen wird
7.10 +- rc5-codes der tasten konfigurierbar machen (eeprom)
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/firmware/_bin/config.lst Tue Jan 29 22:31:52 2008 +0100
8.3 @@ -0,0 +1,946 @@
8.4 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 1
8.5 +
8.6 +
8.7 +LOC OBJECT CODE LINE SOURCE TEXT
8.8 + VALUE
8.9 +
8.10 + 00001 ;******************************************************************************
8.11 + 00002 ; Files required: P18F2550.INC *
8.12 + 00003 ;******************************************************************************
8.13 + 00004
8.14 +Warning[215]: Processor superseded by command line. Verify processor symbol.
8.15 + 00005 LIST P=18F2550 ;directive to define processor and file format
8.16 + 00006 #include <P18F2550.INC> ;processor specific variable definitions
8.17 + 00001 LIST
8.18 + 00002
8.19 + 00003 ;==========================================================================
8.20 + 00004 ; MPASM PIC18F2550 processor include
8.21 + 00005 ;
8.22 + 00006 ; (c) Copyright 1999-2007 Microchip Technology, All rights reserved
8.23 + 00007 ;==========================================================================
8.24 + 00008
8.25 +Message[301]: MESSAGE: (Processor-header file mismatch. Verify selected processor.)
8.26 + 01486 LIST
8.27 + 00007
8.28 + 00008
8.29 + 00009 ;define YOUR Device ID here !
8.30 + 00010 __IDLOCS _IDLOC0, 0
8.31 +200000 0100 00011 __IDLOCS _IDLOC1, 1
8.32 + 00012 __IDLOCS _IDLOC2, 2
8.33 +200002 0302 00013 __IDLOCS _IDLOC3, 3
8.34 + 00014 __IDLOCS _IDLOC4, 4
8.35 +200004 0504 00015 __IDLOCS _IDLOC5, 5
8.36 + 00016 __IDLOCS _IDLOC6, 6
8.37 +200006 0706 00017 __IDLOCS _IDLOC7, 7
8.38 + 00018
8.39 + 00019 ;******************************************************************************
8.40 + 00020 ;Configuration bits
8.41 + 00021 ; The __CONFIG directive defines configuration data within the .ASM file.
8.42 + 00022 ; The labels following the directive are defined in the P18F2550.INC file.
8.43 + 00023 ; The PIC18F Data Sheet explains the functions of the configuration bits.
8.44 + 00024 ; Change the following lines to suit your application.
8.45 + 00025
8.46 + 00026 ;this does not work for me :(
8.47 + 00027 ; __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_1_1L & _USBDIV_2_1L
8.48 + 00028 ; __CONFIG _CONFIG1H, _IESO_OFF_1H & _FCMEM_OFF_1H & _FOSC_HSPLL_HS_1H
8.49 + 00029 ; __CONFIG _CONFIG2L, _BOR_ON_2L & _PWRT_ON_2L & _BORV_45_2L & _VREGEN_ON_2L
8.50 + 00030 ; __CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_128_2H
8.51 + 00031 ; __CONFIG _CONFIG3H, _MCLRE_ON_3H & _PBADEN_OFF_3H
8.52 + 00032 ; __CONFIG _CONFIG4L, _DEBUG_OFF_4L & _LVP_OFF_4L & _STVREN_ON_4L & _ICPRT_OFF_4L
8.53 + 00033 ; __CONFIG _CONFIG5L, _CP0_ON_5L & _CP1_ON_5L & _CP2_ON_5L & _CP3_ON_5L
8.54 + 00034 ; __CONFIG _CONFIG5H, _CPB_OFF_5H & _CPD_OFF_5H
8.55 + 00035 ; __CONFIG _CONFIG6L, _WRT0_OFF_6L & _WRT1_OFF_6L & _WRT2_OFF_6L & _WRT3_OFF_6L
8.56 + 00036 ; __CONFIG _CONFIG6H, _WRTC_OFF_6H & _WRTB_OFF_6H & _WRTD_OFF_6H
8.57 + 00037 ; __CONFIG _CONFIG7L, _EBTR0_OFF_7L & _EBTR1_OFF_7L & _EBTR2_OFF_7L & _EBTR3_OFF_7L
8.58 + 00038 ; __CONFIG _CONFIG7H, _EBTRB_OFF_7H
8.59 + 00039
8.60 + 00040 ;Values taken from original picdemfsusb.hex file because my configuration above did not work
8.61 + 00041 ;
8.62 + 00042 ;Werte aus der Original picdemfsusb.hex Datei weil meine Konfiguration oben nicht klappte
8.63 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 2
8.64 +
8.65 +
8.66 +LOC OBJECT CODE LINE SOURCE TEXT
8.67 + VALUE
8.68 +
8.69 + 00043 ;
8.70 + 00044 ;:020000040030CA
8.71 + 00045 ;:0E000000240E3F1E008181000FC00FA00F4094
8.72 + 00046
8.73 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.74 + 00047 __CONFIG _CONFIG1L, H'24'
8.75 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.76 +300000 0E24 00048 __CONFIG _CONFIG1H, H'0E'
8.77 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.78 + 00049 __CONFIG _CONFIG2L, H'3F'
8.79 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.80 +300002 1E3F 00050 __CONFIG _CONFIG2H, H'1E'
8.81 + 00051 ; __CONFIG _CONFIG3L, H'00' ;Error Message from mpasm
8.82 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.83 +300004 81FF 00052 __CONFIG _CONFIG3H, H'81'
8.84 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.85 +300006 FF81 00053 __CONFIG _CONFIG4L, H'81'
8.86 + 00054 ; __CONFIG _CONFIG4H, H'00' ;Error Message from mpasm
8.87 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.88 + 00055 __CONFIG _CONFIG5L, H'0F'
8.89 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.90 +300008 C00F 00056 __CONFIG _CONFIG5H, H'C0'
8.91 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.92 + 00057 __CONFIG _CONFIG6L, H'0F'
8.93 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.94 +30000A A00F 00058 __CONFIG _CONFIG6H, H'A0'
8.95 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.96 + 00059 __CONFIG _CONFIG7L, H'0F'
8.97 +Warning[230]: __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
8.98 +30000C 400F 00060 __CONFIG _CONFIG7H, H'40'
8.99 + 00061
8.100 + 00062 ;!! Configuration Word ans ENDE deiner ASM-Datei setzen !!
8.101 + 00063 ;Sonst landet es nicht im HEX-File
8.102 + 00064
8.103 + 00065 ;EEPROM Daten
8.104 + 00066 ; ORG 0xF00000
8.105 + 00067 ; DB "Holgi was here",0,1,2,3,4,5,6,7,8,9
8.106 + 00068 END
8.107 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 3
8.108 +
8.109 +
8.110 +SYMBOL TABLE
8.111 + LABEL VALUE
8.112 +
8.113 +A 00000000
8.114 +ABDEN 00000000
8.115 +ABDOVF 00000007
8.116 +ACCESS 00000000
8.117 +ACKDT 00000005
8.118 +ACKEN 00000004
8.119 +ACKSTAT 00000006
8.120 +ACQT0 00000003
8.121 +ACQT1 00000004
8.122 +ACQT2 00000005
8.123 +ACTVIE 00000002
8.124 +ACTVIF 00000002
8.125 +ADCON0 00000FC2
8.126 +ADCON1 00000FC1
8.127 +ADCON2 00000FC0
8.128 +ADCS0 00000000
8.129 +ADCS1 00000001
8.130 +ADCS2 00000002
8.131 +ADDEN 00000003
8.132 +ADDR0 00000000
8.133 +ADDR1 00000001
8.134 +ADDR2 00000002
8.135 +ADDR3 00000003
8.136 +ADDR4 00000004
8.137 +ADDR5 00000005
8.138 +ADDR6 00000006
8.139 +ADEN 00000003
8.140 +ADFM 00000007
8.141 +ADIE 00000006
8.142 +ADIF 00000006
8.143 +ADIP 00000006
8.144 +ADON 00000000
8.145 +ADRES 00000FC3
8.146 +ADRESH 00000FC4
8.147 +ADRESL 00000FC3
8.148 +AN0 00000000
8.149 +AN1 00000001
8.150 +AN2 00000002
8.151 +AN3 00000003
8.152 +AN4 00000005
8.153 +BANKED 00000001
8.154 +BAUDCON 00000FB8
8.155 +BCLIE 00000003
8.156 +BCLIF 00000003
8.157 +BCLIP 00000003
8.158 +BF 00000000
8.159 +BGST 00000005
8.160 +BOR 00000000
8.161 +BRG16 00000003
8.162 +BRGH 00000002
8.163 +BSR 00000FE0
8.164 +BTOEE 00000004
8.165 +BTOEF 00000004
8.166 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 4
8.167 +
8.168 +
8.169 +SYMBOL TABLE
8.170 + LABEL VALUE
8.171 +
8.172 +BTSEE 00000007
8.173 +BTSEF 00000007
8.174 +C 00000000
8.175 +C1INV 00000004
8.176 +C1OUT 00000006
8.177 +C2INV 00000005
8.178 +C2OUT 00000007
8.179 +CCP1 00000002
8.180 +CCP1AS 00000FB6
8.181 +CCP1CON 00000FBD
8.182 +CCP1DEL 00000FB7
8.183 +CCP1IE 00000002
8.184 +CCP1IF 00000002
8.185 +CCP1IP 00000002
8.186 +CCP1M0 00000000
8.187 +CCP1M1 00000001
8.188 +CCP1M2 00000002
8.189 +CCP1M3 00000003
8.190 +CCP2CON 00000FBA
8.191 +CCP2IE 00000000
8.192 +CCP2IF 00000000
8.193 +CCP2IP 00000000
8.194 +CCP2M0 00000000
8.195 +CCP2M1 00000001
8.196 +CCP2M2 00000002
8.197 +CCP2M3 00000003
8.198 +CCPR1 00000FBE
8.199 +CCPR1H 00000FBF
8.200 +CCPR1L 00000FBE
8.201 +CCPR2 00000FBB
8.202 +CCPR2H 00000FBC
8.203 +CCPR2L 00000FBB
8.204 +CFGS 00000006
8.205 +CHS0 00000002
8.206 +CHS1 00000003
8.207 +CHS2 00000004
8.208 +CHS3 00000005
8.209 +CIS 00000003
8.210 +CK 00000006
8.211 +CKE 00000006
8.212 +CKP 00000004
8.213 +CM0 00000000
8.214 +CM1 00000001
8.215 +CM2 00000002
8.216 +CMCON 00000FB4
8.217 +CMIE 00000006
8.218 +CMIF 00000006
8.219 +CMIP 00000006
8.220 +CRC16EE 00000002
8.221 +CRC16EF 00000002
8.222 +CRC5EE 00000001
8.223 +CRC5EF 00000001
8.224 +CREN 00000004
8.225 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 5
8.226 +
8.227 +
8.228 +SYMBOL TABLE
8.229 + LABEL VALUE
8.230 +
8.231 +CSRC 00000007
8.232 +CVR0 00000000
8.233 +CVR1 00000001
8.234 +CVR2 00000002
8.235 +CVR3 00000003
8.236 +CVRCON 00000FB5
8.237 +CVREF 00000004
8.238 +CVREN 00000007
8.239 +CVROE 00000006
8.240 +CVRR 00000005
8.241 +CVRSS 00000004
8.242 +D 00000005
8.243 +DATA_ADDRESS 00000005
8.244 +DC 00000001
8.245 +DC1B0 00000004
8.246 +DC1B1 00000005
8.247 +DC2B0 00000004
8.248 +DC2B1 00000005
8.249 +DDRA TRISA
8.250 +DDRB TRISB
8.251 +DDRC TRISC
8.252 +DDRD TRISD
8.253 +DDRE TRISE
8.254 +DFN8EE 00000003
8.255 +DFN8EF 00000003
8.256 +DIR 00000002
8.257 +DONE 00000001
8.258 +D_A 00000005
8.259 +ECCP1AS 00000FB6
8.260 +ECCP1DEL 00000FB7
8.261 +ECCPAS0 00000004
8.262 +ECCPAS1 00000005
8.263 +ECCPAS2 00000006
8.264 +ECCPASE 00000007
8.265 +EEADR 00000FA9
8.266 +EECON1 00000FA6
8.267 +EECON2 00000FA7
8.268 +EEDATA 00000FA8
8.269 +EEIE 00000004
8.270 +EEIF 00000004
8.271 +EEIP 00000004
8.272 +EEPGD 00000007
8.273 +ENDP0 00000003
8.274 +ENDP1 00000004
8.275 +ENDP2 00000005
8.276 +ENDP3 00000006
8.277 +EPCONDIS 00000003
8.278 +EPHSHK 00000004
8.279 +EPINEN 00000001
8.280 +EPOUTEN 00000002
8.281 +EPSTALL 00000000
8.282 +FAST 00000001
8.283 +FERR 00000002
8.284 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 6
8.285 +
8.286 +
8.287 +SYMBOL TABLE
8.288 + LABEL VALUE
8.289 +
8.290 +FLTS 00000002
8.291 +FREE 00000004
8.292 +FRM0 00000000
8.293 +FRM1 00000001
8.294 +FRM10 00000002
8.295 +FRM2 00000002
8.296 +FRM3 00000003
8.297 +FRM4 00000004
8.298 +FRM5 00000005
8.299 +FRM6 00000006
8.300 +FRM7 00000007
8.301 +FRM8 00000000
8.302 +FRM9 00000001
8.303 +FSEN 00000002
8.304 +FSR0 00000000
8.305 +FSR0H 00000FEA
8.306 +FSR0L 00000FE9
8.307 +FSR1 00000001
8.308 +FSR1H 00000FE2
8.309 +FSR1L 00000FE1
8.310 +FSR2 00000002
8.311 +FSR2H 00000FDA
8.312 +FSR2L 00000FD9
8.313 +GCEN 00000007
8.314 +GIE 00000007
8.315 +GIEH 00000007
8.316 +GIEL 00000006
8.317 +GO 00000001
8.318 +GO_DONE 00000001
8.319 +HLVDCON 00000FD2
8.320 +HLVDEN 00000004
8.321 +HLVDIE 00000002
8.322 +HLVDIF 00000002
8.323 +HLVDIN 00000005
8.324 +HLVDIP 00000002
8.325 +HLVDL0 00000000
8.326 +HLVDL1 00000001
8.327 +HLVDL2 00000002
8.328 +HLVDL3 00000003
8.329 +I2C_DAT 00000005
8.330 +I2C_READ 00000002
8.331 +I2C_START 00000003
8.332 +I2C_STOP 00000004
8.333 +IDLEIE 00000004
8.334 +IDLEIF 00000004
8.335 +IDLEN 00000007
8.336 +INDF0 00000FEF
8.337 +INDF1 00000FE7
8.338 +INDF2 00000FDF
8.339 +INT0 00000000
8.340 +INT0E 00000004
8.341 +INT0F 00000001
8.342 +INT0IE 00000004
8.343 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 7
8.344 +
8.345 +
8.346 +SYMBOL TABLE
8.347 + LABEL VALUE
8.348 +
8.349 +INT0IF 00000001
8.350 +INT1 00000001
8.351 +INT1E 00000003
8.352 +INT1F 00000000
8.353 +INT1IE 00000003
8.354 +INT1IF 00000000
8.355 +INT1IP 00000006
8.356 +INT1P 00000006
8.357 +INT2 00000002
8.358 +INT2E 00000004
8.359 +INT2F 00000001
8.360 +INT2IE 00000004
8.361 +INT2IF 00000001
8.362 +INT2IP 00000007
8.363 +INT2P 00000007
8.364 +INTCON 00000FF2
8.365 +INTCON2 00000FF1
8.366 +INTCON3 00000FF0
8.367 +INTEDG0 00000006
8.368 +INTEDG1 00000005
8.369 +INTEDG2 00000004
8.370 +INTSRC 00000007
8.371 +IOFS 00000002
8.372 +IPEN 00000007
8.373 +IPR1 00000F9F
8.374 +IPR2 00000FA2
8.375 +IRCF0 00000004
8.376 +IRCF1 00000005
8.377 +IRCF2 00000006
8.378 +IRVST 00000005
8.379 +IVRST 00000005
8.380 +LATA 00000F89
8.381 +LATA0 00000000
8.382 +LATA1 00000001
8.383 +LATA2 00000002
8.384 +LATA3 00000003
8.385 +LATA4 00000004
8.386 +LATA5 00000005
8.387 +LATA6 00000006
8.388 +LATB 00000F8A
8.389 +LATB0 00000000
8.390 +LATB1 00000001
8.391 +LATB2 00000002
8.392 +LATB3 00000003
8.393 +LATB4 00000004
8.394 +LATB5 00000005
8.395 +LATB6 00000006
8.396 +LATB7 00000007
8.397 +LATC 00000F8B
8.398 +LATC0 00000000
8.399 +LATC1 00000001
8.400 +LATC2 00000002
8.401 +LATC6 00000006
8.402 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 8
8.403 +
8.404 +
8.405 +SYMBOL TABLE
8.406 + LABEL VALUE
8.407 +
8.408 +LATC7 00000007
8.409 +LVDCON 00000FD2
8.410 +LVDEN 00000004
8.411 +LVDIE 00000002
8.412 +LVDIF 00000002
8.413 +LVDIN 00000005
8.414 +LVDIP 00000002
8.415 +LVDL0 00000000
8.416 +LVDL1 00000001
8.417 +LVDL2 00000002
8.418 +LVDL3 00000003
8.419 +LVV0 00000000
8.420 +LVV1 00000001
8.421 +LVV2 00000002
8.422 +LVV3 00000003
8.423 +N 00000004
8.424 +NOT_A 00000005
8.425 +NOT_ADDRESS 00000005
8.426 +NOT_BOR 00000000
8.427 +NOT_DONE 00000001
8.428 +NOT_IPEN 00000007
8.429 +NOT_PD 00000002
8.430 +NOT_POR 00000001
8.431 +NOT_RBPU 00000007
8.432 +NOT_RI 00000004
8.433 +NOT_T1SYNC 00000002
8.434 +NOT_T3SYNC 00000002
8.435 +NOT_TO 00000003
8.436 +NOT_W 00000002
8.437 +NOT_WRITE 00000002
8.438 +OERR 00000001
8.439 +OSC2 00000006
8.440 +OSCCON 00000FD3
8.441 +OSCFIE 00000007
8.442 +OSCFIF 00000007
8.443 +OSCFIP 00000007
8.444 +OSCTUNE 00000F9B
8.445 +OSTS 00000003
8.446 +OV 00000003
8.447 +P 00000004
8.448 +P1A 00000002
8.449 +PC 00000FF9
8.450 +PCFG0 00000000
8.451 +PCFG1 00000001
8.452 +PCFG2 00000002
8.453 +PCFG3 00000003
8.454 +PCL 00000FF9
8.455 +PCLATH 00000FFA
8.456 +PCLATU 00000FFB
8.457 +PD 00000002
8.458 +PEIE 00000006
8.459 +PEN 00000002
8.460 +PGC 00000006
8.461 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 9
8.462 +
8.463 +
8.464 +SYMBOL TABLE
8.465 + LABEL VALUE
8.466 +
8.467 +PGD 00000007
8.468 +PGM 00000005
8.469 +PIDEE 00000000
8.470 +PIDEF 00000000
8.471 +PIE1 00000F9D
8.472 +PIE2 00000FA0
8.473 +PIR1 00000F9E
8.474 +PIR2 00000FA1
8.475 +PKTDIS 00000004
8.476 +PLUSW0 00000FEB
8.477 +PLUSW1 00000FE3
8.478 +PLUSW2 00000FDB
8.479 +POR 00000001
8.480 +PORTA 00000F80
8.481 +PORTB 00000F81
8.482 +PORTC 00000F82
8.483 +PORTE 00000F84
8.484 +POSTDEC0 00000FED
8.485 +POSTDEC1 00000FE5
8.486 +POSTDEC2 00000FDD
8.487 +POSTINC0 00000FEE
8.488 +POSTINC1 00000FE6
8.489 +POSTINC2 00000FDE
8.490 +PPB0 00000000
8.491 +PPB1 00000001
8.492 +PPBI 00000001
8.493 +PPBRST 00000006
8.494 +PR2 00000FCB
8.495 +PREINC0 00000FEC
8.496 +PREINC1 00000FE4
8.497 +PREINC2 00000FDC
8.498 +PROD 00000FF3
8.499 +PRODH 00000FF4
8.500 +PRODL 00000FF3
8.501 +PRSEN 00000007
8.502 +PSA 00000003
8.503 +PSSAC0 00000002
8.504 +PSSAC1 00000003
8.505 +R 00000002
8.506 +RA0 00000000
8.507 +RA1 00000001
8.508 +RA2 00000002
8.509 +RA3 00000003
8.510 +RA4 00000004
8.511 +RA5 00000005
8.512 +RA6 00000006
8.513 +RB0 00000000
8.514 +RB1 00000001
8.515 +RB2 00000002
8.516 +RB3 00000003
8.517 +RB4 00000004
8.518 +RB5 00000005
8.519 +RB6 00000006
8.520 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 10
8.521 +
8.522 +
8.523 +SYMBOL TABLE
8.524 + LABEL VALUE
8.525 +
8.526 +RB7 00000007
8.527 +RBIE 00000003
8.528 +RBIF 00000000
8.529 +RBIP 00000000
8.530 +RBPU 00000007
8.531 +RC0 00000000
8.532 +RC1 00000001
8.533 +RC2 00000002
8.534 +RC4 00000004
8.535 +RC5 00000005
8.536 +RC6 00000006
8.537 +RC7 00000007
8.538 +RCEN 00000003
8.539 +RCIDL 00000006
8.540 +RCIE 00000005
8.541 +RCIF 00000005
8.542 +RCIP 00000005
8.543 +RCMT 00000006
8.544 +RCON 00000FD0
8.545 +RCREG 00000FAE
8.546 +RCSTA 00000FAB
8.547 +RD 00000000
8.548 +RD16 00000007
8.549 +RE3 00000003
8.550 +READ_WRITE 00000002
8.551 +RESUME 00000002
8.552 +RI 00000004
8.553 +RSEN 00000001
8.554 +RX 00000007
8.555 +RX9 00000006
8.556 +RX9D 00000000
8.557 +RXDTP 00000005
8.558 +R_W 00000002
8.559 +S 00000003
8.560 +SBOREN 00000006
8.561 +SCKP 00000004
8.562 +SCS0 00000000
8.563 +SCS1 00000001
8.564 +SE0 00000005
8.565 +SEN 00000000
8.566 +SENDB 00000003
8.567 +SMP 00000007
8.568 +SOFIE 00000006
8.569 +SOFIF 00000006
8.570 +SPBRG 00000FAF
8.571 +SPBRGH 00000FB0
8.572 +SPEN 00000007
8.573 +SREN 00000005
8.574 +SSPADD 00000FC8
8.575 +SSPBUF 00000FC9
8.576 +SSPCON1 00000FC6
8.577 +SSPCON2 00000FC5
8.578 +SSPEN 00000005
8.579 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 11
8.580 +
8.581 +
8.582 +SYMBOL TABLE
8.583 + LABEL VALUE
8.584 +
8.585 +SSPIE 00000003
8.586 +SSPIF 00000003
8.587 +SSPIP 00000003
8.588 +SSPM0 00000000
8.589 +SSPM1 00000001
8.590 +SSPM2 00000002
8.591 +SSPM3 00000003
8.592 +SSPOV 00000006
8.593 +SSPSTAT 00000FC7
8.594 +STALLIE 00000005
8.595 +STALLIF 00000005
8.596 +STATUS 00000FD8
8.597 +STKFUL 00000007
8.598 +STKPTR 00000FFC
8.599 +STKPTR0 00000000
8.600 +STKPTR1 00000001
8.601 +STKPTR2 00000002
8.602 +STKPTR3 00000003
8.603 +STKPTR4 00000004
8.604 +STKUNF 00000006
8.605 +SUSPND 00000001
8.606 +SWDTE 00000000
8.607 +SWDTEN 00000000
8.608 +SYNC 00000004
8.609 +T08BIT 00000006
8.610 +T0CKI 00000004
8.611 +T0CON 00000FD5
8.612 +T0CS 00000005
8.613 +T0IE 00000005
8.614 +T0IF 00000002
8.615 +T0IP 00000002
8.616 +T0PS0 00000000
8.617 +T0PS1 00000001
8.618 +T0PS2 00000002
8.619 +T0SE 00000004
8.620 +T13CKI 00000000
8.621 +T1CKPS0 00000004
8.622 +T1CKPS1 00000005
8.623 +T1CON 00000FCD
8.624 +T1OSCEN 00000003
8.625 +T1OSI 00000001
8.626 +T1OSO 00000000
8.627 +T1RUN 00000006
8.628 +T1SYNC 00000002
8.629 +T2CKPS0 00000000
8.630 +T2CKPS1 00000001
8.631 +T2CON 00000FCA
8.632 +T2OUTPS0 00000003
8.633 +T2OUTPS1 00000004
8.634 +T2OUTPS2 00000005
8.635 +T2OUTPS3 00000006
8.636 +T3CCP1 00000003
8.637 +T3CCP2 00000006
8.638 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 12
8.639 +
8.640 +
8.641 +SYMBOL TABLE
8.642 + LABEL VALUE
8.643 +
8.644 +T3CKPS0 00000004
8.645 +T3CKPS1 00000005
8.646 +T3CON 00000FB1
8.647 +T3NSYNC 00000002
8.648 +T3SYNC 00000002
8.649 +TABLAT 00000FF5
8.650 +TBLPTR 00000FF6
8.651 +TBLPTRH 00000FF7
8.652 +TBLPTRL 00000FF6
8.653 +TBLPTRU 00000FF8
8.654 +TMR0H 00000FD7
8.655 +TMR0IE 00000005
8.656 +TMR0IF 00000002
8.657 +TMR0IP 00000002
8.658 +TMR0L 00000FD6
8.659 +TMR0ON 00000007
8.660 +TMR1CS 00000001
8.661 +TMR1H 00000FCF
8.662 +TMR1IE 00000000
8.663 +TMR1IF 00000000
8.664 +TMR1IP 00000000
8.665 +TMR1L 00000FCE
8.666 +TMR1ON 00000000
8.667 +TMR2 00000FCC
8.668 +TMR2IE 00000001
8.669 +TMR2IF 00000001
8.670 +TMR2IP 00000001
8.671 +TMR2ON 00000002
8.672 +TMR3CS 00000001
8.673 +TMR3H 00000FB3
8.674 +TMR3IE 00000001
8.675 +TMR3IF 00000001
8.676 +TMR3IP 00000001
8.677 +TMR3L 00000FB2
8.678 +TMR3ON 00000000
8.679 +TO 00000003
8.680 +TOS 00000FFD
8.681 +TOSH 00000FFE
8.682 +TOSL 00000FFD
8.683 +TOSU 00000FFF
8.684 +TRISA 00000F92
8.685 +TRISA0 00000000
8.686 +TRISA1 00000001
8.687 +TRISA2 00000002
8.688 +TRISA3 00000003
8.689 +TRISA4 00000004
8.690 +TRISA5 00000005
8.691 +TRISA6 00000006
8.692 +TRISB 00000F93
8.693 +TRISB0 00000000
8.694 +TRISB1 00000001
8.695 +TRISB2 00000002
8.696 +TRISB3 00000003
8.697 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 13
8.698 +
8.699 +
8.700 +SYMBOL TABLE
8.701 + LABEL VALUE
8.702 +
8.703 +TRISB4 00000004
8.704 +TRISB5 00000005
8.705 +TRISB6 00000006
8.706 +TRISB7 00000007
8.707 +TRISC 00000F94
8.708 +TRISC0 00000000
8.709 +TRISC1 00000001
8.710 +TRISC2 00000002
8.711 +TRISC6 00000006
8.712 +TRISC7 00000007
8.713 +TRMT 00000001
8.714 +TRNIE 00000003
8.715 +TRNIF 00000003
8.716 +TUN0 00000000
8.717 +TUN1 00000001
8.718 +TUN2 00000002
8.719 +TUN3 00000003
8.720 +TUN4 00000004
8.721 +TX 00000006
8.722 +TX9 00000006
8.723 +TX9D 00000000
8.724 +TXCKP 00000004
8.725 +TXEN 00000005
8.726 +TXIE 00000004
8.727 +TXIF 00000004
8.728 +TXIP 00000004
8.729 +TXREG 00000FAD
8.730 +TXSTA 00000FAC
8.731 +UA 00000001
8.732 +UADDR 00000F6E
8.733 +UCFG 00000F6F
8.734 +UCON 00000F6D
8.735 +UEIE 00000F6B
8.736 +UEIR 00000F6A
8.737 +UEP0 00000F70
8.738 +UEP1 00000F71
8.739 +UEP10 00000F7A
8.740 +UEP11 00000F7B
8.741 +UEP12 00000F7C
8.742 +UEP13 00000F7D
8.743 +UEP14 00000F7E
8.744 +UEP15 00000F7F
8.745 +UEP2 00000F72
8.746 +UEP3 00000F73
8.747 +UEP4 00000F74
8.748 +UEP5 00000F75
8.749 +UEP6 00000F76
8.750 +UEP7 00000F77
8.751 +UEP8 00000F78
8.752 +UEP9 00000F79
8.753 +UERRIE 00000001
8.754 +UERRIF 00000001
8.755 +UFRM 00000F66
8.756 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 14
8.757 +
8.758 +
8.759 +SYMBOL TABLE
8.760 + LABEL VALUE
8.761 +
8.762 +UFRMH 00000F67
8.763 +UFRML 00000F66
8.764 +UIE 00000F69
8.765 +UIR 00000F68
8.766 +UOEMON 00000006
8.767 +UPUEN 00000004
8.768 +URSTIE 00000000
8.769 +URSTIF 00000000
8.770 +USBEN 00000003
8.771 +USBIE 00000005
8.772 +USBIF 00000005
8.773 +USBIP 00000005
8.774 +USTAT 00000F6C
8.775 +UTEYE 00000007
8.776 +UTRDIS 00000003
8.777 +VCFG0 00000004
8.778 +VCFG1 00000005
8.779 +VDIRMAG 00000007
8.780 +VREFM 00000002
8.781 +VREFP 00000003
8.782 +W 00000000
8.783 +WCOL 00000007
8.784 +WDTCON 00000FD1
8.785 +WR 00000001
8.786 +WREG 00000FE8
8.787 +WREN 00000002
8.788 +WRERR 00000003
8.789 +WUE 00000001
8.790 +Z 00000002
8.791 +_BORV_0_2L 000000E7
8.792 +_BORV_1_2L 000000EF
8.793 +_BORV_2_2L 000000F7
8.794 +_BORV_3_2L 000000FF
8.795 +_BOR_OFF_2L 000000F9
8.796 +_BOR_ON_2L 000000FF
8.797 +_BOR_ON_ACTIVE_2L 000000FD
8.798 +_BOR_SOFT_2L 000000FB
8.799 +_CCP2MX_OFF_3H 000000FE
8.800 +_CCP2MX_ON_3H 000000FF
8.801 +_CONFIG1H 00300001
8.802 +_CONFIG1L 00300000
8.803 +_CONFIG2H 00300003
8.804 +_CONFIG2L 00300002
8.805 +_CONFIG3H 00300005
8.806 +_CONFIG4L 00300006
8.807 +_CONFIG5H 00300009
8.808 +_CONFIG5L 00300008
8.809 +_CONFIG6H 0030000B
8.810 +_CONFIG6L 0030000A
8.811 +_CONFIG7H 0030000D
8.812 +_CONFIG7L 0030000C
8.813 +_CP0_OFF_5L 000000FF
8.814 +_CP0_ON_5L 000000FE
8.815 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 15
8.816 +
8.817 +
8.818 +SYMBOL TABLE
8.819 + LABEL VALUE
8.820 +
8.821 +_CP1_OFF_5L 000000FF
8.822 +_CP1_ON_5L 000000FD
8.823 +_CP2_OFF_5L 000000FF
8.824 +_CP2_ON_5L 000000FB
8.825 +_CP3_OFF_5L 000000FF
8.826 +_CP3_ON_5L 000000F7
8.827 +_CPB_OFF_5H 000000FF
8.828 +_CPB_ON_5H 000000BF
8.829 +_CPD_OFF_5H 000000FF
8.830 +_CPD_ON_5H 0000007F
8.831 +_CPUDIV_OSC1_PLL2_1L 000000E7
8.832 +_CPUDIV_OSC2_PLL3_1L 000000EF
8.833 +_CPUDIV_OSC3_PLL4_1L 000000F7
8.834 +_CPUDIV_OSC4_PLL6_1L 000000FF
8.835 +_DEBUG_OFF_4L 000000FF
8.836 +_DEBUG_ON_4L 0000007F
8.837 +_DEVID1 003FFFFE
8.838 +_DEVID2 003FFFFF
8.839 +_EBTR0_OFF_7L 000000FF
8.840 +_EBTR0_ON_7L 000000FE
8.841 +_EBTR1_OFF_7L 000000FF
8.842 +_EBTR1_ON_7L 000000FD
8.843 +_EBTR2_OFF_7L 000000FF
8.844 +_EBTR2_ON_7L 000000FB
8.845 +_EBTR3_OFF_7L 000000FF
8.846 +_EBTR3_ON_7L 000000F7
8.847 +_EBTRB_OFF_7H 000000FF
8.848 +_EBTRB_ON_7H 000000BF
8.849 +_FCMEN_OFF_1H 000000BF
8.850 +_FCMEN_ON_1H 000000FF
8.851 +_FOSC_ECIO_EC_1H 000000F4
8.852 +_FOSC_ECPLLIO_EC_1H 000000F6
8.853 +_FOSC_ECPLL_EC_1H 000000F7
8.854 +_FOSC_EC_EC_1H 000000F5
8.855 +_FOSC_HSPLL_HS_1H 000000FE
8.856 +_FOSC_HS_1H 000000FC
8.857 +_FOSC_INTOSCIO_EC_1H 000000F8
8.858 +_FOSC_INTOSC_EC_1H 000000F9
8.859 +_FOSC_INTOSC_HS_1H 000000FB
8.860 +_FOSC_INTOSC_XT_1H 000000FA
8.861 +_FOSC_XTPLL_XT_1H 000000F2
8.862 +_FOSC_XT_XT_1H 000000F0
8.863 +_IDLOC0 00200000
8.864 +_IDLOC1 00200001
8.865 +_IDLOC2 00200002
8.866 +_IDLOC3 00200003
8.867 +_IDLOC4 00200004
8.868 +_IDLOC5 00200005
8.869 +_IDLOC6 00200006
8.870 +_IDLOC7 00200007
8.871 +_IESO_OFF_1H 0000007F
8.872 +_IESO_ON_1H 000000FF
8.873 +_LPT1OSC_OFF_3H 000000FB
8.874 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 16
8.875 +
8.876 +
8.877 +SYMBOL TABLE
8.878 + LABEL VALUE
8.879 +
8.880 +_LPT1OSC_ON_3H 000000FF
8.881 +_LVP_OFF_4L 000000FB
8.882 +_LVP_ON_4L 000000FF
8.883 +_MCLRE_OFF_3H 0000007F
8.884 +_MCLRE_ON_3H 000000FF
8.885 +_PBADEN_OFF_3H 000000FD
8.886 +_PBADEN_ON_3H 000000FF
8.887 +_PLLDIV_10_1L 000000FE
8.888 +_PLLDIV_12_1L 000000FF
8.889 +_PLLDIV_1_1L 000000F8
8.890 +_PLLDIV_2_1L 000000F9
8.891 +_PLLDIV_3_1L 000000FA
8.892 +_PLLDIV_4_1L 000000FB
8.893 +_PLLDIV_5_1L 000000FC
8.894 +_PLLDIV_6_1L 000000FD
8.895 +_PWRT_OFF_2L 000000FF
8.896 +_PWRT_ON_2L 000000FE
8.897 +_STVREN_OFF_4L 000000FE
8.898 +_STVREN_ON_4L 000000FF
8.899 +_USBDIV_1_1L 000000DF
8.900 +_USBDIV_2_1L 000000FF
8.901 +_VREGEN_OFF_2L 000000DF
8.902 +_VREGEN_ON_2L 000000FF
8.903 +_WDTPS_1024_2H 000000F5
8.904 +_WDTPS_128_2H 000000EF
8.905 +_WDTPS_16384_2H 000000FD
8.906 +_WDTPS_16_2H 000000E9
8.907 +_WDTPS_1_2H 000000E1
8.908 +_WDTPS_2048_2H 000000F7
8.909 +_WDTPS_256_2H 000000F1
8.910 +_WDTPS_2_2H 000000E3
8.911 +_WDTPS_32768_2H 000000FF
8.912 +_WDTPS_32_2H 000000EB
8.913 +_WDTPS_4096_2H 000000F9
8.914 +_WDTPS_4_2H 000000E5
8.915 +_WDTPS_512_2H 000000F3
8.916 +_WDTPS_64_2H 000000ED
8.917 +_WDTPS_8192_2H 000000FB
8.918 +_WDTPS_8_2H 000000E7
8.919 +_WDT_OFF_2H 000000FE
8.920 +_WDT_ON_2H 000000FF
8.921 +_WRT0_OFF_6L 000000FF
8.922 +_WRT0_ON_6L 000000FE
8.923 +_WRT1_OFF_6L 000000FF
8.924 +_WRT1_ON_6L 000000FD
8.925 +_WRT2_OFF_6L 000000FF
8.926 +_WRT2_ON_6L 000000FB
8.927 +_WRT3_OFF_6L 000000FF
8.928 +_WRT3_ON_6L 000000F7
8.929 +_WRTB_OFF_6H 000000FF
8.930 +_WRTB_ON_6H 000000BF
8.931 +_WRTC_OFF_6H 000000FF
8.932 +_WRTC_ON_6H 000000DF
8.933 +MPASM 5.15 CONFIG.ASM 1-7-2008 20:35:10 PAGE 17
8.934 +
8.935 +
8.936 +SYMBOL TABLE
8.937 + LABEL VALUE
8.938 +
8.939 +_WRTD_OFF_6H 000000FF
8.940 +_WRTD_ON_6H 0000007F
8.941 +_XINST_OFF_4L 000000BF
8.942 +_XINST_ON_4L 000000FF
8.943 +__18F4550 00000001
8.944 +
8.945 +Errors : 0
8.946 +Warnings : 13 reported, 0 suppressed
8.947 +Messages : 1 reported, 0 suppressed
8.948 +
8.949 +
8.950 \ No newline at end of file
9.1 Binary file firmware/_bin/front_4.1.project.cof has changed
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/firmware/_bin/front_4.1.project.hex Tue Jan 29 22:31:52 2008 +0100
10.3 @@ -0,0 +1,823 @@
10.4 +:020000040000FA
10.5 +:0600000050EF1CF012009D
10.6 +:0608000050EF1CF0120095
10.7 +:06080800AEEF18F0120033
10.8 +:0608180002EF19F01200CE
10.9 +:06082A0002002333000070
10.10 +:10083000A6000000010000000E390000A300000027
10.11 +:0408400002000000B2
10.12 +:0C084400000000000000000000000000A8
10.13 +:100850000000000000000000000000000000000098
10.14 +:100860000000000000000000000000000000000088
10.15 +:100870000000000000000000000000000000000078
10.16 +:100880000000000000000000000000000000000068
10.17 +:100890000000000000000000000000000000000058
10.18 +:1008A0000000000000000000000000000000000048
10.19 +:1008B0000000000000000000000000000000000038
10.20 +:1008C0000000000000000000000000000000000028
10.21 +:1008D0000000000000000000000000000000000018
10.22 +:1008E0000000000000000000000000000000000008
10.23 +:1008F00000000000000000000000000000000000F8
10.24 +:1009000000000000000000000000000000000000E7
10.25 +:1009100000000000000000000000000000000000D7
10.26 +:1009200000000000000000000000000000000000C7
10.27 +:1009300000000000000000000000000000000000B7
10.28 +:10094000001FF80000000000000000000000000090
10.29 +:1009500000000000000FFE00000FFC00000000007F
10.30 +:1009600000000000000FF80000007800001FFC00ED
10.31 +:10097000007FFC0000000F0001FFFFC0000FFC0023
10.32 +:1009800000000000003FFF80001FFF00000000008B
10.33 +:1009900000000000003FFE0000007800003FFF0064
10.34 +:1009A00000FFFF0000001F0001FFFFC0001FFE004E
10.35 +:1009B00003FFFFF8007FFFC0007FFF800000000002
10.36 +:1009C00000000000007FFF000000780000FFFF80B3
10.37 +:1009D00001FFFF8000001F0003FFFFC0007FFF003A
10.38 +:1009E00003FFFFF800FFFFE000FFFFC00000000072
10.39 +:1009F0000000000000FFFF800000F80001FFFFC0C2
10.40 +:100A000003FC7F8000003F0003FFFFC0007FFF80EA
10.41 +:100A100003FFFFF800FF1FE000FF3FC000000000E1
10.42 +:100A20000000000001FE3FC00003F80003FE3FE0AD
10.43 +:100A300003E00FC000007F0003E0000000FF1FC0C4
10.44 +:100A400003FFFFF801F803F001F807E000000000E1
10.45 +:100A50000000000001F80FC0003FF80003F007F0AD
10.46 +:100A600007C007C000007F0003E0000001FC07E0B2
10.47 +:100A7000000000F801F001F001F003F000000000B8
10.48 +:100A80000000000003F007E000FFF80007E003F0BB
10.49 +:100A900007C007C00000FF0003E0000001F803E00A
10.50 +:100AA000000001F001F001F003E001F0000000009F
10.51 +:100AB0000000000003E003E000FFF80007C001F0C1
10.52 +:100AC000078003C00001FF0003E0000003F003E023
10.53 +:100AD000000001F001E000F003E001F00000000080
10.54 +:100AE0000000000003E003E000FFF80007C001F091
10.55 +:100AF000000003C00001EF0003E0000003E001E09C
10.56 +:100B0000000003E001E000F003E000F80000000056
10.57 +:100B10000000000007C001F000FE7800078000F030
10.58 +:100B2000000003C00003CF0003E0000003E000006A
10.59 +:100B3000000003E001F001F003C000F800018000B4
10.60 +:100B40000000000007C001F000007800000000F085
10.61 +:100B5000000007C00007CF0003E0000007E000002E
10.62 +:100B6000000007E001F001F003C000F80003C0003E
10.63 +:100B70000000000007C001F000007800000001F054
10.64 +:100B8000000007C0000F8F0003E0000007C0000056
10.65 +:100B9000000007C000F803E003C000F80007E00011
10.66 +:100BA0000000000007C001F000007800000001F024
10.67 +:100BB00000000F80000F0F0003E7FC0007C00000DB
10.68 +:100BC000000007C000FE0FE003E000F80007E000AF
10.69 +:100BD0000000000007C001F000007800000001F0F4
10.70 +:100BE00000007F80001E0F0003FFFE0007C7FC000F
10.71 +:100BF00000000F80007FFFC003E000780003C0000A
10.72 +:100C000000000000078000F000007800000003E012
10.73 +:100C10000003FF00003E0F0003FFFF8007DFFF001F
10.74 +:100C200000000F80003FFF8003E000F8000180001B
10.75 +:100C300000000000078000F000007800000007E0DE
10.76 +:100C40000003FC00003C0F0003FFFFC007FFFF8014
10.77 +:100C500000001F00000FFE0003F001F8000000007C
10.78 +:100C600000000000078000F00000780000000FC0C6
10.79 +:100C70000003FF0000780F0003FE3FE007FFFFC006
10.80 +:100C800000001F00001FFF0001F803F80000000033
10.81 +:100C900000000000078000F00000780000001F80C6
10.82 +:100CA0000003FFC000F80F0003F007E007FE3FC09D
10.83 +:100CB00000003E00003FFF8000FF1FF80000000022
10.84 +:100CC00000000000078000F00000780000003F00F6
10.85 +:100CD00000003FE000F00F0003C003F007F007E062
10.86 +:100CE00000003E00007FFFC000FFFFF80000000092
10.87 +:100CF000003FFC00078000F00000780000007E004C
10.88 +:100D0000000007E001E00F00000001F007E003F041
10.89 +:100D100000007E0000FE0FE0007FFFF800000000F2
10.90 +:100D2000003FFC00078000F0000078000000FC009D
10.91 +:100D3000000003F003E00F00000001F007C001F025
10.92 +:100D400000007C0001F803F0003FFEF80000000006
10.93 +:100D5000003FFC00078000F0000078000003F8006E
10.94 +:100D6000000001F003C00F00000001F0078001F057
10.95 +:100D700000007C0003F001F8000FF8F8000180008B
10.96 +:100D8000003FFC0007C001F0000078000007F00001
10.97 +:100D9000000001F007800F00000000F007C001F024
10.98 +:100DA0000000F80003E000F8000000F80003C000B5
10.99 +:100DB0000000000007C001F000007800000FE00014
10.100 +:100DC000000000F007FFFFF8000000F007C000F08F
10.101 +:100DD0000000F80003E000F8000000F80007E00061
10.102 +:100DE0000000000007C001F000007800003FC000D4
10.103 +:100DF000000000F007FFFFF8000000F007C000F05F
10.104 +:100E00000001F00003C00078000001F80007E000D6
10.105 +:100E10000000000007C001F000007800007F000023
10.106 +:100E2000078000F007FFFFF8078001F007C000F01F
10.107 +:100E30000001F00003C00078000001F00003C000D2
10.108 +:100E40000000000007C001F00000780000FE000074
10.109 +:100E500007C001F007FFFFF807C001F007C001F06D
10.110 +:100E60000003E00003E000F801E001F00001800071
10.111 +:100E70000000000003E003E00000780001FC000037
10.112 +:100E800007C001F000000F0007C003F003E001F00D
10.113 +:100E90000003E00003E000F801F003F000000000B0
10.114 +:100EA0000000000003E003E00000780003F8000009
10.115 +:100EB00007E003F000000F0007E003E003E001F0AB
10.116 +:100EC0000007E00003F001F801F007E00000000077
10.117 +:100ED0000000000003F007E00000780007F00000C9
10.118 +:100EE00003F007E000000F0003F00FE003F003E061
10.119 +:100EF0000007C00001F803F001F80FE00000000057
10.120 +:100F00000000000001F80FC00000780007E00000BA
10.121 +:100F100003FE3FE000000F0003FE3FC001F807E0C2
10.122 +:100F20000007C00001FF1FF000FE3FC000000000EE
10.123 +:100F30000000000001FE3FC0000078000FFFFFF03E
10.124 +:100F400001FFFFC000000F0001FFFF8000FF3FC056
10.125 +:100F5000000F800000FFFFE0007FFF800000000026
10.126 +:100F60000000000000FFFF80000078000FFFFFF08E
10.127 +:100F700000FFFF8000000F0000FFFF0000FFFFC028
10.128 +:100F8000000F8000007FFFC0007FFF800000000096
10.129 +:100F900000000000007FFF00000078000FFFFFF05E
10.130 +:100FA000007FFE0000000F00007FFE00007FFF803A
10.131 +:100FB000001F0000003FFF80001FFE000000000037
10.132 +:100FC00000000000003FFE00000078000FFFFFF06F
10.133 +:100FD000001FF80000000F00001FF800001FFE00B7
10.134 +:100FE000001F0000000FFE00000FFC0000000000CA
10.135 +:100FF00000000000000FF8000000000000000000EA
10.136 +:10100000000000000000000000000000000FFC00D5
10.137 +:1010100000000000000000000000000000000000D0
10.138 +:1010200000000000000000000000000000000000C0
10.139 +:1010300000000000000000000000000000000000B0
10.140 +:1010400000000000000000000000000000000000A0
10.141 +:101050000000000000000000000000000000000090
10.142 +:101060000000000000000000000000000000000080
10.143 +:101070000000000000000000000000000000000070
10.144 +:101080000000000000000000000000000000000060
10.145 +:101090000000000000000000000000000000000050
10.146 +:1010A0000000000000000000000000000000000040
10.147 +:1010B0000000000000000000000000000000000030
10.148 +:1010C0000000000000000000000000000000000020
10.149 +:1010D0000000000000000000000000000000000010
10.150 +:1010E0000000000000000000000000000000000000
10.151 +:1010F00000000000000000000000000000000000F0
10.152 +:1011000000000000000000000000000000000000DF
10.153 +:1011100000000000000000000000000000000000CF
10.154 +:1011200000000000000000000000000000000000BF
10.155 +:1011300000000000000000000000000000000000AF
10.156 +:051140000000000000AA
10.157 +:0A114600C26A0F0EC16E070EB46EF0
10.158 +:10115000656A926A946A956A966A936A81688A96C1
10.159 +:10116000F26A9D6AA06AD08E9F6AA26A9382938077
10.160 +:10117000400EC86E800EC76E280EC66EC56AF1900E
10.161 +:1011800081889388146814C0E6FF400EE66E40EC38
10.162 +:1011900011F0E552E552E7CF14F0145C0001876FBF
10.163 +:1011A00087C089F0146814C0E6FF420EE66E40EC7A
10.164 +:1011B00011F0E552E552E7CF14F0145C0001886F9E
10.165 +:1011C00088C08AF0F290F286040EE66EE66AA00EFF
10.166 +:1011D000E66EEDEC10F0E552E552E552000EE66EDB
10.167 +:1011E000E66AA2EC1BF0E552E552FD0EE66E42EC1B
10.168 +:1011F0001BF0E552FC0EE66E3F0EE66EE1EC19F0D8
10.169 +:10120000E552E552050EE66EF6EC1BF0E5520001E4
10.170 +:10121000A351040DF350E66EE66AC5EC1AF0E552F0
10.171 +:10122000E552400EE66EE66A96EC1AF0E552E5529B
10.172 +:10123000E66811EC1CF0E5529492949441EC17F09E
10.173 +:101240009384F088F08EF198F092F28EF28C000187
10.174 +:10125000866BD5EC15F0D5EF15F0D9CFE6FFE1CFD1
10.175 +:10126000D9FFE652DF6AFC0EDB50DF5C14E2DF5090
10.176 +:10127000E76EFD0EDBCFE9FFFE0EDBCFEAFFE750A6
10.177 +:10128000E926000EEA22EF50E00FE66E72EC16F04F
10.178 +:10129000E552DF2AE8D7E552E552E7CFD9FF120041
10.179 +:1012A000D9CFE6FFE1CFD9FF640EF36EFE0EDBCFA0
10.180 +:1012B000F4FFF350F45C1CE3640E146E14C00EF0E3
10.181 +:1012C000FE0EDBCF09F06CEC1CF00950100FE66E3F
10.182 +:1012D00072EC16F0E552640E146E14C00EF0FE0EA1
10.183 +:1012E000DBCF09F06CEC1CF0FE0E05C0DBFF05D077
10.184 +:1012F000100EE66E72EC16F0E5520A0EF36EFE0E5C
10.185 +:10130000DBCFF4FFF350F45C1CE30A0E146E14C040
10.186 +:101310000EF0FE0EDBCF09F06CEC1CF00950100F44
10.187 +:10132000E66E72EC16F0E5520A0E146E14C00EF062
10.188 +:10133000FE0EDBCF09F06CEC1CF0FE0E05C0DBFFEF
10.189 +:1013400005D0100EE66E72EC16F0E552FE0EDB5084
10.190 +:10135000100FE66E72EC16F0E552E552E7CFD9FFBA
10.191 +:101360001200146814C0E6FF400EE66E40EC11F067
10.192 +:10137000E552E552E7CF14F0145C0001876F146862
10.193 +:1013800014C0E6FF420EE66E40EC11F0E552E55265
10.194 +:10139000E7CF14F0145C0001886F8951875D03E189
10.195 +:1013A0008A51885D65E0856B87C08DF0875189190A
10.196 +:1013B0008B6F88518A198C6F8BA116D08B51871532
10.197 +:1013C00009E0050E875D03E1200E856F02D0210E36
10.198 +:1013D000856F0AD08B51891507E0875103E1200EF4
10.199 +:1013E000856F02D0210E856FFA0E8B17891787172C
10.200 +:1013F0008B5187151CE08B51400A15E0600A10E004
10.201 +:10140000300A0BE0120A06E00A0A01E00FD0110EC2
10.202 +:10141000856F0DD0100E856F0AD0220E856F07D014
10.203 +:101420000E0E856F04D0120E856F01D0856B8C5126
10.204 +:10143000881517E08C51010A10E0030A0BE00A0A34
10.205 +:1014400006E00C0A01E00CD0370E856F0AD0360E8C
10.206 +:10145000856F07D0320E856F04D0340E856F01D0B2
10.207 +:10146000856B855101E086818DC089F088C08AF046
10.208 +:101470001200D9CFE6FFE1CFD9FF100EE126E66ECC
10.209 +:10148000D9CFE6FFDACFE6FFE66AA00EE66E7EEC85
10.210 +:1014900011F0146E050EE15E1450080EDBAE02D0A2
10.211 +:1014A00000018685100EE15C02E2E16AE552E16E20
10.212 +:1014B000E552E7CFD9FF1200D9CFE6FFE1CFD9FF40
10.213 +:1014C0001B0EE126100EE66ED950050FE66E000EDB
10.214 +:1014D000DA20E66EE66AA00EE66E7EEC11F0146E7F
10.215 +:1014E000050EE15E1450090EDB50F00BE8380F0BCF
10.216 +:1014F000DF6E090EDB500F0BE76E010EE7CFDBFF4F
10.217 +:101500000A0EF36E020EF3CFDBFF080EDB50F00B7A
10.218 +:10151000E8380F0BE76E030EE7CFDBFF080EDB505A
10.219 +:101520000F0BE76E040EE7CFDBFF190EDB6A1A0E16
10.220 +:10153000DB6A190EDBCF14F01A0EDBCF15F0300E7C
10.221 +:10154000145C000E155801E3D7D0060EE76E190E95
10.222 +:10155000DBCF16F01A0EDBCF17F0E7501626000E81
10.223 +:1015600017221E0E086E096A16C00DF017C00EF085
10.224 +:1015700084EC1BF006C014F007C015F0020E142610
10.225 +:10158000000E1522150E14C0DBFF160E15C0DBFF72
10.226 +:10159000150EDBCF14F0160EDBCF15F00001156A27
10.227 +:1015A0001450E66E54EC16F0E552160EDBCFE6FF53
10.228 +:1015B00054EC16F0E552240EE66E63EC16F0E5529C
10.229 +:1015C000170EDB6A180EDB6A170EDBCF14F0180E4D
10.230 +:1015D000DBCF15F0050E145C000E155801E386D024
10.231 +:1015E000300E086E096A190EDBCF0DF01A0EDBCF34
10.232 +:1015F0000EF084EC1BF006C016F007C017F0D9CF30
10.233 +:101600001AF0DACF1BF0170EDB501A24E96E180E11
10.234 +:10161000DB501B20EA6EEF500F0B186E196A040E98
10.235 +:10162000086E096A18C00DF019C00EF084EC1BF0AA
10.236 +:1016300016500624146E17500720156E150E14C090
10.237 +:10164000DBFF160E15C0DBFF150EDBCFF6FFDB2A26
10.238 +:10165000160EDBCFF7FF01E3DB2A440EF626080E59
10.239 +:10166000F7220800F550E66E72EC16F0E552150E02
10.240 +:10167000DBCFF6FFDB2A160EDBCFF7FF01E3DB2A19
10.241 +:10168000440EF626080EF7220800F550E66E72ECBE
10.242 +:1016900016F0E552150EDBCFF6FFDB2A160EDBCF78
10.243 +:1016A000F7FF01E3DB2A440EF626080EF7220800B6
10.244 +:1016B000F550E66E72EC16F0E552150EDBCFF6FF34
10.245 +:1016C000DB2A160EDBCFF7FF01E3DB2A440EF626FA
10.246 +:1016D000080EF7220800F550E66E72EC16F0E5529F
10.247 +:1016E000170EDB2A180E01E3DB2A6ED7190EDB2A50
10.248 +:1016F0001A0E01E3DB2A1DD7E66A54EC16F0E55218
10.249 +:10170000080EE66E54EC16F0E552240EE66E63EC1D
10.250 +:1017100016F0E552E66A72EC16F0E5520A0EDB505E
10.251 +:10172000300BE8380F0B100FE66E72EC16F0E55236
10.252 +:101730000A0EDB500F0B100FE66E72EC16F0E5523E
10.253 +:101740000E0EE66E72EC16F0E5520B0EDB50100B2F
10.254 +:10175000E8380F0B100FE66E72EC16F0E5520B0E28
10.255 +:10176000DB500F0B100FE66E72EC16F0E5520E0E0A
10.256 +:10177000E66E72EC16F0E552120EE66E72EC16F0A2
10.257 +:10178000E552100EE66E72EC16F0E552100EE66EA3
10.258 +:1017900072EC16F0E552060E146E0B0EDB50A00B29
10.259 +:1017A00014C0E7FFE75204E0E8427F0BE706FCE1E4
10.260 +:1017B000100F080FE66E72EC16F0E552D20EE66ED0
10.261 +:1017C00054EC16F0E552080EE66E54EC16F0E552B5
10.262 +:1017D000240EE66E63EC16F0E552E66A72EC16F043
10.263 +:1017E000E5522E0EE66E72EC16F0E552450EE66EF0
10.264 +:1017F00072EC16F0E552580EE66E72EC16F0E552F9
10.265 +:10180000540EE66E72EC16F0E552E66A72EC16F0D3
10.266 +:10181000E552340EE66E72EC16F0E552490EE66EB5
10.267 +:1018200072EC16F0E5524D0EE66E72EC16F0E552D3
10.268 +:10183000450EE66E72EC16F0E552520EE66E72EC54
10.269 +:1018400016F0E5521A0EE66E72EC16F0E552E66AF4
10.270 +:1018500072EC16F0E552080EDB50B00801E07ED0C5
10.271 +:10186000120EDB50300BE8380F0B100FE66E72ECE7
10.272 +:1018700016F0E552120EDB500F0B100FE66E72ECF5
10.273 +:1018800016F0E5520E0EE66E72EC16F0E552130EEF
10.274 +:10189000DB50100BE8380F0B100FE66E72EC16F0F1
10.275 +:1018A000E552130EDB500F0B100FE66E72EC16F0C4
10.276 +:1018B000E5520E0EE66E72EC16F0E552120EE66E72
10.277 +:1018C00072EC16F0E552100EE66E72EC16F0E55270
10.278 +:1018D000100EE66E72EC16F0E552060E146E130E44
10.279 +:1018E000DB50A00B14C0E7FFE75204E0E8427F0B97
10.280 +:1018F000E706FCE1100F080FE66E72EC16F0E552F9
10.281 +:10190000E66A72EC16F0E552090EDB50F00BE8388F
10.282 +:101910000F0B100FE66E72EC16F0E552090EDB505D
10.283 +:101920000F0B100FE66E72EC16F0E5521A0EE66E13
10.284 +:1019300072EC16F0E552080EDB50F00BE8380F0B96
10.285 +:10194000100FE66E72EC16F0E552080EDB500F0B2E
10.286 +:10195000100FE66E72EC16F0E55214D02E0EE66E05
10.287 +:1019600072EC16F0E5524F0EE66E72EC16F0E55290
10.288 +:101970004E0EE66E72EC16F0E552450EE66E72EC17
10.289 +:1019800016F0E5521B0EE15C02E2E16AE552E16EFF
10.290 +:08199000E552E7CFD9FF120078
10.291 +:08199800D9CFE6FFE1CFD9FF32
10.292 +:1019A000420EE126400EE66ED950010FE66E000EA3
10.293 +:1019B000DA20E66EBAEC0FF0E552E552E552DF6E42
10.294 +:1019C000020EDF5C01E238D1010EDB50AA0801E013
10.295 +:1019D00033D1040EDF5CF36E040EDB50F35C01E0E8
10.296 +:1019E0002AD1030EDB5001E026D1020EDB50710A32
10.297 +:1019F00001E115D1010A01E108D1360A01E1ECD07B
10.298 +:101A0000030A01E1D0D0040A01E1B4D0010A01E1E6
10.299 +:101A10008ED0560A73E0020A33E0040A28E0900AE6
10.300 +:101A200018E0810A01E004D1040EDB5002E0C7D9BE
10.301 +:101A300001D1DE52020EDD6E010EE66ED950010FAD
10.302 +:101A4000E66E000EDA20E66E01D9E552E552E55267
10.303 +:101A5000F1D0040EDB5002E0B2D9ECD088D9F29E6E
10.304 +:101A6000A0EC16F0F4EC1AF043EF03F0E3D0040E10
10.305 +:101A7000DB5002E0A4D9DED081EC15F078D9DAD0C1
10.306 +:101A8000030EF36E040EDBCFF4FFF350F45C02E2BE
10.307 +:101A900096D9D0D0050EDBCFE6FF54EC16F0E55218
10.308 +:101AA000060EDBCFE6FF54EC16F0E552240EE66E90
10.309 +:101AB00063EC16F0E552060EF36E410EF3CFDBFF3A
10.310 +:101AC000410EDBCF14F0DF04D880145415E3D95055
10.311 +:101AD000010F146EDACF15F0410EDB500F01142404
10.312 +:101AE000E96E000E1520EA6EEF50E66E72EC16F00D
10.313 +:101AF000E552410EDB2AE4D73AD99CD0040EDB50E4
10.314 +:101B0000020802E05CD996D0050EDBCFE6FF54EC6C
10.315 +:101B100016F0E552060EDBCFE6FF54EC16F0E55268
10.316 +:101B2000240EE66E63EC16F0E55221D983D0040E44
10.317 +:101B3000DB5002E044D97ED0100EE66ED950010F82
10.318 +:101B4000E66E000EDA20E66EE66AA00EE66E7EEC29
10.319 +:101B500011F0146E050EE15E1450100EE66ED950B1
10.320 +:101B6000010FE66E000EDA20E66E70D8E552E552FF
10.321 +:101B7000E55260D0040EDB50100802E020D95AD0A4
10.322 +:101B8000100EE66ED950050FE66E000EDA20E66EF6
10.323 +:101B9000E66AA00EE66EDEEC11F0146E050EE15E54
10.324 +:101BA0001450E5D847D0040EDB0402E008D942D037
10.325 +:101BB000050EDB50146E156AD89014361536D89081
10.326 +:101BC0001436153614C0E6FF15C0E6FFC5EC1AF052
10.327 +:101BD000E552E552CCD82ED0040EDB0402E0EFD85B
10.328 +:101BE00029D0050EDB50146E156AD89014361536C0
10.329 +:101BF000D8901436153614C0E6FF15C0E6FF96ECF3
10.330 +:101C00001AF0E552E552B3D815D0040EDB5002E0CD
10.331 +:101C1000D6D810D00001010EA46FA9D80BD0040EA5
10.332 +:101C2000DB5002E0CCD806D00001A46BA0D802D0D3
10.333 +:101C3000F0D800D001D0C3D8420EE15C02E2E16AE4
10.334 +:101C4000E552E16EE552E7CFD9FF1200D9CFE6FFAA
10.335 +:101C5000E1CFD9FF410EE126550EDF6EDE52010EB7
10.336 +:101C6000DD6E020EDB6AFC0EDB50E76E030EE7CF83
10.337 +:101C7000DBFF400EDB6AFC0EDB50F36E400EDBCF69
10.338 +:101C8000F4FFF350F45C22E2400EDB50E76EFD0EF1
10.339 +:101C9000DBCFE9FFFE0EDBCFEAFFE750E926000EBF
10.340 +:101CA000EA22EF50E66ED9CF14F0DACF15F0400EED
10.341 +:101CB000DB50040F0F011424E96E000E1520EA6EAC
10.342 +:101CC000E552E750EF6E400EDB2AD5D70001615197
10.343 +:101CD0000EE1D9CF62F0DACF63F0FC0EDB50040FD7
10.344 +:101CE0000001666F0001676B0001010E616F410E1C
10.345 +:101CF000E15C02E2E16AE552E16EE552E7CFD9FF2D
10.346 +:101D00001200D9CFE6FFE1CFD9FF070EE126550E2D
10.347 +:101D1000DF6EDE52100EDD6E020EDB6AF36E030E16
10.348 +:101D2000F3CFDBFFFE0EDB50E76E040EE7CFDBFFE9
10.349 +:101D3000FD0EDB50E76E050EE7CFDBFF00016151C2
10.350 +:101D40000CE1D9CF62F0DACF63F00001060E666FC6
10.351 +:101D50000001676B0001010E616F070EE15C02E29A
10.352 +:101D6000E16AE552E16EE552E7CFD9FF1200D9CF23
10.353 +:101D7000E6FFE1CFD9FF050EE126550EDF6EDE52FC
10.354 +:101D8000010EDD6E020EDB6A030EDB6A000161519B
10.355 +:101D90000CE1D9CF62F0DACF63F00001040E666F78
10.356 +:101DA0000001676B0001010E616F050EE15C02E24C
10.357 +:101DB000E16AE552E16EE552E7CFD9FF1200D9CFD3
10.358 +:101DC000E6FFE1CFD9FF050EE126550EDF6EDE52AC
10.359 +:101DD000020EDD6E020EDB6A030EDB6A000161514A
10.360 +:101DE00002E00000FBD7D9CF62F0DACF63F0000148
10.361 +:101DF000040E666F0001676B0001010E616F050E36
10.362 +:101E0000E15C02E2E16AE552E16EE552E7CFD9FF1B
10.363 +:101E10001200D9CFE6FFE1CFD9FF030EE126550E20
10.364 +:101E2000DF6E010EDB68020EDB6A030EDB6A000167
10.365 +:101E300061510CE1D9CF62F0DACF63F00001040EFA
10.366 +:101E4000666F0001676B0001010E616F030EE15CBC
10.367 +:101E500002E2E16AE552E16EE552E7CFD9FF1200F6
10.368 +:101E6000040120511F0B010801E05BD02051600BE1
10.369 +:101E7000E842E842E842E842E842010801E051D085
10.370 +:101E8000245103E0240501E04CD02151230A48E00D
10.371 +:101E9000010A40E0030A30E0010A25E0240A22E0BA
10.372 +:101EA000070A1FE0010A1CE0030A11E0010A01E031
10.373 +:101EB00038D00001030E8F6F0001730E906F000E7B
10.374 +:101EC000916F00019C930001080E946F2AD00001CD
10.375 +:101ED000030E8F6F0001730E926F000E936F21D06F
10.376 +:101EE00020D01FD01ED00001030E8F6F0001680E9E
10.377 +:101EF000926F000E936F15D00001030E8F6F0001DB
10.378 +:101F0000680E906F000E916F00019C930001070E08
10.379 +:101F1000946F07D00001030E8F6F22C46FF001D0C1
10.380 +:101F200000D012000001686BC20E696F010E6A6F6B
10.381 +:101F30006B6B6C6B6D6B080E6E6F616B606B1A0E6A
10.382 +:101F4000726E1E0E736E0401000E166F050E176F73
10.383 +:101F5000400E146F0401196F080E1A6F050E1B6FE7
10.384 +:101F6000880E186F0401480E1E6F050E1F6F400E7D
10.385 +:101F70001C6F1200D9CFE6FFE1CFD9FF0001606BE3
10.386 +:101F8000040118BF30D0FC0EDBCF14F01951D880FB
10.387 +:101F9000145403E2FC0E19C4DBFF0001606BFC0E5D
10.388 +:101FA000DB50605D19E26051EA6A080FE96E050EC8
10.389 +:101FB000EA22EF50E66E6051E76EFD0EDBCFE9FFDF
10.390 +:101FC000FE0EDBCFEAFFE750E926000EEA22E552DB
10.391 +:101FD000E750EF6E602BE3D70401400E196F18171E
10.392 +:101FE000187D880E18130001605100D0E552E7CF2C
10.393 +:101FF000D9FF1200D9CFE6FFE1CFD9FFE6520001A9
10.394 +:10200000615101E02FD0DF6ADF2ADF50146E156ABC
10.395 +:10201000FF0E141801E1155001E10BD0FD0EDBCFCE
10.396 +:10202000E9FFDB2AFE0EDBCFEAFF01E3DB2AEF50FC
10.397 +:10203000EBE1DF50146E156AD950FD0FE96EFF0E0B
10.398 +:10204000DA20EA6E1450EE5E1550ED5AFD0EDBCF2D
10.399 +:1020500062F0FE0EDBCF63F0DFCF66F00001676B4E
10.400 +:10206000010E616FE552E552E7CFD9FF1200D9CFDB
10.401 +:10207000E6FFE1CFD9FFE6520001615101E030D027
10.402 +:10208000DF6ADF2ADF50146E156AFF0E141801E1B3
10.403 +:10209000155001E10CD0FD0EDBCFF6FFDB2AFE0E62
10.404 +:1020A000DBCFF7FF01E3DB2A0800F550EAE1DF5060
10.405 +:1020B000146E156AD950FD0FE96EFF0EDA20EA6E34
10.406 +:1020C0001450EE5E1550ED5AFD0EDBCF62F0FE0EA1
10.407 +:1020D000DBCF63F0DFCF66F00001010E676F616F49
10.408 +:1020E000E552E552E7CFD9FF1200D9CFE6FFE1CFA5
10.409 +:1020F000D9FFE65204011CBF6BD0030E0001615DE5
10.410 +:1021000001E1616B615101E163D0020E615D06E1A5
10.411 +:1021100004011D6B0001030E616F54D0610552E193
10.412 +:10212000400E146E156A6651145C000E155803E2D9
10.413 +:10213000400EDF6E02D066C0DFFFDFCF1DF4DF5040
10.414 +:10214000665D666F480E646F050E656F670515E185
10.415 +:10215000DF5012E062C0F6FF63C0F7FF0800F550E1
10.416 +:1021600064C0E9FF65C0EAFFEF6E642B000E6523D3
10.417 +:10217000622B6323DF06ECD713D0DF5011E062C07F
10.418 +:10218000E9FF63C0EAFFEF5064C0E9FF65C0EAFF02
10.419 +:10219000EF6E642B000E6523622B6323DF06EDD701
10.420 +:1021A000665110E104011D51146E156A400E141899
10.421 +:1021B00001E1155004E10001020E616F03D000013E
10.422 +:1021C000030E616F400E04011C171C7D880E1C134A
10.423 +:0A21D000E552E552E7CFD9FF1200F7
10.424 +:0621DA00D9CFE6FFE1CFC2
10.425 +:1021E000D9FFC750040B01E0010E146E1F0EC51479
10.426 +:1021F000141001E0F6D7C580C5B0FED7FE0EDBCFC8
10.427 +:10220000E6FF1DEC1BF0E552C750040B01E0010E88
10.428 +:10221000146E1F0EC514141001E0F6D7FD0EDBCFAF
10.429 +:10222000E6FF1DEC1BF0E552C750040B01E0010E68
10.430 +:10223000146E1F0EC514141001E0F6D7FC0EDBCF90
10.431 +:10224000E6FF1DEC1BF0E552C750040B01E0010E48
10.432 +:10225000146E1F0EC514141001E0F6D7C584C5B462
10.433 +:10226000FED7FE0EDBCFE6FF2AEC1AF0E55200099E
10.434 +:1022700001E0F7D7000E00D0E552E7CFD9FF1200FA
10.435 +:10228000D9CFE6FFE1CFD9FFE652C750040B01E0FA
10.436 +:10229000010E146E1F0EC514141001E0F6D7C58090
10.437 +:1022A000C5B0FED7FE0EDB500109E66E1DEC1BF03B
10.438 +:1022B000E552C750040B01E0010E146E1F0EC51449
10.439 +:1022C000141001E0F6D781EC1CF0DF6EC750040B50
10.440 +:1022D00001E0010E146E1F0EC514141001E0F6D7B4
10.441 +:1022E000C58AC588C5B8FED7C584C5B4FED7DF503A
10.442 +:1022F00000D0E552E552E7CFD9FF1200D9CFE6FF73
10.443 +:10230000E1CFD9FFC750040B01E0010E146E1F0E80
10.444 +:10231000C514141001E0F6D7C580C5B0FED7FE0E77
10.445 +:10232000DBCFE6FF1DEC1BF0E552C750040B01E0CC
10.446 +:10233000010E146E1F0EC514141001E0F6D7FD0E29
10.447 +:10234000DBCFE6FF1DEC1BF0E552C750040B01E0AC
10.448 +:10235000010E146E1F0EC514141001E0F6D7C582CD
10.449 +:10236000C5B2FED7FE0EDB500109E66E1DEC1BF078
10.450 +:10237000E552C750040B01E0010E146E1F0EC51488
10.451 +:10238000141001E0F6D7FA0EDBCFE6FFFB0EDBCF31
10.452 +:10239000E6FFFC0EDBCFE6FF63EC1AF0E552E552F8
10.453 +:1023A000E552C58AC588C5B8FED7C584C5B4FED771
10.454 +:1023B000000E00D0E552E7CFD9FF1200D9CFE6FFDB
10.455 +:1023C000E1CFD9FFFA0EDB500001A16FA26BC7501D
10.456 +:1023D000040B01E0010E146E1F0EC514141001E071
10.457 +:1023E000F6D7C580C5B0FED7FE0EDBCFE6FF1DECED
10.458 +:1023F0001BF0E552C750040B01E0010E146E1F0ED6
10.459 +:10240000C514141001E0F6D7FD0EDBCFE6FF1DEC7E
10.460 +:102410001BF0E552C750040B01E0010E146E1F0EB5
10.461 +:10242000C514141001E0F6D7FB0EDBCFE6FFFC0E5F
10.462 +:10243000DBCFE6FF15D8E552E552C750040B01E0AB
10.463 +:10244000010E146E1F0EC514141001E0F6D7C584DA
10.464 +:10245000C5B4FED7000E00D0E552E7CFD9FF120079
10.465 +:10246000D9CFE6FFE1CFD9FFE652DF6ADFCF14F024
10.466 +:102470000001A151145C000EA2553BE2C6A61ED07D
10.467 +:10248000FD0EDBCFE9FFFE0EDBCFEAFFEF50E66E7D
10.468 +:102490001DEC1BF0E552000902E0FD0E2CD0C750E8
10.469 +:1024A000040B01E0010E146E1F0EC514141001E0A0
10.470 +:1024B000F6D7C5AC02D0FE0E1ED014D09E96FD0EEF
10.471 +:1024C000DBCFE9FFFE0EDBCFEAFFEF50C96EC68817
10.472 +:1024D0009EA6FED7C750040B05E1C750010B02E1D1
10.473 +:1024E000FE0E09D0FD0EDB2AFE0E01E3DB2ADF2AF9
10.474 +:1024F000BDD7000E00D0E552E552E7CFD9FF12005C
10.475 +:1025000004012051600BE842E842E842E842E84218
10.476 +:10251000000901E055D02151070A51E00B0A4FE0B4
10.477 +:10252000070A40E0010A2CE00B0A28E0020A26E034
10.478 +:10253000030A22E0080A12E0010A0EE00F0A0AE08C
10.479 +:10254000030A01E03CD00001010E8F6F0001040E70
10.480 +:102550009B6F36D036D834D090D832D00001010EDF
10.481 +:102560008F6F00019D0E906F000E916F00019C9384
10.482 +:102570000001010E946F24D0A8D822D0F4D820D026
10.483 +:102580000001010E8F6F040124510001906F916BC7
10.484 +:102590009E0E9027000E912300019C930001010ED6
10.485 +:1025A000946F0ED00001010E8F6F04012451EA6A6E
10.486 +:1025B0009E0FE96E000EEA2222C4EFFF01D000D088
10.487 +:1025C0001200800E0401205D57E12351030A34E01C
10.488 +:1025D000010A10E0030A01E04DD00001010E8F6FE7
10.489 +:1025E0000001560E906F320E916F120E0001946F23
10.490 +:1025F000956B40D00001010E8F6F04012251F66EE1
10.491 +:10260000F76AD890F636F736170EF626330EF7220D
10.492 +:102610000900F5CF90F00A00F5CF91F0020E00010D
10.493 +:10262000F76A9025F66E9151F7220900F5CF94F0E4
10.494 +:102630000A00F5CF95F01ED00001010E8F6F040146
10.495 +:102640002251F66EF76AD890F636F7361B0EF6264C
10.496 +:10265000330EF7220900F5CF90F00A00F5CF91F084
10.497 +:1026600090C0F6FF91C0F7FF0800F5500001946F8D
10.498 +:10267000956B00D000019C8312000001010E8F6F4A
10.499 +:102680000F0EE66E710EE66E0F0EE66E2CEC17F076
10.500 +:10269000E552E552E552010EE66E9E0EE66E000E24
10.501 +:1026A000E66E2CEC17F0E552E552E55222C49DF09F
10.502 +:1026B0000401225104E10001050E9B6F05D00001C9
10.503 +:1026C000060E9B6F92EC0FF012000401286B296B31
10.504 +:1026D000040120511F0B020A14E0030A0EE0010A54
10.505 +:1026E00001E033D00001010E8F6F04012881000149
10.506 +:1026F0009CA102D00401288328D00001010E8F6F15
10.507 +:1027000024D00001010E8F6F040124510F0B080D1E
10.508 +:10271000F350156A000F146E040E15222451800B1D
10.509 +:1027200001E0010E040DF35000011424926F000E1D
10.510 +:102730001520936F92C0E9FF93C0EAFFEF50040B9E
10.511 +:1027400003E00401010E286F00D000018F050AE1AB
10.512 +:102750000001280E906F040E916F00019C93000100
10.513 +:10276000020E946F12000401220510E120511F0B8C
10.514 +:1027700000090CE10001010E8F6F030E0401215DC1
10.515 +:1027800003E100019C8102D000019C9104012251CF
10.516 +:102790003AE120511F0B020836E124510F0B0009CA
10.517 +:1027A00032E00001010E8F6F040124510F0B080D60
10.518 +:1027B000F350156A000F146E040E15222451800B7D
10.519 +:1027C00001E0010E040DF35000011424926F000E7D
10.520 +:1027D0001520936F030E0401215D07E1840E92C062
10.521 +:1027E000E9FF93C0EAFFEF6E0ED024AF06D092C08F
10.522 +:1027F000E9FF93C0EAFFEF6A06D0880E92C0E9FFB6
10.523 +:0828000093C0EAFFEF6E120025
10.524 +:082808006C5002E0000E01D04B
10.525 +:10281000010E00090BE0040100513C0BE842E842C4
10.526 +:102820000D0802E10CD801D040D808D06C5002E06D
10.527 +:10283000000E01D0010E040901E047D81200D9CFE3
10.528 +:10284000E6FFE1CFD9FFE65200018E6B8F6B946BF0
10.529 +:10285000956B80EC12F0DF6ADF50146E156A010E82
10.530 +:10286000145C000E15581BE200018F5101E017D0D7
10.531 +:10287000F76ADF34FE0BF736F66E210EF626330EBE
10.532 +:10288000F7220900F5CF14F00800F5CF15F004D0B9
10.533 +:1028900015C0FAFF1450F96EFBDFDF2ADDD7DDD853
10.534 +:1028A000E552E552E7CFD9FF1200020E00018E5D1E
10.535 +:1028B0000AE196D8040100BD03D0C80E006F02D013
10.536 +:1028C000880E006F01D00FD91200040E00019B5D2D
10.537 +:1028D0000AE122C46EFF6E50000803E2050E9B6FF2
10.538 +:1028E00002D0030E9B6F00018E050AE10BD8040194
10.539 +:1028F00004BD03D0C80E046F02D0880E046F01D04F
10.540 +:10290000F2D81200D9CFE6FFE1CFD9FF020EE126BF
10.541 +:102910000001080E945D000E955905E294C0DEFF9B
10.542 +:1029200095C0DDFF03D0080EDE6EDD6A040104935E
10.543 +:102930000491010EDB500413DFCF05F4000EDB50D1
10.544 +:102940000001945F010EDB50955B280E926F040E20
10.545 +:10295000936F00019CA31ED0D9CFE9FFDACFEAFF25
10.546 +:10296000EE50ED1016E090C0F6FF91C0F7FF0800A2
10.547 +:10297000F55092C0E9FF93C0EAFFEF6E0001922B81
10.548 +:10298000000E9323902B9123DF06010E01E2DB065C
10.549 +:10299000E3D71CD0D9CFE9FFDACFEAFFEE50ED1034
10.550 +:1029A00015E090C0E9FF91C0EAFFEF5092C0E9FF47
10.551 +:1029B00093C0EAFFEF6E0001922B000E9323902B41
10.552 +:1029C0009123DF06010E01E2DB06E4D7020EE15C93
10.553 +:1029D00002E2E16AE552E16EE552E7CFD9FF12006B
10.554 +:1029E000D9CFE6FFE1CFD9FF020EE126030E0401A5
10.555 +:1029F0000015E76E010EE7CFDBFF01C4DFFFDE50FD
10.556 +:102A000000019427DD509523280E906F040E916FDE
10.557 +:102A1000D9CFE9FFDACFEAFFEE50ED1014E090C015
10.558 +:102A2000E9FF91C0EAFFEF5092C0E9FF93C0EAFFCF
10.559 +:102A3000EF6E922B000E9323902B9123DF06010E55
10.560 +:102A400001E2DB06E5D7020EE15C02E2E16AE55253
10.561 +:102A5000E16EE552E7CFD9FF120000018F510CE182
10.562 +:102A60000401080E016F200E026F040E036F840E26
10.563 +:102A7000006F0401046F35D0040120AF22D00001A3
10.564 +:102A800094510401265D000195510401275904E287
10.565 +:102A900026C494F027C495F035DF0001010E8E6F37
10.566 +:102AA0000401080E016F200E026F040E036F800EEA
10.567 +:102AB000006F0401280E066F040E076FC80E046F26
10.568 +:102AC00010D00001020E8E6F0401056BC80E046F5A
10.569 +:102AD0000401080E016F280E026F040E036FC80E6A
10.570 +:102AE000006F6D98120000018E6B0401080E016FDB
10.571 +:102AF000200E026F040E036F880E006F0401046B3A
10.572 +:022B00001200C1
10.573 +:0E2B0200D9CFE6FFE1CFD9FF020EE126E66A49
10.574 +:102B1000CBD8E552E66AC8D8E552240EE66ED3D883
10.575 +:102B2000E552010EE66EA5D8E552DE6ADD6AD9CF20
10.576 +:102B3000E9FFDACFEAFF1E0ED880EE54010EED5405
10.577 +:102B40001DE3E66AB1D8E552E66AAED8E552E66A18
10.578 +:102B5000ABD8E552E66AA8D8E552E66AA5D8E552B0
10.579 +:102B6000E66AA2D8E552E66A9FD8E552E66A9CD8A2
10.580 +:102B7000E552DF2A010E01E3DB2AD9D7E66A79D8CC
10.581 +:102B8000E552E66A91D8E552E66A8ED8E552240EFF
10.582 +:102B9000E66E99D8E552020EE15C02E2E16AE55286
10.583 +:102BA000E16EE552E7CFD9FF1200956A836A8D8006
10.584 +:102BB0008D828D94966A800EE66E85D8E5529C0EC5
10.585 +:102BC000E66E81D8E552E66A6FD8E552080EE66EE9
10.586 +:102BD0006BD8E552400EE66E76D8E5521E0EE66ED4
10.587 +:102BE00063D8E552E66A60D8E552410EE66E6BD8CE
10.588 +:102BF000E552E66A59D8E552E66A56D8E552420EE1
10.589 +:102C0000E66E61D8E5521E0EE66E4ED8E552E66AD3
10.590 +:102C10004BD8E552430EE66E56D8E55281EF15F0DB
10.591 +:102C2000D9CFE6FFE1CFD9FFE6528D849568000148
10.592 +:102C3000A60509E18D928350DF6E080EDF168D82A6
10.593 +:102C4000DF5CF8E10ED08D928350DF6E000EDF94D2
10.594 +:102C5000DF96DF98DF9ADF9CDF9E8D82030EDF5CBC
10.595 +:102C6000F2E1956ADF5000D0E552E552E7CFD9FF97
10.596 +:102C70001200D9CFE6FFE1CFD9FFE652FE0EDB040A
10.597 +:102C800006E1B00EE66E1FD8E552CADF04D0B20EE0
10.598 +:102C9000E66E19D8E552FE0EDBCFA6F000D0E55265
10.599 +:102CA000E552E7CFD9FF1200D9CFE6FFE1CFD9FF38
10.600 +:102CB000B7DF8D94FE0EDB50836E8D908D80E552D4
10.601 +:102CC000E7CFD9FF1200D9CFE6FFE1CFD9FFA8DFC8
10.602 +:102CD0008D84FE0EDB50836E8D908D80E552E7CFA4
10.603 +:102CE000D9FF1200D9CFE6FFE1CFD9FFFE0EDBCF2F
10.604 +:102CF000E6FFDADFE552C00EE66EE5DFE552E552AB
10.605 +:062D0000E7CFD9FF12002D
10.606 +:0A2D06006DA60FD802D06DB613D8E9
10.607 +:102D100000019B0508E16DBA06D0686A696A69809E
10.608 +:102D20006988020E9B6F12006D6A696A6D860001E8
10.609 +:102D3000010E9B6F12006D6A696A00019B6B1200A5
10.610 +:102D40009BEF16F000019B5101E13AD06850040B53
10.611 +:102D500004E06950040B01E03CD86DB231D06850FA
10.612 +:102D6000010B04E06950010B01E054D86850100BCE
10.613 +:102D700004E06950100B01E024D86850400B04E0D7
10.614 +:102D80006950400B01E03BD86850200B04E06950CB
10.615 +:102D9000200B01E036D86850020B04E06950020BAA
10.616 +:102DA00001E036D8030E00019B5D01E209D06850B6
10.617 +:102DB000080B06E06950080B03E004EC14F0689679
10.618 +:102DC0001200698468986D82A19AA08A0300A09A73
10.619 +:102DD00012006D9269946894120000019CA10ED0BB
10.620 +:102DE000F8DF6D840001080E9F6F070EA06F9F072C
10.621 +:102DF000000EA05B9F51A011FAE16D941200689C37
10.622 +:102E0000120070A003D073EC15F07090689A120055
10.623 +:102E1000689212006A6A686A9F0E6B6E7B0E696E1A
10.624 +:102E20006E6A0F0EE66E710EE66E0F0EE66E14D829
10.625 +:102E3000E552E552E552160E706E68A602D068960D
10.626 +:102E4000FCD76D9873EC15F000019C9100019D6B0F
10.627 +:102E50000001030E9B6F1200D9CFE6FFE1CFD9FF2F
10.628 +:102E6000FD0EDBCFE9FFFE0EDBCFEAFFFC0EDB50F1
10.629 +:102E700004E0EE6AFC0EDB06F9D7E552E7CFD9FF96
10.630 +:022E800012003E
10.631 +:0E2E8200D70EE66EDAEC1BF0E552F294F18406
10.632 +:102E90000001976B986B9A699969966B1200D9CF6C
10.633 +:102EA000E6FFE1CFD9FF020EE126010EDB6865ECFB
10.634 +:102EB0001BF0F350DF6EDF50140806E2310EDF5CCA
10.635 +:102EC00003E2DE52030EDD6EDF50370806E2520EDB
10.636 +:102ED000DF5C03E2DE52010EDD6E8150040B01E087
10.637 +:102EE000010E146E010EDBCFE7FF1450E726010E32
10.638 +:102EF000E7CFDBFF00019651FF0A4AE0FF0A48E0F6
10.639 +:102F0000020A3AE0030A2BE0050A16E0070A01E08C
10.640 +:102F10003FD0010EDB50040803E1010E966F0BD089
10.641 +:102F2000010EDB50020806E1040E966FD890973729
10.642 +:102F3000983701D056D82ED0010EDB50030803E19C
10.643 +:102F4000020E966F0BD0010EDB0407E1030E966FA5
10.644 +:102F5000D89097379837978101D043D81BD0010E6E
10.645 +:102F6000DB50030807E1030E966FD8909737983728
10.646 +:102F7000978101D036D80ED0010EDB50040806E14F
10.647 +:102F8000040E966FD8909737983701D02AD802D080
10.648 +:102F900028D800D000019851600B12E096693F0ECE
10.649 +:102FA0009715996F320E9715146E156A060ED89004
10.650 +:102FB00015321432E804FBE114C09AF00001868354
10.651 +:102FC000000EE66EE66ABEEC1BF0E552E552020E1C
10.652 +:102FD000E15C02E2E16AE552E16EE552E7CFD9FF3A
10.653 +:102FE00012000001030E966F010E976F986B12008E
10.654 +:102FF000D9CFE6FFE1CFD9FFE652DF6A140E6F6E3C
10.655 +:1030000000019B6B00019C6B00019D6BA3EC08F021
10.656 +:103010009DD8000186AB09D0B1EC09F0000186B162
10.657 +:1030200002D039EC0AF00001869B020E861504E0FE
10.658 +:103030000C0E0001995D04E0040E0001861507E006
10.659 +:103040008A86F4EC1AF08A96000186878693060E2B
10.660 +:1030500000019B5D05E36D50020B02E1CCEC0CF02E
10.661 +:103060000001A40524E1060E00019B5D1DE36D50E7
10.662 +:10307000020B1AE1000186A10AD085C0E6FF550EB9
10.663 +:10308000E66E81EC0EF0E552E5520001869186A3D2
10.664 +:103090000AD099C0E6FF9AC0E6FF81EC0EF0E55237
10.665 +:1030A000E5520001869302D00001A46B49D00001D3
10.666 +:1030B00086A140D000018551210A22E0010A01E0E9
10.667 +:1030C00037D00001A351146E156A153404E2145070
10.668 +:1030D000FA08000E155402E3050EA327A351146E3F
10.669 +:1030E000156AD89014361536D8901436153614C093
10.670 +:1030F000E6FF15C0E6FFC5EC1AF0E552E55218D020
10.671 +:10310000050E0001A35D02E3050EA35FA351146E3B
10.672 +:10311000156AD89014361536D8901436153614C062
10.673 +:10312000E6FF15C0E6FFC5EC1AF0E552E55200D007
10.674 +:103130000001869186A904D05CEC0AF00001869912
10.675 +:1031400067D7E552E552E7CFD9FF120083EC16F0BE
10.676 +:0C3150006FBE02D0A2EC16F075EF10F07C
10.677 +:04315C00DACFE4FFE3
10.678 +:10316000E2CFDAFFE9CFE4FFEACFE4FFF6CFE4FFF6
10.679 +:10317000F7CFE4FFF5CFE4FFF3CFE4FFF4CFE4FFB4
10.680 +:10318000FACFE4FF00EE00F0140EE80403E3EECF04
10.681 +:10319000E4FFFBD700EE14F0080EE80403E3EECFE3
10.682 +:1031A000E4FFFBD7E652F2A403D0F294F1EC17F05F
10.683 +:1031B000F0A204D04FEC17F0F092F178E55200EE57
10.684 +:1031C0001BF0080EE80403E3E5CFEDFFFBD700EEAC
10.685 +:1031D00013F0140EE80403E3E5CFEDFFFBD7E5CFD2
10.686 +:1031E000FAFFE5CFF4FFE5CFF3FFE5CFF5FFE5CF3D
10.687 +:1031F000F7FFE5CFF6FFE5CFEAFFE5CFE9FFE5CF43
10.688 +:10320000DAFF1100D8CFE4FFE0CFE4FFE46EDACFBD
10.689 +:10321000E4FFE2CFDAFFE652F29CF2A007D0815041
10.690 +:10322000816EF29081B802D00001868BA1A209D0F4
10.691 +:10323000A1920001A52BA551080803E2A56B00018E
10.692 +:103240008689F28CE552E5CFDAFFE550E5CFE0FF65
10.693 +:06325000E5CFD8FF1000DD
10.694 +:0A3256001201000202000008D80473
10.695 +:103260000A0000000102000109024300020100807F
10.696 +:1032700032090400000102020100052400100104CB
10.697 +:10328000240202052406000105240100010705822D
10.698 +:103290000308000209040100020A000000070503F8
10.699 +:1032A00002400000070583024000000403090434C3
10.700 +:1032B000034300610072007300740065006E00201B
10.701 +:1032C000005000720065007300730065007200001A
10.702 +:1032D00000000000000000000000000000000000EE
10.703 +:1032E000000000340356006900640065006F002090
10.704 +:1032F00000760032002000460072006F006E0074FD
10.705 +:103300000070006C006100740074007400650000BF
10.706 +:103310000000000000000068326832AB32AF32E3D8
10.707 +:0333200032601EFA
10.708 +:0133230000A9
10.709 +:0C3324002A0EF66E080EF76E000EF86E12
10.710 +:1033300000010900F550806F0900F550816F03E12D
10.711 +:10334000806701D03DD00900F5507B6F0900F55032
10.712 +:103350007C6F0900F5507D6F09000900F550E96E9A
10.713 +:103360000900F550EA6E090009000900F5507E6F6A
10.714 +:103370000900F5507F6F09000900F6CF82F0F7CF02
10.715 +:1033800083F0F8CF84F07BC0F6FF7CC0F7FF7DC0F0
10.716 +:10339000F8FF00017E5302E17F5307E00900F5507A
10.717 +:1033A000EE6E7E07F8E27F07F9D782C0F6FF83C092
10.718 +:1033B000F7FF84C0F8FF00018007000E815BBFD7D4
10.719 +:0233C0001200F9
10.720 +:0E33C200D9CFE6FFDACFE6FFE1CFD9FFE2CFA9
10.721 +:1033D000DAFFE652FD0EDB80DB82DB84DB86DB88F6
10.722 +:1033E000DB8AFC0EDB84DB86DB88DB8ADB8CDB8E16
10.723 +:1033F000FD0EDBCFE6FFC00EBD10E552E714BD6E3B
10.724 +:10340000FC0EDBCFE6FF0F0EBD10E552E714BD6EDC
10.725 +:103410003F0E146EFD0EDB50145C02E1949413D049
10.726 +:10342000FD0EDB50BF0803E19494959A0CD0FD0E7D
10.727 +:10343000DB507F0804E0FD0EDB50FF0804E19494AC
10.728 +:10344000959A959C959EE552E552E5CFDAFFE7CF38
10.729 +:04345000D9FF12008E
10.730 +:0C345400D9CFE6FFDACFE6FFE1CFD9FFC9
10.731 +:10346000E2CFDAFFC750040B01E0010E146E1F0E0D
10.732 +:10347000C5141410F7E1C580C5B0FED7A1B612D0AF
10.733 +:103480001AD809E1C5AC09D0C582C5B2FED7A1B62C
10.734 +:1034900009D011D8F7E0FD0E08D0C584C5B4FED719
10.735 +:1034A000A1A602D0FF0E01D0000EE552E5CFDAFF53
10.736 +:1034B000E7CFD9FF1200FD0EDBCFE6FF1DEC1BF0BE
10.737 +:0634C000E55200091200B4
10.738 +:0A34C600D9CFE6FFDACFE6FFE1CF31
10.739 +:1034D000D9FFE2CFDAFFFB0EDBCFF3FFDB06F350C1
10.740 +:1034E00000091DE081EC1CF0E66EFC0EDBCFE9FF6D
10.741 +:1034F000DB2AFD0EDBCFEAFF01E3DB2AE552E750D2
10.742 +:10350000EF6EC5B6FED7A1A602D0FF0E09D0FB0E06
10.743 +:10351000DB50E1E0C59AC588C5A8DDD7FDD7000E10
10.744 +:0C352000E552E5CFDAFFE7CFD9FF12003B
10.745 +:04352C00D9CFE6FF0E
10.746 +:10353000DACFE6FFE1CFD9FFE2CFDAFFE652E6527B
10.747 +:10354000FC0EDBCF14F0FD0EDBCF15F0060ED8908D
10.748 +:1035500014361536E804FBE114C0DEFF15C0DDFFAC
10.749 +:10356000010EDB50BB6EDF50E840E8403F0B300BF4
10.750 +:10357000146ECF0EBA141410BA6EE552E552E5522D
10.751 +:0A358000E5CFDAFFE7CFD9FF120014
10.752 +:06358A00D9CFE6FFDACF05
10.753 +:10359000E6FFE1CFD9FFE2CFDAFFE652E652FC0EBA
10.754 +:1035A000DBCF14F0FD0EDBCF15F0060ED8901436ED
10.755 +:1035B0001536E804FBE114C0DEFF15C0DDFF010E87
10.756 +:1035C000DB50BE6EDF50E840E8403F0B300B146E1E
10.757 +:1035D000CF0EBD141410BD6EE552E552E552E5CF95
10.758 +:0835E000DAFFE7CFD9FF12006A
10.759 +:0835E8004B0EE66E40EC1CF0F6
10.760 +:1035F000E55200D01200190EE66E40EC1CF0E552C8
10.761 +:1036000000D01200000000000000000000000000D8
10.762 +:1036100000D01200050EE66E5EEC1CF0E55200D004
10.763 +:103620001200FA0EE66E29EC1CF0E552FA0EE66E78
10.764 +:0A36300029EC1CF0E55200D0120056
10.765 +:06363A00D9CFE6FFDACF54
10.766 +:10364000E6FFE1CFD9FFE2CFDAFFFD0EDB50C96E16
10.767 +:10365000C6AE02D0FF0E10D0C7B0FED7C750040BC5
10.768 +:1036600001E0010E146E1F0EC5141410F7E1C5AC75
10.769 +:1036700002D0FE0E01D0000EE552E5CFDAFFE7CF13
10.770 +:04368000D9FF12005C
10.771 +:0C368400D9CFE6FFDACFE6FFE1CFD9FF97
10.772 +:10369000E2CFDAFFFD0EDB507E0BB16EB36AB26A89
10.773 +:1036A000A192FD0EDBAE02D0A08201D0A092DBB2CF
10.774 +:1036B000CD86DBA002D0B18E01D0B19EB180E552A3
10.775 +:0A36C000E5CFDAFFE7CFD9FF1200D3
10.776 +:0636CA00D9CFE6FFDACFC4
10.777 +:1036D000E6FFE1CFD9FFE2CFDAFFE652E652D6505D
10.778 +:1036E000DF6E010ED7CFDBFFDECF14F0DDCF15F09C
10.779 +:1036F00014C0F3FF15C0F4FFE552E552E552E5CFE3
10.780 +:08370000DAFFE7CFD9FF120048
10.781 +:0837080008C012F008500D0288
10.782 +:10371000F4CF07F0F3CF06F009500E02F4CF09F012
10.783 +:10372000F3CF08F00D02F3500726F4500822E86AA0
10.784 +:10373000092212500E02F3500726F4500822E86ABC
10.785 +:043740000922000C4E
10.786 +:0C374400D9CFE6FFDACFE6FFE1CFD9FFD6
10.787 +:10375000E2CFDAFFE652E652FC0EDBCFDEFFDBCF34
10.788 +:10376000DDFF010EDB50B36EDF50B26EE552E55265
10.789 +:0C377000E552E5CFDAFFE7CFD9FF1200E9
10.790 +:04377C00D9CFE6FFBC
10.791 +:10378000DACFE6FFE1CFD9FFE2CFDAFFE652E65229
10.792 +:10379000FC0EDBCFDEFFDBCFDDFF010EDB50D76E93
10.793 +:1037A000DF50D66EE552E552E552E5CFDAFFE7CFBE
10.794 +:0437B000D9FF12002B
10.795 +:0C37B400D9CFE6FFDACFE6FFE1CFD9FF66
10.796 +:1037C000E2CFDAFFFD0EDB507F0BD56ED76AD66AEB
10.797 +:1037D000F294FD0EDBAE02D0F28A01D0F29AD58EC1
10.798 +:0C37E000E552E5CFDAFFE7CFD9FF120079
10.799 +:0437EC00D9CFE6FF4C
10.800 +:1037F000DACFE6FFE1CFD9FFE2CFDAFFFD0EDB50F3
10.801 +:10380000FB0BCA6ECC6A9E92FD0EDBAE02D09D828F
10.802 +:1038100001D09D92CA84E552E5CFDAFFE7CFD9FF08
10.803 +:02382000120094
10.804 +:0E382200D9CFE6FFDACFE6FFE1CFD9FFE2CF44
10.805 +:10383000DAFF0C0EBD129494CA94FD0EDB50CB6ED1
10.806 +:10384000CA84E552E5CFDAFFE7CFD9FF120094949E
10.807 +:02385000120064
10.808 +:0E385200FF0EE3501D6EEF0E01D0F30EE76E79
10.809 +:10386000E72E30EF1CF00C0E1C6EE76AE72E36EFE9
10.810 +:103870001CF01C2E35EF1CF01D2E2EEF1CF012003C
10.811 +:10388000FF0EE3501D6E480E01D04C0EE76EE72E82
10.812 +:10389000FED7E76AE72EFED71D2EF7D700001200ED
10.813 +:1038A00013EE00F023EE00F0F86A019C92EC19F0A0
10.814 +:0C38B00086EC1CF0F8EC17F0FBD71200BF
10.815 +:0438BC00FF0EE350C8
10.816 +:1038C0001D6E1B0E00D001D0200EE76EE72EFED736
10.817 +:0838D0001D2EFAD700D01200F2
10.818 +:0838D800056A080EE76ED890A6
10.819 +:1038E000093605360E50055C02E3056E092AE72EFF
10.820 +:0438F000F7D71200F4
10.821 +:0C38F40000EE00F00F0EEE6AEA62FDD755
10.822 +:023900001200B3
10.823 +:0A390200C586C7A0FED7C950120009
10.824 +:02390C001200A7
10.825 +:02390E000000B7
10.826 +:00000001FF
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/firmware/_bin/front_4.1.project.map Tue Jan 29 22:31:52 2008 +0100
11.3 @@ -0,0 +1,1253 @@
11.4 +MPLINK 4.15, Linker
11.5 +Linker Map File - Created Thu Jan 24 22:37:43 2008
11.6 +
11.7 + Section Info
11.8 + Section Type Address Location Size(Bytes)
11.9 + --------- --------- --------- --------- ---------
11.10 + _entry_scn code 0x000000 program 0x000006
11.11 + _RESET_INTERRUPT_VECTOR code 0x000800 program 0x000006
11.12 + high_vector code 0x000808 program 0x000006
11.13 + low_vector code 0x000818 program 0x000006
11.14 + .cinit romdata 0x00082a program 0x00001a
11.15 + .romdata_user.o romdata 0x000844 program 0x000901
11.16 + .idata_t0open.o_i romdata 0x001145 program 0x000000
11.17 + .stringtable romdata 0x001145 program 0x000000
11.18 + .idata_usbmmap.o_i romdata 0x001145 program 0x000000
11.19 + .romdata_pw2setdc.o romdata 0x001145 program 0x000000
11.20 + .idata_myi2c.o_i romdata 0x001145 program 0x000000
11.21 + .romdata_myi2c.o romdata 0x001145 program 0x000000
11.22 + .idata_pw2setdc.o_i romdata 0x001145 program 0x000000
11.23 + .romdata_usbdrv.o romdata 0x001145 program 0x000000
11.24 + .idata_usbdrv.o_i romdata 0x001145 program 0x000000
11.25 + .romdata_pw1setdc.o romdata 0x001145 program 0x000000
11.26 + .idata_t0write.o_i romdata 0x001145 program 0x000000
11.27 + .romdata_t0write.o romdata 0x001145 program 0x000000
11.28 + .idata_pw1setdc.o_i romdata 0x001145 program 0x000000
11.29 + .romdata_usb9.o romdata 0x001145 program 0x000000
11.30 + .idata_usb9.o_i romdata 0x001145 program 0x000000
11.31 + .romdata_t0open.o romdata 0x001145 program 0x000000
11.32 + .romdata_i2c_read.o romdata 0x001145 program 0x000000
11.33 + .idata_i2c_read.o_i romdata 0x001145 program 0x000000
11.34 + .romdata_t3open.o romdata 0x001145 program 0x000000
11.35 + .idata_t3open.o_i romdata 0x001145 program 0x000000
11.36 + .romdata___init.o romdata 0x001145 program 0x000000
11.37 + .idata_i2c_eeap.o_i romdata 0x001145 program 0x000000
11.38 + .romdata_interrupt.o romdata 0x001145 program 0x000000
11.39 + .idata_interrupt.o_i romdata 0x001145 program 0x000000
11.40 + .idata___init.o_i romdata 0x001145 program 0x000000
11.41 + .romdata_delay.o romdata 0x001145 program 0x000000
11.42 + .idata_delay.o_i romdata 0x001145 program 0x000000
11.43 + .romdata_i2c_eeap.o romdata 0x001145 program 0x000000
11.44 + .romdata_cdc.o romdata 0x001145 program 0x000000
11.45 + .idata_cdc.o_i romdata 0x001145 program 0x000000
11.46 + .code_user.o code 0x001146 program 0x000852
11.47 + .code_usbmmap.o code 0x001146 program 0x000000
11.48 + .code_c018i.o code 0x001146 program 0x000000
11.49 + .code_usbdsc.o code 0x001146 program 0x000000
11.50 + .code_comm.o code 0x001998 program 0x0004c8
11.51 + .code_cdc.o code 0x001e60 program 0x00037a
11.52 + .code_myi2c.o code 0x0021da program 0x000326
11.53 + .code_usb9.o code 0x002500 program 0x000308
11.54 + .code_usbctrltrf.o code 0x002808 program 0x0002fa
11.55 + .code_T6963.o code 0x002b02 program 0x000204
11.56 + .code_usbdrv.o code 0x002d06 program 0x00017c
11.57 + .code_rc5.o code 0x002e82 program 0x00016e
11.58 + .code_main.o code 0x002ff0 program 0x00016c
11.59 + .code_interrupt.o code 0x00315c program 0x0000fa
11.60 + .romdata_usbdsc.o romdata 0x003256 program 0x0000cd
11.61 + .romdata_t2open.o romdata 0x003323 program 0x000000
11.62 + .idata_t2open.o_i romdata 0x003323 program 0x000000
11.63 + .idata_i2c_gets.o_i romdata 0x003323 program 0x000000
11.64 + .romdata_i2c_gets.o romdata 0x003323 program 0x000000
11.65 + .romdata_pw1open.o romdata 0x003323 program 0x000000
11.66 + .romdata_t3write.o romdata 0x003323 program 0x000000
11.67 + .idata_t3write.o_i romdata 0x003323 program 0x000000
11.68 + .idata_t0read.o_i romdata 0x003323 program 0x000000
11.69 + .romdata_t0read.o romdata 0x003323 program 0x000000
11.70 + .romdata_i2c_writ.o romdata 0x003323 program 0x000000
11.71 + .idata_pw1setoc.o_i romdata 0x003323 program 0x000000
11.72 + .idata_i2c_writ.o_i romdata 0x003323 program 0x000000
11.73 + .romdata_pw1setoc.o romdata 0x003323 program 0x000000
11.74 + .idata_c018i.o_i romdata 0x003323 program 0x000000
11.75 + .romdata_c018i.o romdata 0x003323 program 0x000000
11.76 + .idata_main.o_i romdata 0x003323 program 0x000000
11.77 + .romdata_main.o romdata 0x003323 program 0x000000
11.78 + .idata_usbctrltrf.o_i romdata 0x003323 program 0x000000
11.79 + .romdata_usbctrltrf.o romdata 0x003323 program 0x000000
11.80 + .idata_usbdsc.o_i romdata 0x003323 program 0x000000
11.81 + .romdata_usbmmap.o romdata 0x003323 program 0x000000
11.82 + .idata_T6963.o_i romdata 0x003323 program 0x000001
11.83 + .romdata_T6963.o romdata 0x003323 program 0x000000
11.84 + .idata_rc5.o_i romdata 0x003323 program 0x000000
11.85 + .romdata_rc5.o romdata 0x003323 program 0x000000
11.86 + .idata_comm.o_i romdata 0x003323 program 0x000000
11.87 + .romdata_comm.o romdata 0x003323 program 0x000000
11.88 + .idata_pw1open.o_i romdata 0x003323 program 0x000000
11.89 + .romdata_fxd0808u.o romdata 0x003323 program 0x000000
11.90 + .idata_fxd0808u.o_i romdata 0x003323 program 0x000000
11.91 + _cinit_scn code 0x003324 program 0x00009e
11.92 + .code_pw1setoc.o code 0x0033c2 program 0x000092
11.93 + .code_i2c_eeap.o code 0x003454 program 0x000072
11.94 + .code_i2c_gets.o code 0x0034c6 program 0x000066
11.95 + .code_pw2setdc.o code 0x00352c program 0x00005e
11.96 + .code_pw1setdc.o code 0x00358a program 0x00005e
11.97 + .code_delay.o code 0x0035e8 program 0x000052
11.98 + .code_i2c_writ.o code 0x00363a program 0x00004a
11.99 + .code_t3open.o code 0x003684 program 0x000046
11.100 + .code_t0read.o code 0x0036ca program 0x00003e
11.101 + PROG code 0x003708 program 0x00003c
11.102 + .code_t3write.o code 0x003744 program 0x000038
11.103 + .code_t0write.o code 0x00377c program 0x000038
11.104 + .code_t0open.o code 0x0037b4 program 0x000038
11.105 + .code_t2open.o code 0x0037ec program 0x000036
11.106 + .code_pw1open.o code 0x003822 program 0x000030
11.107 + D10KTCYXCODE code 0x003852 program 0x00002e
11.108 + D1KTCYXCODE code 0x003880 program 0x000020
11.109 + _startup_scn code 0x0038a0 program 0x00001c
11.110 + D100TCYXCODE code 0x0038bc program 0x00001c
11.111 + .code_fxd0808u.o code 0x0038d8 program 0x00001c
11.112 + .code code 0x0038f4 program 0x00000e
11.113 + .code_i2c_read.o code 0x003902 program 0x00000a
11.114 + .code___init.o code 0x00390c program 0x000002
11.115 + .idata_user.o_i romdata 0x00390e program 0x000002
11.116 + MATH_DATA udata 0x000000 data 0x000014
11.117 + .tmpdata udata 0x000014 data 0x000008
11.118 + DELAYDAT2 udata 0x00001c data 0x000001
11.119 + DELAYDAT1 udata 0x00001d data 0x000001
11.120 + .udata_cdc.o udata 0x000060 data 0x00001b
11.121 + .udata_c018i.o udata 0x00007b data 0x00000a
11.122 + .udata_user.o udata 0x000085 data 0x000009
11.123 + .udata_usbctrltrf.o udata 0x00008e data 0x000008
11.124 + .udata_rc5.o udata 0x000096 data 0x000005
11.125 + .udata_usbmmap.o udata 0x00009b data 0x000004
11.126 + .udata_usbdrv.o udata 0x00009f data 0x000002
11.127 + .udata_myi2c.o udata 0x0000a1 data 0x000002
11.128 + .idata_user.o idata 0x0000a3 data 0x000002
11.129 + .udata_interrupt.o udata 0x0000a5 data 0x000001
11.130 + .idata_T6963.o idata 0x0000a6 data 0x000001
11.131 + .idata_t3open.o idata 0x0000a7 data 0x000000
11.132 + .udata_t3open.o udata 0x0000a7 data 0x000000
11.133 + .udata_i2c_read.o udata 0x0000a7 data 0x000000
11.134 + .idata_t2open.o idata 0x0000a7 data 0x000000
11.135 + .idata_i2c_read.o idata 0x0000a7 data 0x000000
11.136 + .udata_t0read.o udata 0x0000a7 data 0x000000
11.137 + .udata_t2open.o udata 0x0000a7 data 0x000000
11.138 + .idata_t0read.o idata 0x0000a7 data 0x000000
11.139 + .idata_t0open.o idata 0x0000a7 data 0x000000
11.140 + .udata_t0open.o udata 0x0000a7 data 0x000000
11.141 + .idata_pw1open.o idata 0x0000a7 data 0x000000
11.142 + .udata_pw1setdc.o udata 0x0000a7 data 0x000000
11.143 + .idata_pw1setdc.o idata 0x0000a7 data 0x000000
11.144 + .udata_pw2setdc.o udata 0x0000a7 data 0x000000
11.145 + .idata_pw2setdc.o idata 0x0000a7 data 0x000000
11.146 + .udata_pw1setoc.o udata 0x0000a7 data 0x000000
11.147 + .idata_pw1setoc.o idata 0x0000a7 data 0x000000
11.148 + .udata_i2c_writ.o udata 0x0000a7 data 0x000000
11.149 + .idata_i2c_writ.o idata 0x0000a7 data 0x000000
11.150 + .udata_t0write.o udata 0x0000a7 data 0x000000
11.151 + .idata_t0write.o idata 0x0000a7 data 0x000000
11.152 + .udata_t3write.o udata 0x0000a7 data 0x000000
11.153 + .idata_t3write.o idata 0x0000a7 data 0x000000
11.154 + .udata___init.o udata 0x0000a7 data 0x000000
11.155 + .idata___init.o idata 0x0000a7 data 0x000000
11.156 + .udata_i2c_gets.o udata 0x0000a7 data 0x000000
11.157 + .idata_i2c_gets.o idata 0x0000a7 data 0x000000
11.158 + .idata_cdc.o idata 0x0000a7 data 0x000000
11.159 + .udata_delay.o udata 0x0000a7 data 0x000000
11.160 + .idata_delay.o idata 0x0000a7 data 0x000000
11.161 + .idata_interrupt.o idata 0x0000a7 data 0x000000
11.162 + .udata_main.o udata 0x0000a7 data 0x000000
11.163 + .idata_main.o idata 0x0000a7 data 0x000000
11.164 + .udata_usb9.o udata 0x0000a7 data 0x000000
11.165 + .idata_usb9.o idata 0x0000a7 data 0x000000
11.166 + .idata_usbctrltrf.o idata 0x0000a7 data 0x000000
11.167 + .idata_usbdrv.o idata 0x0000a7 data 0x000000
11.168 + .udata_usbdsc.o udata 0x0000a7 data 0x000000
11.169 + .idata_usbdsc.o idata 0x0000a7 data 0x000000
11.170 + .idata_usbmmap.o idata 0x0000a7 data 0x000000
11.171 + .udata_T6963.o udata 0x0000a7 data 0x000000
11.172 + .idata_myi2c.o idata 0x0000a7 data 0x000000
11.173 + .idata_rc5.o idata 0x0000a7 data 0x000000
11.174 + .udata_comm.o udata 0x0000a7 data 0x000000
11.175 + .idata_comm.o idata 0x0000a7 data 0x000000
11.176 + .idata_c018i.o idata 0x0000a7 data 0x000000
11.177 + .udata_i2c_eeap.o udata 0x0000a7 data 0x000000
11.178 + .idata_i2c_eeap.o idata 0x0000a7 data 0x000000
11.179 + .udata_fxd0808u.o udata 0x0000a7 data 0x000000
11.180 + .idata_fxd0808u.o idata 0x0000a7 data 0x000000
11.181 + .udata_pw1open.o udata 0x0000a7 data 0x000000
11.182 + .stack udata 0x000300 data 0x000100
11.183 + usbram4 udata 0x000400 data 0x000030
11.184 + usbram5a udata 0x000500 data 0x000088
11.185 + SFR_UNBANKED0 udata 0x000f62 data 0x00009e
11.186 +
11.187 +
11.188 +
11.189 + Program Memory Usage
11.190 + Start End
11.191 + --------- ---------
11.192 + 0x000000 0x000005
11.193 + 0x000800 0x000805
11.194 + 0x000808 0x00080d
11.195 + 0x000818 0x00081d
11.196 + 0x00082a 0x001144
11.197 + 0x001146 0x00390f
11.198 + 12541 out of 33048 program addresses used, program memory utilization is 37%
11.199 +
11.200 +
11.201 +
11.202 + Symbols - Sorted by Name
11.203 + Name Address Location Storage File
11.204 + --------- --------- --------- --------- ---------
11.205 + CDCInitEP 0x001f24 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.206 + CDCTxService 0x0020ea program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.207 + ClassReqHandler 0x003321 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.208 + ClearArray 0x002e58 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.209 + D100_1 0x0038ca program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.210 + D100x 0x0038c8 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.211 + D10K_1 0x00385e program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.212 + D10Kl 0x00386a program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.213 + D10Kx 0x00385c program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.214 + D1K_1 0x00388c program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.215 + D1Kx 0x00388a program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.216 + Delay100TCYx 0x0038bc program extern C:\MCC18\src\traditional\delays\d100tcyx.asm
11.217 + Delay100us 0x003614 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.218 + Delay10KTCYx 0x003852 program extern C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.219 + Delay15ms 0x0035e8 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.220 + Delay1KTCYx 0x003880 program extern C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.221 + Delay1s 0x003622 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.222 + Delay1us 0x003604 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.223 + Delay5ms 0x0035f6 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.224 + DrawTime 0x0014b8 program extern G:\p_source\18F4550\front_v4.1\user.c
11.225 + EEAckPolling 0x003454 program extern C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.226 + FXD0808U 0x0038d8 program extern C:\MCC18\src\traditional\math\fxd0808u.c
11.227 + FXM1616U 0x003708 program extern C:\MCC18\src\traditional\math\fxm1616u.asm
11.228 + LDByteReadI2C 0x002280 program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.229 + LDByteWriteI2C 0x0021da program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.230 + LDPageReadI2C 0x0022fc program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.231 + LDPageWriteI2C 0x0023bc program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.232 + OpenPWM1 0x003822 program extern C:\MCC18\src\pmc_common\PWM\pw1open.c
11.233 + OpenPWM1ConfigIO 0x00384e program extern C:\MCC18\src\pmc_common\PWM\pw1open.c
11.234 + OpenTimer0 0x0037b4 program extern C:\MCC18\src\pmc_common\Timers\t0open.c
11.235 + OpenTimer2 0x0037ec program extern C:\MCC18\src\pmc_common\Timers\t2open.c
11.236 + OpenTimer3 0x003684 program extern C:\MCC18\src\pmc_common\Timers\t3open.c
11.237 + ProcessInput 0x001998 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.238 + ReadClock 0x001472 program extern G:\p_source\18F4550\front_v4.1\user.c
11.239 + ReadI2C 0x003902 program extern C:\MCC18\src\pmc_common\i2c\i2c_read.c
11.240 + ReadKeys 0x001362 program extern G:\p_source\18F4550\front_v4.1\user.c
11.241 + ReadTimer0 0x0036ca program extern C:\MCC18\src\pmc_common\Timers\t0read.c
11.242 + SetDCPWM1 0x00358a program extern C:\MCC18\src\pmc_common\PWM\pw1setdc.c
11.243 + SetDCPWM2 0x00352c program extern C:\MCC18\src\pmc_common\PWM\pw2setdc.c
11.244 + SetOutputPWM1 0x0033c2 program extern C:\MCC18\src\pmc_common\PWM\pw1setoc.c
11.245 + USBCheckBusStatus 0x002d06 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.246 + USBCheckCDCRequest 0x001e60 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.247 + USBCheckStdRequest 0x002500 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.248 + USBCtrlEPService 0x002808 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.249 + USBCtrlEPServiceComplete 0x002a5a program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.250 + USBCtrlTrfInHandler 0x0028ca program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.251 + USBCtrlTrfOutHandler 0x0028aa program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.252 + USBCtrlTrfRxService 0x0029e0 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.253 + USBCtrlTrfSetupHandler 0x00283e program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.254 + USBCtrlTrfTxService 0x002904 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.255 + USBDriverService 0x002d44 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.256 + USBErrorHandler 0x002e10 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.257 + USBModuleDisable 0x002d36 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.258 + USBModuleEnable 0x002d28 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.259 +USBPrepareForNextSetupTrf 0x002ae6 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.260 + USBProtocolResetHandler 0x002e14 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.261 + USBRemoteWakeup 0x002dda program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.262 + USBSoftDetach 0x002d40 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.263 + USBStallHandler 0x002e02 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.264 + USBStdFeatureReqHandler 0x002766 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.265 + USBStdGetDscHandler 0x0025c2 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.266 + USBStdGetStatusHandler 0x0026ca program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.267 + USBStdSetCfgHandler 0x00267a program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.268 + USBSuspend 0x002dc2 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.269 + USBTasks 0x00314c program extern G:\p_source\18F4550\front_v4.1\main.c
11.270 + USBWakeFromSuspend 0x002dd2 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.271 + USB_CD_Ptr 0x003317 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.272 + USB_SD_Ptr 0x00331b program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.273 + USB_SOF_Handler 0x002dfe program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.274 + UserInit 0x001146 program extern G:\p_source\18F4550\front_v4.1\user.c
11.275 + Wdebug 0x0012a0 program extern G:\p_source\18F4550\front_v4.1\user.c
11.276 + WriteI2C 0x00363a program extern C:\MCC18\src\pmc_common\i2c\i2c_writ.c
11.277 + WriteTimer0 0x00377c program extern C:\MCC18\src\pmc_common\Timers\t0write.c
11.278 + WriteTimer3 0x003744 program extern C:\MCC18\src\pmc_common\Timers\t3write.c
11.279 + Wstring 0x00125a program extern G:\p_source\18F4550\front_v4.1\user.c
11.280 + _D100TCYXCODE_0008 0x0038c4 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.281 + _D100TCYXCODE_0012 0x0038ce program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.282 + _D100TCYXCODE_0018 0x0038d4 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.283 + _D10KTCYXCODE_0010 0x003862 program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.284 + _D10KTCYXCODE_001C 0x00386e program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.285 + _D1KTCYXCODE_0010 0x003890 program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.286 + _D1KTCYXCODE_0016 0x003896 program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.287 + ___case_112_lbl00026 0x001c0a program static
11.288 + ___case_113_lbl00028 0x001c1e program static
11.289 + ___case_128_lbl00007 0x001a52 program static
11.290 + ___case_16_lbl00009 0x001a6e program static
11.291 + ___case_1_lbl00005 0x001a28 program static
11.292 + ___case_20_lbl00011 0x001a80 program static
11.293 + ___case_22_lbl00016 0x001afc program static
11.294 + ___case_64_lbl00018 0x001b2e program static
11.295 + ___case_65_lbl00020 0x001b74 program static
11.296 + ___case_69_lbl00022 0x001ba6 program static
11.297 + ___case_70_lbl00024 0x001bd8 program static
11.298 + ___default_lbl00029 0x001c30 program static
11.299 + ___else_lbl00031 0x001c36 program static
11.300 + ___for_lbl00012 0x001af2 program static
11.301 + ___for_lbl00013 0x001af8 program static
11.302 + ___for_lbl00014 0x001ac0 program static
11.303 + ___if_lbl00001 0x0019c8 program static
11.304 + ___if_lbl00004 0x001a32 program static
11.305 + ___if_lbl00006 0x001a5c program static
11.306 + ___if_lbl00008 0x001a78 program static
11.307 + ___if_lbl00010 0x001a94 program static
11.308 + ___if_lbl00015 0x001b08 program static
11.309 + ___if_lbl00017 0x001b38 program static
11.310 + ___if_lbl00019 0x001b80 program static
11.311 + ___if_lbl00021 0x001bb0 program static
11.312 + ___if_lbl00023 0x001be2 program static
11.313 + ___if_lbl00025 0x001c14 program static
11.314 + ___if_lbl00027 0x001c28 program static
11.315 + ___if_lbl00030 0x001c38 program static
11.316 + ___if_lbl00032 0x001c38 program static
11.317 + ___return_lbl00000 0x000804 program static
11.318 + ___return_lbl00000 0x0038f2 program static
11.319 + ___return_lbl00000 0x00080c program static
11.320 + ___return_lbl00000 0x000004 program static
11.321 + ___return_lbl00000 0x001c38 program static
11.322 + ___return_lbl00001 0x00081c program static
11.323 + ___return_lbl00001 0x0038ba program static
11.324 + ___return_lbl00002 0x003612 program static
11.325 + ___return_lbl00002 0x0033c0 program static
11.326 + ___return_lbl00028 0x002dd0 program static
11.327 + ___return_lbl00042 0x001dfe program static
11.328 + ___return_lbl00042 0x002e7a program static
11.329 + ___switchexit_lbl00003 0x001c34 program static
11.330 + ___while_lbl00043 0x001ddc program static
11.331 + ___while_lbl00043 0x002e6c program static
11.332 + ___while_lbl00044 0x001de6 program static
11.333 + ___while_lbl00044 0x002e7a program static
11.334 + __init 0x00390c program extern C:\MCC18\src\traditional\stdclib\__init.c
11.335 + __pa_0 0x0034b6 program static C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.336 + __tmplbl_0 0x0019ea program static
11.337 + __tmplbl_1 0x0019e2 program static
11.338 + __zero_memory 0x0038f4 program extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.339 + _do_cinit 0x003324 program extern C:\MCC18\src\traditional\startup\c018i.c
11.340 + _entry 0x000000 program extern C:\MCC18\src\traditional\startup\c018i.c
11.341 + _reset 0x000800 program extern G:\p_source\18F4550\front_v4.1\main.c
11.342 + _startup 0x0038a0 program extern C:\MCC18\src\traditional\startup\c018i.c
11.343 + bitmapfont 0x000844 program extern G:\p_source\18F4550\front_v4.1\user.c
11.344 + cfg01 0x003268 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.345 + clear_loop 0x0038fa program static C:\MCC18\src\traditional\proc\p18F4550.asm
11.346 + comm_send_ack 0x001d6e program extern G:\p_source\18F4550\front_v4.1\comm.c
11.347 + comm_send_data 0x001c4c program extern G:\p_source\18F4550\front_v4.1\comm.c
11.348 + comm_send_ir 0x001d02 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.349 + comm_send_nack 0x001dbe program extern G:\p_source\18F4550\front_v4.1\comm.c
11.350 + comm_send_nimp 0x001e12 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.351 + copy_loop 0x003396 program static
11.352 + copy_one_byte 0x00339c program static
11.353 + device_dsc 0x003256 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.354 + done 0x0033c0 program static
11.355 + done_copying 0x0033aa program static
11.356 + endloop 0x0038ee program static
11.357 + getsI2C 0x0034c6 program extern C:\MCC18\src\pmc_common\i2c\i2c_gets.c
11.358 + getsUSBUSART 0x001f74 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.359 + high_isr 0x00315c program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.360 + interrupt_at_high_vector 0x000808 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.361 + interrupt_at_low_vector 0x000818 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.362 + lcd_CheckBusy 0x002c20 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.363 + lcd_ClearScreen 0x002b02 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.364 + lcd_InitDisplay 0x002baa program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.365 + lcd_SetAutomode 0x002c72 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.366 + lcd_WriteByte 0x002ce4 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.367 + lcd_WriteCommand 0x002cc6 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.368 + lcd_WriteData 0x002ca8 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.369 + loop 0x0038e0 program static
11.370 + loop 0x0038b0 program static
11.371 + low_isr 0x003204 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.372 + main 0x002ff0 program extern G:\p_source\18F4550\front_v4.1\main.c
11.373 + putrsUSBUSART 0x00206e program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.374 + putsUSBUSART 0x001ff4 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.375 + putstringI2C 0x002460 program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.376 + rc5_decode 0x002e9e program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.377 + rc5_init 0x002e82 program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.378 + rc5_scrap 0x002fe2 program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.379 + sd000 0x0032ab program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.380 + sd001 0x0032af program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.381 + sd002 0x0032e3 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.382 + test 0x00333e program static
11.383 + ADCON0 0x000fc2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.384 + ADCON0bits 0x000fc2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.385 + ADCON1 0x000fc1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.386 + ADCON1bits 0x000fc1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.387 + ADCON2 0x000fc0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.388 + ADCON2bits 0x000fc0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.389 + ADRES 0x000fc3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.390 + ADRESH 0x000fc4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.391 + ADRESL 0x000fc3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.392 + BAUDCON 0x000fb8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.393 + BAUDCONbits 0x000fb8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.394 + BSR 0x000fe0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.395 + CCP1AS 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.396 + CCP1ASbits 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.397 + CCP1CON 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.398 + CCP1CONbits 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.399 + CCP1DEL 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.400 + CCP1DELbits 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.401 + CCP2CON 0x000fba data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.402 + CCP2CONbits 0x000fba data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.403 + CCPR1 0x000fbe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.404 + CCPR1H 0x000fbf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.405 + CCPR1L 0x000fbe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.406 + CCPR2 0x000fbb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.407 + CCPR2H 0x000fbc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.408 + CCPR2L 0x000fbb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.409 + CMCON 0x000fb4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.410 + CMCONbits 0x000fb4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.411 + CVRCON 0x000fb5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.412 + CVRCONbits 0x000fb5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.413 + CtrlTrfData 0x000428 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.414 + DDRA 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.415 + DDRAbits 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.416 + DDRB 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.417 + DDRBbits 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.418 + DDRC 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.419 + DDRCbits 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.420 + DDRD 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.421 + DDRDbits 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.422 + DDRE 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.423 + DDREbits 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.424 + DelayCounter1 0x00001d data extern C:\MCC18\src\traditional\delays\delayd1.asm
11.425 + DelayCounter2 0x00001c data extern C:\MCC18\src\traditional\delays\delayd2.asm
11.426 + ECCP1AS 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.427 + ECCP1ASbits 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.428 + ECCP1CON 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.429 + ECCP1CONbits 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.430 + ECCP1DEL 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.431 + ECCP1DELbits 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.432 + EEADR 0x000fa9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.433 + EECON1 0x000fa6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.434 + EECON1bits 0x000fa6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.435 + EECON2 0x000fa7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.436 + EEDATA 0x000fa8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.437 + FSR0 0x000fe9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.438 + FSR0H 0x000fea data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.439 + FSR0L 0x000fe9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.440 + FSR1 0x000fe1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.441 + FSR1H 0x000fe2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.442 + FSR1L 0x000fe1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.443 + FSR2 0x000fd9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.444 + FSR2H 0x000fda data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.445 + FSR2L 0x000fd9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.446 + HLVDCON 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.447 + HLVDCONbits 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.448 + INDF0 0x000fef data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.449 + INDF1 0x000fe7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.450 + INDF2 0x000fdf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.451 + INTCON 0x000ff2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.452 + INTCON2 0x000ff1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.453 + INTCON2bits 0x000ff1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.454 + INTCON3 0x000ff0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.455 + INTCON3bits 0x000ff0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.456 + INTCONbits 0x000ff2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.457 + IPR1 0x000f9f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.458 + IPR1bits 0x000f9f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.459 + IPR2 0x000fa2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.460 + IPR2bits 0x000fa2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.461 + LATA 0x000f89 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.462 + LATAbits 0x000f89 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.463 + LATB 0x000f8a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.464 + LATBbits 0x000f8a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.465 + LATC 0x000f8b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.466 + LATCbits 0x000f8b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.467 + LATD 0x000f8c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.468 + LATDbits 0x000f8c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.469 + LATE 0x000f8d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.470 + LATEbits 0x000f8d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.471 + LVDCON 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.472 + LVDCONbits 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.473 + OSCCON 0x000fd3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.474 + OSCCONbits 0x000fd3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.475 + OSCTUNE 0x000f9b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.476 + OSCTUNEbits 0x000f9b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.477 + PC 0x000ff9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.478 + PCL 0x000ff9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.479 + PCLATH 0x000ffa data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.480 + PCLATU 0x000ffb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.481 + PIE1 0x000f9d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.482 + PIE1bits 0x000f9d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.483 + PIE2 0x000fa0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.484 + PIE2bits 0x000fa0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.485 + PIR1 0x000f9e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.486 + PIR1bits 0x000f9e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.487 + PIR2 0x000fa1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.488 + PIR2bits 0x000fa1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.489 + PLUSW0 0x000feb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.490 + PLUSW1 0x000fe3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.491 + PLUSW2 0x000fdb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.492 + PORTA 0x000f80 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.493 + PORTAbits 0x000f80 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.494 + PORTB 0x000f81 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.495 + PORTBbits 0x000f81 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.496 + PORTC 0x000f82 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.497 + PORTCbits 0x000f82 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.498 + PORTD 0x000f83 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.499 + PORTDbits 0x000f83 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.500 + PORTE 0x000f84 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.501 + PORTEbits 0x000f84 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.502 + POSTDEC0 0x000fed data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.503 + POSTDEC1 0x000fe5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.504 + POSTDEC2 0x000fdd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.505 + POSTINC0 0x000fee data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.506 + POSTINC1 0x000fe6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.507 + POSTINC2 0x000fde data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.508 + PR2 0x000fcb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.509 + PREINC0 0x000fec data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.510 + PREINC1 0x000fe4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.511 + PREINC2 0x000fdc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.512 + PROD 0x000ff3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.513 + PRODH 0x000ff4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.514 + PRODL 0x000ff3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.515 + PageSize 0x0000a1 data extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.516 + RCON 0x000fd0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.517 + RCONbits 0x000fd0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.518 + RCREG 0x000fae data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.519 + RCSTA 0x000fab data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.520 + RCSTAbits 0x000fab data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.521 + SIGN 0x000000 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.522 + SPBRG 0x000faf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.523 + SPBRGH 0x000fb0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.524 + SPPCFG 0x000f63 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.525 + SPPCFGbits 0x000f63 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.526 + SPPCON 0x000f65 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.527 + SPPCONbits 0x000f65 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.528 + SPPDATA 0x000f62 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.529 + SPPEPS 0x000f64 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.530 + SPPEPSbits 0x000f64 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.531 + SSPADD 0x000fc8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.532 + SSPBUF 0x000fc9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.533 + SSPCON1 0x000fc6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.534 + SSPCON1bits 0x000fc6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.535 + SSPCON2 0x000fc5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.536 + SSPCON2bits 0x000fc5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.537 + SSPSTAT 0x000fc7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.538 + SSPSTATbits 0x000fc7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.539 + STATUS 0x000fd8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.540 + STATUSbits 0x000fd8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.541 + STKPTR 0x000ffc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.542 + STKPTRbits 0x000ffc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.543 + SetupPkt 0x000420 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.544 + T0CON 0x000fd5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.545 + T0CONbits 0x000fd5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.546 + T1CON 0x000fcd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.547 + T1CONbits 0x000fcd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.548 + T2CON 0x000fca data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.549 + T2CONbits 0x000fca data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.550 + T3CON 0x000fb1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.551 + T3CONbits 0x000fb1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.552 + TABLAT 0x000ff5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.553 + TBLPTR 0x000ff6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.554 + TBLPTRH 0x000ff7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.555 + TBLPTRL 0x000ff6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.556 + TBLPTRU 0x000ff8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.557 + TMR0H 0x000fd7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.558 + TMR0L 0x000fd6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.559 + TMR1H 0x000fcf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.560 + TMR1L 0x000fce data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.561 + TMR2 0x000fcc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.562 + TMR3H 0x000fb3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.563 + TMR3L 0x000fb2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.564 + TOS 0x000ffd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.565 + TOSH 0x000ffe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.566 + TOSL 0x000ffd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.567 + TOSU 0x000fff data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.568 + TRISA 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.569 + TRISAbits 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.570 + TRISB 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.571 + TRISBbits 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.572 + TRISC 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.573 + TRISCbits 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.574 + TRISD 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.575 + TRISDbits 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.576 + TRISE 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.577 + TRISEbits 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.578 + TXREG 0x000fad data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.579 + TXSTA 0x000fac data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.580 + TXSTAbits 0x000fac data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.581 + UADDR 0x000f6e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.582 + UADDRbits 0x000f6e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.583 + UCFG 0x000f6f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.584 + UCFGbits 0x000f6f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.585 + UCON 0x000f6d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.586 + UCONbits 0x000f6d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.587 + UEIE 0x000f6b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.588 + UEIEbits 0x000f6b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.589 + UEIR 0x000f6a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.590 + UEIRbits 0x000f6a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.591 + UEP0 0x000f70 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.592 + UEP0bits 0x000f70 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.593 + UEP1 0x000f71 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.594 + UEP10 0x000f7a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.595 + UEP10bits 0x000f7a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.596 + UEP11 0x000f7b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.597 + UEP11bits 0x000f7b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.598 + UEP12 0x000f7c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.599 + UEP12bits 0x000f7c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.600 + UEP13 0x000f7d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.601 + UEP13bits 0x000f7d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.602 + UEP14 0x000f7e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.603 + UEP14bits 0x000f7e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.604 + UEP15 0x000f7f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.605 + UEP15bits 0x000f7f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.606 + UEP1bits 0x000f71 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.607 + UEP2 0x000f72 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.608 + UEP2bits 0x000f72 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.609 + UEP3 0x000f73 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.610 + UEP3bits 0x000f73 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.611 + UEP4 0x000f74 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.612 + UEP4bits 0x000f74 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.613 + UEP5 0x000f75 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.614 + UEP5bits 0x000f75 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.615 + UEP6 0x000f76 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.616 + UEP6bits 0x000f76 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.617 + UEP7 0x000f77 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.618 + UEP7bits 0x000f77 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.619 + UEP8 0x000f78 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.620 + UEP8bits 0x000f78 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.621 + UEP9 0x000f79 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.622 + UEP9bits 0x000f79 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.623 + UFRM 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.624 + UFRMH 0x000f67 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.625 + UFRMHbits 0x000f67 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.626 + UFRML 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.627 + UFRMLbits 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.628 + UIE 0x000f69 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.629 + UIEbits 0x000f69 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.630 + UIR 0x000f68 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.631 + UIRbits 0x000f68 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.632 + USTAT 0x000f6c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.633 + USTATbits 0x000f6c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.634 + WDTCON 0x000fd1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.635 + WDTCONbits 0x000fd1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.636 + WREG 0x000fe8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.637 + __AARGB0 0x000009 data extern C:\MCC18\src\traditional\math\aarg.asm
11.638 + __AARGB1 0x000008 data extern C:\MCC18\src\traditional\math\aarg.asm
11.639 + __AARGB2 0x000007 data extern C:\MCC18\src\traditional\math\aarg.asm
11.640 + __AARGB3 0x000006 data extern C:\MCC18\src\traditional\math\aarg.asm
11.641 + __AARGB4 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm
11.642 + __AARGB5 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm
11.643 + __AARGB6 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm
11.644 + __AARGB7 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm
11.645 + __AEXP 0x00000a data extern C:\MCC18\src\traditional\math\aarg.asm
11.646 + __BARGB0 0x00000e data extern C:\MCC18\src\traditional\math\barg.asm
11.647 + __BARGB1 0x00000d data extern C:\MCC18\src\traditional\math\barg.asm
11.648 + __BARGB2 0x00000c data extern C:\MCC18\src\traditional\math\barg.asm
11.649 + __BARGB3 0x00000b data extern C:\MCC18\src\traditional\math\barg.asm
11.650 + __BEXP 0x00000f data extern C:\MCC18\src\traditional\math\barg.asm
11.651 + __FPFLAGS 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.652 + __FPFLAGSbits 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.653 + __REMB0 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm
11.654 + __REMB1 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm
11.655 + __REMB2 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm
11.656 + __REMB3 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm
11.657 + __TEMP 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm
11.658 + __TEMPB0 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm
11.659 + __TEMPB1 0x000012 data extern C:\MCC18\src\traditional\math\temparg.asm
11.660 + __TEMPB2 0x000011 data extern C:\MCC18\src\traditional\math\temparg.asm
11.661 + __TEMPB3 0x000010 data extern C:\MCC18\src\traditional\math\temparg.asm
11.662 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.663 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\Timers\t0read.c
11.664 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.665 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw1setdc.c
11.666 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw2setdc.c
11.667 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw1setoc.c
11.668 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\i2c\i2c_writ.c
11.669 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\usb9.c
11.670 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\user.c
11.671 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\main.c
11.672 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\myi2c.c
11.673 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\cdc.c
11.674 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\rc5.c
11.675 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\comm.c
11.676 + bKeys1 0x00008d data extern G:\p_source\18F4550\front_v4.1\user.c
11.677 + c 0x0000a5 data extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.678 + cdc_data_rx 0x000508 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.679 + cdc_data_tx 0x000548 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.680 + cdc_mem_type 0x000067 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.681 + cdc_notice 0x000500 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.682 + cdc_rx_len 0x000060 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.683 + cdc_trf_state 0x000061 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.684 + cdc_tx_len 0x000066 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.685 + control_signal_bitmap 0x00006f data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.686 + ctrl_trf_session_owner 0x00008f data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.687 + ctrl_trf_state 0x00008e data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.688 + curr_byte 0x00007e data static C:\MCC18\src\traditional\startup\c018i.c
11.689 + curr_entry 0x000080 data static C:\MCC18\src\traditional\startup\c018i.c
11.690 + dKeys1 0x00008b data extern G:\p_source\18F4550\front_v4.1\user.c
11.691 + dKeys2 0x00008c data extern G:\p_source\18F4550\front_v4.1\user.c
11.692 + data_ptr 0x000082 data static C:\MCC18\src\traditional\startup\c018i.c
11.693 + delay_count 0x00009f data static G:\p_source\18F4550\front_v4.1\usbdrv.c
11.694 +dummy_encapsulated_cmd_response 0x000073 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.695 + ep0Bi 0x000404 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.696 + ep0Bo 0x000400 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.697 + ep1Bi 0x00040c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.698 + ep1Bo 0x000408 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.699 + ep2Bi 0x000414 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.700 + ep2Bo 0x000410 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.701 + ep3Bi 0x00041c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.702 + ep3Bo 0x000418 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.703 + gg_ioflags 0x000086 data extern G:\p_source\18F4550\front_v4.1\user.c
11.704 + gg_ir 0x000099 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.705 + gg_ir_address 0x00009a data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.706 + gg_keys 0x000085 data extern G:\p_source\18F4550\front_v4.1\user.c
11.707 + gg_mode 0x0000a4 data extern G:\p_source\18F4550\front_v4.1\user.c
11.708 + gg_pwm1dc 0x0000a3 data extern G:\p_source\18F4550\front_v4.1\user.c
11.709 + lcd_auto_mode 0x0000a6 data extern G:\p_source\18F4550\front_v4.1\t6963.c
11.710 + line_coding 0x000068 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.711 + nKeys1 0x000087 data extern G:\p_source\18F4550\front_v4.1\user.c
11.712 + nKeys2 0x000088 data extern G:\p_source\18F4550\front_v4.1\user.c
11.713 + oKeys1 0x000089 data extern G:\p_source\18F4550\front_v4.1\user.c
11.714 + oKeys2 0x00008a data extern G:\p_source\18F4550\front_v4.1\user.c
11.715 + pCDCDst 0x000064 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.716 + pCDCSrc 0x000062 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.717 + pDst 0x000092 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.718 + pSrc 0x000090 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.719 + prom 0x00007b data static C:\MCC18\src\traditional\startup\c018i.c
11.720 + rc5_receive_buffer 0x000097 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.721 + rc5_status 0x000096 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.722 + usb_active_cfg 0x00009d data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.723 + usb_alt_intf 0x00009e data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.724 + usb_device_state 0x00009b data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.725 + usb_stat 0x00009c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.726 + wCount 0x000094 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.727 +
11.728 +
11.729 +
11.730 + Symbols - Sorted by Address
11.731 + Name Address Location Storage File
11.732 + --------- --------- --------- --------- ---------
11.733 + _entry 0x000000 program extern C:\MCC18\src\traditional\startup\c018i.c
11.734 + ___return_lbl00000 0x000004 program static
11.735 + _reset 0x000800 program extern G:\p_source\18F4550\front_v4.1\main.c
11.736 + ___return_lbl00000 0x000804 program static
11.737 + interrupt_at_high_vector 0x000808 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.738 + ___return_lbl00000 0x00080c program static
11.739 + interrupt_at_low_vector 0x000818 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.740 + ___return_lbl00001 0x00081c program static
11.741 + bitmapfont 0x000844 program extern G:\p_source\18F4550\front_v4.1\user.c
11.742 + UserInit 0x001146 program extern G:\p_source\18F4550\front_v4.1\user.c
11.743 + Wstring 0x00125a program extern G:\p_source\18F4550\front_v4.1\user.c
11.744 + Wdebug 0x0012a0 program extern G:\p_source\18F4550\front_v4.1\user.c
11.745 + ReadKeys 0x001362 program extern G:\p_source\18F4550\front_v4.1\user.c
11.746 + ReadClock 0x001472 program extern G:\p_source\18F4550\front_v4.1\user.c
11.747 + DrawTime 0x0014b8 program extern G:\p_source\18F4550\front_v4.1\user.c
11.748 + ProcessInput 0x001998 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.749 + ___if_lbl00001 0x0019c8 program static
11.750 + __tmplbl_1 0x0019e2 program static
11.751 + __tmplbl_0 0x0019ea program static
11.752 + ___case_1_lbl00005 0x001a28 program static
11.753 + ___if_lbl00004 0x001a32 program static
11.754 + ___case_128_lbl00007 0x001a52 program static
11.755 + ___if_lbl00006 0x001a5c program static
11.756 + ___case_16_lbl00009 0x001a6e program static
11.757 + ___if_lbl00008 0x001a78 program static
11.758 + ___case_20_lbl00011 0x001a80 program static
11.759 + ___if_lbl00010 0x001a94 program static
11.760 + ___for_lbl00014 0x001ac0 program static
11.761 + ___for_lbl00012 0x001af2 program static
11.762 + ___for_lbl00013 0x001af8 program static
11.763 + ___case_22_lbl00016 0x001afc program static
11.764 + ___if_lbl00015 0x001b08 program static
11.765 + ___case_64_lbl00018 0x001b2e program static
11.766 + ___if_lbl00017 0x001b38 program static
11.767 + ___case_65_lbl00020 0x001b74 program static
11.768 + ___if_lbl00019 0x001b80 program static
11.769 + ___case_69_lbl00022 0x001ba6 program static
11.770 + ___if_lbl00021 0x001bb0 program static
11.771 + ___case_70_lbl00024 0x001bd8 program static
11.772 + ___if_lbl00023 0x001be2 program static
11.773 + ___case_112_lbl00026 0x001c0a program static
11.774 + ___if_lbl00025 0x001c14 program static
11.775 + ___case_113_lbl00028 0x001c1e program static
11.776 + ___if_lbl00027 0x001c28 program static
11.777 + ___default_lbl00029 0x001c30 program static
11.778 + ___switchexit_lbl00003 0x001c34 program static
11.779 + ___else_lbl00031 0x001c36 program static
11.780 + ___return_lbl00000 0x001c38 program static
11.781 + ___if_lbl00032 0x001c38 program static
11.782 + ___if_lbl00030 0x001c38 program static
11.783 + comm_send_data 0x001c4c program extern G:\p_source\18F4550\front_v4.1\comm.c
11.784 + comm_send_ir 0x001d02 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.785 + comm_send_ack 0x001d6e program extern G:\p_source\18F4550\front_v4.1\comm.c
11.786 + comm_send_nack 0x001dbe program extern G:\p_source\18F4550\front_v4.1\comm.c
11.787 + ___while_lbl00043 0x001ddc program static
11.788 + ___while_lbl00044 0x001de6 program static
11.789 + ___return_lbl00042 0x001dfe program static
11.790 + comm_send_nimp 0x001e12 program extern G:\p_source\18F4550\front_v4.1\comm.c
11.791 + USBCheckCDCRequest 0x001e60 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.792 + CDCInitEP 0x001f24 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.793 + getsUSBUSART 0x001f74 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.794 + putsUSBUSART 0x001ff4 program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.795 + putrsUSBUSART 0x00206e program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.796 + CDCTxService 0x0020ea program extern G:\p_source\18F4550\front_v4.1\cdc.c
11.797 + LDByteWriteI2C 0x0021da program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.798 + LDByteReadI2C 0x002280 program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.799 + LDPageReadI2C 0x0022fc program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.800 + LDPageWriteI2C 0x0023bc program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.801 + putstringI2C 0x002460 program extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.802 + USBCheckStdRequest 0x002500 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.803 + USBStdGetDscHandler 0x0025c2 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.804 + USBStdSetCfgHandler 0x00267a program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.805 + USBStdGetStatusHandler 0x0026ca program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.806 + USBStdFeatureReqHandler 0x002766 program extern G:\p_source\18F4550\front_v4.1\usb9.c
11.807 + USBCtrlEPService 0x002808 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.808 + USBCtrlTrfSetupHandler 0x00283e program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.809 + USBCtrlTrfOutHandler 0x0028aa program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.810 + USBCtrlTrfInHandler 0x0028ca program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.811 + USBCtrlTrfTxService 0x002904 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.812 + USBCtrlTrfRxService 0x0029e0 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.813 + USBCtrlEPServiceComplete 0x002a5a program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.814 +USBPrepareForNextSetupTrf 0x002ae6 program extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.815 + lcd_ClearScreen 0x002b02 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.816 + lcd_InitDisplay 0x002baa program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.817 + lcd_CheckBusy 0x002c20 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.818 + lcd_SetAutomode 0x002c72 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.819 + lcd_WriteData 0x002ca8 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.820 + lcd_WriteCommand 0x002cc6 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.821 + lcd_WriteByte 0x002ce4 program extern G:\p_source\18F4550\front_v4.1\t6963.c
11.822 + USBCheckBusStatus 0x002d06 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.823 + USBModuleEnable 0x002d28 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.824 + USBModuleDisable 0x002d36 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.825 + USBSoftDetach 0x002d40 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.826 + USBDriverService 0x002d44 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.827 + USBSuspend 0x002dc2 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.828 + ___return_lbl00028 0x002dd0 program static
11.829 + USBWakeFromSuspend 0x002dd2 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.830 + USBRemoteWakeup 0x002dda program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.831 + USB_SOF_Handler 0x002dfe program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.832 + USBStallHandler 0x002e02 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.833 + USBErrorHandler 0x002e10 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.834 + USBProtocolResetHandler 0x002e14 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.835 + ClearArray 0x002e58 program extern G:\p_source\18F4550\front_v4.1\usbdrv.c
11.836 + ___while_lbl00043 0x002e6c program static
11.837 + ___while_lbl00044 0x002e7a program static
11.838 + ___return_lbl00042 0x002e7a program static
11.839 + rc5_init 0x002e82 program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.840 + rc5_decode 0x002e9e program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.841 + rc5_scrap 0x002fe2 program extern G:\p_source\18F4550\front_v4.1\rc5.c
11.842 + main 0x002ff0 program extern G:\p_source\18F4550\front_v4.1\main.c
11.843 + USBTasks 0x00314c program extern G:\p_source\18F4550\front_v4.1\main.c
11.844 + high_isr 0x00315c program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.845 + low_isr 0x003204 program extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.846 + device_dsc 0x003256 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.847 + cfg01 0x003268 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.848 + sd000 0x0032ab program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.849 + sd001 0x0032af program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.850 + sd002 0x0032e3 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.851 + USB_CD_Ptr 0x003317 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.852 + USB_SD_Ptr 0x00331b program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.853 + ClassReqHandler 0x003321 program extern G:\p_source\18F4550\front_v4.1\usbdsc.c
11.854 + _do_cinit 0x003324 program extern C:\MCC18\src\traditional\startup\c018i.c
11.855 + test 0x00333e program static
11.856 + copy_loop 0x003396 program static
11.857 + copy_one_byte 0x00339c program static
11.858 + done_copying 0x0033aa program static
11.859 + ___return_lbl00002 0x0033c0 program static
11.860 + done 0x0033c0 program static
11.861 + SetOutputPWM1 0x0033c2 program extern C:\MCC18\src\pmc_common\PWM\pw1setoc.c
11.862 + EEAckPolling 0x003454 program extern C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.863 + __pa_0 0x0034b6 program static C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.864 + getsI2C 0x0034c6 program extern C:\MCC18\src\pmc_common\i2c\i2c_gets.c
11.865 + SetDCPWM2 0x00352c program extern C:\MCC18\src\pmc_common\PWM\pw2setdc.c
11.866 + SetDCPWM1 0x00358a program extern C:\MCC18\src\pmc_common\PWM\pw1setdc.c
11.867 + Delay15ms 0x0035e8 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.868 + Delay5ms 0x0035f6 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.869 + Delay1us 0x003604 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.870 + ___return_lbl00002 0x003612 program static
11.871 + Delay100us 0x003614 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.872 + Delay1s 0x003622 program extern G:\p_source\18F4550\front_v4.1\delay.c
11.873 + WriteI2C 0x00363a program extern C:\MCC18\src\pmc_common\i2c\i2c_writ.c
11.874 + OpenTimer3 0x003684 program extern C:\MCC18\src\pmc_common\Timers\t3open.c
11.875 + ReadTimer0 0x0036ca program extern C:\MCC18\src\pmc_common\Timers\t0read.c
11.876 + FXM1616U 0x003708 program extern C:\MCC18\src\traditional\math\fxm1616u.asm
11.877 + WriteTimer3 0x003744 program extern C:\MCC18\src\pmc_common\Timers\t3write.c
11.878 + WriteTimer0 0x00377c program extern C:\MCC18\src\pmc_common\Timers\t0write.c
11.879 + OpenTimer0 0x0037b4 program extern C:\MCC18\src\pmc_common\Timers\t0open.c
11.880 + OpenTimer2 0x0037ec program extern C:\MCC18\src\pmc_common\Timers\t2open.c
11.881 + OpenPWM1 0x003822 program extern C:\MCC18\src\pmc_common\PWM\pw1open.c
11.882 + OpenPWM1ConfigIO 0x00384e program extern C:\MCC18\src\pmc_common\PWM\pw1open.c
11.883 + Delay10KTCYx 0x003852 program extern C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.884 + D10Kx 0x00385c program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.885 + D10K_1 0x00385e program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.886 + _D10KTCYXCODE_0010 0x003862 program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.887 + D10Kl 0x00386a program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.888 + _D10KTCYXCODE_001C 0x00386e program static C:\MCC18\src\traditional\delays\d10ktcyx.asm
11.889 + Delay1KTCYx 0x003880 program extern C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.890 + D1Kx 0x00388a program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.891 + D1K_1 0x00388c program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.892 + _D1KTCYXCODE_0010 0x003890 program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.893 + _D1KTCYXCODE_0016 0x003896 program static C:\MCC18\src\traditional\delays\d1ktcyx.asm
11.894 + _startup 0x0038a0 program extern C:\MCC18\src\traditional\startup\c018i.c
11.895 + loop 0x0038b0 program static
11.896 + ___return_lbl00001 0x0038ba program static
11.897 + Delay100TCYx 0x0038bc program extern C:\MCC18\src\traditional\delays\d100tcyx.asm
11.898 + _D100TCYXCODE_0008 0x0038c4 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.899 + D100x 0x0038c8 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.900 + D100_1 0x0038ca program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.901 + _D100TCYXCODE_0012 0x0038ce program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.902 + _D100TCYXCODE_0018 0x0038d4 program static C:\MCC18\src\traditional\delays\d100tcyx.asm
11.903 + FXD0808U 0x0038d8 program extern C:\MCC18\src\traditional\math\fxd0808u.c
11.904 + loop 0x0038e0 program static
11.905 + endloop 0x0038ee program static
11.906 + ___return_lbl00000 0x0038f2 program static
11.907 + __zero_memory 0x0038f4 program extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.908 + clear_loop 0x0038fa program static C:\MCC18\src\traditional\proc\p18F4550.asm
11.909 + ReadI2C 0x003902 program extern C:\MCC18\src\pmc_common\i2c\i2c_read.c
11.910 + __init 0x00390c program extern C:\MCC18\src\traditional\stdclib\__init.c
11.911 + SIGN 0x000000 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.912 + __FPFLAGSbits 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.913 + __FPFLAGS 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm
11.914 + __AARGB7 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm
11.915 + __REMB3 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm
11.916 + __AARGB6 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm
11.917 + __REMB2 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm
11.918 + __AARGB5 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm
11.919 + __REMB1 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm
11.920 + __REMB0 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm
11.921 + __AARGB4 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm
11.922 + __AARGB3 0x000006 data extern C:\MCC18\src\traditional\math\aarg.asm
11.923 + __AARGB2 0x000007 data extern C:\MCC18\src\traditional\math\aarg.asm
11.924 + __AARGB1 0x000008 data extern C:\MCC18\src\traditional\math\aarg.asm
11.925 + __AARGB0 0x000009 data extern C:\MCC18\src\traditional\math\aarg.asm
11.926 + __AEXP 0x00000a data extern C:\MCC18\src\traditional\math\aarg.asm
11.927 + __BARGB3 0x00000b data extern C:\MCC18\src\traditional\math\barg.asm
11.928 + __BARGB2 0x00000c data extern C:\MCC18\src\traditional\math\barg.asm
11.929 + __BARGB1 0x00000d data extern C:\MCC18\src\traditional\math\barg.asm
11.930 + __BARGB0 0x00000e data extern C:\MCC18\src\traditional\math\barg.asm
11.931 + __BEXP 0x00000f data extern C:\MCC18\src\traditional\math\barg.asm
11.932 + __TEMPB3 0x000010 data extern C:\MCC18\src\traditional\math\temparg.asm
11.933 + __TEMPB2 0x000011 data extern C:\MCC18\src\traditional\math\temparg.asm
11.934 + __TEMPB1 0x000012 data extern C:\MCC18\src\traditional\math\temparg.asm
11.935 + __TEMPB0 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm
11.936 + __TEMP 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm
11.937 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\comm.c
11.938 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\rc5.c
11.939 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\cdc.c
11.940 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\myi2c.c
11.941 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\main.c
11.942 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\user.c
11.943 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\usb9.c
11.944 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\i2c\i2c_writ.c
11.945 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw1setoc.c
11.946 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw2setdc.c
11.947 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\PWM\pw1setdc.c
11.948 + __tmp_0 0x000014 data static G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.949 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\Timers\t0read.c
11.950 + __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\i2c\i2c_eeap.c
11.951 + DelayCounter2 0x00001c data extern C:\MCC18\src\traditional\delays\delayd2.asm
11.952 + DelayCounter1 0x00001d data extern C:\MCC18\src\traditional\delays\delayd1.asm
11.953 + cdc_rx_len 0x000060 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.954 + cdc_trf_state 0x000061 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.955 + pCDCSrc 0x000062 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.956 + pCDCDst 0x000064 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.957 + cdc_tx_len 0x000066 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.958 + cdc_mem_type 0x000067 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.959 + line_coding 0x000068 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.960 + control_signal_bitmap 0x00006f data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.961 +dummy_encapsulated_cmd_response 0x000073 data extern G:\p_source\18F4550\front_v4.1\cdc.c
11.962 + prom 0x00007b data static C:\MCC18\src\traditional\startup\c018i.c
11.963 + curr_byte 0x00007e data static C:\MCC18\src\traditional\startup\c018i.c
11.964 + curr_entry 0x000080 data static C:\MCC18\src\traditional\startup\c018i.c
11.965 + data_ptr 0x000082 data static C:\MCC18\src\traditional\startup\c018i.c
11.966 + gg_keys 0x000085 data extern G:\p_source\18F4550\front_v4.1\user.c
11.967 + gg_ioflags 0x000086 data extern G:\p_source\18F4550\front_v4.1\user.c
11.968 + nKeys1 0x000087 data extern G:\p_source\18F4550\front_v4.1\user.c
11.969 + nKeys2 0x000088 data extern G:\p_source\18F4550\front_v4.1\user.c
11.970 + oKeys1 0x000089 data extern G:\p_source\18F4550\front_v4.1\user.c
11.971 + oKeys2 0x00008a data extern G:\p_source\18F4550\front_v4.1\user.c
11.972 + dKeys1 0x00008b data extern G:\p_source\18F4550\front_v4.1\user.c
11.973 + dKeys2 0x00008c data extern G:\p_source\18F4550\front_v4.1\user.c
11.974 + bKeys1 0x00008d data extern G:\p_source\18F4550\front_v4.1\user.c
11.975 + ctrl_trf_state 0x00008e data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.976 + ctrl_trf_session_owner 0x00008f data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.977 + pSrc 0x000090 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.978 + pDst 0x000092 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.979 + wCount 0x000094 data extern G:\p_source\18F4550\front_v4.1\usbctrltrf.c
11.980 + rc5_status 0x000096 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.981 + rc5_receive_buffer 0x000097 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.982 + gg_ir 0x000099 data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.983 + gg_ir_address 0x00009a data extern G:\p_source\18F4550\front_v4.1\rc5.c
11.984 + usb_device_state 0x00009b data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.985 + usb_stat 0x00009c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.986 + usb_active_cfg 0x00009d data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.987 + usb_alt_intf 0x00009e data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.988 + delay_count 0x00009f data static G:\p_source\18F4550\front_v4.1\usbdrv.c
11.989 + PageSize 0x0000a1 data extern G:\p_source\18F4550\front_v4.1\myi2c.c
11.990 + gg_pwm1dc 0x0000a3 data extern G:\p_source\18F4550\front_v4.1\user.c
11.991 + gg_mode 0x0000a4 data extern G:\p_source\18F4550\front_v4.1\user.c
11.992 + c 0x0000a5 data extern G:\p_source\18F4550\front_v4.1\interrupt.c
11.993 + lcd_auto_mode 0x0000a6 data extern G:\p_source\18F4550\front_v4.1\t6963.c
11.994 + ep0Bo 0x000400 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.995 + ep0Bi 0x000404 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.996 + ep1Bo 0x000408 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.997 + ep1Bi 0x00040c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.998 + ep2Bo 0x000410 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.999 + ep2Bi 0x000414 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1000 + ep3Bo 0x000418 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1001 + ep3Bi 0x00041c data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1002 + SetupPkt 0x000420 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1003 + CtrlTrfData 0x000428 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1004 + cdc_notice 0x000500 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1005 + cdc_data_rx 0x000508 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1006 + cdc_data_tx 0x000548 data extern G:\p_source\18F4550\front_v4.1\usbmmap.c
11.1007 + SPPDATA 0x000f62 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1008 + SPPCFGbits 0x000f63 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1009 + SPPCFG 0x000f63 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1010 + SPPEPS 0x000f64 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1011 + SPPEPSbits 0x000f64 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1012 + SPPCONbits 0x000f65 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1013 + SPPCON 0x000f65 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1014 + UFRMLbits 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1015 + UFRML 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1016 + UFRM 0x000f66 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1017 + UFRMHbits 0x000f67 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1018 + UFRMH 0x000f67 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1019 + UIR 0x000f68 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1020 + UIRbits 0x000f68 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1021 + UIEbits 0x000f69 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1022 + UIE 0x000f69 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1023 + UEIRbits 0x000f6a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1024 + UEIR 0x000f6a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1025 + UEIEbits 0x000f6b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1026 + UEIE 0x000f6b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1027 + USTATbits 0x000f6c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1028 + USTAT 0x000f6c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1029 + UCON 0x000f6d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1030 + UCONbits 0x000f6d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1031 + UADDRbits 0x000f6e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1032 + UADDR 0x000f6e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1033 + UCFGbits 0x000f6f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1034 + UCFG 0x000f6f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1035 + UEP0 0x000f70 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1036 + UEP0bits 0x000f70 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1037 + UEP1 0x000f71 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1038 + UEP1bits 0x000f71 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1039 + UEP2 0x000f72 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1040 + UEP2bits 0x000f72 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1041 + UEP3bits 0x000f73 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1042 + UEP3 0x000f73 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1043 + UEP4bits 0x000f74 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1044 + UEP4 0x000f74 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1045 + UEP5bits 0x000f75 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1046 + UEP5 0x000f75 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1047 + UEP6 0x000f76 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1048 + UEP6bits 0x000f76 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1049 + UEP7 0x000f77 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1050 + UEP7bits 0x000f77 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1051 + UEP8 0x000f78 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1052 + UEP8bits 0x000f78 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1053 + UEP9bits 0x000f79 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1054 + UEP9 0x000f79 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1055 + UEP10 0x000f7a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1056 + UEP10bits 0x000f7a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1057 + UEP11 0x000f7b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1058 + UEP11bits 0x000f7b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1059 + UEP12bits 0x000f7c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1060 + UEP12 0x000f7c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1061 + UEP13bits 0x000f7d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1062 + UEP13 0x000f7d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1063 + UEP14bits 0x000f7e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1064 + UEP14 0x000f7e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1065 + UEP15 0x000f7f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1066 + UEP15bits 0x000f7f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1067 + PORTAbits 0x000f80 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1068 + PORTA 0x000f80 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1069 + PORTB 0x000f81 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1070 + PORTBbits 0x000f81 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1071 + PORTC 0x000f82 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1072 + PORTCbits 0x000f82 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1073 + PORTD 0x000f83 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1074 + PORTDbits 0x000f83 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1075 + PORTEbits 0x000f84 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1076 + PORTE 0x000f84 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1077 + LATA 0x000f89 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1078 + LATAbits 0x000f89 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1079 + LATBbits 0x000f8a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1080 + LATB 0x000f8a data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1081 + LATCbits 0x000f8b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1082 + LATC 0x000f8b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1083 + LATDbits 0x000f8c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1084 + LATD 0x000f8c data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1085 + LATEbits 0x000f8d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1086 + LATE 0x000f8d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1087 + DDRA 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1088 + TRISAbits 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1089 + DDRAbits 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1090 + TRISA 0x000f92 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1091 + TRISBbits 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1092 + TRISB 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1093 + DDRB 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1094 + DDRBbits 0x000f93 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1095 + DDRC 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1096 + DDRCbits 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1097 + TRISC 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1098 + TRISCbits 0x000f94 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1099 + TRISD 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1100 + TRISDbits 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1101 + DDRDbits 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1102 + DDRD 0x000f95 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1103 + DDREbits 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1104 + DDRE 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1105 + TRISE 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1106 + TRISEbits 0x000f96 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1107 + OSCTUNEbits 0x000f9b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1108 + OSCTUNE 0x000f9b data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1109 + PIE1bits 0x000f9d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1110 + PIE1 0x000f9d data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1111 + PIR1bits 0x000f9e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1112 + PIR1 0x000f9e data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1113 + IPR1bits 0x000f9f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1114 + IPR1 0x000f9f data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1115 + PIE2bits 0x000fa0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1116 + PIE2 0x000fa0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1117 + PIR2 0x000fa1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1118 + PIR2bits 0x000fa1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1119 + IPR2 0x000fa2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1120 + IPR2bits 0x000fa2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1121 + EECON1 0x000fa6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1122 + EECON1bits 0x000fa6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1123 + EECON2 0x000fa7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1124 + EEDATA 0x000fa8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1125 + EEADR 0x000fa9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1126 + RCSTA 0x000fab data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1127 + RCSTAbits 0x000fab data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1128 + TXSTAbits 0x000fac data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1129 + TXSTA 0x000fac data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1130 + TXREG 0x000fad data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1131 + RCREG 0x000fae data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1132 + SPBRG 0x000faf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1133 + SPBRGH 0x000fb0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1134 + T3CONbits 0x000fb1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1135 + T3CON 0x000fb1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1136 + TMR3L 0x000fb2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1137 + TMR3H 0x000fb3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1138 + CMCONbits 0x000fb4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1139 + CMCON 0x000fb4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1140 + CVRCONbits 0x000fb5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1141 + CVRCON 0x000fb5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1142 + CCP1ASbits 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1143 + ECCP1AS 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1144 + ECCP1ASbits 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1145 + CCP1AS 0x000fb6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1146 + ECCP1DEL 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1147 + ECCP1DELbits 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1148 + CCP1DEL 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1149 + CCP1DELbits 0x000fb7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1150 + BAUDCON 0x000fb8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1151 + BAUDCONbits 0x000fb8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1152 + CCP2CONbits 0x000fba data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1153 + CCP2CON 0x000fba data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1154 + CCPR2 0x000fbb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1155 + CCPR2L 0x000fbb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1156 + CCPR2H 0x000fbc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1157 + ECCP1CONbits 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1158 + CCP1CONbits 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1159 + CCP1CON 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1160 + ECCP1CON 0x000fbd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1161 + CCPR1L 0x000fbe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1162 + CCPR1 0x000fbe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1163 + CCPR1H 0x000fbf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1164 + ADCON2bits 0x000fc0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1165 + ADCON2 0x000fc0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1166 + ADCON1bits 0x000fc1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1167 + ADCON1 0x000fc1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1168 + ADCON0 0x000fc2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1169 + ADCON0bits 0x000fc2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1170 + ADRES 0x000fc3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1171 + ADRESL 0x000fc3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1172 + ADRESH 0x000fc4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1173 + SSPCON2 0x000fc5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1174 + SSPCON2bits 0x000fc5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1175 + SSPCON1 0x000fc6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1176 + SSPCON1bits 0x000fc6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1177 + SSPSTAT 0x000fc7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1178 + SSPSTATbits 0x000fc7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1179 + SSPADD 0x000fc8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1180 + SSPBUF 0x000fc9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1181 + T2CON 0x000fca data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1182 + T2CONbits 0x000fca data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1183 + PR2 0x000fcb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1184 + TMR2 0x000fcc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1185 + T1CONbits 0x000fcd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1186 + T1CON 0x000fcd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1187 + TMR1L 0x000fce data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1188 + TMR1H 0x000fcf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1189 + RCON 0x000fd0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1190 + RCONbits 0x000fd0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1191 + WDTCONbits 0x000fd1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1192 + WDTCON 0x000fd1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1193 + LVDCONbits 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1194 + LVDCON 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1195 + HLVDCONbits 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1196 + HLVDCON 0x000fd2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1197 + OSCCONbits 0x000fd3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1198 + OSCCON 0x000fd3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1199 + T0CON 0x000fd5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1200 + T0CONbits 0x000fd5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1201 + TMR0L 0x000fd6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1202 + TMR0H 0x000fd7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1203 + STATUS 0x000fd8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1204 + STATUSbits 0x000fd8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1205 + FSR2L 0x000fd9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1206 + FSR2 0x000fd9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1207 + FSR2H 0x000fda data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1208 + PLUSW2 0x000fdb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1209 + PREINC2 0x000fdc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1210 + POSTDEC2 0x000fdd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1211 + POSTINC2 0x000fde data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1212 + INDF2 0x000fdf data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1213 + BSR 0x000fe0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1214 + FSR1L 0x000fe1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1215 + FSR1 0x000fe1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1216 + FSR1H 0x000fe2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1217 + PLUSW1 0x000fe3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1218 + PREINC1 0x000fe4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1219 + POSTDEC1 0x000fe5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1220 + POSTINC1 0x000fe6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1221 + INDF1 0x000fe7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1222 + WREG 0x000fe8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1223 + FSR0 0x000fe9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1224 + FSR0L 0x000fe9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1225 + FSR0H 0x000fea data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1226 + PLUSW0 0x000feb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1227 + PREINC0 0x000fec data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1228 + POSTDEC0 0x000fed data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1229 + POSTINC0 0x000fee data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1230 + INDF0 0x000fef data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1231 + INTCON3bits 0x000ff0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1232 + INTCON3 0x000ff0 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1233 + INTCON2bits 0x000ff1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1234 + INTCON2 0x000ff1 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1235 + INTCONbits 0x000ff2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1236 + INTCON 0x000ff2 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1237 + PROD 0x000ff3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1238 + PRODL 0x000ff3 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1239 + PRODH 0x000ff4 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1240 + TABLAT 0x000ff5 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1241 + TBLPTRL 0x000ff6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1242 + TBLPTR 0x000ff6 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1243 + TBLPTRH 0x000ff7 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1244 + TBLPTRU 0x000ff8 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1245 + PC 0x000ff9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1246 + PCL 0x000ff9 data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1247 + PCLATH 0x000ffa data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1248 + PCLATU 0x000ffb data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1249 + STKPTR 0x000ffc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1250 + STKPTRbits 0x000ffc data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1251 + TOS 0x000ffd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1252 + TOSL 0x000ffd data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1253 + TOSH 0x000ffe data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1254 + TOSU 0x000fff data extern C:\MCC18\src\traditional\proc\p18F4550.asm
11.1255 +
11.1256 +
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/firmware/_inf/win2k_winxp/mchpcdc.inf Tue Jan 29 22:31:52 2008 +0100
12.3 @@ -0,0 +1,61 @@
12.4 +
12.5 +; Windows USB CDC ACM Setup File
12.6 +; Copyright (c) 2000 Microsoft Corporation
12.7 +; Copyright (C) 2004 Microchip Technology Inc.
12.8 +
12.9 +[Version]
12.10 +Signature="$Windows NT$"
12.11 +Class=Ports
12.12 +ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
12.13 +Provider=%MCHP%
12.14 +LayoutFile=layout.inf
12.15 +DriverVer=08/17/2001,5.1.2600.0
12.16 +
12.17 +[Manufacturer]
12.18 +%MFGNAME%=DeviceList
12.19 +
12.20 +[DestinationDirs]
12.21 +DefaultDestDir=12
12.22 +
12.23 +[SourceDisksFiles]
12.24 +
12.25 +[SourceDisksNames]
12.26 +
12.27 +[DeviceList]
12.28 +%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A
12.29 +
12.30 +;------------------------------------------------------------------------------
12.31 +; Windows 2000/XP Sections
12.32 +;------------------------------------------------------------------------------
12.33 +
12.34 +[DriverInstall.nt]
12.35 +CopyFiles=DriverCopyFiles
12.36 +AddReg=DriverInstall.nt.AddReg
12.37 +
12.38 +[DriverCopyFiles]
12.39 +usbser.sys,,,0x20
12.40 +
12.41 +[DriverInstall.nt.AddReg]
12.42 +HKR,,DevLoader,,*ntkern
12.43 +HKR,,NTMPDriver,,usbser.sys
12.44 +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
12.45 +
12.46 +[DriverInstall.nt.Services]
12.47 +AddService=usbser, 0x00000002, DriverService
12.48 +
12.49 +[DriverService]
12.50 +DisplayName=%SERVICE%
12.51 +ServiceType=1
12.52 +StartType=3
12.53 +ErrorControl=1
12.54 +ServiceBinary=%12%\usbser.sys
12.55 +
12.56 +;------------------------------------------------------------------------------
12.57 +; String Definitions
12.58 +;------------------------------------------------------------------------------
12.59 +
12.60 +[Strings]
12.61 +MCHP="Microchip Technology Inc."
12.62 +MFGNAME="Microchip Technology Inc."
12.63 +DESCRIPTION="Communications Port"
12.64 +SERVICE="USB RS-232 Emulation Driver"
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/firmware/cdc.c Tue Jan 29 22:31:52 2008 +0100
13.3 @@ -0,0 +1,540 @@
13.4 +/*********************************************************************
13.5 + *
13.6 + * Microchip USB C18 Firmware - CDC Version 1.0
13.7 + *
13.8 + *********************************************************************
13.9 + * FileName: cdc.c
13.10 + * Dependencies: See INCLUDES section below
13.11 + * Processor: PIC18
13.12 + * Compiler: C18 2.30.01+
13.13 + * Company: Microchip Technology, Inc.
13.14 + *
13.15 + * Software License Agreement
13.16 + *
13.17 + * The software supplied herewith by Microchip Technology Incorporated
13.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
13.19 + * supplied to you, the Company’s customer, for use solely and
13.20 + * exclusively on Microchip PICmicro Microcontroller products. The
13.21 + * software is owned by the Company and/or its supplier, and is
13.22 + * protected under applicable copyright laws. All rights are reserved.
13.23 + * Any use in violation of the foregoing restrictions may subject the
13.24 + * user to criminal sanctions under applicable laws, as well as to
13.25 + * civil liability for the breach of the terms and conditions of this
13.26 + * license.
13.27 + *
13.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
13.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
13.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
13.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
13.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
13.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
13.34 + *
13.35 + * Author Date Comment
13.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13.37 + * Rawin Rojvanit 11/19/04 Original. RS-232 Emulation Subset
13.38 + ********************************************************************/
13.39 +
13.40 +/** I N C L U D E S **********************************************************/
13.41 +#include <p18cxxx.h>
13.42 +#include "typedefs.h"
13.43 +#include "usb.h"
13.44 +
13.45 +#ifdef USB_USE_CDC
13.46 +
13.47 +/** V A R I A B L E S ********************************************************/
13.48 +#pragma udata
13.49 +byte cdc_rx_len; // total rx length
13.50 +
13.51 +byte cdc_trf_state; // States are defined cdc.h
13.52 +POINTER pCDCSrc; // Dedicated source pointer
13.53 +POINTER pCDCDst; // Dedicated destination pointer
13.54 +byte cdc_tx_len; // total tx length
13.55 +byte cdc_mem_type; // _ROM, _RAM
13.56 +
13.57 +LINE_CODING line_coding; // Buffer to store line coding information
13.58 +CONTROL_SIGNAL_BITMAP control_signal_bitmap;
13.59 +
13.60 +/*
13.61 + * SEND_ENCAPSULATED_COMMAND and GET_ENCAPSULATED_RESPONSE are required
13.62 + * requests according to the CDC specification.
13.63 + * However, it is not really being used here, therefore a dummy buffer is
13.64 + * used for conformance.
13.65 + */
13.66 +#define dummy_length 0x08
13.67 +byte dummy_encapsulated_cmd_response[dummy_length];
13.68 +
13.69 +/** P R I V A T E P R O T O T Y P E S ***************************************/
13.70 +
13.71 +/** D E C L A R A T I O N S **************************************************/
13.72 +#pragma code
13.73 +
13.74 +/** C L A S S S P E C I F I C R E Q ****************************************/
13.75 +/******************************************************************************
13.76 + * Function: void USBCheckCDCRequest(void)
13.77 + *
13.78 + * PreCondition: None
13.79 + *
13.80 + * Input: None
13.81 + *
13.82 + * Output: None
13.83 + *
13.84 + * Side Effects: None
13.85 + *
13.86 + * Overview: This routine checks the setup data packet to see if it
13.87 + * knows how to handle it
13.88 + *
13.89 + * Note: None
13.90 + *****************************************************************************/
13.91 +void USBCheckCDCRequest(void)
13.92 +{
13.93 + /*
13.94 + * If request recipient is not an interface then return
13.95 + */
13.96 + if(SetupPkt.Recipient != RCPT_INTF) return;
13.97 +
13.98 + /*
13.99 + * If request type is not class-specific then return
13.100 + */
13.101 + if(SetupPkt.RequestType != CLASS) return;
13.102 +
13.103 + /*
13.104 + * Interface ID must match interface numbers associated with
13.105 + * CDC class, else return
13.106 + */
13.107 + if((SetupPkt.bIntfID != CDC_COMM_INTF_ID)&&
13.108 + (SetupPkt.bIntfID != CDC_DATA_INTF_ID)) return;
13.109 +
13.110 + switch(SetupPkt.bRequest)
13.111 + {
13.112 + case SEND_ENCAPSULATED_COMMAND:
13.113 + ctrl_trf_session_owner = MUID_CDC;
13.114 + pSrc.bRam = (byte*)&dummy_encapsulated_cmd_response;
13.115 + usb_stat.ctrl_trf_mem = _RAM;
13.116 + LSB(wCount) = dummy_length;
13.117 + break;
13.118 + case GET_ENCAPSULATED_RESPONSE:
13.119 + ctrl_trf_session_owner = MUID_CDC;
13.120 + // Populate dummy_encapsulated_cmd_response first.
13.121 + pDst.bRam = (byte*)&dummy_encapsulated_cmd_response;
13.122 + break;
13.123 + case SET_COMM_FEATURE: // Optional
13.124 + break;
13.125 + case GET_COMM_FEATURE: // Optional
13.126 + break;
13.127 + case CLEAR_COMM_FEATURE: // Optional
13.128 + break;
13.129 + case SET_LINE_CODING:
13.130 + ctrl_trf_session_owner = MUID_CDC;
13.131 + pDst.bRam = (byte*)&line_coding; // Set destination
13.132 + break;
13.133 + case GET_LINE_CODING:
13.134 + ctrl_trf_session_owner = MUID_CDC;
13.135 + pSrc.bRam = (byte*)&line_coding; // Set source
13.136 + usb_stat.ctrl_trf_mem = _RAM; // Set memory type
13.137 + LSB(wCount) = LINE_CODING_LENGTH; // Set data count
13.138 + break;
13.139 + case SET_CONTROL_LINE_STATE:
13.140 + ctrl_trf_session_owner = MUID_CDC;
13.141 + control_signal_bitmap._byte = LSB(SetupPkt.W_Value);
13.142 + break;
13.143 + case SEND_BREAK: // Optional
13.144 + break;
13.145 + default:
13.146 + break;
13.147 + }//end switch(SetupPkt.bRequest)
13.148 +
13.149 +}//end USBCheckCDCRequest
13.150 +
13.151 +/** U S E R A P I ***********************************************************/
13.152 +
13.153 +/******************************************************************************
13.154 + * Function: void CDCInitEP(void)
13.155 + *
13.156 + * PreCondition: None
13.157 + *
13.158 + * Input: None
13.159 + *
13.160 + * Output: None
13.161 + *
13.162 + * Side Effects: None
13.163 + *
13.164 + * Overview: CDCInitEP initializes CDC endpoints, buffer descriptors,
13.165 + * internal state-machine, and variables.
13.166 + * It should be called after the USB host has sent out a
13.167 + * SET_CONFIGURATION request.
13.168 + * See USBStdSetCfgHandler() in usb9.c for examples.
13.169 + *
13.170 + * Note: None
13.171 + *****************************************************************************/
13.172 +void CDCInitEP(void)
13.173 +{
13.174 + //Abstract line coding information
13.175 + line_coding.dwDTERate._dword = 115200; // baud rate
13.176 + line_coding.bCharFormat = 0x00; // 1 stop bit
13.177 + line_coding.bParityType = 0x00; // None
13.178 + line_coding.bDataBits = 0x08; // 5,6,7,8, or 16
13.179 +
13.180 + cdc_trf_state = CDC_TX_READY;
13.181 + cdc_rx_len = 0;
13.182 +
13.183 + CDC_COMM_UEP = EP_IN|HSHK_EN; // Enable 1 Comm pipe
13.184 + CDC_DATA_UEP = EP_OUT_IN|HSHK_EN; // Enable 2 data pipes
13.185 +
13.186 + /*
13.187 + * Do not have to init Cnt of IN pipes here.
13.188 + * Reason: Number of bytes to send to the host
13.189 + * varies from one transaction to
13.190 + * another. Cnt should equal the exact
13.191 + * number of bytes to transmit for
13.192 + * a given IN transaction.
13.193 + * This number of bytes will only
13.194 + * be known right before the data is
13.195 + * sent.
13.196 + */
13.197 + CDC_INT_BD_IN.ADR = (byte*)&cdc_notice; // Set buffer address
13.198 + CDC_INT_BD_IN.Stat._byte = _UCPU|_DAT1; // Set status
13.199 +
13.200 + CDC_BULK_BD_OUT.Cnt = sizeof(cdc_data_rx); // Set buffer size
13.201 + CDC_BULK_BD_OUT.ADR = (byte*)&cdc_data_rx; // Set buffer address
13.202 + CDC_BULK_BD_OUT.Stat._byte = _USIE|_DAT0|_DTSEN;// Set status
13.203 +
13.204 + CDC_BULK_BD_IN.ADR = (byte*)&cdc_data_tx; // Set buffer size
13.205 + CDC_BULK_BD_IN.Stat._byte = _UCPU|_DAT1; // Set buffer address
13.206 +
13.207 +}//end CDCInitEP
13.208 +
13.209 +/******************************************************************************
13.210 + * Function: byte getsUSBUSART(char *buffer,
13.211 + * byte len)
13.212 + *
13.213 + * PreCondition: Value of input argument 'len' should be smaller than the
13.214 + * maximum endpoint size responsible for receiving bulk
13.215 + * data from USB host for CDC class.
13.216 + * Input argument 'buffer' should point to a buffer area that
13.217 + * is bigger or equal to the size specified by 'len'.
13.218 + *
13.219 + * Input: buffer : Pointer to where received bytes are to be stored
13.220 + * len : The number of bytes expected.
13.221 + *
13.222 + * Output: The number of bytes copied to buffer.
13.223 + *
13.224 + * Side Effects: Publicly accessible variable cdc_rx_len is updated with
13.225 + * the number of bytes copied to buffer.
13.226 + * Once getsUSBUSART is called, subsequent retrieval of
13.227 + * cdc_rx_len can be done by calling macro mCDCGetRxLength().
13.228 + *
13.229 + * Overview: getsUSBUSART copies a string of bytes received through
13.230 + * USB CDC Bulk OUT endpoint to a user's specified location.
13.231 + * It is a non-blocking function. It does not wait
13.232 + * for data if there is no data available. Instead it returns
13.233 + * '0' to notify the caller that there is no data available.
13.234 + *
13.235 + * Note: If the actual number of bytes received is larger than the
13.236 + * number of bytes expected (len), only the expected number
13.237 + * of bytes specified will be copied to buffer.
13.238 + * If the actual number of bytes received is smaller than the
13.239 + * number of bytes expected (len), only the actual number
13.240 + * of bytes received will be copied to buffer.
13.241 + *****************************************************************************/
13.242 +byte getsUSBUSART(char *buffer, byte len)
13.243 +{
13.244 + cdc_rx_len = 0;
13.245 +
13.246 + if(!mCDCUsartRxIsBusy())
13.247 + {
13.248 + /*
13.249 + * Adjust the expected number of bytes to equal
13.250 + * the actual number of bytes received.
13.251 + */
13.252 + if(len > CDC_BULK_BD_OUT.Cnt)
13.253 + len = CDC_BULK_BD_OUT.Cnt;
13.254 +
13.255 + /*
13.256 + * Copy data from dual-ram buffer to user's buffer
13.257 + */
13.258 + for(cdc_rx_len = 0; cdc_rx_len < len; cdc_rx_len++)
13.259 + buffer[cdc_rx_len] = cdc_data_rx[cdc_rx_len];
13.260 +
13.261 + /*
13.262 + * Prepare dual-ram buffer for next OUT transaction
13.263 + */
13.264 + CDC_BULK_BD_OUT.Cnt = sizeof(cdc_data_rx);
13.265 + mUSBBufferReady(CDC_BULK_BD_OUT);
13.266 + }//end if
13.267 +
13.268 + return cdc_rx_len;
13.269 +
13.270 +}//end getsUSBUSART
13.271 +
13.272 +/******************************************************************************
13.273 + * Function: void putsUSBUSART(char *data)
13.274 + *
13.275 + * PreCondition: cdc_trf_state must be in the CDC_TX_READY state.
13.276 + *
13.277 + * The string of characters pointed to by 'data' must equal
13.278 + * to or smaller than 255 bytes.
13.279 + *
13.280 + * Input: data : Pointer to a null-terminated string of data.
13.281 + * If a null character is not found, 255 bytes
13.282 + * of data will be transferred to the host.
13.283 + *
13.284 + * Output: None
13.285 + *
13.286 + * Side Effects: None
13.287 + *
13.288 + * Overview: putsUSBUSART writes a string of data to the USB including
13.289 + * the null character. Use this version, 'puts', to transfer
13.290 + * data located in data memory.
13.291 + *
13.292 + * Note: The transfer mechanism for device-to-host(put) is more
13.293 + * flexible than host-to-device(get). It can handle
13.294 + * a string of data larger than the maximum size of bulk IN
13.295 + * endpoint. A state machine is used to transfer a long
13.296 + * string of data over multiple USB transactions.
13.297 + * See CDCTxService() for more details.
13.298 + *****************************************************************************/
13.299 +void putsUSBUSART(char *data)
13.300 +{
13.301 + byte len;
13.302 +
13.303 + /*
13.304 + * User should have checked that cdc_trf_state is in CDC_TX_READY state
13.305 + * before calling this function.
13.306 + * As a safety precaution, this fuction checks the state one more time
13.307 + * to make sure it does not override any pending transactions.
13.308 + *
13.309 + * Currently it just quits the routine without reporting any errors back
13.310 + * to the user.
13.311 + *
13.312 + * Bottomline: User MUST make sure that mUSBUSARTIsTxTrfReady()==1
13.313 + * before calling this function!
13.314 + * Example:
13.315 + * if(mUSBUSARTIsTxTrfReady())
13.316 + * putsUSBUSART(pData);
13.317 + *
13.318 + * IMPORTANT: Never use the following blocking while loop to wait:
13.319 + * while(!mUSBUSARTIsTxTrfReady())
13.320 + * putsUSBUSART(pData);
13.321 + *
13.322 + * The whole firmware framework is written based on cooperative
13.323 + * multi-tasking and a blocking code is not acceptable.
13.324 + * Use a state machine instead.
13.325 + */
13.326 + if(cdc_trf_state != CDC_TX_READY) return;
13.327 +
13.328 + /*
13.329 + * While loop counts the number of bytes to send including the
13.330 + * null character.
13.331 + */
13.332 + len = 0;
13.333 + do
13.334 + {
13.335 + len++;
13.336 + if(len == 255) break; // Break loop once max len is reached.
13.337 + }while(*data++);
13.338 +
13.339 + /*
13.340 + * Re-adjust pointer to its initial location
13.341 + */
13.342 + data-=len;
13.343 +
13.344 + /*
13.345 + * Second piece of information (length of data to send) is ready.
13.346 + * Call mUSBUSARTTxRam to setup the transfer.
13.347 + * The actual transfer process will be handled by CDCTxService(),
13.348 + * which should be called once per Main Program loop.
13.349 + */
13.350 + mUSBUSARTTxRam((byte*)data,len); // See cdc.h
13.351 +}//end putsUSBUSART
13.352 +
13.353 +/******************************************************************************
13.354 + * Function: void putrsUSBUSART(const rom char *data)
13.355 + *
13.356 + * PreCondition: cdc_trf_state must be in the CDC_TX_READY state.
13.357 + *
13.358 + * The string of characters pointed to by 'data' must equal
13.359 + * to or smaller than 255 bytes.
13.360 + *
13.361 + * Input: data : Pointer to a null-terminated string of data.
13.362 + * If a null character is not found, 255 bytes
13.363 + * of data will be transferred to the host.
13.364 + *
13.365 + * Output: None
13.366 + *
13.367 + * Side Effects: None
13.368 + *
13.369 + * Overview: putrsUSBUSART writes a string of data to the USB including
13.370 + * the null character. Use this version, 'putrs', to transfer
13.371 + * data literals and data located in program memory.
13.372 + *
13.373 + * Note: The transfer mechanism for device-to-host(put) is more
13.374 + * flexible than host-to-device(get). It can handle
13.375 + * a string of data larger than the maximum size of bulk IN
13.376 + * endpoint. A state machine is used to transfer a long
13.377 + * string of data over multiple USB transactions.
13.378 + * See CDCTxService() for more details.
13.379 + *****************************************************************************/
13.380 +void putrsUSBUSART(const rom char *data)
13.381 +{
13.382 + byte len;
13.383 +
13.384 + /*
13.385 + * User should have checked that cdc_trf_state is in CDC_TX_READY state
13.386 + * before calling this function.
13.387 + * As a safety precaution, this fuction checks the state one more time
13.388 + * to make sure it does not override any pending transactions.
13.389 + *
13.390 + * Currently it just quits the routine without reporting any errors back
13.391 + * to the user.
13.392 + *
13.393 + * Bottomline: User MUST make sure that mUSBUSARTIsTxTrfReady()
13.394 + * before calling this function!
13.395 + * Example:
13.396 + * if(mUSBUSARTIsTxTrfReady())
13.397 + * putsUSBUSART(pData);
13.398 + *
13.399 + * IMPORTANT: Never use the following blocking while loop to wait:
13.400 + * while(cdc_trf_state != CDC_TX_READY)
13.401 + * putsUSBUSART(pData);
13.402 + *
13.403 + * The whole firmware framework is written based on cooperative
13.404 + * multi-tasking and a blocking code is not acceptable.
13.405 + * Use a state machine instead.
13.406 + */
13.407 + if(cdc_trf_state != CDC_TX_READY) return;
13.408 +
13.409 + /*
13.410 + * While loop counts the number of bytes to send including the
13.411 + * null character.
13.412 + */
13.413 + len = 0;
13.414 + do
13.415 + {
13.416 + len++;
13.417 + if(len == 255) break; // Break loop once max len is reached.
13.418 + }while(*data++);
13.419 +
13.420 + /*
13.421 + * Re-adjust pointer to its initial location
13.422 + */
13.423 + data-=len;
13.424 +
13.425 + /*
13.426 + * Second piece of information (length of data to send) is ready.
13.427 + * Call mUSBUSARTTxRom to setup the transfer.
13.428 + * The actual transfer process will be handled by CDCTxService(),
13.429 + * which should be called once per Main Program loop.
13.430 + */
13.431 + mUSBUSARTTxRom((rom byte*)data,len); // See cdc.h
13.432 +
13.433 +}//end putrsUSBUSART
13.434 +
13.435 +/******************************************************************************
13.436 + * Function: void CDCTxService(void)
13.437 + *
13.438 + * PreCondition: None
13.439 + *
13.440 + * Input: None
13.441 + *
13.442 + * Output: None
13.443 + *
13.444 + * Side Effects: None
13.445 + *
13.446 + * Overview: CDCTxService handles device-to-host transaction(s).
13.447 + * This function should be called once per Main Program loop.
13.448 + *
13.449 + * Note: None
13.450 + *****************************************************************************/
13.451 +void CDCTxService(void)
13.452 +{
13.453 + byte byte_to_send;
13.454 +
13.455 + if(mCDCUsartTxIsBusy()) return;
13.456 + /*
13.457 + * Completing stage is necessary while [ mCDCUSartTxIsBusy()==1 ].
13.458 + * By having this stage, user can always check cdc_trf_state,
13.459 + * and not having to call mCDCUsartTxIsBusy() directly.
13.460 + */
13.461 + if(cdc_trf_state == CDC_TX_COMPLETING)
13.462 + cdc_trf_state = CDC_TX_READY;
13.463 +
13.464 + /*
13.465 + * If CDC_TX_READY state, nothing to do, just return.
13.466 + */
13.467 + if(cdc_trf_state == CDC_TX_READY) return;
13.468 +
13.469 + /*
13.470 + * If CDC_TX_BUSY_ZLP state, send zero length packet
13.471 + */
13.472 + if(cdc_trf_state == CDC_TX_BUSY_ZLP)
13.473 + {
13.474 + CDC_BULK_BD_IN.Cnt = 0;
13.475 + cdc_trf_state = CDC_TX_COMPLETING;
13.476 + }
13.477 + else if(cdc_trf_state == CDC_TX_BUSY)
13.478 + {
13.479 + /*
13.480 + * First, have to figure out how many byte of data to send.
13.481 + */
13.482 + if(cdc_tx_len > sizeof(cdc_data_tx))
13.483 + byte_to_send = sizeof(cdc_data_tx);
13.484 + else
13.485 + byte_to_send = cdc_tx_len;
13.486 +
13.487 + /*
13.488 + * Next, load the number of bytes to send to Cnt in buffer descriptor
13.489 + */
13.490 + CDC_BULK_BD_IN.Cnt = byte_to_send;
13.491 +
13.492 + /*
13.493 + * Subtract the number of bytes just about to be sent from the total.
13.494 + */
13.495 + cdc_tx_len = cdc_tx_len - byte_to_send;
13.496 +
13.497 + pCDCDst.bRam = (byte*)&cdc_data_tx; // Set destination pointer
13.498 +
13.499 + if(cdc_mem_type == _ROM) // Determine type of memory source
13.500 + {
13.501 + while(byte_to_send)
13.502 + {
13.503 + *pCDCDst.bRam = *pCDCSrc.bRom;
13.504 + pCDCDst.bRam++;
13.505 + pCDCSrc.bRom++;
13.506 + byte_to_send--;
13.507 + }//end while(byte_to_send)
13.508 + }
13.509 + else // _RAM
13.510 + {
13.511 + while(byte_to_send)
13.512 + {
13.513 + *pCDCDst.bRam = *pCDCSrc.bRam;
13.514 + pCDCDst.bRam++;
13.515 + pCDCSrc.bRam++;
13.516 + byte_to_send--;
13.517 + }//end while(byte_to_send._word)
13.518 + }//end if(cdc_mem_type...)
13.519 +
13.520 + /*
13.521 + * Lastly, determine if a zero length packet state is necessary.
13.522 + * See explanation in USB Specification 2.0: Section 5.8.3
13.523 + */
13.524 + if(cdc_tx_len == 0)
13.525 + {
13.526 + if(CDC_BULK_BD_IN.Cnt == sizeof(cdc_data_tx))
13.527 + cdc_trf_state = CDC_TX_BUSY_ZLP;
13.528 + else
13.529 + cdc_trf_state = CDC_TX_COMPLETING;
13.530 + }//end if(cdc_tx_len...)
13.531 +
13.532 + }//end if(cdc_tx_sate == CDC_TX_BUSY)
13.533 +
13.534 + /*
13.535 + * Both CDC_TX_BUSY and CDC_TX_BUSY_ZLP states use the following macro
13.536 + */
13.537 + mUSBBufferReady(CDC_BULK_BD_IN);
13.538 +
13.539 +}//end CDCTxService
13.540 +
13.541 +#endif //USB_USE_CDC
13.542 +
13.543 +/** EOF cdc.c ****************************************************************/
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/firmware/cdc.h Tue Jan 29 22:31:52 2008 +0100
14.3 @@ -0,0 +1,345 @@
14.4 +/*********************************************************************
14.5 + *
14.6 + * Microchip USB C18 Firmware - CDC Version 1.0
14.7 + *
14.8 + *********************************************************************
14.9 + * FileName: cdc.h
14.10 + * Dependencies: See INCLUDES section below
14.11 + * Processor: PIC18
14.12 + * Compiler: C18 2.30.01+
14.13 + * Company: Microchip Technology, Inc.
14.14 + *
14.15 + * Software License Agreement
14.16 + *
14.17 + * The software supplied herewith by Microchip Technology Incorporated
14.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
14.19 + * supplied to you, the Company’s customer, for use solely and
14.20 + * exclusively on Microchip PICmicro Microcontroller products. The
14.21 + * software is owned by the Company and/or its supplier, and is
14.22 + * protected under applicable copyright laws. All rights are reserved.
14.23 + * Any use in violation of the foregoing restrictions may subject the
14.24 + * user to criminal sanctions under applicable laws, as well as to
14.25 + * civil liability for the breach of the terms and conditions of this
14.26 + * license.
14.27 + *
14.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
14.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
14.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
14.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
14.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
14.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
14.34 + *
14.35 + * Author Date Comment
14.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14.37 + * Rawin Rojvanit 7/21/04 Original.
14.38 + ********************************************************************/
14.39 +#ifndef CDC_H
14.40 +#define CDC_H
14.41 +
14.42 +/** I N C L U D E S **********************************************************/
14.43 +#include "typedefs.h"
14.44 +
14.45 +/** D E F I N I T I O N S ****************************************************/
14.46 +
14.47 +/* Class-Specific Requests */
14.48 +#define SEND_ENCAPSULATED_COMMAND 0x00
14.49 +#define GET_ENCAPSULATED_RESPONSE 0x01
14.50 +#define SET_COMM_FEATURE 0x02
14.51 +#define GET_COMM_FEATURE 0x03
14.52 +#define CLEAR_COMM_FEATURE 0x04
14.53 +#define SET_LINE_CODING 0x20
14.54 +#define GET_LINE_CODING 0x21
14.55 +#define SET_CONTROL_LINE_STATE 0x22
14.56 +#define SEND_BREAK 0x23
14.57 +
14.58 +/* Notifications *
14.59 + * Note: Notifications are polled over
14.60 + * Communication Interface (Interrupt Endpoint)
14.61 + */
14.62 +#define NETWORK_CONNECTION 0x00
14.63 +#define RESPONSE_AVAILABLE 0x01
14.64 +#define SERIAL_STATE 0x20
14.65 +
14.66 +
14.67 +/* Device Class Code */
14.68 +#define CDC_DEVICE 0x02
14.69 +
14.70 +/* Communication Interface Class Code */
14.71 +#define COMM_INTF 0x02
14.72 +
14.73 +/* Communication Interface Class SubClass Codes */
14.74 +#define ABSTRACT_CONTROL_MODEL 0x02
14.75 +
14.76 +/* Communication Interface Class Control Protocol Codes */
14.77 +#define V25TER 0x01 // Common AT commands ("Hayes(TM)")
14.78 +
14.79 +
14.80 +/* Data Interface Class Codes */
14.81 +#define DATA_INTF 0x0A
14.82 +
14.83 +/* Data Interface Class Protocol Codes */
14.84 +#define NO_PROTOCOL 0x00 // No class specific protocol required
14.85 +
14.86 +
14.87 +/* Communication Feature Selector Codes */
14.88 +#define ABSTRACT_STATE 0x01
14.89 +#define COUNTRY_SETTING 0x02
14.90 +
14.91 +/* Functional Descriptors */
14.92 +/* Type Values for the bDscType Field */
14.93 +#define CS_INTERFACE 0x24
14.94 +#define CS_ENDPOINT 0x25
14.95 +
14.96 +/* bDscSubType in Functional Descriptors */
14.97 +#define DSC_FN_HEADER 0x00
14.98 +#define DSC_FN_CALL_MGT 0x01
14.99 +#define DSC_FN_ACM 0x02 // ACM - Abstract Control Management
14.100 +#define DSC_FN_DLM 0x03 // DLM - Direct Line Managment
14.101 +#define DSC_FN_TELEPHONE_RINGER 0x04
14.102 +#define DSC_FN_RPT_CAPABILITIES 0x05
14.103 +#define DSC_FN_UNION 0x06
14.104 +#define DSC_FN_COUNTRY_SELECTION 0x07
14.105 +#define DSC_FN_TEL_OP_MODES 0x08
14.106 +#define DSC_FN_USB_TERMINAL 0x09
14.107 +/* more.... see Table 25 in USB CDC Specification 1.1 */
14.108 +
14.109 +/* CDC Bulk IN transfer states */
14.110 +#define CDC_TX_READY 0
14.111 +#define CDC_TX_BUSY 1
14.112 +#define CDC_TX_BUSY_ZLP 2 // ZLP: Zero Length Packet
14.113 +#define CDC_TX_COMPLETING 3
14.114 +
14.115 +/******************************************************************************
14.116 + * Macro: BOOL mUSBUSARTIsTxTrfReady(void)
14.117 + *
14.118 + * PreCondition: None
14.119 + *
14.120 + * Input: None
14.121 + *
14.122 + * Output: None
14.123 + *
14.124 + * Side Effects: None
14.125 + *
14.126 + * Overview: This macro is used to check if the CDC class is ready
14.127 + * to send more data.
14.128 + * Typical Usage: if(mUSBUSARTIsTxTrfReady())
14.129 + *
14.130 + * Note: None
14.131 + *****************************************************************************/
14.132 +#define mUSBUSARTIsTxTrfReady() (cdc_trf_state == CDC_TX_READY)
14.133 +
14.134 +/******************************************************************************
14.135 + * Macro: (bit) mCDCUsartRxIsBusy(void)
14.136 + *
14.137 + * PreCondition: None
14.138 + *
14.139 + * Input: None
14.140 + *
14.141 + * Output: None
14.142 + *
14.143 + * Side Effects: None
14.144 + *
14.145 + * Overview: This macro is used to check if CDC bulk OUT endpoint is
14.146 + * busy (owned by SIE) or not.
14.147 + * Typical Usage: if(mCDCUsartRxIsBusy())
14.148 + *
14.149 + * Note: None
14.150 + *****************************************************************************/
14.151 +#define mCDCUsartRxIsBusy() CDC_BULK_BD_OUT.Stat.UOWN
14.152 +
14.153 +/******************************************************************************
14.154 + * Macro: (bit) mCDCUsartTxIsBusy(void)
14.155 + *
14.156 + * PreCondition: None
14.157 + *
14.158 + * Input: None
14.159 + *
14.160 + * Output: None
14.161 + *
14.162 + * Side Effects: None
14.163 + *
14.164 + * Overview: This macro is used to check if CDC bulk IN endpoint is
14.165 + * busy (owned by SIE) or not.
14.166 + * Typical Usage: if(mCDCUsartTxIsBusy())
14.167 + *
14.168 + * Note: None
14.169 + *****************************************************************************/
14.170 +#define mCDCUsartTxIsBusy() CDC_BULK_BD_IN.Stat.UOWN
14.171 +
14.172 +/******************************************************************************
14.173 + * Macro: byte mCDCGetRxLength(void)
14.174 + *
14.175 + * PreCondition: None
14.176 + *
14.177 + * Input: None
14.178 + *
14.179 + * Output: mCDCGetRxLength returns cdc_rx_len
14.180 + *
14.181 + * Side Effects: None
14.182 + *
14.183 + * Overview: mCDCGetRxLength is used to retrieve the number of bytes
14.184 + * copied to user's buffer by the most recent call to
14.185 + * getsUSBUSART function.
14.186 + *
14.187 + * Note: None
14.188 + *****************************************************************************/
14.189 +#define mCDCGetRxLength() cdc_rx_len
14.190 +
14.191 +/******************************************************************************
14.192 + * Macro: void mUSBUSARTTxRam(byte *pData, byte len)
14.193 + *
14.194 + * PreCondition: cdc_trf_state must be in the CDC_TX_READY state.
14.195 + *
14.196 + * Value of 'len' must be equal to or smaller than 255 bytes.
14.197 + *
14.198 + * Input: pDdata : Pointer to the starting location of data bytes
14.199 + * len : Number of bytes to be transferred
14.200 + *
14.201 + * Output: None
14.202 + *
14.203 + * Side Effects: None
14.204 + *
14.205 + * Overview: Use this macro to transfer data located in data memory.
14.206 + * Use this macro when:
14.207 + * 1. Data stream is not null-terminated
14.208 + * 2. Transfer length is known
14.209 + *
14.210 + * Remember: cdc_trf_state must == CDC_TX_READY
14.211 + * Unlike putsUSBUSART, there is not code double checking
14.212 + * the transfer state. Unexpected behavior will occur if
14.213 + * this function is called when cdc_trf_state != CDC_TX_READY
14.214 + *
14.215 + * Note: This macro only handles the setup of the transfer. The
14.216 + * actual transfer is handled by CDCTxService().
14.217 + *****************************************************************************/
14.218 +#define mUSBUSARTTxRam(pData,len) \
14.219 +{ \
14.220 + pCDCSrc.bRam = pData; \
14.221 + cdc_tx_len = len; \
14.222 + cdc_mem_type = _RAM; \
14.223 + cdc_trf_state = CDC_TX_BUSY; \
14.224 +}
14.225 +
14.226 +/******************************************************************************
14.227 + * Macro: void mUSBUSARTTxRom(rom byte *pData, byte len)
14.228 + *
14.229 + * PreCondition: cdc_trf_state must be in the CDC_TX_READY state.
14.230 + *
14.231 + * Value of 'len' must be equal to or smaller than 255 bytes.
14.232 + *
14.233 + * Input: pDdata : Pointer to the starting location of data bytes
14.234 + * len : Number of bytes to be transferred
14.235 + *
14.236 + * Output: None
14.237 + *
14.238 + * Side Effects: None
14.239 + *
14.240 + * Overview: Use this macro to transfer data located in program memory.
14.241 + * Use this macro when:
14.242 + * 1. Data stream is not null-terminated
14.243 + * 2. Transfer length is known
14.244 + *
14.245 + * Remember: cdc_trf_state must == CDC_TX_READY
14.246 + * Unlike putrsUSBUSART, there is not code double checking
14.247 + * the transfer state. Unexpected behavior will occur if
14.248 + * this function is called when cdc_trf_state != CDC_TX_READY
14.249 + *
14.250 + * Note: This macro only handles the setup of the transfer. The
14.251 + * actual transfer is handled by CDCTxService().
14.252 + *****************************************************************************/
14.253 +#define mUSBUSARTTxRom(pData,len) \
14.254 +{ \
14.255 + pCDCSrc.bRom = pData; \
14.256 + cdc_tx_len = len; \
14.257 + cdc_mem_type = _ROM; \
14.258 + cdc_trf_state = CDC_TX_BUSY; \
14.259 +}
14.260 +
14.261 +/** S T R U C T U R E S ******************************************************/
14.262 +
14.263 +/* Line Coding Structure */
14.264 +#define LINE_CODING_LENGTH 0x07
14.265 +
14.266 +typedef union _LINE_CODING
14.267 +{
14.268 + struct
14.269 + {
14.270 + byte _byte[LINE_CODING_LENGTH];
14.271 + };
14.272 + struct
14.273 + {
14.274 + DWORD dwDTERate; // Complex data structure
14.275 + byte bCharFormat;
14.276 + byte bParityType;
14.277 + byte bDataBits;
14.278 + };
14.279 +} LINE_CODING;
14.280 +
14.281 +typedef union _CONTROL_SIGNAL_BITMAP
14.282 +{
14.283 + byte _byte;
14.284 + struct
14.285 + {
14.286 + unsigned DTE_PRESENT; // [0] Not Present [1] Present
14.287 + unsigned CARRIER_CONTROL; // [0] Deactivate [1] Activate
14.288 + };
14.289 +} CONTROL_SIGNAL_BITMAP;
14.290 +
14.291 +
14.292 +/* Functional Descriptor Structure - See CDC Specification 1.1 for details */
14.293 +
14.294 +/* Header Functional Descriptor */
14.295 +typedef struct _USB_CDC_HEADER_FN_DSC
14.296 +{
14.297 + byte bFNLength;
14.298 + byte bDscType;
14.299 + byte bDscSubType;
14.300 + word bcdCDC;
14.301 +} USB_CDC_HEADER_FN_DSC;
14.302 +
14.303 +/* Abstract Control Management Functional Descriptor */
14.304 +typedef struct _USB_CDC_ACM_FN_DSC
14.305 +{
14.306 + byte bFNLength;
14.307 + byte bDscType;
14.308 + byte bDscSubType;
14.309 + byte bmCapabilities;
14.310 +} USB_CDC_ACM_FN_DSC;
14.311 +
14.312 +/* Union Functional Descriptor */
14.313 +typedef struct _USB_CDC_UNION_FN_DSC
14.314 +{
14.315 + byte bFNLength;
14.316 + byte bDscType;
14.317 + byte bDscSubType;
14.318 + byte bMasterIntf;
14.319 + byte bSaveIntf0;
14.320 +} USB_CDC_UNION_FN_DSC;
14.321 +
14.322 +/* Call Management Functional Descriptor */
14.323 +typedef struct _USB_CDC_CALL_MGT_FN_DSC
14.324 +{
14.325 + byte bFNLength;
14.326 + byte bDscType;
14.327 + byte bDscSubType;
14.328 + byte bmCapabilities;
14.329 + byte bDataInterface;
14.330 +} USB_CDC_CALL_MGT_FN_DSC;
14.331 +
14.332 +/** E X T E R N S ************************************************************/
14.333 +extern byte cdc_rx_len;
14.334 +
14.335 +extern byte cdc_trf_state;
14.336 +extern POINTER pCDCSrc;
14.337 +extern byte cdc_tx_len;
14.338 +extern byte cdc_mem_type;
14.339 +
14.340 +/** P U B L I C P R O T O T Y P E S *****************************************/
14.341 +void USBCheckCDCRequest(void);
14.342 +void CDCInitEP(void);
14.343 +byte getsUSBUSART(char *buffer, byte len);
14.344 +void putrsUSBUSART(const rom char *data);
14.345 +void putsUSBUSART(char *data);
14.346 +void CDCTxService(void);
14.347 +
14.348 +#endif //CDC_H
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/firmware/comm.c Tue Jan 29 22:31:52 2008 +0100
15.3 @@ -0,0 +1,248 @@
15.4 +/*
15.5 + * Project Frontplatte
15.6 + *
15.7 + * comm.c - Handle incoming commands
15.8 + *
15.9 + * This file is released under the GNU General Public License. Refer
15.10 + * to the COPYING file distributed with this package.
15.11 + *
15.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
15.13 + */
15.14 +
15.15 +
15.16 +/** I N C L U D E S **********************************************************/
15.17 +#include <p18cxxx.h>
15.18 +#include <pwm.h>
15.19 +#include "typedefs.h"
15.20 +#include "usb.h"
15.21 +#include "cdc.h"
15.22 +#include "io_cfg.h"
15.23 +#include "comm.h"
15.24 +#include "user.h"
15.25 +
15.26 +#include "delay.h"
15.27 +#include "t6963.h"
15.28 +#include "myi2c.h"
15.29 +#include "rc5.h"
15.30 +
15.31 +
15.32 +/** P R I V A T E P R O T O T Y P E S ***************************************/
15.33 +void comm_send_data(unsigned char *data, unsigned char numbytes);
15.34 +void comm_send_ack(void);
15.35 +void comm_send_nack(void);
15.36 +void comm_send_nimp(void);
15.37 +
15.38 +
15.39 +
15.40 +/** C O D E ********************************************************/
15.41 +void ProcessInput(void)
15.42 +{
15.43 + unsigned char len; // command length
15.44 + unsigned char input[64]; // input buffer
15.45 + unsigned char i; // default counter
15.46 +
15.47 +
15.48 +/* C H E C K I N P U T */
15.49 + //do we have some data ?
15.50 + len=getsUSBUSART((char*)&(input[0]), 64);
15.51 +
15.52 + if (len < CMD_HD_LENGTH) return;
15.53 +
15.54 + //check if input is valid
15.55 + if (input[CMD_HD_SYNC] == CMD_SYNC_SEND)
15.56 +
15.57 + if ((input[CMD_HD_LENGTH+1] == (len-4)) && (input[CMD_HD_LENGTH] == 0) )// TODO!!
15.58 + {
15.59 + // looks like we recieved a valid command...
15.60 + switch(input[CMD_HD_COMMAND])
15.61 + {
15.62 +/* S Y S T E M C O M M A N D S */
15.63 + case CMD_GET_VERSION:
15.64 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.65 + input[0] = FW_VERSION;
15.66 + comm_send_data(input, 0x01);
15.67 + break;
15.68 +
15.69 + case CMD_BOOT:
15.70 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.71 + comm_send_ack();
15.72 + // stolen from microchip forum
15.73 + INTCONbits.GIE = 0; // shut down global interrupts
15.74 + USBSoftDetach();
15.75 + Delay15ms();
15.76 + _asm goto BOOTLOAD_START _endasm;
15.77 + break;
15.78 +
15.79 +/* D I S P L A Y C O M M A N D S */
15.80 + case CMD_DISP_CLEAR_SCREEN:
15.81 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.82 + lcd_ClearScreen();
15.83 + // now send ack
15.84 + comm_send_ack();
15.85 + break;
15.86 +
15.87 + case CMD_DISP_SET_ROW_DATA:
15.88 + if (input[CMD_HD_LENGTH+1] < 3) { comm_send_nack(); break;}
15.89 + // goto desired address
15.90 + lcd_WriteData(input[CMD_DATA_START]); // lower byte
15.91 + lcd_WriteData(input[CMD_DATA_START+1]); // upper byte
15.92 + lcd_WriteCommand(0x24);
15.93 +
15.94 + // now write data
15.95 + //lcd_SetAutomode(MODE_AUTO);
15.96 + for(i = (CMD_DATA_START+2); i<=(len-1); i++)
15.97 + {
15.98 + //lcd_WriteData(input[i]);
15.99 + lcd_WriteByte(input[i]);
15.100 + }
15.101 + //lcd_SetAutomode(MODE_NOAUTO);
15.102 + comm_send_ack(); // now send ack
15.103 + break;
15.104 +
15.105 + case CMD_DISP_SET_ADDRESS:
15.106 + if (input[CMD_HD_LENGTH+1] != 2) { comm_send_nack(); break;}
15.107 + // goto desired position
15.108 + lcd_WriteData(input[CMD_DATA_START]); // lower byte
15.109 + lcd_WriteData(input[CMD_DATA_START+1]); // upper byte
15.110 + lcd_WriteCommand(0x24);
15.111 + // now send ack
15.112 + comm_send_ack();
15.113 + break;
15.114 +
15.115 +/* C L O C K C O M M A N D S */
15.116 + case CMD_READ_CLOCK:
15.117 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.118 + LDPageReadI2C(pcf8583, 0x00, input, 0x10);
15.119 + comm_send_data(input, 0x10);
15.120 + break;
15.121 +
15.122 + case CMD_WRITE_CLOCK:
15.123 + if (input[CMD_HD_LENGTH+1] != 0x10) { comm_send_nack(); break;}
15.124 + LDPageWriteI2C(pcf8583, 0x00, &input[CMD_DATA_START], 0x10);
15.125 + comm_send_ack();;
15.126 + break;
15.127 +
15.128 +/* P W M C O M M A N D S */
15.129 + case CMD_SET_PWM1:
15.130 + if (input[CMD_HD_LENGTH+1] != 1) { comm_send_nack(); break;}
15.131 + SetDCPWM1((int)input[CMD_DATA_START] << 2);
15.132 + comm_send_ack();
15.133 + break;
15.134 +
15.135 + case CMD_SET_PWM2:
15.136 + if (input[CMD_HD_LENGTH+1] != 1) { comm_send_nack(); break;}
15.137 + SetDCPWM2((int)input[CMD_DATA_START] << 2);
15.138 + comm_send_ack();
15.139 + break;
15.140 +
15.141 +/* M O D E C O M M A N D S */
15.142 + case CMD_SET_MODE_MANAGED:
15.143 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.144 + gg_mode = MODE_MANAGED;
15.145 + comm_send_ack();
15.146 + break;
15.147 +
15.148 + case CMD_SET_MODE_UNMANAGED:
15.149 + if (input[CMD_HD_LENGTH+1] != 0) { comm_send_nack(); break;}
15.150 + gg_mode = MODE_UNMANAGED;
15.151 + comm_send_ack();
15.152 + break;
15.153 +
15.154 +
15.155 + default:
15.156 + // not implemented...
15.157 + comm_send_nimp();
15.158 + break;
15.159 + }
15.160 + }
15.161 + else
15.162 + {
15.163 + // input data is somehow invalid
15.164 + comm_send_nack();
15.165 + }
15.166 +
15.167 +
15.168 +}//end ProcessInput
15.169 +
15.170 +
15.171 +
15.172 +
15.173 +
15.174 +
15.175 +
15.176 +
15.177 +
15.178 +/* S E N D D A T A & R E T U R N C O D E S */
15.179 +void comm_send_data(unsigned char *data, unsigned char numbytes)
15.180 +{
15.181 + // send a data packet
15.182 + unsigned char cmd[64];
15.183 + unsigned char i;
15.184 + cmd[CMD_HD_SYNC] = CMD_SYNC_RECV;
15.185 + cmd[CMD_HD_COMMAND] = CMD_SYS_ACK;
15.186 + cmd[CMD_HD_LENGTH] = 0;
15.187 + cmd[CMD_HD_LENGTH+1] = numbytes;
15.188 +
15.189 + for (i=0; i<numbytes; i++) {
15.190 + cmd[CMD_DATA_START + i] = data[i];
15.191 + }
15.192 +
15.193 + if mUSBUSARTIsTxTrfReady()
15.194 + mUSBUSARTTxRam((byte*)&cmd[0],(4+numbytes));
15.195 +}
15.196 +
15.197 +
15.198 +void comm_send_ir(unsigned char address, unsigned char command)
15.199 +{
15.200 + // send a data packet
15.201 + unsigned char ir_cmd[7];
15.202 + ir_cmd[CMD_HD_SYNC] = CMD_SYNC_RECV;
15.203 + ir_cmd[CMD_HD_COMMAND] = CMD_SYS_IR;
15.204 + ir_cmd[CMD_HD_LENGTH] = 0x00;
15.205 + ir_cmd[CMD_HD_LENGTH+1] = 0x02;
15.206 + ir_cmd[CMD_DATA_START] = address;
15.207 + ir_cmd[CMD_DATA_START+1] = command;
15.208 +
15.209 + if mUSBUSARTIsTxTrfReady()
15.210 + mUSBUSARTTxRam((byte*)&ir_cmd[0],6);
15.211 +}
15.212 +
15.213 +
15.214 +void comm_send_ack(void)
15.215 +{
15.216 + // send a ack-packet
15.217 + unsigned char cmd[5];
15.218 + cmd[CMD_HD_SYNC] = CMD_SYNC_RECV;
15.219 + cmd[CMD_HD_COMMAND] = CMD_SYS_ACK;
15.220 + cmd[CMD_HD_LENGTH] = 0;
15.221 + cmd[CMD_HD_LENGTH+1] = 0;
15.222 +
15.223 + if mUSBUSARTIsTxTrfReady()
15.224 + mUSBUSARTTxRam((byte*)&cmd[0],4);
15.225 +}
15.226 +
15.227 +void comm_send_nack(void)
15.228 +{
15.229 + // send a NOTack-packet
15.230 + unsigned char cmd[5];
15.231 + cmd[CMD_HD_SYNC] = CMD_SYNC_RECV;
15.232 + cmd[CMD_HD_COMMAND] = CMD_SYS_NACK;
15.233 + cmd[CMD_HD_LENGTH] = 0;
15.234 + cmd[CMD_HD_LENGTH+1] = 0;
15.235 +
15.236 + while (!mUSBUSARTIsTxTrfReady()) Nop();
15.237 + mUSBUSARTTxRam((byte*)&cmd[0],4);
15.238 +}
15.239 +
15.240 +void comm_send_nimp(void)
15.241 +{
15.242 + // send a NOTimplementet-packet
15.243 + unsigned char cmd[3];
15.244 + cmd[CMD_HD_SYNC] = CMD_SYNC_RECV;
15.245 + cmd[CMD_HD_COMMAND] = CMD_SYS_NIMP;
15.246 + cmd[CMD_HD_LENGTH] = 0;
15.247 + cmd[CMD_HD_LENGTH+1] = 0;
15.248 +
15.249 + if mUSBUSARTIsTxTrfReady()
15.250 + mUSBUSARTTxRam((byte*)&cmd[0],4);
15.251 +}
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/firmware/comm.h Tue Jan 29 22:31:52 2008 +0100
16.3 @@ -0,0 +1,21 @@
16.4 +/*
16.5 + * Project Frontplatte
16.6 + *
16.7 + * comm.h - Handle incoming commands
16.8 + *
16.9 + * This file is released under the GNU General Public License. Refer
16.10 + * to the COPYING file distributed with this package.
16.11 + *
16.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
16.13 + */
16.14 +
16.15 +#ifndef __COMM_H
16.16 +#define __COMM_H
16.17 +
16.18 +
16.19 +/** P U B L I C P R O T O T Y P E S *****************************************/
16.20 +void comm_send_ir(unsigned char address, unsigned char command);
16.21 +void ProcessInput(void);
16.22 +
16.23 +
16.24 +#endif //COMM_H
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/firmware/config.asm Tue Jan 29 22:31:52 2008 +0100
17.3 @@ -0,0 +1,68 @@
17.4 +;******************************************************************************
17.5 +; Files required: P18F2550.INC *
17.6 +;******************************************************************************
17.7 +
17.8 + LIST P=18F2550 ;directive to define processor and file format
17.9 + #include <P18F2550.INC> ;processor specific variable definitions
17.10 +
17.11 +
17.12 +;define YOUR Device ID here !
17.13 + __IDLOCS _IDLOC0, 0
17.14 + __IDLOCS _IDLOC1, 1
17.15 + __IDLOCS _IDLOC2, 2
17.16 + __IDLOCS _IDLOC3, 3
17.17 + __IDLOCS _IDLOC4, 4
17.18 + __IDLOCS _IDLOC5, 5
17.19 + __IDLOCS _IDLOC6, 6
17.20 + __IDLOCS _IDLOC7, 7
17.21 +
17.22 +;******************************************************************************
17.23 +;Configuration bits
17.24 +; The __CONFIG directive defines configuration data within the .ASM file.
17.25 +; The labels following the directive are defined in the P18F2550.INC file.
17.26 +; The PIC18F Data Sheet explains the functions of the configuration bits.
17.27 +; Change the following lines to suit your application.
17.28 +
17.29 +;this does not work for me :(
17.30 +; __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_1_1L & _USBDIV_2_1L
17.31 +; __CONFIG _CONFIG1H, _IESO_OFF_1H & _FCMEM_OFF_1H & _FOSC_HSPLL_HS_1H
17.32 +; __CONFIG _CONFIG2L, _BOR_ON_2L & _PWRT_ON_2L & _BORV_45_2L & _VREGEN_ON_2L
17.33 +; __CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_128_2H
17.34 +; __CONFIG _CONFIG3H, _MCLRE_ON_3H & _PBADEN_OFF_3H
17.35 +; __CONFIG _CONFIG4L, _DEBUG_OFF_4L & _LVP_OFF_4L & _STVREN_ON_4L & _ICPRT_OFF_4L
17.36 +; __CONFIG _CONFIG5L, _CP0_ON_5L & _CP1_ON_5L & _CP2_ON_5L & _CP3_ON_5L
17.37 +; __CONFIG _CONFIG5H, _CPB_OFF_5H & _CPD_OFF_5H
17.38 +; __CONFIG _CONFIG6L, _WRT0_OFF_6L & _WRT1_OFF_6L & _WRT2_OFF_6L & _WRT3_OFF_6L
17.39 +; __CONFIG _CONFIG6H, _WRTC_OFF_6H & _WRTB_OFF_6H & _WRTD_OFF_6H
17.40 +; __CONFIG _CONFIG7L, _EBTR0_OFF_7L & _EBTR1_OFF_7L & _EBTR2_OFF_7L & _EBTR3_OFF_7L
17.41 +; __CONFIG _CONFIG7H, _EBTRB_OFF_7H
17.42 +
17.43 +;Values taken from original picdemfsusb.hex file because my configuration above did not work
17.44 +;
17.45 +;Werte aus der Original picdemfsusb.hex Datei weil meine Konfiguration oben nicht klappte
17.46 +;
17.47 +;:020000040030CA
17.48 +;:0E000000240E3F1E008181000FC00FA00F4094
17.49 +
17.50 + __CONFIG _CONFIG1L, H'24'
17.51 + __CONFIG _CONFIG1H, H'0E'
17.52 + __CONFIG _CONFIG2L, H'3F'
17.53 + __CONFIG _CONFIG2H, H'1E'
17.54 +; __CONFIG _CONFIG3L, H'00' ;Error Message from mpasm
17.55 + __CONFIG _CONFIG3H, H'81'
17.56 + __CONFIG _CONFIG4L, H'81'
17.57 +; __CONFIG _CONFIG4H, H'00' ;Error Message from mpasm
17.58 + __CONFIG _CONFIG5L, H'0F'
17.59 + __CONFIG _CONFIG5H, H'C0'
17.60 + __CONFIG _CONFIG6L, H'0F'
17.61 + __CONFIG _CONFIG6H, H'A0'
17.62 + __CONFIG _CONFIG7L, H'0F'
17.63 + __CONFIG _CONFIG7H, H'40'
17.64 +
17.65 +;!! Configuration Word ans ENDE deiner ASM-Datei setzen !!
17.66 +;Sonst landet es nicht im HEX-File
17.67 +
17.68 +;EEPROM Daten
17.69 +; ORG 0xF00000
17.70 +; DB "Holgi was here",0,1,2,3,4,5,6,7,8,9
17.71 + END
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/firmware/contrib/conv_bmp2_chararray.pl Tue Jan 29 22:31:52 2008 +0100
18.3 @@ -0,0 +1,86 @@
18.4 +#!/usr/bin/perl -w
18.5 +
18.6 +use strict;
18.7 +
18.8 +my $input_file = $ARGV[0] || "text.bmp";
18.9 +
18.10 +###################################################
18.11 +
18.12 +my $buffer = '';
18.13 +
18.14 +open(F, $input_file) or die $!;
18.15 +binmode(F);
18.16 +while(my $temp = <F>){$buffer .= $temp;}
18.17 +close(F);
18.18 +
18.19 +# read header
18.20 +# 0 2 UINT bfType;
18.21 +# 2 4 DWORD bfSize;
18.22 +# 6 2 UINT bfReserved1;
18.23 +# 8 2 UINT bfReserved2;
18.24 +# 10 4 DWORD bfOffBits;
18.25 +
18.26 +my $header = substr($buffer, 0, 14);
18.27 +$buffer = substr($buffer, 14);
18.28 +
18.29 +# read info
18.30 +# 0 4 DWORD biSize;
18.31 +# 4 4 LONG biWidth;
18.32 +# 8 4 LONG biHeight;
18.33 +# 12 2 WORD biPlanes;
18.34 +# 14 2 WORD biBitCount;
18.35 +# 16 4 DWORD biCompression;
18.36 +# 20 4 DWORD biSizeImage;
18.37 +# 24 4 LONG biXPelsPerMeter;
18.38 +# 28 4 LONG biYPelsPerMeter;
18.39 +# 32 4 DWORD biClrUsed;
18.40 +# 36 4 DWORD biClrImportant;
18.41 +
18.42 +my $info = substr($buffer, 0, 40);
18.43 +my $bits = substr($buffer, 40);
18.44 +
18.45 +my ($bitcount) = unpack('v', substr($info, 14, 2));
18.46 +my ($compress) = unpack('i', substr($info, 16, 4));
18.47 +my ($size_x) = unpack('i', substr($info, 4, 4));
18.48 +my ($size_y) = unpack('i', substr($info, 8, 4));
18.49 +
18.50 +unless ($bitcount == 24){
18.51 + die "can only operate on 24 bit bitmaps (this is $bitcount bit)";
18.52 +}
18.53 +unless ($compress == 0){
18.54 + die "can only operate on uncompressed bitmaps";
18.55 +}
18.56 +
18.57 +####################################################
18.58 +
18.59 +
18.60 +my $line_shift = $size_x * 3;
18.61 +$line_shift += ($size_x % 4);
18.62 +
18.63 +
18.64 +print "/*Bitmap-Size: $size_x x $size_y */\n";
18.65 +print "/* | 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || : || (undef) | */\n";
18.66 +
18.67 +my $x;
18.68 +my $y;
18.69 +
18.70 +for ($y=$size_y-1; $y >= 0; $y--) {
18.71 + printf ("/* Row %2d */ \"",($size_y - $y - 1));
18.72 + for ($x=0; $x <=$size_x-1; $x=$x+8){
18.73 + my $_8pix = 0;
18.74 + for my $subx(0..7) {
18.75 + my $offset = (($x+$subx) * 3) + ($y * $line_shift);
18.76 + my $b = ord(substr($bits, $offset+0, 1));
18.77 + my $g = ord(substr($bits, $offset+1, 1));
18.78 + my $r = ord(substr($bits, $offset+2, 1));
18.79 + unless (($r == 255) && ($g == 255) && ($b == 255)){
18.80 + $_8pix += 2 ** (7 - $subx);
18.81 + }
18.82 +
18.83 + }
18.84 + print "\\x";
18.85 + print "0" if ($_8pix < 16);
18.86 + printf ("%x",$_8pix);
18.87 + }
18.88 + print "\"\n";
18.89 +}
19.1 Binary file firmware/contrib/font16_32x48.bmp has changed
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/firmware/delay.c Tue Jan 29 22:31:52 2008 +0100
20.3 @@ -0,0 +1,36 @@
20.4 +#include "delay.h"
20.5 +
20.6 +void Delay15ms( void )
20.7 +{
20.8 + Delay1KTCYx(75); //Delay of 15ms
20.9 + return;
20.10 +}
20.11 +
20.12 +void Delay5ms( void )
20.13 +{
20.14 + Delay1KTCYx(25); //Delay of 5ms
20.15 + return;
20.16 +}
20.17 +
20.18 +void Delay1us( void )
20.19 +{
20.20 + Nop();
20.21 + Nop();
20.22 + Nop();
20.23 + Nop();
20.24 + Nop();
20.25 + Nop(); //Delay of 1us
20.26 + return;
20.27 +}
20.28 +void Delay100us( void )
20.29 +{
20.30 + Delay100TCYx(5); // Delay of 100us
20.31 + return;
20.32 +}
20.33 +
20.34 +void Delay1s( void )
20.35 +{
20.36 + Delay10KTCYx(250);
20.37 + Delay10KTCYx(250); //Delay of 1s
20.38 + return;
20.39 +}
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/firmware/delay.h Tue Jan 29 22:31:52 2008 +0100
21.3 @@ -0,0 +1,17 @@
21.4 +#include <delays.h>
21.5 +
21.6 +
21.7 +#ifndef DELAY_H
21.8 +#define DELAY_H
21.9 +
21.10 +/** P U B L I C P R O T O T Y P E S *****************************************/
21.11 +void Delay15ms( void );
21.12 +void Delay5ms( void );
21.13 +
21.14 +void Delay1us( void );
21.15 +void Delay100us( void );
21.16 +
21.17 +
21.18 +void Delay1s( void );
21.19 +
21.20 +#endif
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/firmware/front_4.1.project.mcp Tue Jan 29 22:31:52 2008 +0100
22.3 @@ -0,0 +1,102 @@
22.4 +[HEADER]
22.5 +magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13}
22.6 +file_version=1.0
22.7 +[PATH_INFO]
22.8 +BuildDirPolicy=BuildDirIsProjectDir
22.9 +dir_src=
22.10 +dir_bin=G:\p_source\18F4550\front_v4.1\_bin
22.11 +dir_tmp=G:\p_source\18F4550\front_v4.1\_tmp
22.12 +dir_sin=
22.13 +dir_inc=G:\p_source\apps\MCC18\h
22.14 +dir_lib=G:\p_source\apps\MCC18\lib
22.15 +dir_lkr=
22.16 +[CAT_FILTERS]
22.17 +filter_src=*.asm;*.c
22.18 +filter_inc=*.h;*.inc
22.19 +filter_obj=*.o
22.20 +filter_lib=*.lib
22.21 +filter_lkr=*.lkr
22.22 +[OTHER_FILES]
22.23 +file_000=no
22.24 +file_001=no
22.25 +file_002=no
22.26 +file_003=no
22.27 +file_004=no
22.28 +file_005=no
22.29 +file_006=no
22.30 +file_007=no
22.31 +file_008=no
22.32 +file_009=no
22.33 +file_010=no
22.34 +file_011=no
22.35 +file_012=no
22.36 +file_013=no
22.37 +file_014=no
22.38 +file_015=no
22.39 +file_016=no
22.40 +file_017=no
22.41 +file_018=no
22.42 +file_019=no
22.43 +file_020=no
22.44 +file_021=no
22.45 +file_022=no
22.46 +file_023=no
22.47 +file_024=no
22.48 +file_025=no
22.49 +file_026=no
22.50 +file_027=no
22.51 +file_028=no
22.52 +file_029=no
22.53 +file_030=no
22.54 +file_031=no
22.55 +file_032=no
22.56 +file_033=no
22.57 +file_034=no
22.58 +[FILE_INFO]
22.59 +file_000=cdc.c
22.60 +file_001=delay.c
22.61 +file_002=interrupt.c
22.62 +file_003=main.c
22.63 +file_004=usb9.c
22.64 +file_005=usbctrltrf.c
22.65 +file_006=usbdrv.c
22.66 +file_007=usbdsc.c
22.67 +file_008=usbmmap.c
22.68 +file_009=user.c
22.69 +file_010=t6963.c
22.70 +file_011=myi2c.c
22.71 +file_012=rc5.c
22.72 +file_013=comm.c
22.73 +file_014=cdc.h
22.74 +file_015=user.h
22.75 +file_016=delay.h
22.76 +file_017=interrupt.h
22.77 +file_018=io_cfg.h
22.78 +file_019=typedefs.h
22.79 +file_020=usb9.h
22.80 +file_021=usb.h
22.81 +file_022=usb_compile_time_validation.h
22.82 +file_023=usbcfg.h
22.83 +file_024=usbctrltrf.h
22.84 +file_025=usbdefs_ep0_buff.h
22.85 +file_026=usbdefs_std_dsc.h
22.86 +file_027=usbdrv.h
22.87 +file_028=usbdsc.h
22.88 +file_029=usbmmap.h
22.89 +file_030=t6963.h
22.90 +file_031=myi2c.h
22.91 +file_032=rc5.h
22.92 +file_033=comm.h
22.93 +file_034=18f4550_boot.lkr
22.94 +[SUITE_INFO]
22.95 +suite_guid={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
22.96 +suite_state=
22.97 +[TOOL_SETTINGS]
22.98 +TS{DD2213A8-6310-47B1-8376-9430CDFC013F}=
22.99 +TS{BFD27FBA-4A02-4C0E-A5E5-B812F3E7707C}=/o"$(BINDIR_)$(TARGETBASE).cof" /M"$(BINDIR_)$(TARGETBASE).map" /W
22.100 +TS{C2AF05E7-1416-4625-923D-E114DB6E2B96}=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
22.101 +TS{ADE93A55-C7C7-4D4D-A4BA-59305F7D0391}=
22.102 +[INSTRUMENTED_TRACE]
22.103 +enable=0
22.104 +transport=0
22.105 +format=0
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/firmware/front_4.1.project.mcs Tue Jan 29 22:31:52 2008 +0100
23.3 @@ -0,0 +1,215 @@
23.4 +[Header]
23.5 +MagicCookie={0b13fe8c-dfe0-40eb-8900-6712719559a7}
23.6 +Version=1.0
23.7 +[File000]
23.8 +Location=G:\p_source\18F4550\front_v4.1\_tmp\cdc.o
23.9 +Folder=Intermediary
23.10 +DeviceName=PIC18F4550
23.11 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.12 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.13 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.14 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.15 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.16 +SuiteArgsString=
23.17 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.18 +TraceCmdString=
23.19 +DebugOptions=
23.20 +[File001]
23.21 +Location=G:\p_source\18F4550\front_v4.1\_tmp\delay.o
23.22 +Folder=Intermediary
23.23 +DeviceName=PIC18F4550
23.24 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.25 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.26 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.27 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.28 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.29 +SuiteArgsString=
23.30 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.31 +TraceCmdString=
23.32 +DebugOptions=
23.33 +[File002]
23.34 +Location=G:\p_source\18F4550\front_v4.1\_tmp\interrupt.o
23.35 +Folder=Intermediary
23.36 +DeviceName=PIC18F4550
23.37 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.38 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.39 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.40 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.41 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.42 +SuiteArgsString=
23.43 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.44 +TraceCmdString=
23.45 +DebugOptions=
23.46 +[File003]
23.47 +Location=G:\p_source\18F4550\front_v4.1\_tmp\main.o
23.48 +Folder=Intermediary
23.49 +DeviceName=PIC18F4550
23.50 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.51 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.52 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.53 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.54 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.55 +SuiteArgsString=
23.56 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.57 +TraceCmdString=
23.58 +DebugOptions=
23.59 +[File004]
23.60 +Location=G:\p_source\18F4550\front_v4.1\_tmp\usb9.o
23.61 +Folder=Intermediary
23.62 +DeviceName=PIC18F4550
23.63 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.64 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.65 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.66 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.67 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.68 +SuiteArgsString=
23.69 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.70 +TraceCmdString=
23.71 +DebugOptions=
23.72 +[File005]
23.73 +Location=G:\p_source\18F4550\front_v4.1\_tmp\usbctrltrf.o
23.74 +Folder=Intermediary
23.75 +DeviceName=PIC18F4550
23.76 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.77 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.78 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.79 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.80 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.81 +SuiteArgsString=
23.82 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.83 +TraceCmdString=
23.84 +DebugOptions=
23.85 +[File006]
23.86 +Location=G:\p_source\18F4550\front_v4.1\_tmp\usbdrv.o
23.87 +Folder=Intermediary
23.88 +DeviceName=PIC18F4550
23.89 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.90 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.91 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.92 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.93 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.94 +SuiteArgsString=
23.95 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.96 +TraceCmdString=
23.97 +DebugOptions=
23.98 +[File007]
23.99 +Location=G:\p_source\18F4550\front_v4.1\_tmp\usbdsc.o
23.100 +Folder=Intermediary
23.101 +DeviceName=PIC18F4550
23.102 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.103 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.104 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.105 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.106 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.107 +SuiteArgsString=
23.108 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.109 +TraceCmdString=
23.110 +DebugOptions=
23.111 +[File008]
23.112 +Location=G:\p_source\18F4550\front_v4.1\_tmp\usbmmap.o
23.113 +Folder=Intermediary
23.114 +DeviceName=PIC18F4550
23.115 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.116 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.117 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.118 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.119 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.120 +SuiteArgsString=
23.121 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.122 +TraceCmdString=
23.123 +DebugOptions=
23.124 +[File009]
23.125 +Location=G:\p_source\18F4550\front_v4.1\_tmp\user.o
23.126 +Folder=Intermediary
23.127 +DeviceName=PIC18F4550
23.128 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.129 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.130 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.131 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.132 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.133 +SuiteArgsString=
23.134 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.135 +TraceCmdString=
23.136 +DebugOptions=
23.137 +[File010]
23.138 +Location=G:\p_source\18F4550\front_v4.1\_tmp\t6963.o
23.139 +Folder=Intermediary
23.140 +DeviceName=PIC18F4550
23.141 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.142 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.143 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.144 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.145 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.146 +SuiteArgsString=
23.147 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.148 +TraceCmdString=
23.149 +DebugOptions=
23.150 +[File011]
23.151 +Location=G:\p_source\18F4550\front_v4.1\_tmp\myi2c.o
23.152 +Folder=Intermediary
23.153 +DeviceName=PIC18F4550
23.154 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.155 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.156 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.157 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.158 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.159 +SuiteArgsString=
23.160 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.161 +TraceCmdString=
23.162 +DebugOptions=
23.163 +[File012]
23.164 +Location=G:\p_source\18F4550\front_v4.1\_tmp\rc5.o
23.165 +Folder=Intermediary
23.166 +DeviceName=PIC18F4550
23.167 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.168 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.169 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.170 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.171 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.172 +SuiteArgsString=
23.173 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.174 +TraceCmdString=
23.175 +DebugOptions=
23.176 +[File013]
23.177 +Location=G:\p_source\18F4550\front_v4.1\_tmp\comm.o
23.178 +Folder=Intermediary
23.179 +DeviceName=PIC18F4550
23.180 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.181 +LanguageToolID={E56A1C86-9D32-4DF6-8C34-FE0388B1B644}
23.182 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mcc18.exe
23.183 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.184 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.185 +SuiteArgsString=
23.186 +ToolArgsString=-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
23.187 +TraceCmdString=
23.188 +DebugOptions=
23.189 +[File014]
23.190 +Location=G:\p_source\18F4550\front_v4.1\_bin\front_4.1.project.cof
23.191 +Folder=Output
23.192 +DeviceName=PIC18F4550
23.193 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.194 +LanguageToolID={96C98149-AA1B-4CF9-B967-FAE79CAB663C}
23.195 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mplink.exe
23.196 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.197 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.198 +SuiteArgsString=
23.199 +ToolArgsString=/o"$(BINDIR_)$(TARGETBASE).cof" /M"$(BINDIR_)$(TARGETBASE).map" /W
23.200 +TraceCmdString=
23.201 +DebugOptions=
23.202 +[File015]
23.203 +Location=G:\p_source\18F4550\front_v4.1\_bin\front_4.1.project.hex
23.204 +Folder=Output
23.205 +DeviceName=PIC18F4550
23.206 +LanguageToolSuiteID={5B7D72DD-9861-47BD-9F60-2BE967BF8416}
23.207 +LanguageToolID={96C98149-AA1B-4CF9-B967-FAE79CAB663C}
23.208 +LanguageToolLocation=G:\p_source\apps\MCC18\bin\mplink.exe
23.209 +PPAD=$(BINDIR)|G:\p_source\18F4550\front_v4.1\_bin||$(TMPDIR)|G:\p_source\18F4550\front_v4.1\_tmp||$(AINDIR)||$(INCDIR)|G:\p_source\apps\MCC18\h||$(LIBDIR)|G:\p_source\apps\MCC18\lib||$(LKRDIR)||
23.210 +SOLK=<src>|cdc.c|delay.c|interrupt.c|main.c|usb9.c|usbctrltrf.c|usbdrv.c|usbdsc.c|usbmmap.c|user.c|t6963.c|myi2c.c|rc5.c|comm.c||<obj>||<lib>||<lkr>|18f4550_boot.lkr||
23.211 +SuiteArgsString=
23.212 +ToolArgsString=/o"$(BINDIR_)$(TARGETBASE).cof" /M"$(BINDIR_)$(TARGETBASE).map" /W
23.213 +TraceCmdString=
23.214 +DebugOptions=
23.215 +[TOOL_LOC_STAMPS]
23.216 +tool_loc{49D3CA3F-D9A3-4518-9943-226A347E8CC7}=G:\p_source\apps\MCC18\mpasm\mpasmwin.exe
23.217 +tool_loc{96C98149-AA1B-4CF9-B967-FAE79CAB663C}=G:\p_source\apps\MCC18\bin\mplink.exe
23.218 +tool_loc{E56A1C86-9D32-4DF6-8C34-FE0388B1B644}=G:\p_source\apps\MCC18\bin\mcc18.exe
24.1 Binary file firmware/front_4.1.project.mcw has changed
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
25.2 +++ b/firmware/front_4.1.project.mptags Tue Jan 29 22:31:52 2008 +0100
25.3 @@ -0,0 +1,803 @@
25.4 +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
25.5 +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
25.6 +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
25.7 +!_TAG_PROGRAM_NAME Exuberant Ctags //
25.8 +!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
25.9 +!_TAG_PROGRAM_VERSION 5.5.4 //
25.10 +!_TAG_REVISION_NAME MCHPTags //
25.11 +!_TAG_REVISION_VERSION 6.0.1 //
25.12 +ABSTRACT_CONTROL_MODEL::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 71;" d line:71
25.13 +ABSTRACT_STATE::0x01 G:\p_source\18F4550\front_v4.1\cdc.h 85;" d line:85
25.14 +ADDRESS_STATE::5 G:\p_source\18F4550\front_v4.1\usbmmap.h 62;" d line:62
25.15 +ADR G:\p_source\18F4550\front_v4.1\usbmmap.h 123;" m line:123 struct:_BDT::<anonymous>
25.16 +ADRH G:\p_source\18F4550\front_v4.1\usbmmap.h 117;" m line:117 struct:_BDT::<anonymous>
25.17 +ADRL G:\p_source\18F4550\front_v4.1\usbmmap.h 116;" m line:116 struct:_BDT::<anonymous>
25.18 +ADR_PENDING_STATE::4 G:\p_source\18F4550\front_v4.1\usbmmap.h 61;" d line:61
25.19 +ATTACHED_STATE::1 G:\p_source\18F4550\front_v4.1\usbmmap.h 58;" d line:58
25.20 +BC8 G:\p_source\18F4550\front_v4.1\usbmmap.h 84;" m line:84 struct:_BD_STAT::<anonymous>
25.21 +BC8 G:\p_source\18F4550\front_v4.1\usbmmap.h 94;" m line:94 struct:_BD_STAT::<anonymous>
25.22 +BC9 G:\p_source\18F4550\front_v4.1\usbmmap.h 85;" m line:85 struct:_BD_STAT::<anonymous>
25.23 +BC9 G:\p_source\18F4550\front_v4.1\usbmmap.h 95;" m line:95 struct:_BD_STAT::<anonymous>
25.24 +BDT G:\p_source\18F4550\front_v4.1\usbmmap.h 125;" t line:125
25.25 +BD_STAT G:\p_source\18F4550\front_v4.1\usbmmap.h 108;" t line:108
25.26 +BOOL G:\p_source\18F4550\front_v4.1\typedefs.h 150;" t line:150
25.27 +BOOTLOAD_START::0x000686 G:\p_source\18F4550\front_v4.1\io_cfg.h 151;" d line:151
25.28 +BSTALL G:\p_source\18F4550\front_v4.1\usbmmap.h 86;" m line:86 struct:_BD_STAT::<anonymous>
25.29 +BYTE G:\p_source\18F4550\front_v4.1\typedefs.h 58;" t line:58
25.30 +Byte0 G:\p_source\18F4550\front_v4.1\typedefs.h 103;" m line:103 struct:_DWORD::<anonymous>
25.31 +Byte0 G:\p_source\18F4550\front_v4.1\typedefs.h 70;" m line:70 struct:_WORD::<anonymous>
25.32 +Byte1 G:\p_source\18F4550\front_v4.1\typedefs.h 104;" m line:104 struct:_DWORD::<anonymous>
25.33 +Byte1 G:\p_source\18F4550\front_v4.1\typedefs.h 71;" m line:71 struct:_WORD::<anonymous>
25.34 +Byte2 G:\p_source\18F4550\front_v4.1\typedefs.h 105;" m line:105 struct:_DWORD::<anonymous>
25.35 +Byte3 G:\p_source\18F4550\front_v4.1\typedefs.h 106;" m line:106 struct:_DWORD::<anonymous>
25.36 +CARRIER_CONTROL G:\p_source\18F4550\front_v4.1\cdc.h 284;" m line:284 struct:_CONTROL_SIGNAL_BITMAP::<anonymous>
25.37 +CDCInitEP G:\p_source\18F4550\front_v4.1\cdc.c 169;" f line:169 signature:(void)
25.38 +CDCInitEP G:\p_source\18F4550\front_v4.1\cdc.h 339;" p line:339 signature:(void)
25.39 +CDCTxService G:\p_source\18F4550\front_v4.1\cdc.c 448;" f line:448 signature:(void)
25.40 +CDCTxService G:\p_source\18F4550\front_v4.1\cdc.h 343;" p line:343 signature:(void)
25.41 +CDC_BULK_BD_IN::ep3Bi G:\p_source\18F4550\front_v4.1\usbcfg.h 77;" d line:77
25.42 +CDC_BULK_BD_OUT::ep3Bo G:\p_source\18F4550\front_v4.1\usbcfg.h 75;" d line:75
25.43 +CDC_BULK_IN_EP_SIZE::64 G:\p_source\18F4550\front_v4.1\usbcfg.h 78;" d line:78
25.44 +CDC_BULK_OUT_EP_SIZE::64 G:\p_source\18F4550\front_v4.1\usbcfg.h 76;" d line:76
25.45 +CDC_COMM_INTF_ID::0x00 G:\p_source\18F4550\front_v4.1\usbcfg.h 68;" d line:68
25.46 +CDC_COMM_UEP::UEP2 G:\p_source\18F4550\front_v4.1\usbcfg.h 69;" d line:69
25.47 +CDC_DATA_INTF_ID::0x01 G:\p_source\18F4550\front_v4.1\usbcfg.h 73;" d line:73
25.48 +CDC_DATA_UEP::UEP3 G:\p_source\18F4550\front_v4.1\usbcfg.h 74;" d line:74
25.49 +CDC_DEVICE::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 65;" d line:65
25.50 +CDC_H G:\p_source\18F4550\front_v4.1\cdc.h 37;" d line:37
25.51 +CDC_INT_BD_IN::ep2Bi G:\p_source\18F4550\front_v4.1\usbcfg.h 70;" d line:70
25.52 +CDC_INT_EP_SIZE::8 G:\p_source\18F4550\front_v4.1\usbcfg.h 71;" d line:71
25.53 +CDC_TX_BUSY::1 G:\p_source\18F4550\front_v4.1\cdc.h 108;" d line:108
25.54 +CDC_TX_BUSY_ZLP::2 G:\p_source\18F4550\front_v4.1\cdc.h 109;" d line:109
25.55 +CDC_TX_COMPLETING::3 G:\p_source\18F4550\front_v4.1\cdc.h 110;" d line:110
25.56 +CDC_TX_READY::0 G:\p_source\18F4550\front_v4.1\cdc.h 107;" d line:107
25.57 +CFG01::romstruct\ G:\p_source\18F4550\front_v4.1\usbdsc.h 54;" d line:54
25.58 +CLASS::0x01 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 59;" d line:59
25.59 +CLEAR_COMM_FEATURE::0x04 G:\p_source\18F4550\front_v4.1\cdc.h 49;" d line:49
25.60 +CLK_ALARM_CTRL::0x08 G:\p_source\18F4550\front_v4.1\io_cfg.h 95;" d line:95
25.61 +CLK_CTRL::0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 87;" d line:87
25.62 +CLK_HOURS::0x04 G:\p_source\18F4550\front_v4.1\io_cfg.h 91;" d line:91
25.63 +CLK_HUNDRSEC::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 88;" d line:88
25.64 +CLK_MIN::0x03 G:\p_source\18F4550\front_v4.1\io_cfg.h 90;" d line:90
25.65 +CLK_SEC::0x02 G:\p_source\18F4550\front_v4.1\io_cfg.h 89;" d line:89
25.66 +CLK_TIMER::0x07 G:\p_source\18F4550\front_v4.1\io_cfg.h 94;" d line:94
25.67 +CLK_WEEKDMON::0x06 G:\p_source\18F4550\front_v4.1\io_cfg.h 93;" d line:93
25.68 +CLK_YEARDAY::0x05 G:\p_source\18F4550\front_v4.1\io_cfg.h 92;" d line:92
25.69 +CLR_FEATURE::1 G:\p_source\18F4550\front_v4.1\usb9.h 49;" d line:49
25.70 +CMD_BOOT::0x80 G:\p_source\18F4550\front_v4.1\io_cfg.h 130;" d line:130
25.71 +CMD_DATA_START::0x04 G:\p_source\18F4550\front_v4.1\io_cfg.h 103;" d line:103
25.72 +CMD_DISP_CLEAR_SCREEN::0x10 G:\p_source\18F4550\front_v4.1\io_cfg.h 118;" d line:118
25.73 +CMD_DISP_SET_ADDRESS::0x16 G:\p_source\18F4550\front_v4.1\io_cfg.h 120;" d line:120
25.74 +CMD_DISP_SET_ROW_DATA::0x14 G:\p_source\18F4550\front_v4.1\io_cfg.h 119;" d line:119
25.75 +CMD_GET_VERSION::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 116;" d line:116
25.76 +CMD_HD_COMMAND::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 101;" d line:101
25.77 +CMD_HD_LENGTH::0x02 G:\p_source\18F4550\front_v4.1\io_cfg.h 102;" d line:102
25.78 +CMD_HD_SYNC::0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 100;" d line:100
25.79 +CMD_READ_CLOCK::0x40 G:\p_source\18F4550\front_v4.1\io_cfg.h 122;" d line:122
25.80 +CMD_SET_MODE_MANAGED::0x70 G:\p_source\18F4550\front_v4.1\io_cfg.h 127;" d line:127
25.81 +CMD_SET_MODE_UNMANAGED::0x71 G:\p_source\18F4550\front_v4.1\io_cfg.h 128;" d line:128
25.82 +CMD_SET_PWM1::0x45 G:\p_source\18F4550\front_v4.1\io_cfg.h 124;" d line:124
25.83 +CMD_SET_PWM2::0x46 G:\p_source\18F4550\front_v4.1\io_cfg.h 125;" d line:125
25.84 +CMD_SYNC_RECV::0x55 G:\p_source\18F4550\front_v4.1\io_cfg.h 107;" d line:107
25.85 +CMD_SYNC_SEND::0xAA G:\p_source\18F4550\front_v4.1\io_cfg.h 106;" d line:106
25.86 +CMD_SYS_ACK::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 111;" d line:111
25.87 +CMD_SYS_IR::0x10 G:\p_source\18F4550\front_v4.1\io_cfg.h 114;" d line:114
25.88 +CMD_SYS_NACK::0x02 G:\p_source\18F4550\front_v4.1\io_cfg.h 112;" d line:112
25.89 +CMD_SYS_NIMP::0xFF G:\p_source\18F4550\front_v4.1\io_cfg.h 113;" d line:113
25.90 +CMD_SYS_SYNC::0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 110;" d line:110
25.91 +CMD_WRITE_CLOCK::0x41 G:\p_source\18F4550\front_v4.1\io_cfg.h 123;" d line:123
25.92 +COMM_INTF::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 68;" d line:68
25.93 +CONFIGURED_STATE::6 G:\p_source\18F4550\front_v4.1\usbmmap.h 63;" d line:63
25.94 +CONTROL_SIGNAL_BITMAP G:\p_source\18F4550\front_v4.1\cdc.h 286;" t line:286
25.95 +COUNTRY_SETTING::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 86;" d line:86
25.96 +CS_ENDPOINT::0x25 G:\p_source\18F4550\front_v4.1\cdc.h 91;" d line:91
25.97 +CS_INTERFACE::0x24 G:\p_source\18F4550\front_v4.1\cdc.h 90;" d line:90
25.98 +CTRL_TRF_DATA G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 207;" t line:207
25.99 +CTRL_TRF_RX::2 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 47;" d line:47
25.100 +CTRL_TRF_SETUP G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 166;" t line:166
25.101 +CTRL_TRF_TX::1 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 46;" d line:46
25.102 +ClassReqHandler G:\p_source\18F4550\front_v4.1\usbdsc.c 261;" v line:261
25.103 +ClearArray G:\p_source\18F4550\front_v4.1\usbdrv.c 575;" f line:575 signature:(byte* startAdr,byte count)
25.104 +Cnt G:\p_source\18F4550\front_v4.1\usbmmap.h 115;" m line:115 struct:_BDT::<anonymous>
25.105 +CtrlTrfData G:\p_source\18F4550\front_v4.1\usbmmap.c 269;" v line:269
25.106 +DATA_INTF::0x0A G:\p_source\18F4550\front_v4.1\cdc.h 78;" d line:78
25.107 +DDR_BOOT_SW::DDRCbits.RC0 G:\p_source\18F4550\front_v4.1\io_cfg.h 44;" d line:44
25.108 +DDR_I2C_INT::DDRBbits.RB4 G:\p_source\18F4550\front_v4.1\io_cfg.h 37;" d line:37
25.109 +DDR_I2C_SCL::DDRBbits.RB1 G:\p_source\18F4550\front_v4.1\io_cfg.h 34;" d line:34
25.110 +DDR_I2C_SDA::DDRBbits.RB0 G:\p_source\18F4550\front_v4.1\io_cfg.h 35;" d line:35
25.111 +DDR_IR::DDRBbits.RB2 G:\p_source\18F4550\front_v4.1\io_cfg.h 36;" d line:36
25.112 +DDR_PWM1::DDRCbits.RC1 G:\p_source\18F4550\front_v4.1\io_cfg.h 46;" d line:46
25.113 +DDR_PWM2::DDRCbits.RC2 G:\p_source\18F4550\front_v4.1\io_cfg.h 47;" d line:47
25.114 +DEFAULT_STATE::3 G:\p_source\18F4550\front_v4.1\usbmmap.h 60;" d line:60
25.115 +DELAY_H G:\p_source\18F4550\front_v4.1\delay.h 5;" d line:5
25.116 +DETACHED_STATE::0 G:\p_source\18F4550\front_v4.1\usbmmap.h 57;" d line:57
25.117 +DEVICE_REMOTE_WAKEUP::0x01 G:\p_source\18F4550\front_v4.1\usb9.h 61;" d line:61
25.118 +DEV_TO_HOST::1 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 56;" d line:56
25.119 +DSC_CFG::0x02 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 50;" d line:50
25.120 +DSC_DEV::0x01 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 49;" d line:49
25.121 +DSC_EP::0x05 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 53;" d line:53
25.122 +DSC_FN_ACM::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 96;" d line:96
25.123 +DSC_FN_CALL_MGT::0x01 G:\p_source\18F4550\front_v4.1\cdc.h 95;" d line:95
25.124 +DSC_FN_COUNTRY_SELECTION::0x07 G:\p_source\18F4550\front_v4.1\cdc.h 101;" d line:101
25.125 +DSC_FN_DLM::0x03 G:\p_source\18F4550\front_v4.1\cdc.h 97;" d line:97
25.126 +DSC_FN_HEADER::0x00 G:\p_source\18F4550\front_v4.1\cdc.h 94;" d line:94
25.127 +DSC_FN_RPT_CAPABILITIES::0x05 G:\p_source\18F4550\front_v4.1\cdc.h 99;" d line:99
25.128 +DSC_FN_TELEPHONE_RINGER::0x04 G:\p_source\18F4550\front_v4.1\cdc.h 98;" d line:98
25.129 +DSC_FN_TEL_OP_MODES::0x08 G:\p_source\18F4550\front_v4.1\cdc.h 102;" d line:102
25.130 +DSC_FN_UNION::0x06 G:\p_source\18F4550\front_v4.1\cdc.h 100;" d line:100
25.131 +DSC_FN_USB_TERMINAL::0x09 G:\p_source\18F4550\front_v4.1\cdc.h 103;" d line:103
25.132 +DSC_INTF::0x04 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 52;" d line:52
25.133 +DSC_STR::0x03 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 51;" d line:51
25.134 +DTE_PRESENT G:\p_source\18F4550\front_v4.1\cdc.h 283;" m line:283 struct:_CONTROL_SIGNAL_BITMAP::<anonymous>
25.135 +DTS G:\p_source\18F4550\front_v4.1\usbmmap.h 90;" m line:90 struct:_BD_STAT::<anonymous>
25.136 +DTSEN G:\p_source\18F4550\front_v4.1\usbmmap.h 87;" m line:87 struct:_BD_STAT::<anonymous>
25.137 +DWORD G:\p_source\18F4550\front_v4.1\typedefs.h 117;" t line:117
25.138 +D_CD::LATEbits.LATE2 G:\p_source\18F4550\front_v4.1\io_cfg.h 58;" d line:58
25.139 +D_RD::LATEbits.LATE1 G:\p_source\18F4550\front_v4.1\io_cfg.h 57;" d line:57
25.140 +D_WR::LATEbits.LATE0 G:\p_source\18F4550\front_v4.1\io_cfg.h 56;" d line:56
25.141 +DataDir G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 88;" m line:88 struct:_CTRL_TRF_SETUP::<anonymous>
25.142 +Delay100us G:\p_source\18F4550\front_v4.1\delay.c 25;" f line:25 signature:( void )
25.143 +Delay100us G:\p_source\18F4550\front_v4.1\delay.h 12;" p line:12 signature:( void )
25.144 +Delay15ms G:\p_source\18F4550\front_v4.1\delay.c 3;" f line:3 signature:( void )
25.145 +Delay15ms G:\p_source\18F4550\front_v4.1\delay.h 8;" p line:8 signature:( void )
25.146 +Delay1s G:\p_source\18F4550\front_v4.1\delay.c 31;" f line:31 signature:( void )
25.147 +Delay1s G:\p_source\18F4550\front_v4.1\delay.h 15;" p line:15 signature:( void )
25.148 +Delay1us G:\p_source\18F4550\front_v4.1\delay.c 15;" f line:15 signature:( void )
25.149 +Delay1us G:\p_source\18F4550\front_v4.1\delay.h 11;" p line:11 signature:( void )
25.150 +Delay5ms G:\p_source\18F4550\front_v4.1\delay.c 9;" f line:9 signature:( void )
25.151 +Delay5ms G:\p_source\18F4550\front_v4.1\delay.h 9;" p line:9 signature:( void )
25.152 +DrawTime G:\p_source\18F4550\front_v4.1\user.h 34;" p line:34 signature:(void)
25.153 +ENDPOINT_HALT::0x00 G:\p_source\18F4550\front_v4.1\usb9.h 62;" d line:62
25.154 +EP00_IN::(0x00<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 82;" d line:82
25.155 +EP00_OUT::(0x00<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 81;" d line:81
25.156 +EP01_IN::(0x01<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 84;" d line:84
25.157 +EP01_OUT::(0x01<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 83;" d line:83
25.158 +EP02_IN::(0x02<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 86;" d line:86
25.159 +EP02_OUT::(0x02<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 85;" d line:85
25.160 +EP03_IN::(0x03<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 88;" d line:88
25.161 +EP03_OUT::(0x03<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 87;" d line:87
25.162 +EP04_IN::(0x04<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 90;" d line:90
25.163 +EP04_OUT::(0x04<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 89;" d line:89
25.164 +EP05_IN::(0x05<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 92;" d line:92
25.165 +EP05_OUT::(0x05<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 91;" d line:91
25.166 +EP06_IN::(0x06<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 94;" d line:94
25.167 +EP06_OUT::(0x06<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 93;" d line:93
25.168 +EP07_IN::(0x07<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 96;" d line:96
25.169 +EP07_OUT::(0x07<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 95;" d line:95
25.170 +EP08_IN::(0x08<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 98;" d line:98
25.171 +EP08_OUT::(0x08<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 97;" d line:97
25.172 +EP09_IN::(0x09<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 100;" d line:100
25.173 +EP09_OUT::(0x09<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 99;" d line:99
25.174 +EP0_BUFF_SIZE::8 G:\p_source\18F4550\front_v4.1\usbcfg.h 38;" d line:38
25.175 +EP10_IN::(0x0A<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 102;" d line:102
25.176 +EP10_OUT::(0x0A<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 101;" d line:101
25.177 +EP11_IN::(0x0B<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 104;" d line:104
25.178 +EP11_OUT::(0x0B<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 103;" d line:103
25.179 +EP12_IN::(0x0C<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 106;" d line:106
25.180 +EP12_OUT::(0x0C<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 105;" d line:105
25.181 +EP13_IN::(0x0D<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 108;" d line:108
25.182 +EP13_OUT::(0x0D<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 107;" d line:107
25.183 +EP14_IN::(0x0E<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 110;" d line:110
25.184 +EP14_OUT::(0x0E<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 109;" d line:109
25.185 +EP15_IN::(0x0F<<3)|(IN<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 112;" d line:112
25.186 +EP15_OUT::(0x0F<<3)|(OUT<<2) G:\p_source\18F4550\front_v4.1\usbdrv.h 111;" d line:111
25.187 +EPDir G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 159;" m line:159 struct:_CTRL_TRF_SETUP::<anonymous>
25.188 +EPNum G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 157;" m line:157 struct:_CTRL_TRF_SETUP::<anonymous>
25.189 +EP_CTRL::0x06 G:\p_source\18F4550\front_v4.1\usbdrv.h 59;" d line:59
25.190 +EP_IN::0x0A G:\p_source\18F4550\front_v4.1\usbdrv.h 61;" d line:61
25.191 +EP_OUT::0x0C G:\p_source\18F4550\front_v4.1\usbdrv.h 60;" d line:60
25.192 +EP_OUT_IN::0x0E G:\p_source\18F4550\front_v4.1\usbdrv.h 62;" d line:62
25.193 +FAIL::FALSE G:\p_source\18F4550\front_v4.1\typedefs.h 153;" d line:153
25.194 +FALSE G:\p_source\18F4550\front_v4.1\typedefs.h 150;" e line:150 enum:_BOOL
25.195 +FLAG_ALARM::0x04 G:\p_source\18F4550\front_v4.1\io_cfg.h 72;" d line:72
25.196 +FLAG_CLEAR::0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 75;" d line:75
25.197 +FLAG_COUNTER::0x10 G:\p_source\18F4550\front_v4.1\io_cfg.h 70;" d line:70
25.198 +FLAG_I2C::0x20 G:\p_source\18F4550\front_v4.1\io_cfg.h 69;" d line:69
25.199 +FLAG_IR::0x02 G:\p_source\18F4550\front_v4.1\io_cfg.h 73;" d line:73
25.200 +FLAG_KEY::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 74;" d line:74
25.201 +FLAG_POWER::0x08 G:\p_source\18F4550\front_v4.1\io_cfg.h 71;" d line:71
25.202 +FONT_HEIGHT::48 G:\p_source\18F4550\front_v4.1\user.h 20;" d line:20
25.203 +FONT_WIDTH::4 G:\p_source\18F4550\front_v4.1\user.h 21;" d line:21
25.204 +FW_VERSION::0x02 G:\p_source\18F4550\front_v4.1\io_cfg.h 15;" d line:15
25.205 +GET_CFG::8 G:\p_source\18F4550\front_v4.1\usb9.h 54;" d line:54
25.206 +GET_COMM_FEATURE::0x03 G:\p_source\18F4550\front_v4.1\cdc.h 48;" d line:48
25.207 +GET_DSC::6 G:\p_source\18F4550\front_v4.1\usb9.h 52;" d line:52
25.208 +GET_ENCAPSULATED_RESPONSE::0x01 G:\p_source\18F4550\front_v4.1\cdc.h 46;" d line:46
25.209 +GET_INTF::10 G:\p_source\18F4550\front_v4.1\usb9.h 56;" d line:56
25.210 +GET_LINE_CODING::0x21 G:\p_source\18F4550\front_v4.1\cdc.h 51;" d line:51
25.211 +GET_STATUS::0 G:\p_source\18F4550\front_v4.1\usb9.h 48;" d line:48
25.212 +HOST_TO_DEV::0 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 55;" d line:55
25.213 +HSHK_EN::0x10 G:\p_source\18F4550\front_v4.1\usbdrv.h 63;" d line:63
25.214 +HighB G:\p_source\18F4550\front_v4.1\typedefs.h 76;" m line:76 struct:_WORD::<anonymous>
25.215 +IN::1 G:\p_source\18F4550\front_v4.1\usbdrv.h 76;" d line:76
25.216 +INCDIS G:\p_source\18F4550\front_v4.1\usbmmap.h 88;" m line:88 struct:_BD_STAT::<anonymous>
25.217 +IN_TOKEN::0b00001001 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 52;" d line:52
25.218 +IO_CFG_H G:\p_source\18F4550\front_v4.1\io_cfg.h 13;" d line:13
25.219 +KEN G:\p_source\18F4550\front_v4.1\usbmmap.h 89;" m line:89 struct:_BD_STAT::<anonymous>
25.220 +LDByteReadI2C G:\p_source\18F4550\front_v4.1\myi2c.c 39;" f line:39 signature:(unsigned char ControlByte)
25.221 +LDByteReadI2C G:\p_source\18F4550\front_v4.1\myi2c.h 19;" p line:19 signature:(unsigned char)
25.222 +LDByteWriteI2C G:\p_source\18F4550\front_v4.1\myi2c.c 21;" f line:21 signature:( unsigned char ControlByte, unsigned char LowAdd, unsigned char data )
25.223 +LDByteWriteI2C G:\p_source\18F4550\front_v4.1\myi2c.h 18;" p line:18 signature:( unsigned char, unsigned char, unsigned char )
25.224 +LDPageReadI2C G:\p_source\18F4550\front_v4.1\myi2c.c 58;" f line:58 signature:( unsigned char ControlByte, unsigned char address, unsigned char *data, unsigned char length )
25.225 +LDPageReadI2C G:\p_source\18F4550\front_v4.1\myi2c.h 21;" p line:21 signature:(unsigned char, unsigned char, unsigned char *, unsigned char)
25.226 +LDPageWriteI2C G:\p_source\18F4550\front_v4.1\myi2c.c 80;" f line:80 signature:( unsigned char ControlByte, unsigned char LowAdd, unsigned char *wrptr, unsigned char length)
25.227 +LDPageWriteI2C G:\p_source\18F4550\front_v4.1\myi2c.h 20;" p line:20 signature:(unsigned char, unsigned char, unsigned char *, unsigned char)
25.228 +LINE_CODING G:\p_source\18F4550\front_v4.1\cdc.h 276;" t line:276
25.229 +LINE_CODING_LENGTH::0x07 G:\p_source\18F4550\front_v4.1\cdc.h 261;" d line:261
25.230 +LOWER_LSB::(a)((a).v[0]) G:\p_source\18F4550\front_v4.1\typedefs.h 118;" d line:118
25.231 +LOWER_MSB::(a)((a).v[1]) G:\p_source\18F4550\front_v4.1\typedefs.h 119;" d line:119
25.232 +LSB::(a)((a).v[0]) G:\p_source\18F4550\front_v4.1\typedefs.h 83;" d line:83
25.233 +LowB G:\p_source\18F4550\front_v4.1\typedefs.h 75;" m line:75 struct:_WORD::<anonymous>
25.234 +MAX_EP_NUMBER::3 G:\p_source\18F4550\front_v4.1\usbcfg.h 80;" d line:80
25.235 +MAX_NUM_INT::1 G:\p_source\18F4550\front_v4.1\usbcfg.h 39;" d line:39
25.236 +MODE_AUTO::1 G:\p_source\18F4550\front_v4.1\T6963.h 20;" d line:20
25.237 +MODE_COMMAND::1 G:\p_source\18F4550\front_v4.1\T6963.h 17;" d line:17
25.238 +MODE_DATA::0 G:\p_source\18F4550\front_v4.1\T6963.h 16;" d line:16
25.239 +MODE_MANAGED::0x01 G:\p_source\18F4550\front_v4.1\io_cfg.h 77;" d line:77
25.240 +MODE_NOAUTO::0 G:\p_source\18F4550\front_v4.1\T6963.h 19;" d line:19
25.241 +MODE_PP::_PPBM0 G:\p_source\18F4550\front_v4.1\usbcfg.h 42;" d line:42
25.242 +MODE_UNMANAGED::0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 78;" d line:78
25.243 +MSB::(a)((a).v[1]) G:\p_source\18F4550\front_v4.1\typedefs.h 84;" d line:84
25.244 +MUID_CDC::3 G:\p_source\18F4550\front_v4.1\usbcfg.h 59;" d line:59
25.245 +MUID_HID::2 G:\p_source\18F4550\front_v4.1\usbcfg.h 58;" d line:58
25.246 +MUID_MSD::4 G:\p_source\18F4550\front_v4.1\usbcfg.h 60;" d line:60
25.247 +MUID_NULL::0 G:\p_source\18F4550\front_v4.1\usbcfg.h 56;" d line:56
25.248 +MUID_USB9::1 G:\p_source\18F4550\front_v4.1\usbcfg.h 57;" d line:57
25.249 +NETWORK_CONNECTION::0x00 G:\p_source\18F4550\front_v4.1\cdc.h 59;" d line:59
25.250 +NO_PROTOCOL::0x00 G:\p_source\18F4550\front_v4.1\cdc.h 81;" d line:81
25.251 +OK::TRUE G:\p_source\18F4550\front_v4.1\typedefs.h 152;" d line:152
25.252 +OUT::0 G:\p_source\18F4550\front_v4.1\usbdrv.h 75;" d line:75
25.253 +OUT_TOKEN::0b00000001 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 51;" d line:51
25.254 +PIC_EP_DIR_MASK::0b00000100 G:\p_source\18F4550\front_v4.1\usbdrv.h 79;" d line:79
25.255 +PIC_EP_NUM_MASK::0b01111000 G:\p_source\18F4550\front_v4.1\usbdrv.h 78;" d line:78
25.256 +PID G:\p_source\18F4550\front_v4.1\usbmmap.h 105;" m line:105 struct:_BD_STAT::<anonymous>
25.257 +PID0 G:\p_source\18F4550\front_v4.1\usbmmap.h 96;" m line:96 struct:_BD_STAT::<anonymous>
25.258 +PID1 G:\p_source\18F4550\front_v4.1\usbmmap.h 97;" m line:97 struct:_BD_STAT::<anonymous>
25.259 +PID2 G:\p_source\18F4550\front_v4.1\usbmmap.h 98;" m line:98 struct:_BD_STAT::<anonymous>
25.260 +PID3 G:\p_source\18F4550\front_v4.1\usbmmap.h 99;" m line:99 struct:_BD_STAT::<anonymous>
25.261 +PIN_BOOT_SW::PORTCbits.RC0 G:\p_source\18F4550\front_v4.1\io_cfg.h 43;" d line:43
25.262 +PIN_I2C_INT::PORTBbits.RB4 G:\p_source\18F4550\front_v4.1\io_cfg.h 30;" d line:30
25.263 +PIN_IR::PORTBbits.RB2 G:\p_source\18F4550\front_v4.1\io_cfg.h 28;" d line:28
25.264 +PIN_POWER::LATBbits.LATB3 G:\p_source\18F4550\front_v4.1\io_cfg.h 29;" d line:29
25.265 +POINTER G:\p_source\18F4550\front_v4.1\typedefs.h 148;" t line:148
25.266 +POWERED_STATE::2 G:\p_source\18F4550\front_v4.1\usbmmap.h 59;" d line:59
25.267 +PageSize G:\p_source\18F4550\front_v4.1\myi2c.c 18;" v line:18
25.268 +ProcessInput G:\p_source\18F4550\front_v4.1\comm.c 38;" f line:38 signature:(void)
25.269 +ProcessInput G:\p_source\18F4550\front_v4.1\comm.h 18;" p line:18 signature:(void)
25.270 +RC5_DONE::0xFF G:\p_source\18F4550\front_v4.1\rc5.h 22;" d line:22
25.271 +RC5_FRONT_ADDRESS::0x55 G:\p_source\18F4550\front_v4.1\io_cfg.h 146;" d line:146
25.272 +RC5_IN_UNDEF::0x00 G:\p_source\18F4550\front_v4.1\rc5.h 28;" d line:28
25.273 +RC5_KEY_BACK::0x22 G:\p_source\18F4550\front_v4.1\io_cfg.h 139;" d line:139
25.274 +RC5_KEY_BLUE::0x34 G:\p_source\18F4550\front_v4.1\io_cfg.h 143;" d line:143
25.275 +RC5_KEY_DOWN::0x21 G:\p_source\18F4550\front_v4.1\io_cfg.h 134;" d line:134
25.276 +RC5_KEY_GREEN::0x36 G:\p_source\18F4550\front_v4.1\io_cfg.h 141;" d line:141
25.277 +RC5_KEY_LEFT::0x11 G:\p_source\18F4550\front_v4.1\io_cfg.h 135;" d line:135
25.278 +RC5_KEY_MENU::0x12 G:\p_source\18F4550\front_v4.1\io_cfg.h 138;" d line:138
25.279 +RC5_KEY_OK::0x0E G:\p_source\18F4550\front_v4.1\io_cfg.h 137;" d line:137
25.280 +RC5_KEY_POWER::0x0C G:\p_source\18F4550\front_v4.1\io_cfg.h 144;" d line:144
25.281 +RC5_KEY_RED::0x37 G:\p_source\18F4550\front_v4.1\io_cfg.h 140;" d line:140
25.282 +RC5_KEY_RIGHT::0x10 G:\p_source\18F4550\front_v4.1\io_cfg.h 136;" d line:136
25.283 +RC5_KEY_UP::0x20 G:\p_source\18F4550\front_v4.1\io_cfg.h 133;" d line:133
25.284 +RC5_KEY_YELLOW::0x32 G:\p_source\18F4550\front_v4.1\io_cfg.h 142;" d line:142
25.285 +RC5_MID0::0x04 G:\p_source\18F4550\front_v4.1\rc5.h 20;" d line:20
25.286 +RC5_MID1::0x03 G:\p_source\18F4550\front_v4.1\rc5.h 19;" d line:19
25.287 +RC5_PULSE_LONG::0x02 G:\p_source\18F4550\front_v4.1\rc5.h 24;" d line:24
25.288 +RC5_PULSE_SHORT::0x04 G:\p_source\18F4550\front_v4.1\rc5.h 25;" d line:25
25.289 +RC5_SPACE_LONG::0x01 G:\p_source\18F4550\front_v4.1\rc5.h 26;" d line:26
25.290 +RC5_SPACE_SHORT::0x03 G:\p_source\18F4550\front_v4.1\rc5.h 27;" d line:27
25.291 +RC5_START0::0x02 G:\p_source\18F4550\front_v4.1\rc5.h 18;" d line:18
25.292 +RC5_START1::0x01 G:\p_source\18F4550\front_v4.1\rc5.h 17;" d line:17
25.293 +RC5_UNDEF::0x00 G:\p_source\18F4550\front_v4.1\rc5.h 21;" d line:21
25.294 +RCPT_DEV::0 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 62;" d line:62
25.295 +RCPT_EP::2 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 64;" d line:64
25.296 +RCPT_INTF::1 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 63;" d line:63
25.297 +RCPT_OTH::3 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 65;" d line:65
25.298 +RESPONSE_AVAILABLE::0x01 G:\p_source\18F4550\front_v4.1\cdc.h 60;" d line:60
25.299 +ReadClock G:\p_source\18F4550\front_v4.1\user.h 36;" p line:36 signature:(void)
25.300 +ReadKeys G:\p_source\18F4550\front_v4.1\user.h 35;" p line:35 signature:(void)
25.301 +Recipient G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 86;" m line:86 struct:_CTRL_TRF_SETUP::<anonymous>
25.302 +RemoteWakeup G:\p_source\18F4550\front_v4.1\usbmmap.h 75;" m line:75 struct:_USB_DEVICE_STATUS::<anonymous>
25.303 +RequestType G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 87;" m line:87 struct:_CTRL_TRF_SETUP::<anonymous>
25.304 +SEND_BREAK::0x23 G:\p_source\18F4550\front_v4.1\cdc.h 53;" d line:53
25.305 +SEND_ENCAPSULATED_COMMAND::0x00 G:\p_source\18F4550\front_v4.1\cdc.h 45;" d line:45
25.306 +SERIAL_STATE::0x20 G:\p_source\18F4550\front_v4.1\cdc.h 61;" d line:61
25.307 +SETUP_TOKEN::0b00001101 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 50;" d line:50
25.308 +SET_ADR::5 G:\p_source\18F4550\front_v4.1\usb9.h 51;" d line:51
25.309 +SET_CFG::9 G:\p_source\18F4550\front_v4.1\usb9.h 55;" d line:55
25.310 +SET_COMM_FEATURE::0x02 G:\p_source\18F4550\front_v4.1\cdc.h 47;" d line:47
25.311 +SET_CONTROL_LINE_STATE::0x22 G:\p_source\18F4550\front_v4.1\cdc.h 52;" d line:52
25.312 +SET_DSC::7 G:\p_source\18F4550\front_v4.1\usb9.h 53;" d line:53
25.313 +SET_FEATURE::3 G:\p_source\18F4550\front_v4.1\usb9.h 50;" d line:50
25.314 +SET_INTF::11 G:\p_source\18F4550\front_v4.1\usb9.h 57;" d line:57
25.315 +SET_LINE_CODING::0x20 G:\p_source\18F4550\front_v4.1\cdc.h 50;" d line:50
25.316 +STANDARD::0x00 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 58;" d line:58
25.317 +SYNCH_FRAME::12 G:\p_source\18F4550\front_v4.1\usb9.h 58;" d line:58
25.318 +SetupPkt G:\p_source\18F4550\front_v4.1\usbmmap.c 268;" v line:268
25.319 +Stat G:\p_source\18F4550\front_v4.1\usbmmap.h 114;" m line:114 struct:_BDT::<anonymous>
25.320 +TIME_X_START::2 G:\p_source\18F4550\front_v4.1\user.h 19;" d line:19
25.321 +TIME_Y_START::6 G:\p_source\18F4550\front_v4.1\user.h 18;" d line:18
25.322 +TRUE G:\p_source\18F4550\front_v4.1\typedefs.h 150;" e line:150 enum:_BOOL
25.323 +TYPEDEFS_H G:\p_source\18F4550\front_v4.1\typedefs.h 38;" d line:38
25.324 +UCFG_VAL::_PUEN|_TRINT|_FS|MODE_PP G:\p_source\18F4550\front_v4.1\usbcfg.h 43;" d line:43
25.325 +UOWN G:\p_source\18F4550\front_v4.1\usbmmap.h 101;" m line:101 struct:_BD_STAT::<anonymous>
25.326 +UOWN G:\p_source\18F4550\front_v4.1\usbmmap.h 91;" m line:91 struct:_BD_STAT::<anonymous>
25.327 +UPPER_LSB::(a)((a).v[2]) G:\p_source\18F4550\front_v4.1\typedefs.h 120;" d line:120
25.328 +UPPER_MSB::(a)((a).v[3]) G:\p_source\18F4550\front_v4.1\typedefs.h 121;" d line:121
25.329 +USB9_H G:\p_source\18F4550\front_v4.1\usb9.h 37;" d line:37
25.330 +USBCFG_H G:\p_source\18F4550\front_v4.1\usbcfg.h 35;" d line:35
25.331 +USBCTRLTRF_H G:\p_source\18F4550\front_v4.1\usbctrltrf.h 37;" d line:37
25.332 +USBCheckBusStatus G:\p_source\18F4550\front_v4.1\usbdrv.c 76;" f line:76 signature:(void)
25.333 +USBCheckCDCRequest G:\p_source\18F4550\front_v4.1\cdc.c 88;" f line:88 signature:(void)
25.334 +USBCheckCDCRequest G:\p_source\18F4550\front_v4.1\cdc.h 338;" p line:338 signature:(void)
25.335 +USBCheckStdRequest G:\p_source\18F4550\front_v4.1\usb9.c 70;" f line:70 signature:(void)
25.336 +USBCheckStdRequest G:\p_source\18F4550\front_v4.1\usb9.h 92;" p line:92 signature:(void)
25.337 +USBCtrlEPService G:\p_source\18F4550\front_v4.1\usbctrltrf.c 78;" f line:78 signature:(void)
25.338 +USBCtrlEPService G:\p_source\18F4550\front_v4.1\usbctrltrf.h 75;" p line:75 signature:(void)
25.339 +USBCtrlEPServiceComplete G:\p_source\18F4550\front_v4.1\usbctrltrf.c 382;" f line:382 signature:(void)
25.340 +USBCtrlEPServiceComplete G:\p_source\18F4550\front_v4.1\usbctrltrf.h 78;" p line:78 signature:(void)
25.341 +USBCtrlTrfInHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 221;" f line:221 signature:(void)
25.342 +USBCtrlTrfInHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 54;" p line:54 file: signature:(void)
25.343 +USBCtrlTrfOutHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 176;" f line:176 signature:(void)
25.344 +USBCtrlTrfOutHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 53;" p line:53 file: signature:(void)
25.345 +USBCtrlTrfRxService G:\p_source\18F4550\front_v4.1\usbctrltrf.c 330;" f line:330 signature:(void)
25.346 +USBCtrlTrfRxService G:\p_source\18F4550\front_v4.1\usbctrltrf.h 77;" p line:77 signature:(void)
25.347 +USBCtrlTrfSetupHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 133;" f line:133 signature:(void)
25.348 +USBCtrlTrfSetupHandler G:\p_source\18F4550\front_v4.1\usbctrltrf.c 52;" p line:52 file: signature:(void)
25.349 +USBCtrlTrfTxService G:\p_source\18F4550\front_v4.1\usbctrltrf.c 260;" f line:260 signature:(void)
25.350 +USBCtrlTrfTxService G:\p_source\18F4550\front_v4.1\usbctrltrf.h 76;" p line:76 signature:(void)
25.351 +USBDEFS_EP0_BUFF_H G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 41;" d line:41
25.352 +USBDEFS_STD_DSC_H G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 41;" d line:41
25.353 +USBDRV_H G:\p_source\18F4550\front_v4.1\usbdrv.h 38;" d line:38
25.354 +USBDSC_H G:\p_source\18F4550\front_v4.1\usbdsc.h 40;" d line:40
25.355 +USBDriverService G:\p_source\18F4550\front_v4.1\usbdrv.c 215;" f line:215 signature:(void)
25.356 +USBErrorHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 524;" f line:524 signature:(void)
25.357 +USBErrorHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 56;" p line:56 file: signature:(void)
25.358 +USBMMAP_H G:\p_source\18F4550\front_v4.1\usbmmap.h 38;" d line:38
25.359 +USBModuleDisable G:\p_source\18F4550\front_v4.1\usbdrv.c 161;" f line:161 signature:(void)
25.360 +USBModuleDisable G:\p_source\18F4550\front_v4.1\usbdrv.c 48;" p line:48 file: signature:(void)
25.361 +USBModuleEnable G:\p_source\18F4550\front_v4.1\usbdrv.c 135;" f line:135 signature:(void)
25.362 +USBModuleEnable G:\p_source\18F4550\front_v4.1\usbdrv.c 47;" p line:47 file: signature:(void)
25.363 +USBPrepareForNextSetupTrf G:\p_source\18F4550\front_v4.1\usbctrltrf.c 490;" f line:490 signature:(void)
25.364 +USBPrepareForNextSetupTrf G:\p_source\18F4550\front_v4.1\usbctrltrf.h 79;" p line:79 signature:(void)
25.365 +USBProtocolResetHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 53;" p line:53 file: signature:(void)
25.366 +USBProtocolResetHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 551;" f line:551 signature:(void)
25.367 +USBRemoteWakeup G:\p_source\18F4550\front_v4.1\usbdrv.c 404;" f line:404 signature:(void)
25.368 +USBSoftDetach G:\p_source\18F4550\front_v4.1\usbdrv.c 192;" f line:192 signature:(void)
25.369 +USBStallHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 488;" f line:488 signature:(void)
25.370 +USBStallHandler G:\p_source\18F4550\front_v4.1\usbdrv.c 55;" p line:55 file: signature:(void)
25.371 +USBStdFeatureReqHandler G:\p_source\18F4550\front_v4.1\usb9.c 275;" f line:275 signature:(void)
25.372 +USBStdFeatureReqHandler G:\p_source\18F4550\front_v4.1\usb9.c 50;" p line:50 file: signature:(void)
25.373 +USBStdGetDscHandler G:\p_source\18F4550\front_v4.1\usb9.c 136;" f line:136 signature:(void)
25.374 +USBStdGetDscHandler G:\p_source\18F4550\front_v4.1\usb9.c 47;" p line:47 file: signature:(void)
25.375 +USBStdGetStatusHandler G:\p_source\18F4550\front_v4.1\usb9.c 218;" f line:218 signature:(void)
25.376 +USBStdGetStatusHandler G:\p_source\18F4550\front_v4.1\usb9.c 49;" p line:49 file: signature:(void)
25.377 +USBStdSetCfgHandler G:\p_source\18F4550\front_v4.1\usb9.c 180;" f line:180 signature:(void)
25.378 +USBStdSetCfgHandler G:\p_source\18F4550\front_v4.1\usb9.c 48;" p line:48 file: signature:(void)
25.379 +USBSuspend G:\p_source\18F4550\front_v4.1\usbdrv.c 297;" f line:297 signature:(void)
25.380 +USBSuspend G:\p_source\18F4550\front_v4.1\usbdrv.c 50;" p line:50 file: signature:(void)
25.381 +USBTasks G:\p_source\18F4550\front_v4.1\main.c 147;" f line:147 signature:(void)
25.382 +USBTasks G:\p_source\18F4550\front_v4.1\main.c 27;" p line:27 file: signature:(void)
25.383 +USBWakeFromSuspend G:\p_source\18F4550\front_v4.1\usbdrv.c 355;" f line:355 signature:(void)
25.384 +USBWakeFromSuspend G:\p_source\18F4550\front_v4.1\usbdrv.c 51;" p line:51 file: signature:(void)
25.385 +USB_BUS_ATTACHED::1 G:\p_source\18F4550\front_v4.1\usbdrv.c 82;" d line:82 file:
25.386 +USB_BUS_DETACHED::0 G:\p_source\18F4550\front_v4.1\usbdrv.c 83;" d line:83 file:
25.387 +USB_CDC_ACM_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 307;" t line:307
25.388 +USB_CDC_CALL_MGT_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 327;" t line:327
25.389 +USB_CDC_HEADER_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 298;" t line:298
25.390 +USB_CDC_UNION_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 317;" t line:317
25.391 +USB_CD_Ptr G:\p_source\18F4550\front_v4.1\usbdsc.c 258;" v line:258
25.392 +USB_CFG_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 139;" t line:139
25.393 +USB_COMPILE_TIME_VALIDATION_H G:\p_source\18F4550\front_v4.1\usb_compile_time_validation.h 38;" d line:38
25.394 +USB_DEVICE_STATUS G:\p_source\18F4550\front_v4.1\usbmmap.h 78;" t line:78
25.395 +USB_DEV_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 129;" t line:129
25.396 +USB_EP_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 158;" t line:158
25.397 +USB_H G:\p_source\18F4550\front_v4.1\usb.h 37;" d line:37
25.398 +USB_INTF_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 149;" t line:149
25.399 +USB_SD_Ptr G:\p_source\18F4550\front_v4.1\usbdsc.c 259;" v line:259
25.400 +USB_SOF_Handler G:\p_source\18F4550\front_v4.1\usbdrv.c 445;" f line:445 signature:(void)
25.401 +USB_SOF_Handler G:\p_source\18F4550\front_v4.1\usbdrv.c 54;" p line:54 file: signature:(void)
25.402 +USB_USE_CDC G:\p_source\18F4550\front_v4.1\usbcfg.h 49;" d line:49
25.403 +UserInit G:\p_source\18F4550\front_v4.1\user.c 95;" f line:95 signature:(void)
25.404 +UserInit G:\p_source\18F4550\front_v4.1\user.h 33;" p line:33 signature:(void)
25.405 +V25TER::0x01 G:\p_source\18F4550\front_v4.1\cdc.h 74;" d line:74
25.406 +VENDOR::0x02 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 60;" d line:60
25.407 +WAIT_SETUP::0 G:\p_source\18F4550\front_v4.1\usbctrltrf.h 45;" d line:45
25.408 +WORD G:\p_source\18F4550\front_v4.1\typedefs.h 82;" t line:82
25.409 +W_Index G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 81;" m line:81 struct:_CTRL_TRF_SETUP::<anonymous>
25.410 +W_Length G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 82;" m line:82 struct:_CTRL_TRF_SETUP::<anonymous>
25.411 +W_Value G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 80;" m line:80 struct:_CTRL_TRF_SETUP::<anonymous>
25.412 +Wdebug G:\p_source\18F4550\front_v4.1\user.h 38;" p line:38 signature:(unsigned char dat)
25.413 +Word0 G:\p_source\18F4550\front_v4.1\typedefs.h 110;" m line:110 struct:_DWORD::<anonymous>
25.414 +Word1 G:\p_source\18F4550\front_v4.1\typedefs.h 111;" m line:111 struct:_DWORD::<anonymous>
25.415 +Wstring G:\p_source\18F4550\front_v4.1\user.h 39;" p line:39 signature:(unsigned char *dat,unsigned char len)
25.416 +_AD::0x02<<2 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 108;" d line:108
25.417 +_AS::0x01<<2 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 107;" d line:107
25.418 +_BDT G:\p_source\18F4550\front_v4.1\usbmmap.h 110;" u line:110
25.419 +_BD_STAT G:\p_source\18F4550\front_v4.1\usbmmap.h 80;" u line:80
25.420 +_BOOL G:\p_source\18F4550\front_v4.1\typedefs.h 150;" g line:150
25.421 +_BSTALL::0x04 G:\p_source\18F4550\front_v4.1\usbmmap.h 46;" d line:46
25.422 +_BULK::0x02 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 102;" d line:102
25.423 +_BYTE G:\p_source\18F4550\front_v4.1\typedefs.h 44;" u line:44
25.424 +_CONTROL_SIGNAL_BITMAP G:\p_source\18F4550\front_v4.1\cdc.h 278;" u line:278
25.425 +_CTRL::0x00 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 100;" d line:100
25.426 +_CTRL_TRF_DATA G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 179;" u line:179
25.427 +_CTRL_TRF_SETUP G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 59;" u line:59
25.428 +_DAT0::0x00 G:\p_source\18F4550\front_v4.1\usbmmap.h 50;" d line:50
25.429 +_DAT1::0x40 G:\p_source\18F4550\front_v4.1\usbmmap.h 51;" d line:51
25.430 +_DE::0x00<<4 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 112;" d line:112
25.431 +_DEFAULT::0x01<<7 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 95;" d line:95
25.432 +_DTSEN::0x08 G:\p_source\18F4550\front_v4.1\usbmmap.h 47;" d line:47
25.433 +_DTSMASK::0x40 G:\p_source\18F4550\front_v4.1\usbmmap.h 52;" d line:52
25.434 +_DWORD G:\p_source\18F4550\front_v4.1\typedefs.h 86;" u line:86
25.435 +_EP01_IN::0x81 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 64;" d line:64
25.436 +_EP01_OUT::0x01 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 63;" d line:63
25.437 +_EP02_IN::0x82 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 66;" d line:66
25.438 +_EP02_OUT::0x02 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 65;" d line:65
25.439 +_EP03_IN::0x83 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 68;" d line:68
25.440 +_EP03_OUT::0x03 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 67;" d line:67
25.441 +_EP04_IN::0x84 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 70;" d line:70
25.442 +_EP04_OUT::0x04 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 69;" d line:69
25.443 +_EP05_IN::0x85 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 72;" d line:72
25.444 +_EP05_OUT::0x05 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 71;" d line:71
25.445 +_EP06_IN::0x86 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 74;" d line:74
25.446 +_EP06_OUT::0x06 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 73;" d line:73
25.447 +_EP07_IN::0x87 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 76;" d line:76
25.448 +_EP07_OUT::0x07 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 75;" d line:75
25.449 +_EP08_IN::0x88 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 78;" d line:78
25.450 +_EP08_OUT::0x08 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 77;" d line:77
25.451 +_EP09_IN::0x89 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 80;" d line:80
25.452 +_EP09_OUT::0x09 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 79;" d line:79
25.453 +_EP10_IN::0x8A G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 82;" d line:82
25.454 +_EP10_OUT::0x0A G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 81;" d line:81
25.455 +_EP11_IN::0x8B G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 84;" d line:84
25.456 +_EP11_OUT::0x0B G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 83;" d line:83
25.457 +_EP12_IN::0x8C G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 86;" d line:86
25.458 +_EP12_OUT::0x0C G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 85;" d line:85
25.459 +_EP13_IN::0x8D G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 88;" d line:88
25.460 +_EP13_OUT::0x0D G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 87;" d line:87
25.461 +_EP14_IN::0x8E G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 90;" d line:90
25.462 +_EP14_OUT::0x0E G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 89;" d line:89
25.463 +_EP15_IN::0x8F G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 92;" d line:92
25.464 +_EP15_OUT::0x0F G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 91;" d line:91
25.465 +_FE::0x01<<4 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 113;" d line:113
25.466 +_FS::0x04 G:\p_source\18F4550\front_v4.1\usbdrv.h 51;" d line:51
25.467 +_IE::0x02<<4 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 114;" d line:114
25.468 +_INCDIS::0x10 G:\p_source\18F4550\front_v4.1\usbmmap.h 48;" d line:48
25.469 +_INT::0x03 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 103;" d line:103
25.470 +_ISO::0x01 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 101;" d line:101
25.471 +_KEN::0x20 G:\p_source\18F4550\front_v4.1\usbmmap.h 49;" d line:49
25.472 +_LINE_CODING G:\p_source\18F4550\front_v4.1\cdc.h 263;" u line:263
25.473 +_LS::0x00 G:\p_source\18F4550\front_v4.1\usbdrv.h 50;" d line:50
25.474 +_NS::0x00<<2 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 106;" d line:106
25.475 +_OEMON::0x40 G:\p_source\18F4550\front_v4.1\usbdrv.h 55;" d line:55
25.476 +_POINTER G:\p_source\18F4550\front_v4.1\typedefs.h 125;" u line:125
25.477 +_PPBM0::0x00 G:\p_source\18F4550\front_v4.1\usbdrv.h 47;" d line:47
25.478 +_PPBM1::0x01 G:\p_source\18F4550\front_v4.1\usbdrv.h 48;" d line:48
25.479 +_PPBM2::0x02 G:\p_source\18F4550\front_v4.1\usbdrv.h 49;" d line:49
25.480 +_PUEN::0x10 G:\p_source\18F4550\front_v4.1\usbdrv.h 54;" d line:54
25.481 +_RAM::0 G:\p_source\18F4550\front_v4.1\usbmmap.h 66;" d line:66
25.482 +_ROM::1 G:\p_source\18F4550\front_v4.1\usbmmap.h 67;" d line:67
25.483 +_RWU::0x01<<5 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 97;" d line:97
25.484 +_SELF::0x01<<6 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 96;" d line:96
25.485 +_SY::0x03<<2 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 109;" d line:109
25.486 +_TREXT::0x08 G:\p_source\18F4550\front_v4.1\usbdrv.h 53;" d line:53
25.487 +_TRINT::0x00 G:\p_source\18F4550\front_v4.1\usbdrv.h 52;" d line:52
25.488 +_UCPU::0x00 G:\p_source\18F4550\front_v4.1\usbmmap.h 54;" d line:54
25.489 +_USB_CDC_ACM_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 301;" s line:301
25.490 +_USB_CDC_CALL_MGT_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 320;" s line:320
25.491 +_USB_CDC_HEADER_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 292;" s line:292
25.492 +_USB_CDC_UNION_FN_DSC G:\p_source\18F4550\front_v4.1\cdc.h 310;" s line:310
25.493 +_USB_CFG_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 134;" s line:134
25.494 +_USB_DEVICE_STATUS G:\p_source\18F4550\front_v4.1\usbmmap.h 70;" u line:70
25.495 +_USB_DEV_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 122;" s line:122
25.496 +_USB_EP_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 154;" s line:154
25.497 +_USB_INTF_DSC G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 144;" s line:144
25.498 +_USIE::0x80 G:\p_source\18F4550\front_v4.1\usbmmap.h 53;" d line:53
25.499 +_UTEYE::0x80 G:\p_source\18F4550\front_v4.1\usbdrv.h 56;" d line:56
25.500 +_WORD G:\p_source\18F4550\front_v4.1\typedefs.h 60;" u line:60
25.501 +__COMM_H G:\p_source\18F4550\front_v4.1\comm.h 13;" d line:13
25.502 +__INTERRUPT_H G:\p_source\18F4550\front_v4.1\interrupt.h 13;" d line:13
25.503 +__RC5_H G:\p_source\18F4550\front_v4.1\rc5.h 14;" d line:14
25.504 +__USER_H G:\p_source\18F4550\front_v4.1\user.h 13;" d line:13
25.505 +_byte G:\p_source\18F4550\front_v4.1\cdc.h 267;" m line:267 struct:_LINE_CODING::<anonymous>
25.506 +_byte G:\p_source\18F4550\front_v4.1\cdc.h 280;" m line:280 union:_CONTROL_SIGNAL_BITMAP
25.507 +_byte G:\p_source\18F4550\front_v4.1\typedefs.h 46;" m line:46 union:_BYTE
25.508 +_byte G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 184;" m line:184 struct:_CTRL_TRF_DATA::<anonymous>
25.509 +_byte G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 64;" m line:64 struct:_CTRL_TRF_SETUP::<anonymous>
25.510 +_byte G:\p_source\18F4550\front_v4.1\usbmmap.h 72;" m line:72 union:_USB_DEVICE_STATUS
25.511 +_byte G:\p_source\18F4550\front_v4.1\usbmmap.h 82;" m line:82 union:_BD_STAT
25.512 +_byte0 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 190;" m line:190 struct:_CTRL_TRF_DATA::<anonymous>
25.513 +_byte1 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 191;" m line:191 struct:_CTRL_TRF_DATA::<anonymous>
25.514 +_byte2 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 192;" m line:192 struct:_CTRL_TRF_DATA::<anonymous>
25.515 +_byte3 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 193;" m line:193 struct:_CTRL_TRF_DATA::<anonymous>
25.516 +_byte4 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 194;" m line:194 struct:_CTRL_TRF_DATA::<anonymous>
25.517 +_byte5 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 195;" m line:195 struct:_CTRL_TRF_DATA::<anonymous>
25.518 +_byte6 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 196;" m line:196 struct:_CTRL_TRF_DATA::<anonymous>
25.519 +_byte7 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 197;" m line:197 struct:_CTRL_TRF_DATA::<anonymous>
25.520 +_dword G:\p_source\18F4550\front_v4.1\typedefs.h 88;" m line:88 union:_DWORD
25.521 +_reset G:\p_source\18F4550\front_v4.1\main.c 32;" f line:32 signature:(void)
25.522 +_startup G:\p_source\18F4550\front_v4.1\main.c 30;" p line:30 file: signature:(void)
25.523 +_word G:\p_source\18F4550\front_v4.1\typedefs.h 133;" m line:133 union:_POINTER
25.524 +_word G:\p_source\18F4550\front_v4.1\typedefs.h 62;" m line:62 union:_WORD
25.525 +_word0 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 201;" m line:201 struct:_CTRL_TRF_DATA::<anonymous>
25.526 +_word1 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 202;" m line:202 struct:_CTRL_TRF_DATA::<anonymous>
25.527 +_word2 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 203;" m line:203 struct:_CTRL_TRF_DATA::<anonymous>
25.528 +_word3 G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 204;" m line:204 struct:_CTRL_TRF_DATA::<anonymous>
25.529 +b0 G:\p_source\18F4550\front_v4.1\typedefs.h 49;" m line:49 struct:_BYTE::<anonymous>
25.530 +b1 G:\p_source\18F4550\front_v4.1\typedefs.h 50;" m line:50 struct:_BYTE::<anonymous>
25.531 +b2 G:\p_source\18F4550\front_v4.1\typedefs.h 51;" m line:51 struct:_BYTE::<anonymous>
25.532 +b3 G:\p_source\18F4550\front_v4.1\typedefs.h 52;" m line:52 struct:_BYTE::<anonymous>
25.533 +b4 G:\p_source\18F4550\front_v4.1\typedefs.h 53;" m line:53 struct:_BYTE::<anonymous>
25.534 +b5 G:\p_source\18F4550\front_v4.1\typedefs.h 54;" m line:54 struct:_BYTE::<anonymous>
25.535 +b6 G:\p_source\18F4550\front_v4.1\typedefs.h 55;" m line:55 struct:_BYTE::<anonymous>
25.536 +b7 G:\p_source\18F4550\front_v4.1\typedefs.h 56;" m line:56 struct:_BYTE::<anonymous>
25.537 +bAltID G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 133;" m line:133 struct:_CTRL_TRF_SETUP::<anonymous>
25.538 +bAltID_H G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 134;" m line:134 struct:_CTRL_TRF_SETUP::<anonymous>
25.539 +bAltSetting G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 147;" m line:147 struct:_USB_INTF_DSC
25.540 +bCfgRSD G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 123;" m line:123 struct:_CTRL_TRF_SETUP::<anonymous>
25.541 +bCfgValue G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 122;" m line:122 struct:_CTRL_TRF_SETUP::<anonymous>
25.542 +bCfgValue G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 137;" m line:137 struct:_USB_CFG_DSC
25.543 +bCharFormat G:\p_source\18F4550\front_v4.1\cdc.h 272;" m line:272 struct:_LINE_CODING::<anonymous>
25.544 +bDataBits G:\p_source\18F4550\front_v4.1\cdc.h 274;" m line:274 struct:_LINE_CODING::<anonymous>
25.545 +bDataInterface G:\p_source\18F4550\front_v4.1\cdc.h 326;" m line:326 struct:_USB_CDC_CALL_MGT_FN_DSC
25.546 +bDevADR G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 111;" m line:111 struct:_CTRL_TRF_SETUP::<anonymous>
25.547 +bDevADRH G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 112;" m line:112 struct:_CTRL_TRF_SETUP::<anonymous>
25.548 +bDevCls G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 125;" m line:125 struct:_USB_DEV_DSC
25.549 +bDevProtocol G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 125;" m line:125 struct:_USB_DEV_DSC
25.550 +bDevSubCls G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 125;" m line:125 struct:_USB_DEV_DSC
25.551 +bDscIndex G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 101;" m line:101 struct:_CTRL_TRF_SETUP::<anonymous>
25.552 +bDscSubType G:\p_source\18F4550\front_v4.1\cdc.h 296;" m line:296 struct:_USB_CDC_HEADER_FN_DSC
25.553 +bDscSubType G:\p_source\18F4550\front_v4.1\cdc.h 305;" m line:305 struct:_USB_CDC_ACM_FN_DSC
25.554 +bDscSubType G:\p_source\18F4550\front_v4.1\cdc.h 314;" m line:314 struct:_USB_CDC_UNION_FN_DSC
25.555 +bDscSubType G:\p_source\18F4550\front_v4.1\cdc.h 324;" m line:324 struct:_USB_CDC_CALL_MGT_FN_DSC
25.556 +bDscType G:\p_source\18F4550\front_v4.1\cdc.h 295;" m line:295 struct:_USB_CDC_HEADER_FN_DSC
25.557 +bDscType G:\p_source\18F4550\front_v4.1\cdc.h 304;" m line:304 struct:_USB_CDC_ACM_FN_DSC
25.558 +bDscType G:\p_source\18F4550\front_v4.1\cdc.h 313;" m line:313 struct:_USB_CDC_UNION_FN_DSC
25.559 +bDscType G:\p_source\18F4550\front_v4.1\cdc.h 323;" m line:323 struct:_USB_CDC_CALL_MGT_FN_DSC
25.560 +bDscType G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 102;" m line:102 struct:_CTRL_TRF_SETUP::<anonymous>
25.561 +bDscType G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 124;" m line:124 struct:_USB_DEV_DSC
25.562 +bDscType G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 136;" m line:136 struct:_USB_CFG_DSC
25.563 +bDscType G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 146;" m line:146 struct:_USB_INTF_DSC
25.564 +bDscType G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 156;" m line:156 struct:_USB_EP_DSC
25.565 +bDscType G:\p_source\18F4550\front_v4.1\usbdsc.c 247;" m line:247 file:
25.566 +bDscType G:\p_source\18F4550\front_v4.1\usbdsc.c 250;" m line:250 file:
25.567 +bDscType G:\p_source\18F4550\front_v4.1\usbdsc.c 254;" m line:254 file:
25.568 +bEPAdr G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 156;" m line:156 struct:_USB_EP_DSC
25.569 +bEPID G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 146;" m line:146 struct:_CTRL_TRF_SETUP::<anonymous>
25.570 +bEPID_H G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 147;" m line:147 struct:_CTRL_TRF_SETUP::<anonymous>
25.571 +bFNLength G:\p_source\18F4550\front_v4.1\cdc.h 294;" m line:294 struct:_USB_CDC_HEADER_FN_DSC
25.572 +bFNLength G:\p_source\18F4550\front_v4.1\cdc.h 303;" m line:303 struct:_USB_CDC_ACM_FN_DSC
25.573 +bFNLength G:\p_source\18F4550\front_v4.1\cdc.h 312;" m line:312 struct:_USB_CDC_UNION_FN_DSC
25.574 +bFNLength G:\p_source\18F4550\front_v4.1\cdc.h 322;" m line:322 struct:_USB_CDC_CALL_MGT_FN_DSC
25.575 +bFeature G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 90;" m line:90 struct:_CTRL_TRF_SETUP::<anonymous>
25.576 +bHigh G:\p_source\18F4550\front_v4.1\typedefs.h 130;" m line:130 struct:_POINTER::<anonymous>
25.577 +bInterval G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 157;" m line:157 struct:_USB_EP_DSC
25.578 +bIntfCls G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 147;" m line:147 struct:_USB_INTF_DSC
25.579 +bIntfID G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 135;" m line:135 struct:_CTRL_TRF_SETUP::<anonymous>
25.580 +bIntfID_H G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 136;" m line:136 struct:_CTRL_TRF_SETUP::<anonymous>
25.581 +bIntfNum G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 146;" m line:146 struct:_USB_INTF_DSC
25.582 +bIntfProtocol G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 148;" m line:148 struct:_USB_INTF_DSC
25.583 +bIntfSubCls G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 148;" m line:148 struct:_USB_INTF_DSC
25.584 +bKeys1 G:\p_source\18F4550\front_v4.1\user.c 91;" v line:91
25.585 +bLength G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 124;" m line:124 struct:_USB_DEV_DSC
25.586 +bLength G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 136;" m line:136 struct:_USB_CFG_DSC
25.587 +bLength G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 146;" m line:146 struct:_USB_INTF_DSC
25.588 +bLength G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 156;" m line:156 struct:_USB_EP_DSC
25.589 +bLength G:\p_source\18F4550\front_v4.1\usbdsc.c 247;" m line:247 file:
25.590 +bLength G:\p_source\18F4550\front_v4.1\usbdsc.c 250;" m line:250 file:
25.591 +bLength G:\p_source\18F4550\front_v4.1\usbdsc.c 254;" m line:254 file:
25.592 +bLow G:\p_source\18F4550\front_v4.1\typedefs.h 129;" m line:129 struct:_POINTER::<anonymous>
25.593 +bMasterIntf G:\p_source\18F4550\front_v4.1\cdc.h 315;" m line:315 struct:_USB_CDC_UNION_FN_DSC
25.594 +bMaxPktSize0 G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 126;" m line:126 struct:_USB_DEV_DSC
25.595 +bMaxPower G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 138;" m line:138 struct:_USB_CFG_DSC
25.596 +bNumCfg G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 128;" m line:128 struct:_USB_DEV_DSC
25.597 +bNumEPs G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 147;" m line:147 struct:_USB_INTF_DSC
25.598 +bNumIntf G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 137;" m line:137 struct:_USB_CFG_DSC
25.599 +bParityType G:\p_source\18F4550\front_v4.1\cdc.h 273;" m line:273 struct:_LINE_CODING::<anonymous>
25.600 +bRam G:\p_source\18F4550\front_v4.1\typedefs.h 137;" m line:137 union:_POINTER
25.601 +bRequest G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 71;" m line:71 struct:_CTRL_TRF_SETUP::<anonymous>
25.602 +bRom G:\p_source\18F4550\front_v4.1\typedefs.h 142;" m line:142 union:_POINTER
25.603 +bSaveIntf0 G:\p_source\18F4550\front_v4.1\cdc.h 316;" m line:316 struct:_USB_CDC_UNION_FN_DSC
25.604 +bcdCDC G:\p_source\18F4550\front_v4.1\cdc.h 297;" m line:297 struct:_USB_CDC_HEADER_FN_DSC
25.605 +bcdDevice G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 127;" m line:127 struct:_USB_DEV_DSC
25.606 +bcdUSB G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 124;" m line:124 struct:_USB_DEV_DSC
25.607 +bitmapfont G:\p_source\18F4550\front_v4.1\user.c 29;" v line:29
25.608 +bmAttributes G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 138;" m line:138 struct:_USB_CFG_DSC
25.609 +bmAttributes G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 157;" m line:157 struct:_USB_EP_DSC
25.610 +bmCapabilities G:\p_source\18F4550\front_v4.1\cdc.h 306;" m line:306 struct:_USB_CDC_ACM_FN_DSC
25.611 +bmCapabilities G:\p_source\18F4550\front_v4.1\cdc.h 325;" m line:325 struct:_USB_CDC_CALL_MGT_FN_DSC
25.612 +bmRequestType G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 70;" m line:70 struct:_CTRL_TRF_SETUP::<anonymous>
25.613 +by G:\p_source\18F4550\front_v4.1\T6963.c 130;" l line:130
25.614 +by G:\p_source\18F4550\front_v4.1\T6963.c 96;" l line:96
25.615 +byte G:\p_source\18F4550\front_v4.1\typedefs.h 40;" t line:40
25.616 +byte0 G:\p_source\18F4550\front_v4.1\typedefs.h 65;" m line:65 struct:_WORD::<anonymous>
25.617 +byte0 G:\p_source\18F4550\front_v4.1\typedefs.h 91;" m line:91 struct:_DWORD::<anonymous>
25.618 +byte1 G:\p_source\18F4550\front_v4.1\typedefs.h 66;" m line:66 struct:_WORD::<anonymous>
25.619 +byte1 G:\p_source\18F4550\front_v4.1\typedefs.h 92;" m line:92 struct:_DWORD::<anonymous>
25.620 +byte2 G:\p_source\18F4550\front_v4.1\typedefs.h 93;" m line:93 struct:_DWORD::<anonymous>
25.621 +byte3 G:\p_source\18F4550\front_v4.1\typedefs.h 94;" m line:94 struct:_DWORD::<anonymous>
25.622 +byte_to_read G:\p_source\18F4550\front_v4.1\usbctrltrf.c 332;" l line:332
25.623 +byte_to_send G:\p_source\18F4550\front_v4.1\cdc.c 450;" l line:450
25.624 +byte_to_send G:\p_source\18F4550\front_v4.1\usbctrltrf.c 262;" l line:262
25.625 +c G:\p_source\18F4550\front_v4.1\interrupt.c 26;" v line:26
25.626 +cd01 G:\p_source\18F4550\front_v4.1\usbdsc.h 55;" v line:55
25.627 +cdc_acm_fn_i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 58;" v line:58
25.628 +cdc_call_mgt_fn_i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 60;" v line:60
25.629 +cdc_data_rx G:\p_source\18F4550\front_v4.1\usbmmap.c 279;" v line:279
25.630 +cdc_data_tx G:\p_source\18F4550\front_v4.1\usbmmap.c 280;" v line:280
25.631 +cdc_header_fn_i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 57;" v line:57
25.632 +cdc_mem_type G:\p_source\18F4550\front_v4.1\cdc.c 52;" v line:52
25.633 +cdc_notice G:\p_source\18F4550\front_v4.1\usbmmap.c 278;" v line:278
25.634 +cdc_rx_len G:\p_source\18F4550\front_v4.1\cdc.c 46;" v line:46
25.635 +cdc_trf_state G:\p_source\18F4550\front_v4.1\cdc.c 48;" v line:48
25.636 +cdc_tx_len G:\p_source\18F4550\front_v4.1\cdc.c 51;" v line:51
25.637 +cdc_union_fn_i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 59;" v line:59
25.638 +comm_send_ack G:\p_source\18F4550\front_v4.1\comm.c 31;" p line:31 file: signature:(void)
25.639 +comm_send_data G:\p_source\18F4550\front_v4.1\comm.c 30;" p line:30 file: signature:(unsigned char *data, unsigned char numbytes)
25.640 +comm_send_ir G:\p_source\18F4550\front_v4.1\comm.h 17;" p line:17 signature:(unsigned char address, unsigned char command)
25.641 +comm_send_nack G:\p_source\18F4550\front_v4.1\comm.c 32;" p line:32 file: signature:(void)
25.642 +comm_send_nimp G:\p_source\18F4550\front_v4.1\comm.c 33;" p line:33 file: signature:(void)
25.643 +control_signal_bitmap G:\p_source\18F4550\front_v4.1\cdc.c 55;" v line:55
25.644 +ctrl_trf_mem G:\p_source\18F4550\front_v4.1\usbmmap.h 76;" m line:76 struct:_USB_DEVICE_STATUS::<anonymous>
25.645 +ctrl_trf_session_owner G:\p_source\18F4550\front_v4.1\usbctrltrf.c 45;" v line:45
25.646 +ctrl_trf_state G:\p_source\18F4550\front_v4.1\usbctrltrf.c 44;" v line:44
25.647 +dKeys1 G:\p_source\18F4550\front_v4.1\user.c 90;" v line:90
25.648 +dKeys2 G:\p_source\18F4550\front_v4.1\user.c 90;" v line:90
25.649 +data G:\p_source\18F4550\front_v4.1\myi2c.c 41;" l line:41
25.650 +delay_count G:\p_source\18F4550\front_v4.1\usbdrv.c 406;" l line:406 file:
25.651 +device_dsc G:\p_source\18F4550\front_v4.1\usbdsc.c 180;" v line:180
25.652 +dummy_encapsulated_cmd_response G:\p_source\18F4550\front_v4.1\cdc.c 64;" v line:64
25.653 +dummy_length::0x08 G:\p_source\18F4550\front_v4.1\cdc.c 63;" d line:63 file:
25.654 +dwDTERate G:\p_source\18F4550\front_v4.1\cdc.h 271;" m line:271 struct:_LINE_CODING::<anonymous>
25.655 +dword G:\p_source\18F4550\front_v4.1\typedefs.h 42;" t line:42
25.656 +ep02i_i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 61;" v line:61
25.657 +ep03i_i02a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 64;" v line:64
25.658 +ep03o_i02a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 63;" v line:63
25.659 +ep0Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 175;" v line:175
25.660 +ep0Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 174;" v line:174
25.661 +ep10Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 225;" v line:225
25.662 +ep10Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 224;" v line:224
25.663 +ep11Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 230;" v line:230
25.664 +ep11Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 229;" v line:229
25.665 +ep12Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 235;" v line:235
25.666 +ep12Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 234;" v line:234
25.667 +ep13Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 240;" v line:240
25.668 +ep13Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 239;" v line:239
25.669 +ep14Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 245;" v line:245
25.670 +ep14Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 244;" v line:244
25.671 +ep15Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 250;" v line:250
25.672 +ep15Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 249;" v line:249
25.673 +ep1Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 180;" v line:180
25.674 +ep1Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 179;" v line:179
25.675 +ep2Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 185;" v line:185
25.676 +ep2Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 184;" v line:184
25.677 +ep3Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 190;" v line:190
25.678 +ep3Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 189;" v line:189
25.679 +ep4Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 195;" v line:195
25.680 +ep4Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 194;" v line:194
25.681 +ep5Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 200;" v line:200
25.682 +ep5Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 199;" v line:199
25.683 +ep6Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 205;" v line:205
25.684 +ep6Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 204;" v line:204
25.685 +ep7Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 210;" v line:210
25.686 +ep7Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 209;" v line:209
25.687 +ep8Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 215;" v line:215
25.688 +ep8Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 214;" v line:214
25.689 +ep9Bi G:\p_source\18F4550\front_v4.1\usbmmap.c 220;" v line:220
25.690 +ep9Bo G:\p_source\18F4550\front_v4.1\usbmmap.c 219;" v line:219
25.691 +getsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.c 239;" f line:239 signature:(char *buffer, byte len)
25.692 +getsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.h 340;" p line:340 signature:(char *buffer, byte len)
25.693 +gg_ioflags G:\p_source\18F4550\front_v4.1\user.c 84;" v line:84
25.694 +gg_ir G:\p_source\18F4550\front_v4.1\rc5.c 23;" v line:23
25.695 +gg_ir_address G:\p_source\18F4550\front_v4.1\rc5.c 24;" v line:24
25.696 +gg_keys G:\p_source\18F4550\front_v4.1\user.c 83;" v line:83
25.697 +gg_mode G:\p_source\18F4550\front_v4.1\user.c 86;" v line:86
25.698 +gg_pwm1dc G:\p_source\18F4550\front_v4.1\user.c 85;" v line:85
25.699 +high_isr G:\p_source\18F4550\front_v4.1\interrupt.h 18;" p line:18 signature:(void)
25.700 +i G:\p_source\18F4550\front_v4.1\T6963.c 29;" l line:29
25.701 +i G:\p_source\18F4550\front_v4.1\comm.c 42;" l line:42
25.702 +i G:\p_source\18F4550\front_v4.1\main.c 43;" l line:43
25.703 +i G:\p_source\18F4550\front_v4.1\usbctrltrf.c 135;" l line:135
25.704 +i01a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 56;" v line:56
25.705 +i02a00 G:\p_source\18F4550\front_v4.1\usbdsc.h 62;" v line:62
25.706 +iCfg G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 137;" m line:137 struct:_USB_CFG_DSC
25.707 +iIntf G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 148;" m line:148 struct:_USB_INTF_DSC
25.708 +iMFR G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 127;" m line:127 struct:_USB_DEV_DSC
25.709 +iProduct G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 127;" m line:127 struct:_USB_DEV_DSC
25.710 +iSerialNum G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 128;" m line:128 struct:_USB_DEV_DSC
25.711 +idProduct G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 126;" m line:126 struct:_USB_DEV_DSC
25.712 +idVendor G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 126;" m line:126 struct:_USB_DEV_DSC
25.713 +input G:\p_source\18F4550\front_v4.1\comm.c 41;" l line:41
25.714 +interrupt_at_high_vector G:\p_source\18F4550\front_v4.1\interrupt.c 31;" f line:31 signature:(void)
25.715 +lcd_CheckBusy G:\p_source\18F4550\front_v4.1\T6963.c 94;" f line:94 signature:(void)
25.716 +lcd_ClearScreen G:\p_source\18F4550\front_v4.1\T6963.c 27;" f line:27 signature:(void)
25.717 +lcd_ClearScreen G:\p_source\18F4550\front_v4.1\T6963.h 23;" p line:23 signature:(void)
25.718 +lcd_InitDisplay G:\p_source\18F4550\front_v4.1\T6963.c 54;" f line:54 signature:(void)
25.719 +lcd_InitDisplay G:\p_source\18F4550\front_v4.1\T6963.h 22;" p line:22 signature:(void)
25.720 +lcd_SetAutomode G:\p_source\18F4550\front_v4.1\T6963.c 128;" f line:128 signature:(unsigned char mode)
25.721 +lcd_SetAutomode G:\p_source\18F4550\front_v4.1\T6963.h 25;" p line:25 signature:(unsigned char mode)
25.722 +lcd_WriteByte G:\p_source\18F4550\front_v4.1\T6963.c 167;" f line:167 signature:(unsigned char dat)
25.723 +lcd_WriteByte G:\p_source\18F4550\front_v4.1\T6963.h 24;" p line:24 signature:(unsigned char dat)
25.724 +lcd_WriteCommand G:\p_source\18F4550\front_v4.1\T6963.c 157;" f line:157 signature:(unsigned char comand)
25.725 +lcd_WriteCommand G:\p_source\18F4550\front_v4.1\T6963.h 26;" p line:26 signature:(unsigned char comand)
25.726 +lcd_WriteData G:\p_source\18F4550\front_v4.1\T6963.c 147;" f line:147 signature:(unsigned char dat)
25.727 +lcd_WriteData G:\p_source\18F4550\front_v4.1\T6963.h 27;" p line:27 signature:(unsigned char comand)
25.728 +lcd_auto_mode G:\p_source\18F4550\front_v4.1\T6963.c 23;" v line:23
25.729 +lcd_checkBusy G:\p_source\18F4550\front_v4.1\T6963.c 20;" p line:20 file: signature:(void)
25.730 +len G:\p_source\18F4550\front_v4.1\cdc.c 298;" l line:298
25.731 +len G:\p_source\18F4550\front_v4.1\cdc.c 379;" l line:379
25.732 +len G:\p_source\18F4550\front_v4.1\comm.c 40;" l line:40
25.733 +line_coding G:\p_source\18F4550\front_v4.1\cdc.c 54;" v line:54
25.734 +low_isr G:\p_source\18F4550\front_v4.1\interrupt.h 17;" p line:17 signature:(void)
25.735 +mCDCGetRxLength::cdc_rx_len G:\p_source\18F4550\front_v4.1\cdc.h 186;" d line:186
25.736 +mCDCUsartRxIsBusy::CDC_BULK_BD_OUT.Stat.UOWN G:\p_source\18F4550\front_v4.1\cdc.h 148;" d line:148
25.737 +mCDCUsartTxIsBusy::CDC_BULK_BD_IN.Stat.UOWN G:\p_source\18F4550\front_v4.1\cdc.h 167;" d line:167
25.738 +mInitPortB::TRISB=0x00;LATB=0xFF; G:\p_source\18F4550\front_v4.1\io_cfg.h 39;" d line:39
25.739 +mInitializeUSBDriver::{UCFG=UCFG_VAL;\ G:\p_source\18F4550\front_v4.1\usbdrv.h 135;" d line:135
25.740 +mLcdDataDirIn::TRISD=0xFF G:\p_source\18F4550\front_v4.1\io_cfg.h 62;" d line:62
25.741 +mLcdDataDirOut::TRISD=0x00 G:\p_source\18F4550\front_v4.1\io_cfg.h 63;" d line:63
25.742 +mLcdInitCtrl::D_WR=1;D_RD=1;D_CD=0;TRISE=0x0 G:\p_source\18F4550\front_v4.1\io_cfg.h 60;" d line:60
25.743 +mLcdReadData::PORTD G:\p_source\18F4550\front_v4.1\io_cfg.h 65;" d line:65
25.744 +mLcdWriteData::(a)PORTD=(a) G:\p_source\18F4550\front_v4.1\io_cfg.h 64;" d line:64
25.745 +mUSBCheckAdrPendingState::if(usb_device_state==ADR_PENDI G:\p_source\18F4550\front_v4.1\usb9.h 80;" d line:80
25.746 +mUSBUSARTIsTxTrfReady::(cdc_trf_state==CDC_TX_READY) G:\p_source\18F4550\front_v4.1\cdc.h 129;" d line:129
25.747 +mUSBUSARTTxRam::(pData,len)\ G:\p_source\18F4550\front_v4.1\cdc.h 215;" d line:215
25.748 +mUSBUSARTTxRom::(pData,len)\ G:\p_source\18F4550\front_v4.1\cdc.h 250;" d line:250
25.749 +main G:\p_source\18F4550\front_v4.1\main.c 41;" f line:41 signature:(void)
25.750 +myi2c_h G:\p_source\18F4550\front_v4.1\myi2c.h 14;" d line:14
25.751 +nKeys1 G:\p_source\18F4550\front_v4.1\user.c 88;" v line:88
25.752 +nKeys2 G:\p_source\18F4550\front_v4.1\user.c 88;" v line:88
25.753 +oKeys1 G:\p_source\18F4550\front_v4.1\user.c 89;" v line:89
25.754 +oKeys2 G:\p_source\18F4550\front_v4.1\user.c 89;" v line:89
25.755 +pCDCDst G:\p_source\18F4550\front_v4.1\cdc.c 50;" v line:50
25.756 +pCDCSrc G:\p_source\18F4550\front_v4.1\cdc.c 49;" v line:49
25.757 +pDst G:\p_source\18F4550\front_v4.1\usbctrltrf.c 48;" v line:48
25.758 +pFunc G:\p_source\18F4550\front_v4.1\typedefs.h 123;" t line:123
25.759 +pSrc G:\p_source\18F4550\front_v4.1\usbctrltrf.c 47;" v line:47
25.760 +pcf8574A_1::0x40 G:\p_source\18F4550\front_v4.1\io_cfg.h 83;" d line:83
25.761 +pcf8574A_2::0x42 G:\p_source\18F4550\front_v4.1\io_cfg.h 84;" d line:84
25.762 +pcf8583::0xA0 G:\p_source\18F4550\front_v4.1\io_cfg.h 82;" d line:82
25.763 +pulse G:\p_source\18F4550\front_v4.1\rc5.c 51;" l line:51
25.764 +putrsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.c 377;" f line:377 signature:(const rom char *data)
25.765 +putrsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.h 341;" p line:341 signature:(const rom char *data)
25.766 +putsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.c 296;" f line:296 signature:(char *data)
25.767 +putsUSBUSART G:\p_source\18F4550\front_v4.1\cdc.h 342;" p line:342 signature:(char *data)
25.768 +putstringI2C G:\p_source\18F4550\front_v4.1\myi2c.c 197;" f line:197 signature:( unsigned char *wrptr )
25.769 +putstringI2C G:\p_source\18F4550\front_v4.1\myi2c.h 16;" p line:16 signature:( unsigned char *)
25.770 +rc5_decode G:\p_source\18F4550\front_v4.1\rc5.c 48;" f line:48 signature:(void)
25.771 +rc5_decode G:\p_source\18F4550\front_v4.1\rc5.h 37;" p line:37 signature:(void)
25.772 +rc5_init G:\p_source\18F4550\front_v4.1\rc5.c 27;" f line:27 signature:(void)
25.773 +rc5_init G:\p_source\18F4550\front_v4.1\rc5.h 36;" p line:36 signature:(void)
25.774 +rc5_receive_buffer G:\p_source\18F4550\front_v4.1\rc5.c 22;" v line:22
25.775 +rc5_scrap G:\p_source\18F4550\front_v4.1\rc5.c 137;" f line:137 signature:(void)
25.776 +rc5_scrap G:\p_source\18F4550\front_v4.1\rc5.h 38;" p line:38 signature:(void)
25.777 +rc5_status G:\p_source\18F4550\front_v4.1\rc5.c 21;" v line:21
25.778 +sd000 G:\p_source\18F4550\front_v4.1\usbdsc.c 247;" v line:247
25.779 +sd001 G:\p_source\18F4550\front_v4.1\usbdsc.c 250;" v line:250
25.780 +sd002 G:\p_source\18F4550\front_v4.1\usbdsc.c 254;" v line:254
25.781 +self_power::1 G:\p_source\18F4550\front_v4.1\io_cfg.h 19;" d line:19
25.782 +string G:\p_source\18F4550\front_v4.1\usbdsc.c 247;" m line:247 file:
25.783 +string G:\p_source\18F4550\front_v4.1\usbdsc.c 250;" m line:250 file:
25.784 +string G:\p_source\18F4550\front_v4.1\usbdsc.c 254;" m line:254 file:
25.785 +t6963_h G:\p_source\18F4550\front_v4.1\T6963.h 13;" d line:13
25.786 +tmr0 G:\p_source\18F4550\front_v4.1\rc5.c 50;" l line:50
25.787 +usb_active_cfg G:\p_source\18F4550\front_v4.1\usbmmap.c 159;" v line:159
25.788 +usb_alt_intf G:\p_source\18F4550\front_v4.1\usbmmap.c 160;" v line:160
25.789 +usb_bus_sense::1 G:\p_source\18F4550\front_v4.1\io_cfg.h 18;" d line:18
25.790 +usb_device_state G:\p_source\18F4550\front_v4.1\usbmmap.c 157;" v line:157
25.791 +usb_stat G:\p_source\18F4550\front_v4.1\usbmmap.c 158;" v line:158
25.792 +v G:\p_source\18F4550\front_v4.1\typedefs.h 115;" m line:115 struct:_DWORD::<anonymous>
25.793 +v G:\p_source\18F4550\front_v4.1\typedefs.h 80;" m line:80 struct:_WORD::<anonymous>
25.794 +wCount G:\p_source\18F4550\front_v4.1\usbctrltrf.c 49;" v line:49
25.795 +wIndex G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 73;" m line:73 struct:_CTRL_TRF_SETUP::<anonymous>
25.796 +wLangID G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 103;" m line:103 struct:_CTRL_TRF_SETUP::<anonymous>
25.797 +wLength G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 74;" m line:74 struct:_CTRL_TRF_SETUP::<anonymous>
25.798 +wMaxPktSize G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 157;" m line:157 struct:_USB_EP_DSC
25.799 +wRam G:\p_source\18F4550\front_v4.1\typedefs.h 139;" m line:139 union:_POINTER
25.800 +wRom G:\p_source\18F4550\front_v4.1\typedefs.h 143;" m line:143 union:_POINTER
25.801 +wTotalLength G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h 136;" m line:136 struct:_USB_CFG_DSC
25.802 +wValue G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h 72;" m line:72 struct:_CTRL_TRF_SETUP::<anonymous>
25.803 +word G:\p_source\18F4550\front_v4.1\typedefs.h 41;" t line:41
25.804 +word0 G:\p_source\18F4550\front_v4.1\typedefs.h 98;" m line:98 struct:_DWORD::<anonymous>
25.805 +word1 G:\p_source\18F4550\front_v4.1\typedefs.h 99;" m line:99 struct:_DWORD::<anonymous>
25.806 +x G:\p_source\18F4550\front_v4.1\myi2c.c 200;" l line:200
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
26.2 +++ b/firmware/front_4.1.project.tagsrc Tue Jan 29 22:31:52 2008 +0100
26.3 @@ -0,0 +1,35 @@
26.4 +G:\p_source\18F4550\front_v4.1\cdc.c
26.5 +G:\p_source\18F4550\front_v4.1\delay.c
26.6 +G:\p_source\18F4550\front_v4.1\interrupt.c
26.7 +G:\p_source\18F4550\front_v4.1\main.c
26.8 +G:\p_source\18F4550\front_v4.1\usb9.c
26.9 +G:\p_source\18F4550\front_v4.1\usbctrltrf.c
26.10 +G:\p_source\18F4550\front_v4.1\usbdrv.c
26.11 +G:\p_source\18F4550\front_v4.1\usbdsc.c
26.12 +G:\p_source\18F4550\front_v4.1\usbmmap.c
26.13 +G:\p_source\18F4550\front_v4.1\user.c
26.14 +G:\p_source\18F4550\front_v4.1\T6963.c
26.15 +G:\p_source\18F4550\front_v4.1\myi2c.c
26.16 +G:\p_source\18F4550\front_v4.1\rc5.c
26.17 +G:\p_source\18F4550\front_v4.1\comm.c
26.18 +G:\p_source\18F4550\front_v4.1\config.asm
26.19 +G:\p_source\18F4550\front_v4.1\cdc.h
26.20 +G:\p_source\18F4550\front_v4.1\user.h
26.21 +G:\p_source\18F4550\front_v4.1\delay.h
26.22 +G:\p_source\18F4550\front_v4.1\interrupt.h
26.23 +G:\p_source\18F4550\front_v4.1\io_cfg.h
26.24 +G:\p_source\18F4550\front_v4.1\typedefs.h
26.25 +G:\p_source\18F4550\front_v4.1\usb9.h
26.26 +G:\p_source\18F4550\front_v4.1\usb.h
26.27 +G:\p_source\18F4550\front_v4.1\usb_compile_time_validation.h
26.28 +G:\p_source\18F4550\front_v4.1\usbcfg.h
26.29 +G:\p_source\18F4550\front_v4.1\usbctrltrf.h
26.30 +G:\p_source\18F4550\front_v4.1\usbdefs_ep0_buff.h
26.31 +G:\p_source\18F4550\front_v4.1\usbdefs_std_dsc.h
26.32 +G:\p_source\18F4550\front_v4.1\usbdrv.h
26.33 +G:\p_source\18F4550\front_v4.1\usbdsc.h
26.34 +G:\p_source\18F4550\front_v4.1\usbmmap.h
26.35 +G:\p_source\18F4550\front_v4.1\T6963.h
26.36 +G:\p_source\18F4550\front_v4.1\myi2c.h
26.37 +G:\p_source\18F4550\front_v4.1\rc5.h
26.38 +G:\p_source\18F4550\front_v4.1\comm.h
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
27.2 +++ b/firmware/interrupt.c Tue Jan 29 22:31:52 2008 +0100
27.3 @@ -0,0 +1,98 @@
27.4 +/*
27.5 + * Project Frontplatte
27.6 + *
27.7 + * interrupt.c - handle interrupts
27.8 + *
27.9 + * This file is released under the GNU General Public License. Refer
27.10 + * to the COPYING file distributed with this package.
27.11 + *
27.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
27.13 + */
27.14 +
27.15 +
27.16 +
27.17 +#include <p18cxxx.h>
27.18 +#include "interrupt.h"
27.19 +
27.20 +
27.21 +#include "rc5.h"
27.22 +#include "myi2c.h"
27.23 +#include "user.h"
27.24 +#include "io_cfg.h"
27.25 +#include "delay.h"
27.26 +
27.27 +
27.28 +/** V A R I A B L E S **********************************************/
27.29 +unsigned char c;
27.30 +
27.31 +
27.32 +/** I N T E R R U P T V E C T O R S *****************************************/
27.33 +#pragma code high_vector=0x0808 //(0x0808)
27.34 +void interrupt_at_high_vector(void)
27.35 +{
27.36 + _asm goto high_isr _endasm
27.37 +}
27.38 +#pragma code
27.39 +
27.40 +#pragma code low_vector=0x0818 //(0x0818)
27.41 +void interrupt_at_low_vector(void)
27.42 +{
27.43 + _asm goto low_isr _endasm
27.44 +}
27.45 +#pragma code
27.46 +
27.47 +
27.48 +/** C O D E ******************************************************************/
27.49 +#pragma interrupt high_isr
27.50 +void high_isr(void)
27.51 +{
27.52 +
27.53 +/* Timer0 */
27.54 + if (INTCONbits.TMR0IF)
27.55 + {
27.56 + INTCONbits.TMR0IF = 0; // clear flag
27.57 + rc5_scrap();
27.58 + }
27.59 +
27.60 +/* Infrared Interrupt */
27.61 + if (INTCON3bits.INT2IF)
27.62 + {
27.63 + rc5_decode();
27.64 +
27.65 + INTCON3bits.INT2IF = 0; // clear flag
27.66 + INTCON2bits.INTEDG2 = !INTCON2bits.INTEDG2; // toogle edge detect...
27.67 + }
27.68 +}
27.69 +
27.70 +#pragma interruptlow low_isr
27.71 +void low_isr(void)
27.72 +{
27.73 +/* I2C Interrupt Line */
27.74 + INTCONbits.GIEL = 0;
27.75 +
27.76 + if (INTCONbits.RBIF) // i2c_int
27.77 + {
27.78 + PORTB = PORTB; // end mismatch condition... (see page 114)
27.79 + INTCONbits.RBIF = 0; // then clear the flag!
27.80 +
27.81 +
27.82 + if (PIN_I2C_INT == 0) // ignore falling edge
27.83 + {
27.84 + gg_ioflags |= FLAG_I2C;
27.85 + }
27.86 + } // end of i2c-int
27.87 +
27.88 + if (PIR2bits.TMR3IF)
27.89 + {
27.90 + PIR2bits.TMR3IF = 0;
27.91 + c++;
27.92 + if (c > 0x08)
27.93 + {
27.94 + c = 0x00;
27.95 + gg_ioflags |= FLAG_COUNTER;
27.96 + }
27.97 + }
27.98 +
27.99 + INTCONbits.GIEL = 1;
27.100 +}
27.101 +#pragma code
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
28.2 +++ b/firmware/interrupt.h Tue Jan 29 22:31:52 2008 +0100
28.3 @@ -0,0 +1,24 @@
28.4 +/*
28.5 + * Project Frontplatte
28.6 + *
28.7 + * interrupt.h - handle interrupts
28.8 + *
28.9 + * This file is released under the GNU General Public License. Refer
28.10 + * to the COPYING file distributed with this package.
28.11 + *
28.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
28.13 + */
28.14 +
28.15 +#ifndef __INTERRUPT_H
28.16 +#define __INTERRUPT_H
28.17 +
28.18 +
28.19 +/** P R O T O T Y P E S ******************************************************/
28.20 +void low_isr(void);
28.21 +void high_isr(void);
28.22 +
28.23 +#endif //INTERRUPT_H
28.24 +
28.25 +
28.26 +
28.27 +
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
29.2 +++ b/firmware/io_cfg.h Tue Jan 29 22:31:52 2008 +0100
29.3 @@ -0,0 +1,153 @@
29.4 +/*
29.5 + * Project Frontplatte
29.6 + *
29.7 + * io_cfg.h - Pinmappings and naming
29.8 + *
29.9 + * This file is released under the GNU General Public License. Refer
29.10 + * to the COPYING file distributed with this package.
29.11 + *
29.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
29.13 + */
29.14 +
29.15 +#ifndef IO_CFG_H
29.16 +#define IO_CFG_H
29.17 +
29.18 +#define FW_VERSION 0x04
29.19 +
29.20 +/** U S B ***********************************************************/
29.21 +#define usb_bus_sense 1
29.22 +#define self_power 1
29.23 +
29.24 +
29.25 +/** P O R T A P I N S *********************************************/
29.26 +// PortA is not used yet...
29.27 +
29.28 +
29.29 +/** P O R T B P I N S *********************************************/
29.30 +// RB0 & RB1 -> I2C (MSSP-Module)
29.31 +#define PIN_IR PORTBbits.RB2
29.32 +#define PIN_POWER LATBbits.LATB3
29.33 +#define PIN_I2C_INT PORTBbits.RB4
29.34 +// RB5 has no connection
29.35 +// RB6 & RB7 -> ISCP
29.36 +
29.37 +#define DDR_I2C_SCL DDRBbits.RB1
29.38 +#define DDR_I2C_SDA DDRBbits.RB0
29.39 +#define DDR_IR DDRBbits.RB2
29.40 +#define DDR_I2C_INT DDRBbits.RB4
29.41 +
29.42 +#define mInitPortB TRISB = 0x00; LATB = 0xFF;
29.43 +
29.44 +
29.45 +/** P O R T C P I N S *********************************************/
29.46 +#define PIN_BOOT_SW PORTCbits.RC0
29.47 +#define DDR_BOOT_SW DDRCbits.RC0
29.48 +
29.49 +#define DDR_PWM1 DDRCbits.RC1
29.50 +#define DDR_PWM2 DDRCbits.RC2
29.51 +// RC3 -> not implemented in hardware
29.52 +// RC4 & RC5 -> USB
29.53 +// RC6 has no connection
29.54 +// RC7 has no connection
29.55 +
29.56 +
29.57 +/** P O R T D & P O R T E P I N S ( D I S P L A Y ) ************/
29.58 +// control pins.
29.59 +#define D_WR LATEbits.LATE0
29.60 +#define D_RD LATEbits.LATE1
29.61 +#define D_CD LATEbits.LATE2
29.62 +
29.63 +#define mLcdInitCtrl() D_WR = 1; D_RD = 1; D_CD = 0; TRISE = 0x00;
29.64 +
29.65 +#define mLcdDataDirIn() TRISD=0xFF
29.66 +#define mLcdDataDirOut() TRISD=0x00
29.67 +#define mLcdWriteData(a) PORTD=(a)
29.68 +#define mLcdReadData() PORTD
29.69 +
29.70 +
29.71 +/** S O M E F L A G S *********************************************/
29.72 +#define FLAG_I2C 0x20
29.73 +#define FLAG_COUNTER 0x10
29.74 +#define FLAG_POWER 0x08
29.75 +#define FLAG_ALARM 0x04
29.76 +#define FLAG_IR 0x02
29.77 +#define FLAG_KEY 0x01
29.78 +#define FLAG_CLEAR 0x00
29.79 +
29.80 +#define MODE_MANAGED 0x01
29.81 +#define MODE_UNMANAGED 0x00
29.82 +
29.83 +
29.84 +/** I 2 C - A D D R E S S *******************************************/
29.85 +#define pcf8583 0xA0
29.86 +#define pcf8574A_1 0x40
29.87 +#define pcf8574A_2 0x42
29.88 +
29.89 +/** P C F 8 5 8 3 R E G I S T E R *********************************/
29.90 +#define CLK_CTRL 0x00
29.91 +#define CLK_HUNDRSEC 0x01
29.92 +#define CLK_SEC 0x02
29.93 +#define CLK_MIN 0x03
29.94 +#define CLK_HOURS 0x04
29.95 +#define CLK_YEARDAY 0x05
29.96 +#define CLK_WEEKDMON 0x06
29.97 +#define CLK_TIMER 0x07
29.98 +#define CLK_ALARM_CTRL 0x08
29.99 +
29.100 +
29.101 +/** C O M M U N I C A T I O N ***************************************/
29.102 +// address
29.103 +#define CMD_HD_SYNC 0x00
29.104 +#define CMD_HD_COMMAND 0x01
29.105 +#define CMD_HD_LENGTH 0x02
29.106 +#define CMD_DATA_START 0x04
29.107 +
29.108 +// sync words
29.109 +#define CMD_SYNC_SEND 0xAA
29.110 +#define CMD_SYNC_RECV 0x55
29.111 +
29.112 +// commands
29.113 +#define CMD_SYS_SYNC 0x00
29.114 +#define CMD_SYS_ACK 0x01
29.115 +#define CMD_SYS_NACK 0x02
29.116 +#define CMD_SYS_NIMP 0xFF
29.117 +#define CMD_SYS_IR 0x10
29.118 +
29.119 +#define CMD_GET_VERSION 0x01
29.120 +
29.121 +#define CMD_DISP_CLEAR_SCREEN 0x10
29.122 +#define CMD_DISP_SET_ROW_DATA 0x14
29.123 +#define CMD_DISP_SET_ADDRESS 0x16
29.124 +
29.125 +#define CMD_READ_CLOCK 0x40
29.126 +#define CMD_WRITE_CLOCK 0x41
29.127 +#define CMD_SET_PWM1 0x45
29.128 +#define CMD_SET_PWM2 0x46
29.129 +
29.130 +#define CMD_SET_MODE_MANAGED 0x70
29.131 +#define CMD_SET_MODE_UNMANAGED 0x71
29.132 +
29.133 +#define CMD_BOOT 0x80
29.134 +
29.135 +// rc5 keymap
29.136 +#define RC5_KEY_UP 0x20
29.137 +#define RC5_KEY_DOWN 0x21
29.138 +#define RC5_KEY_LEFT 0x11
29.139 +#define RC5_KEY_RIGHT 0x10
29.140 +#define RC5_KEY_OK 0x0E
29.141 +#define RC5_KEY_MENU 0x12
29.142 +#define RC5_KEY_BACK 0x22
29.143 +#define RC5_KEY_RED 0x37
29.144 +#define RC5_KEY_GREEN 0x36
29.145 +#define RC5_KEY_YELLOW 0x32
29.146 +#define RC5_KEY_BLUE 0x34
29.147 +#define RC5_KEY_POWER 0x0C
29.148 +
29.149 +#define RC5_FRONT_ADDRESS 0x55
29.150 +
29.151 +
29.152 +
29.153 +/** P R O G R A M L O C A T I O N *********************************/
29.154 +#define BOOTLOAD_START 0x000686 // taken from bootload.asm
29.155 +
29.156 +#endif //IO_CFG_H
30.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
30.2 +++ b/firmware/main.c Tue Jan 29 22:31:52 2008 +0100
30.3 @@ -0,0 +1,160 @@
30.4 +/*
30.5 + * Project Frontplatte
30.6 + *
30.7 + * main.c - main programm
30.8 + *
30.9 + * This file is released under the GNU General Public License. Refer
30.10 + * to the COPYING file distributed with this package.
30.11 + *
30.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
30.13 + */
30.14 +
30.15 +/** I N C L U D E S **********************************************************/
30.16 +#include <p18cxxx.h>
30.17 +#include "usb.h"
30.18 +#include "io_cfg.h"
30.19 +#include "usb_compile_time_validation.h"
30.20 +
30.21 +#include "delay.h"
30.22 +#include <pwm.h>
30.23 +#include "user.h"
30.24 +#include "rc5.h"
30.25 +#include "comm.h"
30.26 +#include "myi2c.h"
30.27 +#include "t6963.h"
30.28 +
30.29 +/** P R I V A T E P R O T O T Y P E S ***************************************/
30.30 +void USBTasks(void);
30.31 +
30.32 +/** V E C T O R R E M A P P I N G *******************************************/
30.33 +extern void _startup (void); // See c018i.c in your C18 compiler dir
30.34 +#pragma code _RESET_INTERRUPT_VECTOR = 0x000800
30.35 +void _reset (void)
30.36 +{
30.37 + _asm goto _startup _endasm
30.38 +}
30.39 +
30.40 +
30.41 +/** C O D E ********************************************************/
30.42 +#pragma code
30.43 +
30.44 +void main(void)
30.45 +{
30.46 + unsigned char i = 0;
30.47 + // init system
30.48 + mInitializeUSBDriver();
30.49 + UserInit();
30.50 +
30.51 + // main loop
30.52 + while(1)
30.53 + {
30.54 +// USB-Tasks first...
30.55 + USBTasks();
30.56 +
30.57 + if (gg_ioflags & FLAG_I2C)
30.58 + {
30.59 + ReadKeys();
30.60 + if (! (gg_ioflags & FLAG_KEY)) ReadClock();
30.61 +
30.62 + gg_ioflags &= (FLAG_I2C ^ 255);
30.63 + }
30.64 +
30.65 +
30.66 +// perhaps we need to power up?
30.67 + if (((gg_ioflags & FLAG_IR) && (gg_ir == RC5_KEY_POWER)) || (gg_ioflags & FLAG_ALARM))
30.68 + {
30.69 + PIN_POWER = 1;
30.70 + Delay15ms();
30.71 + PIN_POWER = 0;
30.72 + gg_ioflags |= FLAG_POWER;
30.73 + // TODO: echo starting command??
30.74 + gg_ioflags &= (FLAG_IR ^ 255);
30.75 + }
30.76 +
30.77 +
30.78 + // check for input, process it and send our answers...
30.79 + if((usb_device_state >= CONFIGURED_STATE)&&(UCONbits.SUSPND!=1))
30.80 + {
30.81 + ProcessInput();
30.82 + }
30.83 +
30.84 +// if in managed mode...
30.85 + if (gg_mode == MODE_MANAGED)
30.86 + {
30.87 + if((usb_device_state >= CONFIGURED_STATE)&&(UCONbits.SUSPND!=1))
30.88 + {
30.89 + // wooo wooo woooo. now zoidberg is the popular one!
30.90 + if (gg_ioflags & FLAG_KEY)
30.91 + {
30.92 + comm_send_ir(RC5_FRONT_ADDRESS, gg_keys);
30.93 + gg_ioflags &= (FLAG_KEY ^ 255);
30.94 + }
30.95 + if (gg_ioflags & FLAG_IR)
30.96 + {
30.97 + comm_send_ir(gg_ir_address, gg_ir);
30.98 + gg_ioflags &= (FLAG_IR ^ 255);
30.99 + }
30.100 + }
30.101 + else
30.102 + {
30.103 + gg_mode = MODE_UNMANAGED;
30.104 + }
30.105 + }
30.106 + else
30.107 + {
30.108 + // we are NOT in usb-mode...
30.109 + if (gg_ioflags & FLAG_KEY)
30.110 + {
30.111 + switch (gg_keys)
30.112 + {
30.113 + case RC5_KEY_UP:
30.114 + if (gg_pwm1dc <= 250) gg_pwm1dc += 5;
30.115 + SetDCPWM1((int)gg_pwm1dc << 2);
30.116 + break;
30.117 +
30.118 + case RC5_KEY_DOWN:
30.119 + if (gg_pwm1dc >= 5) gg_pwm1dc -= 5;
30.120 + SetDCPWM1((int)gg_pwm1dc << 2);
30.121 + break;
30.122 +
30.123 + default:
30.124 + break;
30.125 + }
30.126 + gg_ioflags &= (FLAG_KEY ^ 255);
30.127 + }
30.128 +
30.129 + // always display some stuff...
30.130 + if (gg_ioflags & FLAG_COUNTER)
30.131 + {
30.132 +
30.133 + DrawTime();
30.134 +/* lcd_WriteData(0x00); // byte1
30.135 + lcd_WriteData(0x08); // byte2
30.136 + lcd_WriteCommand(0x24); //set!
30.137 + Wdebug(gg_pwm1dc);*/
30.138 +
30.139 + gg_ioflags &= (FLAG_COUNTER ^ 255);
30.140 + }
30.141 +
30.142 + }
30.143 +
30.144 + } // end of main loop
30.145 +}
30.146 +
30.147 +
30.148 +
30.149 +
30.150 +void USBTasks(void)
30.151 +{
30.152 + /*
30.153 + * Servicing Hardware
30.154 + */
30.155 + USBCheckBusStatus(); // Must use polling method
30.156 + if(UCFGbits.UTEYE!=1)
30.157 + USBDriverService(); // Interrupt or polling method
30.158 +
30.159 + #if defined(USB_USE_CDC)
30.160 + CDCTxService();
30.161 + #endif
30.162 +
30.163 +}
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
31.2 +++ b/firmware/myi2c.c Tue Jan 29 22:31:52 2008 +0100
31.3 @@ -0,0 +1,234 @@
31.4 +/*
31.5 + * Project Frontplatte
31.6 + *
31.7 + * myi2c.c - I2C-Bus Commands
31.8 + *
31.9 + * This file is released under the GNU General Public License. Refer
31.10 + * to the COPYING file distributed with this package.
31.11 + *
31.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
31.13 + * most parts are taken from AN991 by microchip
31.14 + */
31.15 +
31.16 +#include <p18cxxx.h>
31.17 +#include "myi2c.h"
31.18 +#include <i2c.h>
31.19 +
31.20 +
31.21 +unsigned int PageSize;
31.22 +
31.23 +
31.24 +unsigned char LDByteWriteI2C( unsigned char ControlByte, unsigned char LowAdd, unsigned char data )
31.25 +{
31.26 + IdleI2C(); // ensure module is idle
31.27 + StartI2C(); // initiate START condition
31.28 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.29 + WriteI2C( ControlByte ); // write 1 byte - R/W bit should be 0
31.30 + IdleI2C(); // ensure module is idle
31.31 + WriteI2C( LowAdd ); // write address byte to EEPROM
31.32 + IdleI2C(); // ensure module is idle
31.33 + WriteI2C ( data ); // Write data byte to EEPROM
31.34 + IdleI2C(); // ensure module is idle
31.35 + StopI2C(); // send STOP condition
31.36 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.37 + while (EEAckPolling(ControlByte)); //Wait for write cycle to complete
31.38 + return ( 0 ); // return with no error
31.39 +}
31.40 +
31.41 +
31.42 +unsigned char LDByteReadI2C(unsigned char ControlByte)
31.43 +{
31.44 + unsigned char data;
31.45 + IdleI2C(); // ensure module is idle
31.46 + StartI2C(); // initiate START condition
31.47 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.48 + WriteI2C( ControlByte | 0x01 ); // WRITE 1 byte - R/W bit should be 1 for read
31.49 + IdleI2C(); // ensure module is idle
31.50 + data = ReadI2C();
31.51 + IdleI2C(); // ensure module is idle
31.52 + NotAckI2C(); // send not ACK condition
31.53 + while ( SSPCON2bits.ACKEN ); // wait until ACK sequence is over
31.54 + StopI2C(); // send STOP condition
31.55 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.56 + return ( data ); // return with no error
31.57 +}
31.58 +
31.59 +
31.60 +
31.61 +unsigned char LDPageReadI2C( unsigned char ControlByte, unsigned char address, unsigned char *data, unsigned char length )
31.62 +{
31.63 + IdleI2C(); // ensure module is idle
31.64 + StartI2C(); // initiate START condition
31.65 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.66 + WriteI2C( ControlByte ); // write 1 byte
31.67 + IdleI2C(); // ensure module is idle
31.68 + WriteI2C( address ); // WRITE word address to EEPROM
31.69 + IdleI2C(); // ensure module is idle
31.70 + RestartI2C(); // generate I2C bus restart condition
31.71 + while ( SSPCON2bits.RSEN ); // wait until re-start condition is over
31.72 + WriteI2C( ControlByte | 0x01 ); // WRITE 1 byte - R/W bit should be 1 for read
31.73 + IdleI2C(); // ensure module is idle
31.74 + getsI2C( data, length ); // read in multiple bytes
31.75 + NotAckI2C(); // send not ACK condition
31.76 + while ( SSPCON2bits.ACKEN ); // wait until ACK sequence is over
31.77 + StopI2C(); // send STOP condition
31.78 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.79 + return ( 0 ); // return with no error
31.80 +
31.81 +}
31.82 +
31.83 +unsigned char LDPageWriteI2C( unsigned char ControlByte, unsigned char LowAdd, unsigned char *wrptr, unsigned char length)
31.84 +{
31.85 + PageSize = (int)length;
31.86 +
31.87 + IdleI2C(); // ensure module is idle
31.88 + StartI2C(); // initiate START condition
31.89 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.90 + WriteI2C( ControlByte ); // write 1 byte - R/W bit should be 0
31.91 + IdleI2C(); // ensure module is idle
31.92 + WriteI2C( LowAdd ); // write LowAdd byte to EEPROM
31.93 + IdleI2C(); // ensure module is idle
31.94 + putstringI2C ( wrptr ); // pointer to data for page write
31.95 + IdleI2C(); // ensure module is idle
31.96 + StopI2C(); // send STOP condition
31.97 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.98 + return ( 0 ); // return with no error
31.99 +}
31.100 +
31.101 +
31.102 +
31.103 +/*
31.104 +unsigned char HDByteWriteI2C( unsigned char ControlByte, unsigned char HighAdd, unsigned char LowAdd, unsigned char data )
31.105 +{
31.106 + IdleI2C(); // ensure module is idle
31.107 + StartI2C(); // initiate START condition
31.108 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.109 + WriteI2C( ControlByte ); // write 1 byte - R/W bit should be 0
31.110 + IdleI2C(); // ensure module is idle
31.111 + WriteI2C( HighAdd ); // write address byte to EEPROM
31.112 + IdleI2C(); // ensure module is idle
31.113 + WriteI2C( LowAdd ); // write address byte to EEPROM
31.114 + IdleI2C(); // ensure module is idle
31.115 + WriteI2C ( data ); // Write data byte to EEPROM
31.116 + IdleI2C(); // ensure module is idle
31.117 + StopI2C(); // send STOP condition
31.118 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.119 + while (EEAckPolling(ControlByte)); //Wait for write cycle to complete
31.120 + return ( 0 ); // return with no error
31.121 +}
31.122 +unsigned char HDByteReadI2C( unsigned char ControlByte, unsigned char HighAdd, unsigned char LowAdd, unsigned char *data, unsigned char length )
31.123 +{
31.124 + IdleI2C(); // ensure module is idle
31.125 + StartI2C(); // initiate START condition
31.126 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.127 + WriteI2C( ControlByte ); // write 1 byte
31.128 + IdleI2C(); // ensure module is idle
31.129 + WriteI2C( HighAdd ); // WRITE word address to EEPROM
31.130 + IdleI2C(); // ensure module is idle
31.131 + while ( SSPCON2bits.RSEN ); // wait until re-start condition is over
31.132 + WriteI2C( LowAdd ); // WRITE word address to EEPROM
31.133 + IdleI2C(); // ensure module is idle
31.134 + RestartI2C(); // generate I2C bus restart condition
31.135 + while ( SSPCON2bits.RSEN ); // wait until re-start condition is over
31.136 + WriteI2C( ControlByte | 0x01 ); // WRITE 1 byte - R/W bit should be 1 for read
31.137 + IdleI2C(); // ensure module is idle
31.138 + getsI2C( data, length ); // read in multiple bytes
31.139 + NotAckI2C(); // send not ACK condition
31.140 + while ( SSPCON2bits.ACKEN ); // wait until ACK sequence is over
31.141 + StopI2C(); // send STOP condition
31.142 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.143 + return ( 0 ); // return with no error
31.144 +}
31.145 +unsigned char HDPageWriteI2C( unsigned char ControlByte, unsigned char HighAdd, unsigned char LowAdd, unsigned char *wrptr )
31.146 +{
31.147 + IdleI2C(); // ensure module is idle
31.148 + StartI2C(); // initiate START condition
31.149 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.150 + WriteI2C( ControlByte ); // write 1 byte - R/W bit should be 0
31.151 + IdleI2C(); // ensure module is idle
31.152 + WriteI2C( HighAdd ); // write HighAdd byte to EEPROM
31.153 + IdleI2C(); // ensure module is idle
31.154 + WriteI2C( LowAdd ); // write LowAdd byte to EEPROM
31.155 + IdleI2C(); // ensure module is idle
31.156 + putstringI2C ( wrptr ); // pointer to data for page write
31.157 + IdleI2C(); // ensure module is idle
31.158 + StopI2C(); // send STOP condition
31.159 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.160 + return ( 0 ); // return with no error
31.161 +}
31.162 +unsigned char HDSequentialReadI2C( unsigned char ControlByte, unsigned char HighAdd, unsigned char LowAdd, unsigned char *rdptr, unsigned char length )
31.163 +{
31.164 + IdleI2C(); // ensure module is idle
31.165 + StartI2C(); // initiate START condition
31.166 + while ( SSPCON2bits.SEN ); // wait until start condition is over
31.167 + WriteI2C( ControlByte ); // write 1 byte
31.168 + IdleI2C(); // ensure module is idle
31.169 + WriteI2C( HighAdd ); // WRITE word address to EEPROM
31.170 + IdleI2C(); // ensure module is idle
31.171 + WriteI2C( LowAdd ); // write HighAdd byte to EEPROM
31.172 + IdleI2C(); // ensure module is idle
31.173 + RestartI2C(); // generate I2C bus restart condition
31.174 + while ( SSPCON2bits.RSEN ); // wait until re-start condition is over
31.175 + WriteI2C( ControlByte | 0x01 ); // WRITE 1 byte - R/W bit should be 1 for read
31.176 + IdleI2C(); // ensure module is idle
31.177 + getsI2C( rdptr, length ); // read in multiple bytes
31.178 + NotAckI2C(); // send not ACK condition
31.179 + while ( SSPCON2bits.ACKEN ); // wait until ACK sequence is over
31.180 + StopI2C(); // send STOP condition
31.181 + while ( SSPCON2bits.PEN ); // wait until stop condition is over
31.182 + return ( 0 ); // return with no error
31.183 +}
31.184 +*/
31.185 +
31.186 +
31.187 +/********************************************************************
31.188 +* Function Name: putstringI2C *
31.189 +* Return Value: error condition status *
31.190 +* Parameters: address of write string storage location *
31.191 +* Description: This routine writes a string to the I2C bus,*
31.192 +* until a null character is reached. If Master*
31.193 +* function putcI2C is called. When trans- *
31.194 +* mission is complete then test for ack- *
31.195 +* nowledge bit. If Slave transmitter wait for *
31.196 +* null character or not ACK received from bus *
31.197 +* device. *
31.198 +********************************************************************/
31.199 +
31.200 +unsigned char putstringI2C( unsigned char *wrptr )
31.201 +{
31.202 +
31.203 +unsigned char x;
31.204 + for (x = 0; x < PageSize; x++ ) // transmit data until PageSize
31.205 + {
31.206 + if ( SSPCON1bits.SSPM3 ) // if Master transmitter then execute the following
31.207 + {
31.208 + if ( putcI2C ( *wrptr ) ) // write 1 byte
31.209 + {
31.210 + return ( -3 ); // return with write collision error
31.211 + }
31.212 + IdleI2C(); // test for idle condition
31.213 + if ( SSPCON2bits.ACKSTAT ) // test received ack bit state
31.214 + {
31.215 + return ( -2 ); // bus device responded with NOT ACK
31.216 + } // terminateputstringI2C() function
31.217 + }
31.218 + else // else Slave transmitter
31.219 + {
31.220 + PIR1bits.SSPIF = 0; // reset SSPIF bit
31.221 + SSPBUF = *wrptr; // load SSPBUF with new data
31.222 + SSPCON1bits.CKP = 1; // release clock line
31.223 + while ( !PIR1bits.SSPIF ); // wait until ninth clock pulse received
31.224 +
31.225 + if ( ( !SSPSTATbits.R_W ) && ( !SSPSTATbits.BF ) )// if R/W=0 and BF=0, NOT ACK was received
31.226 + {
31.227 + return ( -2 ); // terminateputstringI2C() function
31.228 + }
31.229 + }
31.230 + wrptr ++; // increment pointer
31.231 + } // continue data writes until null character
31.232 + return ( 0 );
31.233 +}
31.234 +
31.235 +
31.236 +
31.237 +
32.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
32.2 +++ b/firmware/myi2c.h Tue Jan 29 22:31:52 2008 +0100
32.3 @@ -0,0 +1,28 @@
32.4 +/*
32.5 + * Project Frontplatte
32.6 + *
32.7 + * myi2c.h - I2C-Bus Commands
32.8 + *
32.9 + * This file is released under the GNU General Public License. Refer
32.10 + * to the COPYING file distributed with this package.
32.11 + *
32.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
32.13 + * most parts are taken from AN991 by microchip
32.14 + */
32.15 +
32.16 +#ifndef myi2c_h
32.17 +#define myi2c_h
32.18 +
32.19 +unsigned char putstringI2C( unsigned char *);
32.20 +
32.21 +unsigned char LDByteWriteI2C( unsigned char, unsigned char, unsigned char );
32.22 +unsigned char LDByteReadI2C(unsigned char);
32.23 +unsigned char LDPageWriteI2C(unsigned char, unsigned char, unsigned char *, unsigned char);
32.24 +unsigned char LDPageReadI2C(unsigned char, unsigned char, unsigned char *, unsigned char);
32.25 +
32.26 +/*unsigned char HDByteWriteI2C(unsigned char, unsigned char, unsigned char, unsigned char);
32.27 +unsigned char HDByteReadI2C(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned char);
32.28 +unsigned char HDPageWriteI2C( unsigned char, unsigned char, unsigned char, unsigned char *);
32.29 +unsigned char HDSequentialReadI2C(unsigned char, unsigned char, unsigned char, unsigned char *, unsigned char );*/
32.30 +
32.31 +#endif myi2c_h
32.32 \ No newline at end of file
33.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
33.2 +++ b/firmware/rc5.c Tue Jan 29 22:31:52 2008 +0100
33.3 @@ -0,0 +1,142 @@
33.4 +/*
33.5 + * Project Frontplatte
33.6 + *
33.7 + * rc5.c - decode rc5 signals
33.8 + *
33.9 + * This file is released under the GNU General Public License. Refer
33.10 + * to the COPYING file distributed with this package.
33.11 + *
33.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
33.13 + */
33.14 +
33.15 +#include <p18cxxx.h>
33.16 +#include "rc5.h"
33.17 +#include "io_cfg.h"
33.18 +#include "delay.h"
33.19 +#include "user.h"
33.20 +
33.21 +#include <timers.h>
33.22 +
33.23 +/** V A R I A B L E S **********************************************/
33.24 +unsigned char rc5_status;
33.25 +unsigned int rc5_receive_buffer;
33.26 +unsigned char gg_ir;
33.27 +unsigned char gg_ir_address;
33.28 +
33.29 +/** C O D E ********************************************************/
33.30 +void rc5_init(void)
33.31 +{
33.32 + OpenTimer0(TIMER_INT_ON & T0_8BIT & T0_SOURCE_INT & T0_PS_1_256);
33.33 + // SOLLTE SEIN: ein Timer Takt = 51,2 E-6 sec. (mit prescaler 256)
33.34 + // ist aber 25,6usec [woher kommt das 1/2??]
33.35 +
33.36 +/* kurze pulsdauer: 444us bis 1333us mitte: 889us
33.37 + entspricht in timer0: 17,3 52,0 34,7
33.38 +
33.39 + lange pulsdauer: 1334us bis 2222us 1778us
33.40 + in timer0: 52,1 87 69,5*/
33.41 +
33.42 + INTCONbits.TMR0IF = 0; // clear flag
33.43 + INTCON2bits.TMR0IP = 1; // make TMR0 a high-priority-interrupt
33.44 +
33.45 + rc5_receive_buffer = 0x0000;
33.46 + gg_ir_address = 0xFF;
33.47 + gg_ir = 0xFF;
33.48 + rc5_status = RC5_UNDEF;
33.49 +}
33.50 +
33.51 +void rc5_decode(void)
33.52 +{
33.53 + unsigned char tmr0;
33.54 + unsigned char pulse = 0xFF;
33.55 +
33.56 +/* G E T P U L S E W I D T H & T Y P E */
33.57 + tmr0 = (unsigned char)(ReadTimer0());
33.58 + // decide if this is long or short...
33.59 + if ((tmr0 > 20) && (tmr0 < 49)) {pulse = RC5_SPACE_SHORT;}
33.60 + if ((tmr0 > 55) && (tmr0 < 82)) {pulse = RC5_SPACE_LONG;}
33.61 +
33.62 + // if RB0 = 1 -> this is a space, not a pulse -> add one
33.63 + pulse += PIN_IR;
33.64 +
33.65 +/* S T A T U S M A C H I N E */
33.66 + switch (rc5_status)
33.67 + {
33.68 + case RC5_MID1:
33.69 + if (pulse == RC5_PULSE_SHORT)
33.70 + {
33.71 + rc5_status = RC5_START1;
33.72 + }
33.73 + else if (pulse == RC5_PULSE_LONG)
33.74 + {
33.75 + rc5_status = RC5_MID0;
33.76 + rc5_receive_buffer = rc5_receive_buffer << 1; // emit zero
33.77 + }
33.78 + else
33.79 + rc5_scrap();
33.80 + break;
33.81 +
33.82 + case RC5_MID0:
33.83 + if (pulse == RC5_SPACE_SHORT)
33.84 + {
33.85 + rc5_status = RC5_START0;
33.86 + }
33.87 + else if (pulse == RC5_SPACE_LONG)
33.88 + {
33.89 + rc5_status = RC5_MID1;
33.90 + rc5_receive_buffer = rc5_receive_buffer << 1;
33.91 + rc5_receive_buffer |= 0x01; // emit one
33.92 + }
33.93 + else
33.94 + rc5_scrap();
33.95 + break;
33.96 +
33.97 + case RC5_START1:
33.98 + if (pulse == RC5_SPACE_SHORT)
33.99 + {
33.100 + rc5_status = RC5_MID1;
33.101 + rc5_receive_buffer = rc5_receive_buffer << 1;
33.102 + rc5_receive_buffer |= 0x01; // emit one
33.103 + }
33.104 + else
33.105 + rc5_scrap();
33.106 + break;
33.107 +
33.108 + case RC5_START0:
33.109 + if (pulse == RC5_PULSE_SHORT)
33.110 + {
33.111 + rc5_status = RC5_MID0;
33.112 + rc5_receive_buffer = rc5_receive_buffer << 1; // emit zero
33.113 + }
33.114 + else
33.115 + rc5_scrap();
33.116 + break;
33.117 +
33.118 + case RC5_DONE:
33.119 + case RC5_UNDEF:
33.120 + default:
33.121 + rc5_scrap();
33.122 + break;
33.123 + }
33.124 +
33.125 + // i recieved 13 + startbit bits...
33.126 + if (rc5_receive_buffer & 0x6000)
33.127 + {
33.128 + rc5_status = RC5_DONE;
33.129 + gg_ir = (unsigned char)(rc5_receive_buffer & 0x3F); // lower 6 bits -> command
33.130 + gg_ir_address = (unsigned char)((rc5_receive_buffer & 0x032) >> 6); // upper 6 bits -> address + toogle
33.131 +
33.132 + gg_ioflags |= FLAG_IR;
33.133 + }
33.134 +
33.135 + // reset timer and wait for next pulse....
33.136 + WriteTimer0(0x00);
33.137 +}
33.138 +
33.139 +
33.140 +void rc5_scrap(void)
33.141 +{
33.142 + // enter start-state and emit one
33.143 + rc5_status = RC5_MID1;
33.144 + rc5_receive_buffer = 0x0001;
33.145 +}
34.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
34.2 +++ b/firmware/rc5.h Tue Jan 29 22:31:52 2008 +0100
34.3 @@ -0,0 +1,40 @@
34.4 +/*
34.5 + * Project Frontplatte
34.6 + *
34.7 + * rc5.h - decode rc5 signals
34.8 + *
34.9 + * This file is released under the GNU General Public License. Refer
34.10 + * to the COPYING file distributed with this package.
34.11 + *
34.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
34.13 + */
34.14 +
34.15 +
34.16 +#ifndef __RC5_H
34.17 +#define __RC5_H
34.18 +
34.19 +/** D E F I N I T I O N S ****************************************************/
34.20 +#define RC5_START1 0x01 // for the decoding state-machiene
34.21 +#define RC5_START0 0x02
34.22 +#define RC5_MID1 0x03
34.23 +#define RC5_MID0 0x04
34.24 +#define RC5_UNDEF 0x00
34.25 +#define RC5_DONE 0xFF
34.26 +
34.27 +#define RC5_PULSE_LONG 0x02
34.28 +#define RC5_PULSE_SHORT 0x04
34.29 +#define RC5_SPACE_LONG 0x01
34.30 +#define RC5_SPACE_SHORT 0x03
34.31 +#define RC5_IN_UNDEF 0x00
34.32 +
34.33 +
34.34 +/** E X T E R N A L V A R I A B L E S ***************************/
34.35 +extern unsigned char gg_ir;
34.36 +extern unsigned char gg_ir_address;
34.37 +
34.38 +/** P U B L I C P R O T O T Y P E S *****************************/
34.39 +void rc5_init(void);
34.40 +void rc5_decode(void);
34.41 +void rc5_scrap(void);
34.42 +
34.43 +#endif //__RC5_H
35.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
35.2 +++ b/firmware/typedefs.h Tue Jan 29 22:31:52 2008 +0100
35.3 @@ -0,0 +1,155 @@
35.4 +/*********************************************************************
35.5 + *
35.6 + * Microchip USB C18 Firmware Version 1.0
35.7 + *
35.8 + *********************************************************************
35.9 + * FileName: typedefs.h
35.10 + * Dependencies: See INCLUDES section below
35.11 + * Processor: PIC18
35.12 + * Compiler: C18 2.30.01+
35.13 + * Company: Microchip Technology, Inc.
35.14 + *
35.15 + * Software License Agreement
35.16 + *
35.17 + * The software supplied herewith by Microchip Technology Incorporated
35.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
35.19 + * supplied to you, the Company’s customer, for use solely and
35.20 + * exclusively on Microchip PICmicro Microcontroller products. The
35.21 + * software is owned by the Company and/or its supplier, and is
35.22 + * protected under applicable copyright laws. All rights are reserved.
35.23 + * Any use in violation of the foregoing restrictions may subject the
35.24 + * user to criminal sanctions under applicable laws, as well as to
35.25 + * civil liability for the breach of the terms and conditions of this
35.26 + * license.
35.27 + *
35.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
35.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
35.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
35.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
35.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
35.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
35.34 + *
35.35 + * Author Date Comment
35.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35.37 + * Rawin Rojvanit 7/21/04 Original.
35.38 + ********************************************************************/
35.39 +
35.40 +#ifndef TYPEDEFS_H
35.41 +#define TYPEDEFS_H
35.42 +
35.43 +typedef unsigned char byte; // 8-bit
35.44 +typedef unsigned int word; // 16-bit
35.45 +typedef unsigned long dword; // 32-bit
35.46 +
35.47 +typedef union _BYTE
35.48 +{
35.49 + byte _byte;
35.50 + struct
35.51 + {
35.52 + unsigned b0:1;
35.53 + unsigned b1:1;
35.54 + unsigned b2:1;
35.55 + unsigned b3:1;
35.56 + unsigned b4:1;
35.57 + unsigned b5:1;
35.58 + unsigned b6:1;
35.59 + unsigned b7:1;
35.60 + };
35.61 +} BYTE;
35.62 +
35.63 +typedef union _WORD
35.64 +{
35.65 + word _word;
35.66 + struct
35.67 + {
35.68 + byte byte0;
35.69 + byte byte1;
35.70 + };
35.71 + struct
35.72 + {
35.73 + BYTE Byte0;
35.74 + BYTE Byte1;
35.75 + };
35.76 + struct
35.77 + {
35.78 + BYTE LowB;
35.79 + BYTE HighB;
35.80 + };
35.81 + struct
35.82 + {
35.83 + byte v[2];
35.84 + };
35.85 +} WORD;
35.86 +#define LSB(a) ((a).v[0])
35.87 +#define MSB(a) ((a).v[1])
35.88 +
35.89 +typedef union _DWORD
35.90 +{
35.91 + dword _dword;
35.92 + struct
35.93 + {
35.94 + byte byte0;
35.95 + byte byte1;
35.96 + byte byte2;
35.97 + byte byte3;
35.98 + };
35.99 + struct
35.100 + {
35.101 + word word0;
35.102 + word word1;
35.103 + };
35.104 + struct
35.105 + {
35.106 + BYTE Byte0;
35.107 + BYTE Byte1;
35.108 + BYTE Byte2;
35.109 + BYTE Byte3;
35.110 + };
35.111 + struct
35.112 + {
35.113 + WORD Word0;
35.114 + WORD Word1;
35.115 + };
35.116 + struct
35.117 + {
35.118 + byte v[4];
35.119 + };
35.120 +} DWORD;
35.121 +#define LOWER_LSB(a) ((a).v[0])
35.122 +#define LOWER_MSB(a) ((a).v[1])
35.123 +#define UPPER_LSB(a) ((a).v[2])
35.124 +#define UPPER_MSB(a) ((a).v[3])
35.125 +
35.126 +typedef void(*pFunc)(void);
35.127 +
35.128 +typedef union _POINTER
35.129 +{
35.130 + struct
35.131 + {
35.132 + byte bLow;
35.133 + byte bHigh;
35.134 + //byte bUpper;
35.135 + };
35.136 + word _word; // bLow & bHigh
35.137 +
35.138 + //pFunc _pFunc; // Usage: ptr.pFunc(); Init: ptr.pFunc = &<Function>;
35.139 +
35.140 + byte* bRam; // Ram byte pointer: 2 bytes pointer pointing
35.141 + // to 1 byte of data
35.142 + word* wRam; // Ram word poitner: 2 bytes poitner pointing
35.143 + // to 2 bytes of data
35.144 +
35.145 + rom byte* bRom; // Size depends on compiler setting
35.146 + rom word* wRom;
35.147 + //rom near byte* nbRom; // Near = 2 bytes pointer
35.148 + //rom near word* nwRom;
35.149 + //rom far byte* fbRom; // Far = 3 bytes pointer
35.150 + //rom far word* fwRom;
35.151 +} POINTER;
35.152 +
35.153 +typedef enum _BOOL { FALSE = 0, TRUE } BOOL;
35.154 +
35.155 +#define OK TRUE
35.156 +#define FAIL FALSE
35.157 +
35.158 +#endif //TYPEDEFS_H
36.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
36.2 +++ b/firmware/usb.h Tue Jan 29 22:31:52 2008 +0100
36.3 @@ -0,0 +1,62 @@
36.4 +/*********************************************************************
36.5 + *
36.6 + * Microchip USB C18 Firmware Version 1.0
36.7 + *
36.8 + *********************************************************************
36.9 + * FileName: usb.h
36.10 + * Dependencies: See INCLUDES section below
36.11 + * Processor: PIC18
36.12 + * Compiler: C18 2.30.01+
36.13 + * Company: Microchip Technology, Inc.
36.14 + *
36.15 + * Software License Agreement
36.16 + *
36.17 + * The software supplied herewith by Microchip Technology Incorporated
36.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
36.19 + * supplied to you, the Company’s customer, for use solely and
36.20 + * exclusively on Microchip PICmicro Microcontroller products. The
36.21 + * software is owned by the Company and/or its supplier, and is
36.22 + * protected under applicable copyright laws. All rights are reserved.
36.23 + * Any use in violation of the foregoing restrictions may subject the
36.24 + * user to criminal sanctions under applicable laws, as well as to
36.25 + * civil liability for the breach of the terms and conditions of this
36.26 + * license.
36.27 + *
36.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
36.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
36.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
36.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
36.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
36.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
36.34 + *
36.35 + * Author Date Comment
36.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36.37 + * Rawin Rojvanit 11/19/04 Original.
36.38 + ********************************************************************/
36.39 +#ifndef USB_H
36.40 +#define USB_H
36.41 +
36.42 +/*
36.43 + * usb.h provides a centralize way to include all files
36.44 + * required by Microchip USB Firmware.
36.45 + *
36.46 + * The order of inclusion is important.
36.47 + * Dependency conflicts are resolved by the correct ordering.
36.48 + */
36.49 +
36.50 +#include "usbcfg.h"
36.51 +#include "usbdefs_std_dsc.h"
36.52 +#include "usbdsc.h"
36.53 +
36.54 +#include "usbdefs_ep0_buff.h"
36.55 +#include "usbmmap.h"
36.56 +
36.57 +#include "usbdrv.h"
36.58 +#include "usbctrltrf.h"
36.59 +#include "usb9.h"
36.60 +
36.61 +#if defined(USB_USE_CDC)
36.62 +#include "cdc.h"
36.63 +#endif
36.64 +
36.65 +#endif //USB_H
37.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
37.2 +++ b/firmware/usb9.c Tue Jan 29 22:31:52 2008 +0100
37.3 @@ -0,0 +1,307 @@
37.4 +/*********************************************************************
37.5 + *
37.6 + * Microchip USB C18 Firmware Version 1.0
37.7 + *
37.8 + *********************************************************************
37.9 + * FileName: usb9.c
37.10 + * Dependencies: See INCLUDES section below
37.11 + * Processor: PIC18
37.12 + * Compiler: C18 2.30.01+
37.13 + * Company: Microchip Technology, Inc.
37.14 + *
37.15 + * Software License Agreement
37.16 + *
37.17 + * The software supplied herewith by Microchip Technology Incorporated
37.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
37.19 + * supplied to you, the Company’s customer, for use solely and
37.20 + * exclusively on Microchip PICmicro Microcontroller products. The
37.21 + * software is owned by the Company and/or its supplier, and is
37.22 + * protected under applicable copyright laws. All rights are reserved.
37.23 + * Any use in violation of the foregoing restrictions may subject the
37.24 + * user to criminal sanctions under applicable laws, as well as to
37.25 + * civil liability for the breach of the terms and conditions of this
37.26 + * license.
37.27 + *
37.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
37.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
37.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
37.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
37.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
37.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
37.34 + *
37.35 + * Author Date Comment
37.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37.37 + * Rawin Rojvanit 11/19/04 Original.
37.38 + ********************************************************************/
37.39 +
37.40 +/** I N C L U D E S **********************************************************/
37.41 +#include <p18cxxx.h>
37.42 +#include "typedefs.h"
37.43 +#include "usb.h"
37.44 +#include "io_cfg.h" // Required for self_power status
37.45 +
37.46 +/** V A R I A B L E S ********************************************************/
37.47 +#pragma udata
37.48 +
37.49 +/** P R I V A T E P R O T O T Y P E S ***************************************/
37.50 +void USBStdGetDscHandler(void);
37.51 +void USBStdSetCfgHandler(void);
37.52 +void USBStdGetStatusHandler(void);
37.53 +void USBStdFeatureReqHandler(void);
37.54 +
37.55 +/** D E C L A R A T I O N S **************************************************/
37.56 +#pragma code
37.57 +/******************************************************************************
37.58 + * Function: void USBCheckStdRequest(void)
37.59 + *
37.60 + * PreCondition: None
37.61 + *
37.62 + * Input: None
37.63 + *
37.64 + * Output: None
37.65 + *
37.66 + * Side Effects: None
37.67 + *
37.68 + * Overview: This routine checks the setup data packet to see if it
37.69 + * knows how to handle it
37.70 + *
37.71 + * Note: None
37.72 + *****************************************************************************/
37.73 +void USBCheckStdRequest(void)
37.74 +{
37.75 + if(SetupPkt.RequestType != STANDARD) return;
37.76 +
37.77 + switch(SetupPkt.bRequest)
37.78 + {
37.79 + case SET_ADR:
37.80 + ctrl_trf_session_owner = MUID_USB9;
37.81 + usb_device_state = ADR_PENDING_STATE; // Update state only
37.82 + /* See USBCtrlTrfInHandler() in usbctrltrf.c for the next step */
37.83 + break;
37.84 + case GET_DSC:
37.85 + USBStdGetDscHandler();
37.86 + break;
37.87 + case SET_CFG:
37.88 + USBStdSetCfgHandler();
37.89 + break;
37.90 + case GET_CFG:
37.91 + ctrl_trf_session_owner = MUID_USB9;
37.92 + pSrc.bRam = (byte*)&usb_active_cfg; // Set Source
37.93 + usb_stat.ctrl_trf_mem = _RAM; // Set memory type
37.94 + LSB(wCount) = 1; // Set data count
37.95 + break;
37.96 + case GET_STATUS:
37.97 + USBStdGetStatusHandler();
37.98 + break;
37.99 + case CLR_FEATURE:
37.100 + case SET_FEATURE:
37.101 + USBStdFeatureReqHandler();
37.102 + break;
37.103 + case GET_INTF:
37.104 + ctrl_trf_session_owner = MUID_USB9;
37.105 + pSrc.bRam = (byte*)&usb_alt_intf+SetupPkt.bIntfID; // Set source
37.106 + usb_stat.ctrl_trf_mem = _RAM; // Set memory type
37.107 + LSB(wCount) = 1; // Set data count
37.108 + break;
37.109 + case SET_INTF:
37.110 + ctrl_trf_session_owner = MUID_USB9;
37.111 + usb_alt_intf[SetupPkt.bIntfID] = SetupPkt.bAltID;
37.112 + break;
37.113 + case SET_DSC:
37.114 + case SYNCH_FRAME:
37.115 + default:
37.116 + break;
37.117 + }//end switch
37.118 +
37.119 +}//end USBCheckStdRequest
37.120 +
37.121 +/******************************************************************************
37.122 + * Function: void USBStdGetDscHandler(void)
37.123 + *
37.124 + * PreCondition: None
37.125 + *
37.126 + * Input: None
37.127 + *
37.128 + * Output: None
37.129 + *
37.130 + * Side Effects: None
37.131 + *
37.132 + * Overview: This routine handles the standard GET_DESCRIPTOR request.
37.133 + * It utilizes tables dynamically looks up descriptor size.
37.134 + * This routine should never have to be modified if the tables
37.135 + * in usbdsc.c are declared correctly.
37.136 + *
37.137 + * Note: None
37.138 + *****************************************************************************/
37.139 +void USBStdGetDscHandler(void)
37.140 +{
37.141 + if(SetupPkt.bmRequestType == 0x80)
37.142 + {
37.143 + switch(SetupPkt.bDscType)
37.144 + {
37.145 + case DSC_DEV:
37.146 + ctrl_trf_session_owner = MUID_USB9;
37.147 + pSrc.bRom = (rom byte*)&device_dsc;
37.148 + wCount._word = sizeof(device_dsc); // Set data count
37.149 + break;
37.150 + case DSC_CFG:
37.151 + ctrl_trf_session_owner = MUID_USB9;
37.152 + pSrc.bRom = *(USB_CD_Ptr+SetupPkt.bDscIndex);
37.153 + wCount._word = *(pSrc.wRom+1); // Set data count
37.154 + break;
37.155 + case DSC_STR:
37.156 + ctrl_trf_session_owner = MUID_USB9;
37.157 + pSrc.bRom = *(USB_SD_Ptr+SetupPkt.bDscIndex);
37.158 + wCount._word = *pSrc.bRom; // Set data count
37.159 + break;
37.160 + }//end switch
37.161 +
37.162 + usb_stat.ctrl_trf_mem = _ROM; // Set memory type
37.163 + }//end if
37.164 +}//end USBStdGetDscHandler
37.165 +
37.166 +/******************************************************************************
37.167 + * Function: void USBStdSetCfgHandler(void)
37.168 + *
37.169 + * PreCondition: None
37.170 + *
37.171 + * Input: None
37.172 + *
37.173 + * Output: None
37.174 + *
37.175 + * Side Effects: None
37.176 + *
37.177 + * Overview: This routine first disables all endpoints by clearing
37.178 + * UEP registers. It then configures (initializes) endpoints
37.179 + * specified in the modifiable section.
37.180 + *
37.181 + * Note: None
37.182 + *****************************************************************************/
37.183 +void USBStdSetCfgHandler(void)
37.184 +{
37.185 + ctrl_trf_session_owner = MUID_USB9;
37.186 + mDisableEP1to15(); // See usbdrv.h
37.187 + ClearArray((byte*)&usb_alt_intf,MAX_NUM_INT);
37.188 + usb_active_cfg = SetupPkt.bCfgValue;
37.189 + if(SetupPkt.bCfgValue == 0)
37.190 + usb_device_state = ADDRESS_STATE;
37.191 + else
37.192 + {
37.193 + usb_device_state = CONFIGURED_STATE;
37.194 +
37.195 + /* Modifiable Section */
37.196 +
37.197 + #if defined(USB_USE_CDC) // See autofiles\usbcfg.h
37.198 + CDCInitEP();
37.199 + #endif
37.200 +
37.201 + /* End modifiable section */
37.202 +
37.203 + }//end if(SetupPkt.bcfgValue == 0)
37.204 +}//end USBStdSetCfgHandler
37.205 +
37.206 +/******************************************************************************
37.207 + * Function: void USBStdGetStatusHandler(void)
37.208 + *
37.209 + * PreCondition: None
37.210 + *
37.211 + * Input: None
37.212 + *
37.213 + * Output: None
37.214 + *
37.215 + * Side Effects: None
37.216 + *
37.217 + * Overview: This routine handles the standard GET_STATUS request
37.218 + *
37.219 + * Note: None
37.220 + *****************************************************************************/
37.221 +void USBStdGetStatusHandler(void)
37.222 +{
37.223 + CtrlTrfData._byte0 = 0; // Initialize content
37.224 + CtrlTrfData._byte1 = 0;
37.225 +
37.226 + switch(SetupPkt.Recipient)
37.227 + {
37.228 + case RCPT_DEV:
37.229 + ctrl_trf_session_owner = MUID_USB9;
37.230 + /*
37.231 + * _byte0: bit0: Self-Powered Status [0] Bus-Powered [1] Self-Powered
37.232 + * bit1: RemoteWakeup [0] Disabled [1] Enabled
37.233 + */
37.234 + if(self_power == 1) // self_power defined in io_cfg.h
37.235 + CtrlTrfData._byte0|=0b000000001; // Set bit0
37.236 +
37.237 + if(usb_stat.RemoteWakeup == 1) // usb_stat defined in usbmmap.c
37.238 + CtrlTrfData._byte0|=0b00000010; // Set bit1
37.239 + break;
37.240 + case RCPT_INTF:
37.241 + ctrl_trf_session_owner = MUID_USB9; // No data to update
37.242 + break;
37.243 + case RCPT_EP:
37.244 + ctrl_trf_session_owner = MUID_USB9;
37.245 + /*
37.246 + * _byte0: bit0: Halt Status [0] Not Halted [1] Halted
37.247 + */
37.248 + pDst.bRam = (byte*)&ep0Bo+(SetupPkt.EPNum*8)+(SetupPkt.EPDir*4);
37.249 + if(*pDst.bRam & _BSTALL) // Use _BSTALL as a bit mask
37.250 + CtrlTrfData._byte0=0x01;// Set bit0
37.251 + break;
37.252 + }//end switch
37.253 +
37.254 + if(ctrl_trf_session_owner == MUID_USB9)
37.255 + {
37.256 + pSrc.bRam = (byte*)&CtrlTrfData; // Set Source
37.257 + usb_stat.ctrl_trf_mem = _RAM; // Set memory type
37.258 + LSB(wCount) = 2; // Set data count
37.259 + }//end if(...)
37.260 +}//end USBStdGetStatusHandler
37.261 +
37.262 +/******************************************************************************
37.263 + * Function: void USBStdFeatureReqHandler(void)
37.264 + *
37.265 + * PreCondition: None
37.266 + *
37.267 + * Input: None
37.268 + *
37.269 + * Output: None
37.270 + *
37.271 + * Side Effects: None
37.272 + *
37.273 + * Overview: This routine handles the standard SET & CLEAR FEATURES
37.274 + * requests
37.275 + *
37.276 + * Note: None
37.277 + *****************************************************************************/
37.278 +void USBStdFeatureReqHandler(void)
37.279 +{
37.280 + if((SetupPkt.bFeature == DEVICE_REMOTE_WAKEUP)&&
37.281 + (SetupPkt.Recipient == RCPT_DEV))
37.282 + {
37.283 + ctrl_trf_session_owner = MUID_USB9;
37.284 + if(SetupPkt.bRequest == SET_FEATURE)
37.285 + usb_stat.RemoteWakeup = 1;
37.286 + else
37.287 + usb_stat.RemoteWakeup = 0;
37.288 + }//end if
37.289 +
37.290 + if((SetupPkt.bFeature == ENDPOINT_HALT)&&
37.291 + (SetupPkt.Recipient == RCPT_EP)&&
37.292 + (SetupPkt.EPNum != 0))
37.293 + {
37.294 + ctrl_trf_session_owner = MUID_USB9;
37.295 + /* Must do address calculation here */
37.296 + pDst.bRam = (byte*)&ep0Bo+(SetupPkt.EPNum*8)+(SetupPkt.EPDir*4);
37.297 +
37.298 + if(SetupPkt.bRequest == SET_FEATURE)
37.299 + *pDst.bRam = _USIE|_BSTALL;
37.300 + else
37.301 + {
37.302 + if(SetupPkt.EPDir == 1) // IN
37.303 + *pDst.bRam = _UCPU;
37.304 + else
37.305 + *pDst.bRam = _USIE|_DAT0|_DTSEN;
37.306 + }//end if
37.307 + }//end if
37.308 +}//end USBStdFeatureReqHandler
37.309 +
37.310 +/** EOF usb9.c ***************************************************************/
38.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
38.2 +++ b/firmware/usb9.h Tue Jan 29 22:31:52 2008 +0100
38.3 @@ -0,0 +1,94 @@
38.4 +/*********************************************************************
38.5 + *
38.6 + * Microchip USB C18 Firmware Version 1.0
38.7 + *
38.8 + *********************************************************************
38.9 + * FileName: usb9.h
38.10 + * Dependencies: See INCLUDES section below
38.11 + * Processor: PIC18
38.12 + * Compiler: C18 2.30.01+
38.13 + * Company: Microchip Technology, Inc.
38.14 + *
38.15 + * Software License Agreement
38.16 + *
38.17 + * The software supplied herewith by Microchip Technology Incorporated
38.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
38.19 + * supplied to you, the Company’s customer, for use solely and
38.20 + * exclusively on Microchip PICmicro Microcontroller products. The
38.21 + * software is owned by the Company and/or its supplier, and is
38.22 + * protected under applicable copyright laws. All rights are reserved.
38.23 + * Any use in violation of the foregoing restrictions may subject the
38.24 + * user to criminal sanctions under applicable laws, as well as to
38.25 + * civil liability for the breach of the terms and conditions of this
38.26 + * license.
38.27 + *
38.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
38.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
38.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
38.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
38.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
38.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
38.34 + *
38.35 + * Author Date Comment
38.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38.37 + * Rawin Rojvanit 11/19/04 Original.
38.38 + ********************************************************************/
38.39 +#ifndef USB9_H
38.40 +#define USB9_H
38.41 +
38.42 +/** I N C L U D E S **********************************************************/
38.43 +#include "typedefs.h"
38.44 +
38.45 +/** D E F I N I T I O N S ****************************************************/
38.46 +
38.47 +/******************************************************************************
38.48 + * Standard Request Codes
38.49 + * USB 2.0 Spec Ref Table 9-4
38.50 + *****************************************************************************/
38.51 +#define GET_STATUS 0
38.52 +#define CLR_FEATURE 1
38.53 +#define SET_FEATURE 3
38.54 +#define SET_ADR 5
38.55 +#define GET_DSC 6
38.56 +#define SET_DSC 7
38.57 +#define GET_CFG 8
38.58 +#define SET_CFG 9
38.59 +#define GET_INTF 10
38.60 +#define SET_INTF 11
38.61 +#define SYNCH_FRAME 12
38.62 +
38.63 +/* Standard Feature Selectors */
38.64 +#define DEVICE_REMOTE_WAKEUP 0x01
38.65 +#define ENDPOINT_HALT 0x00
38.66 +
38.67 +/******************************************************************************
38.68 + * Macro: void mUSBCheckAdrPendingState(void)
38.69 + *
38.70 + * PreCondition: None
38.71 + *
38.72 + * Input: None
38.73 + *
38.74 + * Output: None
38.75 + *
38.76 + * Side Effects: None
38.77 + *
38.78 + * Overview: Specialized checking routine, it checks if the device
38.79 + * is in the ADDRESS PENDING STATE and services it if it is.
38.80 + *
38.81 + * Note: None
38.82 + *****************************************************************************/
38.83 +#define mUSBCheckAdrPendingState() if(usb_device_state==ADR_PENDING_STATE) \
38.84 + { \
38.85 + UADDR = SetupPkt.bDevADR._byte; \
38.86 + if(UADDR > 0) \
38.87 + usb_device_state=ADDRESS_STATE; \
38.88 + else \
38.89 + usb_device_state=DEFAULT_STATE; \
38.90 + }//end if
38.91 +
38.92 +/** E X T E R N S ************************************************************/
38.93 +
38.94 +/** P U B L I C P R O T O T Y P E S *****************************************/
38.95 +void USBCheckStdRequest(void);
38.96 +
38.97 +#endif //USB9_H
39.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
39.2 +++ b/firmware/usb_compile_time_validation.h Tue Jan 29 22:31:52 2008 +0100
39.3 @@ -0,0 +1,63 @@
39.4 +/*********************************************************************
39.5 + *
39.6 + * Microchip USB C18 Firmware Version 1.0
39.7 + *
39.8 + *********************************************************************
39.9 + * FileName: usb_compile_time_validation.h
39.10 + * Dependencies: See INCLUDES section below
39.11 + * Processor: PIC18
39.12 + * Compiler: C18 2.30.01+
39.13 + * Company: Microchip Technology, Inc.
39.14 + *
39.15 + * Software License Agreement
39.16 + *
39.17 + * The software supplied herewith by Microchip Technology Incorporated
39.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
39.19 + * supplied to you, the Company’s customer, for use solely and
39.20 + * exclusively on Microchip PICmicro Microcontroller products. The
39.21 + * software is owned by the Company and/or its supplier, and is
39.22 + * protected under applicable copyright laws. All rights are reserved.
39.23 + * Any use in violation of the foregoing restrictions may subject the
39.24 + * user to criminal sanctions under applicable laws, as well as to
39.25 + * civil liability for the breach of the terms and conditions of this
39.26 + * license.
39.27 + *
39.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
39.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
39.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
39.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
39.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
39.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
39.34 + *
39.35 + * Author Date Comment
39.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39.37 + * Rawin Rojvanit 7/10/04 Original.
39.38 + ********************************************************************/
39.39 +
39.40 +#ifndef USB_COMPILE_TIME_VALIDATION_H
39.41 +#define USB_COMPILE_TIME_VALIDATION_H
39.42 +
39.43 +/** I N C L U D E S *************************************************/
39.44 +#include "typedefs.h"
39.45 +#include "usb.h"
39.46 +
39.47 +/** U S B V A L I D A T I O N **************************************/
39.48 +
39.49 +#if (EP0_BUFF_SIZE != 8) && (EP0_BUFF_SIZE != 16) && \\
39.50 + (EP0_BUFF_SIZE != 32) && (EP0_BUFF_SIZE != 64)
39.51 +#error(Invalid buffer size for endpoint 0,check "usbcfg.h")
39.52 +#endif
39.53 +
39.54 +#if defined(HID_INT_OUT_EP_SIZE)
39.55 + #if (HID_INT_OUT_EP_SIZE > 64)
39.56 + #error(HID Out endpoint size cannot be bigger than 64, check "usbcfg.h")
39.57 + #endif
39.58 +#endif
39.59 +
39.60 +#ifdef HID_INT_IN_EP_SIZE
39.61 + #if (HID_INT_IN_EP_SIZE > 64)
39.62 + #error(HID In endpoint size cannot be bigger than 64, check "usbcfg.h")
39.63 + #endif
39.64 +#endif
39.65 +
39.66 +#endif //USB_COMPILE_TIME_VALIDATION_H
40.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
40.2 +++ b/firmware/usbcfg.h Tue Jan 29 22:31:52 2008 +0100
40.3 @@ -0,0 +1,82 @@
40.4 +/*********************************************************************
40.5 + *
40.6 + * Microchip USB C18 Firmware Version 1.0
40.7 + *
40.8 + *********************************************************************
40.9 + * FileName: usbcfg.h
40.10 + * Dependencies: See INCLUDES section below
40.11 + * Processor: PIC18
40.12 + * Compiler: C18 2.30.01+
40.13 + * Company: Microchip Technology, Inc.
40.14 + *
40.15 + * Software License Agreement
40.16 + *
40.17 + * The software supplied herewith by Microchip Technology Incorporated
40.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
40.19 + * supplied to you, the Company’s customer, for use solely and
40.20 + * exclusively on Microchip PICmicro Microcontroller products. The
40.21 + * software is owned by the Company and/or its supplier, and is
40.22 + * protected under applicable copyright laws. All rights are reserved.
40.23 + * Any use in violation of the foregoing restrictions may subject the
40.24 + * user to criminal sanctions under applicable laws, as well as to
40.25 + * civil liability for the breach of the terms and conditions of this
40.26 + * license.
40.27 + *
40.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
40.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
40.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
40.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
40.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
40.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
40.34 + *
40.35 + ********************************************************************/
40.36 +
40.37 +#ifndef USBCFG_H
40.38 +#define USBCFG_H
40.39 +
40.40 +/** D E F I N I T I O N S *******************************************/
40.41 +#define EP0_BUFF_SIZE 8 // 8, 16, 32, or 64
40.42 +#define MAX_NUM_INT 1 // For tracking Alternate Setting
40.43 +
40.44 +/* Parameter definitions are defined in usbdrv.h */
40.45 +#define MODE_PP _PPBM0
40.46 +#define UCFG_VAL _PUEN|_TRINT|_FS|MODE_PP
40.47 +
40.48 +//#define USE_SELF_POWER_SENSE_IO
40.49 +//#define USE_USB_BUS_SENSE_IO
40.50 +
40.51 +/** D E V I C E C L A S S U S A G E *******************************/
40.52 +#define USB_USE_CDC
40.53 +
40.54 +/*
40.55 + * MUID = Microchip USB Class ID
40.56 + * Used to identify which of the USB classes owns the current
40.57 + * session of control transfer over EP0
40.58 + */
40.59 +#define MUID_NULL 0
40.60 +#define MUID_USB9 1
40.61 +#define MUID_HID 2
40.62 +#define MUID_CDC 3
40.63 +#define MUID_MSD 4
40.64 +
40.65 +/** E N D P O I N T S A L L O C A T I O N **************************/
40.66 +/*
40.67 + * See usbmmap.c for an explanation of how the endpoint allocation works
40.68 + */
40.69 +
40.70 +/* CDC */
40.71 +#define CDC_COMM_INTF_ID 0x00
40.72 +#define CDC_COMM_UEP UEP2
40.73 +#define CDC_INT_BD_IN ep2Bi
40.74 +#define CDC_INT_EP_SIZE 8
40.75 +
40.76 +#define CDC_DATA_INTF_ID 0x01
40.77 +#define CDC_DATA_UEP UEP3
40.78 +#define CDC_BULK_BD_OUT ep3Bo
40.79 +#define CDC_BULK_OUT_EP_SIZE 64
40.80 +#define CDC_BULK_BD_IN ep3Bi
40.81 +#define CDC_BULK_IN_EP_SIZE 64
40.82 +
40.83 +#define MAX_EP_NUMBER 3 // UEP3
40.84 +
40.85 +#endif //USBCFG_H
41.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
41.2 +++ b/firmware/usbctrltrf.c Tue Jan 29 22:31:52 2008 +0100
41.3 @@ -0,0 +1,499 @@
41.4 +/*********************************************************************
41.5 + *
41.6 + * Microchip USB C18 Firmware Version 1.0
41.7 + *
41.8 + *********************************************************************
41.9 + * FileName: usbctrltrf.c
41.10 + * Dependencies: See INCLUDES section below
41.11 + * Processor: PIC18
41.12 + * Compiler: C18 2.30.01+
41.13 + * Company: Microchip Technology, Inc.
41.14 + *
41.15 + * Software License Agreement
41.16 + *
41.17 + * The software supplied herewith by Microchip Technology Incorporated
41.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
41.19 + * supplied to you, the Company’s customer, for use solely and
41.20 + * exclusively on Microchip PICmicro Microcontroller products. The
41.21 + * software is owned by the Company and/or its supplier, and is
41.22 + * protected under applicable copyright laws. All rights are reserved.
41.23 + * Any use in violation of the foregoing restrictions may subject the
41.24 + * user to criminal sanctions under applicable laws, as well as to
41.25 + * civil liability for the breach of the terms and conditions of this
41.26 + * license.
41.27 + *
41.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
41.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
41.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
41.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
41.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
41.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
41.34 + *
41.35 + * Author Date Comment
41.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41.37 + * Rawin Rojvanit 11/19/04 Original.
41.38 + ********************************************************************/
41.39 +
41.40 +/** I N C L U D E S **********************************************************/
41.41 +#include <p18cxxx.h>
41.42 +#include "typedefs.h"
41.43 +#include "usb.h"
41.44 +
41.45 +/** V A R I A B L E S ********************************************************/
41.46 +#pragma udata
41.47 +byte ctrl_trf_state; // Control Transfer State
41.48 +byte ctrl_trf_session_owner; // Current transfer session owner
41.49 +
41.50 +POINTER pSrc; // Data source pointer
41.51 +POINTER pDst; // Data destination pointer
41.52 +WORD wCount; // Data counter
41.53 +
41.54 +/** P R I V A T E P R O T O T Y P E S ***************************************/
41.55 +void USBCtrlTrfSetupHandler(void);
41.56 +void USBCtrlTrfOutHandler(void);
41.57 +void USBCtrlTrfInHandler(void);
41.58 +
41.59 +/** D E C L A R A T I O N S **************************************************/
41.60 +#pragma code
41.61 +/******************************************************************************
41.62 + * Function: void USBCtrlEPService(void)
41.63 + *
41.64 + * PreCondition: USTAT is loaded with a valid endpoint address.
41.65 + *
41.66 + * Input: None
41.67 + *
41.68 + * Output: None
41.69 + *
41.70 + * Side Effects: None
41.71 + *
41.72 + * Overview: USBCtrlEPService checks for three transaction types that
41.73 + * it knows how to service and services them:
41.74 + * 1. EP0 SETUP
41.75 + * 2. EP0 OUT
41.76 + * 3. EP0 IN
41.77 + * It ignores all other types (i.e. EP1, EP2, etc.)
41.78 + *
41.79 + * Note: None
41.80 + *****************************************************************************/
41.81 +void USBCtrlEPService(void)
41.82 +{
41.83 + if(USTAT == EP00_OUT)
41.84 + {
41.85 + if(ep0Bo.Stat.PID == SETUP_TOKEN) // EP0 SETUP
41.86 + USBCtrlTrfSetupHandler();
41.87 + else // EP0 OUT
41.88 + USBCtrlTrfOutHandler();
41.89 + }
41.90 + else if(USTAT == EP00_IN) // EP0 IN
41.91 + USBCtrlTrfInHandler();
41.92 +
41.93 +}//end USBCtrlEPService
41.94 +
41.95 +/******************************************************************************
41.96 + * Function: void USBCtrlTrfSetupHandler(void)
41.97 + *
41.98 + * PreCondition: SetupPkt buffer is loaded with valid USB Setup Data
41.99 + *
41.100 + * Input: None
41.101 + *
41.102 + * Output: None
41.103 + *
41.104 + * Side Effects: None
41.105 + *
41.106 + * Overview: This routine is a task dispatcher and has 3 stages.
41.107 + * 1. It initializes the control transfer state machine.
41.108 + * 2. It calls on each of the module that may know how to
41.109 + * service the Setup Request from the host.
41.110 + * Module Example: USB9, HID, CDC, MSD, ...
41.111 + * As new classes are added, ClassReqHandler table in
41.112 + * usbdsc.c should be updated to call all available
41.113 + * class handlers.
41.114 + * 3. Once each of the modules has had a chance to check if
41.115 + * it is responsible for servicing the request, stage 3
41.116 + * then checks direction of the transfer to determine how
41.117 + * to prepare EP0 for the control transfer.
41.118 + * Refer to USBCtrlEPServiceComplete() for more details.
41.119 + *
41.120 + * Note: Microchip USB Firmware has three different states for
41.121 + * the control transfer state machine:
41.122 + * 1. WAIT_SETUP
41.123 + * 2. CTRL_TRF_TX
41.124 + * 3. CTRL_TRF_RX
41.125 + * Refer to firmware manual to find out how one state
41.126 + * is transitioned to another.
41.127 + *
41.128 + * A Control Transfer is composed of many USB transactions.
41.129 + * When transferring data over multiple transactions,
41.130 + * it is important to keep track of data source, data
41.131 + * destination, and data count. These three parameters are
41.132 + * stored in pSrc,pDst, and wCount. A flag is used to
41.133 + * note if the data source is from ROM or RAM.
41.134 + *
41.135 + *****************************************************************************/
41.136 +void USBCtrlTrfSetupHandler(void)
41.137 +{
41.138 + byte i;
41.139 +
41.140 + /* Stage 1 */
41.141 + ctrl_trf_state = WAIT_SETUP;
41.142 + ctrl_trf_session_owner = MUID_NULL; // Set owner to NULL
41.143 + wCount._word = 0;
41.144 +
41.145 + /* Stage 2 */
41.146 + USBCheckStdRequest(); // See system\usb9\usb9.c
41.147 +
41.148 + for(i=0;i < (sizeof(ClassReqHandler)/sizeof(pFunc));i++)
41.149 + {
41.150 + if(ctrl_trf_session_owner != MUID_NULL)break;
41.151 + ClassReqHandler[i](); // See autofiles\usbdsc.c
41.152 + }//end while
41.153 +
41.154 + /* Stage 3 */
41.155 + USBCtrlEPServiceComplete();
41.156 +
41.157 +}//end USBCtrlTrfSetupHandler
41.158 +
41.159 +/******************************************************************************
41.160 + * Function: void USBCtrlTrfOutHandler(void)
41.161 + *
41.162 + * PreCondition: None
41.163 + *
41.164 + * Input: None
41.165 + *
41.166 + * Output: None
41.167 + *
41.168 + * Side Effects: None
41.169 + *
41.170 + * Overview: This routine handles an OUT transaction according to
41.171 + * which control transfer state is currently active.
41.172 + *
41.173 + * Note: Note that if the the control transfer was from
41.174 + * host to device, the session owner should be notified
41.175 + * at the end of each OUT transaction to service the
41.176 + * received data.
41.177 + *
41.178 + *****************************************************************************/
41.179 +void USBCtrlTrfOutHandler(void)
41.180 +{
41.181 + if(ctrl_trf_state == CTRL_TRF_RX)
41.182 + {
41.183 + USBCtrlTrfRxService();
41.184 +
41.185 + /*
41.186 + * Don't have to worry about overwriting _KEEP bit
41.187 + * because if _KEEP was set, TRNIF would not have been
41.188 + * generated in the first place.
41.189 + */
41.190 + if(ep0Bo.Stat.DTS == 0)
41.191 + ep0Bo.Stat._byte = _USIE|_DAT1|_DTSEN;
41.192 + else
41.193 + ep0Bo.Stat._byte = _USIE|_DAT0|_DTSEN;
41.194 + }
41.195 + else // CTRL_TRF_TX
41.196 + USBPrepareForNextSetupTrf();
41.197 +
41.198 +}//end USBCtrlTrfOutHandler
41.199 +
41.200 +/******************************************************************************
41.201 + * Function: void USBCtrlTrfInHandler(void)
41.202 + *
41.203 + * PreCondition: None
41.204 + *
41.205 + * Input: None
41.206 + *
41.207 + * Output: None
41.208 + *
41.209 + * Side Effects: None
41.210 + *
41.211 + * Overview: This routine handles an IN transaction according to
41.212 + * which control transfer state is currently active.
41.213 + *
41.214 + *
41.215 + * Note: A Set Address Request must not change the acutal address
41.216 + * of the device until the completion of the control
41.217 + * transfer. The end of the control transfer for Set Address
41.218 + * Request is an IN transaction. Therefore it is necessary
41.219 + * to service this unique situation when the condition is
41.220 + * right. Macro mUSBCheckAdrPendingState is defined in
41.221 + * usb9.h and its function is to specifically service this
41.222 + * event.
41.223 + *****************************************************************************/
41.224 +void USBCtrlTrfInHandler(void)
41.225 +{
41.226 + mUSBCheckAdrPendingState(); // Must check if in ADR_PENDING_STATE
41.227 +
41.228 + if(ctrl_trf_state == CTRL_TRF_TX)
41.229 + {
41.230 + USBCtrlTrfTxService();
41.231 +
41.232 + if(ep0Bi.Stat.DTS == 0)
41.233 + ep0Bi.Stat._byte = _USIE|_DAT1|_DTSEN;
41.234 + else
41.235 + ep0Bi.Stat._byte = _USIE|_DAT0|_DTSEN;
41.236 + }
41.237 + else // CTRL_TRF_RX
41.238 + USBPrepareForNextSetupTrf();
41.239 +
41.240 +}//end USBCtrlTrfInHandler
41.241 +
41.242 +/******************************************************************************
41.243 + * Function: void USBCtrlTrfTxService(void)
41.244 + *
41.245 + * PreCondition: pSrc, wCount, and usb_stat.ctrl_trf_mem are setup properly.
41.246 + *
41.247 + * Input: None
41.248 + *
41.249 + * Output: None
41.250 + *
41.251 + * Side Effects: None
41.252 + *
41.253 + * Overview: This routine should be called from only two places.
41.254 + * One from USBCtrlEPServiceComplete() and one from
41.255 + * USBCtrlTrfInHandler(). It takes care of managing a
41.256 + * transfer over multiple USB transactions.
41.257 + *
41.258 + * Note: This routine works with isochronous endpoint larger than
41.259 + * 256 bytes and is shown here as an example of how to deal
41.260 + * with BC9 and BC8. In reality, a control endpoint can never
41.261 + * be larger than 64 bytes.
41.262 + *****************************************************************************/
41.263 +void USBCtrlTrfTxService(void)
41.264 +{
41.265 + WORD byte_to_send;
41.266 +
41.267 + /*
41.268 + * First, have to figure out how many byte of data to send.
41.269 + */
41.270 + if(wCount._word < EP0_BUFF_SIZE)
41.271 + byte_to_send._word = wCount._word;
41.272 + else
41.273 + byte_to_send._word = EP0_BUFF_SIZE;
41.274 +
41.275 + /*
41.276 + * Next, load the number of bytes to send to BC9..0 in buffer descriptor
41.277 + */
41.278 + ep0Bi.Stat.BC9 = 0;
41.279 + ep0Bi.Stat.BC8 = 0;
41.280 + ep0Bi.Stat._byte |= MSB(byte_to_send);
41.281 + ep0Bi.Cnt = LSB(byte_to_send);
41.282 +
41.283 + /*
41.284 + * Subtract the number of bytes just about to be sent from the total.
41.285 + */
41.286 + wCount._word = wCount._word - byte_to_send._word;
41.287 +
41.288 + pDst.bRam = (byte*)&CtrlTrfData; // Set destination pointer
41.289 +
41.290 + if(usb_stat.ctrl_trf_mem == _ROM) // Determine type of memory source
41.291 + {
41.292 + while(byte_to_send._word)
41.293 + {
41.294 + *pDst.bRam = *pSrc.bRom;
41.295 + pDst.bRam++;
41.296 + pSrc.bRom++;
41.297 + byte_to_send._word--;
41.298 + }//end while(byte_to_send._word)
41.299 + }
41.300 + else // RAM
41.301 + {
41.302 + while(byte_to_send._word)
41.303 + {
41.304 + *pDst.bRam = *pSrc.bRam;
41.305 + pDst.bRam++;
41.306 + pSrc.bRam++;
41.307 + byte_to_send._word--;
41.308 + }//end while(byte_to_send._word)
41.309 + }//end if(usb_stat.ctrl_trf_mem == _ROM)
41.310 +
41.311 +}//end USBCtrlTrfTxService
41.312 +
41.313 +/******************************************************************************
41.314 + * Function: void USBCtrlTrfRxService(void)
41.315 + *
41.316 + * PreCondition: pDst and wCount are setup properly.
41.317 + * pSrc is always &CtrlTrfData
41.318 + * usb_stat.ctrl_trf_mem is always _RAM.
41.319 + * wCount should be set to 0 at the start of each control
41.320 + * transfer.
41.321 + *
41.322 + * Input: None
41.323 + *
41.324 + * Output: None
41.325 + *
41.326 + * Side Effects: None
41.327 + *
41.328 + * Overview: *** This routine is only partially complete. Check for
41.329 + * new version of the firmware.
41.330 + *
41.331 + * Note: None
41.332 + *****************************************************************************/
41.333 +void USBCtrlTrfRxService(void)
41.334 +{
41.335 + WORD byte_to_read;
41.336 +
41.337 + MSB(byte_to_read) = 0x03 & ep0Bo.Stat._byte; // Filter out last 2 bits
41.338 + LSB(byte_to_read) = ep0Bo.Cnt;
41.339 +
41.340 + /*
41.341 + * Accumulate total number of bytes read
41.342 + */
41.343 + wCount._word = wCount._word + byte_to_read._word;
41.344 +
41.345 + pSrc.bRam = (byte*)&CtrlTrfData;
41.346 +
41.347 + while(byte_to_read._word)
41.348 + {
41.349 + *pDst.bRam = *pSrc.bRam;
41.350 + pDst.bRam++;
41.351 + pSrc.bRam++;
41.352 + byte_to_read._word--;
41.353 + }//end while(byte_to_read._word)
41.354 +
41.355 +}//end USBCtrlTrfRxService
41.356 +
41.357 +/******************************************************************************
41.358 + * Function: void USBCtrlEPServiceComplete(void)
41.359 + *
41.360 + * PreCondition: None
41.361 + *
41.362 + * Input: None
41.363 + *
41.364 + * Output: None
41.365 + *
41.366 + * Side Effects: None
41.367 + *
41.368 + * Overview: This routine wrap up the ramaining tasks in servicing
41.369 + * a Setup Request. Its main task is to set the endpoint
41.370 + * controls appropriately for a given situation. See code
41.371 + * below.
41.372 + * There are three main scenarios:
41.373 + * a) There was no handler for the Request, in this case
41.374 + * a STALL should be sent out.
41.375 + * b) The host has requested a read control transfer,
41.376 + * endpoints are required to be setup in a specific way.
41.377 + * c) The host has requested a write control transfer, or
41.378 + * a control data stage is not required, endpoints are
41.379 + * required to be setup in a specific way.
41.380 + *
41.381 + * Packet processing is resumed by clearing PKTDIS bit.
41.382 + *
41.383 + * Note: None
41.384 + *****************************************************************************/
41.385 +void USBCtrlEPServiceComplete(void)
41.386 +{
41.387 + if(ctrl_trf_session_owner == MUID_NULL)
41.388 + {
41.389 + /*
41.390 + * If no one knows how to service this request then stall.
41.391 + * Must also prepare EP0 to receive the next SETUP transaction.
41.392 + */
41.393 + ep0Bo.Cnt = EP0_BUFF_SIZE;
41.394 + ep0Bo.ADR = (byte*)&SetupPkt;
41.395 +
41.396 + ep0Bo.Stat._byte = _USIE|_BSTALL;
41.397 + ep0Bi.Stat._byte = _USIE|_BSTALL;
41.398 + }
41.399 + else // A module has claimed ownership of the control transfer session.
41.400 + {
41.401 + if(SetupPkt.DataDir == DEV_TO_HOST)
41.402 + {
41.403 + if(SetupPkt.wLength < wCount._word)
41.404 + wCount._word = SetupPkt.wLength;
41.405 + USBCtrlTrfTxService();
41.406 + ctrl_trf_state = CTRL_TRF_TX;
41.407 + /*
41.408 + * Control Read:
41.409 + * <SETUP[0]><IN[1]><IN[0]>...<OUT[1]> | <SETUP[0]>
41.410 + * 1. Prepare OUT EP to respond to early termination
41.411 + *
41.412 + * NOTE:
41.413 + * If something went wrong during the control transfer,
41.414 + * the last status stage may not be sent by the host.
41.415 + * When this happens, two different things could happen
41.416 + * depending on the host.
41.417 + * a) The host could send out a RESET.
41.418 + * b) The host could send out a new SETUP transaction
41.419 + * without sending a RESET first.
41.420 + * To properly handle case (b), the OUT EP must be setup
41.421 + * to receive either a zero length OUT transaction, or a
41.422 + * new SETUP transaction.
41.423 + *
41.424 + * Since the SETUP transaction requires the DTS bit to be
41.425 + * DAT0 while the zero length OUT status requires the DTS
41.426 + * bit to be DAT1, the DTS bit check by the hardware should
41.427 + * be disabled. This way the SIE could accept either of
41.428 + * the two transactions.
41.429 + *
41.430 + * Furthermore, the Cnt byte should be set to prepare for
41.431 + * the SETUP data (8-byte or more), and the buffer address
41.432 + * should be pointed to SetupPkt.
41.433 + */
41.434 + ep0Bo.Cnt = EP0_BUFF_SIZE;
41.435 + ep0Bo.ADR = (byte*)&SetupPkt;
41.436 + ep0Bo.Stat._byte = _USIE; // Note: DTSEN is 0!
41.437 +
41.438 + /*
41.439 + * 2. Prepare IN EP to transfer data, Cnt should have
41.440 + * been initialized by responsible request owner.
41.441 + */
41.442 + ep0Bi.ADR = (byte*)&CtrlTrfData;
41.443 + ep0Bi.Stat._byte = _USIE|_DAT1|_DTSEN;
41.444 + }
41.445 + else // (SetupPkt.DataDir == HOST_TO_DEV)
41.446 + {
41.447 + ctrl_trf_state = CTRL_TRF_RX;
41.448 + /*
41.449 + * Control Write:
41.450 + * <SETUP[0]><OUT[1]><OUT[0]>...<IN[1]> | <SETUP[0]>
41.451 + *
41.452 + * 1. Prepare IN EP to respond to early termination
41.453 + *
41.454 + * This is the same as a Zero Length Packet Response
41.455 + * for control transfer without a data stage
41.456 + */
41.457 + ep0Bi.Cnt = 0;
41.458 + ep0Bi.Stat._byte = _USIE|_DAT1|_DTSEN;
41.459 +
41.460 + /*
41.461 + * 2. Prepare OUT EP to receive data.
41.462 + */
41.463 + ep0Bo.Cnt = EP0_BUFF_SIZE;
41.464 + ep0Bo.ADR = (byte*)&CtrlTrfData;
41.465 + ep0Bo.Stat._byte = _USIE|_DAT1|_DTSEN;
41.466 + }//end if(SetupPkt.DataDir == DEV_TO_HOST)
41.467 + }//end if(ctrl_trf_session_owner == MUID_NULL)
41.468 +
41.469 + /*
41.470 + * PKTDIS bit is set when a Setup Transaction is received.
41.471 + * Clear to resume packet processing.
41.472 + */
41.473 + UCONbits.PKTDIS = 0;
41.474 +
41.475 +}//end USBCtrlEPServiceComplete
41.476 +
41.477 +/******************************************************************************
41.478 + * Function: void USBPrepareForNextSetupTrf(void)
41.479 + *
41.480 + * PreCondition: None
41.481 + *
41.482 + * Input: None
41.483 + *
41.484 + * Output: None
41.485 + *
41.486 + * Side Effects: None
41.487 + *
41.488 + * Overview: The routine forces EP0 OUT to be ready for a new Setup
41.489 + * transaction, and forces EP0 IN to be owned by CPU.
41.490 + *
41.491 + * Note: None
41.492 + *****************************************************************************/
41.493 +void USBPrepareForNextSetupTrf(void)
41.494 +{
41.495 + ctrl_trf_state = WAIT_SETUP; // See usbctrltrf.h
41.496 + ep0Bo.Cnt = EP0_BUFF_SIZE; // Defined in usbcfg.h
41.497 + ep0Bo.ADR = (byte*)&SetupPkt;
41.498 + ep0Bo.Stat._byte = _USIE|_DAT0|_DTSEN; // EP0 buff dsc init, see usbmmap.h
41.499 + ep0Bi.Stat._byte = _UCPU; // EP0 IN buffer initialization
41.500 +}//end USBPrepareForNextSetupTrf
41.501 +
41.502 +/** EOF usbctrltrf.c *********************************************************/
42.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
42.2 +++ b/firmware/usbctrltrf.h Tue Jan 29 22:31:52 2008 +0100
42.3 @@ -0,0 +1,82 @@
42.4 +/*********************************************************************
42.5 + *
42.6 + * Microchip USB C18 Firmware Version 1.0
42.7 + *
42.8 + *********************************************************************
42.9 + * FileName: usbctrltrf.h
42.10 + * Dependencies: See INCLUDES section below
42.11 + * Processor: PIC18
42.12 + * Compiler: C18 2.30.01+
42.13 + * Company: Microchip Technology, Inc.
42.14 + *
42.15 + * Software License Agreement
42.16 + *
42.17 + * The software supplied herewith by Microchip Technology Incorporated
42.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
42.19 + * supplied to you, the Company’s customer, for use solely and
42.20 + * exclusively on Microchip PICmicro Microcontroller products. The
42.21 + * software is owned by the Company and/or its supplier, and is
42.22 + * protected under applicable copyright laws. All rights are reserved.
42.23 + * Any use in violation of the foregoing restrictions may subject the
42.24 + * user to criminal sanctions under applicable laws, as well as to
42.25 + * civil liability for the breach of the terms and conditions of this
42.26 + * license.
42.27 + *
42.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
42.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
42.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
42.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
42.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
42.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
42.34 + *
42.35 + * Author Date Comment
42.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42.37 + * Rawin Rojvanit 11/19/04 Original.
42.38 + ********************************************************************/
42.39 +#ifndef USBCTRLTRF_H
42.40 +#define USBCTRLTRF_H
42.41 +
42.42 +/** I N C L U D E S **********************************************************/
42.43 +#include "typedefs.h"
42.44 +
42.45 +/** D E F I N I T I O N S ****************************************************/
42.46 +
42.47 +/* Control Transfer States */
42.48 +#define WAIT_SETUP 0
42.49 +#define CTRL_TRF_TX 1
42.50 +#define CTRL_TRF_RX 2
42.51 +
42.52 +/* USB PID: Token Types - See chapter 8 in the USB specification */
42.53 +#define SETUP_TOKEN 0b00001101
42.54 +#define OUT_TOKEN 0b00000001
42.55 +#define IN_TOKEN 0b00001001
42.56 +
42.57 +/* bmRequestType Definitions */
42.58 +#define HOST_TO_DEV 0
42.59 +#define DEV_TO_HOST 1
42.60 +
42.61 +#define STANDARD 0x00
42.62 +#define CLASS 0x01
42.63 +#define VENDOR 0x02
42.64 +
42.65 +#define RCPT_DEV 0
42.66 +#define RCPT_INTF 1
42.67 +#define RCPT_EP 2
42.68 +#define RCPT_OTH 3
42.69 +
42.70 +/** E X T E R N S ************************************************************/
42.71 +extern byte ctrl_trf_session_owner;
42.72 +
42.73 +extern POINTER pSrc;
42.74 +extern POINTER pDst;
42.75 +extern WORD wCount;
42.76 +
42.77 +/** P U B L I C P R O T O T Y P E S *****************************************/
42.78 +void USBCtrlEPService(void);
42.79 +void USBCtrlTrfTxService(void);
42.80 +void USBCtrlTrfRxService(void);
42.81 +void USBCtrlEPServiceComplete(void);
42.82 +void USBPrepareForNextSetupTrf(void);
42.83 +
42.84 +
42.85 +#endif //USBCTRLTRF_H
43.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
43.2 +++ b/firmware/usbdefs_ep0_buff.h Tue Jan 29 22:31:52 2008 +0100
43.3 @@ -0,0 +1,209 @@
43.4 +/*********************************************************************
43.5 + *
43.6 + * Microchip USB C18 Firmware Version 1.0
43.7 + *
43.8 + *********************************************************************
43.9 + * FileName: usbdefs_ep0_buff.h
43.10 + * Dependencies: See INCLUDES section below
43.11 + * Processor: PIC18
43.12 + * Compiler: C18 2.30.01+
43.13 + * Company: Microchip Technology, Inc.
43.14 + *
43.15 + * Software License Agreement
43.16 + *
43.17 + * The software supplied herewith by Microchip Technology Incorporated
43.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
43.19 + * supplied to you, the Company’s customer, for use solely and
43.20 + * exclusively on Microchip PICmicro Microcontroller products. The
43.21 + * software is owned by the Company and/or its supplier, and is
43.22 + * protected under applicable copyright laws. All rights are reserved.
43.23 + * Any use in violation of the foregoing restrictions may subject the
43.24 + * user to criminal sanctions under applicable laws, as well as to
43.25 + * civil liability for the breach of the terms and conditions of this
43.26 + * license.
43.27 + *
43.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
43.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
43.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
43.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
43.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
43.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
43.34 + *
43.35 + * Author Date Comment
43.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43.37 + * Rawin Rojvanit 11/19/04 Original.
43.38 + ********************************************************************/
43.39 +
43.40 +/******************************************************************************
43.41 + * USB Definitions: Endpoint 0 Buffer
43.42 + *****************************************************************************/
43.43 +#ifndef USBDEFS_EP0_BUFF_H
43.44 +#define USBDEFS_EP0_BUFF_H
43.45 +
43.46 +/** I N C L U D E S **********************************************************/
43.47 +#include "typedefs.h"
43.48 +#include "usbcfg.h" // usbcfg.h contains required definitions
43.49 +
43.50 +/******************************************************************************
43.51 + * CTRL_TRF_SETUP:
43.52 + *
43.53 + * Every setup packet has 8 bytes.
43.54 + * However, the buffer size has to equal the EP0_BUFF_SIZE value specified
43.55 + * in autofiles\usbcfg.h
43.56 + * The value of EP0_BUFF_SIZE can be 8, 16, 32, or 64.
43.57 + *
43.58 + * First 8 bytes are defined to be directly addressable to improve speed
43.59 + * and reduce code size.
43.60 + * Bytes beyond the 8th byte have to be accessed using indirect addressing.
43.61 + *****************************************************************************/
43.62 +typedef union _CTRL_TRF_SETUP
43.63 +{
43.64 + /** Array for indirect addressing ****************************************/
43.65 + struct
43.66 + {
43.67 + byte _byte[EP0_BUFF_SIZE];
43.68 + };
43.69 +
43.70 + /** Standard Device Requests *********************************************/
43.71 + struct
43.72 + {
43.73 + byte bmRequestType;
43.74 + byte bRequest;
43.75 + word wValue;
43.76 + word wIndex;
43.77 + word wLength;
43.78 + };
43.79 + struct
43.80 + {
43.81 + unsigned :8;
43.82 + unsigned :8;
43.83 + WORD W_Value;
43.84 + WORD W_Index;
43.85 + WORD W_Length;
43.86 + };
43.87 + struct
43.88 + {
43.89 + unsigned Recipient:5; //Device,Interface,Endpoint,Other
43.90 + unsigned RequestType:2; //Standard,Class,Vendor,Reserved
43.91 + unsigned DataDir:1; //Host-to-device,Device-to-host
43.92 + unsigned :8;
43.93 + byte bFeature; //DEVICE_REMOTE_WAKEUP,ENDPOINT_HALT
43.94 + unsigned :8;
43.95 + unsigned :8;
43.96 + unsigned :8;
43.97 + unsigned :8;
43.98 + unsigned :8;
43.99 + };
43.100 + struct
43.101 + {
43.102 + unsigned :8;
43.103 + unsigned :8;
43.104 + byte bDscIndex; //For Configuration and String DSC Only
43.105 + byte bDscType; //Device,Configuration,String
43.106 + word wLangID; //Language ID
43.107 + unsigned :8;
43.108 + unsigned :8;
43.109 + };
43.110 + struct
43.111 + {
43.112 + unsigned :8;
43.113 + unsigned :8;
43.114 + BYTE bDevADR; //Device Address 0-127
43.115 + byte bDevADRH; //Must equal zero
43.116 + unsigned :8;
43.117 + unsigned :8;
43.118 + unsigned :8;
43.119 + unsigned :8;
43.120 + };
43.121 + struct
43.122 + {
43.123 + unsigned :8;
43.124 + unsigned :8;
43.125 + byte bCfgValue; //Configuration Value 0-255
43.126 + byte bCfgRSD; //Must equal zero (Reserved)
43.127 + unsigned :8;
43.128 + unsigned :8;
43.129 + unsigned :8;
43.130 + unsigned :8;
43.131 + };
43.132 + struct
43.133 + {
43.134 + unsigned :8;
43.135 + unsigned :8;
43.136 + byte bAltID; //Alternate Setting Value 0-255
43.137 + byte bAltID_H; //Must equal zero
43.138 + byte bIntfID; //Interface Number Value 0-255
43.139 + byte bIntfID_H; //Must equal zero
43.140 + unsigned :8;
43.141 + unsigned :8;
43.142 + };
43.143 + struct
43.144 + {
43.145 + unsigned :8;
43.146 + unsigned :8;
43.147 + unsigned :8;
43.148 + unsigned :8;
43.149 + byte bEPID; //Endpoint ID (Number & Direction)
43.150 + byte bEPID_H; //Must equal zero
43.151 + unsigned :8;
43.152 + unsigned :8;
43.153 + };
43.154 + struct
43.155 + {
43.156 + unsigned :8;
43.157 + unsigned :8;
43.158 + unsigned :8;
43.159 + unsigned :8;
43.160 + unsigned EPNum:4; //Endpoint Number 0-15
43.161 + unsigned :3;
43.162 + unsigned EPDir:1; //Endpoint Direction: 0-OUT, 1-IN
43.163 + unsigned :8;
43.164 + unsigned :8;
43.165 + unsigned :8;
43.166 + };
43.167 + /** End: Standard Device Requests ****************************************/
43.168 +
43.169 +} CTRL_TRF_SETUP;
43.170 +
43.171 +/******************************************************************************
43.172 + * CTRL_TRF_DATA:
43.173 + *
43.174 + * Buffer size has to equal the EP0_BUFF_SIZE value specified
43.175 + * in autofiles\usbcfg.h
43.176 + * The value of EP0_BUFF_SIZE can be 8, 16, 32, or 64.
43.177 + *
43.178 + * First 8 bytes are defined to be directly addressable to improve speed
43.179 + * and reduce code size.
43.180 + * Bytes beyond the 8th byte have to be accessed using indirect addressing.
43.181 + *****************************************************************************/
43.182 +typedef union _CTRL_TRF_DATA
43.183 +{
43.184 + /** Array for indirect addressing ****************************************/
43.185 + struct
43.186 + {
43.187 + byte _byte[EP0_BUFF_SIZE];
43.188 + };
43.189 +
43.190 + /** First 8-byte direct addressing ***************************************/
43.191 + struct
43.192 + {
43.193 + byte _byte0;
43.194 + byte _byte1;
43.195 + byte _byte2;
43.196 + byte _byte3;
43.197 + byte _byte4;
43.198 + byte _byte5;
43.199 + byte _byte6;
43.200 + byte _byte7;
43.201 + };
43.202 + struct
43.203 + {
43.204 + word _word0;
43.205 + word _word1;
43.206 + word _word2;
43.207 + word _word3;
43.208 + };
43.209 +
43.210 +} CTRL_TRF_DATA;
43.211 +
43.212 +#endif //USBDEFS_EP0_BUFF_H
44.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
44.2 +++ b/firmware/usbdefs_std_dsc.h Tue Jan 29 22:31:52 2008 +0100
44.3 @@ -0,0 +1,160 @@
44.4 +/*********************************************************************
44.5 + *
44.6 + * Microchip USB C18 Firmware Version 1.0
44.7 + *
44.8 + *********************************************************************
44.9 + * FileName: usbdefs_std_dsc.h
44.10 + * Dependencies: See INCLUDES section below
44.11 + * Processor: PIC18
44.12 + * Compiler: C18 2.30.01+
44.13 + * Company: Microchip Technology, Inc.
44.14 + *
44.15 + * Software License Agreement
44.16 + *
44.17 + * The software supplied herewith by Microchip Technology Incorporated
44.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
44.19 + * supplied to you, the Company’s customer, for use solely and
44.20 + * exclusively on Microchip PICmicro Microcontroller products. The
44.21 + * software is owned by the Company and/or its supplier, and is
44.22 + * protected under applicable copyright laws. All rights are reserved.
44.23 + * Any use in violation of the foregoing restrictions may subject the
44.24 + * user to criminal sanctions under applicable laws, as well as to
44.25 + * civil liability for the breach of the terms and conditions of this
44.26 + * license.
44.27 + *
44.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
44.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
44.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
44.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
44.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
44.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
44.34 + *
44.35 + * Author Date Comment
44.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.37 + * Rawin Rojvanit 11/19/04 Original.
44.38 + ********************************************************************/
44.39 +
44.40 +/******************************************************************************
44.41 + * USB Definitions: Standard Descriptors
44.42 + *****************************************************************************/
44.43 +#ifndef USBDEFS_STD_DSC_H
44.44 +#define USBDEFS_STD_DSC_H
44.45 +
44.46 +/** I N C L U D E S **********************************************************/
44.47 +#include "typedefs.h"
44.48 +
44.49 +/** D E F I N I T I O N S ****************************************************/
44.50 +
44.51 +/* Descriptor Types */
44.52 +#define DSC_DEV 0x01
44.53 +#define DSC_CFG 0x02
44.54 +#define DSC_STR 0x03
44.55 +#define DSC_INTF 0x04
44.56 +#define DSC_EP 0x05
44.57 +
44.58 +/******************************************************************************
44.59 + * USB Endpoint Definitions
44.60 + * USB Standard EP Address Format: DIR:X:X:X:EP3:EP2:EP1:EP0
44.61 + * This is used in the descriptors. See autofiles\usbdsc.c
44.62 + *
44.63 + * NOTE: Do not use these values for checking against USTAT.
44.64 + * To check against USTAT, use values defined in "system\usb\usbdrv\usbdrv.h"
44.65 + *****************************************************************************/
44.66 +#define _EP01_OUT 0x01
44.67 +#define _EP01_IN 0x81
44.68 +#define _EP02_OUT 0x02
44.69 +#define _EP02_IN 0x82
44.70 +#define _EP03_OUT 0x03
44.71 +#define _EP03_IN 0x83
44.72 +#define _EP04_OUT 0x04
44.73 +#define _EP04_IN 0x84
44.74 +#define _EP05_OUT 0x05
44.75 +#define _EP05_IN 0x85
44.76 +#define _EP06_OUT 0x06
44.77 +#define _EP06_IN 0x86
44.78 +#define _EP07_OUT 0x07
44.79 +#define _EP07_IN 0x87
44.80 +#define _EP08_OUT 0x08
44.81 +#define _EP08_IN 0x88
44.82 +#define _EP09_OUT 0x09
44.83 +#define _EP09_IN 0x89
44.84 +#define _EP10_OUT 0x0A
44.85 +#define _EP10_IN 0x8A
44.86 +#define _EP11_OUT 0x0B
44.87 +#define _EP11_IN 0x8B
44.88 +#define _EP12_OUT 0x0C
44.89 +#define _EP12_IN 0x8C
44.90 +#define _EP13_OUT 0x0D
44.91 +#define _EP13_IN 0x8D
44.92 +#define _EP14_OUT 0x0E
44.93 +#define _EP14_IN 0x8E
44.94 +#define _EP15_OUT 0x0F
44.95 +#define _EP15_IN 0x8F
44.96 +
44.97 +/* Configuration Attributes */
44.98 +#define _DEFAULT 0x01<<7 //Default Value (Bit 7 is set)
44.99 +#define _SELF 0x01<<6 //Self-powered (Supports if set)
44.100 +#define _RWU 0x01<<5 //Remote Wakeup (Supports if set)
44.101 +
44.102 +/* Endpoint Transfer Type */
44.103 +#define _CTRL 0x00 //Control Transfer
44.104 +#define _ISO 0x01 //Isochronous Transfer
44.105 +#define _BULK 0x02 //Bulk Transfer
44.106 +#define _INT 0x03 //Interrupt Transfer
44.107 +
44.108 +/* Isochronous Endpoint Synchronization Type */
44.109 +#define _NS 0x00<<2 //No Synchronization
44.110 +#define _AS 0x01<<2 //Asynchronous
44.111 +#define _AD 0x02<<2 //Adaptive
44.112 +#define _SY 0x03<<2 //Synchronous
44.113 +
44.114 +/* Isochronous Endpoint Usage Type */
44.115 +#define _DE 0x00<<4 //Data endpoint
44.116 +#define _FE 0x01<<4 //Feedback endpoint
44.117 +#define _IE 0x02<<4 //Implicit feedback Data endpoint
44.118 +
44.119 +
44.120 +/** S T R U C T U R E ********************************************************/
44.121 +
44.122 +/******************************************************************************
44.123 + * USB Device Descriptor Structure
44.124 + *****************************************************************************/
44.125 +typedef struct _USB_DEV_DSC
44.126 +{
44.127 + byte bLength; byte bDscType; word bcdUSB;
44.128 + byte bDevCls; byte bDevSubCls; byte bDevProtocol;
44.129 + byte bMaxPktSize0; word idVendor; word idProduct;
44.130 + word bcdDevice; byte iMFR; byte iProduct;
44.131 + byte iSerialNum; byte bNumCfg;
44.132 +} USB_DEV_DSC;
44.133 +
44.134 +/******************************************************************************
44.135 + * USB Configuration Descriptor Structure
44.136 + *****************************************************************************/
44.137 +typedef struct _USB_CFG_DSC
44.138 +{
44.139 + byte bLength; byte bDscType; word wTotalLength;
44.140 + byte bNumIntf; byte bCfgValue; byte iCfg;
44.141 + byte bmAttributes; byte bMaxPower;
44.142 +} USB_CFG_DSC;
44.143 +
44.144 +/******************************************************************************
44.145 + * USB Interface Descriptor Structure
44.146 + *****************************************************************************/
44.147 +typedef struct _USB_INTF_DSC
44.148 +{
44.149 + byte bLength; byte bDscType; byte bIntfNum;
44.150 + byte bAltSetting; byte bNumEPs; byte bIntfCls;
44.151 + byte bIntfSubCls; byte bIntfProtocol; byte iIntf;
44.152 +} USB_INTF_DSC;
44.153 +
44.154 +/******************************************************************************
44.155 + * USB Endpoint Descriptor Structure
44.156 + *****************************************************************************/
44.157 +typedef struct _USB_EP_DSC
44.158 +{
44.159 + byte bLength; byte bDscType; byte bEPAdr;
44.160 + byte bmAttributes; word wMaxPktSize; byte bInterval;
44.161 +} USB_EP_DSC;
44.162 +
44.163 +#endif //USBDEFS_STD_DSC_H
45.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
45.2 +++ b/firmware/usbdrv.c Tue Jan 29 22:31:52 2008 +0100
45.3 @@ -0,0 +1,587 @@
45.4 +/*********************************************************************
45.5 + *
45.6 + * Microchip USB C18 Firmware Version 1.0
45.7 + *
45.8 + *********************************************************************
45.9 + * FileName: usbdrv.c
45.10 + * Dependencies: See INCLUDES section below
45.11 + * Processor: PIC18
45.12 + * Compiler: C18 2.30.01+
45.13 + * Company: Microchip Technology, Inc.
45.14 + *
45.15 + * Software License Agreement
45.16 + *
45.17 + * The software supplied herewith by Microchip Technology Incorporated
45.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
45.19 + * supplied to you, the Company’s customer, for use solely and
45.20 + * exclusively on Microchip PICmicro Microcontroller products. The
45.21 + * software is owned by the Company and/or its supplier, and is
45.22 + * protected under applicable copyright laws. All rights are reserved.
45.23 + * Any use in violation of the foregoing restrictions may subject the
45.24 + * user to criminal sanctions under applicable laws, as well as to
45.25 + * civil liability for the breach of the terms and conditions of this
45.26 + * license.
45.27 + *
45.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
45.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
45.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
45.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
45.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
45.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
45.34 + *
45.35 + * Author Date Comment
45.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45.37 + * Rawin Rojvanit 11/19/04 Original.
45.38 + ********************************************************************/
45.39 +
45.40 +/** I N C L U D E S **********************************************************/
45.41 +#include <p18cxxx.h>
45.42 +#include "typedefs.h"
45.43 +#include "usb.h"
45.44 +#include "io_cfg.h" // Required for USBCheckBusStatus()
45.45 +
45.46 +/** V A R I A B L E S ********************************************************/
45.47 +#pragma udata
45.48 +
45.49 +/** P R I V A T E P R O T O T Y P E S ***************************************/
45.50 +void USBModuleEnable(void);
45.51 +void USBModuleDisable(void);
45.52 +
45.53 +void USBSuspend(void);
45.54 +void USBWakeFromSuspend(void);
45.55 +
45.56 +void USBProtocolResetHandler(void);
45.57 +void USB_SOF_Handler(void);
45.58 +void USBStallHandler(void);
45.59 +void USBErrorHandler(void);
45.60 +
45.61 +/** D E C L A R A T I O N S **************************************************/
45.62 +#pragma code
45.63 +/******************************************************************************
45.64 + * Function: void USBCheckBusStatus(void)
45.65 + *
45.66 + * PreCondition: None
45.67 + *
45.68 + * Input: None
45.69 + *
45.70 + * Output: None
45.71 + *
45.72 + * Side Effects: None
45.73 + *
45.74 + * Overview: This routine enables/disables the USB module by monitoring
45.75 + * the USB power signal.
45.76 + *
45.77 + * Note: None
45.78 + *****************************************************************************/
45.79 +void USBCheckBusStatus(void)
45.80 +{
45.81 + /**************************************************************************
45.82 + * Bus Attachment & Detachment Detection
45.83 + * usb_bus_sense is an i/o pin defined in io_cfg.h
45.84 + *************************************************************************/
45.85 + #define USB_BUS_ATTACHED 1
45.86 + #define USB_BUS_DETACHED 0
45.87 +
45.88 + if(usb_bus_sense == USB_BUS_ATTACHED) // Is USB bus attached?
45.89 + {
45.90 + if(UCONbits.USBEN == 0) // Is the module off?
45.91 + USBModuleEnable(); // Is off, enable it
45.92 + }
45.93 + else
45.94 + {
45.95 + if(UCONbits.USBEN == 1) // Is the module on?
45.96 + USBModuleDisable(); // Is on, disable it
45.97 + }//end if(usb_bus_sense...)
45.98 +
45.99 + /*
45.100 + * After enabling the USB module, it takes some time for the voltage
45.101 + * on the D+ or D- line to rise high enough to get out of the SE0 condition.
45.102 + * The USB Reset interrupt should not be unmasked until the SE0 condition is
45.103 + * cleared. This helps preventing the firmware from misinterpreting this
45.104 + * unique event as a USB bus reset from the USB host.
45.105 + */
45.106 + if(usb_device_state == ATTACHED_STATE)
45.107 + {
45.108 + if(!UCONbits.SE0)
45.109 + {
45.110 + UIR = 0; // Clear all USB interrupts
45.111 + UIE = 0; // Mask all USB interrupts
45.112 + UIEbits.URSTIE = 1; // Unmask RESET interrupt
45.113 + UIEbits.IDLEIE = 1; // Unmask IDLE interrupt
45.114 + usb_device_state = POWERED_STATE;
45.115 + }//end if // else wait until SE0 is cleared
45.116 + }//end if(usb_device_state == ATTACHED_STATE)
45.117 +
45.118 +}//end USBCheckBusStatus
45.119 +
45.120 +/******************************************************************************
45.121 + * Function: void USBModuleEnable(void)
45.122 + *
45.123 + * PreCondition: None
45.124 + *
45.125 + * Input: None
45.126 + *
45.127 + * Output: None
45.128 + *
45.129 + * Side Effects: None
45.130 + *
45.131 + * Overview: This routine enables the USB module.
45.132 + * An end designer should never have to call this routine
45.133 + * manually. This routine should only be called from
45.134 + * USBCheckBusStatus().
45.135 + *
45.136 + * Note: See USBCheckBusStatus() for more information.
45.137 + *****************************************************************************/
45.138 +void USBModuleEnable(void)
45.139 +{
45.140 + UCON = 0;
45.141 + UIE = 0; // Mask all USB interrupts
45.142 + UCONbits.USBEN = 1; // Enable module & attach to bus
45.143 + usb_device_state = ATTACHED_STATE; // Defined in usbmmap.c & .h
45.144 +}//end USBModuleEnable
45.145 +
45.146 +/******************************************************************************
45.147 + * Function: void USBModuleDisable(void)
45.148 + *
45.149 + * PreCondition: None
45.150 + *
45.151 + * Input: None
45.152 + *
45.153 + * Output: None
45.154 + *
45.155 + * Side Effects: None
45.156 + *
45.157 + * Overview: This routine disables the USB module.
45.158 + * An end designer should never have to call this routine
45.159 + * manually. This routine should only be called from
45.160 + * USBCheckBusStatus().
45.161 + *
45.162 + * Note: See USBCheckBusStatus() for more information.
45.163 + *****************************************************************************/
45.164 +void USBModuleDisable(void)
45.165 +{
45.166 + UCON = 0; // Disable module & detach from bus
45.167 + UIE = 0; // Mask all USB interrupts
45.168 + usb_device_state = DETACHED_STATE; // Defined in usbmmap.c & .h
45.169 +}//end USBModuleDisable
45.170 +
45.171 +/******************************************************************************
45.172 + * Function: void USBSoftDetach(void)
45.173 + *
45.174 + * PreCondition: None
45.175 + *
45.176 + * Input: None
45.177 + *
45.178 + * Output: None
45.179 + *
45.180 + * Side Effects: The device will have to be re-enumerated to function again.
45.181 + *
45.182 + * Overview: USBSoftDetach electrically disconnects the device from
45.183 + * the bus. This is done by stop supplying Vusb voltage to
45.184 + * pull-up resistor. The pull-down resistors on the host
45.185 + * side will pull both differential signal lines low and
45.186 + * the host registers the event as a disconnect.
45.187 + *
45.188 + * Since the USB cable is not physically disconnected, the
45.189 + * power supply through the cable can still be sensed by
45.190 + * the device. The next time USBCheckBusStatus() function
45.191 + * is called, it will reconnect the device back to the bus.
45.192 + *
45.193 + * Note: None
45.194 + *****************************************************************************/
45.195 +void USBSoftDetach(void)
45.196 +{
45.197 + USBModuleDisable();
45.198 +}//end USBSoftDetach
45.199 +
45.200 +/******************************************************************************
45.201 + * Function: void USBDriverService(void)
45.202 + *
45.203 + * PreCondition: None
45.204 + *
45.205 + * Input: None
45.206 + *
45.207 + * Output: None
45.208 + *
45.209 + * Side Effects: None
45.210 + *
45.211 + * Overview: This routine is the heart of this firmware. It manages
45.212 + * all USB interrupts.
45.213 + *
45.214 + * Note: Device state transitions through the following stages:
45.215 + * DETACHED -> ATTACHED -> POWERED -> DEFAULT ->
45.216 + * ADDRESS_PENDING -> ADDRESSED -> CONFIGURED -> READY
45.217 + *****************************************************************************/
45.218 +void USBDriverService(void)
45.219 +{
45.220 + /*
45.221 + * Pointless to continue servicing if USB cable is not even attached.
45.222 + */
45.223 + if(usb_device_state == DETACHED_STATE) return;
45.224 +
45.225 + /*
45.226 + * Task A: Service USB Activity Interrupt
45.227 + */
45.228 +
45.229 + if(UIRbits.ACTVIF && UIEbits.ACTVIE) USBWakeFromSuspend();
45.230 +
45.231 + /*
45.232 + * Pointless to continue servicing if the device is in suspend mode.
45.233 + */
45.234 + if(UCONbits.SUSPND==1) return;
45.235 +
45.236 + /*
45.237 + * Task B: Service USB Bus Reset Interrupt.
45.238 + * When bus reset is received during suspend, ACTVIF will be set first,
45.239 + * once the UCONbits.SUSPND is clear, then the URSTIF bit will be asserted.
45.240 + * This is why URSTIF is checked after ACTVIF.
45.241 + */
45.242 + if(UIRbits.URSTIF && UIEbits.URSTIE) USBProtocolResetHandler();
45.243 +
45.244 + /*
45.245 + * Task C: Service other USB interrupts
45.246 + */
45.247 + if(UIRbits.IDLEIF && UIEbits.IDLEIE) USBSuspend();
45.248 + if(UIRbits.SOFIF && UIEbits.SOFIE) USB_SOF_Handler();
45.249 + if(UIRbits.STALLIF && UIEbits.STALLIE) USBStallHandler();
45.250 + if(UIRbits.UERRIF && UIEbits.UERRIE) USBErrorHandler();
45.251 +
45.252 + /*
45.253 + * Pointless to continue servicing if the host has not sent a bus reset.
45.254 + * Once bus reset is received, the device transitions into the DEFAULT
45.255 + * state and is ready for communication.
45.256 + */
45.257 + if(usb_device_state < DEFAULT_STATE) return;
45.258 +
45.259 + /*
45.260 + * Task D: Servicing USB Transaction Complete Interrupt
45.261 + */
45.262 + if(UIRbits.TRNIF && UIEbits.TRNIE)
45.263 + {
45.264 + /*
45.265 + * USBCtrlEPService only services transactions over EP0.
45.266 + * It ignores all other EP transactions.
45.267 + */
45.268 + USBCtrlEPService();
45.269 +
45.270 + /*
45.271 + * Other EP can be serviced later by responsible device class firmware.
45.272 + * Each device driver knows when an OUT or IN transaction is ready by
45.273 + * checking the buffer ownership bit.
45.274 + * An OUT EP should always be owned by SIE until the data is ready.
45.275 + * An IN EP should always be owned by CPU until the data is ready.
45.276 + *
45.277 + * Because of this logic, it is not necessary to save the USTAT value
45.278 + * of non-EP0 transactions.
45.279 + */
45.280 + UIRbits.TRNIF = 0;
45.281 + }//end if(UIRbits.TRNIF && UIEbits.TRNIE)
45.282 +
45.283 +}//end USBDriverService
45.284 +
45.285 +/******************************************************************************
45.286 + * Function: void USBSuspend(void)
45.287 + *
45.288 + * PreCondition: None
45.289 + *
45.290 + * Input: None
45.291 + *
45.292 + * Output: None
45.293 + *
45.294 + * Side Effects: None
45.295 + *
45.296 + * Overview:
45.297 + *
45.298 + * Note: None
45.299 + *****************************************************************************/
45.300 +void USBSuspend(void)
45.301 +{
45.302 + /*
45.303 + * NOTE: Do not clear UIRbits.ACTVIF here!
45.304 + * Reason:
45.305 + * ACTVIF is only generated once an IDLEIF has been generated.
45.306 + * This is a 1:1 ratio interrupt generation.
45.307 + * For every IDLEIF, there will be only one ACTVIF regardless of
45.308 + * the number of subsequent bus transitions.
45.309 + *
45.310 + * If the ACTIF is cleared here, a problem could occur when:
45.311 + * [ IDLE ][bus activity ->
45.312 + * <--- 3 ms -----> ^
45.313 + * ^ ACTVIF=1
45.314 + * IDLEIF=1
45.315 + * # # # # (#=Program polling flags)
45.316 + * ^
45.317 + * This polling loop will see both
45.318 + * IDLEIF=1 and ACTVIF=1.
45.319 + * However, the program services IDLEIF first
45.320 + * because ACTIVIE=0.
45.321 + * If this routine clears the only ACTIVIF,
45.322 + * then it can never get out of the suspend
45.323 + * mode.
45.324 + */
45.325 + UIEbits.ACTVIE = 1; // Enable bus activity interrupt
45.326 + UIRbits.IDLEIF = 0;
45.327 + UCONbits.SUSPND = 1; // Put USB module in power conserve
45.328 + // mode, SIE clock inactive
45.329 + /*
45.330 + * At this point the PIC can go into sleep,idle, or
45.331 + * switch to a slower clock, etc.
45.332 + */
45.333 +
45.334 + /* Modifiable Section */
45.335 + PIR2bits.USBIF = 0;
45.336 + PIE2bits.USBIE = 1; // Set USB wakeup source
45.337 + Sleep(); // Goto sleep
45.338 + PIE2bits.USBIE = 0;
45.339 + /* End Modifiable Section */
45.340 +
45.341 +}//end USBSuspend
45.342 +
45.343 +/******************************************************************************
45.344 + * Function: void USBWakeFromSuspend(void)
45.345 + *
45.346 + * PreCondition: None
45.347 + *
45.348 + * Input: None
45.349 + *
45.350 + * Output: None
45.351 + *
45.352 + * Side Effects: None
45.353 + *
45.354 + * Overview:
45.355 + *
45.356 + * Note: None
45.357 + *****************************************************************************/
45.358 +void USBWakeFromSuspend(void)
45.359 +{
45.360 + /*
45.361 + * If using clock switching, this is the place to restore the
45.362 + * original clock frequency.
45.363 + */
45.364 + UCONbits.SUSPND = 0;
45.365 + UIEbits.ACTVIE = 0;
45.366 + UIRbits.ACTVIF = 0;
45.367 +}//end USBWakeFromSuspend
45.368 +
45.369 +/******************************************************************************
45.370 + * Function: void USBRemoteWakeup(void)
45.371 + *
45.372 + * PreCondition: None
45.373 + *
45.374 + * Input: None
45.375 + *
45.376 + * Output: None
45.377 + *
45.378 + * Side Effects: None
45.379 + *
45.380 + * Overview: This function should be called by user when the device
45.381 + * is waken up by an external stimulus other than ACTIVIF.
45.382 + * Please read the note below to understand the limitations.
45.383 + *
45.384 + * Note: The modifiable section in this routine should be changed
45.385 + * to meet the application needs. Current implementation
45.386 + * temporary blocks other functions from executing for a
45.387 + * period of 1-13 ms depending on the core frequency.
45.388 + *
45.389 + * According to USB 2.0 specification section 7.1.7.7,
45.390 + * "The remote wakeup device must hold the resume signaling
45.391 + * for at lest 1 ms but for no more than 15 ms."
45.392 + * The idea here is to use a delay counter loop, using a
45.393 + * common value that would work over a wide range of core
45.394 + * frequencies.
45.395 + * That value selected is 1800. See table below:
45.396 + * ==========================================================
45.397 + * Core Freq(MHz) MIP RESUME Signal Period (ms)
45.398 + * ==========================================================
45.399 + * 48 12 1.05
45.400 + * 4 1 12.6
45.401 + * ==========================================================
45.402 + * * These timing could be incorrect when using code
45.403 + * optimization or extended instruction mode,
45.404 + * or when having other interrupts enabled.
45.405 + * Make sure to verify using the MPLAB SIM's Stopwatch
45.406 + *****************************************************************************/
45.407 +void USBRemoteWakeup(void)
45.408 +{
45.409 + static word delay_count;
45.410 +
45.411 + if(usb_stat.RemoteWakeup == 1) // Check if RemoteWakeup function
45.412 + { // has been enabled by the host.
45.413 + USBWakeFromSuspend(); // Unsuspend USB modue
45.414 + UCONbits.RESUME = 1; // Start RESUME signaling
45.415 +
45.416 + /* Modifiable Section */
45.417 +
45.418 + delay_count = 1800U; // Set RESUME line for 1-13 ms
45.419 + do
45.420 + {
45.421 + delay_count--;
45.422 + }while(delay_count);
45.423 +
45.424 + /* End Modifiable Section */
45.425 +
45.426 + UCONbits.RESUME = 0;
45.427 + }//endif
45.428 +}//end USBRemoteWakeup
45.429 +
45.430 +/******************************************************************************
45.431 + * Function: void USB_SOF_Handler(void)
45.432 + *
45.433 + * PreCondition: None
45.434 + *
45.435 + * Input: None
45.436 + *
45.437 + * Output: None
45.438 + *
45.439 + * Side Effects: None
45.440 + *
45.441 + * Overview: The USB host sends out a SOF packet to full-speed devices
45.442 + * every 1 ms. This interrupt may be useful for isochronous
45.443 + * pipes. End designers should implement callback routine
45.444 + * as necessary.
45.445 + *
45.446 + * Note: None
45.447 + *****************************************************************************/
45.448 +void USB_SOF_Handler(void)
45.449 +{
45.450 + /* Callback routine here */
45.451 +
45.452 + UIRbits.SOFIF = 0;
45.453 +}//end USB_SOF_Handler
45.454 +
45.455 +/******************************************************************************
45.456 + * Function: void USBStallHandler(void)
45.457 + *
45.458 + * PreCondition: A STALL packet is sent to the host by the SIE.
45.459 + *
45.460 + * Input: None
45.461 + *
45.462 + * Output: None
45.463 + *
45.464 + * Side Effects: None
45.465 + *
45.466 + * Overview: The STALLIF is set anytime the SIE sends out a STALL
45.467 + * packet regardless of which endpoint causes it.
45.468 + * A Setup transaction overrides the STALL function. A stalled
45.469 + * endpoint stops stalling once it receives a setup packet.
45.470 + * In this case, the SIE will accepts the Setup packet and
45.471 + * set the TRNIF flag to notify the firmware. STALL function
45.472 + * for that particular endpoint pipe will be automatically
45.473 + * disabled (direction specific).
45.474 + *
45.475 + * There are a few reasons for an endpoint to be stalled.
45.476 + * 1. When a non-supported USB request is received.
45.477 + * Example: GET_DESCRIPTOR(DEVICE_QUALIFIER)
45.478 + * 2. When an endpoint is currently halted.
45.479 + * 3. When the device class specifies that an endpoint must
45.480 + * stall in response to a specific event.
45.481 + * Example: Mass Storage Device Class
45.482 + * If the CBW is not valid, the device shall
45.483 + * STALL the Bulk-In pipe.
45.484 + * See USB Mass Storage Class Bulk-only Transport
45.485 + * Specification for more details.
45.486 + *
45.487 + * Note: UEPn.EPSTALL can be scanned to see which endpoint causes
45.488 + * the stall event.
45.489 + * If
45.490 + *****************************************************************************/
45.491 +void USBStallHandler(void)
45.492 +{
45.493 + /*
45.494 + * Does not really have to do anything here,
45.495 + * even for the control endpoint.
45.496 + * All BDs of Endpoint 0 are owned by SIE right now,
45.497 + * but once a Setup Transaction is received, the ownership
45.498 + * for EP0_OUT will be returned to CPU.
45.499 + * When the Setup Transaction is serviced, the ownership
45.500 + * for EP0_IN will then be forced back to CPU by firmware.
45.501 + */
45.502 + if(UEP0bits.EPSTALL == 1)
45.503 + {
45.504 + USBPrepareForNextSetupTrf(); // Firmware work-around
45.505 + UEP0bits.EPSTALL = 0;
45.506 + }
45.507 + UIRbits.STALLIF = 0;
45.508 +}//end USBStallHandler
45.509 +
45.510 +/******************************************************************************
45.511 + * Function: void USBErrorHandler(void)
45.512 + *
45.513 + * PreCondition: None
45.514 + *
45.515 + * Input: None
45.516 + *
45.517 + * Output: None
45.518 + *
45.519 + * Side Effects: None
45.520 + *
45.521 + * Overview: The purpose of this interrupt is mainly for debugging
45.522 + * during development. Check UEIR to see which error causes
45.523 + * the interrupt.
45.524 + *
45.525 + * Note: None
45.526 + *****************************************************************************/
45.527 +void USBErrorHandler(void)
45.528 +{
45.529 + UIRbits.UERRIF = 0;
45.530 +}//end USBErrorHandler
45.531 +
45.532 +/******************************************************************************
45.533 + * Function: void USBProtocolResetHandler(void)
45.534 + *
45.535 + * PreCondition: A USB bus reset is received from the host.
45.536 + *
45.537 + * Input: None
45.538 + *
45.539 + * Output: None
45.540 + *
45.541 + * Side Effects: Currently, this routine flushes any pending USB
45.542 + * transactions. It empties out the USTAT FIFO. This action
45.543 + * might not be desirable in some applications.
45.544 + *
45.545 + * Overview: Once a USB bus reset is received from the host, this
45.546 + * routine should be called. It resets the device address to
45.547 + * zero, disables all non-EP0 endpoints, initializes EP0 to
45.548 + * be ready for default communication, clears all USB
45.549 + * interrupt flags, unmasks applicable USB interrupts, and
45.550 + * reinitializes internal state-machine variables.
45.551 + *
45.552 + * Note: None
45.553 + *****************************************************************************/
45.554 +void USBProtocolResetHandler(void)
45.555 +{
45.556 + UEIR = 0; // Clear all USB error flags
45.557 + UIR = 0; // Clears all USB interrupts
45.558 + UEIE = 0b10011111; // Unmask all USB error interrupts
45.559 + UIE = 0b01111011; // Enable all interrupts except ACTVIE
45.560 +
45.561 + UADDR = 0x00; // Reset to default address
45.562 + mDisableEP1to15(); // Reset all non-EP0 UEPn registers
45.563 + UEP0 = EP_CTRL|HSHK_EN; // Init EP0 as a Ctrl EP, see usbdrv.h
45.564 +
45.565 + while(UIRbits.TRNIF == 1) // Flush any pending transactions
45.566 + UIRbits.TRNIF = 0;
45.567 +
45.568 + UCONbits.PKTDIS = 0; // Make sure packet processing is enabled
45.569 + USBPrepareForNextSetupTrf(); // Declared in usbctrltrf.c
45.570 +
45.571 + usb_stat.RemoteWakeup = 0; // Default status flag to disable
45.572 + usb_active_cfg = 0; // Clear active configuration
45.573 + usb_device_state = DEFAULT_STATE;
45.574 +}//end USBProtocolResetHandler
45.575 +
45.576 +
45.577 +/* Auxiliary Function */
45.578 +void ClearArray(byte* startAdr,byte count)
45.579 +{
45.580 + *startAdr;
45.581 + while(count)
45.582 + {
45.583 + _asm
45.584 + clrf POSTINC0,0
45.585 + _endasm
45.586 + count--;
45.587 + }//end while
45.588 +}//end ClearArray
45.589 +
45.590 +/** EOF usbdrv.c *************************************************************/
46.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
46.2 +++ b/firmware/usbdrv.err Tue Jan 29 22:31:52 2008 +0100
46.3 @@ -0,0 +1,1 @@
46.4 +Warning[2056] G:\p_source\18F4550\front_v4.1\usbdrv.c 93 : expression is always true
47.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
47.2 +++ b/firmware/usbdrv.h Tue Jan 29 22:31:52 2008 +0100
47.3 @@ -0,0 +1,206 @@
47.4 +/*********************************************************************
47.5 + *
47.6 + * Microchip USB C18 Firmware Version 1.0
47.7 + *
47.8 + *********************************************************************
47.9 + * FileName: usbdrv.h
47.10 + * Dependencies: See INCLUDES section below
47.11 + * Processor: PIC18
47.12 + * Compiler: C18 2.30.01+
47.13 + * Company: Microchip Technology, Inc.
47.14 + *
47.15 + * Software License Agreement
47.16 + *
47.17 + * The software supplied herewith by Microchip Technology Incorporated
47.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
47.19 + * supplied to you, the Company’s customer, for use solely and
47.20 + * exclusively on Microchip PICmicro Microcontroller products. The
47.21 + * software is owned by the Company and/or its supplier, and is
47.22 + * protected under applicable copyright laws. All rights are reserved.
47.23 + * Any use in violation of the foregoing restrictions may subject the
47.24 + * user to criminal sanctions under applicable laws, as well as to
47.25 + * civil liability for the breach of the terms and conditions of this
47.26 + * license.
47.27 + *
47.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
47.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
47.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
47.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
47.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
47.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
47.34 + *
47.35 + * Author Date Comment
47.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47.37 + * Rawin Rojvanit 11/19/04 Original.
47.38 + ********************************************************************/
47.39 +
47.40 +#ifndef USBDRV_H
47.41 +#define USBDRV_H
47.42 +
47.43 +/** I N C L U D E S **********************************************************/
47.44 +#include "typedefs.h"
47.45 +#include "usb.h"
47.46 +
47.47 +/** D E F I N I T I O N S ****************************************************/
47.48 +
47.49 +/* UCFG Initialization Parameters */
47.50 +#define _PPBM0 0x00 // Pingpong Buffer Mode 0
47.51 +#define _PPBM1 0x01 // Pingpong Buffer Mode 1
47.52 +#define _PPBM2 0x02 // Pingpong Buffer Mode 2
47.53 +#define _LS 0x00 // Use Low-Speed USB Mode
47.54 +#define _FS 0x04 // Use Full-Speed USB Mode
47.55 +#define _TRINT 0x00 // Use internal transceiver
47.56 +#define _TREXT 0x08 // Use external transceiver
47.57 +#define _PUEN 0x10 // Use internal pull-up resistor
47.58 +#define _OEMON 0x40 // Use SIE output indicator
47.59 +#define _UTEYE 0x80 // Use Eye-Pattern test
47.60 +
47.61 +/* UEPn Initialization Parameters */
47.62 +#define EP_CTRL 0x06 // Cfg Control pipe for this ep
47.63 +#define EP_OUT 0x0C // Cfg OUT only pipe for this ep
47.64 +#define EP_IN 0x0A // Cfg IN only pipe for this ep
47.65 +#define EP_OUT_IN 0x0E // Cfg both OUT & IN pipes for this ep
47.66 +#define HSHK_EN 0x10 // Enable handshake packet
47.67 + // Handshake should be disable for isoch
47.68 +
47.69 +/******************************************************************************
47.70 + * USB - PICmicro Endpoint Definitions
47.71 + * PICmicro EP Address Format: X:EP3:EP2:EP1:EP0:DIR:PPBI:X
47.72 + * This is used when checking the value read from USTAT
47.73 + *
47.74 + * NOTE: These definitions are not used in the descriptors.
47.75 + * EP addresses used in the descriptors have different format and
47.76 + * are defined in: "system\usb\usbdefs\usbdefs_std_dsc.h"
47.77 + *****************************************************************************/
47.78 +#define OUT 0
47.79 +#define IN 1
47.80 +
47.81 +#define PIC_EP_NUM_MASK 0b01111000
47.82 +#define PIC_EP_DIR_MASK 0b00000100
47.83 +
47.84 +#define EP00_OUT (0x00<<3)|(OUT<<2)
47.85 +#define EP00_IN (0x00<<3)|(IN<<2)
47.86 +#define EP01_OUT (0x01<<3)|(OUT<<2)
47.87 +#define EP01_IN (0x01<<3)|(IN<<2)
47.88 +#define EP02_OUT (0x02<<3)|(OUT<<2)
47.89 +#define EP02_IN (0x02<<3)|(IN<<2)
47.90 +#define EP03_OUT (0x03<<3)|(OUT<<2)
47.91 +#define EP03_IN (0x03<<3)|(IN<<2)
47.92 +#define EP04_OUT (0x04<<3)|(OUT<<2)
47.93 +#define EP04_IN (0x04<<3)|(IN<<2)
47.94 +#define EP05_OUT (0x05<<3)|(OUT<<2)
47.95 +#define EP05_IN (0x05<<3)|(IN<<2)
47.96 +#define EP06_OUT (0x06<<3)|(OUT<<2)
47.97 +#define EP06_IN (0x06<<3)|(IN<<2)
47.98 +#define EP07_OUT (0x07<<3)|(OUT<<2)
47.99 +#define EP07_IN (0x07<<3)|(IN<<2)
47.100 +#define EP08_OUT (0x08<<3)|(OUT<<2)
47.101 +#define EP08_IN (0x08<<3)|(IN<<2)
47.102 +#define EP09_OUT (0x09<<3)|(OUT<<2)
47.103 +#define EP09_IN (0x09<<3)|(IN<<2)
47.104 +#define EP10_OUT (0x0A<<3)|(OUT<<2)
47.105 +#define EP10_IN (0x0A<<3)|(IN<<2)
47.106 +#define EP11_OUT (0x0B<<3)|(OUT<<2)
47.107 +#define EP11_IN (0x0B<<3)|(IN<<2)
47.108 +#define EP12_OUT (0x0C<<3)|(OUT<<2)
47.109 +#define EP12_IN (0x0C<<3)|(IN<<2)
47.110 +#define EP13_OUT (0x0D<<3)|(OUT<<2)
47.111 +#define EP13_IN (0x0D<<3)|(IN<<2)
47.112 +#define EP14_OUT (0x0E<<3)|(OUT<<2)
47.113 +#define EP14_IN (0x0E<<3)|(IN<<2)
47.114 +#define EP15_OUT (0x0F<<3)|(OUT<<2)
47.115 +#define EP15_IN (0x0F<<3)|(IN<<2)
47.116 +
47.117 +/******************************************************************************
47.118 + * Macro: void mInitializeUSBDriver(void)
47.119 + *
47.120 + * PreCondition: None
47.121 + *
47.122 + * Input: None
47.123 + *
47.124 + * Output: None
47.125 + *
47.126 + * Side Effects: None
47.127 + *
47.128 + * Overview: Configures the USB module, definition of UCFG_VAL can be
47.129 + * found in autofiles\usbcfg.h
47.130 + *
47.131 + * This register determines: USB Speed, On-chip pull-up
47.132 + * resistor selection, On-chip tranceiver selection, bus
47.133 + * eye pattern generation mode, Ping-pong buffering mode
47.134 + * selection.
47.135 + *
47.136 + * Note: None
47.137 + *****************************************************************************/
47.138 +#define mInitializeUSBDriver() {UCFG = UCFG_VAL; \
47.139 + usb_device_state = DETACHED_STATE; \
47.140 + usb_stat._byte = 0x00; \
47.141 + usb_active_cfg = 0x00;}
47.142 +
47.143 +/******************************************************************************
47.144 + * Macro: void mDisableEP1to15(void)
47.145 + *
47.146 + * PreCondition: None
47.147 + *
47.148 + * Input: None
47.149 + *
47.150 + * Output: None
47.151 + *
47.152 + * Side Effects: None
47.153 + *
47.154 + * Overview: This macro disables all endpoints except EP0.
47.155 + * This macro should be called when the host sends a RESET
47.156 + * signal or a SET_CONFIGURATION request.
47.157 + *
47.158 + * Note: None
47.159 + *****************************************************************************/
47.160 +#define mDisableEP1to15() ClearArray((byte*)&UEP1,15);
47.161 +/*
47.162 +#define mDisableEP1to15() UEP1=0x00;UEP2=0x00;UEP3=0x00;\
47.163 + UEP4=0x00;UEP5=0x00;UEP6=0x00;UEP7=0x00;\
47.164 + UEP8=0x00;UEP9=0x00;UEP10=0x00;UEP11=0x00;\
47.165 + UEP12=0x00;UEP13=0x00;UEP14=0x00;UEP15=0x00;
47.166 +*/
47.167 +
47.168 +/******************************************************************************
47.169 + * Macro: void mUSBBufferReady(buffer_dsc)
47.170 + *
47.171 + * PreCondition: IN Endpoint: Buffer is loaded and ready to be sent.
47.172 + * OUT Endpoint: Buffer is free to be written to by SIE.
47.173 + *
47.174 + * Input: byte buffer_dsc: Root name of the buffer descriptor group.
47.175 + * i.e. ep0Bo, ep1Bi, ... Declared in usbmmap.c
47.176 + * Names can be remapped for readability, see examples in
47.177 + * usbcfg.h (#define HID_BD_OUT ep1Bo)
47.178 + *
47.179 + * Output: None
47.180 + *
47.181 + * Side Effects: None
47.182 + *
47.183 + * Overview: This macro should be called each time after:
47.184 + * 1. A non-EP0 IN endpoint buffer is populated with data.
47.185 + * 2. A non-EP0 OUT endpoint buffer is read.
47.186 + * This macro turns the buffer ownership to SIE for servicing.
47.187 + * It also toggles the DTS bit for synchronization.
47.188 + *
47.189 + * Note: None
47.190 + *****************************************************************************/
47.191 +#define mUSBBufferReady(buffer_dsc) \
47.192 +{ \
47.193 + buffer_dsc.Stat._byte &= _DTSMASK; /* Save only DTS bit */ \
47.194 + buffer_dsc.Stat.DTS = !buffer_dsc.Stat.DTS; /* Toggle DTS bit */ \
47.195 + buffer_dsc.Stat._byte |= _USIE|_DTSEN; /* Turn ownership to SIE */ \
47.196 +}
47.197 +
47.198 +/** T Y P E S ****************************************************************/
47.199 +
47.200 +/** E X T E R N S ************************************************************/
47.201 +
47.202 +/** P U B L I C P R O T O T Y P E S *****************************************/
47.203 +void USBCheckBusStatus(void);
47.204 +void USBDriverService(void);
47.205 +void USBRemoteWakeup(void);
47.206 +void USBSoftDetach(void);
47.207 +
47.208 +void ClearArray(byte* startAdr,byte count);
47.209 +#endif //USBDRV_H
48.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
48.2 +++ b/firmware/usbdsc.c Tue Jan 29 22:31:52 2008 +0100
48.3 @@ -0,0 +1,268 @@
48.4 +/*********************************************************************
48.5 + *
48.6 + * Microchip USB C18 Firmware Version 1.0
48.7 + *
48.8 + *********************************************************************
48.9 + * FileName: usbdsc.c
48.10 + * Dependencies: See INCLUDES section below
48.11 + * Processor: PIC18
48.12 + * Compiler: C18 2.30.01+
48.13 + * Company: Microchip Technology, Inc.
48.14 + *
48.15 + * Software License Agreement
48.16 + *
48.17 + * The software supplied herewith by Microchip Technology Incorporated
48.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
48.19 + * supplied to you, the Company’s customer, for use solely and
48.20 + * exclusively on Microchip PICmicro Microcontroller products. The
48.21 + * software is owned by the Company and/or its supplier, and is
48.22 + * protected under applicable copyright laws. All rights are reserved.
48.23 + * Any use in violation of the foregoing restrictions may subject the
48.24 + * user to criminal sanctions under applicable laws, as well as to
48.25 + * civil liability for the breach of the terms and conditions of this
48.26 + * license.
48.27 + *
48.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
48.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
48.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
48.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
48.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
48.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
48.34 + *
48.35 + ********************************************************************/
48.36 +
48.37 +/*********************************************************************
48.38 + * -usbdsc.c-
48.39 + * This file contains the USB descriptor information. It is used
48.40 + * in conjunction with the usbdsc.h file. When a descriptor is added
48.41 + * or removed from the main configuration descriptor, i.e. CFG01,
48.42 + * the user must also change the descriptor structure defined in
48.43 + * the usbdsc.h file. The structure is used to calculate the
48.44 + * descriptor size, i.e. sizeof(CFG01).
48.45 + *
48.46 + * A typical configuration descriptor consists of:
48.47 + * At least one configuration descriptor (USB_CFG_DSC)
48.48 + * One or more interface descriptors (USB_INTF_DSC)
48.49 + * One or more endpoint descriptors (USB_EP_DSC)
48.50 + *
48.51 + * Naming Convention:
48.52 + * To resolve ambiguity, the naming convention are as followed:
48.53 + * - USB_CFG_DSC type should be named cdxx, where xx is the
48.54 + * configuration number. This number should match the actual
48.55 + * index value of this configuration.
48.56 + * - USB_INTF_DSC type should be named i<yy>a<zz>, where yy is the
48.57 + * interface number and zz is the alternate interface number.
48.58 + * - USB_EP_DSC type should be named ep<##><d>_i<yy>a<zz>, where
48.59 + * ## is the endpoint number and d is the direction of transfer.
48.60 + * The interface name should also be listed as a suffix to identify
48.61 + * which interface does the endpoint belong to.
48.62 + *
48.63 + * Example:
48.64 + * If a device has one configuration, two interfaces; interface 0
48.65 + * has two endpoints (in and out), and interface 1 has one endpoint(in).
48.66 + * Then the CFG01 structure in the usbdsc.h should be:
48.67 + *
48.68 + * #define CFG01 rom struct \
48.69 + * { USB_CFG_DSC cd01; \
48.70 + * USB_INTF_DSC i00a00; \
48.71 + * USB_EP_DSC ep01o_i00a00; \
48.72 + * USB_EP_DSC ep01i_i00a00; \
48.73 + * USB_INTF_DSC i01a00; \
48.74 + * USB_EP_DSC ep02i_i01a00; \
48.75 + * } cfg01
48.76 + *
48.77 + * Note the hierarchy of the descriptors above, it follows the USB
48.78 + * specification requirement. All endpoints belonging to an interface
48.79 + * should be listed immediately after that interface.
48.80 + *
48.81 + * -------------------------------------------------------------------
48.82 + * Filling in the descriptor values in the usbdsc.c file:
48.83 + * -------------------------------------------------------------------
48.84 + * Most items should be self-explanatory, however, a few will be
48.85 + * explained for clarification.
48.86 + *
48.87 + * [Configuration Descriptor(USB_CFG_DSC)]
48.88 + * The configuration attribute must always have the _DEFAULT
48.89 + * definition at the minimum. Additional options can be ORed
48.90 + * to the _DEFAULT attribute. Available options are _SELF and _RWU.
48.91 + * These definitions are defined in the usbdefs_std_dsc.h file. The
48.92 + * _SELF tells the USB host that this device is self-powered. The
48.93 + * _RWU tells the USB host that this device supports Remote Wakeup.
48.94 + *
48.95 + * [Endpoint Descriptor(USB_EP_DSC)]
48.96 + * Assume the following example:
48.97 + * sizeof(USB_EP_DSC),DSC_EP,_EP01_OUT,_BULK,64,0x00
48.98 + *
48.99 + * The first two parameters are self-explanatory. They specify the
48.100 + * length of this endpoint descriptor (7) and the descriptor type.
48.101 + * The next parameter identifies the endpoint, the definitions are
48.102 + * defined in usbdefs_std_dsc.h and has the following naming
48.103 + * convention:
48.104 + * _EP<##>_<dir>
48.105 + * where ## is the endpoint number and dir is the direction of
48.106 + * transfer. The dir has the value of either 'OUT' or 'IN'.
48.107 + * The next parameter identifies the type of the endpoint. Available
48.108 + * options are _BULK, _INT, _ISO, and _CTRL. The _CTRL is not
48.109 + * typically used because the default control transfer endpoint is
48.110 + * not defined in the USB descriptors. When _ISO option is used,
48.111 + * addition options can be ORed to _ISO. Example:
48.112 + * _ISO|_AD|_FE
48.113 + * This describes the endpoint as an isochronous pipe with adaptive
48.114 + * and feedback attributes. See usbdefs_std_dsc.h and the USB
48.115 + * specification for details. The next parameter defines the size of
48.116 + * the endpoint. The last parameter in the polling interval.
48.117 + *
48.118 + * -------------------------------------------------------------------
48.119 + * Adding a USB String
48.120 + * -------------------------------------------------------------------
48.121 + * A string descriptor array should have the following format:
48.122 + *
48.123 + * rom struct{byte bLength;byte bDscType;word string[size];}sdxxx={
48.124 + * sizeof(sdxxx),DSC_STR,<text>};
48.125 + *
48.126 + * The above structure provides a means for the C compiler to
48.127 + * calculate the length of string descriptor sdxxx, where xxx is the
48.128 + * index number. The first two bytes of the descriptor are descriptor
48.129 + * length and type. The rest <text> are string texts which must be
48.130 + * in the unicode format. The unicode format is achieved by declaring
48.131 + * each character as a word type. The whole text string is declared
48.132 + * as a word array with the number of characters equals to <size>.
48.133 + * <size> has to be manually counted and entered into the array
48.134 + * declaration. Let's study this through an example:
48.135 + * if the string is "USB" , then the string descriptor should be:
48.136 + * (Using index 02)
48.137 + * rom struct{byte bLength;byte bDscType;word string[3];}sd002={
48.138 + * sizeof(sd002),DSC_STR,'U','S','B'};
48.139 + *
48.140 + * A USB project may have multiple strings and the firmware supports
48.141 + * the management of multiple strings through a look-up table.
48.142 + * The look-up table is defined as:
48.143 + * rom const unsigned char *rom USB_SD_Ptr[]={&sd000,&sd001,&sd002};
48.144 + *
48.145 + * The above declaration has 3 strings, sd000, sd001, and sd002.
48.146 + * Strings can be removed or added. sd000 is a specialized string
48.147 + * descriptor. It defines the language code, usually this is
48.148 + * US English (0x0409). The index of the string must match the index
48.149 + * position of the USB_SD_Ptr array, &sd000 must be in position
48.150 + * USB_SD_Ptr[0], &sd001 must be in position USB_SD_Ptr[1] and so on.
48.151 + * The look-up table USB_SD_Ptr is used by the get string handler
48.152 + * function in usb9.c.
48.153 + *
48.154 + * -------------------------------------------------------------------
48.155 + *
48.156 + * The look-up table scheme also applies to the configuration
48.157 + * descriptor. A USB device may have multiple configuration
48.158 + * descriptors, i.e. CFG01, CFG02, etc. To add a configuration
48.159 + * descriptor, user must implement a structure similar to CFG01.
48.160 + * The next step is to add the configuration descriptor name, i.e.
48.161 + * cfg01, cfg02,.., to the look-up table USB_CD_Ptr. USB_CD_Ptr[0]
48.162 + * is a dummy place holder since configuration 0 is the un-configured
48.163 + * state according to the definition in the USB specification.
48.164 + *
48.165 + ********************************************************************/
48.166 +
48.167 +/*********************************************************************
48.168 + * Descriptor specific type definitions are defined in:
48.169 + * system\usb\usbdefs\usbdefs_std_dsc.h
48.170 + *
48.171 + * Configuration information is defined in:
48.172 + * autofiles\usbcfg.h
48.173 + ********************************************************************/
48.174 +
48.175 +/** I N C L U D E S *************************************************/
48.176 +#include "typedefs.h"
48.177 +#include "usb.h"
48.178 +
48.179 +/** C O N S T A N T S ************************************************/
48.180 +#pragma romdata
48.181 +
48.182 +/* Device Descriptor */
48.183 +rom USB_DEV_DSC device_dsc=
48.184 +{
48.185 + sizeof(USB_DEV_DSC), // Size of this descriptor in bytes
48.186 + DSC_DEV, // DEVICE descriptor type
48.187 + 0x0200, // USB Spec Release Number in BCD format
48.188 + CDC_DEVICE, // Class Code
48.189 + 0x00, // Subclass code
48.190 + 0x00, // Protocol code
48.191 + EP0_BUFF_SIZE, // Max packet size for EP0, see usbcfg.h
48.192 + 0x04D8, // Vendor ID
48.193 + 0x000A, // Product ID: CDC RS-232 Emulation Demo
48.194 + 0x0000, // Device release number in BCD format
48.195 + 0x01, // Manufacturer string index
48.196 + 0x02, // Product string index
48.197 + 0x00, // Device serial number string index
48.198 + 0x01 // Number of possible configurations
48.199 +};
48.200 +
48.201 +/* Configuration 1 Descriptor */
48.202 +CFG01=
48.203 +{
48.204 + /* Configuration Descriptor */
48.205 + sizeof(USB_CFG_DSC), // Size of this descriptor in bytes
48.206 + DSC_CFG, // CONFIGURATION descriptor type
48.207 + sizeof(cfg01), // Total length of data for this cfg
48.208 + 2, // Number of interfaces in this cfg
48.209 + 1, // Index value of this configuration
48.210 + 0, // Configuration string index
48.211 + _DEFAULT, // Attributes, see usbdefs_std_dsc.h
48.212 + 50, // Max power consumption (2X mA)
48.213 +
48.214 + /* Interface Descriptor */
48.215 + sizeof(USB_INTF_DSC), // Size of this descriptor in bytes
48.216 + DSC_INTF, // INTERFACE descriptor type
48.217 + 0, // Interface Number
48.218 + 0, // Alternate Setting Number
48.219 + 1, // Number of endpoints in this intf
48.220 + COMM_INTF, // Class code
48.221 + ABSTRACT_CONTROL_MODEL, // Subclass code
48.222 + V25TER, // Protocol code
48.223 + 0, // Interface string index
48.224 +
48.225 + /* CDC Class-Specific Descriptors */
48.226 + sizeof(USB_CDC_HEADER_FN_DSC),CS_INTERFACE,DSC_FN_HEADER,0x0110,
48.227 + sizeof(USB_CDC_ACM_FN_DSC),CS_INTERFACE,DSC_FN_ACM,0x02,
48.228 + sizeof(USB_CDC_UNION_FN_DSC),CS_INTERFACE,DSC_FN_UNION,CDC_COMM_INTF_ID,CDC_DATA_INTF_ID,
48.229 + sizeof(USB_CDC_CALL_MGT_FN_DSC),CS_INTERFACE,DSC_FN_CALL_MGT,0x00,CDC_DATA_INTF_ID,
48.230 +
48.231 + /* Endpoint Descriptor */
48.232 + sizeof(USB_EP_DSC),DSC_EP,_EP02_IN,_INT,CDC_INT_EP_SIZE,0x02,
48.233 +
48.234 + /* Interface Descriptor */
48.235 + sizeof(USB_INTF_DSC), // Size of this descriptor in bytes
48.236 + DSC_INTF, // INTERFACE descriptor type
48.237 + 1, // Interface Number
48.238 + 0, // Alternate Setting Number
48.239 + 2, // Number of endpoints in this intf
48.240 + DATA_INTF, // Class code
48.241 + 0, // Subclass code
48.242 + NO_PROTOCOL, // Protocol code
48.243 + 0, // Interface string index
48.244 +
48.245 + /* Endpoint Descriptors */
48.246 + sizeof(USB_EP_DSC),DSC_EP,_EP03_OUT,_BULK,CDC_BULK_OUT_EP_SIZE,0x00,
48.247 + sizeof(USB_EP_DSC),DSC_EP,_EP03_IN,_BULK,CDC_BULK_IN_EP_SIZE,0x00
48.248 +};
48.249 +
48.250 +rom struct{byte bLength;byte bDscType;word string[1];}sd000={
48.251 +sizeof(sd000),DSC_STR,0x0409};
48.252 +
48.253 +rom struct{byte bLength;byte bDscType;word string[25];}sd001={
48.254 +sizeof(sd001),DSC_STR,
48.255 +'C','a','r','s','t','e','n',' ','P','r','e','s','s','e','r'};
48.256 +
48.257 +rom struct{byte bLength;byte bDscType;word string[25];}sd002={
48.258 +sizeof(sd002),DSC_STR,
48.259 +'V','i','d','e','o',' ','v','2',' ','F','r','o','n','t','p','l','a','t','t','t','e'};
48.260 +
48.261 +rom const unsigned char *rom USB_CD_Ptr[]={&cfg01,&cfg01};
48.262 +rom const unsigned char *rom USB_SD_Ptr[]={&sd000,&sd001,&sd002};
48.263 +
48.264 +rom pFunc ClassReqHandler[1]=
48.265 +{
48.266 + &USBCheckCDCRequest
48.267 +};
48.268 +
48.269 +#pragma code
48.270 +
48.271 +/** EOF usbdsc.c ****************************************************/
49.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
49.2 +++ b/firmware/usbdsc.err Tue Jan 29 22:31:52 2008 +0100
49.3 @@ -0,0 +1,5 @@
49.4 +Warning[2054] G:\p_source\18F4550\front_v4.1\usbdsc.c 258 : suspicious pointer conversion
49.5 +Warning[2054] G:\p_source\18F4550\front_v4.1\usbdsc.c 258 : suspicious pointer conversion
49.6 +Warning[2054] G:\p_source\18F4550\front_v4.1\usbdsc.c 259 : suspicious pointer conversion
49.7 +Warning[2054] G:\p_source\18F4550\front_v4.1\usbdsc.c 259 : suspicious pointer conversion
49.8 +Warning[2054] G:\p_source\18F4550\front_v4.1\usbdsc.c 259 : suspicious pointer conversion
50.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
50.2 +++ b/firmware/usbdsc.h Tue Jan 29 22:31:52 2008 +0100
50.3 @@ -0,0 +1,75 @@
50.4 +/*********************************************************************
50.5 + *
50.6 + * Microchip USB C18 Firmware Version 1.0
50.7 + *
50.8 + *********************************************************************
50.9 + * FileName: usbdsc.h
50.10 + * Dependencies: See INCLUDES section below
50.11 + * Processor: PIC18
50.12 + * Compiler: C18 2.30.01+
50.13 + * Company: Microchip Technology, Inc.
50.14 + *
50.15 + * Software License Agreement
50.16 + *
50.17 + * The software supplied herewith by Microchip Technology Incorporated
50.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
50.19 + * supplied to you, the Company’s customer, for use solely and
50.20 + * exclusively on Microchip PICmicro Microcontroller products. The
50.21 + * software is owned by the Company and/or its supplier, and is
50.22 + * protected under applicable copyright laws. All rights are reserved.
50.23 + * Any use in violation of the foregoing restrictions may subject the
50.24 + * user to criminal sanctions under applicable laws, as well as to
50.25 + * civil liability for the breach of the terms and conditions of this
50.26 + * license.
50.27 + *
50.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
50.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
50.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
50.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
50.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
50.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
50.34 + *
50.35 + ********************************************************************/
50.36 +
50.37 +/*********************************************************************
50.38 + * Descriptor specific type definitions are defined in:
50.39 + * system\usb\usbdefs\usbdefs_std_dsc.h
50.40 + ********************************************************************/
50.41 +
50.42 +#ifndef USBDSC_H
50.43 +#define USBDSC_H
50.44 +
50.45 +/** I N C L U D E S *************************************************/
50.46 +#include "typedefs.h"
50.47 +#include "usbcfg.h"
50.48 +
50.49 +#if defined(USB_USE_CDC)
50.50 +#include "cdc.h"
50.51 +#endif
50.52 +
50.53 +#include "usb.h"
50.54 +
50.55 +/** D E F I N I T I O N S *******************************************/
50.56 +
50.57 +#define CFG01 rom struct \
50.58 +{ USB_CFG_DSC cd01; \
50.59 + USB_INTF_DSC i01a00; \
50.60 + USB_CDC_HEADER_FN_DSC cdc_header_fn_i01a00; \
50.61 + USB_CDC_ACM_FN_DSC cdc_acm_fn_i01a00; \
50.62 + USB_CDC_UNION_FN_DSC cdc_union_fn_i01a00; \
50.63 + USB_CDC_CALL_MGT_FN_DSC cdc_call_mgt_fn_i01a00; \
50.64 + USB_EP_DSC ep02i_i01a00; \
50.65 + USB_INTF_DSC i02a00; \
50.66 + USB_EP_DSC ep03o_i02a00; \
50.67 + USB_EP_DSC ep03i_i02a00; \
50.68 +} cfg01
50.69 +
50.70 +/** E X T E R N S ***************************************************/
50.71 +extern rom USB_DEV_DSC device_dsc;
50.72 +extern CFG01;
50.73 +extern rom const unsigned char *rom USB_CD_Ptr[];
50.74 +extern rom const unsigned char *rom USB_SD_Ptr[];
50.75 +
50.76 +extern rom pFunc ClassReqHandler[1];
50.77 +
50.78 +#endif //USBDSC_H
51.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
51.2 +++ b/firmware/usbmmap.c Tue Jan 29 22:31:52 2008 +0100
51.3 @@ -0,0 +1,284 @@
51.4 +/*********************************************************************
51.5 + *
51.6 + * Microchip USB C18 Firmware Version 1.0
51.7 + *
51.8 + *********************************************************************
51.9 + * FileName: usbmmap.c
51.10 + * Dependencies: See INCLUDES section below
51.11 + * Processor: PIC18
51.12 + * Compiler: C18 2.30.01+
51.13 + * Company: Microchip Technology, Inc.
51.14 + *
51.15 + * Software License Agreement
51.16 + *
51.17 + * The software supplied herewith by Microchip Technology Incorporated
51.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
51.19 + * supplied to you, the Company’s customer, for use solely and
51.20 + * exclusively on Microchip PICmicro Microcontroller products. The
51.21 + * software is owned by the Company and/or its supplier, and is
51.22 + * protected under applicable copyright laws. All rights are reserved.
51.23 + * Any use in violation of the foregoing restrictions may subject the
51.24 + * user to criminal sanctions under applicable laws, as well as to
51.25 + * civil liability for the breach of the terms and conditions of this
51.26 + * license.
51.27 + *
51.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
51.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
51.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
51.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
51.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
51.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
51.34 + *
51.35 + * Author Date Comment
51.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51.37 + * Rawin Rojvanit 11/19/04 Original.
51.38 + ********************************************************************/
51.39 +
51.40 +/******************************************************************************
51.41 + * -usbmmap.c-
51.42 + * USB Memory Map
51.43 + * This file is the USB memory manager; it serves as a compile-time memory
51.44 + * allocator for the USB endpoints. It uses the compile time options passed
51.45 + * from usbcfg.h to instantiate endpoints and endpoint buffer.
51.46 + *
51.47 + * Each endpoint requires to have a set of Buffer Descriptor registers(BDT).
51.48 + * A BDT is 4-byte long and has a specific RAM location for each endpoint.
51.49 + * The BDT for endpoint 0 out is located at address 0x400 to 0x403.
51.50 + * The BDT for endpoint 0 in is located at address 0x404 to 0x407.
51.51 + * The BDT for endpoint 1 out is located at address 0x408 to 0x40B.
51.52 + * and so on... The above allocation assumes the Ping-Pong Buffer Mode 0 is
51.53 + * used. These locations are already hard-wired in the silicon. The point
51.54 + * of doing instantiation, i.e. volatile far BDT ep0Bo;, is to provide the
51.55 + * C compiler a way to address each variable directly. This is very important
51.56 + * because when a register can be accessed directly, it saves execution time
51.57 + * and reduces program size.
51.58 + *
51.59 + * Endpoints are defined using the endpoint number and the direction
51.60 + * of transfer. For simplicity, usbmmap.c only uses the endpoint number
51.61 + * in the BDT register allocation scheme. This means if the usbcfg.h states
51.62 + * that the MAX_EP_NUMBER is number 1, then four BDTs will be
51.63 + * instantiated: one each for endpoint0 in and endpoint0 out, which must
51.64 + * always be instantiated for control transfer by default, and one each sets
51.65 + * for endpoint1 in and endpoint1 out. The naming convention for instantiating
51.66 + * BDT is
51.67 + *
51.68 + * ep<#>B<d>
51.69 + *
51.70 + * where # is the endpoint number, and d is the direction of
51.71 + * transfer, which could be either <i> or <o>.
51.72 + *
51.73 + * The USB memory manager uses MAX_EP_NUMBER, as defined in usbcfg.h, to define
51.74 + * the endpoints to be instantiated. This represents the highest endpoint
51.75 + * number to be allocated, not how many endpoints are used. Since the BDTs for
51.76 + * endpoints have hardware-assigned addresses in Bank 4, setting this value too
51.77 + * high may lead to inefficient use of data RAM. For example, if an application
51.78 + * uses only endpoints EP0 and EP4, then the MAX_EP_NUMBER is 4, and not 2.
51.79 + * The in-between endpoint BDTs in this example (EP1, EP2, and EP3) go unused,
51.80 + * and the 24 bytes of memory associated with them are wasted. It does not make
51.81 + * much sense to skip endpoints, but the final decision lies with the user.
51.82 + *
51.83 + * The next step is to assign the instantiated BDTs to different
51.84 + * USB functions. The firmware framework fundamentally assumes that every USB
51.85 + * function should know which endpoint it is using, i.e., the default control
51.86 + * transfer should know that it is using endpoint 0 in and endpoint 0 out.
51.87 + * A HID class can choose which endpoint it wants to use, but once chosen, it
51.88 + * should always know the number of the endpoint.
51.89 + *
51.90 + * The assignment of endpoints to USB functions is managed centrally
51.91 + * in usbcfg.h. This helps prevent the mistake of having more
51.92 + * than one USB function using the same endpoint. The "Endpoint Allocation"
51.93 + * section in usbcfg.h provides examples for how to map USB endpoints to USB
51.94 + * functions.
51.95 + * Quite a few things can be mapped in that section. There is no
51.96 + * one correct way to do the mapping and the user has the choice to
51.97 + * choose a method that is most suitable to the application.
51.98 + *
51.99 + * Typically, however, a user will want to map the following for a given
51.100 + * USB interface function:
51.101 + * 1. The USB interface ID
51.102 + * 2. The endpoint control registers (UEPn)
51.103 + * 3. The BDT registers (ep<#>B<d>)
51.104 + * 4. The endpoint size
51.105 + *
51.106 + * Example: Assume a USB device class "foo", which uses one out endpoint
51.107 + * of size 64-byte and one in endpoint of size 64-byte, then:
51.108 + *
51.109 + * #define FOO_INTF_ID 0x00
51.110 + * #define FOO_UEP UEP1
51.111 + * #define FOO_BD_OUT ep1Bo
51.112 + * #define FOO_BD_IN ep1Bi
51.113 + * #define FOO_EP_SIZE 64
51.114 + *
51.115 + * The mapping above has chosen class "foo" to use endpoint 1.
51.116 + * The names are arbitrary and can be anything other than FOO_??????.
51.117 + * For abstraction, the code for class "foo" should use the abstract
51.118 + * definitions of FOO_BD_OUT,FOO_BD_IN, and not ep1Bo or ep1Bi.
51.119 + *
51.120 + * Note that the endpoint size defined in the usbcfg.h file is again
51.121 + * used in the usbmmap.c file. This shows that the relationship between
51.122 + * the two files are tightly related.
51.123 + *
51.124 + * The endpoint buffer for each USB function must be located in the
51.125 + * dual-port RAM area and has to come after all the BDTs have been
51.126 + * instantiated. An example declaration is:
51.127 + * volatile far unsigned char[FOO_EP_SIZE] data;
51.128 + *
51.129 + * The 'volatile' keyword tells the compiler not to perform any code
51.130 + * optimization on this variable because its content could be modified
51.131 + * by the hardware. The 'far' keyword tells the compiler that this variable
51.132 + * is not located in the Access RAM area (0x000 - 0x05F).
51.133 + *
51.134 + * For the variable to be globally accessible by other files, it should be
51.135 + * declared in the header file usbmmap.h as an extern definition, such as
51.136 + * extern volatile far unsigned char[FOO_EP_SIZE] data;
51.137 + *
51.138 + * Conclusion:
51.139 + * In a short summary, the dependencies between usbcfg and usbmmap can
51.140 + * be shown as:
51.141 + *
51.142 + * usbcfg[MAX_EP_NUMBER] -> usbmmap
51.143 + * usbmmap[ep<#>B<d>] -> usbcfg
51.144 + * usbcfg[EP size] -> usbmmap
51.145 + * usbcfg[abstract ep definitions] -> usb9/hid/cdc/etc class code
51.146 + * usbmmap[endpoint buffer variable] -> usb9/hid/cdc/etc class code
51.147 + *
51.148 + * Data mapping provides a means for direct addressing of BDT and endpoint
51.149 + * buffer. This means less usage of pointers, which equates to a faster and
51.150 + * smaller program code.
51.151 + *
51.152 + *****************************************************************************/
51.153 +
51.154 +/** I N C L U D E S **********************************************************/
51.155 +#include "typedefs.h"
51.156 +#include "usb.h"
51.157 +
51.158 +/** U S B G L O B A L V A R I A B L E S ************************************/
51.159 +#pragma udata
51.160 +byte usb_device_state; // Device States: DETACHED, ATTACHED, ...
51.161 +USB_DEVICE_STATUS usb_stat; // Global USB flags
51.162 +byte usb_active_cfg; // Value of current configuration
51.163 +byte usb_alt_intf[MAX_NUM_INT]; // Array to keep track of the current alternate
51.164 + // setting for each interface ID
51.165 +
51.166 +/** U S B F I X E D L O C A T I O N V A R I A B L E S *********************/
51.167 +#pragma udata usbram4=0x400 //See Linker Script,usb4:0x400-0x4FF(256-byte)
51.168 +
51.169 +/******************************************************************************
51.170 + * Section A: Buffer Descriptor Table
51.171 + * - 0x400 - 0x4FF(max)
51.172 + * - MAX_EP_NUMBER is defined in autofiles\usbcfg.h
51.173 + * - BDT data type is defined in system\usb\usbmmap.h
51.174 + *****************************************************************************/
51.175 +
51.176 +#if(0 <= MAX_EP_NUMBER)
51.177 +volatile far BDT ep0Bo; //Endpoint #0 BD Out
51.178 +volatile far BDT ep0Bi; //Endpoint #0 BD In
51.179 +#endif
51.180 +
51.181 +#if(1 <= MAX_EP_NUMBER)
51.182 +volatile far BDT ep1Bo; //Endpoint #1 BD Out
51.183 +volatile far BDT ep1Bi; //Endpoint #1 BD In
51.184 +#endif
51.185 +
51.186 +#if(2 <= MAX_EP_NUMBER)
51.187 +volatile far BDT ep2Bo; //Endpoint #2 BD Out
51.188 +volatile far BDT ep2Bi; //Endpoint #2 BD In
51.189 +#endif
51.190 +
51.191 +#if(3 <= MAX_EP_NUMBER)
51.192 +volatile far BDT ep3Bo; //Endpoint #3 BD Out
51.193 +volatile far BDT ep3Bi; //Endpoint #3 BD In
51.194 +#endif
51.195 +
51.196 +#if(4 <= MAX_EP_NUMBER)
51.197 +volatile far BDT ep4Bo; //Endpoint #4 BD Out
51.198 +volatile far BDT ep4Bi; //Endpoint #4 BD In
51.199 +#endif
51.200 +
51.201 +#if(5 <= MAX_EP_NUMBER)
51.202 +volatile far BDT ep5Bo; //Endpoint #5 BD Out
51.203 +volatile far BDT ep5Bi; //Endpoint #5 BD In
51.204 +#endif
51.205 +
51.206 +#if(6 <= MAX_EP_NUMBER)
51.207 +volatile far BDT ep6Bo; //Endpoint #6 BD Out
51.208 +volatile far BDT ep6Bi; //Endpoint #6 BD In
51.209 +#endif
51.210 +
51.211 +#if(7 <= MAX_EP_NUMBER)
51.212 +volatile far BDT ep7Bo; //Endpoint #7 BD Out
51.213 +volatile far BDT ep7Bi; //Endpoint #7 BD In
51.214 +#endif
51.215 +
51.216 +#if(8 <= MAX_EP_NUMBER)
51.217 +volatile far BDT ep8Bo; //Endpoint #8 BD Out
51.218 +volatile far BDT ep8Bi; //Endpoint #8 BD In
51.219 +#endif
51.220 +
51.221 +#if(9 <= MAX_EP_NUMBER)
51.222 +volatile far BDT ep9Bo; //Endpoint #9 BD Out
51.223 +volatile far BDT ep9Bi; //Endpoint #9 BD In
51.224 +#endif
51.225 +
51.226 +#if(10 <= MAX_EP_NUMBER)
51.227 +volatile far BDT ep10Bo; //Endpoint #10 BD Out
51.228 +volatile far BDT ep10Bi; //Endpoint #10 BD In
51.229 +#endif
51.230 +
51.231 +#if(11 <= MAX_EP_NUMBER)
51.232 +volatile far BDT ep11Bo; //Endpoint #11 BD Out
51.233 +volatile far BDT ep11Bi; //Endpoint #11 BD In
51.234 +#endif
51.235 +
51.236 +#if(12 <= MAX_EP_NUMBER)
51.237 +volatile far BDT ep12Bo; //Endpoint #12 BD Out
51.238 +volatile far BDT ep12Bi; //Endpoint #12 BD In
51.239 +#endif
51.240 +
51.241 +#if(13 <= MAX_EP_NUMBER)
51.242 +volatile far BDT ep13Bo; //Endpoint #13 BD Out
51.243 +volatile far BDT ep13Bi; //Endpoint #13 BD In
51.244 +#endif
51.245 +
51.246 +#if(14 <= MAX_EP_NUMBER)
51.247 +volatile far BDT ep14Bo; //Endpoint #14 BD Out
51.248 +volatile far BDT ep14Bi; //Endpoint #14 BD In
51.249 +#endif
51.250 +
51.251 +#if(15 <= MAX_EP_NUMBER)
51.252 +volatile far BDT ep15Bo; //Endpoint #15 BD Out
51.253 +volatile far BDT ep15Bi; //Endpoint #15 BD In
51.254 +#endif
51.255 +
51.256 +/******************************************************************************
51.257 + * Section B: EP0 Buffer Space
51.258 + ******************************************************************************
51.259 + * - Two buffer areas are defined:
51.260 + *
51.261 + * A. CTRL_TRF_SETUP
51.262 + * - Size = EP0_BUFF_SIZE as defined in autofiles\usbcfg.h
51.263 + * - Detailed data structure allows direct adddressing of bits and bytes.
51.264 + *
51.265 + * B. CTRL_TRF_DATA
51.266 + * - Size = EP0_BUFF_SIZE as defined in autofiles\usbcfg.h
51.267 + * - Data structure allows direct adddressing of the first 8 bytes.
51.268 + *
51.269 + * - Both data types are defined in system\usb\usbdefs\usbdefs_ep0_buff.h
51.270 + *****************************************************************************/
51.271 +volatile far CTRL_TRF_SETUP SetupPkt;
51.272 +volatile far CTRL_TRF_DATA CtrlTrfData;
51.273 +
51.274 +/******************************************************************************
51.275 + * Section C: CDC Buffer
51.276 + ******************************************************************************
51.277 + *
51.278 + *****************************************************************************/
51.279 +#pragma udata usbram5a=0x500 //See Linker Script,usb5:0x500-...
51.280 +#if defined(USB_USE_CDC)
51.281 +volatile far unsigned char cdc_notice[CDC_INT_EP_SIZE];
51.282 +volatile far unsigned char cdc_data_rx[CDC_BULK_OUT_EP_SIZE];
51.283 +volatile far unsigned char cdc_data_tx[CDC_BULK_IN_EP_SIZE];
51.284 +#endif
51.285 +#pragma udata
51.286 +
51.287 +/** EOF usbmmap.c ************************************************************/
52.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
52.2 +++ b/firmware/usbmmap.h Tue Jan 29 22:31:52 2008 +0100
52.3 @@ -0,0 +1,175 @@
52.4 +/*********************************************************************
52.5 + *
52.6 + * Microchip USB C18 Firmware Version 1.0
52.7 + *
52.8 + *********************************************************************
52.9 + * FileName: usbmmap.h
52.10 + * Dependencies: See INCLUDES section below
52.11 + * Processor: PIC18
52.12 + * Compiler: C18 2.30.01+
52.13 + * Company: Microchip Technology, Inc.
52.14 + *
52.15 + * Software License Agreement
52.16 + *
52.17 + * The software supplied herewith by Microchip Technology Incorporated
52.18 + * (the “Company”) for its PICmicro® Microcontroller is intended and
52.19 + * supplied to you, the Company’s customer, for use solely and
52.20 + * exclusively on Microchip PICmicro Microcontroller products. The
52.21 + * software is owned by the Company and/or its supplier, and is
52.22 + * protected under applicable copyright laws. All rights are reserved.
52.23 + * Any use in violation of the foregoing restrictions may subject the
52.24 + * user to criminal sanctions under applicable laws, as well as to
52.25 + * civil liability for the breach of the terms and conditions of this
52.26 + * license.
52.27 + *
52.28 + * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
52.29 + * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
52.30 + * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
52.31 + * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
52.32 + * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
52.33 + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
52.34 + *
52.35 + * Author Date Comment
52.36 + *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52.37 + * Rawin Rojvanit 11/19/04 Original.
52.38 + ********************************************************************/
52.39 +
52.40 +#ifndef USBMMAP_H
52.41 +#define USBMMAP_H
52.42 +
52.43 +/** I N C L U D E S **********************************************************/
52.44 +#include "typedefs.h"
52.45 +
52.46 +/** D E F I N I T I O N S ****************************************************/
52.47 +
52.48 +/* Buffer Descriptor Status Register Initialization Parameters */
52.49 +#define _BSTALL 0x04 //Buffer Stall enable
52.50 +#define _DTSEN 0x08 //Data Toggle Synch enable
52.51 +#define _INCDIS 0x10 //Address increment disable
52.52 +#define _KEN 0x20 //SIE keeps buff descriptors enable
52.53 +#define _DAT0 0x00 //DATA0 packet expected next
52.54 +#define _DAT1 0x40 //DATA1 packet expected next
52.55 +#define _DTSMASK 0x40 //DTS Mask
52.56 +#define _USIE 0x80 //SIE owns buffer
52.57 +#define _UCPU 0x00 //CPU owns buffer
52.58 +
52.59 +/* USB Device States - To be used with [byte usb_device_state] */
52.60 +#define DETACHED_STATE 0
52.61 +#define ATTACHED_STATE 1
52.62 +#define POWERED_STATE 2
52.63 +#define DEFAULT_STATE 3
52.64 +#define ADR_PENDING_STATE 4
52.65 +#define ADDRESS_STATE 5
52.66 +#define CONFIGURED_STATE 6
52.67 +
52.68 +/* Memory Types for Control Transfer - used in USB_DEVICE_STATUS */
52.69 +#define _RAM 0
52.70 +#define _ROM 1
52.71 +
52.72 +/** T Y P E S ****************************************************************/
52.73 +typedef union _USB_DEVICE_STATUS
52.74 +{
52.75 + byte _byte;
52.76 + struct
52.77 + {
52.78 + unsigned RemoteWakeup:1;// [0]Disabled [1]Enabled: See usbdrv.c,usb9.c
52.79 + unsigned ctrl_trf_mem:1;// [0]RAM [1]ROM
52.80 + };
52.81 +} USB_DEVICE_STATUS;
52.82 +
52.83 +typedef union _BD_STAT
52.84 +{
52.85 + byte _byte;
52.86 + struct{
52.87 + unsigned BC8:1;
52.88 + unsigned BC9:1;
52.89 + unsigned BSTALL:1; //Buffer Stall Enable
52.90 + unsigned DTSEN:1; //Data Toggle Synch Enable
52.91 + unsigned INCDIS:1; //Address Increment Disable
52.92 + unsigned KEN:1; //BD Keep Enable
52.93 + unsigned DTS:1; //Data Toggle Synch Value
52.94 + unsigned UOWN:1; //USB Ownership
52.95 + };
52.96 + struct{
52.97 + unsigned BC8:1;
52.98 + unsigned BC9:1;
52.99 + unsigned PID0:1;
52.100 + unsigned PID1:1;
52.101 + unsigned PID2:1;
52.102 + unsigned PID3:1;
52.103 + unsigned :1;
52.104 + unsigned UOWN:1;
52.105 + };
52.106 + struct{
52.107 + unsigned :2;
52.108 + unsigned PID:4; //Packet Identifier
52.109 + unsigned :2;
52.110 + };
52.111 +} BD_STAT; //Buffer Descriptor Status Register
52.112 +
52.113 +typedef union _BDT
52.114 +{
52.115 + struct
52.116 + {
52.117 + BD_STAT Stat;
52.118 + byte Cnt;
52.119 + byte ADRL; //Buffer Address Low
52.120 + byte ADRH; //Buffer Address High
52.121 + };
52.122 + struct
52.123 + {
52.124 + unsigned :8;
52.125 + unsigned :8;
52.126 + byte* ADR; //Buffer Address
52.127 + };
52.128 +} BDT; //Buffer Descriptor Table
52.129 +
52.130 +/** E X T E R N S ************************************************************/
52.131 +extern byte usb_device_state;
52.132 +extern USB_DEVICE_STATUS usb_stat;
52.133 +extern byte usb_active_cfg;
52.134 +extern byte usb_alt_intf[MAX_NUM_INT];
52.135 +
52.136 +extern volatile far BDT ep0Bo; //Endpoint #0 BD Out
52.137 +extern volatile far BDT ep0Bi; //Endpoint #0 BD In
52.138 +extern volatile far BDT ep1Bo; //Endpoint #1 BD Out
52.139 +extern volatile far BDT ep1Bi; //Endpoint #1 BD In
52.140 +extern volatile far BDT ep2Bo; //Endpoint #2 BD Out
52.141 +extern volatile far BDT ep2Bi; //Endpoint #2 BD In
52.142 +extern volatile far BDT ep3Bo; //Endpoint #3 BD Out
52.143 +extern volatile far BDT ep3Bi; //Endpoint #3 BD In
52.144 +extern volatile far BDT ep4Bo; //Endpoint #4 BD Out
52.145 +extern volatile far BDT ep4Bi; //Endpoint #4 BD In
52.146 +extern volatile far BDT ep5Bo; //Endpoint #5 BD Out
52.147 +extern volatile far BDT ep5Bi; //Endpoint #5 BD In
52.148 +extern volatile far BDT ep6Bo; //Endpoint #6 BD Out
52.149 +extern volatile far BDT ep6Bi; //Endpoint #6 BD In
52.150 +extern volatile far BDT ep7Bo; //Endpoint #7 BD Out
52.151 +extern volatile far BDT ep7Bi; //Endpoint #7 BD In
52.152 +extern volatile far BDT ep8Bo; //Endpoint #8 BD Out
52.153 +extern volatile far BDT ep8Bi; //Endpoint #8 BD In
52.154 +extern volatile far BDT ep9Bo; //Endpoint #9 BD Out
52.155 +extern volatile far BDT ep9Bi; //Endpoint #9 BD In
52.156 +extern volatile far BDT ep10Bo; //Endpoint #10 BD Out
52.157 +extern volatile far BDT ep10Bi; //Endpoint #10 BD In
52.158 +extern volatile far BDT ep11Bo; //Endpoint #11 BD Out
52.159 +extern volatile far BDT ep11Bi; //Endpoint #11 BD In
52.160 +extern volatile far BDT ep12Bo; //Endpoint #12 BD Out
52.161 +extern volatile far BDT ep12Bi; //Endpoint #12 BD In
52.162 +extern volatile far BDT ep13Bo; //Endpoint #13 BD Out
52.163 +extern volatile far BDT ep13Bi; //Endpoint #13 BD In
52.164 +extern volatile far BDT ep14Bo; //Endpoint #14 BD Out
52.165 +extern volatile far BDT ep14Bi; //Endpoint #14 BD In
52.166 +extern volatile far BDT ep15Bo; //Endpoint #15 BD Out
52.167 +extern volatile far BDT ep15Bi; //Endpoint #15 BD In
52.168 +
52.169 +extern volatile far CTRL_TRF_SETUP SetupPkt;
52.170 +extern volatile far CTRL_TRF_DATA CtrlTrfData;
52.171 +
52.172 +#if defined(USB_USE_CDC)
52.173 +extern volatile far unsigned char cdc_notice[CDC_INT_EP_SIZE];
52.174 +extern volatile far unsigned char cdc_data_rx[CDC_BULK_OUT_EP_SIZE];
52.175 +extern volatile far unsigned char cdc_data_tx[CDC_BULK_IN_EP_SIZE];
52.176 +#endif
52.177 +
52.178 +#endif //USBMMAP_H
53.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
53.2 +++ b/firmware/user.c Tue Jan 29 22:31:52 2008 +0100
53.3 @@ -0,0 +1,429 @@
53.4 +/*
53.5 + * Project Frontplatte
53.6 + *
53.7 + * user.c - Handle incoming commands
53.8 + *
53.9 + * This file is released under the GNU General Public License. Refer
53.10 + * to the COPYING file distributed with this package.
53.11 + *
53.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
53.13 + */
53.14 +
53.15 +/** I N C L U D E S **********************************************************/
53.16 +#include <p18cxxx.h>
53.17 +#include "typedefs.h"
53.18 +#include <pwm.h>
53.19 +#include <timers.h>
53.20 +
53.21 +#include "usb.h"
53.22 +
53.23 +#include "io_cfg.h" // I/O pin mapping
53.24 +#include "user.h"
53.25 +#include "t6963.h"
53.26 +#include "delay.h"
53.27 +#include "rc5.h"
53.28 +#include "myi2c.h"
53.29 +#include "interrupt.h"
53.30 +
53.31 +/** R O M D A T A ***********************************************/
53.32 +rom unsigned char bitmapfont[] =
53.33 +/*Bitmap-Size: 12 * 4 x 48 */
53.34 +/* | 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || : || (undef) | */
53.35 +/* Row 0 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.36 +/* Row 1 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.37 +/* Row 2 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.38 +/* Row 3 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.39 +/* Row 4 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.40 +/* Row 5 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xfe\x00\x00\x0f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.41 +/* Row 6 */ "\x00\x0f\xf8\x00\x00\x00\x78\x00\x00\x1f\xfc\x00\x00\x7f\xfc\x00\x00\x00\x0f\x00\x01\xff\xff\xc0\x00\x0f\xfc\x00\x00\x00\x00\x00\x00\x3f\xff\x80\x00\x1f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.42 +/* Row 7 */ "\x00\x3f\xfe\x00\x00\x00\x78\x00\x00\x3f\xff\x00\x00\xff\xff\x00\x00\x00\x1f\x00\x01\xff\xff\xc0\x00\x1f\xfe\x00\x03\xff\xff\xf8\x00\x7f\xff\xc0\x00\x7f\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00"
53.43 +/* Row 8 */ "\x00\x7f\xff\x00\x00\x00\x78\x00\x00\xff\xff\x80\x01\xff\xff\x80\x00\x00\x1f\x00\x03\xff\xff\xc0\x00\x7f\xff\x00\x03\xff\xff\xf8\x00\xff\xff\xe0\x00\xff\xff\xc0\x00\x00\x00\x00\x00\x00\x00\x00"
53.44 +/* Row 9 */ "\x00\xff\xff\x80\x00\x00\xf8\x00\x01\xff\xff\xc0\x03\xfc\x7f\x80\x00\x00\x3f\x00\x03\xff\xff\xc0\x00\x7f\xff\x80\x03\xff\xff\xf8\x00\xff\x1f\xe0\x00\xff\x3f\xc0\x00\x00\x00\x00\x00\x00\x00\x00"
53.45 +/* Row 10 */ "\x01\xfe\x3f\xc0\x00\x03\xf8\x00\x03\xfe\x3f\xe0\x03\xe0\x0f\xc0\x00\x00\x7f\x00\x03\xe0\x00\x00\x00\xff\x1f\xc0\x03\xff\xff\xf8\x01\xf8\x03\xf0\x01\xf8\x07\xe0\x00\x00\x00\x00\x00\x00\x00\x00"
53.46 +/* Row 11 */ "\x01\xf8\x0f\xc0\x00\x3f\xf8\x00\x03\xf0\x07\xf0\x07\xc0\x07\xc0\x00\x00\x7f\x00\x03\xe0\x00\x00\x01\xfc\x07\xe0\x00\x00\x00\xf8\x01\xf0\x01\xf0\x01\xf0\x03\xf0\x00\x00\x00\x00\x00\x00\x00\x00"
53.47 +/* Row 12 */ "\x03\xf0\x07\xe0\x00\xff\xf8\x00\x07\xe0\x03\xf0\x07\xc0\x07\xc0\x00\x00\xff\x00\x03\xe0\x00\x00\x01\xf8\x03\xe0\x00\x00\x01\xf0\x01\xf0\x01\xf0\x03\xe0\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00"
53.48 +/* Row 13 */ "\x03\xe0\x03\xe0\x00\xff\xf8\x00\x07\xc0\x01\xf0\x07\x80\x03\xc0\x00\x01\xff\x00\x03\xe0\x00\x00\x03\xf0\x03\xe0\x00\x00\x01\xf0\x01\xe0\x00\xf0\x03\xe0\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00"
53.49 +/* Row 14 */ "\x03\xe0\x03\xe0\x00\xff\xf8\x00\x07\xc0\x01\xf0\x00\x00\x03\xc0\x00\x01\xef\x00\x03\xe0\x00\x00\x03\xe0\x01\xe0\x00\x00\x03\xe0\x01\xe0\x00\xf0\x03\xe0\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00"
53.50 +/* Row 15 */ "\x07\xc0\x01\xf0\x00\xfe\x78\x00\x07\x80\x00\xf0\x00\x00\x03\xc0\x00\x03\xcf\x00\x03\xe0\x00\x00\x03\xe0\x00\x00\x00\x00\x03\xe0\x01\xf0\x01\xf0\x03\xc0\x00\xf8\x00\x01\x80\x00\x00\x00\x00\x00"
53.51 +/* Row 16 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x00\x00\xf0\x00\x00\x07\xc0\x00\x07\xcf\x00\x03\xe0\x00\x00\x07\xe0\x00\x00\x00\x00\x07\xe0\x01\xf0\x01\xf0\x03\xc0\x00\xf8\x00\x03\xc0\x00\x00\x00\x00\x00"
53.52 +/* Row 17 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x00\x01\xf0\x00\x00\x07\xc0\x00\x0f\x8f\x00\x03\xe0\x00\x00\x07\xc0\x00\x00\x00\x00\x07\xc0\x00\xf8\x03\xe0\x03\xc0\x00\xf8\x00\x07\xe0\x00\x00\x00\x00\x00"
53.53 +/* Row 18 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x00\x01\xf0\x00\x00\x0f\x80\x00\x0f\x0f\x00\x03\xe7\xfc\x00\x07\xc0\x00\x00\x00\x00\x07\xc0\x00\xfe\x0f\xe0\x03\xe0\x00\xf8\x00\x07\xe0\x00\x00\x00\x00\x00"
53.54 +/* Row 19 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x00\x01\xf0\x00\x00\x7f\x80\x00\x1e\x0f\x00\x03\xff\xfe\x00\x07\xc7\xfc\x00\x00\x00\x0f\x80\x00\x7f\xff\xc0\x03\xe0\x00\x78\x00\x03\xc0\x00\x00\x00\x00\x00"
53.55 +/* Row 20 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x03\xe0\x00\x03\xff\x00\x00\x3e\x0f\x00\x03\xff\xff\x80\x07\xdf\xff\x00\x00\x00\x0f\x80\x00\x3f\xff\x80\x03\xe0\x00\xf8\x00\x01\x80\x00\x00\x00\x00\x00"
53.56 +/* Row 21 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x07\xe0\x00\x03\xfc\x00\x00\x3c\x0f\x00\x03\xff\xff\xc0\x07\xff\xff\x80\x00\x00\x1f\x00\x00\x0f\xfe\x00\x03\xf0\x01\xf8\x00\x00\x00\x00\x00\x00\x00\x00"
53.57 +/* Row 22 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x0f\xc0\x00\x03\xff\x00\x00\x78\x0f\x00\x03\xfe\x3f\xe0\x07\xff\xff\xc0\x00\x00\x1f\x00\x00\x1f\xff\x00\x01\xf8\x03\xf8\x00\x00\x00\x00\x00\x00\x00\x00"
53.58 +/* Row 23 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x1f\x80\x00\x03\xff\xc0\x00\xf8\x0f\x00\x03\xf0\x07\xe0\x07\xfe\x3f\xc0\x00\x00\x3e\x00\x00\x3f\xff\x80\x00\xff\x1f\xf8\x00\x00\x00\x00\x00\x00\x00\x00"
53.59 +/* Row 24 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x3f\x00\x00\x00\x3f\xe0\x00\xf0\x0f\x00\x03\xc0\x03\xf0\x07\xf0\x07\xe0\x00\x00\x3e\x00\x00\x7f\xff\xc0\x00\xff\xff\xf8\x00\x00\x00\x00\x00\x3f\xfc\x00"
53.60 +/* Row 25 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\x7e\x00\x00\x00\x07\xe0\x01\xe0\x0f\x00\x00\x00\x01\xf0\x07\xe0\x03\xf0\x00\x00\x7e\x00\x00\xfe\x0f\xe0\x00\x7f\xff\xf8\x00\x00\x00\x00\x00\x3f\xfc\x00"
53.61 +/* Row 26 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x00\xfc\x00\x00\x00\x03\xf0\x03\xe0\x0f\x00\x00\x00\x01\xf0\x07\xc0\x01\xf0\x00\x00\x7c\x00\x01\xf8\x03\xf0\x00\x3f\xfe\xf8\x00\x00\x00\x00\x00\x3f\xfc\x00"
53.62 +/* Row 27 */ "\x07\x80\x00\xf0\x00\x00\x78\x00\x00\x03\xf8\x00\x00\x00\x01\xf0\x03\xc0\x0f\x00\x00\x00\x01\xf0\x07\x80\x01\xf0\x00\x00\x7c\x00\x03\xf0\x01\xf8\x00\x0f\xf8\xf8\x00\x01\x80\x00\x00\x3f\xfc\x00"
53.63 +/* Row 28 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x07\xf0\x00\x00\x00\x01\xf0\x07\x80\x0f\x00\x00\x00\x00\xf0\x07\xc0\x01\xf0\x00\x00\xf8\x00\x03\xe0\x00\xf8\x00\x00\x00\xf8\x00\x03\xc0\x00\x00\x00\x00\x00"
53.64 +/* Row 29 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x0f\xe0\x00\x00\x00\x00\xf0\x07\xff\xff\xf8\x00\x00\x00\xf0\x07\xc0\x00\xf0\x00\x00\xf8\x00\x03\xe0\x00\xf8\x00\x00\x00\xf8\x00\x07\xe0\x00\x00\x00\x00\x00"
53.65 +/* Row 30 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x3f\xc0\x00\x00\x00\x00\xf0\x07\xff\xff\xf8\x00\x00\x00\xf0\x07\xc0\x00\xf0\x00\x01\xf0\x00\x03\xc0\x00\x78\x00\x00\x01\xf8\x00\x07\xe0\x00\x00\x00\x00\x00"
53.66 +/* Row 31 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\x7f\x00\x00\x07\x80\x00\xf0\x07\xff\xff\xf8\x07\x80\x01\xf0\x07\xc0\x00\xf0\x00\x01\xf0\x00\x03\xc0\x00\x78\x00\x00\x01\xf0\x00\x03\xc0\x00\x00\x00\x00\x00"
53.67 +/* Row 32 */ "\x07\xc0\x01\xf0\x00\x00\x78\x00\x00\xfe\x00\x00\x07\xc0\x01\xf0\x07\xff\xff\xf8\x07\xc0\x01\xf0\x07\xc0\x01\xf0\x00\x03\xe0\x00\x03\xe0\x00\xf8\x01\xe0\x01\xf0\x00\x01\x80\x00\x00\x00\x00\x00"
53.68 +/* Row 33 */ "\x03\xe0\x03\xe0\x00\x00\x78\x00\x01\xfc\x00\x00\x07\xc0\x01\xf0\x00\x00\x0f\x00\x07\xc0\x03\xf0\x03\xe0\x01\xf0\x00\x03\xe0\x00\x03\xe0\x00\xf8\x01\xf0\x03\xf0\x00\x00\x00\x00\x00\x00\x00\x00"
53.69 +/* Row 34 */ "\x03\xe0\x03\xe0\x00\x00\x78\x00\x03\xf8\x00\x00\x07\xe0\x03\xf0\x00\x00\x0f\x00\x07\xe0\x03\xe0\x03\xe0\x01\xf0\x00\x07\xe0\x00\x03\xf0\x01\xf8\x01\xf0\x07\xe0\x00\x00\x00\x00\x00\x00\x00\x00"
53.70 +/* Row 35 */ "\x03\xf0\x07\xe0\x00\x00\x78\x00\x07\xf0\x00\x00\x03\xf0\x07\xe0\x00\x00\x0f\x00\x03\xf0\x0f\xe0\x03\xf0\x03\xe0\x00\x07\xc0\x00\x01\xf8\x03\xf0\x01\xf8\x0f\xe0\x00\x00\x00\x00\x00\x00\x00\x00"
53.71 +/* Row 36 */ "\x01\xf8\x0f\xc0\x00\x00\x78\x00\x07\xe0\x00\x00\x03\xfe\x3f\xe0\x00\x00\x0f\x00\x03\xfe\x3f\xc0\x01\xf8\x07\xe0\x00\x07\xc0\x00\x01\xff\x1f\xf0\x00\xfe\x3f\xc0\x00\x00\x00\x00\x00\x00\x00\x00"
53.72 +/* Row 37 */ "\x01\xfe\x3f\xc0\x00\x00\x78\x00\x0f\xff\xff\xf0\x01\xff\xff\xc0\x00\x00\x0f\x00\x01\xff\xff\x80\x00\xff\x3f\xc0\x00\x0f\x80\x00\x00\xff\xff\xe0\x00\x7f\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00"
53.73 +/* Row 38 */ "\x00\xff\xff\x80\x00\x00\x78\x00\x0f\xff\xff\xf0\x00\xff\xff\x80\x00\x00\x0f\x00\x00\xff\xff\x00\x00\xff\xff\xc0\x00\x0f\x80\x00\x00\x7f\xff\xc0\x00\x7f\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00"
53.74 +/* Row 39 */ "\x00\x7f\xff\x00\x00\x00\x78\x00\x0f\xff\xff\xf0\x00\x7f\xfe\x00\x00\x00\x0f\x00\x00\x7f\xfe\x00\x00\x7f\xff\x80\x00\x1f\x00\x00\x00\x3f\xff\x80\x00\x1f\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.75 +/* Row 40 */ "\x00\x3f\xfe\x00\x00\x00\x78\x00\x0f\xff\xff\xf0\x00\x1f\xf8\x00\x00\x00\x0f\x00\x00\x1f\xf8\x00\x00\x1f\xfe\x00\x00\x1f\x00\x00\x00\x0f\xfe\x00\x00\x0f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.76 +/* Row 41 */ "\x00\x0f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.77 +/* Row 42 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.78 +/* Row 43 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.79 +/* Row 44 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.80 +/* Row 45 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.81 +/* Row 46 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
53.82 +/* Row 47 */ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
53.83 +
53.84 +
53.85 +
53.86 +/** V A R I A B L E S **********************************************/
53.87 +unsigned char gg_keys;
53.88 +unsigned char gg_ioflags;
53.89 +unsigned char gg_pwm1dc = 0x00;
53.90 +unsigned char gg_mode = MODE_UNMANAGED;
53.91 +
53.92 +unsigned char nKeys1, nKeys2;
53.93 +unsigned char oKeys1, oKeys2;
53.94 +unsigned char dKeys1, dKeys2;
53.95 +unsigned char bKeys1;
53.96 +
53.97 +
53.98 +/** C O D E ********************************************************/
53.99 +void UserInit(void)
53.100 +{
53.101 + // configure all PortA-Pins as Digital
53.102 + ADCON0 = 0x00; // disable AD
53.103 + ADCON1 = 0x0F; // AD-Converter see page 254
53.104 + CMCON = 0x07; // disable Comperator see page 264
53.105 + SPPCON = 0x00; // disable SPP-Port see page 187
53.106 +
53.107 + // first: make ALL ports outputs...
53.108 + TRISA = 0x00;
53.109 + TRISC = 0x00;
53.110 + TRISD = 0x00;
53.111 + TRISE = 0x00;
53.112 + TRISB = 0x00; PORTB = 0xFF;
53.113 + // make sure, PC wont start...
53.114 + PIN_POWER = 0;
53.115 +
53.116 +
53.117 + // reset INT settings...
53.118 + INTCON = 0x00; // first disable all ints..
53.119 + PIE1 = 0x00; // and also all perephial ints
53.120 + PIE2 = 0x00;
53.121 + RCONbits.IPEN = 1; // enable interrupt-priority-levels
53.122 + IPR1 = 0x00; // perephials are all low-priority
53.123 + IPR2 = 0x00;
53.124 +
53.125 +
53.126 + // init I2C lines and MSSP (taken from AN991)
53.127 + DDR_I2C_SCL = 1; //Configure SCL as Input
53.128 + DDR_I2C_SDA = 1; //Configure SDA as Input
53.129 + SSPADD = 0x40; //Should be 0x31 for 100kHz
53.130 + SSPSTAT = 0x80; //Disable SMBus & Slew Rate Control
53.131 + SSPCON1 = 0x28; //Enable MSSP Master
53.132 + SSPCON2 = 0x00; //Clear MSSP Conrol Bits
53.133 +
53.134 +
53.135 + // portB interrupts (i2c_int on RB5)
53.136 + INTCON2bits.RBIP = 0; //make this a low-priority-interrupt
53.137 + PIN_I2C_INT = 1; //switch pin to high-level (doesnt really work.. its an open collector. BUT i've got pullups)
53.138 + DDR_I2C_INT = 1; //woo woo! this one has to be an input, for interrupts to work
53.139 + nKeys1 = 0xFF - LDByteReadI2C(pcf8574A_1); // make sure to reset i2c_int... just in case...
53.140 + oKeys1 = nKeys1;
53.141 + nKeys2 = 0xFF - LDByteReadI2C(pcf8574A_2);
53.142 + oKeys2 = nKeys2;
53.143 + INTCONbits.RBIF = 0; // then clear the flag!
53.144 + INTCONbits.RBIE = 1; // Activate PortB interrupts
53.145 +
53.146 +
53.147 + // enable alarm
53.148 + LDByteWriteI2C(pcf8583,0x00,0x04);
53.149 +
53.150 +
53.151 + // Timer3 acts as 'event-ticker'
53.152 + WriteTimer3(0x0000);
53.153 + OpenTimer3(TIMER_INT_ON & T3_16BIT_RW & T3_PS_1_8 & T3_SYNC_EXT_OFF & T3_SOURCE_INT);
53.154 +
53.155 +
53.156 + // PWM period = [(period ) + 1] x 4 x Tosc x TMR2 prescaler
53.157 + SetOutputPWM1(SINGLE_OUT,PWM_MODE_1); // since CCP1 is ECCP1.. set its mode
53.158 + OpenTimer2( TIMER_INT_OFF & T2_PS_1_4 & T2_POST_1_1 ); // set Prescaler to 1/4
53.159 + // Set DutyCycle
53.160 + SetDCPWM1(gg_pwm1dc << 2);
53.161 + SetDCPWM2(0x0040);
53.162 + OpenPWM1(0xFF);
53.163 +// OpenPWM2(0xFF); // Still DOESNT not work :(
53.164 + // start PWM
53.165 + DDR_PWM1 = 0; // make PWM-Pins output
53.166 + DDR_PWM2 = 0;
53.167 +
53.168 +
53.169 + // initialize rc5 decoding
53.170 + rc5_init();
53.171 + DDR_IR = 1; // switch to input...
53.172 + INTCON3bits.INT2IE = 1; // enable int2 (rc5 decoding)
53.173 + INTCON3bits.INT2IP = 1; // as high-priority int.
53.174 + INTCON2bits.INTEDG2 = 0; // on falling edge
53.175 + INTCON3bits.INT2IF = 0; // and clear the flag.
53.176 +
53.177 +
53.178 + // interrupts
53.179 + INTCONbits.GIEH = 1; // globally enable high-pri-int
53.180 + INTCONbits.GIEL = 1; // globally enable low-prio-int
53.181 +
53.182 + // reset flags
53.183 + gg_ioflags = FLAG_CLEAR;
53.184 +
53.185 +
53.186 + // init & clear Display
53.187 + lcd_InitDisplay();
53.188 + lcd_InitDisplay(); // ugly workaround...
53.189 +}//end UserInit
53.190 +
53.191 +
53.192 +
53.193 +void Wstring (char *dat,unsigned char len)
53.194 +{
53.195 + unsigned char i;
53.196 + for (i=0; i<len; i++)
53.197 + {
53.198 + lcd_WriteByte(dat[i]-0x20);
53.199 + }
53.200 +}
53.201 +
53.202 +
53.203 +void Wdebug (unsigned char dat)
53.204 +{
53.205 + // Address Pointer Set
53.206 +/* t6963c_WriteData(0x00); // byte1
53.207 + t6963c_WriteData(0x08); // byte2
53.208 + t6963c_WriteCommand(0x24); //set!*/
53.209 +
53.210 + if (dat >= 100) {
53.211 + lcd_WriteByte((dat / 100) + 0x10);
53.212 + dat = dat % 100;
53.213 + } else {
53.214 + lcd_WriteByte(0x10);
53.215 + }
53.216 +
53.217 + if (dat >= 10) {
53.218 + lcd_WriteByte((dat / 10) + 0x10);
53.219 + dat = dat % 10;
53.220 + } else {
53.221 + lcd_WriteByte(0x10);
53.222 + }
53.223 + lcd_WriteByte(0x10 + dat);
53.224 +}
53.225 +
53.226 +
53.227 +void ReadKeys(void)
53.228 +{
53.229 + // read keys..
53.230 + nKeys1 = 0xFF - LDByteReadI2C(pcf8574A_1);
53.231 + nKeys2 = 0xFF - LDByteReadI2C(pcf8574A_2);
53.232 +
53.233 + if ((nKeys1 != oKeys1) || (nKeys2 != oKeys2)) // something happened
53.234 + {
53.235 + gg_keys = 0x00;
53.236 + bKeys1 = nKeys1; // backup keys...
53.237 + dKeys1 = nKeys1 ^ oKeys1; // calc diff...
53.238 + dKeys2 = nKeys2 ^ oKeys2;
53.239 +
53.240 + if (dKeys1 & 0x01) // rotary event..
53.241 + {
53.242 + if (dKeys1 & nKeys1) // press, not release...
53.243 + {
53.244 + if (nKeys1 == 0x05) gg_keys = RC5_KEY_UP;
53.245 + else gg_keys = RC5_KEY_DOWN;
53.246 + }
53.247 + else if (dKeys1 & oKeys1) // release
53.248 + {
53.249 + if (nKeys1 == 0x00) gg_keys = RC5_KEY_UP;
53.250 + else gg_keys = RC5_KEY_DOWN;
53.251 + }
53.252 +
53.253 + } // done decoding rotary
53.254 + dKeys1 &= 0xFA; // remove-rotary bits...
53.255 + oKeys1 &= 0xFA;
53.256 + nKeys1 &= 0xFA;
53.257 +
53.258 + // expander1
53.259 + if (dKeys1 & nKeys1) // button was pressed...
53.260 + {
53.261 + switch (dKeys1)
53.262 + {
53.263 + case 0x08: gg_keys = RC5_KEY_LEFT; break;
53.264 + case 0x02: gg_keys = RC5_KEY_RIGHT; break;
53.265 + case 0x10: gg_keys = RC5_KEY_BACK; break;
53.266 + case 0x20: gg_keys = RC5_KEY_OK; break;
53.267 + case 0x40: gg_keys = RC5_KEY_MENU; break;
53.268 + default: gg_keys = 0x00;
53.269 + }
53.270 + }
53.271 + if (dKeys2 & nKeys2) // button was pressed...
53.272 + {
53.273 + switch (dKeys2)
53.274 + {
53.275 + case 0x04: gg_keys = RC5_KEY_RED; break;
53.276 + case 0x08: gg_keys = RC5_KEY_GREEN; break;
53.277 + case 0x02: gg_keys = RC5_KEY_YELLOW; break;
53.278 + case 0x01: gg_keys = RC5_KEY_BLUE; break;
53.279 + default: gg_keys = 0x00;
53.280 + }
53.281 + }
53.282 +
53.283 +/* if (dKeys2 & oKeys2) // release
53.284 + {
53.285 + Wdebug (dKeys2);
53.286 + Wstring(rel,3);
53.287 + }
53.288 + if (dKeys1 & oKeys1) // release
53.289 + {
53.290 + Wdebug (dKeys1);
53.291 + Wstring(rel,3);
53.292 + }*/
53.293 +
53.294 + if (gg_keys != 0x00)
53.295 + {
53.296 + gg_ioflags |= FLAG_KEY;
53.297 + }
53.298 + // in any case: reset internal key-state
53.299 + oKeys1 = bKeys1;
53.300 + oKeys2 = nKeys2;
53.301 + }
53.302 +}
53.303 +
53.304 +void ReadClock(void)
53.305 +{
53.306 + unsigned char input[16];
53.307 +
53.308 + LDPageReadI2C(pcf8583, 0x00, input, 0x10);
53.309 + if (input[CLK_ALARM_CTRL] & 0x80) // highest bist it the alarm-if
53.310 + {
53.311 + gg_ioflags |= FLAG_ALARM;
53.312 + }
53.313 +}
53.314 +
53.315 +
53.316 +void DrawTime (void) {
53.317 + unsigned char time[0x05];
53.318 + unsigned char clk[0x10];
53.319 + unsigned int ram_address;
53.320 + unsigned int x,y;
53.321 +
53.322 + LDPageReadI2C(pcf8583, 0x00, clk, 0x10);
53.323 +
53.324 + time[0] = ((clk[CLK_HOURS] & 0xF0) >> 4);
53.325 + time[1] = ((clk[CLK_HOURS] & 0x0F));
53.326 + time[2] = 0x0A;
53.327 + time[3] = ((clk[CLK_MIN] & 0xF0) >> 4);
53.328 + time[4] = ((clk[CLK_MIN] & 0x0F));
53.329 +
53.330 +/* D R A W T I M E */
53.331 + for (y = 0; y < FONT_HEIGHT; y++)
53.332 + {
53.333 + // set RAM address
53.334 + ram_address = (30 * (y + TIME_Y_START)) + TIME_X_START;
53.335 + lcd_WriteData((unsigned char)(ram_address % 256)); // lower byte
53.336 + lcd_WriteData((unsigned char)(ram_address / 256)); // lower byte
53.337 + lcd_WriteCommand(0x24); //set!
53.338 +
53.339 + // write 5 chars...
53.340 + for (x = 0; x < 5; x++)
53.341 + {
53.342 + // jump to according position in bitmapfont
53.343 + ram_address = (FONT_HEIGHT * y) + FONT_WIDTH * (unsigned int)(time[x] & 0x0F);
53.344 + lcd_WriteByte(bitmapfont[ram_address++]);
53.345 + lcd_WriteByte(bitmapfont[ram_address++]);
53.346 + lcd_WriteByte(bitmapfont[ram_address++]);
53.347 + lcd_WriteByte(bitmapfont[ram_address++]);
53.348 + }
53.349 + }
53.350 +
53.351 +
53.352 +/* D A T E */
53.353 + lcd_WriteData(0x00); // byte1
53.354 + lcd_WriteData(0x08); // byte2
53.355 + lcd_WriteCommand(0x24); // set!
53.356 + lcd_WriteByte(0x00);
53.357 + lcd_WriteByte(((clk[CLK_YEARDAY] & 0x30) >> 4) + 0x10);
53.358 + lcd_WriteByte(( clk[CLK_YEARDAY] & 0x0F) + 0x10);
53.359 + lcd_WriteByte(0x0E);
53.360 + lcd_WriteByte(((clk[CLK_WEEKDMON] & 0x10) >> 4) + 0x10);
53.361 + lcd_WriteByte(( clk[CLK_WEEKDMON] & 0x0F) + 0x10);
53.362 + lcd_WriteByte(0x0E);
53.363 + lcd_WriteByte(0x12); // 2
53.364 + lcd_WriteByte(0x10); // 0
53.365 + lcd_WriteByte(0x10); // 0
53.366 + lcd_WriteByte(((clk[CLK_WEEKDMON] & 0xA0) >> 6) + 0x10 + 0x08); // 8 + x
53.367 +
53.368 +
53.369 +/* T I M E R I N F O */
53.370 + lcd_WriteData(0xD2); // byte1
53.371 + lcd_WriteData(0x08); // byte2
53.372 + lcd_WriteCommand(0x24); // set!
53.373 + lcd_WriteByte(0x00); //
53.374 + lcd_WriteByte(0x2E); // N
53.375 + lcd_WriteByte(0x45); // e
53.376 + lcd_WriteByte(0x58); // x
53.377 + lcd_WriteByte(0x54); // t
53.378 + lcd_WriteByte(0x00); //
53.379 + lcd_WriteByte(0x34); // T
53.380 + lcd_WriteByte(0x49); // i
53.381 + lcd_WriteByte(0x4D); // m
53.382 + lcd_WriteByte(0x45); // e
53.383 + lcd_WriteByte(0x52); // r
53.384 + lcd_WriteByte(0x1A); // :
53.385 + lcd_WriteByte(0x00); //
53.386 +
53.387 + if (time[CLK_ALARM_CTRL] == 0xB0) // dated alarm, interrupt enabled
53.388 + {
53.389 + lcd_WriteByte(((clk[CLK_YEARDAY + 0x08] & 0x30) >> 4) + 0x10);
53.390 + lcd_WriteByte(( clk[CLK_YEARDAY + 0x08] & 0x0F) + 0x10);
53.391 + lcd_WriteByte(0x0E);
53.392 + lcd_WriteByte(((clk[CLK_WEEKDMON + 0x08] & 0x10) >> 4) + 0x10);
53.393 + lcd_WriteByte(( clk[CLK_WEEKDMON + 0x08] & 0x0F) + 0x10);
53.394 + lcd_WriteByte(0x0E);
53.395 + lcd_WriteByte(0x12); // 2
53.396 + lcd_WriteByte(0x10); // 0
53.397 + lcd_WriteByte(0x10); // 0
53.398 + lcd_WriteByte(((clk[CLK_WEEKDMON + 0x08] & 0xA0) >> 6) + 0x10 + 0x08); // 8 + x
53.399 +
53.400 + lcd_WriteByte(0x00);
53.401 + lcd_WriteByte(((clk[CLK_HOURS] & 0xF0) >> 4) + 0x10);
53.402 + lcd_WriteByte(( clk[CLK_HOURS] & 0x0F) + 0x10);
53.403 + lcd_WriteByte(0x1A); // :
53.404 + lcd_WriteByte(((clk[CLK_MIN] & 0xF0) >> 4) + 0x10);
53.405 + lcd_WriteByte(( clk[CLK_MIN] & 0x0F) + 0x10);
53.406 + }
53.407 + else
53.408 + {
53.409 + lcd_WriteByte(0x2E); // N
53.410 + lcd_WriteByte(0x4F); // o
53.411 + lcd_WriteByte(0x4E); // n
53.412 + lcd_WriteByte(0x45); // e
53.413 + lcd_WriteByte(0x00); // Pad some spaces... i am just too lazy to clear the whole screen :D
53.414 + lcd_WriteByte(0x00);
53.415 + lcd_WriteByte(0x00);
53.416 + lcd_WriteByte(0x00);
53.417 + lcd_WriteByte(0x00);
53.418 + lcd_WriteByte(0x00);
53.419 + lcd_WriteByte(0x00);
53.420 + lcd_WriteByte(0x00);
53.421 + lcd_WriteByte(0x00);
53.422 + lcd_WriteByte(0x00);
53.423 + lcd_WriteByte(0x00);
53.424 + lcd_WriteByte(0x00);
53.425 + lcd_WriteByte(0x00);
53.426 + lcd_WriteByte(0x00);
53.427 + lcd_WriteByte(0x00);
53.428 + lcd_WriteByte(0x00);
53.429 + }
53.430 +
53.431 +
53.432 +} //DrawTime
54.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
54.2 +++ b/firmware/user.h Tue Jan 29 22:31:52 2008 +0100
54.3 @@ -0,0 +1,41 @@
54.4 +/*
54.5 + * Project Frontplatte
54.6 + *
54.7 + * user.h - Handle incoming commands
54.8 + *
54.9 + * This file is released under the GNU General Public License. Refer
54.10 + * to the COPYING file distributed with this package.
54.11 + *
54.12 + * (c) 2007 Carsten Presser cpresser AT fsing.uni-sb.de
54.13 + */
54.14 +
54.15 +#ifndef __USER_H
54.16 +#define __USER_H
54.17 +
54.18 +
54.19 +/** D E F I N I T I O N S ****************************************************/
54.20 +// font-offset
54.21 +#define TIME_Y_START 6 // pixels
54.22 +#define TIME_X_START 2 // 8pixels
54.23 +#define FONT_HEIGHT 48 // pixels
54.24 +#define FONT_WIDTH 4 // bytes
54.25 +
54.26 +
54.27 +/** E X T E R N A L V A R I A B L E S ***************************/
54.28 +extern unsigned char gg_keys;
54.29 +extern unsigned char gg_ioflags;
54.30 +extern unsigned char gg_pwm1dc;
54.31 +extern unsigned char gg_mode;
54.32 +
54.33 +
54.34 +
54.35 +/** P U B L I C P R O T O T Y P E S *****************************************/
54.36 +void UserInit(void);
54.37 +void DrawTime(void);
54.38 +void ReadKeys(void);
54.39 +void ReadClock(void);
54.40 +
54.41 +void Wdebug (unsigned char dat);
54.42 +void Wstring (char *dat,unsigned char len);
54.43 +
54.44 +#endif //USER_H
55.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
55.2 +++ b/tools/fsusb/COPYING Tue Jan 29 22:31:52 2008 +0100
55.3 @@ -0,0 +1,340 @@
55.4 + GNU GENERAL PUBLIC LICENSE
55.5 + Version 2, June 1991
55.6 +
55.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
55.8 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
55.9 + Everyone is permitted to copy and distribute verbatim copies
55.10 + of this license document, but changing it is not allowed.
55.11 +
55.12 + Preamble
55.13 +
55.14 + The licenses for most software are designed to take away your
55.15 +freedom to share and change it. By contrast, the GNU General Public
55.16 +License is intended to guarantee your freedom to share and change free
55.17 +software--to make sure the software is free for all its users. This
55.18 +General Public License applies to most of the Free Software
55.19 +Foundation's software and to any other program whose authors commit to
55.20 +using it. (Some other Free Software Foundation software is covered by
55.21 +the GNU Library General Public License instead.) You can apply it to
55.22 +your programs, too.
55.23 +
55.24 + When we speak of free software, we are referring to freedom, not
55.25 +price. Our General Public Licenses are designed to make sure that you
55.26 +have the freedom to distribute copies of free software (and charge for
55.27 +this service if you wish), that you receive source code or can get it
55.28 +if you want it, that you can change the software or use pieces of it
55.29 +in new free programs; and that you know you can do these things.
55.30 +
55.31 + To protect your rights, we need to make restrictions that forbid
55.32 +anyone to deny you these rights or to ask you to surrender the rights.
55.33 +These restrictions translate to certain responsibilities for you if you
55.34 +distribute copies of the software, or if you modify it.
55.35 +
55.36 + For example, if you distribute copies of such a program, whether
55.37 +gratis or for a fee, you must give the recipients all the rights that
55.38 +you have. You must make sure that they, too, receive or can get the
55.39 +source code. And you must show them these terms so they know their
55.40 +rights.
55.41 +
55.42 + We protect your rights with two steps: (1) copyright the software, and
55.43 +(2) offer you this license which gives you legal permission to copy,
55.44 +distribute and/or modify the software.
55.45 +
55.46 + Also, for each author's protection and ours, we want to make certain
55.47 +that everyone understands that there is no warranty for this free
55.48 +software. If the software is modified by someone else and passed on, we
55.49 +want its recipients to know that what they have is not the original, so
55.50 +that any problems introduced by others will not reflect on the original
55.51 +authors' reputations.
55.52 +
55.53 + Finally, any free program is threatened constantly by software
55.54 +patents. We wish to avoid the danger that redistributors of a free
55.55 +program will individually obtain patent licenses, in effect making the
55.56 +program proprietary. To prevent this, we have made it clear that any
55.57 +patent must be licensed for everyone's free use or not licensed at all.
55.58 +
55.59 + The precise terms and conditions for copying, distribution and
55.60 +modification follow.
55.61 +
55.62 + GNU GENERAL PUBLIC LICENSE
55.63 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
55.64 +
55.65 + 0. This License applies to any program or other work which contains
55.66 +a notice placed by the copyright holder saying it may be distributed
55.67 +under the terms of this General Public License. The "Program", below,
55.68 +refers to any such program or work, and a "work based on the Program"
55.69 +means either the Program or any derivative work under copyright law:
55.70 +that is to say, a work containing the Program or a portion of it,
55.71 +either verbatim or with modifications and/or translated into another
55.72 +language. (Hereinafter, translation is included without limitation in
55.73 +the term "modification".) Each licensee is addressed as "you".
55.74 +
55.75 +Activities other than copying, distribution and modification are not
55.76 +covered by this License; they are outside its scope. The act of
55.77 +running the Program is not restricted, and the output from the Program
55.78 +is covered only if its contents constitute a work based on the
55.79 +Program (independent of having been made by running the Program).
55.80 +Whether that is true depends on what the Program does.
55.81 +
55.82 + 1. You may copy and distribute verbatim copies of the Program's
55.83 +source code as you receive it, in any medium, provided that you
55.84 +conspicuously and appropriately publish on each copy an appropriate
55.85 +copyright notice and disclaimer of warranty; keep intact all the
55.86 +notices that refer to this License and to the absence of any warranty;
55.87 +and give any other recipients of the Program a copy of this License
55.88 +along with the Program.
55.89 +
55.90 +You may charge a fee for the physical act of transferring a copy, and
55.91 +you may at your option offer warranty protection in exchange for a fee.
55.92 +
55.93 + 2. You may modify your copy or copies of the Program or any portion
55.94 +of it, thus forming a work based on the Program, and copy and
55.95 +distribute such modifications or work under the terms of Section 1
55.96 +above, provided that you also meet all of these conditions:
55.97 +
55.98 + a) You must cause the modified files to carry prominent notices
55.99 + stating that you changed the files and the date of any change.
55.100 +
55.101 + b) You must cause any work that you distribute or publish, that in
55.102 + whole or in part contains or is derived from the Program or any
55.103 + part thereof, to be licensed as a whole at no charge to all third
55.104 + parties under the terms of this License.
55.105 +
55.106 + c) If the modified program normally reads commands interactively
55.107 + when run, you must cause it, when started running for such
55.108 + interactive use in the most ordinary way, to print or display an
55.109 + announcement including an appropriate copyright notice and a
55.110 + notice that there is no warranty (or else, saying that you provide
55.111 + a warranty) and that users may redistribute the program under
55.112 + these conditions, and telling the user how to view a copy of this
55.113 + License. (Exception: if the Program itself is interactive but
55.114 + does not normally print such an announcement, your work based on
55.115 + the Program is not required to print an announcement.)
55.116 +
55.117 +These requirements apply to the modified work as a whole. If
55.118 +identifiable sections of that work are not derived from the Program,
55.119 +and can be reasonably considered independent and separate works in
55.120 +themselves, then this License, and its terms, do not apply to those
55.121 +sections when you distribute them as separate works. But when you
55.122 +distribute the same sections as part of a whole which is a work based
55.123 +on the Program, the distribution of the whole must be on the terms of
55.124 +this License, whose permissions for other licensees extend to the
55.125 +entire whole, and thus to each and every part regardless of who wrote it.
55.126 +
55.127 +Thus, it is not the intent of this section to claim rights or contest
55.128 +your rights to work written entirely by you; rather, the intent is to
55.129 +exercise the right to control the distribution of derivative or
55.130 +collective works based on the Program.
55.131 +
55.132 +In addition, mere aggregation of another work not based on the Program
55.133 +with the Program (or with a work based on the Program) on a volume of
55.134 +a storage or distribution medium does not bring the other work under
55.135 +the scope of this License.
55.136 +
55.137 + 3. You may copy and distribute the Program (or a work based on it,
55.138 +under Section 2) in object code or executable form under the terms of
55.139 +Sections 1 and 2 above provided that you also do one of the following:
55.140 +
55.141 + a) Accompany it with the complete corresponding machine-readable
55.142 + source code, which must be distributed under the terms of Sections
55.143 + 1 and 2 above on a medium customarily used for software interchange; or,
55.144 +
55.145 + b) Accompany it with a written offer, valid for at least three
55.146 + years, to give any third party, for a charge no more than your
55.147 + cost of physically performing source distribution, a complete
55.148 + machine-readable copy of the corresponding source code, to be
55.149 + distributed under the terms of Sections 1 and 2 above on a medium
55.150 + customarily used for software interchange; or,
55.151 +
55.152 + c) Accompany it with the information you received as to the offer
55.153 + to distribute corresponding source code. (This alternative is
55.154 + allowed only for noncommercial distribution and only if you
55.155 + received the program in object code or executable form with such
55.156 + an offer, in accord with Subsection b above.)
55.157 +
55.158 +The source code for a work means the preferred form of the work for
55.159 +making modifications to it. For an executable work, complete source
55.160 +code means all the source code for all modules it contains, plus any
55.161 +associated interface definition files, plus the scripts used to
55.162 +control compilation and installation of the executable. However, as a
55.163 +special exception, the source code distributed need not include
55.164 +anything that is normally distributed (in either source or binary
55.165 +form) with the major components (compiler, kernel, and so on) of the
55.166 +operating system on which the executable runs, unless that component
55.167 +itself accompanies the executable.
55.168 +
55.169 +If distribution of executable or object code is made by offering
55.170 +access to copy from a designated place, then offering equivalent
55.171 +access to copy the source code from the same place counts as
55.172 +distribution of the source code, even though third parties are not
55.173 +compelled to copy the source along with the object code.
55.174 +
55.175 + 4. You may not copy, modify, sublicense, or distribute the Program
55.176 +except as expressly provided under this License. Any attempt
55.177 +otherwise to copy, modify, sublicense or distribute the Program is
55.178 +void, and will automatically terminate your rights under this License.
55.179 +However, parties who have received copies, or rights, from you under
55.180 +this License will not have their licenses terminated so long as such
55.181 +parties remain in full compliance.
55.182 +
55.183 + 5. You are not required to accept this License, since you have not
55.184 +signed it. However, nothing else grants you permission to modify or
55.185 +distribute the Program or its derivative works. These actions are
55.186 +prohibited by law if you do not accept this License. Therefore, by
55.187 +modifying or distributing the Program (or any work based on the
55.188 +Program), you indicate your acceptance of this License to do so, and
55.189 +all its terms and conditions for copying, distributing or modifying
55.190 +the Program or works based on it.
55.191 +
55.192 + 6. Each time you redistribute the Program (or any work based on the
55.193 +Program), the recipient automatically receives a license from the
55.194 +original licensor to copy, distribute or modify the Program subject to
55.195 +these terms and conditions. You may not impose any further
55.196 +restrictions on the recipients' exercise of the rights granted herein.
55.197 +You are not responsible for enforcing compliance by third parties to
55.198 +this License.
55.199 +
55.200 + 7. If, as a consequence of a court judgment or allegation of patent
55.201 +infringement or for any other reason (not limited to patent issues),
55.202 +conditions are imposed on you (whether by court order, agreement or
55.203 +otherwise) that contradict the conditions of this License, they do not
55.204 +excuse you from the conditions of this License. If you cannot
55.205 +distribute so as to satisfy simultaneously your obligations under this
55.206 +License and any other pertinent obligations, then as a consequence you
55.207 +may not distribute the Program at all. For example, if a patent
55.208 +license would not permit royalty-free redistribution of the Program by
55.209 +all those who receive copies directly or indirectly through you, then
55.210 +the only way you could satisfy both it and this License would be to
55.211 +refrain entirely from distribution of the Program.
55.212 +
55.213 +If any portion of this section is held invalid or unenforceable under
55.214 +any particular circumstance, the balance of the section is intended to
55.215 +apply and the section as a whole is intended to apply in other
55.216 +circumstances.
55.217 +
55.218 +It is not the purpose of this section to induce you to infringe any
55.219 +patents or other property right claims or to contest validity of any
55.220 +such claims; this section has the sole purpose of protecting the
55.221 +integrity of the free software distribution system, which is
55.222 +implemented by public license practices. Many people have made
55.223 +generous contributions to the wide range of software distributed
55.224 +through that system in reliance on consistent application of that
55.225 +system; it is up to the author/donor to decide if he or she is willing
55.226 +to distribute software through any other system and a licensee cannot
55.227 +impose that choice.
55.228 +
55.229 +This section is intended to make thoroughly clear what is believed to
55.230 +be a consequence of the rest of this License.
55.231 +
55.232 + 8. If the distribution and/or use of the Program is restricted in
55.233 +certain countries either by patents or by copyrighted interfaces, the
55.234 +original copyright holder who places the Program under this License
55.235 +may add an explicit geographical distribution limitation excluding
55.236 +those countries, so that distribution is permitted only in or among
55.237 +countries not thus excluded. In such case, this License incorporates
55.238 +the limitation as if written in the body of this License.
55.239 +
55.240 + 9. The Free Software Foundation may publish revised and/or new versions
55.241 +of the General Public License from time to time. Such new versions will
55.242 +be similar in spirit to the present version, but may differ in detail to
55.243 +address new problems or concerns.
55.244 +
55.245 +Each version is given a distinguishing version number. If the Program
55.246 +specifies a version number of this License which applies to it and "any
55.247 +later version", you have the option of following the terms and conditions
55.248 +either of that version or of any later version published by the Free
55.249 +Software Foundation. If the Program does not specify a version number of
55.250 +this License, you may choose any version ever published by the Free Software
55.251 +Foundation.
55.252 +
55.253 + 10. If you wish to incorporate parts of the Program into other free
55.254 +programs whose distribution conditions are different, write to the author
55.255 +to ask for permission. For software which is copyrighted by the Free
55.256 +Software Foundation, write to the Free Software Foundation; we sometimes
55.257 +make exceptions for this. Our decision will be guided by the two goals
55.258 +of preserving the free status of all derivatives of our free software and
55.259 +of promoting the sharing and reuse of software generally.
55.260 +
55.261 + NO WARRANTY
55.262 +
55.263 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
55.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
55.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
55.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
55.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
55.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
55.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
55.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
55.271 +REPAIR OR CORRECTION.
55.272 +
55.273 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
55.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
55.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
55.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
55.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
55.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
55.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
55.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
55.281 +POSSIBILITY OF SUCH DAMAGES.
55.282 +
55.283 + END OF TERMS AND CONDITIONS
55.284 +
55.285 + How to Apply These Terms to Your New Programs
55.286 +
55.287 + If you develop a new program, and you want it to be of the greatest
55.288 +possible use to the public, the best way to achieve this is to make it
55.289 +free software which everyone can redistribute and change under these terms.
55.290 +
55.291 + To do so, attach the following notices to the program. It is safest
55.292 +to attach them to the start of each source file to most effectively
55.293 +convey the exclusion of warranty; and each file should have at least
55.294 +the "copyright" line and a pointer to where the full notice is found.
55.295 +
55.296 + <one line to give the program's name and a brief idea of what it does.>
55.297 + Copyright (C) <year> <name of author>
55.298 +
55.299 + This program is free software; you can redistribute it and/or modify
55.300 + it under the terms of the GNU General Public License as published by
55.301 + the Free Software Foundation; either version 2 of the License, or
55.302 + (at your option) any later version.
55.303 +
55.304 + This program is distributed in the hope that it will be useful,
55.305 + but WITHOUT ANY WARRANTY; without even the implied warranty of
55.306 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55.307 + GNU General Public License for more details.
55.308 +
55.309 + You should have received a copy of the GNU General Public License
55.310 + along with this program; if not, write to the Free Software
55.311 + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
55.312 +
55.313 +
55.314 +Also add information on how to contact you by electronic and paper mail.
55.315 +
55.316 +If the program is interactive, make it output a short notice like this
55.317 +when it starts in an interactive mode:
55.318 +
55.319 + Gnomovision version 69, Copyright (C) year name of author
55.320 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
55.321 + This is free software, and you are welcome to redistribute it
55.322 + under certain conditions; type `show c' for details.
55.323 +
55.324 +The hypothetical commands `show w' and `show c' should show the appropriate
55.325 +parts of the General Public License. Of course, the commands you use may
55.326 +be called something other than `show w' and `show c'; they could even be
55.327 +mouse-clicks or menu items--whatever suits your program.
55.328 +
55.329 +You should also get your employer (if you work as a programmer) or your
55.330 +school, if any, to sign a "copyright disclaimer" for the program, if
55.331 +necessary. Here is a sample; alter the names:
55.332 +
55.333 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program
55.334 + `Gnomovision' (which makes passes at compilers) written by James Hacker.
55.335 +
55.336 + <signature of Ty Coon>, 1 April 1989
55.337 + Ty Coon, President of Vice
55.338 +
55.339 +This General Public License does not permit incorporating your program into
55.340 +proprietary programs. If your program is a subroutine library, you may
55.341 +consider it more useful to permit linking proprietary applications with the
55.342 +library. If this is what you want to do, use the GNU Library General
55.343 +Public License instead of this License.
56.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
56.2 +++ b/tools/fsusb/Makefile Tue Jan 29 22:31:52 2008 +0100
56.3 @@ -0,0 +1,37 @@
56.4 +# This file is part of fsusb_picdem
56.5 +#
56.6 +# fsusb_picdem is free software; you can redistribute it and/or modify
56.7 +# it under the terms of the GNU General Public License as published by
56.8 +# the Free Software Foundation; either version 2 of the License, or
56.9 +# (at your option) any later version.
56.10 +#
56.11 +# fsusb_picdem is distributed in the hope that it will be useful, but
56.12 +# WITHOUT ANY WARRANTY; without even the implied warranty of
56.13 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
56.14 +# General Public License for more details.
56.15 +#
56.16 +# You should have received a copy of the GNU General Public License
56.17 +# along with fsusb_picdem; if not, write to the Free Software
56.18 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
56.19 +# 02110-1301, USA
56.20 +
56.21 +
56.22 +
56.23 +OPTS=-Wall -D_GNU_SOURCE
56.24 +OBJS=fsusb.o rjlhex.o memimg.o
56.25 +
56.26 +CFLAGS=$(OPTS) -I$(LIBUSB)/include
56.27 +LDFLAGS=-L$(LIBUSB)/lib -lusb
56.28 +
56.29 +# Needed for static linking under OS X:
56.30 +# LDFLAGS=-lusb -lIOKit -framework CoreFoundation
56.31 +
56.32 +
56.33 +
56.34 +all: fsusb
56.35 +
56.36 +fsusb: main.o $(OBJS)
56.37 + $(CC) $(CFLAGS) -o $@ main.o $(OBJS) $(LDFLAGS)
56.38 +
56.39 +clean:
56.40 + -rm fsusb *.o
57.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
57.2 +++ b/tools/fsusb/README Tue Jan 29 22:31:52 2008 +0100
57.3 @@ -0,0 +1,50 @@
57.4 +fsusb: Software to control the bootloader that comes factory-loaded on
57.5 +the "PICDEM Full Speed USB" demo board.
57.6 +
57.7 +Rick Luddy (GPG 1024D/98AA0510) <rickluddy@gmail.com>
57.8 +
57.9 +
57.10 +
57.11 +Usage:
57.12 +
57.13 +fsusb <file> program board with <file> and verify
57.14 +fsusb --program <file> program board with <file> and verify
57.15 +fsusb --verify <file> verify board against <file>
57.16 +fsusb --read <file> read board, saving result in <file>
57.17 +
57.18 +
57.19 +
57.20 +Building:
57.21 +
57.22 +Just "make" ought to build it, assuming you have libusb and the
57.23 +associated headers installed.
57.24 +
57.25 +
57.26 +
57.27 +Caveats:
57.28 +
57.29 +I have been a bit sloppy with endianness. It works on my x86 system,
57.30 +but may run into some problems on an opposite system.
57.31 +
57.32 +I haven't tested the ability to write config memory. I don't have a
57.33 +programmer to turn off the factory-set write protection (as if I did,
57.34 +I probably wouldn't need this program in the first place!). It is
57.35 +implemented (just uncomment a few lines in program_file() in main.c)
57.36 +and should /probably/ work or at least come close, but no promises.
57.37 +
57.38 +I haven't implemented a way to read or write the EEPROM. I'm not sure
57.39 +how it would be represented in the hex file.
57.40 +
57.41 +It must be either run as root or set suid root to function because of
57.42 +the way it uses the USB. This means if I made a mistake and have a
57.43 +buffer overflow somewhere, the software is a local root vulnerability.
57.44 +I think I haven't made any such mistakes.
57.45 +
57.46 +
57.47 +
57.48 +Special thanks:
57.49 +
57.50 +Parts of the USB code and the Makefile were cribbed from usb_pickit by
57.51 +Orion Sky Lawlor <olawlor@acm.org>. Most of the figuring out the
57.52 +protocol was done by working backwards from the firmware bootloader
57.53 +code by Rawin Rojvanit at Microchip.
58.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
58.2 +++ b/tools/fsusb/bootload.h Tue Jan 29 22:31:52 2008 +0100
58.3 @@ -0,0 +1,82 @@
58.4 +/*
58.5 +** This file is part of fsusb_picdem
58.6 +**
58.7 +** fsusb_picdem is free software; you can redistribute it and/or
58.8 +** modify it under the terms of the GNU General Public License as
58.9 +** published by the Free Software Foundation; either version 2 of the
58.10 +** License, or (at your option) any later version.
58.11 +**
58.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
58.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
58.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
58.15 +** General Public License for more details.
58.16 +**
58.17 +** You should have received a copy of the GNU General Public License
58.18 +** along with fsusb_picdem; if not, write to the Free Software
58.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
58.20 +** 02110-1301, USA
58.21 +*/
58.22 +
58.23 +#ifndef __BOOTLOAD_H__
58.24 +#define __BOOTLOAD_H__
58.25 +
58.26 +
58.27 +
58.28 +/*
58.29 + * Command packets:
58.30 + *
58.31 + * 0x00: command
58.32 + * 0x01: data length (usually; different action for some commands!)
58.33 + * 0x02: address bits 7..0
58.34 + * 0x03: address bits 15..8
58.35 + * 0x04: address bits 23..16 (upper bits always zero)
58.36 + * 0x05: data[0]
58.37 + * 0x06: data[1]
58.38 + * 0x07: data[2]
58.39 + * 0x??: ...
58.40 + * 0x3f: data[BL_DATA_LEN-1]
58.41 + */
58.42 +
58.43 +
58.44 +
58.45 +typedef unsigned char byte;
58.46 +
58.47 +
58.48 +
58.49 +#define BL_PACKET_LEN 64
58.50 +#define BL_HEADER_LEN 5 // command, len, low, high, upper
58.51 +#define BL_DATA_LEN (BL_PACKET_LEN - BL_HEADER_LEN)
58.52 +
58.53 +
58.54 +
58.55 +enum {
58.56 + READ_VERSION = 0x00, // Works
58.57 + READ_FLASH = 0x01, // Works
58.58 + WRITE_FLASH = 0x02, // Works
58.59 + ERASE_FLASH = 0x03, // Works
58.60 + READ_EEDATA = 0x04, // NOT IMPLEMENTED
58.61 + WRITE_EEDATA = 0x05, // NOT IMPLEMENTED
58.62 + READ_CONFIG = 0x06, // NOT IMPLEMENTED
58.63 + // (but in current firmware READ_FLASH works
58.64 + WRITE_CONFIG = 0x07, // NOT TESTED
58.65 + UPDATE_LED = 0x32, // NOT IMPLEMENTED
58.66 + RESET = 0xFF // NOT IMPLEMENTED
58.67 +};
58.68 +
58.69 +
58.70 +
58.71 +typedef union _bl_packet {
58.72 + byte _byte[64];
58.73 + struct {
58.74 + byte command;
58.75 + byte len;
58.76 + struct {
58.77 + byte low;
58.78 + byte high;
58.79 + byte upper;
58.80 + } address;
58.81 + byte data[BL_DATA_LEN];
58.82 + };
58.83 +} bl_packet;
58.84 +
58.85 +#endif /* __BOOTLOAD_H__ */
59.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
59.2 +++ b/tools/fsusb/fsusb.c Tue Jan 29 22:31:52 2008 +0100
59.3 @@ -0,0 +1,388 @@
59.4 +/*
59.5 +** This file is part of fsusb_picdem
59.6 +**
59.7 +** fsusb_picdem is free software; you can redistribute it and/or
59.8 +** modify it under the terms of the GNU General Public License as
59.9 +** published by the Free Software Foundation; either version 2 of the
59.10 +** License, or (at your option) any later version.
59.11 +**
59.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
59.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
59.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
59.15 +** General Public License for more details.
59.16 +**
59.17 +** You should have received a copy of the GNU General Public License
59.18 +** along with fsusb_picdem; if not, write to the Free Software
59.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
59.20 +** 02110-1301, USA
59.21 +*/
59.22 +
59.23 +/*
59.24 +** portions from usb_pickit by Orion Sky Lawlor, olawlor@acm.org
59.25 +*/
59.26 +
59.27 +#include <usb.h> /* libusb header */
59.28 +#include <unistd.h> /* for geteuid */
59.29 +#include <stdio.h>
59.30 +#include <string.h>
59.31 +#include "bootload.h"
59.32 +#include "fsusb.h"
59.33 +
59.34 +
59.35 +const static int fsusb_vendorID=0x04d8; // Microchip, Inc
59.36 +const static int fsusb_productID=0x000b; // PICDEM-FS USB
59.37 +const static int fsusb_configuration=1; /* 1: bootloader
59.38 + * ### may change in future firmware versions
59.39 + */
59.40 +const static int fsusb_interface=0;
59.41 +const static int fsusb_endpoint=1; /* first endpoint for everything
59.42 + * ### may change in future firmware versions
59.43 + */
59.44 +const static int fsusb_timeout=1000; /* timeout in ms */
59.45 +
59.46 +
59.47 +
59.48 +void bad(const char *why)
59.49 +{
59.50 + fprintf(stderr,"Fatal error> %s\n",why);
59.51 + exit(17);
59.52 +}
59.53 +
59.54 +
59.55 +
59.56 +void recv_usb(picdem_handle *d, int len, byte *dest) {
59.57 + int r;
59.58 +
59.59 + r=usb_bulk_read(d, fsusb_endpoint, dest, len, fsusb_timeout);
59.60 +
59.61 + if (r!=len) {
59.62 + perror("usb PICDEM read");
59.63 + bad("USB read failed");
59.64 + }
59.65 + // printf("read %i bytes\n", r);
59.66 +}
59.67 +
59.68 +
59.69 +
59.70 +void rjl_request_version(picdem_handle *d, unsigned char *ret)
59.71 +{
59.72 + int r;
59.73 + char buf[4];
59.74 +
59.75 + // ### "\0\0\0\0\0" may not be correct in future firmware versions
59.76 + r=usb_bulk_write(d, fsusb_endpoint, "\0\0\0\0\0", 5, fsusb_timeout);
59.77 + if(r != 5) {
59.78 + perror("usb_bulk_write");
59.79 + bad("rjl_request_version(): USB write failed");
59.80 + }
59.81 +
59.82 + // command, len, minor, major
59.83 + recv_usb(d,4,buf);
59.84 + ret[0]=buf[3];
59.85 + ret[1]=buf[2];
59.86 +}
59.87 +
59.88 +
59.89 +
59.90 +void rjl_request_flash(picdem_handle *d, int offset, int len, bl_packet *pack)
59.91 +{
59.92 + int r;
59.93 + bl_packet p;
59.94 +
59.95 +
59.96 + p.command=READ_FLASH;
59.97 + p.address.low=(offset & 0xff)>>0;
59.98 + p.address.high=(offset & 0xff00)>>8;
59.99 + p.address.upper=(offset & 0xf0000)>>16;
59.100 + p.len=len;
59.101 +
59.102 +
59.103 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5, fsusb_timeout);
59.104 + if(r != 5) {
59.105 + perror("usb_bulk_write");
59.106 + bad("rjl_request_flash(): USB write failed");
59.107 + }
59.108 +
59.109 +
59.110 + recv_usb(d,len+5,(byte*)pack);
59.111 +}
59.112 +
59.113 +
59.114 +
59.115 +/* write in 16-byte boundary-aligned blocks only in this version of
59.116 + * the bootloader
59.117 + */
59.118 +void rjl_write_flash(picdem_handle *d, int offset, int len, byte *data, bl_packet *pack)
59.119 +{
59.120 + int r;
59.121 + bl_packet p;
59.122 + int i;
59.123 + byte retbuf[5];
59.124 +
59.125 +
59.126 +
59.127 + if(offset & 0x0f) {
59.128 + printf("*** WARNING: not boundary-aligned\n");
59.129 + return;
59.130 + }
59.131 + if(len != 16) {
59.132 + printf("*** WARNING: not 16 bytes\n");
59.133 + return;
59.134 + }
59.135 +
59.136 +
59.137 +
59.138 + p.command=WRITE_FLASH;
59.139 + p.address.low=(offset & 0xff)>>0;
59.140 + p.address.high=(offset & 0xff00)>>8;
59.141 + p.address.upper=(offset & 0xf0000)>>16;
59.142 + p.len=len;
59.143 + for(i=0;i<len;i++) {
59.144 + p.data[i]=data[i];
59.145 + }
59.146 +
59.147 +
59.148 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5+len, fsusb_timeout);
59.149 + if(r != 5+len) {
59.150 + perror("usb_bulk_write");
59.151 + bad("rjl_write_flash(): USB write failed");
59.152 + }
59.153 +
59.154 + recv_usb(d,1,retbuf);
59.155 + // printf("write reply is %x\n", retbuf[0]);
59.156 +}
59.157 +
59.158 +
59.159 +
59.160 +/* write on 64-byte boundaries only in blocks of 64 bytes.
59.161 + * It's a feature.
59.162 + */
59.163 +void rjl_write_block(picdem_handle *d, int offset, byte *data)
59.164 +{
59.165 + int r;
59.166 + bl_packet p;
59.167 + byte retbuf[5];
59.168 + int subblock=0;
59.169 +
59.170 +
59.171 + if(offset & 0x3f) {
59.172 + printf("*** WARNING: not boundary-aligned\n");
59.173 + return;
59.174 + }
59.175 +
59.176 +
59.177 + p.command=ERASE_FLASH;
59.178 + p.address.low=(offset & 0xff)>>0;
59.179 + p.address.high=(offset & 0xff00)>>8;
59.180 + p.address.upper=(offset & 0xf0000)>>16;
59.181 + p.len=1;
59.182 +
59.183 +
59.184 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5, fsusb_timeout);
59.185 + if(r != 5) {
59.186 + perror("usb_bulk_write");
59.187 + bad("rjl_write_block(): USB write failed");
59.188 + }
59.189 +
59.190 +
59.191 + recv_usb(d,1,retbuf);
59.192 + // printf("erase reply is %x\n", retbuf[0]);
59.193 +
59.194 +
59.195 + for(subblock=0;subblock<4;subblock++) {
59.196 + p.command=WRITE_FLASH;
59.197 + p.address.low=((offset+16*subblock) & 0xff)>>0;
59.198 + p.address.high=((offset+16*subblock) & 0xff00)>>8;
59.199 + p.address.upper=((offset+16*subblock) & 0xf0000)>>16;
59.200 + p.len=16;
59.201 + memcpy(p.data, data+(subblock*16), 16);
59.202 +
59.203 +
59.204 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5+16, fsusb_timeout);
59.205 + if(r != 5+16) {
59.206 + perror("usb_bulk_write");
59.207 + bad("rjl_write_block(): USB write failed");
59.208 + }
59.209 +
59.210 +
59.211 + recv_usb(d,1,retbuf);
59.212 + // printf("write reply is %x\n", retbuf[0]);
59.213 + }
59.214 +}
59.215 +
59.216 +
59.217 +
59.218 +// 59ish bytes max
59.219 +void rjl_write_config_block(picdem_handle *d, int offset, int len, byte *data)
59.220 +{
59.221 + int r;
59.222 + bl_packet p;
59.223 + // int i;
59.224 + byte retbuf[5];
59.225 +
59.226 +
59.227 + if(len>=BL_DATA_LEN) {
59.228 + printf("*** ERROR: config block too big\n");
59.229 + return;
59.230 + }
59.231 +
59.232 +
59.233 +
59.234 + /* The firmware clips the erase to a 64-byte block, which
59.235 + * we don't worry about because in any real device
59.236 + * the config starts on a 64-byte boundary.
59.237 + */
59.238 + p.command=ERASE_FLASH;
59.239 + p.address.low=(offset & 0xff)>>0;
59.240 + p.address.high=(offset & 0xff00)>>8;
59.241 + p.address.upper=(offset & 0xf0000)>>16;
59.242 + p.len=1;
59.243 +
59.244 +
59.245 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5, fsusb_timeout);
59.246 + if(r != 5) {
59.247 + perror("usb_bulk_write");
59.248 + bad("rjl_write_config_block(): USB write failed");
59.249 + }
59.250 +
59.251 +
59.252 + recv_usb(d,1,retbuf);
59.253 + // printf("erase reply is %x\n", retbuf[0]);
59.254 +
59.255 +
59.256 + // config writes have no alignment restriction
59.257 + p.command=WRITE_CONFIG;
59.258 + p.address.low=(offset & 0xff)>>0;
59.259 + p.address.high=(offset & 0xff00)>>8;
59.260 + p.address.upper=(offset & 0xf0000)>>16;
59.261 + p.len=len;
59.262 + memcpy(p.data, data, len);
59.263 +
59.264 +
59.265 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5+len, fsusb_timeout);
59.266 + if(r != 5+len) {
59.267 + perror("usb_bulk_write");
59.268 + bad("rjl_write_config_block(): USB write failed");
59.269 + }
59.270 +
59.271 +
59.272 + recv_usb(d,1,retbuf);
59.273 + // printf("write reply is %x\n", retbuf[0]);
59.274 +}
59.275 +
59.276 +
59.277 +
59.278 +// write on 64-byte boundaries only in blocks of 64 bytes
59.279 +void rjl_erase_block(picdem_handle *d, int offset)
59.280 +{
59.281 + int r;
59.282 + bl_packet p;
59.283 + byte retbuf[5];
59.284 +
59.285 +
59.286 + if(offset & 0x3f) {
59.287 + printf("*** WARNING: not boundary-aligned\n");
59.288 + return;
59.289 + }
59.290 +
59.291 +
59.292 +
59.293 + p.command=ERASE_FLASH;
59.294 + p.address.low=(offset & 0xff)>>0;
59.295 + p.address.high=(offset & 0xff00)>>8;
59.296 + p.address.upper=(offset & 0xf0000)>>16;
59.297 + p.len=1;
59.298 +
59.299 +
59.300 + r=usb_bulk_write(d, fsusb_endpoint, (char*)&p, 5, fsusb_timeout);
59.301 + if(r != 5) {
59.302 + perror("usb_bulk_write");
59.303 + bad("rjl_erase_block(): USB write failed");
59.304 + }
59.305 +
59.306 +
59.307 + recv_usb(d,1,retbuf);
59.308 + // printf("erase reply is %x\n", retbuf[0]);
59.309 +}
59.310 +
59.311 +
59.312 +
59.313 +/* Find the first USB device with this vendor and product.
59.314 + * Exits on errors, like if the device couldn't be found. -osl
59.315 + *
59.316 + * This function is heavily based upon Orion Sky Lawlor's
59.317 + * usb_pickit program, which was a very useful reference
59.318 + * for all the USB stuff. Thanks!
59.319 + */
59.320 +picdem_handle *rjl_fsusb_open(void)
59.321 +{
59.322 + struct usb_device *device;
59.323 + struct usb_bus* bus;
59.324 + unsigned char buf[2];
59.325 +
59.326 +
59.327 + if (geteuid()!=0) {
59.328 + bad("This program must be run as root, or made setuid root");
59.329 + }
59.330 +
59.331 +#ifdef USB_DEBUG
59.332 + usb_debug=4;
59.333 +#endif
59.334 +
59.335 + printf("Locating USB Microchip(tm) PICDEM-FS USB(tm) (vendor 0x%04x/product 0x%04x)\n",
59.336 + fsusb_vendorID,fsusb_productID);
59.337 + /* (libusb setup code stolen from John Fremlin's cool "usb-robot") -osl */
59.338 + usb_init();
59.339 + usb_find_busses();
59.340 + usb_find_devices();
59.341 +
59.342 + for (bus=usb_busses;bus!=NULL;bus=bus->next) {
59.343 + struct usb_device* usb_devices = bus->devices;
59.344 + for(device=usb_devices;device!=NULL;device=device->next) {
59.345 +
59.346 +
59.347 + if (device->descriptor.idVendor == fsusb_vendorID
59.348 + && device->descriptor.idProduct == fsusb_productID) {
59.349 +
59.350 + usb_dev_handle *d;
59.351 + printf( "Found USB PICDEM-FS USB as device '%s' on USB bus %s\n",
59.352 + device->filename,
59.353 + device->bus->dirname);
59.354 + d=usb_open(device);
59.355 +
59.356 +
59.357 + if (d) { /* This is our device-- claim it */
59.358 + if (usb_set_configuration(d,fsusb_configuration)) {
59.359 + bad("Error setting USB configuration.\n");
59.360 + }
59.361 +
59.362 + if (usb_claim_interface(d,fsusb_interface)) {
59.363 + bad("Claim failed-- the USB PICDEM is in use by another driver.\n"
59.364 + "Do a `dmesg` to see which kernel driver has claimed it--\n"
59.365 + "You may need to `rmmod hid` or patch your kernel's hid driver.\n");
59.366 + }
59.367 +
59.368 + rjl_request_version(d, buf);
59.369 +
59.370 + printf("Communication established. Onboard firmware version is %d.%d\n",
59.371 + (int)buf[0],(int)buf[1]);
59.372 +
59.373 + if (buf[0]!=0x01u) {
59.374 + bad("This PICDEM's version is too new (only support version 1.x !)\n");
59.375 + }
59.376 +
59.377 + return d;
59.378 + } else
59.379 + bad("Open failed for USB device");
59.380 + }
59.381 +
59.382 +
59.383 + /* else some other vendor's device-- keep looking... -osl*/
59.384 + }
59.385 + }
59.386 +
59.387 + bad("Could not find USB PICDEM device--\n"
59.388 + "you might try lsusb to see if it's actually there.");
59.389 +
59.390 + return NULL;
59.391 +}
60.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
60.2 +++ b/tools/fsusb/fsusb.h Tue Jan 29 22:31:52 2008 +0100
60.3 @@ -0,0 +1,37 @@
60.4 +/*
60.5 +** This file is part of fsusb_picdem
60.6 +**
60.7 +** fsusb_picdem is free software; you can redistribute it and/or
60.8 +** modify it under the terms of the GNU General Public License as
60.9 +** published by the Free Software Foundation; either version 2 of the
60.10 +** License, or (at your option) any later version.
60.11 +**
60.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
60.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
60.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
60.15 +** General Public License for more details.
60.16 +**
60.17 +** You should have received a copy of the GNU General Public License
60.18 +** along with fsusb_picdem; if not, write to the Free Software
60.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
60.20 +** 02110-1301, USA
60.21 +*/
60.22 +
60.23 +
60.24 +#ifndef __FSUSB_H__
60.25 +#define __FSUSB_H__
60.26 +
60.27 +#include "bootload.h"
60.28 +
60.29 +typedef struct usb_dev_handle picdem_handle;
60.30 +
60.31 +void rjl_request_flash(picdem_handle *d, int offset, int len, bl_packet *pack);
60.32 +void rjl_request_version(picdem_handle *d, unsigned char *r);
60.33 +//void rjl_write_flash(picdem_handle *d, int offset, int len, byte *data, bl_packet *pack);
60.34 +//void rjl_wipe_flash(picdem_handle *d);
60.35 +picdem_handle *rjl_fsusb_open(void);
60.36 +void rjl_write_block(picdem_handle *d, int offset, byte *data);
60.37 +//void rjl_erase_block(picdem_handle *d, int offset);
60.38 +void rjl_write_config_block(picdem_handle *d, int offset, int len, byte *data);
60.39 +
60.40 +#endif /* __FSUSB_H__ */
61.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
61.2 +++ b/tools/fsusb/main.c Tue Jan 29 22:31:52 2008 +0100
61.3 @@ -0,0 +1,335 @@
61.4 +/*
61.5 +** This file is part of fsusb_picdem
61.6 +**
61.7 +** fsusb_picdem is free software; you can redistribute it and/or
61.8 +** modify it under the terms of the GNU General Public License as
61.9 +** published by the Free Software Foundation; either version 2 of the
61.10 +** License, or (at your option) any later version.
61.11 +**
61.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
61.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
61.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
61.15 +** General Public License for more details.
61.16 +**
61.17 +** You should have received a copy of the GNU General Public License
61.18 +** along with fsusb_picdem; if not, write to the Free Software
61.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
61.20 +** 02110-1301, USA
61.21 +*/
61.22 +
61.23 +
61.24 +#include "memimg.h"
61.25 +#include <stdio.h>
61.26 +#include <stdlib.h>
61.27 +#include "fsusb.h"
61.28 +#include <string.h>
61.29 +
61.30 +picdem_handle *usbdev;
61.31 +
61.32 +
61.33 +typedef int scan_callback_t(int,int,mi_byte_t*,char*);
61.34 +
61.35 +int program_flash(int addr, int len, mi_byte_t *data, char *mask)
61.36 +{
61.37 + if(len != 64) {
61.38 + printf("*** Tried to program flash not 64 bytes at a time!\n");
61.39 + printf("*** Is flash size divisible by 64?\n");
61.40 + return -1;
61.41 + }
61.42 +
61.43 + // printf("writing program block at %.8x\n", addr);
61.44 + rjl_write_block(usbdev, addr, data);
61.45 +
61.46 + return 0;
61.47 +}
61.48 +
61.49 +int program_config(int addr, int len, mi_byte_t *data, char *mask)
61.50 +{
61.51 + int i;
61.52 +
61.53 + printf("writing size-%i config block at %.8x:\n", len, (addr/64)*64);
61.54 +
61.55 + for(i=0;i<64;i++) {
61.56 + printf("%.2x", data[i]);
61.57 + }
61.58 + printf("\n");
61.59 +
61.60 +
61.61 + rjl_write_config_block(usbdev, addr, len, data);
61.62 +
61.63 + return 0;
61.64 +}
61.65 +
61.66 +int verify_flash(int addr, int len, mi_byte_t *data, char *mask)
61.67 +{
61.68 + int mb;
61.69 + int i;
61.70 + bl_packet bp;
61.71 + int bad=0;
61.72 + // printf("verifying %i bytes at %.8x\n", len, addr);
61.73 + /*
61.74 + printf("data is ");
61.75 + for(i=0;i<len;i++) {
61.76 + printf("%.2x", data[i]);
61.77 + }
61.78 + printf("\nmask is ");
61.79 + for(i=0;i<len;i++) {
61.80 + printf("%.2x", (mask[i])?0xff:0x00);
61.81 + }
61.82 +
61.83 + printf("\n");
61.84 + */
61.85 +
61.86 + for(mb=0;mb<64 && mb<len;mb+=32) {
61.87 + // printf("doing rjl_request_flash(usbdev, %.8x, %i, %.8x);\n",
61.88 + // addr+mb, (len-mb>=32)?32:len-mb, &bp);
61.89 + rjl_request_flash(usbdev, addr+mb, (len-mb>=32)?32:len-mb, &bp);
61.90 +
61.91 + for(i=0;i<32 && mb+i<len;i++) {
61.92 + if(mask[mb+i] && data[mb+i] != bp.data[i]) {
61.93 + bad=1;
61.94 + // printf("mismatch!\n");
61.95 + printf("mismatch in %i-byte chunk at 0x%.8x:\n",
61.96 + (len-mb>=32)?32:len-mb, addr+mb);
61.97 + printf("File: ");
61.98 + for(i=0;i<32 && mb+i<len;i++) {
61.99 + if(mask[mb+i]) {
61.100 + printf("%.2x", data[mb+i]);
61.101 + } else {
61.102 + printf("##");
61.103 + }
61.104 + }
61.105 + printf("\nDevice:");
61.106 + for(i=0;i<32 && mb+i<len;i++) {
61.107 + printf("%.2x", bp.data[i]);
61.108 + }
61.109 + printf("\n");
61.110 +
61.111 +
61.112 + }
61.113 + }
61.114 +
61.115 +
61.116 + }
61.117 +
61.118 + return bad;
61.119 +}
61.120 +
61.121 +int scanpatch(mi_patch *p, scan_callback_t sc)
61.122 +{
61.123 + int b,i,active;
61.124 + int retval=0;
61.125 + int callback_ret;
61.126 +
61.127 + for(b=0;b<=p->top - p->base;b+=64) {
61.128 + active=0;
61.129 + for(i=0;i<64 && b+i <= p->top - p->base;i++) {
61.130 + if(p->mask[i+b]) {
61.131 + active=1;
61.132 + }
61.133 + }
61.134 +
61.135 + if(active) {
61.136 + if((callback_ret=sc(b+p->base, (b+63+p->base > p->top)?p->top-p->base-b+1:64,
61.137 + p->contents+b, p->mask+b))) {
61.138 + retval=callback_ret;
61.139 + // printf("*** Something bad happened!\n");
61.140 + }
61.141 + // printf("active %s block at %.8lx\n", ttt, b+p->base);
61.142 + }
61.143 +
61.144 +
61.145 + }
61.146 +
61.147 + return retval;
61.148 +}
61.149 +
61.150 +void show_usage(void)
61.151 +{
61.152 + printf("fsusb: Software for \"PICDEM Full Speed USB\" demo board\n");
61.153 + printf("fsusb <file> program board with <file> and verify\n");
61.154 + printf("fsusb --program <file> program board with <file> and verify\n");
61.155 + printf("fsusb --verify <file> verify board against <file>\n");
61.156 + printf("fsusb --read <file> read board, saving result in <file>\n");
61.157 +}
61.158 +
61.159 +
61.160 +int verify_file(char *file)
61.161 +{
61.162 + mi_image *img;
61.163 + int retval=0;
61.164 +
61.165 + usbdev=rjl_fsusb_open();
61.166 + img=mi_load_hexfile(file);
61.167 +
61.168 + if(scanpatch(img->program, verify_flash)) {
61.169 + printf("Program memory contains errors!\n");
61.170 + } else {
61.171 + printf("Program memory validated\n");
61.172 + retval=1;
61.173 + }
61.174 +
61.175 + // don't bother checking config memory, it's write-protected anyway
61.176 + // scanpatch(img->id, verify_flash);
61.177 + // scanpatch(img->config, verify_flash);
61.178 + // scanpatch(img->devid, verify_flash);
61.179 +
61.180 + return retval;
61.181 +}
61.182 +
61.183 +int program_file(char *file)
61.184 +{
61.185 + mi_image *img;
61.186 + int retval=0;
61.187 +
61.188 + usbdev=rjl_fsusb_open();
61.189 + img=mi_load_hexfile(file);
61.190 +
61.191 + if(scanpatch(img->program, program_flash)) {
61.192 + printf("Writing program memory unsuccessful\n");
61.193 + retval=1;
61.194 + } else {
61.195 + printf("Writing program memory successful\n");
61.196 + }
61.197 +
61.198 + // don't bother with config memory, it's write-protected
61.199 + // scanpatch(img->id, program_config);
61.200 + // scanpatch(img->config, program_config);
61.201 +
61.202 + // devid is read-only, don't program it
61.203 + // scanpatch(img->devid, program_config);
61.204 +
61.205 + if(scanpatch(img->program, verify_flash)) {
61.206 + printf("Program memory contains errors!\n");
61.207 + retval=1;
61.208 + } else {
61.209 + printf("Program memory validated\n");
61.210 + }
61.211 +
61.212 + // don't bother checking config memory, it's write-protected anyway
61.213 + // scanpatch(img->id, verify_flash);
61.214 + // scanpatch(img->config, verify_flash);
61.215 + // scanpatch(img->devid, verify_flash);
61.216 +
61.217 + return retval;
61.218 +
61.219 +}
61.220 +
61.221 +
61.222 +
61.223 +int write_range(int base, int top, FILE *f)
61.224 +{
61.225 + bl_packet bp;
61.226 + int addr;
61.227 + int i;
61.228 + unsigned char checksum;
61.229 + int doit;
61.230 +
61.231 +
61.232 + fprintf(f, ":02000004%.2X%.2X%.2X\n",
61.233 + (base >> 16) & 0xff,
61.234 + (base >> 24) & 0xff,
61.235 + (unsigned char)
61.236 + (-((char)((2+4+((base >> 16) & 0xff)+((base >> 24) & 0xff))%256))));
61.237 +
61.238 + for(addr=base;addr<=top;addr+=16) {
61.239 + rjl_request_flash(usbdev, addr,
61.240 + (top-addr+1>=16)?16:top-addr+1, &bp);
61.241 +
61.242 + doit=0;
61.243 + for(i=0;i<16 && i+addr < top;i++) {
61.244 + if(bp.data[i] != 0xff) {
61.245 + doit=1;
61.246 + }
61.247 + }
61.248 + if(doit==0) { // This section is all 0xff, i.e. unprogrammed
61.249 + continue;
61.250 + }
61.251 +
61.252 + // :
61.253 + fprintf(f, ":");
61.254 + checksum=0;
61.255 +
61.256 + // ll
61.257 + checksum += (top-addr+1>=16)?16:top-addr+1;
61.258 + fprintf(f, "%.2X", (top-addr+1>=16)?16:top-addr+1);
61.259 +
61.260 + // aaaa
61.261 + checksum += (addr & 0xffff) / 256;
61.262 + fprintf(f, "%.2X", (addr & 0xffff) / 256);
61.263 + checksum += (addr & 0xffff) % 256;
61.264 + fprintf(f, "%.2X", (addr & 0xffff) % 256);
61.265 +
61.266 + // tt
61.267 + fprintf(f, "00");
61.268 +
61.269 + // dd...
61.270 + for(i=0;i<16 && i+addr<=top;i++) {
61.271 + checksum += bp.data[i];
61.272 + fprintf(f, "%.2X", bp.data[i]);
61.273 + }
61.274 +
61.275 + // cc
61.276 + fprintf(f, "%.2X\n", (unsigned char)(-((char)checksum)));
61.277 + }
61.278 +
61.279 + return 0;
61.280 +}
61.281 +
61.282 +
61.283 +int read_to_file(char *file)
61.284 +{
61.285 + usbdev=rjl_fsusb_open();
61.286 + FILE *f;
61.287 +
61.288 + f=fopen(file, "w");
61.289 +
61.290 + if(f == NULL) {
61.291 + return -1;
61.292 + }
61.293 +
61.294 + write_range(MI_PROGRAM_BASE, MI_PROGRAM_TOP, f);
61.295 + write_range(MI_ID_BASE, MI_ID_TOP, f);
61.296 + write_range(MI_CONFIG_BASE, MI_CONFIG_TOP, f);
61.297 + write_range(MI_DEVID_BASE, MI_DEVID_TOP, f);
61.298 + fprintf(f, ":00000001FF\n");
61.299 +
61.300 + printf("Finished reading\n");
61.301 +
61.302 + return 0;
61.303 +}
61.304 +
61.305 +
61.306 +int main(int argc, char *argv[])
61.307 +{
61.308 + if(argc < 2 || argc > 3) {
61.309 + show_usage();
61.310 + exit(1);
61.311 + }
61.312 +
61.313 + if(argc == 3) {
61.314 + if(!strcmp(argv[1], "--verify")) {
61.315 + exit(verify_file(argv[2]));
61.316 + }
61.317 +
61.318 + if(!strcmp(argv[1], "--program")) {
61.319 + exit(program_file(argv[2]));
61.320 + }
61.321 +
61.322 + if(!strcmp(argv[1], "--read")) {
61.323 + exit(read_to_file(argv[2]));
61.324 + }
61.325 +
61.326 + printf("Unknown option %s\n", argv[1]);
61.327 + show_usage();
61.328 + exit(1);
61.329 + }
61.330 +
61.331 + if(argc == 2) {
61.332 + exit(program_file(argv[1]));
61.333 + }
61.334 +
61.335 +
61.336 +
61.337 + return 1;
61.338 +}
62.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
62.2 +++ b/tools/fsusb/memimg.c Tue Jan 29 22:31:52 2008 +0100
62.3 @@ -0,0 +1,246 @@
62.4 +/*
62.5 +** This file is part of fsusb_picdem
62.6 +**
62.7 +** fsusb_picdem is free software; you can redistribute it and/or
62.8 +** modify it under the terms of the GNU General Public License as
62.9 +** published by the Free Software Foundation; either version 2 of the
62.10 +** License, or (at your option) any later version.
62.11 +**
62.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
62.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
62.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62.15 +** General Public License for more details.
62.16 +**
62.17 +** You should have received a copy of the GNU General Public License
62.18 +** along with fsusb_picdem; if not, write to the Free Software
62.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
62.20 +** 02110-1301, USA
62.21 +*/
62.22 +
62.23 +
62.24 +#include "memimg.h"
62.25 +#include <stdlib.h>
62.26 +#include <stdio.h>
62.27 +#include <string.h>
62.28 +
62.29 +
62.30 +
62.31 +/* mi_make_patch: Allocate and initialize a mi_patch
62.32 + */
62.33 +mi_patch *mi_make_patch(unsigned long base, unsigned long top)
62.34 +{
62.35 + mi_patch *pat;
62.36 +
62.37 +
62.38 +
62.39 + pat=malloc(sizeof(mi_patch));
62.40 + if(pat == NULL) {
62.41 + return NULL;
62.42 + }
62.43 +
62.44 +
62.45 + pat->base=base;
62.46 + pat->top=top;
62.47 +
62.48 +
62.49 +
62.50 + pat->contents=malloc(sizeof(mi_byte_t)*(top-base));
62.51 + if(pat->contents == NULL) {
62.52 + free(pat);
62.53 + return NULL;
62.54 + }
62.55 +
62.56 + memset(pat->contents, 0xff, sizeof(mi_byte_t)*(top-base));
62.57 +
62.58 +
62.59 +
62.60 + pat->mask=malloc(sizeof(char)*(top-base));
62.61 + if(pat->mask == NULL) {
62.62 + free(pat->contents);
62.63 + free(pat);
62.64 + return NULL;
62.65 + }
62.66 +
62.67 + memset(pat->mask, 0, sizeof(char)*(top-base));
62.68 +
62.69 +
62.70 +
62.71 + return pat;
62.72 +}
62.73 +
62.74 +
62.75 +
62.76 +/* mi_free_patch: Free a mi_patch and its buffers
62.77 + */
62.78 +void mi_free_patch(mi_patch *p)
62.79 +{
62.80 + if(p == NULL) {
62.81 + return;
62.82 + }
62.83 +
62.84 + free(p->contents);
62.85 + free(p->mask);
62.86 + free(p);
62.87 +}
62.88 +
62.89 +
62.90 +
62.91 +/* mi_free_image: Free a mi_patch and its contents
62.92 + */
62.93 +void mi_free_image(mi_image *i)
62.94 +{
62.95 + if(i == NULL) {
62.96 + return;
62.97 + }
62.98 +
62.99 + mi_free_patch(i->program);
62.100 + mi_free_patch(i->id);
62.101 + mi_free_patch(i->config);
62.102 + mi_free_patch(i->devid);
62.103 + mi_free_patch(i->eeprom);
62.104 +
62.105 + free(i);
62.106 +}
62.107 +
62.108 +
62.109 +
62.110 +/* mi_modify_patch: Modify patch contents, tagging it as changed
62.111 + */
62.112 +void mi_modify_patch(mi_patch *p, int base, int len, mi_byte_t *data)
62.113 +{
62.114 + int i;
62.115 +
62.116 + if(p == NULL) {
62.117 + return;
62.118 + }
62.119 +
62.120 +
62.121 +
62.122 + if(base<p->base || base+len-1 > p->top) {
62.123 + printf("*** mi_modify_patch(): patch out of range\n");
62.124 + return;
62.125 + }
62.126 +
62.127 +
62.128 +
62.129 + for(i=0;i<len;i++) {
62.130 + p->contents[base - p->base + i]=data[i];
62.131 + p->mask[base - p->base + i]=0xff;
62.132 + }
62.133 +}
62.134 +
62.135 +
62.136 +
62.137 +/* mi_image: Create a mi_image from the contents of filename
62.138 + */
62.139 +mi_image *mi_load_hexfile(char *filename)
62.140 +{
62.141 + mi_image *img;
62.142 + hex_record *r;
62.143 + FILE *f;
62.144 + hex_file *hf;
62.145 + int i;
62.146 +
62.147 +
62.148 +
62.149 + if(filename == NULL) {
62.150 + return NULL;
62.151 + }
62.152 +
62.153 +
62.154 +
62.155 + f=fopen(filename, "r");
62.156 + if(f == NULL) {
62.157 + return NULL;
62.158 + }
62.159 +
62.160 +
62.161 +
62.162 + hf=hex_open(f);
62.163 + if(hf == NULL) {
62.164 + fclose(f);
62.165 + return NULL;
62.166 + }
62.167 +
62.168 +
62.169 +
62.170 + img=malloc(sizeof(mi_image));
62.171 + if(img == NULL) {
62.172 + fclose(f);
62.173 + free(hf);
62.174 + return NULL;
62.175 + }
62.176 +
62.177 +
62.178 +
62.179 + /* These nulls may not be required, but make me feel safer when
62.180 + * using free_image() on an error
62.181 + */
62.182 + img->program = NULL;
62.183 + img->id = NULL;
62.184 + img->config = NULL;
62.185 + img->devid = NULL;
62.186 + img->eeprom = NULL;
62.187 +
62.188 +
62.189 +
62.190 + img->program=mi_make_patch(MI_PROGRAM_BASE, MI_PROGRAM_TOP);
62.191 + img->id=mi_make_patch(MI_ID_BASE, MI_ID_TOP);
62.192 + img->config=mi_make_patch(MI_CONFIG_BASE, MI_CONFIG_TOP);
62.193 + img->devid=mi_make_patch(MI_DEVID_BASE, MI_DEVID_TOP);
62.194 + img->eeprom=mi_make_patch(MI_EEPROM_BASE, MI_EEPROM_TOP);
62.195 +
62.196 + if(img->program == NULL || img->id == NULL || img->config == NULL
62.197 + || img->devid == NULL || img->eeprom == NULL) {
62.198 + fclose(f);
62.199 + free(hf);
62.200 + mi_free_image(img);
62.201 + return NULL;
62.202 + }
62.203 +
62.204 +
62.205 +
62.206 + while((r=hex_read(hf))) {
62.207 + if(r->type == 0) {
62.208 +
62.209 + printf("file: %.2i@0x%.8X:\t", r->datlen, r->addr);
62.210 + for(i=0;i<r->datlen;i++) {
62.211 + printf("%.2x", r->data[i]);
62.212 + }
62.213 + printf("\n");
62.214 +
62.215 + if (r->addr < 0x800) {
62.216 + printf ("Dammit! we cant write into code-protected memory!!\n");
62.217 + }
62.218 + else
62.219 + {
62.220 + if(r->addr >= MI_PROGRAM_BASE && r->addr <= MI_PROGRAM_TOP) {
62.221 + mi_modify_patch(img->program, r->addr, r->datlen, r->data);
62.222 + }
62.223 +
62.224 + if(r->addr >= MI_ID_BASE && r->addr <= MI_ID_TOP) {
62.225 + mi_modify_patch(img->id, r->addr, r->datlen, r->data);
62.226 + }
62.227 +
62.228 + if(r->addr >= MI_CONFIG_BASE && r->addr <= MI_CONFIG_TOP) {
62.229 + mi_modify_patch(img->config, r->addr, r->datlen, r->data);
62.230 + }
62.231 +
62.232 + if(r->addr >= MI_DEVID_BASE && r->addr <= MI_DEVID_TOP) {
62.233 + mi_modify_patch(img->devid, r->addr, r->datlen, r->data);
62.234 + }
62.235 + }
62.236 +
62.237 +
62.238 + }
62.239 + free(r);
62.240 + // printf("\n");
62.241 + }
62.242 +
62.243 +
62.244 +
62.245 + free(hf);
62.246 + fclose(f);
62.247 + return img;
62.248 +}
62.249 +
63.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
63.2 +++ b/tools/fsusb/memimg.h Tue Jan 29 22:31:52 2008 +0100
63.3 @@ -0,0 +1,103 @@
63.4 +/*
63.5 +** This file is part of fsusb_picdem
63.6 +**
63.7 +** fsusb_picdem is free software; you can redistribute it and/or
63.8 +** modify it under the terms of the GNU General Public License as
63.9 +** published by the Free Software Foundation; either version 2 of the
63.10 +** License, or (at your option) any later version.
63.11 +**
63.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
63.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
63.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
63.15 +** General Public License for more details.
63.16 +**
63.17 +** You should have received a copy of the GNU General Public License
63.18 +** along with fsusb_picdem; if not, write to the Free Software
63.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
63.20 +** 02110-1301, USA
63.21 +*/
63.22 +
63.23 +#ifndef __MEMIMG_H__
63.24 +#define __MEMIMG_H__
63.25 +
63.26 +#include "rjlhex.h"
63.27 +/*
63.28 + * 18fx455
63.29 + *
63.30 + * EEPROM: 0x00 - 0xff (special, currently unsupported)
63.31 + *
63.32 + * Program memory: 0x0000 - 0x5fff
63.33 + *
63.34 + * ID: 0x200000 - 0x200007
63.35 + *
63.36 + * Config: 0x300000 - 0x30000d (byte-writable)
63.37 + *
63.38 + * Devid: 0x3ffffe - 0x3fffff (read-only)
63.39 + */
63.40 +
63.41 +
63.42 +/*
63.43 + * 18fx550 (default)
63.44 + *
63.45 + * EEPROM: 0x00 - 0xff (special, currently unsupported)
63.46 + *
63.47 + * Program memory: 0x0000 - 0x7fff
63.48 + *
63.49 + * ID: 0x200000 - 0x200007
63.50 + *
63.51 + * Config: 0x300000 - 0x30000d (byte-writable)
63.52 + *
63.53 + * Devid: 0x3ffffe - 0x3fffff (read-only)
63.54 + */
63.55 +
63.56 +
63.57 +#ifndef DEV_18FX455
63.58 +#define DEV_18FX550
63.59 +#endif /* DEV_18FX455 */
63.60 +
63.61 +#define MI_EEPROM_BASE 0x00
63.62 +#define MI_EEPROM_TOP 0xff
63.63 +
63.64 +#define MI_PROGRAM_BASE 0x0000
63.65 +#ifdef DEV_18FX455
63.66 +#define MI_PROGRAM_TOP 0x5fff
63.67 +#endif /* DEV_18FX455 */
63.68 +#ifdef DEV_18FX550
63.69 +#define MI_PROGRAM_TOP 0x7fff
63.70 +#endif /* DEV_18FX550 */
63.71 +
63.72 +#define MI_ID_BASE 0x200000
63.73 +#define MI_ID_TOP 0x200007
63.74 +
63.75 +#define MI_CONFIG_BASE 0x300000
63.76 +#define MI_CONFIG_TOP 0x30000d
63.77 +
63.78 +#define MI_DEVID_BASE 0x3ffffe
63.79 +#define MI_DEVID_TOP 0x3fffff
63.80 +
63.81 +
63.82 +
63.83 +typedef unsigned char mi_byte_t;
63.84 +
63.85 +
63.86 +
63.87 +typedef struct _mi_patch {
63.88 + unsigned long base;
63.89 + unsigned long top;
63.90 + mi_byte_t *contents;
63.91 + char *mask;
63.92 +} mi_patch;
63.93 +
63.94 +typedef struct _mi_image {
63.95 + mi_patch *program;
63.96 + mi_patch *id;
63.97 + mi_patch *config;
63.98 + mi_patch *devid;
63.99 + mi_patch *eeprom;
63.100 +} mi_image;
63.101 +
63.102 +
63.103 +
63.104 +mi_image *mi_load_hexfile(char *filename);
63.105 +
63.106 +#endif /* __MEMIMG_H__ */
64.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
64.2 +++ b/tools/fsusb/rjlhex.c Tue Jan 29 22:31:52 2008 +0100
64.3 @@ -0,0 +1,234 @@
64.4 +/*
64.5 +** This file is part of fsusb_picdem
64.6 +**
64.7 +** fsusb_picdem is free software; you can redistribute it and/or
64.8 +** modify it under the terms of the GNU General Public License as
64.9 +** published by the Free Software Foundation; either version 2 of the
64.10 +** License, or (at your option) any later version.
64.11 +**
64.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
64.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
64.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64.15 +** General Public License for more details.
64.16 +**
64.17 +** You should have received a copy of the GNU General Public License
64.18 +** along with fsusb_picdem; if not, write to the Free Software
64.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
64.20 +** 02110-1301, USA
64.21 +*/
64.22 +
64.23 +
64.24 +#include <stdio.h>
64.25 +#include <stdlib.h>
64.26 +#include <string.h>
64.27 +#include <ctype.h>
64.28 +#include "rjlhex.h"
64.29 +
64.30 +
64.31 +
64.32 +/*
64.33 + * hex_open: Create a hex_file from a FILE *
64.34 + *
64.35 + * f is assumed to already be open for reading, with the
64.36 + * pointer at the start of the file.
64.37 + */
64.38 +hex_file *hex_open(FILE *f)
64.39 +{
64.40 + hex_file *r;
64.41 +
64.42 + if(f==NULL) {
64.43 + return NULL;
64.44 + }
64.45 +
64.46 + r=malloc(sizeof(hex_file));
64.47 + if(r == NULL) {
64.48 + return NULL;
64.49 + }
64.50 +
64.51 + r->f=f;
64.52 + r->addr=0;
64.53 + return r;
64.54 +}
64.55 +
64.56 +
64.57 +/*
64.58 + * hex_raw_read: Create a hex_record from the next line of f
64.59 + *
64.60 + * f is assumed to already be open for reading, with the
64.61 + * pointer at the start of the line to parse.
64.62 + */
64.63 +hex_record *hex_raw_read(FILE *f)
64.64 +{
64.65 + hex_record *r;
64.66 + hex_record *tempr;
64.67 + char *s=NULL;
64.68 + size_t ssize=0;
64.69 + char temps[10];
64.70 + int i;
64.71 + unsigned char check=0;
64.72 +
64.73 +
64.74 +
64.75 + if(f == NULL) {
64.76 + return NULL;
64.77 + }
64.78 +
64.79 + r=malloc(sizeof(hex_record));
64.80 + if(r == NULL) {
64.81 + return NULL;
64.82 + }
64.83 +
64.84 +
64.85 +
64.86 + getline(&s, &ssize, f);
64.87 +
64.88 + // :llaaaatt[dd...]cc
64.89 +
64.90 + // :
64.91 + if(strlen(s)<1 || s[0] != ':') {
64.92 + free(r);
64.93 + free(s);
64.94 + return NULL;
64.95 + }
64.96 +
64.97 +
64.98 +
64.99 + // ll
64.100 + if(strlen(s)<3 || !isxdigit(s[1]) || !isxdigit(s[2])) {
64.101 + free(r);
64.102 + free(s);
64.103 + return NULL;
64.104 + }
64.105 + sprintf(temps, "0x%c%c", s[1], s[2]);
64.106 + r->datlen=strtol(temps, NULL, 16);
64.107 + check += r->datlen;
64.108 +
64.109 +
64.110 +
64.111 + if(strlen(s) < r->datlen*2 + 11) {
64.112 + free(r);
64.113 + free(s);
64.114 + return NULL;
64.115 + }
64.116 +
64.117 + for(i=3;i<r->datlen*2+11;i++) {
64.118 + if(!isxdigit(s[i])) {
64.119 + free(r);
64.120 + free(s);
64.121 + return NULL;
64.122 + }
64.123 + }
64.124 + tempr=realloc(r, sizeof(hex_record) + r->datlen*2);
64.125 + if(tempr == NULL) {
64.126 + free(r);
64.127 + free(s);
64.128 + return NULL;
64.129 + }
64.130 + r=tempr;
64.131 +
64.132 +
64.133 +
64.134 + // aaaa
64.135 +
64.136 + sprintf(temps, "0x%c%c%c%c", s[3], s[4], s[5], s[6]);
64.137 + r->addr=strtol(temps, NULL, 16);
64.138 +
64.139 + sprintf(temps, "0x%c%c", s[3], s[4]);
64.140 + check+=strtol(temps, NULL, 16);
64.141 + sprintf(temps, "0x%c%c", s[5], s[6]);
64.142 + check+=strtol(temps, NULL, 16);
64.143 +
64.144 +
64.145 +
64.146 + // tt
64.147 +
64.148 + sprintf(temps, "0x%c%c", s[7], s[8]);
64.149 + r->type=strtol(temps, NULL, 16);
64.150 + check += r->type;
64.151 +
64.152 +
64.153 +
64.154 + // [dd...]
64.155 +
64.156 + for(i=0;i<r->datlen;i++) {
64.157 + sprintf(temps, "0x%c%c", s[9+2*i], s[10+2*i]);
64.158 + r->data[i]=strtol(temps, NULL, 16);
64.159 + check+=r->data[i];
64.160 + }
64.161 +
64.162 +
64.163 +
64.164 + // cc
64.165 + sprintf(temps, "0x%c%c", s[r->datlen*2+9], s[r->datlen*2+10]);
64.166 + r->checksum=strtol(temps, NULL, 16);
64.167 +
64.168 + // printf("check is %x, 2c of check is %x\n", check, (unsigned char)(-((int)check)));
64.169 + // printf("checksum wanted is %x\n", r->checksum);
64.170 +
64.171 + free(s);
64.172 +
64.173 + if((unsigned char)(-((int)check)) != r->checksum) {
64.174 + printf("hex_raw_read(): BAD CHECKSUM: got %x, wanted %x\n",
64.175 + (unsigned char)(-((int)check)), r->checksum);
64.176 + free(r);
64.177 + return NULL;
64.178 + }
64.179 +
64.180 + return r;
64.181 +
64.182 +}
64.183 +
64.184 +
64.185 +/*
64.186 + * hex_read: Return the next hex_record from f
64.187 + */
64.188 +hex_record *hex_read(hex_file *f)
64.189 +{
64.190 + hex_record *r;
64.191 +
64.192 +
64.193 +
64.194 + if(f == NULL) {
64.195 + return NULL;
64.196 + }
64.197 +
64.198 +
64.199 +
64.200 + r=hex_raw_read(f->f);
64.201 + if(r == NULL) {
64.202 + return NULL;
64.203 + }
64.204 +
64.205 +
64.206 +
64.207 + switch(r->type) {
64.208 + case 0: // data
64.209 + r->addr += f->addr;
64.210 + break;
64.211 +
64.212 +
64.213 + case 1: // EOF
64.214 + /*
64.215 + * Do nothing, although something could be done on these
64.216 + *
64.217 + * It'll only get more data past this on a funny file,
64.218 + * and the assumption is that user-supplied files are usually ok
64.219 + * (which may not be a good assumption)
64.220 + */
64.221 + break;
64.222 +
64.223 +
64.224 + case 2: // hex86 address
64.225 + f->addr = (r->data[0] << 12) + (r->data[1] << 4); // endianness?
64.226 + break;
64.227 +
64.228 +
64.229 + case 4: // hex386 address
64.230 + f->addr = (r->data[0] << 24) + (r->data[1] << 16); // endianness?
64.231 + break;
64.232 + }
64.233 +
64.234 +
64.235 +
64.236 + return r;
64.237 +}
65.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
65.2 +++ b/tools/fsusb/rjlhex.h Tue Jan 29 22:31:52 2008 +0100
65.3 @@ -0,0 +1,53 @@
65.4 +/*
65.5 +** This file is part of fsusb_picdem
65.6 +**
65.7 +** fsusb_picdem is free software; you can redistribute it and/or
65.8 +** modify it under the terms of the GNU General Public License as
65.9 +** published by the Free Software Foundation; either version 2 of the
65.10 +** License, or (at your option) any later version.
65.11 +**
65.12 +** fsusb_picdem is distributed in the hope that it will be useful, but
65.13 +** WITHOUT ANY WARRANTY; without even the implied warranty of
65.14 +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
65.15 +** General Public License for more details.
65.16 +**
65.17 +** You should have received a copy of the GNU General Public License
65.18 +** along with fsusb_picdem; if not, write to the Free Software
65.19 +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
65.20 +** 02110-1301, USA
65.21 +*/
65.22 +
65.23 +
65.24 +#ifndef __RJLHEX_H__
65.25 +#define __RJLHEX_H__
65.26 +
65.27 +
65.28 +
65.29 +#include <stdio.h>
65.30 +
65.31 +
65.32 +
65.33 +typedef struct _hex_record {
65.34 + unsigned char datlen;
65.35 + unsigned int addr;
65.36 + unsigned char type;
65.37 + unsigned char checksum;
65.38 + unsigned char data[0];
65.39 +} hex_record;
65.40 +
65.41 +typedef struct _hex_file {
65.42 + FILE *f;
65.43 + unsigned long addr;
65.44 +} hex_file;
65.45 +
65.46 +
65.47 +
65.48 +// Create a hex_file from an already-open FILE *
65.49 +hex_file *hex_open(FILE *f);
65.50 +
65.51 +// Read the next hex_record from f
65.52 +hex_record *hex_read(hex_file *f);
65.53 +
65.54 +
65.55 +
65.56 +#endif /* __RJLHEX_H__ */
66.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
66.2 +++ b/tools/picctldisplaytest/AUTHORS Tue Jan 29 22:31:52 2008 +0100
66.3 @@ -0,0 +1,1 @@
66.4 +Peter Marquardt <p_marquardt@users.sourceforge.net>
67.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
67.2 +++ b/tools/picctldisplaytest/COPYING Tue Jan 29 22:31:52 2008 +0100
67.3 @@ -0,0 +1,340 @@
67.4 + GNU GENERAL PUBLIC LICENSE
67.5 + Version 2, June 1991
67.6 +
67.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
67.8 + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
67.9 + Everyone is permitted to copy and distribute verbatim copies
67.10 + of this license document, but changing it is not allowed.
67.11 +
67.12 + Preamble
67.13 +
67.14 + The licenses for most software are designed to take away your
67.15 +freedom to share and change it. By contrast, the GNU General Public
67.16 +License is intended to guarantee your freedom to share and change free
67.17 +software--to make sure the software is free for all its users. This
67.18 +General Public License applies to most of the Free Software
67.19 +Foundation's software and to any other program whose authors commit to
67.20 +using it. (Some other Free Software Foundation software is covered by
67.21 +the GNU Library General Public License instead.) You can apply it to
67.22 +your programs, too.
67.23 +
67.24 + When we speak of free software, we are referring to freedom, not
67.25 +price. Our General Public Licenses are designed to make sure that you
67.26 +have the freedom to distribute copies of free software (and charge for
67.27 +this service if you wish), that you receive source code or can get it
67.28 +if you want it, that you can change the software or use pieces of it
67.29 +in new free programs; and that you know you can do these things.
67.30 +
67.31 + To protect your rights, we need to make restrictions that forbid
67.32 +anyone to deny you these rights or to ask you to surrender the rights.
67.33 +These restrictions translate to certain responsibilities for you if you
67.34 +distribute copies of the software, or if you modify it.
67.35 +
67.36 + For example, if you distribute copies of such a program, whether
67.37 +gratis or for a fee, you must give the recipients all the rights that
67.38 +you have. You must make sure that they, too, receive or can get the
67.39 +source code. And you must show them these terms so they know their
67.40 +rights.
67.41 +
67.42 + We protect your rights with two steps: (1) copyright the software, and
67.43 +(2) offer you this license which gives you legal permission to copy,
67.44 +distribute and/or modify the software.
67.45 +
67.46 + Also, for each author's protection and ours, we want to make certain
67.47 +that everyone understands that there is no warranty for this free
67.48 +software. If the software is modified by someone else and passed on, we
67.49 +want its recipients to know that what they have is not the original, so
67.50 +that any problems introduced by others will not reflect on the original
67.51 +authors' reputations.
67.52 +
67.53 + Finally, any free program is threatened constantly by software
67.54 +patents. We wish to avoid the danger that redistributors of a free
67.55 +program will individually obtain patent licenses, in effect making the
67.56 +program proprietary. To prevent this, we have made it clear that any
67.57 +patent must be licensed for everyone's free use or not licensed at all.
67.58 +
67.59 + The precise terms and conditions for copying, distribution and
67.60 +modification follow.
67.61 +
67.62 + GNU GENERAL PUBLIC LICENSE
67.63 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
67.64 +
67.65 + 0. This License applies to any program or other work which contains
67.66 +a notice placed by the copyright holder saying it may be distributed
67.67 +under the terms of this General Public License. The "Program", below,
67.68 +refers to any such program or work, and a "work based on the Program"
67.69 +means either the Program or any derivative work under copyright law:
67.70 +that is to say, a work containing the Program or a portion of it,
67.71 +either verbatim or with modifications and/or translated into another
67.72 +language. (Hereinafter, translation is included without limitation in
67.73 +the term "modification".) Each licensee is addressed as "you".
67.74 +
67.75 +Activities other than copying, distribution and modification are not
67.76 +covered by this License; they are outside its scope. The act of
67.77 +running the Program is not restricted, and the output from the Program
67.78 +is covered only if its contents constitute a work based on the
67.79 +Program (independent of having been made by running the Program).
67.80 +Whether that is true depends on what the Program does.
67.81 +
67.82 + 1. You may copy and distribute verbatim copies of the Program's
67.83 +source code as you receive it, in any medium, provided that you
67.84 +conspicuously and appropriately publish on each copy an appropriate
67.85 +copyright notice and disclaimer of warranty; keep intact all the
67.86 +notices that refer to this License and to the absence of any warranty;
67.87 +and give any other recipients of the Program a copy of this License
67.88 +along with the Program.
67.89 +
67.90 +You may charge a fee for the physical act of transferring a copy, and
67.91 +you may at your option offer warranty protection in exchange for a fee.
67.92 +
67.93 + 2. You may modify your copy or copies of the Program or any portion
67.94 +of it, thus forming a work based on the Program, and copy and
67.95 +distribute such modifications or work under the terms of Section 1
67.96 +above, provided that you also meet all of these conditions:
67.97 +
67.98 + a) You must cause the modified files to carry prominent notices
67.99 + stating that you changed the files and the date of any change.
67.100 +
67.101 + b) You must cause any work that you distribute or publish, that in
67.102 + whole or in part contains or is derived from the Program or any
67.103 + part thereof, to be licensed as a whole at no charge to all third
67.104 + parties under the terms of this License.
67.105 +
67.106 + c) If the modified program normally reads commands interactively
67.107 + when run, you must cause it, when started running for such
67.108 + interactive use in the most ordinary way, to print or display an
67.109 + announcement including an appropriate copyright notice and a
67.110 + notice that there is no warranty (or else, saying that you provide
67.111 + a warranty) and that users may redistribute the program under
67.112 + these conditions, and telling the user how to view a copy of this
67.113 + License. (Exception: if the Program itself is interactive but
67.114 + does not normally print such an announcement, your work based on
67.115 + the Program is not required to print an announcement.)
67.116 +
67.117 +These requirements apply to the modified work as a whole. If
67.118 +identifiable sections of that work are not derived from the Program,
67.119 +and can be reasonably considered independent and separate works in
67.120 +themselves, then this License, and its terms, do not apply to those
67.121 +sections when you distribute them as separate works. But when you
67.122 +distribute the same sections as part of a whole which is a work based
67.123 +on the Program, the distribution of the whole must be on the terms of
67.124 +this License, whose permissions for other licensees extend to the
67.125 +entire whole, and thus to each and every part regardless of who wrote it.
67.126 +
67.127 +Thus, it is not the intent of this section to claim rights or contest
67.128 +your rights to work written entirely by you; rather, the intent is to
67.129 +exercise the right to control the distribution of derivative or
67.130 +collective works based on the Program.
67.131 +
67.132 +In addition, mere aggregation of another work not based on the Program
67.133 +with the Program (or with a work based on the Program) on a volume of
67.134 +a storage or distribution medium does not bring the other work under
67.135 +the scope of this License.
67.136 +
67.137 + 3. You may copy and distribute the Program (or a work based on it,
67.138 +under Section 2) in object code or executable form under the terms of
67.139 +Sections 1 and 2 above provided that you also do one of the following:
67.140 +
67.141 + a) Accompany it with the complete corresponding machine-readable
67.142 + source code, which must be distributed under the terms of Sections
67.143 + 1 and 2 above on a medium customarily used for software interchange; or,
67.144 +
67.145 + b) Accompany it with a written offer, valid for at least three
67.146 + years, to give any third party, for a charge no more than your
67.147 + cost of physically performing source distribution, a complete
67.148 + machine-readable copy of the corresponding source code, to be
67.149 + distributed under the terms of Sections 1 and 2 above on a medium
67.150 + customarily used for software interchange; or,
67.151 +
67.152 + c) Accompany it with the information you received as to the offer
67.153 + to distribute corresponding source code. (This alternative is
67.154 + allowed only for noncommercial distribution and only if you
67.155 + received the program in object code or executable form with such
67.156 + an offer, in accord with Subsection b above.)
67.157 +
67.158 +The source code for a work means the preferred form of the work for
67.159 +making modifications to it. For an executable work, complete source
67.160 +code means all the source code for all modules it contains, plus any
67.161 +associated interface definition files, plus the scripts used to
67.162 +control compilation and installation of the executable. However, as a
67.163 +special exception, the source code distributed need not include
67.164 +anything that is normally distributed (in either source or binary
67.165 +form) with the major components (compiler, kernel, and so on) of the
67.166 +operating system on which the executable runs, unless that component
67.167 +itself accompanies the executable.
67.168 +
67.169 +If distribution of executable or object code is made by offering
67.170 +access to copy from a designated place, then offering equivalent
67.171 +access to copy the source code from the same place counts as
67.172 +distribution of the source code, even though third parties are not
67.173 +compelled to copy the source along with the object code.
67.174 +
67.175 + 4. You may not copy, modify, sublicense, or distribute the Program
67.176 +except as expressly provided under this License. Any attempt
67.177 +otherwise to copy, modify, sublicense or distribute the Program is
67.178 +void, and will automatically terminate your rights under this License.
67.179 +However, parties who have received copies, or rights, from you under
67.180 +this License will not have their licenses terminated so long as such
67.181 +parties remain in full compliance.
67.182 +
67.183 + 5. You are not required to accept this License, since you have not
67.184 +signed it. However, nothing else grants you permission to modify or
67.185 +distribute the Program or its derivative works. These actions are
67.186 +prohibited by law if you do not accept this License. Therefore, by
67.187 +modifying or distributing the Program (or any work based on the
67.188 +Program), you indicate your acceptance of this License to do so, and
67.189 +all its terms and conditions for copying, distributing or modifying
67.190 +the Program or works based on it.
67.191 +
67.192 + 6. Each time you redistribute the Program (or any work based on the
67.193 +Program), the recipient automatically receives a license from the
67.194 +original licensor to copy, distribute or modify the Program subject to
67.195 +these terms and conditions. You may not impose any further
67.196 +restrictions on the recipients' exercise of the rights granted herein.
67.197 +You are not responsible for enforcing compliance by third parties to
67.198 +this License.
67.199 +
67.200 + 7. If, as a consequence of a court judgment or allegation of patent
67.201 +infringement or for any other reason (not limited to patent issues),
67.202 +conditions are imposed on you (whether by court order, agreement or
67.203 +otherwise) that contradict the conditions of this License, they do not
67.204 +excuse you from the conditions of this License. If you cannot
67.205 +distribute so as to satisfy simultaneously your obligations under this
67.206 +License and any other pertinent obligations, then as a consequence you
67.207 +may not distribute the Program at all. For example, if a patent
67.208 +license would not permit royalty-free redistribution of the Program by
67.209 +all those who receive copies directly or indirectly through you, then
67.210 +the only way you could satisfy both it and this License would be to
67.211 +refrain entirely from distribution of the Program.
67.212 +
67.213 +If any portion of this section is held invalid or unenforceable under
67.214 +any particular circumstance, the balance of the section is intended to
67.215 +apply and the section as a whole is intended to apply in other
67.216 +circumstances.
67.217 +
67.218 +It is not the purpose of this section to induce you to infringe any
67.219 +patents or other property right claims or to contest validity of any
67.220 +such claims; this section has the sole purpose of protecting the
67.221 +integrity of the free software distribution system, which is
67.222 +implemented by public license practices. Many people have made
67.223 +generous contributions to the wide range of software distributed
67.224 +through that system in reliance on consistent application of that
67.225 +system; it is up to the author/donor to decide if he or she is willing
67.226 +to distribute software through any other system and a licensee cannot
67.227 +impose that choice.
67.228 +
67.229 +This section is intended to make thoroughly clear what is believed to
67.230 +be a consequence of the rest of this License.
67.231 +
67.232 + 8. If the distribution and/or use of the Program is restricted in
67.233 +certain countries either by patents or by copyrighted interfaces, the
67.234 +original copyright holder who places the Program under this License
67.235 +may add an explicit geographical distribution limitation excluding
67.236 +those countries, so that distribution is permitted only in or among
67.237 +countries not thus excluded. In such case, this License incorporates
67.238 +the limitation as if written in the body of this License.
67.239 +
67.240 + 9. The Free Software Foundation may publish revised and/or new versions
67.241 +of the General Public License from time to time. Such new versions will
67.242 +be similar in spirit to the present version, but may differ in detail to
67.243 +address new problems or concerns.
67.244 +
67.245 +Each version is given a distinguishing version number. If the Program
67.246 +specifies a version number of this License which applies to it and "any
67.247 +later version", you have the option of following the terms and conditions
67.248 +either of that version or of any later version published by the Free
67.249 +Software Foundation. If the Program does not specify a version number of
67.250 +this License, you may choose any version ever published by the Free Software
67.251 +Foundation.
67.252 +
67.253 + 10. If you wish to incorporate parts of the Program into other free
67.254 +programs whose distribution conditions are different, write to the author
67.255 +to ask for permission. For software which is copyrighted by the Free
67.256 +Software Foundation, write to the Free Software Foundation; we sometimes
67.257 +make exceptions for this. Our decision will be guided by the two goals
67.258 +of preserving the free status of all derivatives of our free software and
67.259 +of promoting the sharing and reuse of software generally.
67.260 +
67.261 + NO WARRANTY
67.262 +
67.263 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
67.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
67.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
67.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
67.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
67.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
67.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
67.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
67.271 +REPAIR OR CORRECTION.
67.272 +
67.273 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
67.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
67.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
67.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
67.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
67.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
67.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
67.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
67.281 +POSSIBILITY OF SUCH DAMAGES.
67.282 +
67.283 + END OF TERMS AND CONDITIONS
67.284 +
67.285 + How to Apply These Terms to Your New Programs
67.286 +
67.287 + If you develop a new program, and you want it to be of the greatest
67.288 +possible use to the public, the best way to achieve this is to make it
67.289 +free software which everyone can redistribute and change under these terms.
67.290 +
67.291 + To do so, attach the following notices to the program. It is safest
67.292 +to attach them to the start of each source file to most effectively
67.293 +convey the exclusion of warranty; and each file should have at least
67.294 +the "copyright" line and a pointer to where the full notice is found.
67.295 +
67.296 + <one line to give the program's name and a brief idea of what it does.>
67.297 + Copyright (C) <year> <name of author>
67.298 +
67.299 + This program is free software; you can redistribute it and/or modify
67.300 + it under the terms of the GNU General Public License as published by
67.301 + the Free Software Foundation; either version 2 of the License, or
67.302 + (at your option) any later version.
67.303 +
67.304 + This program is distributed in the hope that it will be useful,
67.305 + but WITHOUT ANY WARRANTY; without even the implied warranty of
67.306 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67.307 + GNU General Public License for more details.
67.308 +
67.309 + You should have received a copy of the GNU General Public License
67.310 + along with this program; if not, write to the Free Software
67.311 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
67.312 +
67.313 +
67.314 +Also add information on how to contact you by electronic and paper mail.
67.315 +
67.316 +If the program is interactive, make it output a short notice like this
67.317 +when it starts in an interactive mode:
67.318 +
67.319 + Gnomovision version 69, Copyright (C) year name of author
67.320 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
67.321 + This is free software, and you are welcome to redistribute it
67.322 + under certain conditions; type `show c' for details.
67.323 +
67.324 +The hypothetical commands `show w' and `show c' should show the appropriate
67.325 +parts of the General Public License. Of course, the commands you use may
67.326 +be called something other than `show w' and `show c'; they could even be
67.327 +mouse-clicks or menu items--whatever suits your program.
67.328 +
67.329 +You should also get your employer (if you work as a programmer) or your
67.330 +school, if any, to sign a "copyright disclaimer" for the program, if
67.331 +necessary. Here is a sample; alter the names:
67.332 +
67.333 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program
67.334 + `Gnomovision' (which makes passes at compilers) written by James Hacker.
67.335 +
67.336 + <signature of Ty Coon>, 1 April 1989
67.337 + Ty Coon, President of Vice
67.338 +
67.339 +This General Public License does not permit incorporating your program into
67.340 +proprietary programs. If your program is a subroutine library, you may
67.341 +consider it more useful to permit linking proprietary applications with the
67.342 +library. If this is what you want to do, use the GNU Library General
67.343 +Public License instead of this License.
68.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
68.2 +++ b/tools/picctldisplaytest/Doxyfile Tue Jan 29 22:31:52 2008 +0100
68.3 @@ -0,0 +1,275 @@
68.4 +# Doxyfile 1.4.1-KDevelop
68.5 +
68.6 +#---------------------------------------------------------------------------
68.7 +# Project related configuration options
68.8 +#---------------------------------------------------------------------------
68.9 +PROJECT_NAME = picctldisplaytest.kdevelop
68.10 +PROJECT_NUMBER = 0.1
68.11 +OUTPUT_DIRECTORY = /home/pm/Documents/Projekte/vdr/picctldisplaytest/doc
68.12 +CREATE_SUBDIRS = YES
68.13 +OUTPUT_LANGUAGE = English
68.14 +USE_WINDOWS_ENCODING = NO
68.15 +BRIEF_MEMBER_DESC = YES
68.16 +REPEAT_BRIEF = YES
68.17 +ABBREVIATE_BRIEF = "The $name class" \
68.18 + "The $name widget" \
68.19 + "The $name file" \
68.20 + is \
68.21 + provides \
68.22 + specifies \
68.23 + contains \
68.24 + represents \
68.25 + a \
68.26 + an \
68.27 + the
68.28 +ALWAYS_DETAILED_SEC = YES
68.29 +INLINE_INHERITED_MEMB = YES
68.30 +FULL_PATH_NAMES = YES
68.31 +STRIP_FROM_PATH = /home/pm/Documents/dev/test/
68.32 +STRIP_FROM_INC_PATH =
68.33 +SHORT_NAMES = NO
68.34 +JAVADOC_AUTOBRIEF = NO
68.35 +MULTILINE_CPP_IS_BRIEF = NO
68.36 +DETAILS_AT_TOP = NO
68.37 +INHERIT_DOCS = YES
68.38 +DISTRIBUTE_GROUP_DOC = NO
68.39 +TAB_SIZE = 8
68.40 +ALIASES =
68.41 +OPTIMIZE_OUTPUT_FOR_C = NO
68.42 +OPTIMIZE_OUTPUT_JAVA = NO
68.43 +SUBGROUPING = YES
68.44 +#---------------------------------------------------------------------------
68.45 +# Build related configuration options
68.46 +#---------------------------------------------------------------------------
68.47 +EXTRACT_ALL = NO
68.48 +EXTRACT_PRIVATE = YES
68.49 +EXTRACT_STATIC = YES
68.50 +EXTRACT_LOCAL_CLASSES = YES
68.51 +EXTRACT_LOCAL_METHODS = YES
68.52 +HIDE_UNDOC_MEMBERS = NO
68.53 +HIDE_UNDOC_CLASSES = NO
68.54 +HIDE_FRIEND_COMPOUNDS = NO
68.55 +HIDE_IN_BODY_DOCS = NO
68.56 +INTERNAL_DOCS = NO
68.57 +CASE_SENSE_NAMES = YES
68.58 +HIDE_SCOPE_NAMES = NO
68.59 +SHOW_INCLUDE_FILES = YES
68.60 +INLINE_INFO = YES
68.61 +SORT_MEMBER_DOCS = YES
68.62 +SORT_BRIEF_DOCS = NO
68.63 +SORT_BY_SCOPE_NAME = NO
68.64 +GENERATE_TODOLIST = YES
68.65 +GENERATE_TESTLIST = YES
68.66 +GENERATE_BUGLIST = YES
68.67 +GENERATE_DEPRECATEDLIST= YES
68.68 +ENABLED_SECTIONS =
68.69 +MAX_INITIALIZER_LINES = 30
68.70 +SHOW_USED_FILES = YES
68.71 +SHOW_DIRECTORIES = YES
68.72 +FILE_VERSION_FILTER =
68.73 +#---------------------------------------------------------------------------
68.74 +# configuration options related to warning and progress messages
68.75 +#---------------------------------------------------------------------------
68.76 +QUIET = NO
68.77 +WARNINGS = YES
68.78 +WARN_IF_UNDOCUMENTED = YES
68.79 +WARN_IF_DOC_ERROR = YES
68.80 +WARN_NO_PARAMDOC = NO
68.81 +WARN_FORMAT = "$file:$line: $text"
68.82 +WARN_LOGFILE =
68.83 +#---------------------------------------------------------------------------
68.84 +# configuration options related to the input files
68.85 +#---------------------------------------------------------------------------
68.86 +INPUT = /home/pm/Documents/Projekte/vdr/picctldisplaytest
68.87 +FILE_PATTERNS = *.c \
68.88 + *.cc \
68.89 + *.cxx \
68.90 + *.cpp \
68.91 + *.c++ \
68.92 + *.java \
68.93 + *.ii \
68.94 + *.ixx \
68.95 + *.ipp \
68.96 + *.i++ \
68.97 + *.inl \
68.98 + *.h \
68.99 + *.hh \
68.100 + *.hxx \
68.101 + *.hpp \
68.102 + *.h++ \
68.103 + *.idl \
68.104 + *.odl \
68.105 + *.cs \
68.106 + *.php \
68.107 + *.php3 \
68.108 + *.inc \
68.109 + *.m \
68.110 + *.mm \
68.111 + *.dox \
68.112 + *.C \
68.113 + *.CC \
68.114 + *.C++ \
68.115 + *.II \
68.116 + *.I++ \
68.117 + *.H \
68.118 + *.HH \
68.119 + *.H++ \
68.120 + *.CS \
68.121 + *.PHP \
68.122 + *.PHP3 \
68.123 + *.M \
68.124 + *.MM \
68.125 + *.C \
68.126 + *.H \
68.127 + *.tlh \
68.128 + *.diff \
68.129 + *.patch \
68.130 + *.moc \
68.131 + *.xpm \
68.132 + *.dox
68.133 +RECURSIVE = YES
68.134 +EXCLUDE =
68.135 +EXCLUDE_SYMLINKS = NO
68.136 +EXCLUDE_PATTERNS =
68.137 +EXAMPLE_PATH =
68.138 +EXAMPLE_PATTERNS = *
68.139 +EXAMPLE_RECURSIVE = NO
68.140 +IMAGE_PATH =
68.141 +INPUT_FILTER =
68.142 +FILTER_PATTERNS =
68.143 +FILTER_SOURCE_FILES = NO
68.144 +#---------------------------------------------------------------------------
68.145 +# configuration options related to source browsing
68.146 +#---------------------------------------------------------------------------
68.147 +SOURCE_BROWSER = YES
68.148 +INLINE_SOURCES = NO
68.149 +STRIP_CODE_COMMENTS = YES
68.150 +REFERENCED_BY_RELATION = YES
68.151 +REFERENCES_RELATION = YES
68.152 +VERBATIM_HEADERS = YES
68.153 +#---------------------------------------------------------------------------
68.154 +# configuration options related to the alphabetical class index
68.155 +#---------------------------------------------------------------------------
68.156 +ALPHABETICAL_INDEX = YES
68.157 +COLS_IN_ALPHA_INDEX = 5
68.158 +IGNORE_PREFIX =
68.159 +#---------------------------------------------------------------------------
68.160 +# configuration options related to the HTML output
68.161 +#---------------------------------------------------------------------------
68.162 +GENERATE_HTML = YES
68.163 +HTML_OUTPUT = html
68.164 +HTML_FILE_EXTENSION = .html
68.165 +HTML_HEADER =
68.166 +HTML_FOOTER =
68.167 +HTML_STYLESHEET =
68.168 +HTML_ALIGN_MEMBERS = YES
68.169 +GENERATE_HTMLHELP = YES
68.170 +CHM_FILE =
68.171 +HHC_LOCATION =
68.172 +GENERATE_CHI = NO
68.173 +BINARY_TOC = YES
68.174 +TOC_EXPAND = YES
68.175 +DISABLE_INDEX = NO
68.176 +ENUM_VALUES_PER_LINE = 4
68.177 +GENERATE_TREEVIEW = NO
68.178 +TREEVIEW_WIDTH = 250
68.179 +#---------------------------------------------------------------------------
68.180 +# configuration options related to the LaTeX output
68.181 +#---------------------------------------------------------------------------
68.182 +GENERATE_LATEX = NO
68.183 +LATEX_OUTPUT = latex
68.184 +LATEX_CMD_NAME = latex
68.185 +MAKEINDEX_CMD_NAME = makeindex
68.186 +COMPACT_LATEX = NO
68.187 +PAPER_TYPE = a4wide
68.188 +EXTRA_PACKAGES =
68.189 +LATEX_HEADER =
68.190 +PDF_HYPERLINKS = NO
68.191 +USE_PDFLATEX = NO
68.192 +LATEX_BATCHMODE = NO
68.193 +LATEX_HIDE_INDICES = NO
68.194 +#---------------------------------------------------------------------------
68.195 +# configuration options related to the RTF output
68.196 +#---------------------------------------------------------------------------
68.197 +GENERATE_RTF = NO
68.198 +RTF_OUTPUT = rtf
68.199 +COMPACT_RTF = NO
68.200 +RTF_HYPERLINKS = NO
68.201 +RTF_STYLESHEET_FILE =
68.202 +RTF_EXTENSIONS_FILE =
68.203 +#---------------------------------------------------------------------------
68.204 +# configuration options related to the man page output
68.205 +#---------------------------------------------------------------------------
68.206 +GENERATE_MAN = YES
68.207 +MAN_OUTPUT = man
68.208 +MAN_EXTENSION = .3
68.209 +MAN_LINKS = YES
68.210 +#---------------------------------------------------------------------------
68.211 +# configuration options related to the XML output
68.212 +#---------------------------------------------------------------------------
68.213 +GENERATE_XML = YES
68.214 +XML_OUTPUT = xml
68.215 +XML_SCHEMA =
68.216 +XML_DTD =
68.217 +XML_PROGRAMLISTING = YES
68.218 +#---------------------------------------------------------------------------
68.219 +# configuration options for the AutoGen Definitions output
68.220 +#---------------------------------------------------------------------------
68.221 +GENERATE_AUTOGEN_DEF = NO
68.222 +#---------------------------------------------------------------------------
68.223 +# configuration options related to the Perl module output
68.224 +#---------------------------------------------------------------------------
68.225 +GENERATE_PERLMOD = NO
68.226 +PERLMOD_LATEX = NO
68.227 +PERLMOD_PRETTY = YES
68.228 +PERLMOD_MAKEVAR_PREFIX =
68.229 +#---------------------------------------------------------------------------
68.230 +# Configuration options related to the preprocessor
68.231 +#---------------------------------------------------------------------------
68.232 +ENABLE_PREPROCESSING = YES
68.233 +MACRO_EXPANSION = NO
68.234 +EXPAND_ONLY_PREDEF = NO
68.235 +SEARCH_INCLUDES = YES
68.236 +INCLUDE_PATH =
68.237 +INCLUDE_FILE_PATTERNS =
68.238 +PREDEFINED =
68.239 +EXPAND_AS_DEFINED =
68.240 +SKIP_FUNCTION_MACROS = YES
68.241 +#---------------------------------------------------------------------------
68.242 +# Configuration::additions related to external references
68.243 +#---------------------------------------------------------------------------
68.244 +TAGFILES =
68.245 +GENERATE_TAGFILE = picctldisplaytest.tag
68.246 +ALLEXTERNALS = NO
68.247 +EXTERNAL_GROUPS = YES
68.248 +PERL_PATH = /usr/bin/perl
68.249 +#---------------------------------------------------------------------------
68.250 +# Configuration options related to the dot tool
68.251 +#---------------------------------------------------------------------------
68.252 +CLASS_DIAGRAMS = YES
68.253 +HIDE_UNDOC_RELATIONS = YES
68.254 +HAVE_DOT = YES
68.255 +CLASS_GRAPH = YES
68.256 +COLLABORATION_GRAPH = YES
68.257 +GROUP_GRAPHS = YES
68.258 +UML_LOOK = YES
68.259 +TEMPLATE_RELATIONS = NO
68.260 +INCLUDE_GRAPH = YES
68.261 +INCLUDED_BY_GRAPH = YES
68.262 +CALL_GRAPH = YES
68.263 +GRAPHICAL_HIERARCHY = YES
68.264 +DIRECTORY_GRAPH = YES
68.265 +DOT_IMAGE_FORMAT = png
68.266 +DOT_PATH =
68.267 +DOTFILE_DIRS =
68.268 +MAX_DOT_GRAPH_WIDTH = 1024
68.269 +MAX_DOT_GRAPH_HEIGHT = 1024
68.270 +MAX_DOT_GRAPH_DEPTH = 1000
68.271 +DOT_TRANSPARENT = NO
68.272 +DOT_MULTI_TARGETS = YES
68.273 +GENERATE_LEGEND = YES
68.274 +DOT_CLEANUP = YES
68.275 +#---------------------------------------------------------------------------
68.276 +# Configuration::additions related to the search engine
68.277 +#---------------------------------------------------------------------------
68.278 +SEARCHENGINE = NO
69.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
69.2 +++ b/tools/picctldisplaytest/INSTALL Tue Jan 29 22:31:52 2008 +0100
69.3 @@ -0,0 +1,167 @@
69.4 +Basic Installation
69.5 +==================
69.6 +
69.7 + These are generic installation instructions.
69.8 +
69.9 + The `configure' shell script attempts to guess correct values for
69.10 +various system-dependent variables used during compilation. It uses
69.11 +those values to create a `Makefile' in each directory of the package.
69.12 +It may also create one or more `.h' files containing system-dependent
69.13 +definitions. Finally, it creates a shell script `config.status' that
69.14 +you can run in the future to recreate the current configuration, a file
69.15 +`config.cache' that saves the results of its tests to speed up
69.16 +reconfiguring, and a file `config.log' containing compiler output
69.17 +(useful mainly for debugging `configure').
69.18 +
69.19 + If you need to do unusual things to compile the package, please try
69.20 +to figure out how `configure' could check whether to do them, and mail
69.21 +diffs or instructions to the address given in the `README' so they can
69.22 +be considered for the next release. If at some point `config.cache'
69.23 +contains results you don't want to keep, you may remove or edit it.
69.24 +
69.25 + The file `configure.in' is used to create `configure' by a program
69.26 +called `autoconf'. You only need `configure.in' if you want to change
69.27 +it or regenerate `configure' using a newer version of `autoconf'.
69.28 +
69.29 +The simplest way to compile this package is:
69.30 +
69.31 + 1. `cd' to the directory containing the package's source code and type
69.32 + `./configure' to configure the package for your system. If you're
69.33 + using `csh' on an old version of System V, you might need to type
69.34 + `sh ./configure' instead to prevent `csh' from trying to execute
69.35 + `configure' itself.
69.36 +
69.37 + Running `configure' takes a while. While running, it prints some
69.38 + messages telling which features it is checking for.
69.39 +
69.40 + 2. Type `make' to compile the package.
69.41 +
69.42 + 3. Type `make install' to install the programs and any data files and
69.43 + documentation.
69.44 +
69.45 + 4. You can remove the program binaries and object files from the
69.46 + source code directory by typing `make clean'.
69.47 +
69.48 +Compilers and Options
69.49 +=====================
69.50 +
69.51 + Some systems require unusual options for compilation or linking that
69.52 +the `configure' script does not know about. You can give `configure'
69.53 +initial values for variables by setting them in the environment. Using
69.54 +a Bourne-compatible shell, you can do that on the command line like
69.55 +this:
69.56 + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
69.57 +
69.58 +Or on systems that have the `env' program, you can do it like this:
69.59 + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
69.60 +
69.61 +Compiling For Multiple Architectures
69.62 +====================================
69.63 +
69.64 + You can compile the package for more than one kind of computer at the
69.65 +same time, by placing the object files for each architecture in their
69.66 +own directory. To do this, you must use a version of `make' that
69.67 +supports the `VPATH' variable, such as GNU `make'. `cd' to the
69.68 +directory where you want the object files and executables to go and run
69.69 +the `configure' script. `configure' automatically checks for the
69.70 +source code in the directory that `configure' is in and in `..'.
69.71 +
69.72 + If you have to use a `make' that does not supports the `VPATH'
69.73 +variable, you have to compile the package for one architecture at a time
69.74 +in the source code directory. After you have installed the package for
69.75 +one architecture, use `make distclean' before reconfiguring for another
69.76 +architecture.
69.77 +
69.78 +Installation Names
69.79 +==================
69.80 +
69.81 + By default, `make install' will install the package's files in
69.82 +`/usr/local/bin', `/usr/local/man', etc. You can specify an
69.83 +installation prefix other than `/usr/local' by giving `configure' the
69.84 +option `--prefix=PATH'.
69.85 +
69.86 + You can specify separate installation prefixes for
69.87 +architecture-specific files and architecture-independent files. If you
69.88 +give `configure' the option `--exec-prefix=PATH', the package will use
69.89 +PATH as the prefix for installing programs and libraries.
69.90 +Documentation and other data files will still use the regular prefix.
69.91 +
69.92 + If the package supports it, you can cause programs to be installed
69.93 +with an extra prefix or suffix on their names by giving `configure' the
69.94 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
69.95 +
69.96 +Optional Features
69.97 +=================
69.98 +
69.99 + Some packages pay attention to `--enable-FEATURE' options to
69.100 +`configure', where FEATURE indicates an optional part of the package.
69.101 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
69.102 +is something like `gnu-as' or `x' (for the X Window System). The
69.103 +`README' should mention any `--enable-' and `--with-' options that the
69.104 +package recognizes.
69.105 +
69.106 + For packages that use the X Window System, `configure' can usually
69.107 +find the X include and library files automatically, but if it doesn't,
69.108 +you can use the `configure' options `--x-includes=DIR' and
69.109 +`--x-libraries=DIR' to specify their locations.
69.110 +
69.111 +Specifying the System Type
69.112 +==========================
69.113 +
69.114 + There may be some features `configure' can not figure out
69.115 +automatically, but needs to determine by the type of host the package
69.116 +will run on. Usually `configure' can figure that out, but if it prints
69.117 +a message saying it can not guess the host type, give it the
69.118 +`--host=TYPE' option. TYPE can either be a short name for the system
69.119 +type, such as `sun4', or a canonical name with three fields:
69.120 + CPU-COMPANY-SYSTEM
69.121 +
69.122 +See the file `config.sub' for the possible values of each field. If
69.123 +`config.sub' isn't included in this package, then this package doesn't
69.124 +need to know the host type.
69.125 +
69.126 + If you are building compiler tools for cross-compiling, you can also
69.127 +use the `--target=TYPE' option to select the type of system they will
69.128 +produce code for and the `--build=TYPE' option to select the type of
69.129 +system on which you are compiling the package.
69.130 +
69.131 +Sharing Defaults
69.132 +================
69.133 +
69.134 + If you want to set default values for `configure' scripts to share,
69.135 +you can create a site shell script called `config.site' that gives
69.136 +default values for variables like `CC', `cache_file', and `prefix'.
69.137 +`configure' looks for `PREFIX/share/config.site' if it exists, then
69.138 +`PREFIX/etc/config.site' if it exists. Or, you can set the
69.139 +`CONFIG_SITE' environment variable to the location of the site script.
69.140 +A warning: not all `configure' scripts look for a site script.
69.141 +
69.142 +Operation Controls
69.143 +==================
69.144 +
69.145 + `configure' recognizes the following options to control how it
69.146 +operates.
69.147 +
69.148 +`--cache-file=FILE'
69.149 + Use and save the results of the tests in FILE instead of
69.150 + `./config.cache'. Set FILE to `/dev/null' to disable caching, for
69.151 + debugging `configure'.
69.152 +
69.153 +`--help'
69.154 + Print a summary of the options to `configure', and exit.
69.155 +
69.156 +`--quiet'
69.157 +`--silent'
69.158 +`-q'
69.159 + Do not print messages saying which checks are being made.
69.160 +
69.161 +`--srcdir=DIR'
69.162 + Look for the package's source code in directory DIR. Usually
69.163 + `configure' can determine that directory automatically.
69.164 +
69.165 +`--version'
69.166 + Print the version of Autoconf used to generate the `configure'
69.167 + script, and exit.
69.168 +
69.169 +`configure' also accepts some other, not widely useful, options.
69.170 +
70.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
70.2 +++ b/tools/picctldisplaytest/Makefile.am Tue Jan 29 22:31:52 2008 +0100
70.3 @@ -0,0 +1,5 @@
70.4 +# not a GNU package. You can remove this line, if
70.5 +# have all needed files, that a GNU package needs
70.6 +AUTOMAKE_OPTIONS = foreign 1.4
70.7 +
70.8 +SUBDIRS = src
71.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
71.2 +++ b/tools/picctldisplaytest/Makefile.cvs Tue Jan 29 22:31:52 2008 +0100
71.3 @@ -0,0 +1,8 @@
71.4 +default: all
71.5 +
71.6 +all:
71.7 + aclocal
71.8 + autoheader
71.9 + automake
71.10 + autoconf
71.11 +
72.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
72.2 +++ b/tools/picctldisplaytest/Makefile.in Tue Jan 29 22:31:52 2008 +0100
72.3 @@ -0,0 +1,634 @@
72.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
72.5 +# @configure_input@
72.6 +
72.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
72.8 +# 2003, 2004, 2005 Free Software Foundation, Inc.
72.9 +# This Makefile.in is free software; the Free Software Foundation
72.10 +# gives unlimited permission to copy and/or distribute it,
72.11 +# with or without modifications, as long as this notice is preserved.
72.12 +
72.13 +# This program is distributed in the hope that it will be useful,
72.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
72.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
72.16 +# PARTICULAR PURPOSE.
72.17 +
72.18 +@SET_MAKE@
72.19 +srcdir = @srcdir@
72.20 +top_srcdir = @top_srcdir@
72.21 +VPATH = @srcdir@
72.22 +pkgdatadir = $(datadir)/@PACKAGE@
72.23 +pkglibdir = $(libdir)/@PACKAGE@
72.24 +pkgincludedir = $(includedir)/@PACKAGE@
72.25 +top_builddir = .
72.26 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
72.27 +INSTALL = @INSTALL@
72.28 +install_sh_DATA = $(install_sh) -c -m 644
72.29 +install_sh_PROGRAM = $(install_sh) -c
72.30 +install_sh_SCRIPT = $(install_sh) -c
72.31 +INSTALL_HEADER = $(INSTALL_DATA)
72.32 +transform = $(program_transform_name)
72.33 +NORMAL_INSTALL = :
72.34 +PRE_INSTALL = :
72.35 +POST_INSTALL = :
72.36 +NORMAL_UNINSTALL = :
72.37 +PRE_UNINSTALL = :
72.38 +POST_UNINSTALL = :
72.39 +build_triplet = @build@
72.40 +host_triplet = @host@
72.41 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
72.42 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
72.43 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
72.44 + TODO config.guess config.sub depcomp install-sh ltmain.sh \
72.45 + missing mkinstalldirs
72.46 +subdir = .
72.47 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
72.48 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
72.49 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
72.50 + $(ACLOCAL_M4)
72.51 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
72.52 + configure.lineno configure.status.lineno
72.53 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
72.54 +CONFIG_HEADER = config.h
72.55 +CONFIG_CLEAN_FILES =
72.56 +AM_LIBTOOL_SILENT = $(if $(V),,--silent)
72.57 +AM_VERBOSE_CC = $(if $(V),,@echo " CC " $@;)
72.58 +AM_VERBOSE_CCLD = $(if $(V),,@echo " CCLD " $@;)
72.59 +AM_VERBOSE_CXX = $(if $(V),,@echo " CXX " $@;)
72.60 +AM_VERBOSE_CXXLD = $(if $(V),,@echo " CXXLD " $@;)
72.61 +AM_VERBOSE_OBJC = $(if $(V),,@echo " OBJC " $@;)
72.62 +AM_VERBOSE_OBJCLD = $(if $(V),,@echo " OBJCLD " $@;)
72.63 +AM_VERBOSE_YACC = $(if $(V),,@echo " YACC " $@;)
72.64 +AM_VERBOSE_LEX = $(if $(V),,@echo " LEX " $@;)
72.65 +AM_VERBOSE_AS = $(if $(V),,@echo " AS " $@;)
72.66 +AM_VERBOSE_F77 = $(if $(V),,@echo " F77 " $@;)
72.67 +AM_VERBOSE_F77LD = $(if $(V),,@echo " F77LD " $@;)
72.68 +AM_VERBOSE_FC = $(if $(V),,@echo " FC " $@;)
72.69 +AM_VERBOSE_FCLD = $(if $(V),,@echo " FCLD " $@;)
72.70 +AM_VERBOSE_GCJ = $(if $(V),,@echo " GCJ " $@;)
72.71 +AM_VERBOSE_GCJLD = $(if $(V),,@echo " GCJLD " $@;)
72.72 +AM_VERBOSE_GEN = $(if $(V),,@echo " GEN " $@;)
72.73 +SOURCES =
72.74 +DIST_SOURCES =
72.75 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
72.76 + html-recursive info-recursive install-data-recursive \
72.77 + install-exec-recursive install-info-recursive \
72.78 + install-recursive installcheck-recursive installdirs-recursive \
72.79 + pdf-recursive ps-recursive uninstall-info-recursive \
72.80 + uninstall-recursive
72.81 +ETAGS = etags
72.82 +CTAGS = ctags
72.83 +DIST_SUBDIRS = $(SUBDIRS)
72.84 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72.85 +distdir = $(PACKAGE)-$(VERSION)
72.86 +top_distdir = $(distdir)
72.87 +am__remove_distdir = \
72.88 + { test ! -d $(distdir) \
72.89 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
72.90 + && rm -fr $(distdir); }; }
72.91 +DIST_ARCHIVES = $(distdir).tar.gz
72.92 +GZIP_ENV = --best
72.93 +distuninstallcheck_listfiles = find . -type f -print
72.94 +distcleancheck_listfiles = find . -type f -print
72.95 +ACLOCAL = @ACLOCAL@
72.96 +AMDEP_FALSE = @AMDEP_FALSE@
72.97 +AMDEP_TRUE = @AMDEP_TRUE@
72.98 +AMTAR = @AMTAR@
72.99 +AR = @AR@
72.100 +AUTOCONF = @AUTOCONF@
72.101 +AUTOHEADER = @AUTOHEADER@
72.102 +AUTOMAKE = @AUTOMAKE@
72.103 +AWK = @AWK@
72.104 +CC = @CC@
72.105 +CCDEPMODE = @CCDEPMODE@
72.106 +CFLAGS = @CFLAGS@
72.107 +CPP = @CPP@
72.108 +CPPFLAGS = @CPPFLAGS@
72.109 +CXX = @CXX@
72.110 +CXXCPP = @CXXCPP@
72.111 +CXXDEPMODE = @CXXDEPMODE@
72.112 +CXXFLAGS = @CXXFLAGS@
72.113 +CYGPATH_W = @CYGPATH_W@
72.114 +DEFS = @DEFS@
72.115 +DEPDIR = @DEPDIR@
72.116 +ECHO = @ECHO@
72.117 +ECHO_C = @ECHO_C@
72.118 +ECHO_N = @ECHO_N@
72.119 +ECHO_T = @ECHO_T@
72.120 +EGREP = @EGREP@
72.121 +EXEEXT = @EXEEXT@
72.122 +F77 = @F77@
72.123 +FFLAGS = @FFLAGS@
72.124 +GREP = @GREP@
72.125 +INSTALL_DATA = @INSTALL_DATA@
72.126 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
72.127 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
72.128 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
72.129 +LDFLAGS = @LDFLAGS@
72.130 +LIBOBJS = @LIBOBJS@
72.131 +LIBS = @LIBS@
72.132 +LIBTOOL = @LIBTOOL@
72.133 +LN_S = @LN_S@
72.134 +LTLIBOBJS = @LTLIBOBJS@
72.135 +MAKEINFO = @MAKEINFO@
72.136 +OBJEXT = @OBJEXT@
72.137 +PACKAGE = @PACKAGE@
72.138 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
72.139 +PACKAGE_NAME = @PACKAGE_NAME@
72.140 +PACKAGE_STRING = @PACKAGE_STRING@
72.141 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
72.142 +PACKAGE_VERSION = @PACKAGE_VERSION@
72.143 +PATH_SEPARATOR = @PATH_SEPARATOR@
72.144 +RANLIB = @RANLIB@
72.145 +SET_MAKE = @SET_MAKE@
72.146 +SHELL = @SHELL@
72.147 +STRIP = @STRIP@
72.148 +VERSION = @VERSION@
72.149 +ac_ct_CC = @ac_ct_CC@
72.150 +ac_ct_CXX = @ac_ct_CXX@
72.151 +ac_ct_F77 = @ac_ct_F77@
72.152 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
72.153 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
72.154 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
72.155 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
72.156 +am__include = @am__include@
72.157 +am__leading_dot = @am__leading_dot@
72.158 +am__quote = @am__quote@
72.159 +am__tar = @am__tar@
72.160 +am__untar = @am__untar@
72.161 +bindir = @bindir@
72.162 +build = @build@
72.163 +build_alias = @build_alias@
72.164 +build_cpu = @build_cpu@
72.165 +build_os = @build_os@
72.166 +build_vendor = @build_vendor@
72.167 +datadir = @datadir@
72.168 +datarootdir = @datarootdir@
72.169 +docdir = @docdir@
72.170 +dvidir = @dvidir@
72.171 +exec_prefix = @exec_prefix@
72.172 +host = @host@
72.173 +host_alias = @host_alias@
72.174 +host_cpu = @host_cpu@
72.175 +host_os = @host_os@
72.176 +host_vendor = @host_vendor@
72.177 +htmldir = @htmldir@
72.178 +includedir = @includedir@
72.179 +infodir = @infodir@
72.180 +install_sh = @install_sh@
72.181 +libdir = @libdir@
72.182 +libexecdir = @libexecdir@
72.183 +localedir = @localedir@
72.184 +localstatedir = @localstatedir@
72.185 +mandir = @mandir@
72.186 +mkdir_p = @mkdir_p@
72.187 +oldincludedir = @oldincludedir@
72.188 +pdfdir = @pdfdir@
72.189 +prefix = @prefix@
72.190 +program_transform_name = @program_transform_name@
72.191 +psdir = @psdir@
72.192 +sbindir = @sbindir@
72.193 +sharedstatedir = @sharedstatedir@
72.194 +sysconfdir = @sysconfdir@
72.195 +target_alias = @target_alias@
72.196 +
72.197 +# not a GNU package. You can remove this line, if
72.198 +# have all needed files, that a GNU package needs
72.199 +AUTOMAKE_OPTIONS = foreign 1.4
72.200 +SUBDIRS = src
72.201 +all: config.h
72.202 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
72.203 +
72.204 +.SUFFIXES:
72.205 +am--refresh:
72.206 + @:
72.207 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
72.208 + @for dep in $?; do \
72.209 + case '$(am__configure_deps)' in \
72.210 + *$$dep*) \
72.211 + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
72.212 + cd $(srcdir) && $(AUTOMAKE) --foreign \
72.213 + && exit 0; \
72.214 + exit 1;; \
72.215 + esac; \
72.216 + done; \
72.217 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
72.218 + cd $(top_srcdir) && \
72.219 + $(AUTOMAKE) --foreign Makefile
72.220 +.PRECIOUS: Makefile
72.221 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
72.222 + @case '$?' in \
72.223 + *config.status*) \
72.224 + echo ' $(SHELL) ./config.status'; \
72.225 + $(SHELL) ./config.status;; \
72.226 + *) \
72.227 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
72.228 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
72.229 + esac;
72.230 +
72.231 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
72.232 + $(SHELL) ./config.status --recheck
72.233 +
72.234 +$(top_srcdir)/configure: $(am__configure_deps)
72.235 + cd $(srcdir) && $(AUTOCONF)
72.236 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
72.237 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
72.238 +
72.239 +config.h: stamp-h1
72.240 + @if test ! -f $@; then \
72.241 + rm -f stamp-h1; \
72.242 + $(MAKE) stamp-h1; \
72.243 + else :; fi
72.244 +
72.245 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
72.246 + @rm -f stamp-h1
72.247 + cd $(top_builddir) && $(SHELL) ./config.status config.h
72.248 +$(srcdir)/config.h.in: $(am__configure_deps)
72.249 + cd $(top_srcdir) && $(AUTOHEADER)
72.250 + rm -f stamp-h1
72.251 + touch $@
72.252 +
72.253 +distclean-hdr:
72.254 + -rm -f config.h stamp-h1
72.255 +
72.256 +mostlyclean-libtool:
72.257 + -rm -f *.lo
72.258 +
72.259 +clean-libtool:
72.260 + -rm -rf .libs _libs
72.261 +
72.262 +distclean-libtool:
72.263 + -rm -f libtool
72.264 +uninstall-info-am:
72.265 +
72.266 +# This directory's subdirectories are mostly independent; you can cd
72.267 +# into them and run `make' without going through this Makefile.
72.268 +# To change the values of `make' variables: instead of editing Makefiles,
72.269 +# (1) if the variable is set in `config.status', edit `config.status'
72.270 +# (which will cause the Makefiles to be regenerated when you run `make');
72.271 +# (2) otherwise, pass the desired values on the `make' command line.
72.272 +$(RECURSIVE_TARGETS):
72.273 + @failcom='exit 1'; \
72.274 + for f in x $$MAKEFLAGS; do \
72.275 + case $$f in \
72.276 + *=* | --[!k]*);; \
72.277 + *k*) failcom='fail=yes';; \
72.278 + esac; \
72.279 + done; \
72.280 + dot_seen=no; \
72.281 + target=`echo $@ | sed s/-recursive//`; \
72.282 + list='$(SUBDIRS)'; for subdir in $$list; do \
72.283 + echo "Making $$target in $$subdir"; \
72.284 + if test "$$subdir" = "."; then \
72.285 + dot_seen=yes; \
72.286 + local_target="$$target-am"; \
72.287 + else \
72.288 + local_target="$$target"; \
72.289 + fi; \
72.290 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
72.291 + || eval $$failcom; \
72.292 + done; \
72.293 + if test "$$dot_seen" = "no"; then \
72.294 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
72.295 + fi; test -z "$$fail"
72.296 +
72.297 +mostlyclean-recursive clean-recursive distclean-recursive \
72.298 +maintainer-clean-recursive:
72.299 + @failcom='exit 1'; \
72.300 + for f in x $$MAKEFLAGS; do \
72.301 + case $$f in \
72.302 + *=* | --[!k]*);; \
72.303 + *k*) failcom='fail=yes';; \
72.304 + esac; \
72.305 + done; \
72.306 + dot_seen=no; \
72.307 + case "$@" in \
72.308 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
72.309 + *) list='$(SUBDIRS)' ;; \
72.310 + esac; \
72.311 + rev=''; for subdir in $$list; do \
72.312 + if test "$$subdir" = "."; then :; else \
72.313 + rev="$$subdir $$rev"; \
72.314 + fi; \
72.315 + done; \
72.316 + rev="$$rev ."; \
72.317 + target=`echo $@ | sed s/-recursive//`; \
72.318 + for subdir in $$rev; do \
72.319 + echo "Making $$target in $$subdir"; \
72.320 + if test "$$subdir" = "."; then \
72.321 + local_target="$$target-am"; \
72.322 + else \
72.323 + local_target="$$target"; \
72.324 + fi; \
72.325 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
72.326 + || eval $$failcom; \
72.327 + done && test -z "$$fail"
72.328 +tags-recursive:
72.329 + list='$(SUBDIRS)'; for subdir in $$list; do \
72.330 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
72.331 + done
72.332 +ctags-recursive:
72.333 + list='$(SUBDIRS)'; for subdir in $$list; do \
72.334 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
72.335 + done
72.336 +
72.337 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
72.338 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
72.339 + unique=`for i in $$list; do \
72.340 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
72.341 + done | \
72.342 + $(AWK) ' { files[$$0] = 1; } \
72.343 + END { for (i in files) print i; }'`; \
72.344 + mkid -fID $$unique
72.345 +tags: TAGS
72.346 +
72.347 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
72.348 + $(TAGS_FILES) $(LISP)
72.349 + tags=; \
72.350 + here=`pwd`; \
72.351 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
72.352 + include_option=--etags-include; \
72.353 + empty_fix=.; \
72.354 + else \
72.355 + include_option=--include; \
72.356 + empty_fix=; \
72.357 + fi; \
72.358 + list='$(SUBDIRS)'; for subdir in $$list; do \
72.359 + if test "$$subdir" = .; then :; else \
72.360 + test ! -f $$subdir/TAGS || \
72.361 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
72.362 + fi; \
72.363 + done; \
72.364 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
72.365 + unique=`for i in $$list; do \
72.366 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
72.367 + done | \
72.368 + $(AWK) ' { files[$$0] = 1; } \
72.369 + END { for (i in files) print i; }'`; \
72.370 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
72.371 + test -n "$$unique" || unique=$$empty_fix; \
72.372 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
72.373 + $$tags $$unique; \
72.374 + fi
72.375 +ctags: CTAGS
72.376 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
72.377 + $(TAGS_FILES) $(LISP)
72.378 + tags=; \
72.379 + here=`pwd`; \
72.380 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
72.381 + unique=`for i in $$list; do \
72.382 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
72.383 + done | \
72.384 + $(AWK) ' { files[$$0] = 1; } \
72.385 + END { for (i in files) print i; }'`; \
72.386 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
72.387 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
72.388 + $$tags $$unique
72.389 +
72.390 +GTAGS:
72.391 + here=`$(am__cd) $(top_builddir) && pwd` \
72.392 + && cd $(top_srcdir) \
72.393 + && gtags -i $(GTAGS_ARGS) $$here
72.394 +
72.395 +distclean-tags:
72.396 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
72.397 +
72.398 +distdir: $(DISTFILES)
72.399 + $(am__remove_distdir)
72.400 + mkdir $(distdir)
72.401 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
72.402 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
72.403 + list='$(DISTFILES)'; for file in $$list; do \
72.404 + case $$file in \
72.405 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
72.406 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
72.407 + esac; \
72.408 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
72.409 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
72.410 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
72.411 + dir="/$$dir"; \
72.412 + $(mkdir_p) "$(distdir)$$dir"; \
72.413 + else \
72.414 + dir=''; \
72.415 + fi; \
72.416 + if test -d $$d/$$file; then \
72.417 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
72.418 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
72.419 + fi; \
72.420 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
72.421 + else \
72.422 + test -f $(distdir)/$$file \
72.423 + || cp -p $$d/$$file $(distdir)/$$file \
72.424 + || exit 1; \
72.425 + fi; \
72.426 + done
72.427 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
72.428 + if test "$$subdir" = .; then :; else \
72.429 + test -d "$(distdir)/$$subdir" \
72.430 + || $(mkdir_p) "$(distdir)/$$subdir" \
72.431 + || exit 1; \
72.432 + distdir=`$(am__cd) $(distdir) && pwd`; \
72.433 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
72.434 + (cd $$subdir && \
72.435 + $(MAKE) $(AM_MAKEFLAGS) \
72.436 + top_distdir="$$top_distdir" \
72.437 + distdir="$$distdir/$$subdir" \
72.438 + distdir) \
72.439 + || exit 1; \
72.440 + fi; \
72.441 + done
72.442 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
72.443 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
72.444 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
72.445 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
72.446 + || chmod -R a+r $(distdir)
72.447 +dist-gzip: distdir
72.448 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
72.449 + $(am__remove_distdir)
72.450 +
72.451 +dist-bzip2: distdir
72.452 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
72.453 + $(am__remove_distdir)
72.454 +
72.455 +dist-tarZ: distdir
72.456 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
72.457 + $(am__remove_distdir)
72.458 +
72.459 +dist-shar: distdir
72.460 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
72.461 + $(am__remove_distdir)
72.462 +
72.463 +dist-zip: distdir
72.464 + -rm -f $(distdir).zip
72.465 + zip -rq $(distdir).zip $(distdir)
72.466 + $(am__remove_distdir)
72.467 +
72.468 +dist dist-all: distdir
72.469 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
72.470 + $(am__remove_distdir)
72.471 +
72.472 +# This target untars the dist file and tries a VPATH configuration. Then
72.473 +# it guarantees that the distribution is self-contained by making another
72.474 +# tarfile.
72.475 +distcheck: dist
72.476 + case '$(DIST_ARCHIVES)' in \
72.477 + *.tar.gz*) \
72.478 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
72.479 + *.tar.bz2*) \
72.480 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
72.481 + *.tar.Z*) \
72.482 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
72.483 + *.shar.gz*) \
72.484 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
72.485 + *.zip*) \
72.486 + unzip $(distdir).zip ;;\
72.487 + esac
72.488 + chmod -R a-w $(distdir); chmod a+w $(distdir)
72.489 + mkdir $(distdir)/_build
72.490 + mkdir $(distdir)/_inst
72.491 + chmod a-w $(distdir)
72.492 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
72.493 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
72.494 + && cd $(distdir)/_build \
72.495 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
72.496 + $(DISTCHECK_CONFIGURE_FLAGS) \
72.497 + && $(MAKE) $(AM_MAKEFLAGS) \
72.498 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
72.499 + && $(MAKE) $(AM_MAKEFLAGS) check \
72.500 + && $(MAKE) $(AM_MAKEFLAGS) install \
72.501 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
72.502 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
72.503 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
72.504 + distuninstallcheck \
72.505 + && chmod -R a-w "$$dc_install_base" \
72.506 + && ({ \
72.507 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
72.508 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
72.509 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
72.510 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
72.511 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
72.512 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
72.513 + && rm -rf "$$dc_destdir" \
72.514 + && $(MAKE) $(AM_MAKEFLAGS) dist \
72.515 + && rm -rf $(DIST_ARCHIVES) \
72.516 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
72.517 + $(am__remove_distdir)
72.518 + @(echo "$(distdir) archives ready for distribution: "; \
72.519 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
72.520 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
72.521 +distuninstallcheck:
72.522 + @cd $(distuninstallcheck_dir) \
72.523 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
72.524 + || { echo "ERROR: files left after uninstall:" ; \
72.525 + if test -n "$(DESTDIR)"; then \
72.526 + echo " (check DESTDIR support)"; \
72.527 + fi ; \
72.528 + $(distuninstallcheck_listfiles) ; \
72.529 + exit 1; } >&2
72.530 +distcleancheck: distclean
72.531 + @if test '$(srcdir)' = . ; then \
72.532 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
72.533 + exit 1 ; \
72.534 + fi
72.535 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
72.536 + || { echo "ERROR: files left in build directory after distclean:" ; \
72.537 + $(distcleancheck_listfiles) ; \
72.538 + exit 1; } >&2
72.539 +check-am: all-am
72.540 +check: check-recursive
72.541 +all-am: Makefile config.h
72.542 +installdirs: installdirs-recursive
72.543 +installdirs-am:
72.544 +install: install-recursive
72.545 +install-exec: install-exec-recursive
72.546 +install-data: install-data-recursive
72.547 +uninstall: uninstall-recursive
72.548 +
72.549 +install-am: all-am
72.550 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
72.551 +
72.552 +installcheck: installcheck-recursive
72.553 +install-strip:
72.554 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
72.555 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
72.556 + `test -z '$(STRIP)' || \
72.557 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
72.558 +mostlyclean-generic:
72.559 +
72.560 +clean-generic:
72.561 +
72.562 +distclean-generic:
72.563 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
72.564 +
72.565 +maintainer-clean-generic:
72.566 + @echo "This command is intended for maintainers to use"
72.567 + @echo "it deletes files that may require special tools to rebuild."
72.568 +clean: clean-recursive
72.569 +
72.570 +clean-am: clean-generic clean-libtool mostlyclean-am
72.571 +
72.572 +distclean: distclean-recursive
72.573 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
72.574 + -rm -f Makefile
72.575 +distclean-am: clean-am distclean-generic distclean-hdr \
72.576 + distclean-libtool distclean-tags
72.577 +
72.578 +dvi: dvi-recursive
72.579 +
72.580 +dvi-am:
72.581 +
72.582 +html: html-recursive
72.583 +
72.584 +info: info-recursive
72.585 +
72.586 +info-am:
72.587 +
72.588 +install-data-am:
72.589 +
72.590 +install-exec-am:
72.591 +
72.592 +install-info: install-info-recursive
72.593 +
72.594 +install-man:
72.595 +
72.596 +installcheck-am:
72.597 +
72.598 +maintainer-clean: maintainer-clean-recursive
72.599 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
72.600 + -rm -rf $(top_srcdir)/autom4te.cache
72.601 + -rm -f Makefile
72.602 +maintainer-clean-am: distclean-am maintainer-clean-generic
72.603 +
72.604 +mostlyclean: mostlyclean-recursive
72.605 +
72.606 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
72.607 +
72.608 +pdf: pdf-recursive
72.609 +
72.610 +pdf-am:
72.611 +
72.612 +ps: ps-recursive
72.613 +
72.614 +ps-am:
72.615 +
72.616 +uninstall-am: uninstall-info-am
72.617 +
72.618 +uninstall-info: uninstall-info-recursive
72.619 +
72.620 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
72.621 + check-am clean clean-generic clean-libtool clean-recursive \
72.622 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
72.623 + dist-shar dist-tarZ dist-zip distcheck distclean \
72.624 + distclean-generic distclean-hdr distclean-libtool \
72.625 + distclean-recursive distclean-tags distcleancheck distdir \
72.626 + distuninstallcheck dvi dvi-am html html-am info info-am \
72.627 + install install-am install-data install-data-am install-exec \
72.628 + install-exec-am install-info install-info-am install-man \
72.629 + install-strip installcheck installcheck-am installdirs \
72.630 + installdirs-am maintainer-clean maintainer-clean-generic \
72.631 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
72.632 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
72.633 + tags tags-recursive uninstall uninstall-am uninstall-info-am
72.634 +
72.635 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
72.636 +# Otherwise a system limit (for SysV at least) may be exceeded.
72.637 +.NOEXPORT:
73.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
73.2 +++ b/tools/picctldisplaytest/README Tue Jan 29 22:31:52 2008 +0100
73.3 @@ -0,0 +1,36 @@
73.4 +picctldisplaytest - A simple utility to test a picctl display.
73.5 +
73.6 +If you don't know, what a picctl display is, see:
73.7 +http://vdr-portal.de/board/thread.php?threadid=71942
73.8 +
73.9 +Command line options:
73.10 +d DEVICE
73.11 + use DEVICE as display device
73.12 + Example:
73.13 + picctldisplaytest d /dev/ttyACM1
73.14 +v VERBOSITY
73.15 + set level of verbosity (0-2)
73.16 + Example:
73.17 + picctldisplaytest v 1
73.18 +D
73.19 + run in debugging mode (very verbose)
73.20 +
73.21 +picctldisplaytest always runs in interactive mode. To execute
73.22 +a command enter the corresponding key and hit enter. Use h<Enter>
73.23 +to get a list of available commands.
73.24 +
73.25 +To execute several commands at once enter the corresponding
73.26 +charactes separated by a (and exactly one) space.
73.27 +Example:
73.28 +Set PWM1 to 50%, Clear Display, Send Test string 1
73.29 +d c 1<Enter>
73.30 +
73.31 +Known Bugs:
73.32 +Currently the display connections dies every now and then.
73.33 +To re-establish the connection, unplug and replug your
73.34 +display, or, if your display is in unmanaged mode, wait
73.35 +till it turns dim.
73.36 +
73.37 +Copyrights:
73.38 +picctldisplaytest (c) 2008 Peter Marquardt p_marquardt@users.sourceforge.net
73.39 +picctl Hardware (c) 2008 Carsten Presser
74.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
74.2 +++ b/tools/picctldisplaytest/aclocal.m4 Tue Jan 29 22:31:52 2008 +0100
74.3 @@ -0,0 +1,7239 @@
74.4 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
74.5 +
74.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
74.7 +# 2005 Free Software Foundation, Inc.
74.8 +# This file is free software; the Free Software Foundation
74.9 +# gives unlimited permission to copy and/or distribute it,
74.10 +# with or without modifications, as long as this notice is preserved.
74.11 +
74.12 +# This program is distributed in the hope that it will be useful,
74.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
74.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
74.15 +# PARTICULAR PURPOSE.
74.16 +
74.17 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
74.18 +
74.19 +# serial 48 AC_PROG_LIBTOOL
74.20 +
74.21 +
74.22 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
74.23 +# -----------------------------------------------------------
74.24 +# If this macro is not defined by Autoconf, define it here.
74.25 +m4_ifdef([AC_PROVIDE_IFELSE],
74.26 + [],
74.27 + [m4_define([AC_PROVIDE_IFELSE],
74.28 + [m4_ifdef([AC_PROVIDE_$1],
74.29 + [$2], [$3])])])
74.30 +
74.31 +
74.32 +# AC_PROG_LIBTOOL
74.33 +# ---------------
74.34 +AC_DEFUN([AC_PROG_LIBTOOL],
74.35 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
74.36 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
74.37 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
74.38 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
74.39 + [AC_LIBTOOL_CXX],
74.40 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
74.41 + ])])
74.42 +dnl And a similar setup for Fortran 77 support
74.43 + AC_PROVIDE_IFELSE([AC_PROG_F77],
74.44 + [AC_LIBTOOL_F77],
74.45 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
74.46 +])])
74.47 +
74.48 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
74.49 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
74.50 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
74.51 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
74.52 + [AC_LIBTOOL_GCJ],
74.53 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
74.54 + [AC_LIBTOOL_GCJ],
74.55 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
74.56 + [AC_LIBTOOL_GCJ],
74.57 + [ifdef([AC_PROG_GCJ],
74.58 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
74.59 + ifdef([A][M_PROG_GCJ],
74.60 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
74.61 + ifdef([LT_AC_PROG_GCJ],
74.62 + [define([LT_AC_PROG_GCJ],
74.63 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
74.64 +])])# AC_PROG_LIBTOOL
74.65 +
74.66 +
74.67 +# _AC_PROG_LIBTOOL
74.68 +# ----------------
74.69 +AC_DEFUN([_AC_PROG_LIBTOOL],
74.70 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
74.71 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
74.72 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
74.73 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
74.74 +
74.75 +# This can be used to rebuild libtool when needed
74.76 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
74.77 +
74.78 +# Always use our own libtool.
74.79 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
74.80 +AC_SUBST(LIBTOOL)dnl
74.81 +
74.82 +# Prevent multiple expansion
74.83 +define([AC_PROG_LIBTOOL], [])
74.84 +])# _AC_PROG_LIBTOOL
74.85 +
74.86 +
74.87 +# AC_LIBTOOL_SETUP
74.88 +# ----------------
74.89 +AC_DEFUN([AC_LIBTOOL_SETUP],
74.90 +[AC_PREREQ(2.50)dnl
74.91 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
74.92 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
74.93 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
74.94 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
74.95 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
74.96 +AC_REQUIRE([AC_PROG_CC])dnl
74.97 +AC_REQUIRE([AC_PROG_LD])dnl
74.98 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
74.99 +AC_REQUIRE([AC_PROG_NM])dnl
74.100 +
74.101 +AC_REQUIRE([AC_PROG_LN_S])dnl
74.102 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
74.103 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
74.104 +AC_REQUIRE([AC_OBJEXT])dnl
74.105 +AC_REQUIRE([AC_EXEEXT])dnl
74.106 +dnl
74.107 +
74.108 +AC_LIBTOOL_SYS_MAX_CMD_LEN
74.109 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
74.110 +AC_LIBTOOL_OBJDIR
74.111 +
74.112 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
74.113 +_LT_AC_PROG_ECHO_BACKSLASH
74.114 +
74.115 +case $host_os in
74.116 +aix3*)
74.117 + # AIX sometimes has problems with the GCC collect2 program. For some
74.118 + # reason, if we set the COLLECT_NAMES environment variable, the problems
74.119 + # vanish in a puff of smoke.
74.120 + if test "X${COLLECT_NAMES+set}" != Xset; then
74.121 + COLLECT_NAMES=
74.122 + export COLLECT_NAMES
74.123 + fi
74.124 + ;;
74.125 +esac
74.126 +
74.127 +# Sed substitution that helps us do robust quoting. It backslashifies
74.128 +# metacharacters that are still active within double-quoted strings.
74.129 +Xsed='sed -e 1s/^X//'
74.130 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
74.131 +
74.132 +# Same as above, but do not quote variable references.
74.133 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
74.134 +
74.135 +# Sed substitution to delay expansion of an escaped shell variable in a
74.136 +# double_quote_subst'ed string.
74.137 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
74.138 +
74.139 +# Sed substitution to avoid accidental globbing in evaled expressions
74.140 +no_glob_subst='s/\*/\\\*/g'
74.141 +
74.142 +# Constants:
74.143 +rm="rm -f"
74.144 +
74.145 +# Global variables:
74.146 +default_ofile=libtool
74.147 +can_build_shared=yes
74.148 +
74.149 +# All known linkers require a `.a' archive for static linking (except MSVC,
74.150 +# which needs '.lib').
74.151 +libext=a
74.152 +ltmain="$ac_aux_dir/ltmain.sh"
74.153 +ofile="$default_ofile"
74.154 +with_gnu_ld="$lt_cv_prog_gnu_ld"
74.155 +
74.156 +AC_CHECK_TOOL(AR, ar, false)
74.157 +AC_CHECK_TOOL(RANLIB, ranlib, :)
74.158 +AC_CHECK_TOOL(STRIP, strip, :)
74.159 +
74.160 +old_CC="$CC"
74.161 +old_CFLAGS="$CFLAGS"
74.162 +
74.163 +# Set sane defaults for various variables
74.164 +test -z "$AR" && AR=ar
74.165 +test -z "$AR_FLAGS" && AR_FLAGS=cru
74.166 +test -z "$AS" && AS=as
74.167 +test -z "$CC" && CC=cc
74.168 +test -z "$LTCC" && LTCC=$CC
74.169 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
74.170 +test -z "$DLLTOOL" && DLLTOOL=dlltool
74.171 +test -z "$LD" && LD=ld
74.172 +test -z "$LN_S" && LN_S="ln -s"
74.173 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
74.174 +test -z "$NM" && NM=nm
74.175 +test -z "$SED" && SED=sed
74.176 +test -z "$OBJDUMP" && OBJDUMP=objdump
74.177 +test -z "$RANLIB" && RANLIB=:
74.178 +test -z "$STRIP" && STRIP=:
74.179 +test -z "$ac_objext" && ac_objext=o
74.180 +
74.181 +# Determine commands to create old-style static archives.
74.182 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
74.183 +old_postinstall_cmds='chmod 644 $oldlib'
74.184 +old_postuninstall_cmds=
74.185 +
74.186 +if test -n "$RANLIB"; then
74.187 + case $host_os in
74.188 + openbsd*)
74.189 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
74.190 + ;;
74.191 + *)
74.192 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
74.193 + ;;
74.194 + esac
74.195 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
74.196 +fi
74.197 +
74.198 +_LT_CC_BASENAME([$compiler])
74.199 +
74.200 +# Only perform the check for file, if the check method requires it
74.201 +case $deplibs_check_method in
74.202 +file_magic*)
74.203 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
74.204 + AC_PATH_MAGIC
74.205 + fi
74.206 + ;;
74.207 +esac
74.208 +
74.209 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
74.210 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
74.211 +enable_win32_dll=yes, enable_win32_dll=no)
74.212 +
74.213 +AC_ARG_ENABLE([libtool-lock],
74.214 + [AC_HELP_STRING([--disable-libtool-lock],
74.215 + [avoid locking (might break parallel builds)])])
74.216 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
74.217 +
74.218 +AC_ARG_WITH([pic],
74.219 + [AC_HELP_STRING([--with-pic],
74.220 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
74.221 + [pic_mode="$withval"],
74.222 + [pic_mode=default])
74.223 +test -z "$pic_mode" && pic_mode=default
74.224 +
74.225 +# Use C for the default configuration in the libtool script
74.226 +tagname=
74.227 +AC_LIBTOOL_LANG_C_CONFIG
74.228 +_LT_AC_TAGCONFIG
74.229 +])# AC_LIBTOOL_SETUP
74.230 +
74.231 +
74.232 +# _LT_AC_SYS_COMPILER
74.233 +# -------------------
74.234 +AC_DEFUN([_LT_AC_SYS_COMPILER],
74.235 +[AC_REQUIRE([AC_PROG_CC])dnl
74.236 +
74.237 +# If no C compiler was specified, use CC.
74.238 +LTCC=${LTCC-"$CC"}
74.239 +
74.240 +# If no C compiler flags were specified, use CFLAGS.
74.241 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
74.242 +
74.243 +# Allow CC to be a program name with arguments.
74.244 +compiler=$CC
74.245 +])# _LT_AC_SYS_COMPILER
74.246 +
74.247 +
74.248 +# _LT_CC_BASENAME(CC)
74.249 +# -------------------
74.250 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
74.251 +AC_DEFUN([_LT_CC_BASENAME],
74.252 +[for cc_temp in $1""; do
74.253 + case $cc_temp in
74.254 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
74.255 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
74.256 + \-*) ;;
74.257 + *) break;;
74.258 + esac
74.259 +done
74.260 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
74.261 +])
74.262 +
74.263 +
74.264 +# _LT_COMPILER_BOILERPLATE
74.265 +# ------------------------
74.266 +# Check for compiler boilerplate output or warnings with
74.267 +# the simple compiler test code.
74.268 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
74.269 +[ac_outfile=conftest.$ac_objext
74.270 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
74.271 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
74.272 +_lt_compiler_boilerplate=`cat conftest.err`
74.273 +$rm conftest*
74.274 +])# _LT_COMPILER_BOILERPLATE
74.275 +
74.276 +
74.277 +# _LT_LINKER_BOILERPLATE
74.278 +# ----------------------
74.279 +# Check for linker boilerplate output or warnings with
74.280 +# the simple link test code.
74.281 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
74.282 +[ac_outfile=conftest.$ac_objext
74.283 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
74.284 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
74.285 +_lt_linker_boilerplate=`cat conftest.err`
74.286 +$rm conftest*
74.287 +])# _LT_LINKER_BOILERPLATE
74.288 +
74.289 +
74.290 +# _LT_AC_SYS_LIBPATH_AIX
74.291 +# ----------------------
74.292 +# Links a minimal program and checks the executable
74.293 +# for the system default hardcoded library path. In most cases,
74.294 +# this is /usr/lib:/lib, but when the MPI compilers are used
74.295 +# the location of the communication and MPI libs are included too.
74.296 +# If we don't find anything, use the default library path according
74.297 +# to the aix ld manual.
74.298 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
74.299 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
74.300 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
74.301 +}'`
74.302 +# Check for a 64-bit object if we didn't find anything.
74.303 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
74.304 +}'`; fi],[])
74.305 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
74.306 +])# _LT_AC_SYS_LIBPATH_AIX
74.307 +
74.308 +
74.309 +# _LT_AC_SHELL_INIT(ARG)
74.310 +# ----------------------
74.311 +AC_DEFUN([_LT_AC_SHELL_INIT],
74.312 +[ifdef([AC_DIVERSION_NOTICE],
74.313 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
74.314 + [AC_DIVERT_PUSH(NOTICE)])
74.315 +$1
74.316 +AC_DIVERT_POP
74.317 +])# _LT_AC_SHELL_INIT
74.318 +
74.319 +
74.320 +# _LT_AC_PROG_ECHO_BACKSLASH
74.321 +# --------------------------
74.322 +# Add some code to the start of the generated configure script which
74.323 +# will find an echo command which doesn't interpret backslashes.
74.324 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
74.325 +[_LT_AC_SHELL_INIT([
74.326 +# Check that we are running under the correct shell.
74.327 +SHELL=${CONFIG_SHELL-/bin/sh}
74.328 +
74.329 +case X$ECHO in
74.330 +X*--fallback-echo)
74.331 + # Remove one level of quotation (which was required for Make).
74.332 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
74.333 + ;;
74.334 +esac
74.335 +
74.336 +echo=${ECHO-echo}
74.337 +if test "X[$]1" = X--no-reexec; then
74.338 + # Discard the --no-reexec flag, and continue.
74.339 + shift
74.340 +elif test "X[$]1" = X--fallback-echo; then
74.341 + # Avoid inline document here, it may be left over
74.342 + :
74.343 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
74.344 + # Yippee, $echo works!
74.345 + :
74.346 +else
74.347 + # Restart under the correct shell.
74.348 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
74.349 +fi
74.350 +
74.351 +if test "X[$]1" = X--fallback-echo; then
74.352 + # used as fallback echo
74.353 + shift
74.354 + cat <<EOF
74.355 +[$]*
74.356 +EOF
74.357 + exit 0
74.358 +fi
74.359 +
74.360 +# The HP-UX ksh and POSIX shell print the target directory to stdout
74.361 +# if CDPATH is set.
74.362 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74.363 +
74.364 +if test -z "$ECHO"; then
74.365 +if test "X${echo_test_string+set}" != Xset; then
74.366 +# find a string as large as possible, as long as the shell can cope with it
74.367 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
74.368 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
74.369 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
74.370 + echo_test_string=`eval $cmd` &&
74.371 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
74.372 + then
74.373 + break
74.374 + fi
74.375 + done
74.376 +fi
74.377 +
74.378 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
74.379 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
74.380 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.381 + :
74.382 +else
74.383 + # The Solaris, AIX, and Digital Unix default echo programs unquote
74.384 + # backslashes. This makes it impossible to quote backslashes using
74.385 + # echo "$something" | sed 's/\\/\\\\/g'
74.386 + #
74.387 + # So, first we look for a working echo in the user's PATH.
74.388 +
74.389 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
74.390 + for dir in $PATH /usr/ucb; do
74.391 + IFS="$lt_save_ifs"
74.392 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
74.393 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
74.394 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
74.395 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.396 + echo="$dir/echo"
74.397 + break
74.398 + fi
74.399 + done
74.400 + IFS="$lt_save_ifs"
74.401 +
74.402 + if test "X$echo" = Xecho; then
74.403 + # We didn't find a better echo, so look for alternatives.
74.404 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
74.405 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
74.406 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.407 + # This shell has a builtin print -r that does the trick.
74.408 + echo='print -r'
74.409 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
74.410 + test "X$CONFIG_SHELL" != X/bin/ksh; then
74.411 + # If we have ksh, try running configure again with it.
74.412 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74.413 + export ORIGINAL_CONFIG_SHELL
74.414 + CONFIG_SHELL=/bin/ksh
74.415 + export CONFIG_SHELL
74.416 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
74.417 + else
74.418 + # Try using printf.
74.419 + echo='printf %s\n'
74.420 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
74.421 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
74.422 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.423 + # Cool, printf works
74.424 + :
74.425 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
74.426 + test "X$echo_testing_string" = 'X\t' &&
74.427 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
74.428 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.429 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
74.430 + export CONFIG_SHELL
74.431 + SHELL="$CONFIG_SHELL"
74.432 + export SHELL
74.433 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
74.434 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
74.435 + test "X$echo_testing_string" = 'X\t' &&
74.436 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
74.437 + test "X$echo_testing_string" = "X$echo_test_string"; then
74.438 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
74.439 + else
74.440 + # maybe with a smaller string...
74.441 + prev=:
74.442 +
74.443 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
74.444 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
74.445 + then
74.446 + break
74.447 + fi
74.448 + prev="$cmd"
74.449 + done
74.450 +
74.451 + if test "$prev" != 'sed 50q "[$]0"'; then
74.452 + echo_test_string=`eval $prev`
74.453 + export echo_test_string
74.454 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
74.455 + else
74.456 + # Oops. We lost completely, so just stick with echo.
74.457 + echo=echo
74.458 + fi
74.459 + fi
74.460 + fi
74.461 + fi
74.462 +fi
74.463 +fi
74.464 +
74.465 +# Copy echo and quote the copy suitably for passing to libtool from
74.466 +# the Makefile, instead of quoting the original, which is used later.
74.467 +ECHO=$echo
74.468 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
74.469 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
74.470 +fi
74.471 +
74.472 +AC_SUBST(ECHO)
74.473 +])])# _LT_AC_PROG_ECHO_BACKSLASH
74.474 +
74.475 +
74.476 +# _LT_AC_LOCK
74.477 +# -----------
74.478 +AC_DEFUN([_LT_AC_LOCK],
74.479 +[AC_ARG_ENABLE([libtool-lock],
74.480 + [AC_HELP_STRING([--disable-libtool-lock],
74.481 + [avoid locking (might break parallel builds)])])
74.482 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
74.483 +
74.484 +# Some flags need to be propagated to the compiler or linker for good
74.485 +# libtool support.
74.486 +case $host in
74.487 +ia64-*-hpux*)
74.488 + # Find out which ABI we are using.
74.489 + echo 'int i;' > conftest.$ac_ext
74.490 + if AC_TRY_EVAL(ac_compile); then
74.491 + case `/usr/bin/file conftest.$ac_objext` in
74.492 + *ELF-32*)
74.493 + HPUX_IA64_MODE="32"
74.494 + ;;
74.495 + *ELF-64*)
74.496 + HPUX_IA64_MODE="64"
74.497 + ;;
74.498 + esac
74.499 + fi
74.500 + rm -rf conftest*
74.501 + ;;
74.502 +*-*-irix6*)
74.503 + # Find out which ABI we are using.
74.504 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
74.505 + if AC_TRY_EVAL(ac_compile); then
74.506 + if test "$lt_cv_prog_gnu_ld" = yes; then
74.507 + case `/usr/bin/file conftest.$ac_objext` in
74.508 + *32-bit*)
74.509 + LD="${LD-ld} -melf32bsmip"
74.510 + ;;
74.511 + *N32*)
74.512 + LD="${LD-ld} -melf32bmipn32"
74.513 + ;;
74.514 + *64-bit*)
74.515 + LD="${LD-ld} -melf64bmip"
74.516 + ;;
74.517 + esac
74.518 + else
74.519 + case `/usr/bin/file conftest.$ac_objext` in
74.520 + *32-bit*)
74.521 + LD="${LD-ld} -32"
74.522 + ;;
74.523 + *N32*)
74.524 + LD="${LD-ld} -n32"
74.525 + ;;
74.526 + *64-bit*)
74.527 + LD="${LD-ld} -64"
74.528 + ;;
74.529 + esac
74.530 + fi
74.531 + fi
74.532 + rm -rf conftest*
74.533 + ;;
74.534 +
74.535 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
74.536 + # Find out which ABI we are using.
74.537 + echo 'int i;' > conftest.$ac_ext
74.538 + if AC_TRY_EVAL(ac_compile); then
74.539 + case `/usr/bin/file conftest.o` in
74.540 + *32-bit*)
74.541 + case $host in
74.542 + x86_64-*linux*)
74.543 + LD="${LD-ld} -m elf_i386"
74.544 + ;;
74.545 + ppc64-*linux*|powerpc64-*linux*)
74.546 + LD="${LD-ld} -m elf32ppclinux"
74.547 + ;;
74.548 + s390x-*linux*)
74.549 + LD="${LD-ld} -m elf_s390"
74.550 + ;;
74.551 + sparc64-*linux*)
74.552 + LD="${LD-ld} -m elf32_sparc"
74.553 + ;;
74.554 + esac
74.555 + ;;
74.556 + *64-bit*)
74.557 + case $host in
74.558 + x86_64-*linux*)
74.559 + LD="${LD-ld} -m elf_x86_64"
74.560 + ;;
74.561 + ppc*-*linux*|powerpc*-*linux*)
74.562 + LD="${LD-ld} -m elf64ppc"
74.563 + ;;
74.564 + s390*-*linux*)
74.565 + LD="${LD-ld} -m elf64_s390"
74.566 + ;;
74.567 + sparc*-*linux*)
74.568 + LD="${LD-ld} -m elf64_sparc"
74.569 + ;;
74.570 + esac
74.571 + ;;
74.572 + esac
74.573 + fi
74.574 + rm -rf conftest*
74.575 + ;;
74.576 +
74.577 +*-*-sco3.2v5*)
74.578 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
74.579 + SAVE_CFLAGS="$CFLAGS"
74.580 + CFLAGS="$CFLAGS -belf"
74.581 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
74.582 + [AC_LANG_PUSH(C)
74.583 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
74.584 + AC_LANG_POP])
74.585 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
74.586 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
74.587 + CFLAGS="$SAVE_CFLAGS"
74.588 + fi
74.589 + ;;
74.590 +sparc*-*solaris*)
74.591 + # Find out which ABI we are using.
74.592 + echo 'int i;' > conftest.$ac_ext
74.593 + if AC_TRY_EVAL(ac_compile); then
74.594 + case `/usr/bin/file conftest.o` in
74.595 + *64-bit*)
74.596 + case $lt_cv_prog_gnu_ld in
74.597 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
74.598 + *) LD="${LD-ld} -64" ;;
74.599 + esac
74.600 + ;;
74.601 + esac
74.602 + fi
74.603 + rm -rf conftest*
74.604 + ;;
74.605 +
74.606 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
74.607 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
74.608 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
74.609 + AC_CHECK_TOOL(AS, as, false)
74.610 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
74.611 + ;;
74.612 + ])
74.613 +esac
74.614 +
74.615 +need_locks="$enable_libtool_lock"
74.616 +
74.617 +])# _LT_AC_LOCK
74.618 +
74.619 +
74.620 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
74.621 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
74.622 +# ----------------------------------------------------------------
74.623 +# Check whether the given compiler option works
74.624 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
74.625 +[AC_REQUIRE([LT_AC_PROG_SED])
74.626 +AC_CACHE_CHECK([$1], [$2],
74.627 + [$2=no
74.628 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
74.629 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
74.630 + lt_compiler_flag="$3"
74.631 + # Insert the option either (1) after the last *FLAGS variable, or
74.632 + # (2) before a word containing "conftest.", or (3) at the end.
74.633 + # Note that $ac_compile itself does not contain backslashes and begins
74.634 + # with a dollar sign (not a hyphen), so the echo should work correctly.
74.635 + # The option is referenced via a variable to avoid confusing sed.
74.636 + lt_compile=`echo "$ac_compile" | $SED \
74.637 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
74.638 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
74.639 + -e 's:$: $lt_compiler_flag:'`
74.640 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
74.641 + (eval "$lt_compile" 2>conftest.err)
74.642 + ac_status=$?
74.643 + cat conftest.err >&AS_MESSAGE_LOG_FD
74.644 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
74.645 + if (exit $ac_status) && test -s "$ac_outfile"; then
74.646 + # The compiler can only warn and ignore the option if not recognized
74.647 + # So say no if there are warnings other than the usual output.
74.648 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
74.649 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
74.650 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
74.651 + $2=yes
74.652 + fi
74.653 + fi
74.654 + $rm conftest*
74.655 +])
74.656 +
74.657 +if test x"[$]$2" = xyes; then
74.658 + ifelse([$5], , :, [$5])
74.659 +else
74.660 + ifelse([$6], , :, [$6])
74.661 +fi
74.662 +])# AC_LIBTOOL_COMPILER_OPTION
74.663 +
74.664 +
74.665 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
74.666 +# [ACTION-SUCCESS], [ACTION-FAILURE])
74.667 +# ------------------------------------------------------------
74.668 +# Check whether the given compiler option works
74.669 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
74.670 +[AC_CACHE_CHECK([$1], [$2],
74.671 + [$2=no
74.672 + save_LDFLAGS="$LDFLAGS"
74.673 + LDFLAGS="$LDFLAGS $3"
74.674 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
74.675 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
74.676 + # The linker can only warn and ignore the option if not recognized
74.677 + # So say no if there are warnings
74.678 + if test -s conftest.err; then
74.679 + # Append any errors to the config.log.
74.680 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
74.681 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
74.682 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
74.683 + if diff conftest.exp conftest.er2 >/dev/null; then
74.684 + $2=yes
74.685 + fi
74.686 + else
74.687 + $2=yes
74.688 + fi
74.689 + fi
74.690 + $rm conftest*
74.691 + LDFLAGS="$save_LDFLAGS"
74.692 +])
74.693 +
74.694 +if test x"[$]$2" = xyes; then
74.695 + ifelse([$4], , :, [$4])
74.696 +else
74.697 + ifelse([$5], , :, [$5])
74.698 +fi
74.699 +])# AC_LIBTOOL_LINKER_OPTION
74.700 +
74.701 +
74.702 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
74.703 +# --------------------------
74.704 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
74.705 +[# find the maximum length of command line arguments
74.706 +AC_MSG_CHECKING([the maximum length of command line arguments])
74.707 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
74.708 + i=0
74.709 + teststring="ABCD"
74.710 +
74.711 + case $build_os in
74.712 + msdosdjgpp*)
74.713 + # On DJGPP, this test can blow up pretty badly due to problems in libc
74.714 + # (any single argument exceeding 2000 bytes causes a buffer overrun
74.715 + # during glob expansion). Even if it were fixed, the result of this
74.716 + # check would be larger than it should be.
74.717 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
74.718 + ;;
74.719 +
74.720 + gnu*)
74.721 + # Under GNU Hurd, this test is not required because there is
74.722 + # no limit to the length of command line arguments.
74.723 + # Libtool will interpret -1 as no limit whatsoever
74.724 + lt_cv_sys_max_cmd_len=-1;
74.725 + ;;
74.726 +
74.727 + cygwin* | mingw*)
74.728 + # On Win9x/ME, this test blows up -- it succeeds, but takes
74.729 + # about 5 minutes as the teststring grows exponentially.
74.730 + # Worse, since 9x/ME are not pre-emptively multitasking,
74.731 + # you end up with a "frozen" computer, even though with patience
74.732 + # the test eventually succeeds (with a max line length of 256k).
74.733 + # Instead, let's just punt: use the minimum linelength reported by
74.734 + # all of the supported platforms: 8192 (on NT/2K/XP).
74.735 + lt_cv_sys_max_cmd_len=8192;
74.736 + ;;
74.737 +
74.738 + amigaos*)
74.739 + # On AmigaOS with pdksh, this test takes hours, literally.
74.740 + # So we just punt and use a minimum line length of 8192.
74.741 + lt_cv_sys_max_cmd_len=8192;
74.742 + ;;
74.743 +
74.744 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
74.745 + # This has been around since 386BSD, at least. Likely further.
74.746 + if test -x /sbin/sysctl; then
74.747 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
74.748 + elif test -x /usr/sbin/sysctl; then
74.749 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
74.750 + else
74.751 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
74.752 + fi
74.753 + # And add a safety zone
74.754 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
74.755 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
74.756 + ;;
74.757 +
74.758 + interix*)
74.759 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
74.760 + lt_cv_sys_max_cmd_len=196608
74.761 + ;;
74.762 +
74.763 + osf*)
74.764 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
74.765 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
74.766 + # nice to cause kernel panics so lets avoid the loop below.
74.767 + # First set a reasonable default.
74.768 + lt_cv_sys_max_cmd_len=16384
74.769 + #
74.770 + if test -x /sbin/sysconfig; then
74.771 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
74.772 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
74.773 + esac
74.774 + fi
74.775 + ;;
74.776 + sco3.2v5*)
74.777 + lt_cv_sys_max_cmd_len=102400
74.778 + ;;
74.779 + sysv5* | sco5v6* | sysv4.2uw2*)
74.780 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
74.781 + if test -n "$kargmax"; then
74.782 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
74.783 + else
74.784 + lt_cv_sys_max_cmd_len=32768
74.785 + fi
74.786 + ;;
74.787 + *)
74.788 + # If test is not a shell built-in, we'll probably end up computing a
74.789 + # maximum length that is only half of the actual maximum length, but
74.790 + # we can't tell.
74.791 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
74.792 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
74.793 + = "XX$teststring") >/dev/null 2>&1 &&
74.794 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
74.795 + lt_cv_sys_max_cmd_len=$new_result &&
74.796 + test $i != 17 # 1/2 MB should be enough
74.797 + do
74.798 + i=`expr $i + 1`
74.799 + teststring=$teststring$teststring
74.800 + done
74.801 + teststring=
74.802 + # Add a significant safety factor because C++ compilers can tack on massive
74.803 + # amounts of additional arguments before passing them to the linker.
74.804 + # It appears as though 1/2 is a usable value.
74.805 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
74.806 + ;;
74.807 + esac
74.808 +])
74.809 +if test -n $lt_cv_sys_max_cmd_len ; then
74.810 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
74.811 +else
74.812 + AC_MSG_RESULT(none)
74.813 +fi
74.814 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
74.815 +
74.816 +
74.817 +# _LT_AC_CHECK_DLFCN
74.818 +# ------------------
74.819 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
74.820 +[AC_CHECK_HEADERS(dlfcn.h)dnl
74.821 +])# _LT_AC_CHECK_DLFCN
74.822 +
74.823 +
74.824 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
74.825 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
74.826 +# ---------------------------------------------------------------------
74.827 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
74.828 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
74.829 +if test "$cross_compiling" = yes; then :
74.830 + [$4]
74.831 +else
74.832 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
74.833 + lt_status=$lt_dlunknown
74.834 + cat > conftest.$ac_ext <<EOF
74.835 +[#line __oline__ "configure"
74.836 +#include "confdefs.h"
74.837 +
74.838 +#if HAVE_DLFCN_H
74.839 +#include <dlfcn.h>
74.840 +#endif
74.841 +
74.842 +#include <stdio.h>
74.843 +
74.844 +#ifdef RTLD_GLOBAL
74.845 +# define LT_DLGLOBAL RTLD_GLOBAL
74.846 +#else
74.847 +# ifdef DL_GLOBAL
74.848 +# define LT_DLGLOBAL DL_GLOBAL
74.849 +# else
74.850 +# define LT_DLGLOBAL 0
74.851 +# endif
74.852 +#endif
74.853 +
74.854 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
74.855 + find out it does not work in some platform. */
74.856 +#ifndef LT_DLLAZY_OR_NOW
74.857 +# ifdef RTLD_LAZY
74.858 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
74.859 +# else
74.860 +# ifdef DL_LAZY
74.861 +# define LT_DLLAZY_OR_NOW DL_LAZY
74.862 +# else
74.863 +# ifdef RTLD_NOW
74.864 +# define LT_DLLAZY_OR_NOW RTLD_NOW
74.865 +# else
74.866 +# ifdef DL_NOW
74.867 +# define LT_DLLAZY_OR_NOW DL_NOW
74.868 +# else
74.869 +# define LT_DLLAZY_OR_NOW 0
74.870 +# endif
74.871 +# endif
74.872 +# endif
74.873 +# endif
74.874 +#endif
74.875 +
74.876 +#ifdef __cplusplus
74.877 +extern "C" void exit (int);
74.878 +#endif
74.879 +
74.880 +void fnord() { int i=42;}
74.881 +int main ()
74.882 +{
74.883 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
74.884 + int status = $lt_dlunknown;
74.885 +
74.886 + if (self)
74.887 + {
74.888 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
74.889 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
74.890 + /* dlclose (self); */
74.891 + }
74.892 + else
74.893 + puts (dlerror ());
74.894 +
74.895 + exit (status);
74.896 +}]
74.897 +EOF
74.898 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
74.899 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
74.900 + lt_status=$?
74.901 + case x$lt_status in
74.902 + x$lt_dlno_uscore) $1 ;;
74.903 + x$lt_dlneed_uscore) $2 ;;
74.904 + x$lt_dlunknown|x*) $3 ;;
74.905 + esac
74.906 + else :
74.907 + # compilation failed
74.908 + $3
74.909 + fi
74.910 +fi
74.911 +rm -fr conftest*
74.912 +])# _LT_AC_TRY_DLOPEN_SELF
74.913 +
74.914 +
74.915 +# AC_LIBTOOL_DLOPEN_SELF
74.916 +# ----------------------
74.917 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
74.918 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
74.919 +if test "x$enable_dlopen" != xyes; then
74.920 + enable_dlopen=unknown
74.921 + enable_dlopen_self=unknown
74.922 + enable_dlopen_self_static=unknown
74.923 +else
74.924 + lt_cv_dlopen=no
74.925 + lt_cv_dlopen_libs=
74.926 +
74.927 + case $host_os in
74.928 + beos*)
74.929 + lt_cv_dlopen="load_add_on"
74.930 + lt_cv_dlopen_libs=
74.931 + lt_cv_dlopen_self=yes
74.932 + ;;
74.933 +
74.934 + mingw* | pw32*)
74.935 + lt_cv_dlopen="LoadLibrary"
74.936 + lt_cv_dlopen_libs=
74.937 + ;;
74.938 +
74.939 + cygwin*)
74.940 + lt_cv_dlopen="dlopen"
74.941 + lt_cv_dlopen_libs=
74.942 + ;;
74.943 +
74.944 + darwin*)
74.945 + # if libdl is installed we need to link against it
74.946 + AC_CHECK_LIB([dl], [dlopen],
74.947 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
74.948 + lt_cv_dlopen="dyld"
74.949 + lt_cv_dlopen_libs=
74.950 + lt_cv_dlopen_self=yes
74.951 + ])
74.952 + ;;
74.953 +
74.954 + *)
74.955 + AC_CHECK_FUNC([shl_load],
74.956 + [lt_cv_dlopen="shl_load"],
74.957 + [AC_CHECK_LIB([dld], [shl_load],
74.958 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
74.959 + [AC_CHECK_FUNC([dlopen],
74.960 + [lt_cv_dlopen="dlopen"],
74.961 + [AC_CHECK_LIB([dl], [dlopen],
74.962 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
74.963 + [AC_CHECK_LIB([svld], [dlopen],
74.964 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
74.965 + [AC_CHECK_LIB([dld], [dld_link],
74.966 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
74.967 + ])
74.968 + ])
74.969 + ])
74.970 + ])
74.971 + ])
74.972 + ;;
74.973 + esac
74.974 +
74.975 + if test "x$lt_cv_dlopen" != xno; then
74.976 + enable_dlopen=yes
74.977 + else
74.978 + enable_dlopen=no
74.979 + fi
74.980 +
74.981 + case $lt_cv_dlopen in
74.982 + dlopen)
74.983 + save_CPPFLAGS="$CPPFLAGS"
74.984 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
74.985 +
74.986 + save_LDFLAGS="$LDFLAGS"
74.987 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
74.988 +
74.989 + save_LIBS="$LIBS"
74.990 + LIBS="$lt_cv_dlopen_libs $LIBS"
74.991 +
74.992 + AC_CACHE_CHECK([whether a program can dlopen itself],
74.993 + lt_cv_dlopen_self, [dnl
74.994 + _LT_AC_TRY_DLOPEN_SELF(
74.995 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
74.996 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
74.997 + ])
74.998 +
74.999 + if test "x$lt_cv_dlopen_self" = xyes; then
74.1000 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
74.1001 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
74.1002 + lt_cv_dlopen_self_static, [dnl
74.1003 + _LT_AC_TRY_DLOPEN_SELF(
74.1004 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
74.1005 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
74.1006 + ])
74.1007 + fi
74.1008 +
74.1009 + CPPFLAGS="$save_CPPFLAGS"
74.1010 + LDFLAGS="$save_LDFLAGS"
74.1011 + LIBS="$save_LIBS"
74.1012 + ;;
74.1013 + esac
74.1014 +
74.1015 + case $lt_cv_dlopen_self in
74.1016 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
74.1017 + *) enable_dlopen_self=unknown ;;
74.1018 + esac
74.1019 +
74.1020 + case $lt_cv_dlopen_self_static in
74.1021 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
74.1022 + *) enable_dlopen_self_static=unknown ;;
74.1023 + esac
74.1024 +fi
74.1025 +])# AC_LIBTOOL_DLOPEN_SELF
74.1026 +
74.1027 +
74.1028 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
74.1029 +# ---------------------------------
74.1030 +# Check to see if options -c and -o are simultaneously supported by compiler
74.1031 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
74.1032 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
74.1033 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
74.1034 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
74.1035 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
74.1036 + $rm -r conftest 2>/dev/null
74.1037 + mkdir conftest
74.1038 + cd conftest
74.1039 + mkdir out
74.1040 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
74.1041 +
74.1042 + lt_compiler_flag="-o out/conftest2.$ac_objext"
74.1043 + # Insert the option either (1) after the last *FLAGS variable, or
74.1044 + # (2) before a word containing "conftest.", or (3) at the end.
74.1045 + # Note that $ac_compile itself does not contain backslashes and begins
74.1046 + # with a dollar sign (not a hyphen), so the echo should work correctly.
74.1047 + lt_compile=`echo "$ac_compile" | $SED \
74.1048 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
74.1049 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
74.1050 + -e 's:$: $lt_compiler_flag:'`
74.1051 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
74.1052 + (eval "$lt_compile" 2>out/conftest.err)
74.1053 + ac_status=$?
74.1054 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
74.1055 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
74.1056 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
74.1057 + then
74.1058 + # The compiler can only warn and ignore the option if not recognized
74.1059 + # So say no if there are warnings
74.1060 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
74.1061 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
74.1062 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
74.1063 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
74.1064 + fi
74.1065 + fi
74.1066 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
74.1067 + $rm conftest*
74.1068 + # SGI C++ compiler will create directory out/ii_files/ for
74.1069 + # template instantiation
74.1070 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
74.1071 + $rm out/* && rmdir out
74.1072 + cd ..
74.1073 + rmdir conftest
74.1074 + $rm conftest*
74.1075 +])
74.1076 +])# AC_LIBTOOL_PROG_CC_C_O
74.1077 +
74.1078 +
74.1079 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
74.1080 +# -----------------------------------------
74.1081 +# Check to see if we can do hard links to lock some files if needed
74.1082 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
74.1083 +[AC_REQUIRE([_LT_AC_LOCK])dnl
74.1084 +
74.1085 +hard_links="nottested"
74.1086 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
74.1087 + # do not overwrite the value of need_locks provided by the user
74.1088 + AC_MSG_CHECKING([if we can lock with hard links])
74.1089 + hard_links=yes
74.1090 + $rm conftest*
74.1091 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
74.1092 + touch conftest.a
74.1093 + ln conftest.a conftest.b 2>&5 || hard_links=no
74.1094 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
74.1095 + AC_MSG_RESULT([$hard_links])
74.1096 + if test "$hard_links" = no; then
74.1097 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
74.1098 + need_locks=warn
74.1099 + fi
74.1100 +else
74.1101 + need_locks=no
74.1102 +fi
74.1103 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
74.1104 +
74.1105 +
74.1106 +# AC_LIBTOOL_OBJDIR
74.1107 +# -----------------
74.1108 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
74.1109 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
74.1110 +[rm -f .libs 2>/dev/null
74.1111 +mkdir .libs 2>/dev/null
74.1112 +if test -d .libs; then
74.1113 + lt_cv_objdir=.libs
74.1114 +else
74.1115 + # MS-DOS does not allow filenames that begin with a dot.
74.1116 + lt_cv_objdir=_libs
74.1117 +fi
74.1118 +rmdir .libs 2>/dev/null])
74.1119 +objdir=$lt_cv_objdir
74.1120 +])# AC_LIBTOOL_OBJDIR
74.1121 +
74.1122 +
74.1123 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
74.1124 +# ----------------------------------------------
74.1125 +# Check hardcoding attributes.
74.1126 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
74.1127 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
74.1128 +_LT_AC_TAGVAR(hardcode_action, $1)=
74.1129 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
74.1130 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
74.1131 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
74.1132 +
74.1133 + # We can hardcode non-existant directories.
74.1134 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
74.1135 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
74.1136 + # have to relink, otherwise we might link with an installed library
74.1137 + # when we should be linking with a yet-to-be-installed one
74.1138 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
74.1139 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
74.1140 + # Linking always hardcodes the temporary library directory.
74.1141 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
74.1142 + else
74.1143 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
74.1144 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
74.1145 + fi
74.1146 +else
74.1147 + # We cannot hardcode anything, or else we can only hardcode existing
74.1148 + # directories.
74.1149 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
74.1150 +fi
74.1151 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
74.1152 +
74.1153 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
74.1154 + # Fast installation is not supported
74.1155 + enable_fast_install=no
74.1156 +elif test "$shlibpath_overrides_runpath" = yes ||
74.1157 + test "$enable_shared" = no; then
74.1158 + # Fast installation is not necessary
74.1159 + enable_fast_install=needless
74.1160 +fi
74.1161 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
74.1162 +
74.1163 +
74.1164 +# AC_LIBTOOL_SYS_LIB_STRIP
74.1165 +# ------------------------
74.1166 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
74.1167 +[striplib=
74.1168 +old_striplib=
74.1169 +AC_MSG_CHECKING([whether stripping libraries is possible])
74.1170 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
74.1171 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
74.1172 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
74.1173 + AC_MSG_RESULT([yes])
74.1174 +else
74.1175 +# FIXME - insert some real tests, host_os isn't really good enough
74.1176 + case $host_os in
74.1177 + darwin*)
74.1178 + if test -n "$STRIP" ; then
74.1179 + striplib="$STRIP -x"
74.1180 + AC_MSG_RESULT([yes])
74.1181 + else
74.1182 + AC_MSG_RESULT([no])
74.1183 +fi
74.1184 + ;;
74.1185 + *)
74.1186 + AC_MSG_RESULT([no])
74.1187 + ;;
74.1188 + esac
74.1189 +fi
74.1190 +])# AC_LIBTOOL_SYS_LIB_STRIP
74.1191 +
74.1192 +
74.1193 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
74.1194 +# -----------------------------
74.1195 +# PORTME Fill in your ld.so characteristics
74.1196 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
74.1197 +[AC_MSG_CHECKING([dynamic linker characteristics])
74.1198 +library_names_spec=
74.1199 +libname_spec='lib$name'
74.1200 +soname_spec=
74.1201 +shrext_cmds=".so"
74.1202 +postinstall_cmds=
74.1203 +postuninstall_cmds=
74.1204 +finish_cmds=
74.1205 +finish_eval=
74.1206 +shlibpath_var=
74.1207 +shlibpath_overrides_runpath=unknown
74.1208 +version_type=none
74.1209 +dynamic_linker="$host_os ld.so"
74.1210 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
74.1211 +if test "$GCC" = yes; then
74.1212 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
74.1213 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
74.1214 + # if the path contains ";" then we assume it to be the separator
74.1215 + # otherwise default to the standard path separator (i.e. ":") - it is
74.1216 + # assumed that no part of a normal pathname contains ";" but that should
74.1217 + # okay in the real world where ";" in dirpaths is itself problematic.
74.1218 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
74.1219 + else
74.1220 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
74.1221 + fi
74.1222 +else
74.1223 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
74.1224 +fi
74.1225 +need_lib_prefix=unknown
74.1226 +hardcode_into_libs=no
74.1227 +
74.1228 +# when you set need_version to no, make sure it does not cause -set_version
74.1229 +# flags to be left without arguments
74.1230 +need_version=unknown
74.1231 +
74.1232 +case $host_os in
74.1233 +aix3*)
74.1234 + version_type=linux
74.1235 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
74.1236 + shlibpath_var=LIBPATH
74.1237 +
74.1238 + # AIX 3 has no versioning support, so we append a major version to the name.
74.1239 + soname_spec='${libname}${release}${shared_ext}$major'
74.1240 + ;;
74.1241 +
74.1242 +aix4* | aix5*)
74.1243 + version_type=linux
74.1244 + need_lib_prefix=no
74.1245 + need_version=no
74.1246 + hardcode_into_libs=yes
74.1247 + if test "$host_cpu" = ia64; then
74.1248 + # AIX 5 supports IA64
74.1249 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
74.1250 + shlibpath_var=LD_LIBRARY_PATH
74.1251 + else
74.1252 + # With GCC up to 2.95.x, collect2 would create an import file
74.1253 + # for dependence libraries. The import file would start with
74.1254 + # the line `#! .'. This would cause the generated library to
74.1255 + # depend on `.', always an invalid library. This was fixed in
74.1256 + # development snapshots of GCC prior to 3.0.
74.1257 + case $host_os in
74.1258 + aix4 | aix4.[[01]] | aix4.[[01]].*)
74.1259 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
74.1260 + echo ' yes '
74.1261 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
74.1262 + :
74.1263 + else
74.1264 + can_build_shared=no
74.1265 + fi
74.1266 + ;;
74.1267 + esac
74.1268 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
74.1269 + # soname into executable. Probably we can add versioning support to
74.1270 + # collect2, so additional links can be useful in future.
74.1271 + if test "$aix_use_runtimelinking" = yes; then
74.1272 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
74.1273 + # instead of lib<name>.a to let people know that these are not
74.1274 + # typical AIX shared libraries.
74.1275 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1276 + else
74.1277 + # We preserve .a as extension for shared libraries through AIX4.2
74.1278 + # and later when we are not doing run time linking.
74.1279 + library_names_spec='${libname}${release}.a $libname.a'
74.1280 + soname_spec='${libname}${release}${shared_ext}$major'
74.1281 + fi
74.1282 + shlibpath_var=LIBPATH
74.1283 + fi
74.1284 + ;;
74.1285 +
74.1286 +amigaos*)
74.1287 + library_names_spec='$libname.ixlibrary $libname.a'
74.1288 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
74.1289 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
74.1290 + ;;
74.1291 +
74.1292 +beos*)
74.1293 + library_names_spec='${libname}${shared_ext}'
74.1294 + dynamic_linker="$host_os ld.so"
74.1295 + shlibpath_var=LIBRARY_PATH
74.1296 + ;;
74.1297 +
74.1298 +bsdi[[45]]*)
74.1299 + version_type=linux
74.1300 + need_version=no
74.1301 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1302 + soname_spec='${libname}${release}${shared_ext}$major'
74.1303 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
74.1304 + shlibpath_var=LD_LIBRARY_PATH
74.1305 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
74.1306 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
74.1307 + # the default ld.so.conf also contains /usr/contrib/lib and
74.1308 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
74.1309 + # libtool to hard-code these into programs
74.1310 + ;;
74.1311 +
74.1312 +cygwin* | mingw* | pw32*)
74.1313 + version_type=windows
74.1314 + shrext_cmds=".dll"
74.1315 + need_version=no
74.1316 + need_lib_prefix=no
74.1317 +
74.1318 + case $GCC,$host_os in
74.1319 + yes,cygwin* | yes,mingw* | yes,pw32*)
74.1320 + library_names_spec='$libname.dll.a'
74.1321 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
74.1322 + postinstall_cmds='base_file=`basename \${file}`~
74.1323 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
74.1324 + dldir=$destdir/`dirname \$dlpath`~
74.1325 + test -d \$dldir || mkdir -p \$dldir~
74.1326 + $install_prog $dir/$dlname \$dldir/$dlname~
74.1327 + chmod a+x \$dldir/$dlname'
74.1328 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
74.1329 + dlpath=$dir/\$dldll~
74.1330 + $rm \$dlpath'
74.1331 + shlibpath_overrides_runpath=yes
74.1332 +
74.1333 + case $host_os in
74.1334 + cygwin*)
74.1335 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
74.1336 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
74.1337 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
74.1338 + ;;
74.1339 + mingw*)
74.1340 + # MinGW DLLs use traditional 'lib' prefix
74.1341 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
74.1342 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
74.1343 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
74.1344 + # It is most probably a Windows format PATH printed by
74.1345 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
74.1346 + # path with ; separators, and with drive letters. We can handle the
74.1347 + # drive letters (cygwin fileutils understands them), so leave them,
74.1348 + # especially as we might pass files found there to a mingw objdump,
74.1349 + # which wouldn't understand a cygwinified path. Ahh.
74.1350 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
74.1351 + else
74.1352 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
74.1353 + fi
74.1354 + ;;
74.1355 + pw32*)
74.1356 + # pw32 DLLs use 'pw' prefix rather than 'lib'
74.1357 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
74.1358 + ;;
74.1359 + esac
74.1360 + ;;
74.1361 +
74.1362 + *)
74.1363 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
74.1364 + ;;
74.1365 + esac
74.1366 + dynamic_linker='Win32 ld.exe'
74.1367 + # FIXME: first we should search . and the directory the executable is in
74.1368 + shlibpath_var=PATH
74.1369 + ;;
74.1370 +
74.1371 +darwin* | rhapsody*)
74.1372 + dynamic_linker="$host_os dyld"
74.1373 + version_type=darwin
74.1374 + need_lib_prefix=no
74.1375 + need_version=no
74.1376 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
74.1377 + soname_spec='${libname}${release}${major}$shared_ext'
74.1378 + shlibpath_overrides_runpath=yes
74.1379 + shlibpath_var=DYLD_LIBRARY_PATH
74.1380 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
74.1381 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
74.1382 + if test "$GCC" = yes; then
74.1383 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
74.1384 + else
74.1385 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
74.1386 + fi
74.1387 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
74.1388 + ;;
74.1389 +
74.1390 +dgux*)
74.1391 + version_type=linux
74.1392 + need_lib_prefix=no
74.1393 + need_version=no
74.1394 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
74.1395 + soname_spec='${libname}${release}${shared_ext}$major'
74.1396 + shlibpath_var=LD_LIBRARY_PATH
74.1397 + ;;
74.1398 +
74.1399 +freebsd1*)
74.1400 + dynamic_linker=no
74.1401 + ;;
74.1402 +
74.1403 +kfreebsd*-gnu)
74.1404 + version_type=linux
74.1405 + need_lib_prefix=no
74.1406 + need_version=no
74.1407 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
74.1408 + soname_spec='${libname}${release}${shared_ext}$major'
74.1409 + shlibpath_var=LD_LIBRARY_PATH
74.1410 + shlibpath_overrides_runpath=no
74.1411 + hardcode_into_libs=yes
74.1412 + dynamic_linker='GNU ld.so'
74.1413 + ;;
74.1414 +
74.1415 +freebsd* | dragonfly*)
74.1416 + # DragonFly does not have aout. When/if they implement a new
74.1417 + # versioning mechanism, adjust this.
74.1418 + if test -x /usr/bin/objformat; then
74.1419 + objformat=`/usr/bin/objformat`
74.1420 + else
74.1421 + case $host_os in
74.1422 + freebsd[[123]]*) objformat=aout ;;
74.1423 + *) objformat=elf ;;
74.1424 + esac
74.1425 + fi
74.1426 + version_type=freebsd-$objformat
74.1427 + case $version_type in
74.1428 + freebsd-elf*)
74.1429 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
74.1430 + need_version=no
74.1431 + need_lib_prefix=no
74.1432 + ;;
74.1433 + freebsd-*)
74.1434 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
74.1435 + need_version=yes
74.1436 + ;;
74.1437 + esac
74.1438 + shlibpath_var=LD_LIBRARY_PATH
74.1439 + case $host_os in
74.1440 + freebsd2*)
74.1441 + shlibpath_overrides_runpath=yes
74.1442 + ;;
74.1443 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
74.1444 + shlibpath_overrides_runpath=yes
74.1445 + hardcode_into_libs=yes
74.1446 + ;;
74.1447 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
74.1448 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
74.1449 + shlibpath_overrides_runpath=no
74.1450 + hardcode_into_libs=yes
74.1451 + ;;
74.1452 + freebsd*) # from 4.6 on
74.1453 + shlibpath_overrides_runpath=yes
74.1454 + hardcode_into_libs=yes
74.1455 + ;;
74.1456 + esac
74.1457 + ;;
74.1458 +
74.1459 +gnu*)
74.1460 + version_type=linux
74.1461 + need_lib_prefix=no
74.1462 + need_version=no
74.1463 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
74.1464 + soname_spec='${libname}${release}${shared_ext}$major'
74.1465 + shlibpath_var=LD_LIBRARY_PATH
74.1466 + hardcode_into_libs=yes
74.1467 + ;;
74.1468 +
74.1469 +hpux9* | hpux10* | hpux11*)
74.1470 + # Give a soname corresponding to the major version so that dld.sl refuses to
74.1471 + # link against other versions.
74.1472 + version_type=sunos
74.1473 + need_lib_prefix=no
74.1474 + need_version=no
74.1475 + case $host_cpu in
74.1476 + ia64*)
74.1477 + shrext_cmds='.so'
74.1478 + hardcode_into_libs=yes
74.1479 + dynamic_linker="$host_os dld.so"
74.1480 + shlibpath_var=LD_LIBRARY_PATH
74.1481 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
74.1482 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1483 + soname_spec='${libname}${release}${shared_ext}$major'
74.1484 + if test "X$HPUX_IA64_MODE" = X32; then
74.1485 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
74.1486 + else
74.1487 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
74.1488 + fi
74.1489 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
74.1490 + ;;
74.1491 + hppa*64*)
74.1492 + shrext_cmds='.sl'
74.1493 + hardcode_into_libs=yes
74.1494 + dynamic_linker="$host_os dld.sl"
74.1495 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
74.1496 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
74.1497 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1498 + soname_spec='${libname}${release}${shared_ext}$major'
74.1499 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
74.1500 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
74.1501 + ;;
74.1502 + *)
74.1503 + shrext_cmds='.sl'
74.1504 + dynamic_linker="$host_os dld.sl"
74.1505 + shlibpath_var=SHLIB_PATH
74.1506 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
74.1507 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1508 + soname_spec='${libname}${release}${shared_ext}$major'
74.1509 + ;;
74.1510 + esac
74.1511 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
74.1512 + postinstall_cmds='chmod 555 $lib'
74.1513 + ;;
74.1514 +
74.1515 +interix3*)
74.1516 + version_type=linux
74.1517 + need_lib_prefix=no
74.1518 + need_version=no
74.1519 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
74.1520 + soname_spec='${libname}${release}${shared_ext}$major'
74.1521 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
74.1522 + shlibpath_var=LD_LIBRARY_PATH
74.1523 + shlibpath_overrides_runpath=no
74.1524 + hardcode_into_libs=yes
74.1525 + ;;
74.1526 +
74.1527 +irix5* | irix6* | nonstopux*)
74.1528 + case $host_os in
74.1529 + nonstopux*) version_type=nonstopux ;;
74.1530 + *)
74.1531 + if test "$lt_cv_prog_gnu_ld" = yes; then
74.1532 + version_type=linux
74.1533 + else
74.1534 + version_type=irix
74.1535 + fi ;;
74.1536 + esac
74.1537 + need_lib_prefix=no
74.1538 + need_version=no
74.1539 + soname_spec='${libname}${release}${shared_ext}$major'
74.1540 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
74.1541 + case $host_os in
74.1542 + irix5* | nonstopux*)
74.1543 + libsuff= shlibsuff=
74.1544 + ;;
74.1545 + *)
74.1546 + case $LD in # libtool.m4 will add one of these switches to LD
74.1547 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
74.1548 + libsuff= shlibsuff= libmagic=32-bit;;
74.1549 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
74.1550 + libsuff=32 shlibsuff=N32 libmagic=N32;;
74.1551 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
74.1552 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
74.1553 + *) libsuff= shlibsuff= libmagic=never-match;;
74.1554 + esac
74.1555 + ;;
74.1556 + esac
74.1557 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
74.1558 + shlibpath_overrides_runpath=no
74.1559 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
74.1560 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
74.1561 + hardcode_into_libs=yes
74.1562 + ;;
74.1563 +
74.1564 +# No shared lib support for Linux oldld, aout, or coff.
74.1565 +linux*oldld* | linux*aout* | linux*coff*)
74.1566 + dynamic_linker=no
74.1567 + ;;
74.1568 +
74.1569 +# This must be Linux ELF.
74.1570 +linux*)
74.1571 + version_type=linux
74.1572 + need_lib_prefix=no
74.1573 + need_version=no
74.1574 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1575 + soname_spec='${libname}${release}${shared_ext}$major'
74.1576 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
74.1577 + shlibpath_var=LD_LIBRARY_PATH
74.1578 + shlibpath_overrides_runpath=no
74.1579 + # This implies no fast_install, which is unacceptable.
74.1580 + # Some rework will be needed to allow for fast_install
74.1581 + # before this can be enabled.
74.1582 + hardcode_into_libs=yes
74.1583 +
74.1584 + # Append ld.so.conf contents to the search path
74.1585 + if test -f /etc/ld.so.conf; then
74.1586 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
74.1587 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
74.1588 + fi
74.1589 +
74.1590 + # We used to test for /lib/ld.so.1 and disable shared libraries on
74.1591 + # powerpc, because MkLinux only supported shared libraries with the
74.1592 + # GNU dynamic linker. Since this was broken with cross compilers,
74.1593 + # most powerpc-linux boxes support dynamic linking these days and
74.1594 + # people can always --disable-shared, the test was removed, and we
74.1595 + # assume the GNU/Linux dynamic linker is in use.
74.1596 + dynamic_linker='GNU/Linux ld.so'
74.1597 + ;;
74.1598 +
74.1599 +knetbsd*-gnu)
74.1600 + version_type=linux
74.1601 + need_lib_prefix=no
74.1602 + need_version=no
74.1603 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
74.1604 + soname_spec='${libname}${release}${shared_ext}$major'
74.1605 + shlibpath_var=LD_LIBRARY_PATH
74.1606 + shlibpath_overrides_runpath=no
74.1607 + hardcode_into_libs=yes
74.1608 + dynamic_linker='GNU ld.so'
74.1609 + ;;
74.1610 +
74.1611 +netbsd*)
74.1612 + version_type=sunos
74.1613 + need_lib_prefix=no
74.1614 + need_version=no
74.1615 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
74.1616 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
74.1617 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
74.1618 + dynamic_linker='NetBSD (a.out) ld.so'
74.1619 + else
74.1620 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
74.1621 + soname_spec='${libname}${release}${shared_ext}$major'
74.1622 + dynamic_linker='NetBSD ld.elf_so'
74.1623 + fi
74.1624 + shlibpath_var=LD_LIBRARY_PATH
74.1625 + shlibpath_overrides_runpath=yes
74.1626 + hardcode_into_libs=yes
74.1627 + ;;
74.1628 +
74.1629 +newsos6)
74.1630 + version_type=linux
74.1631 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1632 + shlibpath_var=LD_LIBRARY_PATH
74.1633 + shlibpath_overrides_runpath=yes
74.1634 + ;;
74.1635 +
74.1636 +nto-qnx*)
74.1637 + version_type=linux
74.1638 + need_lib_prefix=no
74.1639 + need_version=no
74.1640 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1641 + soname_spec='${libname}${release}${shared_ext}$major'
74.1642 + shlibpath_var=LD_LIBRARY_PATH
74.1643 + shlibpath_overrides_runpath=yes
74.1644 + ;;
74.1645 +
74.1646 +openbsd*)
74.1647 + version_type=sunos
74.1648 + sys_lib_dlsearch_path_spec="/usr/lib"
74.1649 + need_lib_prefix=no
74.1650 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
74.1651 + case $host_os in
74.1652 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
74.1653 + *) need_version=no ;;
74.1654 + esac
74.1655 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
74.1656 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
74.1657 + shlibpath_var=LD_LIBRARY_PATH
74.1658 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
74.1659 + case $host_os in
74.1660 + openbsd2.[[89]] | openbsd2.[[89]].*)
74.1661 + shlibpath_overrides_runpath=no
74.1662 + ;;
74.1663 + *)
74.1664 + shlibpath_overrides_runpath=yes
74.1665 + ;;
74.1666 + esac
74.1667 + else
74.1668 + shlibpath_overrides_runpath=yes
74.1669 + fi
74.1670 + ;;
74.1671 +
74.1672 +os2*)
74.1673 + libname_spec='$name'
74.1674 + shrext_cmds=".dll"
74.1675 + need_lib_prefix=no
74.1676 + library_names_spec='$libname${shared_ext} $libname.a'
74.1677 + dynamic_linker='OS/2 ld.exe'
74.1678 + shlibpath_var=LIBPATH
74.1679 + ;;
74.1680 +
74.1681 +osf3* | osf4* | osf5*)
74.1682 + version_type=osf
74.1683 + need_lib_prefix=no
74.1684 + need_version=no
74.1685 + soname_spec='${libname}${release}${shared_ext}$major'
74.1686 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1687 + shlibpath_var=LD_LIBRARY_PATH
74.1688 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
74.1689 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
74.1690 + ;;
74.1691 +
74.1692 +solaris*)
74.1693 + version_type=linux
74.1694 + need_lib_prefix=no
74.1695 + need_version=no
74.1696 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1697 + soname_spec='${libname}${release}${shared_ext}$major'
74.1698 + shlibpath_var=LD_LIBRARY_PATH
74.1699 + shlibpath_overrides_runpath=yes
74.1700 + hardcode_into_libs=yes
74.1701 + # ldd complains unless libraries are executable
74.1702 + postinstall_cmds='chmod +x $lib'
74.1703 + ;;
74.1704 +
74.1705 +sunos4*)
74.1706 + version_type=sunos
74.1707 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
74.1708 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
74.1709 + shlibpath_var=LD_LIBRARY_PATH
74.1710 + shlibpath_overrides_runpath=yes
74.1711 + if test "$with_gnu_ld" = yes; then
74.1712 + need_lib_prefix=no
74.1713 + fi
74.1714 + need_version=yes
74.1715 + ;;
74.1716 +
74.1717 +sysv4 | sysv4.3*)
74.1718 + version_type=linux
74.1719 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1720 + soname_spec='${libname}${release}${shared_ext}$major'
74.1721 + shlibpath_var=LD_LIBRARY_PATH
74.1722 + case $host_vendor in
74.1723 + sni)
74.1724 + shlibpath_overrides_runpath=no
74.1725 + need_lib_prefix=no
74.1726 + export_dynamic_flag_spec='${wl}-Blargedynsym'
74.1727 + runpath_var=LD_RUN_PATH
74.1728 + ;;
74.1729 + siemens)
74.1730 + need_lib_prefix=no
74.1731 + ;;
74.1732 + motorola)
74.1733 + need_lib_prefix=no
74.1734 + need_version=no
74.1735 + shlibpath_overrides_runpath=no
74.1736 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
74.1737 + ;;
74.1738 + esac
74.1739 + ;;
74.1740 +
74.1741 +sysv4*MP*)
74.1742 + if test -d /usr/nec ;then
74.1743 + version_type=linux
74.1744 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
74.1745 + soname_spec='$libname${shared_ext}.$major'
74.1746 + shlibpath_var=LD_LIBRARY_PATH
74.1747 + fi
74.1748 + ;;
74.1749 +
74.1750 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
74.1751 + version_type=freebsd-elf
74.1752 + need_lib_prefix=no
74.1753 + need_version=no
74.1754 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
74.1755 + soname_spec='${libname}${release}${shared_ext}$major'
74.1756 + shlibpath_var=LD_LIBRARY_PATH
74.1757 + hardcode_into_libs=yes
74.1758 + if test "$with_gnu_ld" = yes; then
74.1759 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
74.1760 + shlibpath_overrides_runpath=no
74.1761 + else
74.1762 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
74.1763 + shlibpath_overrides_runpath=yes
74.1764 + case $host_os in
74.1765 + sco3.2v5*)
74.1766 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
74.1767 + ;;
74.1768 + esac
74.1769 + fi
74.1770 + sys_lib_dlsearch_path_spec='/usr/lib'
74.1771 + ;;
74.1772 +
74.1773 +uts4*)
74.1774 + version_type=linux
74.1775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
74.1776 + soname_spec='${libname}${release}${shared_ext}$major'
74.1777 + shlibpath_var=LD_LIBRARY_PATH
74.1778 + ;;
74.1779 +
74.1780 +*)
74.1781 + dynamic_linker=no
74.1782 + ;;
74.1783 +esac
74.1784 +AC_MSG_RESULT([$dynamic_linker])
74.1785 +test "$dynamic_linker" = no && can_build_shared=no
74.1786 +
74.1787 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
74.1788 +if test "$GCC" = yes; then
74.1789 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
74.1790 +fi
74.1791 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
74.1792 +
74.1793 +
74.1794 +# _LT_AC_TAGCONFIG
74.1795 +# ----------------
74.1796 +AC_DEFUN([_LT_AC_TAGCONFIG],
74.1797 +[AC_ARG_WITH([tags],
74.1798 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
74.1799 + [include additional configurations @<:@automatic@:>@])],
74.1800 + [tagnames="$withval"])
74.1801 +
74.1802 +if test -f "$ltmain" && test -n "$tagnames"; then
74.1803 + if test ! -f "${ofile}"; then
74.1804 + AC_MSG_WARN([output file `$ofile' does not exist])
74.1805 + fi
74.1806 +
74.1807 + if test -z "$LTCC"; then
74.1808 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
74.1809 + if test -z "$LTCC"; then
74.1810 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
74.1811 + else
74.1812 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
74.1813 + fi
74.1814 + fi
74.1815 + if test -z "$LTCFLAGS"; then
74.1816 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
74.1817 + fi
74.1818 +
74.1819 + # Extract list of available tagged configurations in $ofile.
74.1820 + # Note that this assumes the entire list is on one line.
74.1821 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
74.1822 +
74.1823 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
74.1824 + for tagname in $tagnames; do
74.1825 + IFS="$lt_save_ifs"
74.1826 + # Check whether tagname contains only valid characters
74.1827 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
74.1828 + "") ;;
74.1829 + *) AC_MSG_ERROR([invalid tag name: $tagname])
74.1830 + ;;
74.1831 + esac
74.1832 +
74.1833 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
74.1834 + then
74.1835 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
74.1836 + fi
74.1837 +
74.1838 + # Update the list of available tags.
74.1839 + if test -n "$tagname"; then
74.1840 + echo appending configuration tag \"$tagname\" to $ofile
74.1841 +
74.1842 + case $tagname in
74.1843 + CXX)
74.1844 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
74.1845 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
74.1846 + (test "X$CXX" != "Xg++"))) ; then
74.1847 + AC_LIBTOOL_LANG_CXX_CONFIG
74.1848 + else
74.1849 + tagname=""
74.1850 + fi
74.1851 + ;;
74.1852 +
74.1853 + F77)
74.1854 + if test -n "$F77" && test "X$F77" != "Xno"; then
74.1855 + AC_LIBTOOL_LANG_F77_CONFIG
74.1856 + else
74.1857 + tagname=""
74.1858 + fi
74.1859 + ;;
74.1860 +
74.1861 + GCJ)
74.1862 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
74.1863 + AC_LIBTOOL_LANG_GCJ_CONFIG
74.1864 + else
74.1865 + tagname=""
74.1866 + fi
74.1867 + ;;
74.1868 +
74.1869 + RC)
74.1870 + AC_LIBTOOL_LANG_RC_CONFIG
74.1871 + ;;
74.1872 +
74.1873 + *)
74.1874 + AC_MSG_ERROR([Unsupported tag name: $tagname])
74.1875 + ;;
74.1876 + esac
74.1877 +
74.1878 + # Append the new tag name to the list of available tags.
74.1879 + if test -n "$tagname" ; then
74.1880 + available_tags="$available_tags $tagname"
74.1881 + fi
74.1882 + fi
74.1883 + done
74.1884 + IFS="$lt_save_ifs"
74.1885 +
74.1886 + # Now substitute the updated list of available tags.
74.1887 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
74.1888 + mv "${ofile}T" "$ofile"
74.1889 + chmod +x "$ofile"
74.1890 + else
74.1891 + rm -f "${ofile}T"
74.1892 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
74.1893 + fi
74.1894 +fi
74.1895 +])# _LT_AC_TAGCONFIG
74.1896 +
74.1897 +
74.1898 +# AC_LIBTOOL_DLOPEN
74.1899 +# -----------------
74.1900 +# enable checks for dlopen support
74.1901 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
74.1902 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
74.1903 +])# AC_LIBTOOL_DLOPEN
74.1904 +
74.1905 +
74.1906 +# AC_LIBTOOL_WIN32_DLL
74.1907 +# --------------------
74.1908 +# declare package support for building win32 DLLs
74.1909 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
74.1910 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
74.1911 +])# AC_LIBTOOL_WIN32_DLL
74.1912 +
74.1913 +
74.1914 +# AC_ENABLE_SHARED([DEFAULT])
74.1915 +# ---------------------------
74.1916 +# implement the --enable-shared flag
74.1917 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
74.1918 +AC_DEFUN([AC_ENABLE_SHARED],
74.1919 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
74.1920 +AC_ARG_ENABLE([shared],
74.1921 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
74.1922 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
74.1923 + [p=${PACKAGE-default}
74.1924 + case $enableval in
74.1925 + yes) enable_shared=yes ;;
74.1926 + no) enable_shared=no ;;
74.1927 + *)
74.1928 + enable_shared=no
74.1929 + # Look at the argument we got. We use all the common list separators.
74.1930 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
74.1931 + for pkg in $enableval; do
74.1932 + IFS="$lt_save_ifs"
74.1933 + if test "X$pkg" = "X$p"; then
74.1934 + enable_shared=yes
74.1935 + fi
74.1936 + done
74.1937 + IFS="$lt_save_ifs"
74.1938 + ;;
74.1939 + esac],
74.1940 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
74.1941 +])# AC_ENABLE_SHARED
74.1942 +
74.1943 +
74.1944 +# AC_DISABLE_SHARED
74.1945 +# -----------------
74.1946 +# set the default shared flag to --disable-shared
74.1947 +AC_DEFUN([AC_DISABLE_SHARED],
74.1948 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.1949 +AC_ENABLE_SHARED(no)
74.1950 +])# AC_DISABLE_SHARED
74.1951 +
74.1952 +
74.1953 +# AC_ENABLE_STATIC([DEFAULT])
74.1954 +# ---------------------------
74.1955 +# implement the --enable-static flag
74.1956 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
74.1957 +AC_DEFUN([AC_ENABLE_STATIC],
74.1958 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
74.1959 +AC_ARG_ENABLE([static],
74.1960 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
74.1961 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
74.1962 + [p=${PACKAGE-default}
74.1963 + case $enableval in
74.1964 + yes) enable_static=yes ;;
74.1965 + no) enable_static=no ;;
74.1966 + *)
74.1967 + enable_static=no
74.1968 + # Look at the argument we got. We use all the common list separators.
74.1969 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
74.1970 + for pkg in $enableval; do
74.1971 + IFS="$lt_save_ifs"
74.1972 + if test "X$pkg" = "X$p"; then
74.1973 + enable_static=yes
74.1974 + fi
74.1975 + done
74.1976 + IFS="$lt_save_ifs"
74.1977 + ;;
74.1978 + esac],
74.1979 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
74.1980 +])# AC_ENABLE_STATIC
74.1981 +
74.1982 +
74.1983 +# AC_DISABLE_STATIC
74.1984 +# -----------------
74.1985 +# set the default static flag to --disable-static
74.1986 +AC_DEFUN([AC_DISABLE_STATIC],
74.1987 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.1988 +AC_ENABLE_STATIC(no)
74.1989 +])# AC_DISABLE_STATIC
74.1990 +
74.1991 +
74.1992 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
74.1993 +# ---------------------------------
74.1994 +# implement the --enable-fast-install flag
74.1995 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
74.1996 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
74.1997 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
74.1998 +AC_ARG_ENABLE([fast-install],
74.1999 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
74.2000 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
74.2001 + [p=${PACKAGE-default}
74.2002 + case $enableval in
74.2003 + yes) enable_fast_install=yes ;;
74.2004 + no) enable_fast_install=no ;;
74.2005 + *)
74.2006 + enable_fast_install=no
74.2007 + # Look at the argument we got. We use all the common list separators.
74.2008 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
74.2009 + for pkg in $enableval; do
74.2010 + IFS="$lt_save_ifs"
74.2011 + if test "X$pkg" = "X$p"; then
74.2012 + enable_fast_install=yes
74.2013 + fi
74.2014 + done
74.2015 + IFS="$lt_save_ifs"
74.2016 + ;;
74.2017 + esac],
74.2018 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
74.2019 +])# AC_ENABLE_FAST_INSTALL
74.2020 +
74.2021 +
74.2022 +# AC_DISABLE_FAST_INSTALL
74.2023 +# -----------------------
74.2024 +# set the default to --disable-fast-install
74.2025 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
74.2026 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.2027 +AC_ENABLE_FAST_INSTALL(no)
74.2028 +])# AC_DISABLE_FAST_INSTALL
74.2029 +
74.2030 +
74.2031 +# AC_LIBTOOL_PICMODE([MODE])
74.2032 +# --------------------------
74.2033 +# implement the --with-pic flag
74.2034 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
74.2035 +AC_DEFUN([AC_LIBTOOL_PICMODE],
74.2036 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.2037 +pic_mode=ifelse($#,1,$1,default)
74.2038 +])# AC_LIBTOOL_PICMODE
74.2039 +
74.2040 +
74.2041 +# AC_PROG_EGREP
74.2042 +# -------------
74.2043 +# This is predefined starting with Autoconf 2.54, so this conditional
74.2044 +# definition can be removed once we require Autoconf 2.54 or later.
74.2045 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
74.2046 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
74.2047 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
74.2048 + then ac_cv_prog_egrep='grep -E'
74.2049 + else ac_cv_prog_egrep='egrep'
74.2050 + fi])
74.2051 + EGREP=$ac_cv_prog_egrep
74.2052 + AC_SUBST([EGREP])
74.2053 +])])
74.2054 +
74.2055 +
74.2056 +# AC_PATH_TOOL_PREFIX
74.2057 +# -------------------
74.2058 +# find a file program which can recognise shared library
74.2059 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
74.2060 +[AC_REQUIRE([AC_PROG_EGREP])dnl
74.2061 +AC_MSG_CHECKING([for $1])
74.2062 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
74.2063 +[case $MAGIC_CMD in
74.2064 +[[\\/*] | ?:[\\/]*])
74.2065 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
74.2066 + ;;
74.2067 +*)
74.2068 + lt_save_MAGIC_CMD="$MAGIC_CMD"
74.2069 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
74.2070 +dnl $ac_dummy forces splitting on constant user-supplied paths.
74.2071 +dnl POSIX.2 word splitting is done only on the output of word expansions,
74.2072 +dnl not every word. This closes a longstanding sh security hole.
74.2073 + ac_dummy="ifelse([$2], , $PATH, [$2])"
74.2074 + for ac_dir in $ac_dummy; do
74.2075 + IFS="$lt_save_ifs"
74.2076 + test -z "$ac_dir" && ac_dir=.
74.2077 + if test -f $ac_dir/$1; then
74.2078 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
74.2079 + if test -n "$file_magic_test_file"; then
74.2080 + case $deplibs_check_method in
74.2081 + "file_magic "*)
74.2082 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
74.2083 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
74.2084 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
74.2085 + $EGREP "$file_magic_regex" > /dev/null; then
74.2086 + :
74.2087 + else
74.2088 + cat <<EOF 1>&2
74.2089 +
74.2090 +*** Warning: the command libtool uses to detect shared libraries,
74.2091 +*** $file_magic_cmd, produces output that libtool cannot recognize.
74.2092 +*** The result is that libtool may fail to recognize shared libraries
74.2093 +*** as such. This will affect the creation of libtool libraries that
74.2094 +*** depend on shared libraries, but programs linked with such libtool
74.2095 +*** libraries will work regardless of this problem. Nevertheless, you
74.2096 +*** may want to report the problem to your system manager and/or to
74.2097 +*** bug-libtool@gnu.org
74.2098 +
74.2099 +EOF
74.2100 + fi ;;
74.2101 + esac
74.2102 + fi
74.2103 + break
74.2104 + fi
74.2105 + done
74.2106 + IFS="$lt_save_ifs"
74.2107 + MAGIC_CMD="$lt_save_MAGIC_CMD"
74.2108 + ;;
74.2109 +esac])
74.2110 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
74.2111 +if test -n "$MAGIC_CMD"; then
74.2112 + AC_MSG_RESULT($MAGIC_CMD)
74.2113 +else
74.2114 + AC_MSG_RESULT(no)
74.2115 +fi
74.2116 +])# AC_PATH_TOOL_PREFIX
74.2117 +
74.2118 +
74.2119 +# AC_PATH_MAGIC
74.2120 +# -------------
74.2121 +# find a file program which can recognise a shared library
74.2122 +AC_DEFUN([AC_PATH_MAGIC],
74.2123 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
74.2124 +if test -z "$lt_cv_path_MAGIC_CMD"; then
74.2125 + if test -n "$ac_tool_prefix"; then
74.2126 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
74.2127 + else
74.2128 + MAGIC_CMD=:
74.2129 + fi
74.2130 +fi
74.2131 +])# AC_PATH_MAGIC
74.2132 +
74.2133 +
74.2134 +# AC_PROG_LD
74.2135 +# ----------
74.2136 +# find the pathname to the GNU or non-GNU linker
74.2137 +AC_DEFUN([AC_PROG_LD],
74.2138 +[AC_ARG_WITH([gnu-ld],
74.2139 + [AC_HELP_STRING([--with-gnu-ld],
74.2140 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
74.2141 + [test "$withval" = no || with_gnu_ld=yes],
74.2142 + [with_gnu_ld=no])
74.2143 +AC_REQUIRE([LT_AC_PROG_SED])dnl
74.2144 +AC_REQUIRE([AC_PROG_CC])dnl
74.2145 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
74.2146 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
74.2147 +ac_prog=ld
74.2148 +if test "$GCC" = yes; then
74.2149 + # Check if gcc -print-prog-name=ld gives a path.
74.2150 + AC_MSG_CHECKING([for ld used by $CC])
74.2151 + case $host in
74.2152 + *-*-mingw*)
74.2153 + # gcc leaves a trailing carriage return which upsets mingw
74.2154 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
74.2155 + *)
74.2156 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
74.2157 + esac
74.2158 + case $ac_prog in
74.2159 + # Accept absolute paths.
74.2160 + [[\\/]]* | ?:[[\\/]]*)
74.2161 + re_direlt='/[[^/]][[^/]]*/\.\./'
74.2162 + # Canonicalize the pathname of ld
74.2163 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
74.2164 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
74.2165 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
74.2166 + done
74.2167 + test -z "$LD" && LD="$ac_prog"
74.2168 + ;;
74.2169 + "")
74.2170 + # If it fails, then pretend we aren't using GCC.
74.2171 + ac_prog=ld
74.2172 + ;;
74.2173 + *)
74.2174 + # If it is relative, then search for the first ld in PATH.
74.2175 + with_gnu_ld=unknown
74.2176 + ;;
74.2177 + esac
74.2178 +elif test "$with_gnu_ld" = yes; then
74.2179 + AC_MSG_CHECKING([for GNU ld])
74.2180 +else
74.2181 + AC_MSG_CHECKING([for non-GNU ld])
74.2182 +fi
74.2183 +AC_CACHE_VAL(lt_cv_path_LD,
74.2184 +[if test -z "$LD"; then
74.2185 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
74.2186 + for ac_dir in $PATH; do
74.2187 + IFS="$lt_save_ifs"
74.2188 + test -z "$ac_dir" && ac_dir=.
74.2189 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
74.2190 + lt_cv_path_LD="$ac_dir/$ac_prog"
74.2191 + # Check to see if the program is GNU ld. I'd rather use --version,
74.2192 + # but apparently some variants of GNU ld only accept -v.
74.2193 + # Break only if it was the GNU/non-GNU ld that we prefer.
74.2194 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
74.2195 + *GNU* | *'with BFD'*)
74.2196 + test "$with_gnu_ld" != no && break
74.2197 + ;;
74.2198 + *)
74.2199 + test "$with_gnu_ld" != yes && break
74.2200 + ;;
74.2201 + esac
74.2202 + fi
74.2203 + done
74.2204 + IFS="$lt_save_ifs"
74.2205 +else
74.2206 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
74.2207 +fi])
74.2208 +LD="$lt_cv_path_LD"
74.2209 +if test -n "$LD"; then
74.2210 + AC_MSG_RESULT($LD)
74.2211 +else
74.2212 + AC_MSG_RESULT(no)
74.2213 +fi
74.2214 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
74.2215 +AC_PROG_LD_GNU
74.2216 +])# AC_PROG_LD
74.2217 +
74.2218 +
74.2219 +# AC_PROG_LD_GNU
74.2220 +# --------------
74.2221 +AC_DEFUN([AC_PROG_LD_GNU],
74.2222 +[AC_REQUIRE([AC_PROG_EGREP])dnl
74.2223 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
74.2224 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
74.2225 +case `$LD -v 2>&1 </dev/null` in
74.2226 +*GNU* | *'with BFD'*)
74.2227 + lt_cv_prog_gnu_ld=yes
74.2228 + ;;
74.2229 +*)
74.2230 + lt_cv_prog_gnu_ld=no
74.2231 + ;;
74.2232 +esac])
74.2233 +with_gnu_ld=$lt_cv_prog_gnu_ld
74.2234 +])# AC_PROG_LD_GNU
74.2235 +
74.2236 +
74.2237 +# AC_PROG_LD_RELOAD_FLAG
74.2238 +# ----------------------
74.2239 +# find reload flag for linker
74.2240 +# -- PORTME Some linkers may need a different reload flag.
74.2241 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
74.2242 +[AC_CACHE_CHECK([for $LD option to reload object files],
74.2243 + lt_cv_ld_reload_flag,
74.2244 + [lt_cv_ld_reload_flag='-r'])
74.2245 +reload_flag=$lt_cv_ld_reload_flag
74.2246 +case $reload_flag in
74.2247 +"" | " "*) ;;
74.2248 +*) reload_flag=" $reload_flag" ;;
74.2249 +esac
74.2250 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
74.2251 +case $host_os in
74.2252 + darwin*)
74.2253 + if test "$GCC" = yes; then
74.2254 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
74.2255 + else
74.2256 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
74.2257 + fi
74.2258 + ;;
74.2259 +esac
74.2260 +])# AC_PROG_LD_RELOAD_FLAG
74.2261 +
74.2262 +
74.2263 +# AC_DEPLIBS_CHECK_METHOD
74.2264 +# -----------------------
74.2265 +# how to check for library dependencies
74.2266 +# -- PORTME fill in with the dynamic library characteristics
74.2267 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
74.2268 +[AC_CACHE_CHECK([how to recognise dependent libraries],
74.2269 +lt_cv_deplibs_check_method,
74.2270 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
74.2271 +lt_cv_file_magic_test_file=
74.2272 +lt_cv_deplibs_check_method='unknown'
74.2273 +# Need to set the preceding variable on all platforms that support
74.2274 +# interlibrary dependencies.
74.2275 +# 'none' -- dependencies not supported.
74.2276 +# `unknown' -- same as none, but documents that we really don't know.
74.2277 +# 'pass_all' -- all dependencies passed with no checks.
74.2278 +# 'test_compile' -- check by making test program.
74.2279 +# 'file_magic [[regex]]' -- check by looking for files in library path
74.2280 +# which responds to the $file_magic_cmd with a given extended regex.
74.2281 +# If you have `file' or equivalent on your system and you're not sure
74.2282 +# whether `pass_all' will *always* work, you probably want this one.
74.2283 +
74.2284 +case $host_os in
74.2285 +aix4* | aix5*)
74.2286 + lt_cv_deplibs_check_method=pass_all
74.2287 + ;;
74.2288 +
74.2289 +beos*)
74.2290 + lt_cv_deplibs_check_method=pass_all
74.2291 + ;;
74.2292 +
74.2293 +bsdi[[45]]*)
74.2294 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
74.2295 + lt_cv_file_magic_cmd='/usr/bin/file -L'
74.2296 + lt_cv_file_magic_test_file=/shlib/libc.so
74.2297 + ;;
74.2298 +
74.2299 +cygwin*)
74.2300 + # func_win32_libid is a shell function defined in ltmain.sh
74.2301 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
74.2302 + lt_cv_file_magic_cmd='func_win32_libid'
74.2303 + ;;
74.2304 +
74.2305 +mingw* | pw32*)
74.2306 + # Base MSYS/MinGW do not provide the 'file' command needed by
74.2307 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
74.2308 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
74.2309 + lt_cv_file_magic_cmd='$OBJDUMP -f'
74.2310 + ;;
74.2311 +
74.2312 +darwin* | rhapsody*)
74.2313 + lt_cv_deplibs_check_method=pass_all
74.2314 + ;;
74.2315 +
74.2316 +freebsd* | kfreebsd*-gnu | dragonfly*)
74.2317 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
74.2318 + case $host_cpu in
74.2319 + i*86 )
74.2320 + # Not sure whether the presence of OpenBSD here was a mistake.
74.2321 + # Let's accept both of them until this is cleared up.
74.2322 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
74.2323 + lt_cv_file_magic_cmd=/usr/bin/file
74.2324 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
74.2325 + ;;
74.2326 + esac
74.2327 + else
74.2328 + lt_cv_deplibs_check_method=pass_all
74.2329 + fi
74.2330 + ;;
74.2331 +
74.2332 +gnu*)
74.2333 + lt_cv_deplibs_check_method=pass_all
74.2334 + ;;
74.2335 +
74.2336 +hpux10.20* | hpux11*)
74.2337 + lt_cv_file_magic_cmd=/usr/bin/file
74.2338 + case $host_cpu in
74.2339 + ia64*)
74.2340 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
74.2341 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
74.2342 + ;;
74.2343 + hppa*64*)
74.2344 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
74.2345 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
74.2346 + ;;
74.2347 + *)
74.2348 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
74.2349 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
74.2350 + ;;
74.2351 + esac
74.2352 + ;;
74.2353 +
74.2354 +interix3*)
74.2355 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
74.2356 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
74.2357 + ;;
74.2358 +
74.2359 +irix5* | irix6* | nonstopux*)
74.2360 + case $LD in
74.2361 + *-32|*"-32 ") libmagic=32-bit;;
74.2362 + *-n32|*"-n32 ") libmagic=N32;;
74.2363 + *-64|*"-64 ") libmagic=64-bit;;
74.2364 + *) libmagic=never-match;;
74.2365 + esac
74.2366 + lt_cv_deplibs_check_method=pass_all
74.2367 + ;;
74.2368 +
74.2369 +# This must be Linux ELF.
74.2370 +linux*)
74.2371 + lt_cv_deplibs_check_method=pass_all
74.2372 + ;;
74.2373 +
74.2374 +netbsd*)
74.2375 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
74.2376 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
74.2377 + else
74.2378 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
74.2379 + fi
74.2380 + ;;
74.2381 +
74.2382 +newos6*)
74.2383 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
74.2384 + lt_cv_file_magic_cmd=/usr/bin/file
74.2385 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
74.2386 + ;;
74.2387 +
74.2388 +nto-qnx*)
74.2389 + lt_cv_deplibs_check_method=unknown
74.2390 + ;;
74.2391 +
74.2392 +openbsd*)
74.2393 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
74.2394 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
74.2395 + else
74.2396 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
74.2397 + fi
74.2398 + ;;
74.2399 +
74.2400 +osf3* | osf4* | osf5*)
74.2401 + lt_cv_deplibs_check_method=pass_all
74.2402 + ;;
74.2403 +
74.2404 +solaris*)
74.2405 + lt_cv_deplibs_check_method=pass_all
74.2406 + ;;
74.2407 +
74.2408 +sysv4 | sysv4.3*)
74.2409 + case $host_vendor in
74.2410 + motorola)
74.2411 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
74.2412 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
74.2413 + ;;
74.2414 + ncr)
74.2415 + lt_cv_deplibs_check_method=pass_all
74.2416 + ;;
74.2417 + sequent)
74.2418 + lt_cv_file_magic_cmd='/bin/file'
74.2419 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
74.2420 + ;;
74.2421 + sni)
74.2422 + lt_cv_file_magic_cmd='/bin/file'
74.2423 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
74.2424 + lt_cv_file_magic_test_file=/lib/libc.so
74.2425 + ;;
74.2426 + siemens)
74.2427 + lt_cv_deplibs_check_method=pass_all
74.2428 + ;;
74.2429 + pc)
74.2430 + lt_cv_deplibs_check_method=pass_all
74.2431 + ;;
74.2432 + esac
74.2433 + ;;
74.2434 +
74.2435 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
74.2436 + lt_cv_deplibs_check_method=pass_all
74.2437 + ;;
74.2438 +esac
74.2439 +])
74.2440 +file_magic_cmd=$lt_cv_file_magic_cmd
74.2441 +deplibs_check_method=$lt_cv_deplibs_check_method
74.2442 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
74.2443 +])# AC_DEPLIBS_CHECK_METHOD
74.2444 +
74.2445 +
74.2446 +# AC_PROG_NM
74.2447 +# ----------
74.2448 +# find the pathname to a BSD-compatible name lister
74.2449 +AC_DEFUN([AC_PROG_NM],
74.2450 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
74.2451 +[if test -n "$NM"; then
74.2452 + # Let the user override the test.
74.2453 + lt_cv_path_NM="$NM"
74.2454 +else
74.2455 + lt_nm_to_check="${ac_tool_prefix}nm"
74.2456 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
74.2457 + lt_nm_to_check="$lt_nm_to_check nm"
74.2458 + fi
74.2459 + for lt_tmp_nm in $lt_nm_to_check; do
74.2460 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
74.2461 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
74.2462 + IFS="$lt_save_ifs"
74.2463 + test -z "$ac_dir" && ac_dir=.
74.2464 + tmp_nm="$ac_dir/$lt_tmp_nm"
74.2465 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
74.2466 + # Check to see if the nm accepts a BSD-compat flag.
74.2467 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
74.2468 + # nm: unknown option "B" ignored
74.2469 + # Tru64's nm complains that /dev/null is an invalid object file
74.2470 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
74.2471 + */dev/null* | *'Invalid file or object type'*)
74.2472 + lt_cv_path_NM="$tmp_nm -B"
74.2473 + break
74.2474 + ;;
74.2475 + *)
74.2476 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
74.2477 + */dev/null*)
74.2478 + lt_cv_path_NM="$tmp_nm -p"
74.2479 + break
74.2480 + ;;
74.2481 + *)
74.2482 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
74.2483 + continue # so that we can try to find one that supports BSD flags
74.2484 + ;;
74.2485 + esac
74.2486 + ;;
74.2487 + esac
74.2488 + fi
74.2489 + done
74.2490 + IFS="$lt_save_ifs"
74.2491 + done
74.2492 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
74.2493 +fi])
74.2494 +NM="$lt_cv_path_NM"
74.2495 +])# AC_PROG_NM
74.2496 +
74.2497 +
74.2498 +# AC_CHECK_LIBM
74.2499 +# -------------
74.2500 +# check for math library
74.2501 +AC_DEFUN([AC_CHECK_LIBM],
74.2502 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
74.2503 +LIBM=
74.2504 +case $host in
74.2505 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
74.2506 + # These system don't have libm, or don't need it
74.2507 + ;;
74.2508 +*-ncr-sysv4.3*)
74.2509 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
74.2510 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
74.2511 + ;;
74.2512 +*)
74.2513 + AC_CHECK_LIB(m, cos, LIBM="-lm")
74.2514 + ;;
74.2515 +esac
74.2516 +])# AC_CHECK_LIBM
74.2517 +
74.2518 +
74.2519 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
74.2520 +# -----------------------------------
74.2521 +# sets LIBLTDL to the link flags for the libltdl convenience library and
74.2522 +# LTDLINCL to the include flags for the libltdl header and adds
74.2523 +# --enable-ltdl-convenience to the configure arguments. Note that
74.2524 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
74.2525 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
74.2526 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
74.2527 +# (note the single quotes!). If your package is not flat and you're not
74.2528 +# using automake, define top_builddir and top_srcdir appropriately in
74.2529 +# the Makefiles.
74.2530 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
74.2531 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.2532 + case $enable_ltdl_convenience in
74.2533 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
74.2534 + "") enable_ltdl_convenience=yes
74.2535 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
74.2536 + esac
74.2537 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
74.2538 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
74.2539 + # For backwards non-gettext consistent compatibility...
74.2540 + INCLTDL="$LTDLINCL"
74.2541 +])# AC_LIBLTDL_CONVENIENCE
74.2542 +
74.2543 +
74.2544 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
74.2545 +# -----------------------------------
74.2546 +# sets LIBLTDL to the link flags for the libltdl installable library and
74.2547 +# LTDLINCL to the include flags for the libltdl header and adds
74.2548 +# --enable-ltdl-install to the configure arguments. Note that
74.2549 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
74.2550 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
74.2551 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
74.2552 +# '${top_srcdir}/' (note the single quotes!). If your package is not
74.2553 +# flat and you're not using automake, define top_builddir and top_srcdir
74.2554 +# appropriately in the Makefiles.
74.2555 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
74.2556 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
74.2557 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
74.2558 + AC_CHECK_LIB(ltdl, lt_dlinit,
74.2559 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
74.2560 + [if test x"$enable_ltdl_install" = xno; then
74.2561 + AC_MSG_WARN([libltdl not installed, but installation disabled])
74.2562 + else
74.2563 + enable_ltdl_install=yes
74.2564 + fi
74.2565 + ])
74.2566 + if test x"$enable_ltdl_install" = x"yes"; then
74.2567 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
74.2568 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
74.2569 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
74.2570 + else
74.2571 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
74.2572 + LIBLTDL="-lltdl"
74.2573 + LTDLINCL=
74.2574 + fi
74.2575 + # For backwards non-gettext consistent compatibility...
74.2576 + INCLTDL="$LTDLINCL"
74.2577 +])# AC_LIBLTDL_INSTALLABLE
74.2578 +
74.2579 +
74.2580 +# AC_LIBTOOL_CXX
74.2581 +# --------------
74.2582 +# enable support for C++ libraries
74.2583 +AC_DEFUN([AC_LIBTOOL_CXX],
74.2584 +[AC_REQUIRE([_LT_AC_LANG_CXX])
74.2585 +])# AC_LIBTOOL_CXX
74.2586 +
74.2587 +
74.2588 +# _LT_AC_LANG_CXX
74.2589 +# ---------------
74.2590 +AC_DEFUN([_LT_AC_LANG_CXX],
74.2591 +[AC_REQUIRE([AC_PROG_CXX])
74.2592 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
74.2593 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
74.2594 +])# _LT_AC_LANG_CXX
74.2595 +
74.2596 +# _LT_AC_PROG_CXXCPP
74.2597 +# ------------------
74.2598 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
74.2599 +[
74.2600 +AC_REQUIRE([AC_PROG_CXX])
74.2601 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
74.2602 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
74.2603 + (test "X$CXX" != "Xg++"))) ; then
74.2604 + AC_PROG_CXXCPP
74.2605 +fi
74.2606 +])# _LT_AC_PROG_CXXCPP
74.2607 +
74.2608 +# AC_LIBTOOL_F77
74.2609 +# --------------
74.2610 +# enable support for Fortran 77 libraries
74.2611 +AC_DEFUN([AC_LIBTOOL_F77],
74.2612 +[AC_REQUIRE([_LT_AC_LANG_F77])
74.2613 +])# AC_LIBTOOL_F77
74.2614 +
74.2615 +
74.2616 +# _LT_AC_LANG_F77
74.2617 +# ---------------
74.2618 +AC_DEFUN([_LT_AC_LANG_F77],
74.2619 +[AC_REQUIRE([AC_PROG_F77])
74.2620 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
74.2621 +])# _LT_AC_LANG_F77
74.2622 +
74.2623 +
74.2624 +# AC_LIBTOOL_GCJ
74.2625 +# --------------
74.2626 +# enable support for GCJ libraries
74.2627 +AC_DEFUN([AC_LIBTOOL_GCJ],
74.2628 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
74.2629 +])# AC_LIBTOOL_GCJ
74.2630 +
74.2631 +
74.2632 +# _LT_AC_LANG_GCJ
74.2633 +# ---------------
74.2634 +AC_DEFUN([_LT_AC_LANG_GCJ],
74.2635 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
74.2636 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
74.2637 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
74.2638 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
74.2639 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
74.2640 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
74.2641 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
74.2642 +])# _LT_AC_LANG_GCJ
74.2643 +
74.2644 +
74.2645 +# AC_LIBTOOL_RC
74.2646 +# -------------
74.2647 +# enable support for Windows resource files
74.2648 +AC_DEFUN([AC_LIBTOOL_RC],
74.2649 +[AC_REQUIRE([LT_AC_PROG_RC])
74.2650 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
74.2651 +])# AC_LIBTOOL_RC
74.2652 +
74.2653 +
74.2654 +# AC_LIBTOOL_LANG_C_CONFIG
74.2655 +# ------------------------
74.2656 +# Ensure that the configuration vars for the C compiler are
74.2657 +# suitably defined. Those variables are subsequently used by
74.2658 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
74.2659 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
74.2660 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
74.2661 +[lt_save_CC="$CC"
74.2662 +AC_LANG_PUSH(C)
74.2663 +
74.2664 +# Source file extension for C test sources.
74.2665 +ac_ext=c
74.2666 +
74.2667 +# Object file extension for compiled C test sources.
74.2668 +objext=o
74.2669 +_LT_AC_TAGVAR(objext, $1)=$objext
74.2670 +
74.2671 +# Code to be used in simple compile tests
74.2672 +lt_simple_compile_test_code="int some_variable = 0;\n"
74.2673 +
74.2674 +# Code to be used in simple link tests
74.2675 +lt_simple_link_test_code='int main(){return(0);}\n'
74.2676 +
74.2677 +_LT_AC_SYS_COMPILER
74.2678 +
74.2679 +# save warnings/boilerplate of simple test code
74.2680 +_LT_COMPILER_BOILERPLATE
74.2681 +_LT_LINKER_BOILERPLATE
74.2682 +
74.2683 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
74.2684 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
74.2685 +AC_LIBTOOL_PROG_CC_C_O($1)
74.2686 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
74.2687 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
74.2688 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
74.2689 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
74.2690 +AC_LIBTOOL_SYS_LIB_STRIP
74.2691 +AC_LIBTOOL_DLOPEN_SELF
74.2692 +
74.2693 +# Report which library types will actually be built
74.2694 +AC_MSG_CHECKING([if libtool supports shared libraries])
74.2695 +AC_MSG_RESULT([$can_build_shared])
74.2696 +
74.2697 +AC_MSG_CHECKING([whether to build shared libraries])
74.2698 +test "$can_build_shared" = "no" && enable_shared=no
74.2699 +
74.2700 +# On AIX, shared libraries and static libraries use the same namespace, and
74.2701 +# are all built from PIC.
74.2702 +case $host_os in
74.2703 +aix3*)
74.2704 + test "$enable_shared" = yes && enable_static=no
74.2705 + if test -n "$RANLIB"; then
74.2706 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
74.2707 + postinstall_cmds='$RANLIB $lib'
74.2708 + fi
74.2709 + ;;
74.2710 +
74.2711 +aix4* | aix5*)
74.2712 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
74.2713 + test "$enable_shared" = yes && enable_static=no
74.2714 + fi
74.2715 + ;;
74.2716 +esac
74.2717 +AC_MSG_RESULT([$enable_shared])
74.2718 +
74.2719 +AC_MSG_CHECKING([whether to build static libraries])
74.2720 +# Make sure either enable_shared or enable_static is yes.
74.2721 +test "$enable_shared" = yes || enable_static=yes
74.2722 +AC_MSG_RESULT([$enable_static])
74.2723 +
74.2724 +AC_LIBTOOL_CONFIG($1)
74.2725 +
74.2726 +AC_LANG_POP
74.2727 +CC="$lt_save_CC"
74.2728 +])# AC_LIBTOOL_LANG_C_CONFIG
74.2729 +
74.2730 +
74.2731 +# AC_LIBTOOL_LANG_CXX_CONFIG
74.2732 +# --------------------------
74.2733 +# Ensure that the configuration vars for the C compiler are
74.2734 +# suitably defined. Those variables are subsequently used by
74.2735 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
74.2736 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
74.2737 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
74.2738 +[AC_LANG_PUSH(C++)
74.2739 +AC_REQUIRE([AC_PROG_CXX])
74.2740 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
74.2741 +
74.2742 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.2743 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
74.2744 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
74.2745 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
74.2746 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
74.2747 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
74.2748 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
74.2749 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
74.2750 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
74.2751 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
74.2752 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
74.2753 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
74.2754 +_LT_AC_TAGVAR(module_cmds, $1)=
74.2755 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
74.2756 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
74.2757 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
74.2758 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
74.2759 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.2760 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
74.2761 +
74.2762 +# Dependencies to place before and after the object being linked:
74.2763 +_LT_AC_TAGVAR(predep_objects, $1)=
74.2764 +_LT_AC_TAGVAR(postdep_objects, $1)=
74.2765 +_LT_AC_TAGVAR(predeps, $1)=
74.2766 +_LT_AC_TAGVAR(postdeps, $1)=
74.2767 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
74.2768 +
74.2769 +# Source file extension for C++ test sources.
74.2770 +ac_ext=cpp
74.2771 +
74.2772 +# Object file extension for compiled C++ test sources.
74.2773 +objext=o
74.2774 +_LT_AC_TAGVAR(objext, $1)=$objext
74.2775 +
74.2776 +# Code to be used in simple compile tests
74.2777 +lt_simple_compile_test_code="int some_variable = 0;\n"
74.2778 +
74.2779 +# Code to be used in simple link tests
74.2780 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
74.2781 +
74.2782 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
74.2783 +_LT_AC_SYS_COMPILER
74.2784 +
74.2785 +# save warnings/boilerplate of simple test code
74.2786 +_LT_COMPILER_BOILERPLATE
74.2787 +_LT_LINKER_BOILERPLATE
74.2788 +
74.2789 +# Allow CC to be a program name with arguments.
74.2790 +lt_save_CC=$CC
74.2791 +lt_save_LD=$LD
74.2792 +lt_save_GCC=$GCC
74.2793 +GCC=$GXX
74.2794 +lt_save_with_gnu_ld=$with_gnu_ld
74.2795 +lt_save_path_LD=$lt_cv_path_LD
74.2796 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
74.2797 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
74.2798 +else
74.2799 + $as_unset lt_cv_prog_gnu_ld
74.2800 +fi
74.2801 +if test -n "${lt_cv_path_LDCXX+set}"; then
74.2802 + lt_cv_path_LD=$lt_cv_path_LDCXX
74.2803 +else
74.2804 + $as_unset lt_cv_path_LD
74.2805 +fi
74.2806 +test -z "${LDCXX+set}" || LD=$LDCXX
74.2807 +CC=${CXX-"c++"}
74.2808 +compiler=$CC
74.2809 +_LT_AC_TAGVAR(compiler, $1)=$CC
74.2810 +_LT_CC_BASENAME([$compiler])
74.2811 +
74.2812 +# We don't want -fno-exception wen compiling C++ code, so set the
74.2813 +# no_builtin_flag separately
74.2814 +if test "$GXX" = yes; then
74.2815 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
74.2816 +else
74.2817 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
74.2818 +fi
74.2819 +
74.2820 +if test "$GXX" = yes; then
74.2821 + # Set up default GNU C++ configuration
74.2822 +
74.2823 + AC_PROG_LD
74.2824 +
74.2825 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
74.2826 + # archiving commands below assume that GNU ld is being used.
74.2827 + if test "$with_gnu_ld" = yes; then
74.2828 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.2829 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.2830 +
74.2831 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
74.2832 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
74.2833 +
74.2834 + # If archive_cmds runs LD, not CC, wlarc should be empty
74.2835 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
74.2836 + # investigate it a little bit more. (MM)
74.2837 + wlarc='${wl}'
74.2838 +
74.2839 + # ancient GNU ld didn't support --whole-archive et. al.
74.2840 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
74.2841 + grep 'no-whole-archive' > /dev/null; then
74.2842 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
74.2843 + else
74.2844 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.2845 + fi
74.2846 + else
74.2847 + with_gnu_ld=no
74.2848 + wlarc=
74.2849 +
74.2850 + # A generic and very simple default shared library creation
74.2851 + # command for GNU C++ for the case where it uses the native
74.2852 + # linker, instead of GNU ld. If possible, this setting should
74.2853 + # overridden to take advantage of the native linker features on
74.2854 + # the platform it is being used on.
74.2855 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
74.2856 + fi
74.2857 +
74.2858 + # Commands to make compiler produce verbose output that lists
74.2859 + # what "hidden" libraries, object files and flags are used when
74.2860 + # linking a shared library.
74.2861 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
74.2862 +
74.2863 +else
74.2864 + GXX=no
74.2865 + with_gnu_ld=no
74.2866 + wlarc=
74.2867 +fi
74.2868 +
74.2869 +# PORTME: fill in a description of your system's C++ link characteristics
74.2870 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
74.2871 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
74.2872 +case $host_os in
74.2873 + aix3*)
74.2874 + # FIXME: insert proper C++ library support
74.2875 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.2876 + ;;
74.2877 + aix4* | aix5*)
74.2878 + if test "$host_cpu" = ia64; then
74.2879 + # On IA64, the linker does run time linking by default, so we don't
74.2880 + # have to do anything special.
74.2881 + aix_use_runtimelinking=no
74.2882 + exp_sym_flag='-Bexport'
74.2883 + no_entry_flag=""
74.2884 + else
74.2885 + aix_use_runtimelinking=no
74.2886 +
74.2887 + # Test if we are trying to use run time linking or normal
74.2888 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
74.2889 + # need to do runtime linking.
74.2890 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
74.2891 + for ld_flag in $LDFLAGS; do
74.2892 + case $ld_flag in
74.2893 + *-brtl*)
74.2894 + aix_use_runtimelinking=yes
74.2895 + break
74.2896 + ;;
74.2897 + esac
74.2898 + done
74.2899 + ;;
74.2900 + esac
74.2901 +
74.2902 + exp_sym_flag='-bexport'
74.2903 + no_entry_flag='-bnoentry'
74.2904 + fi
74.2905 +
74.2906 + # When large executables or shared objects are built, AIX ld can
74.2907 + # have problems creating the table of contents. If linking a library
74.2908 + # or program results in "error TOC overflow" add -mminimal-toc to
74.2909 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
74.2910 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
74.2911 +
74.2912 + _LT_AC_TAGVAR(archive_cmds, $1)=''
74.2913 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.2914 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
74.2915 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.2916 +
74.2917 + if test "$GXX" = yes; then
74.2918 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
74.2919 + # We only want to do this on AIX 4.2 and lower, the check
74.2920 + # below for broken collect2 doesn't work under 4.3+
74.2921 + collect2name=`${CC} -print-prog-name=collect2`
74.2922 + if test -f "$collect2name" && \
74.2923 + strings "$collect2name" | grep resolve_lib_name >/dev/null
74.2924 + then
74.2925 + # We have reworked collect2
74.2926 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.2927 + else
74.2928 + # We have old collect2
74.2929 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
74.2930 + # It fails to find uninstalled libraries when the uninstalled
74.2931 + # path is not listed in the libpath. Setting hardcode_minus_L
74.2932 + # to unsupported forces relinking
74.2933 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.2934 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.2935 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
74.2936 + fi
74.2937 + ;;
74.2938 + esac
74.2939 + shared_flag='-shared'
74.2940 + if test "$aix_use_runtimelinking" = yes; then
74.2941 + shared_flag="$shared_flag "'${wl}-G'
74.2942 + fi
74.2943 + else
74.2944 + # not using gcc
74.2945 + if test "$host_cpu" = ia64; then
74.2946 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
74.2947 + # chokes on -Wl,-G. The following line is correct:
74.2948 + shared_flag='-G'
74.2949 + else
74.2950 + if test "$aix_use_runtimelinking" = yes; then
74.2951 + shared_flag='${wl}-G'
74.2952 + else
74.2953 + shared_flag='${wl}-bM:SRE'
74.2954 + fi
74.2955 + fi
74.2956 + fi
74.2957 +
74.2958 + # It seems that -bexpall does not export symbols beginning with
74.2959 + # underscore (_), so it is better to generate a list of symbols to export.
74.2960 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
74.2961 + if test "$aix_use_runtimelinking" = yes; then
74.2962 + # Warning - without using the other runtime loading flags (-brtl),
74.2963 + # -berok will link without error, but may produce a broken library.
74.2964 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
74.2965 + # Determine the default libpath from the value encoded in an empty executable.
74.2966 + _LT_AC_SYS_LIBPATH_AIX
74.2967 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
74.2968 +
74.2969 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
74.2970 + else
74.2971 + if test "$host_cpu" = ia64; then
74.2972 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
74.2973 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
74.2974 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
74.2975 + else
74.2976 + # Determine the default libpath from the value encoded in an empty executable.
74.2977 + _LT_AC_SYS_LIBPATH_AIX
74.2978 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
74.2979 + # Warning - without using the other run time loading flags,
74.2980 + # -berok will link without error, but may produce a broken library.
74.2981 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
74.2982 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
74.2983 + # Exported symbols can be pulled into shared objects from archives
74.2984 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
74.2985 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
74.2986 + # This is similar to how AIX traditionally builds its shared libraries.
74.2987 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
74.2988 + fi
74.2989 + fi
74.2990 + ;;
74.2991 +
74.2992 + beos*)
74.2993 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.2994 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.2995 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
74.2996 + # support --undefined. This deserves some investigation. FIXME
74.2997 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.2998 + else
74.2999 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3000 + fi
74.3001 + ;;
74.3002 +
74.3003 + chorus*)
74.3004 + case $cc_basename in
74.3005 + *)
74.3006 + # FIXME: insert proper C++ library support
74.3007 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3008 + ;;
74.3009 + esac
74.3010 + ;;
74.3011 +
74.3012 + cygwin* | mingw* | pw32*)
74.3013 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
74.3014 + # as there is no search path for DLLs.
74.3015 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.3016 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.3017 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
74.3018 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
74.3019 +
74.3020 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
74.3021 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
74.3022 + # If the export-symbols file already is a .def file (1st line
74.3023 + # is EXPORTS), use it as is; otherwise, prepend...
74.3024 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
74.3025 + cp $export_symbols $output_objdir/$soname.def;
74.3026 + else
74.3027 + echo EXPORTS > $output_objdir/$soname.def;
74.3028 + cat $export_symbols >> $output_objdir/$soname.def;
74.3029 + fi~
74.3030 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
74.3031 + else
74.3032 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3033 + fi
74.3034 + ;;
74.3035 + darwin* | rhapsody*)
74.3036 + case $host_os in
74.3037 + rhapsody* | darwin1.[[012]])
74.3038 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
74.3039 + ;;
74.3040 + *) # Darwin 1.3 on
74.3041 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
74.3042 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
74.3043 + else
74.3044 + case ${MACOSX_DEPLOYMENT_TARGET} in
74.3045 + 10.[[012]])
74.3046 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
74.3047 + ;;
74.3048 + 10.*)
74.3049 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
74.3050 + ;;
74.3051 + esac
74.3052 + fi
74.3053 + ;;
74.3054 + esac
74.3055 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3056 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.3057 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
74.3058 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
74.3059 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
74.3060 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.3061 +
74.3062 + if test "$GXX" = yes ; then
74.3063 + lt_int_apple_cc_single_mod=no
74.3064 + output_verbose_link_cmd='echo'
74.3065 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
74.3066 + lt_int_apple_cc_single_mod=yes
74.3067 + fi
74.3068 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
74.3069 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
74.3070 + else
74.3071 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
74.3072 + fi
74.3073 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
74.3074 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
74.3075 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
74.3076 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.3077 + else
74.3078 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.3079 + fi
74.3080 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.3081 + else
74.3082 + case $cc_basename in
74.3083 + xlc*)
74.3084 + output_verbose_link_cmd='echo'
74.3085 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
74.3086 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
74.3087 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
74.3088 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.3089 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.3090 + ;;
74.3091 + *)
74.3092 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3093 + ;;
74.3094 + esac
74.3095 + fi
74.3096 + ;;
74.3097 +
74.3098 + dgux*)
74.3099 + case $cc_basename in
74.3100 + ec++*)
74.3101 + # FIXME: insert proper C++ library support
74.3102 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3103 + ;;
74.3104 + ghcx*)
74.3105 + # Green Hills C++ Compiler
74.3106 + # FIXME: insert proper C++ library support
74.3107 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3108 + ;;
74.3109 + *)
74.3110 + # FIXME: insert proper C++ library support
74.3111 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3112 + ;;
74.3113 + esac
74.3114 + ;;
74.3115 + freebsd[[12]]*)
74.3116 + # C++ shared libraries reported to be fairly broken before switch to ELF
74.3117 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3118 + ;;
74.3119 + freebsd-elf*)
74.3120 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3121 + ;;
74.3122 + freebsd* | kfreebsd*-gnu | dragonfly*)
74.3123 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
74.3124 + # conventions
74.3125 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
74.3126 + ;;
74.3127 + gnu*)
74.3128 + ;;
74.3129 + hpux9*)
74.3130 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
74.3131 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3132 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.3133 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.3134 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
74.3135 + # but as the default
74.3136 + # location of the library.
74.3137 +
74.3138 + case $cc_basename in
74.3139 + CC*)
74.3140 + # FIXME: insert proper C++ library support
74.3141 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3142 + ;;
74.3143 + aCC*)
74.3144 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
74.3145 + # Commands to make compiler produce verbose output that lists
74.3146 + # what "hidden" libraries, object files and flags are used when
74.3147 + # linking a shared library.
74.3148 + #
74.3149 + # There doesn't appear to be a way to prevent this compiler from
74.3150 + # explicitly linking system object files so we need to strip them
74.3151 + # from the output so that they don't get included in the library
74.3152 + # dependencies.
74.3153 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3154 + ;;
74.3155 + *)
74.3156 + if test "$GXX" = yes; then
74.3157 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
74.3158 + else
74.3159 + # FIXME: insert proper C++ library support
74.3160 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3161 + fi
74.3162 + ;;
74.3163 + esac
74.3164 + ;;
74.3165 + hpux10*|hpux11*)
74.3166 + if test $with_gnu_ld = no; then
74.3167 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
74.3168 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3169 +
74.3170 + case $host_cpu in
74.3171 + hppa*64*|ia64*)
74.3172 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
74.3173 + ;;
74.3174 + *)
74.3175 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.3176 + ;;
74.3177 + esac
74.3178 + fi
74.3179 + case $host_cpu in
74.3180 + hppa*64*|ia64*)
74.3181 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.3182 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3183 + ;;
74.3184 + *)
74.3185 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.3186 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
74.3187 + # but as the default
74.3188 + # location of the library.
74.3189 + ;;
74.3190 + esac
74.3191 +
74.3192 + case $cc_basename in
74.3193 + CC*)
74.3194 + # FIXME: insert proper C++ library support
74.3195 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3196 + ;;
74.3197 + aCC*)
74.3198 + case $host_cpu in
74.3199 + hppa*64*)
74.3200 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3201 + ;;
74.3202 + ia64*)
74.3203 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3204 + ;;
74.3205 + *)
74.3206 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3207 + ;;
74.3208 + esac
74.3209 + # Commands to make compiler produce verbose output that lists
74.3210 + # what "hidden" libraries, object files and flags are used when
74.3211 + # linking a shared library.
74.3212 + #
74.3213 + # There doesn't appear to be a way to prevent this compiler from
74.3214 + # explicitly linking system object files so we need to strip them
74.3215 + # from the output so that they don't get included in the library
74.3216 + # dependencies.
74.3217 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3218 + ;;
74.3219 + *)
74.3220 + if test "$GXX" = yes; then
74.3221 + if test $with_gnu_ld = no; then
74.3222 + case $host_cpu in
74.3223 + hppa*64*)
74.3224 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3225 + ;;
74.3226 + ia64*)
74.3227 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3228 + ;;
74.3229 + *)
74.3230 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3231 + ;;
74.3232 + esac
74.3233 + fi
74.3234 + else
74.3235 + # FIXME: insert proper C++ library support
74.3236 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3237 + fi
74.3238 + ;;
74.3239 + esac
74.3240 + ;;
74.3241 + interix3*)
74.3242 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.3243 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3244 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.3245 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.3246 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
74.3247 + # Instead, shared libraries are loaded at an image base (0x10000000 by
74.3248 + # default) and relocated if they conflict, which is a slow very memory
74.3249 + # consuming and fragmenting process. To avoid this, we pick a random,
74.3250 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
74.3251 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
74.3252 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
74.3253 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
74.3254 + ;;
74.3255 + irix5* | irix6*)
74.3256 + case $cc_basename in
74.3257 + CC*)
74.3258 + # SGI C++
74.3259 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.3260 +
74.3261 + # Archives containing C++ object files must be created using
74.3262 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
74.3263 + # necessary to make sure instantiated templates are included
74.3264 + # in the archive.
74.3265 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
74.3266 + ;;
74.3267 + *)
74.3268 + if test "$GXX" = yes; then
74.3269 + if test "$with_gnu_ld" = no; then
74.3270 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.3271 + else
74.3272 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
74.3273 + fi
74.3274 + fi
74.3275 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.3276 + ;;
74.3277 + esac
74.3278 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.3279 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3280 + ;;
74.3281 + linux*)
74.3282 + case $cc_basename in
74.3283 + KCC*)
74.3284 + # Kuck and Associates, Inc. (KAI) C++ Compiler
74.3285 +
74.3286 + # KCC will only create a shared library if the output file
74.3287 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
74.3288 + # to its proper name (with version) after linking.
74.3289 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
74.3290 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
74.3291 + # Commands to make compiler produce verbose output that lists
74.3292 + # what "hidden" libraries, object files and flags are used when
74.3293 + # linking a shared library.
74.3294 + #
74.3295 + # There doesn't appear to be a way to prevent this compiler from
74.3296 + # explicitly linking system object files so we need to strip them
74.3297 + # from the output so that they don't get included in the library
74.3298 + # dependencies.
74.3299 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3300 +
74.3301 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
74.3302 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
74.3303 +
74.3304 + # Archives containing C++ object files must be created using
74.3305 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
74.3306 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
74.3307 + ;;
74.3308 + icpc*)
74.3309 + # Intel C++
74.3310 + with_gnu_ld=yes
74.3311 + # version 8.0 and above of icpc choke on multiply defined symbols
74.3312 + # if we add $predep_objects and $postdep_objects, however 7.1 and
74.3313 + # earlier do not add the objects themselves.
74.3314 + case `$CC -V 2>&1` in
74.3315 + *"Version 7."*)
74.3316 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.3317 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.3318 + ;;
74.3319 + *) # Version 8.0 or newer
74.3320 + tmp_idyn=
74.3321 + case $host_cpu in
74.3322 + ia64*) tmp_idyn=' -i_dynamic';;
74.3323 + esac
74.3324 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.3325 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.3326 + ;;
74.3327 + esac
74.3328 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3329 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.3330 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
74.3331 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
74.3332 + ;;
74.3333 + pgCC*)
74.3334 + # Portland Group C++ compiler
74.3335 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
74.3336 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
74.3337 +
74.3338 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
74.3339 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
74.3340 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
74.3341 + ;;
74.3342 + cxx*)
74.3343 + # Compaq C++
74.3344 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.3345 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
74.3346 +
74.3347 + runpath_var=LD_RUN_PATH
74.3348 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
74.3349 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3350 +
74.3351 + # Commands to make compiler produce verbose output that lists
74.3352 + # what "hidden" libraries, object files and flags are used when
74.3353 + # linking a shared library.
74.3354 + #
74.3355 + # There doesn't appear to be a way to prevent this compiler from
74.3356 + # explicitly linking system object files so we need to strip them
74.3357 + # from the output so that they don't get included in the library
74.3358 + # dependencies.
74.3359 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3360 + ;;
74.3361 + esac
74.3362 + ;;
74.3363 + lynxos*)
74.3364 + # FIXME: insert proper C++ library support
74.3365 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3366 + ;;
74.3367 + m88k*)
74.3368 + # FIXME: insert proper C++ library support
74.3369 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3370 + ;;
74.3371 + mvs*)
74.3372 + case $cc_basename in
74.3373 + cxx*)
74.3374 + # FIXME: insert proper C++ library support
74.3375 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3376 + ;;
74.3377 + *)
74.3378 + # FIXME: insert proper C++ library support
74.3379 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3380 + ;;
74.3381 + esac
74.3382 + ;;
74.3383 + netbsd*)
74.3384 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
74.3385 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
74.3386 + wlarc=
74.3387 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.3388 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.3389 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3390 + fi
74.3391 + # Workaround some broken pre-1.5 toolchains
74.3392 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
74.3393 + ;;
74.3394 + openbsd2*)
74.3395 + # C++ shared libraries are fairly broken
74.3396 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3397 + ;;
74.3398 + openbsd*)
74.3399 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.3400 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3401 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
74.3402 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.3403 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
74.3404 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
74.3405 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.3406 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
74.3407 + fi
74.3408 + output_verbose_link_cmd='echo'
74.3409 + ;;
74.3410 + osf3*)
74.3411 + case $cc_basename in
74.3412 + KCC*)
74.3413 + # Kuck and Associates, Inc. (KAI) C++ Compiler
74.3414 +
74.3415 + # KCC will only create a shared library if the output file
74.3416 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
74.3417 + # to its proper name (with version) after linking.
74.3418 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
74.3419 +
74.3420 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.3421 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3422 +
74.3423 + # Archives containing C++ object files must be created using
74.3424 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
74.3425 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
74.3426 +
74.3427 + ;;
74.3428 + RCC*)
74.3429 + # Rational C++ 2.4.1
74.3430 + # FIXME: insert proper C++ library support
74.3431 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3432 + ;;
74.3433 + cxx*)
74.3434 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
74.3435 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.3436 +
74.3437 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.3438 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3439 +
74.3440 + # Commands to make compiler produce verbose output that lists
74.3441 + # what "hidden" libraries, object files and flags are used when
74.3442 + # linking a shared library.
74.3443 + #
74.3444 + # There doesn't appear to be a way to prevent this compiler from
74.3445 + # explicitly linking system object files so we need to strip them
74.3446 + # from the output so that they don't get included in the library
74.3447 + # dependencies.
74.3448 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3449 + ;;
74.3450 + *)
74.3451 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
74.3452 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
74.3453 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.3454 +
74.3455 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.3456 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3457 +
74.3458 + # Commands to make compiler produce verbose output that lists
74.3459 + # what "hidden" libraries, object files and flags are used when
74.3460 + # linking a shared library.
74.3461 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
74.3462 +
74.3463 + else
74.3464 + # FIXME: insert proper C++ library support
74.3465 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3466 + fi
74.3467 + ;;
74.3468 + esac
74.3469 + ;;
74.3470 + osf4* | osf5*)
74.3471 + case $cc_basename in
74.3472 + KCC*)
74.3473 + # Kuck and Associates, Inc. (KAI) C++ Compiler
74.3474 +
74.3475 + # KCC will only create a shared library if the output file
74.3476 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
74.3477 + # to its proper name (with version) after linking.
74.3478 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
74.3479 +
74.3480 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.3481 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3482 +
74.3483 + # Archives containing C++ object files must be created using
74.3484 + # the KAI C++ compiler.
74.3485 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
74.3486 + ;;
74.3487 + RCC*)
74.3488 + # Rational C++ 2.4.1
74.3489 + # FIXME: insert proper C++ library support
74.3490 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3491 + ;;
74.3492 + cxx*)
74.3493 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
74.3494 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.3495 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
74.3496 + echo "-hidden">> $lib.exp~
74.3497 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
74.3498 + $rm $lib.exp'
74.3499 +
74.3500 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
74.3501 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3502 +
74.3503 + # Commands to make compiler produce verbose output that lists
74.3504 + # what "hidden" libraries, object files and flags are used when
74.3505 + # linking a shared library.
74.3506 + #
74.3507 + # There doesn't appear to be a way to prevent this compiler from
74.3508 + # explicitly linking system object files so we need to strip them
74.3509 + # from the output so that they don't get included in the library
74.3510 + # dependencies.
74.3511 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
74.3512 + ;;
74.3513 + *)
74.3514 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
74.3515 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
74.3516 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.3517 +
74.3518 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.3519 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.3520 +
74.3521 + # Commands to make compiler produce verbose output that lists
74.3522 + # what "hidden" libraries, object files and flags are used when
74.3523 + # linking a shared library.
74.3524 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
74.3525 +
74.3526 + else
74.3527 + # FIXME: insert proper C++ library support
74.3528 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3529 + fi
74.3530 + ;;
74.3531 + esac
74.3532 + ;;
74.3533 + psos*)
74.3534 + # FIXME: insert proper C++ library support
74.3535 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3536 + ;;
74.3537 + sunos4*)
74.3538 + case $cc_basename in
74.3539 + CC*)
74.3540 + # Sun C++ 4.x
74.3541 + # FIXME: insert proper C++ library support
74.3542 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3543 + ;;
74.3544 + lcc*)
74.3545 + # Lucid
74.3546 + # FIXME: insert proper C++ library support
74.3547 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3548 + ;;
74.3549 + *)
74.3550 + # FIXME: insert proper C++ library support
74.3551 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3552 + ;;
74.3553 + esac
74.3554 + ;;
74.3555 + solaris*)
74.3556 + case $cc_basename in
74.3557 + CC*)
74.3558 + # Sun C++ 4.2, 5.x and Centerline C++
74.3559 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
74.3560 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
74.3561 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
74.3562 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
74.3563 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
74.3564 +
74.3565 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.3566 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3567 + case $host_os in
74.3568 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
74.3569 + *)
74.3570 + # The C++ compiler is used as linker so we must use $wl
74.3571 + # flag to pass the commands to the underlying system
74.3572 + # linker. We must also pass each convience library through
74.3573 + # to the system linker between allextract/defaultextract.
74.3574 + # The C++ compiler will combine linker options so we
74.3575 + # cannot just pass the convience library names through
74.3576 + # without $wl.
74.3577 + # Supported since Solaris 2.6 (maybe 2.5.1?)
74.3578 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
74.3579 + ;;
74.3580 + esac
74.3581 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.3582 +
74.3583 + output_verbose_link_cmd='echo'
74.3584 +
74.3585 + # Archives containing C++ object files must be created using
74.3586 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
74.3587 + # necessary to make sure instantiated templates are included
74.3588 + # in the archive.
74.3589 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
74.3590 + ;;
74.3591 + gcx*)
74.3592 + # Green Hills C++ Compiler
74.3593 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
74.3594 +
74.3595 + # The C++ compiler must be used to create the archive.
74.3596 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
74.3597 + ;;
74.3598 + *)
74.3599 + # GNU C++ compiler with Solaris linker
74.3600 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
74.3601 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
74.3602 + if $CC --version | grep -v '^2\.7' > /dev/null; then
74.3603 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
74.3604 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
74.3605 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
74.3606 +
74.3607 + # Commands to make compiler produce verbose output that lists
74.3608 + # what "hidden" libraries, object files and flags are used when
74.3609 + # linking a shared library.
74.3610 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
74.3611 + else
74.3612 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
74.3613 + # platform.
74.3614 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
74.3615 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
74.3616 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
74.3617 +
74.3618 + # Commands to make compiler produce verbose output that lists
74.3619 + # what "hidden" libraries, object files and flags are used when
74.3620 + # linking a shared library.
74.3621 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
74.3622 + fi
74.3623 +
74.3624 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
74.3625 + fi
74.3626 + ;;
74.3627 + esac
74.3628 + ;;
74.3629 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
74.3630 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
74.3631 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3632 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3633 + runpath_var='LD_RUN_PATH'
74.3634 +
74.3635 + case $cc_basename in
74.3636 + CC*)
74.3637 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3638 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3639 + ;;
74.3640 + *)
74.3641 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3642 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3643 + ;;
74.3644 + esac
74.3645 + ;;
74.3646 + sysv5* | sco3.2v5* | sco5v6*)
74.3647 + # Note: We can NOT use -z defs as we might desire, because we do not
74.3648 + # link with -lc, and that would cause any symbols used from libc to
74.3649 + # always be unresolved, which means just about no library would
74.3650 + # ever link correctly. If we're not using GNU ld we use -z text
74.3651 + # though, which does catch some bad symbols but isn't as heavy-handed
74.3652 + # as -z defs.
74.3653 + # For security reasons, it is highly recommended that you always
74.3654 + # use absolute paths for naming shared libraries, and exclude the
74.3655 + # DT_RUNPATH tag from executables and libraries. But doing so
74.3656 + # requires that you compile everything twice, which is a pain.
74.3657 + # So that behaviour is only enabled if SCOABSPATH is set to a
74.3658 + # non-empty value in the environment. Most likely only useful for
74.3659 + # creating official distributions of packages.
74.3660 + # This is a hack until libtool officially supports absolute path
74.3661 + # names for shared libraries.
74.3662 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
74.3663 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
74.3664 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3665 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.3666 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
74.3667 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
74.3668 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.3669 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
74.3670 + runpath_var='LD_RUN_PATH'
74.3671 +
74.3672 + case $cc_basename in
74.3673 + CC*)
74.3674 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3675 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3676 + ;;
74.3677 + *)
74.3678 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3679 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.3680 + ;;
74.3681 + esac
74.3682 + ;;
74.3683 + tandem*)
74.3684 + case $cc_basename in
74.3685 + NCC*)
74.3686 + # NonStop-UX NCC 3.20
74.3687 + # FIXME: insert proper C++ library support
74.3688 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3689 + ;;
74.3690 + *)
74.3691 + # FIXME: insert proper C++ library support
74.3692 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3693 + ;;
74.3694 + esac
74.3695 + ;;
74.3696 + vxworks*)
74.3697 + # FIXME: insert proper C++ library support
74.3698 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3699 + ;;
74.3700 + *)
74.3701 + # FIXME: insert proper C++ library support
74.3702 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.3703 + ;;
74.3704 +esac
74.3705 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
74.3706 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
74.3707 +
74.3708 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
74.3709 +_LT_AC_TAGVAR(LD, $1)="$LD"
74.3710 +
74.3711 +AC_LIBTOOL_POSTDEP_PREDEP($1)
74.3712 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
74.3713 +AC_LIBTOOL_PROG_CC_C_O($1)
74.3714 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
74.3715 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
74.3716 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
74.3717 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
74.3718 +
74.3719 +AC_LIBTOOL_CONFIG($1)
74.3720 +
74.3721 +AC_LANG_POP
74.3722 +CC=$lt_save_CC
74.3723 +LDCXX=$LD
74.3724 +LD=$lt_save_LD
74.3725 +GCC=$lt_save_GCC
74.3726 +with_gnu_ldcxx=$with_gnu_ld
74.3727 +with_gnu_ld=$lt_save_with_gnu_ld
74.3728 +lt_cv_path_LDCXX=$lt_cv_path_LD
74.3729 +lt_cv_path_LD=$lt_save_path_LD
74.3730 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
74.3731 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
74.3732 +])# AC_LIBTOOL_LANG_CXX_CONFIG
74.3733 +
74.3734 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
74.3735 +# ------------------------------------
74.3736 +# Figure out "hidden" library dependencies from verbose
74.3737 +# compiler output when linking a shared library.
74.3738 +# Parse the compiler output and extract the necessary
74.3739 +# objects, libraries and library flags.
74.3740 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
74.3741 +dnl we can't use the lt_simple_compile_test_code here,
74.3742 +dnl because it contains code intended for an executable,
74.3743 +dnl not a library. It's possible we should let each
74.3744 +dnl tag define a new lt_????_link_test_code variable,
74.3745 +dnl but it's only used here...
74.3746 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
74.3747 +int a;
74.3748 +void foo (void) { a = 0; }
74.3749 +EOF
74.3750 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
74.3751 +class Foo
74.3752 +{
74.3753 +public:
74.3754 + Foo (void) { a = 0; }
74.3755 +private:
74.3756 + int a;
74.3757 +};
74.3758 +EOF
74.3759 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
74.3760 + subroutine foo
74.3761 + implicit none
74.3762 + integer*4 a
74.3763 + a=0
74.3764 + return
74.3765 + end
74.3766 +EOF
74.3767 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
74.3768 +public class foo {
74.3769 + private int a;
74.3770 + public void bar (void) {
74.3771 + a = 0;
74.3772 + }
74.3773 +};
74.3774 +EOF
74.3775 +])
74.3776 +dnl Parse the compiler output and extract the necessary
74.3777 +dnl objects, libraries and library flags.
74.3778 +if AC_TRY_EVAL(ac_compile); then
74.3779 + # Parse the compiler output and extract the necessary
74.3780 + # objects, libraries and library flags.
74.3781 +
74.3782 + # Sentinel used to keep track of whether or not we are before
74.3783 + # the conftest object file.
74.3784 + pre_test_object_deps_done=no
74.3785 +
74.3786 + # The `*' in the case matches for architectures that use `case' in
74.3787 + # $output_verbose_cmd can trigger glob expansion during the loop
74.3788 + # eval without this substitution.
74.3789 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
74.3790 +
74.3791 + for p in `eval $output_verbose_link_cmd`; do
74.3792 + case $p in
74.3793 +
74.3794 + -L* | -R* | -l*)
74.3795 + # Some compilers place space between "-{L,R}" and the path.
74.3796 + # Remove the space.
74.3797 + if test $p = "-L" \
74.3798 + || test $p = "-R"; then
74.3799 + prev=$p
74.3800 + continue
74.3801 + else
74.3802 + prev=
74.3803 + fi
74.3804 +
74.3805 + if test "$pre_test_object_deps_done" = no; then
74.3806 + case $p in
74.3807 + -L* | -R*)
74.3808 + # Internal compiler library paths should come after those
74.3809 + # provided the user. The postdeps already come after the
74.3810 + # user supplied libs so there is no need to process them.
74.3811 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
74.3812 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
74.3813 + else
74.3814 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
74.3815 + fi
74.3816 + ;;
74.3817 + # The "-l" case would never come before the object being
74.3818 + # linked, so don't bother handling this case.
74.3819 + esac
74.3820 + else
74.3821 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
74.3822 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
74.3823 + else
74.3824 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
74.3825 + fi
74.3826 + fi
74.3827 + ;;
74.3828 +
74.3829 + *.$objext)
74.3830 + # This assumes that the test object file only shows up
74.3831 + # once in the compiler output.
74.3832 + if test "$p" = "conftest.$objext"; then
74.3833 + pre_test_object_deps_done=yes
74.3834 + continue
74.3835 + fi
74.3836 +
74.3837 + if test "$pre_test_object_deps_done" = no; then
74.3838 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
74.3839 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
74.3840 + else
74.3841 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
74.3842 + fi
74.3843 + else
74.3844 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
74.3845 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
74.3846 + else
74.3847 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
74.3848 + fi
74.3849 + fi
74.3850 + ;;
74.3851 +
74.3852 + *) ;; # Ignore the rest.
74.3853 +
74.3854 + esac
74.3855 + done
74.3856 +
74.3857 + # Clean up.
74.3858 + rm -f a.out a.exe
74.3859 +else
74.3860 + echo "libtool.m4: error: problem compiling $1 test program"
74.3861 +fi
74.3862 +
74.3863 +$rm -f confest.$objext
74.3864 +
74.3865 +# PORTME: override above test on systems where it is broken
74.3866 +ifelse([$1],[CXX],
74.3867 +[case $host_os in
74.3868 +interix3*)
74.3869 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
74.3870 + # hack all around it, let's just trust "g++" to DTRT.
74.3871 + _LT_AC_TAGVAR(predep_objects,$1)=
74.3872 + _LT_AC_TAGVAR(postdep_objects,$1)=
74.3873 + _LT_AC_TAGVAR(postdeps,$1)=
74.3874 + ;;
74.3875 +
74.3876 +solaris*)
74.3877 + case $cc_basename in
74.3878 + CC*)
74.3879 + # Adding this requires a known-good setup of shared libraries for
74.3880 + # Sun compiler versions before 5.6, else PIC objects from an old
74.3881 + # archive will be linked into the output, leading to subtle bugs.
74.3882 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
74.3883 + ;;
74.3884 + esac
74.3885 + ;;
74.3886 +esac
74.3887 +])
74.3888 +
74.3889 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
74.3890 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
74.3891 +esac
74.3892 +])# AC_LIBTOOL_POSTDEP_PREDEP
74.3893 +
74.3894 +# AC_LIBTOOL_LANG_F77_CONFIG
74.3895 +# --------------------------
74.3896 +# Ensure that the configuration vars for the C compiler are
74.3897 +# suitably defined. Those variables are subsequently used by
74.3898 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
74.3899 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
74.3900 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
74.3901 +[AC_REQUIRE([AC_PROG_F77])
74.3902 +AC_LANG_PUSH(Fortran 77)
74.3903 +
74.3904 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.3905 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
74.3906 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
74.3907 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
74.3908 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
74.3909 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
74.3910 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
74.3911 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
74.3912 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
74.3913 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
74.3914 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
74.3915 +_LT_AC_TAGVAR(module_cmds, $1)=
74.3916 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
74.3917 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
74.3918 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
74.3919 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
74.3920 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.3921 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
74.3922 +
74.3923 +# Source file extension for f77 test sources.
74.3924 +ac_ext=f
74.3925 +
74.3926 +# Object file extension for compiled f77 test sources.
74.3927 +objext=o
74.3928 +_LT_AC_TAGVAR(objext, $1)=$objext
74.3929 +
74.3930 +# Code to be used in simple compile tests
74.3931 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
74.3932 +
74.3933 +# Code to be used in simple link tests
74.3934 +lt_simple_link_test_code=" program t\n end\n"
74.3935 +
74.3936 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
74.3937 +_LT_AC_SYS_COMPILER
74.3938 +
74.3939 +# save warnings/boilerplate of simple test code
74.3940 +_LT_COMPILER_BOILERPLATE
74.3941 +_LT_LINKER_BOILERPLATE
74.3942 +
74.3943 +# Allow CC to be a program name with arguments.
74.3944 +lt_save_CC="$CC"
74.3945 +CC=${F77-"f77"}
74.3946 +compiler=$CC
74.3947 +_LT_AC_TAGVAR(compiler, $1)=$CC
74.3948 +_LT_CC_BASENAME([$compiler])
74.3949 +
74.3950 +AC_MSG_CHECKING([if libtool supports shared libraries])
74.3951 +AC_MSG_RESULT([$can_build_shared])
74.3952 +
74.3953 +AC_MSG_CHECKING([whether to build shared libraries])
74.3954 +test "$can_build_shared" = "no" && enable_shared=no
74.3955 +
74.3956 +# On AIX, shared libraries and static libraries use the same namespace, and
74.3957 +# are all built from PIC.
74.3958 +case $host_os in
74.3959 +aix3*)
74.3960 + test "$enable_shared" = yes && enable_static=no
74.3961 + if test -n "$RANLIB"; then
74.3962 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
74.3963 + postinstall_cmds='$RANLIB $lib'
74.3964 + fi
74.3965 + ;;
74.3966 +aix4* | aix5*)
74.3967 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
74.3968 + test "$enable_shared" = yes && enable_static=no
74.3969 + fi
74.3970 + ;;
74.3971 +esac
74.3972 +AC_MSG_RESULT([$enable_shared])
74.3973 +
74.3974 +AC_MSG_CHECKING([whether to build static libraries])
74.3975 +# Make sure either enable_shared or enable_static is yes.
74.3976 +test "$enable_shared" = yes || enable_static=yes
74.3977 +AC_MSG_RESULT([$enable_static])
74.3978 +
74.3979 +_LT_AC_TAGVAR(GCC, $1)="$G77"
74.3980 +_LT_AC_TAGVAR(LD, $1)="$LD"
74.3981 +
74.3982 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
74.3983 +AC_LIBTOOL_PROG_CC_C_O($1)
74.3984 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
74.3985 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
74.3986 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
74.3987 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
74.3988 +
74.3989 +AC_LIBTOOL_CONFIG($1)
74.3990 +
74.3991 +AC_LANG_POP
74.3992 +CC="$lt_save_CC"
74.3993 +])# AC_LIBTOOL_LANG_F77_CONFIG
74.3994 +
74.3995 +
74.3996 +# AC_LIBTOOL_LANG_GCJ_CONFIG
74.3997 +# --------------------------
74.3998 +# Ensure that the configuration vars for the C compiler are
74.3999 +# suitably defined. Those variables are subsequently used by
74.4000 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
74.4001 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
74.4002 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
74.4003 +[AC_LANG_SAVE
74.4004 +
74.4005 +# Source file extension for Java test sources.
74.4006 +ac_ext=java
74.4007 +
74.4008 +# Object file extension for compiled Java test sources.
74.4009 +objext=o
74.4010 +_LT_AC_TAGVAR(objext, $1)=$objext
74.4011 +
74.4012 +# Code to be used in simple compile tests
74.4013 +lt_simple_compile_test_code="class foo {}\n"
74.4014 +
74.4015 +# Code to be used in simple link tests
74.4016 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
74.4017 +
74.4018 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
74.4019 +_LT_AC_SYS_COMPILER
74.4020 +
74.4021 +# save warnings/boilerplate of simple test code
74.4022 +_LT_COMPILER_BOILERPLATE
74.4023 +_LT_LINKER_BOILERPLATE
74.4024 +
74.4025 +# Allow CC to be a program name with arguments.
74.4026 +lt_save_CC="$CC"
74.4027 +CC=${GCJ-"gcj"}
74.4028 +compiler=$CC
74.4029 +_LT_AC_TAGVAR(compiler, $1)=$CC
74.4030 +_LT_CC_BASENAME([$compiler])
74.4031 +
74.4032 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
74.4033 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.4034 +
74.4035 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
74.4036 +
74.4037 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
74.4038 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
74.4039 +AC_LIBTOOL_PROG_CC_C_O($1)
74.4040 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
74.4041 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
74.4042 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
74.4043 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
74.4044 +
74.4045 +AC_LIBTOOL_CONFIG($1)
74.4046 +
74.4047 +AC_LANG_RESTORE
74.4048 +CC="$lt_save_CC"
74.4049 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
74.4050 +
74.4051 +
74.4052 +# AC_LIBTOOL_LANG_RC_CONFIG
74.4053 +# -------------------------
74.4054 +# Ensure that the configuration vars for the Windows resource compiler are
74.4055 +# suitably defined. Those variables are subsequently used by
74.4056 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
74.4057 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
74.4058 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
74.4059 +[AC_LANG_SAVE
74.4060 +
74.4061 +# Source file extension for RC test sources.
74.4062 +ac_ext=rc
74.4063 +
74.4064 +# Object file extension for compiled RC test sources.
74.4065 +objext=o
74.4066 +_LT_AC_TAGVAR(objext, $1)=$objext
74.4067 +
74.4068 +# Code to be used in simple compile tests
74.4069 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
74.4070 +
74.4071 +# Code to be used in simple link tests
74.4072 +lt_simple_link_test_code="$lt_simple_compile_test_code"
74.4073 +
74.4074 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
74.4075 +_LT_AC_SYS_COMPILER
74.4076 +
74.4077 +# save warnings/boilerplate of simple test code
74.4078 +_LT_COMPILER_BOILERPLATE
74.4079 +_LT_LINKER_BOILERPLATE
74.4080 +
74.4081 +# Allow CC to be a program name with arguments.
74.4082 +lt_save_CC="$CC"
74.4083 +CC=${RC-"windres"}
74.4084 +compiler=$CC
74.4085 +_LT_AC_TAGVAR(compiler, $1)=$CC
74.4086 +_LT_CC_BASENAME([$compiler])
74.4087 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
74.4088 +
74.4089 +AC_LIBTOOL_CONFIG($1)
74.4090 +
74.4091 +AC_LANG_RESTORE
74.4092 +CC="$lt_save_CC"
74.4093 +])# AC_LIBTOOL_LANG_RC_CONFIG
74.4094 +
74.4095 +
74.4096 +# AC_LIBTOOL_CONFIG([TAGNAME])
74.4097 +# ----------------------------
74.4098 +# If TAGNAME is not passed, then create an initial libtool script
74.4099 +# with a default configuration from the untagged config vars. Otherwise
74.4100 +# add code to config.status for appending the configuration named by
74.4101 +# TAGNAME from the matching tagged config vars.
74.4102 +AC_DEFUN([AC_LIBTOOL_CONFIG],
74.4103 +[# The else clause should only fire when bootstrapping the
74.4104 +# libtool distribution, otherwise you forgot to ship ltmain.sh
74.4105 +# with your package, and you will get complaints that there are
74.4106 +# no rules to generate ltmain.sh.
74.4107 +if test -f "$ltmain"; then
74.4108 + # See if we are running on zsh, and set the options which allow our commands through
74.4109 + # without removal of \ escapes.
74.4110 + if test -n "${ZSH_VERSION+set}" ; then
74.4111 + setopt NO_GLOB_SUBST
74.4112 + fi
74.4113 + # Now quote all the things that may contain metacharacters while being
74.4114 + # careful not to overquote the AC_SUBSTed values. We take copies of the
74.4115 + # variables and quote the copies for generation of the libtool script.
74.4116 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
74.4117 + SED SHELL STRIP \
74.4118 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
74.4119 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
74.4120 + deplibs_check_method reload_flag reload_cmds need_locks \
74.4121 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
74.4122 + lt_cv_sys_global_symbol_to_c_name_address \
74.4123 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
74.4124 + old_postinstall_cmds old_postuninstall_cmds \
74.4125 + _LT_AC_TAGVAR(compiler, $1) \
74.4126 + _LT_AC_TAGVAR(CC, $1) \
74.4127 + _LT_AC_TAGVAR(LD, $1) \
74.4128 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
74.4129 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
74.4130 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
74.4131 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
74.4132 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
74.4133 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
74.4134 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
74.4135 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
74.4136 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
74.4137 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
74.4138 + _LT_AC_TAGVAR(predep_objects, $1) \
74.4139 + _LT_AC_TAGVAR(postdep_objects, $1) \
74.4140 + _LT_AC_TAGVAR(predeps, $1) \
74.4141 + _LT_AC_TAGVAR(postdeps, $1) \
74.4142 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
74.4143 + _LT_AC_TAGVAR(archive_cmds, $1) \
74.4144 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
74.4145 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
74.4146 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
74.4147 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
74.4148 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
74.4149 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
74.4150 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
74.4151 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
74.4152 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
74.4153 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
74.4154 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
74.4155 + _LT_AC_TAGVAR(module_cmds, $1) \
74.4156 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
74.4157 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
74.4158 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
74.4159 + _LT_AC_TAGVAR(include_expsyms, $1); do
74.4160 +
74.4161 + case $var in
74.4162 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
74.4163 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
74.4164 + _LT_AC_TAGVAR(archive_cmds, $1) | \
74.4165 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
74.4166 + _LT_AC_TAGVAR(module_cmds, $1) | \
74.4167 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
74.4168 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
74.4169 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
74.4170 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
74.4171 + postinstall_cmds | postuninstall_cmds | \
74.4172 + old_postinstall_cmds | old_postuninstall_cmds | \
74.4173 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
74.4174 + # Double-quote double-evaled strings.
74.4175 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
74.4176 + ;;
74.4177 + *)
74.4178 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
74.4179 + ;;
74.4180 + esac
74.4181 + done
74.4182 +
74.4183 + case $lt_echo in
74.4184 + *'\[$]0 --fallback-echo"')
74.4185 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
74.4186 + ;;
74.4187 + esac
74.4188 +
74.4189 +ifelse([$1], [],
74.4190 + [cfgfile="${ofile}T"
74.4191 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
74.4192 + $rm -f "$cfgfile"
74.4193 + AC_MSG_NOTICE([creating $ofile])],
74.4194 + [cfgfile="$ofile"])
74.4195 +
74.4196 + cat <<__EOF__ >> "$cfgfile"
74.4197 +ifelse([$1], [],
74.4198 +[#! $SHELL
74.4199 +
74.4200 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74.4201 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
74.4202 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
74.4203 +#
74.4204 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
74.4205 +# Free Software Foundation, Inc.
74.4206 +#
74.4207 +# This file is part of GNU Libtool:
74.4208 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
74.4209 +#
74.4210 +# This program is free software; you can redistribute it and/or modify
74.4211 +# it under the terms of the GNU General Public License as published by
74.4212 +# the Free Software Foundation; either version 2 of the License, or
74.4213 +# (at your option) any later version.
74.4214 +#
74.4215 +# This program is distributed in the hope that it will be useful, but
74.4216 +# WITHOUT ANY WARRANTY; without even the implied warranty of
74.4217 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
74.4218 +# General Public License for more details.
74.4219 +#
74.4220 +# You should have received a copy of the GNU General Public License
74.4221 +# along with this program; if not, write to the Free Software
74.4222 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74.4223 +#
74.4224 +# As a special exception to the GNU General Public License, if you
74.4225 +# distribute this file as part of a program that contains a
74.4226 +# configuration script generated by Autoconf, you may include it under
74.4227 +# the same distribution terms that you use for the rest of that program.
74.4228 +
74.4229 +# A sed program that does not truncate output.
74.4230 +SED=$lt_SED
74.4231 +
74.4232 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
74.4233 +Xsed="$SED -e 1s/^X//"
74.4234 +
74.4235 +# The HP-UX ksh and POSIX shell print the target directory to stdout
74.4236 +# if CDPATH is set.
74.4237 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74.4238 +
74.4239 +# The names of the tagged configurations supported by this script.
74.4240 +available_tags=
74.4241 +
74.4242 +# ### BEGIN LIBTOOL CONFIG],
74.4243 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
74.4244 +
74.4245 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74.4246 +
74.4247 +# Shell to use when invoking shell scripts.
74.4248 +SHELL=$lt_SHELL
74.4249 +
74.4250 +# Whether or not to build shared libraries.
74.4251 +build_libtool_libs=$enable_shared
74.4252 +
74.4253 +# Whether or not to build static libraries.
74.4254 +build_old_libs=$enable_static
74.4255 +
74.4256 +# Whether or not to add -lc for building shared libraries.
74.4257 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
74.4258 +
74.4259 +# Whether or not to disallow shared libs when runtime libs are static
74.4260 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
74.4261 +
74.4262 +# Whether or not to optimize for fast installation.
74.4263 +fast_install=$enable_fast_install
74.4264 +
74.4265 +# The host system.
74.4266 +host_alias=$host_alias
74.4267 +host=$host
74.4268 +host_os=$host_os
74.4269 +
74.4270 +# The build system.
74.4271 +build_alias=$build_alias
74.4272 +build=$build
74.4273 +build_os=$build_os
74.4274 +
74.4275 +# An echo program that does not interpret backslashes.
74.4276 +echo=$lt_echo
74.4277 +
74.4278 +# The archiver.
74.4279 +AR=$lt_AR
74.4280 +AR_FLAGS=$lt_AR_FLAGS
74.4281 +
74.4282 +# A C compiler.
74.4283 +LTCC=$lt_LTCC
74.4284 +
74.4285 +# LTCC compiler flags.
74.4286 +LTCFLAGS=$lt_LTCFLAGS
74.4287 +
74.4288 +# A language-specific compiler.
74.4289 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
74.4290 +
74.4291 +# Is the compiler the GNU C compiler?
74.4292 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
74.4293 +
74.4294 +# An ERE matcher.
74.4295 +EGREP=$lt_EGREP
74.4296 +
74.4297 +# The linker used to build libraries.
74.4298 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
74.4299 +
74.4300 +# Whether we need hard or soft links.
74.4301 +LN_S=$lt_LN_S
74.4302 +
74.4303 +# A BSD-compatible nm program.
74.4304 +NM=$lt_NM
74.4305 +
74.4306 +# A symbol stripping program
74.4307 +STRIP=$lt_STRIP
74.4308 +
74.4309 +# Used to examine libraries when file_magic_cmd begins "file"
74.4310 +MAGIC_CMD=$MAGIC_CMD
74.4311 +
74.4312 +# Used on cygwin: DLL creation program.
74.4313 +DLLTOOL="$DLLTOOL"
74.4314 +
74.4315 +# Used on cygwin: object dumper.
74.4316 +OBJDUMP="$OBJDUMP"
74.4317 +
74.4318 +# Used on cygwin: assembler.
74.4319 +AS="$AS"
74.4320 +
74.4321 +# The name of the directory that contains temporary libtool files.
74.4322 +objdir=$objdir
74.4323 +
74.4324 +# How to create reloadable object files.
74.4325 +reload_flag=$lt_reload_flag
74.4326 +reload_cmds=$lt_reload_cmds
74.4327 +
74.4328 +# How to pass a linker flag through the compiler.
74.4329 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
74.4330 +
74.4331 +# Object file suffix (normally "o").
74.4332 +objext="$ac_objext"
74.4333 +
74.4334 +# Old archive suffix (normally "a").
74.4335 +libext="$libext"
74.4336 +
74.4337 +# Shared library suffix (normally ".so").
74.4338 +shrext_cmds='$shrext_cmds'
74.4339 +
74.4340 +# Executable file suffix (normally "").
74.4341 +exeext="$exeext"
74.4342 +
74.4343 +# Additional compiler flags for building library objects.
74.4344 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
74.4345 +pic_mode=$pic_mode
74.4346 +
74.4347 +# What is the maximum length of a command?
74.4348 +max_cmd_len=$lt_cv_sys_max_cmd_len
74.4349 +
74.4350 +# Does compiler simultaneously support -c and -o options?
74.4351 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
74.4352 +
74.4353 +# Must we lock files when doing compilation?
74.4354 +need_locks=$lt_need_locks
74.4355 +
74.4356 +# Do we need the lib prefix for modules?
74.4357 +need_lib_prefix=$need_lib_prefix
74.4358 +
74.4359 +# Do we need a version for libraries?
74.4360 +need_version=$need_version
74.4361 +
74.4362 +# Whether dlopen is supported.
74.4363 +dlopen_support=$enable_dlopen
74.4364 +
74.4365 +# Whether dlopen of programs is supported.
74.4366 +dlopen_self=$enable_dlopen_self
74.4367 +
74.4368 +# Whether dlopen of statically linked programs is supported.
74.4369 +dlopen_self_static=$enable_dlopen_self_static
74.4370 +
74.4371 +# Compiler flag to prevent dynamic linking.
74.4372 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
74.4373 +
74.4374 +# Compiler flag to turn off builtin functions.
74.4375 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
74.4376 +
74.4377 +# Compiler flag to allow reflexive dlopens.
74.4378 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
74.4379 +
74.4380 +# Compiler flag to generate shared objects directly from archives.
74.4381 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
74.4382 +
74.4383 +# Compiler flag to generate thread-safe objects.
74.4384 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
74.4385 +
74.4386 +# Library versioning type.
74.4387 +version_type=$version_type
74.4388 +
74.4389 +# Format of library name prefix.
74.4390 +libname_spec=$lt_libname_spec
74.4391 +
74.4392 +# List of archive names. First name is the real one, the rest are links.
74.4393 +# The last name is the one that the linker finds with -lNAME.
74.4394 +library_names_spec=$lt_library_names_spec
74.4395 +
74.4396 +# The coded name of the library, if different from the real name.
74.4397 +soname_spec=$lt_soname_spec
74.4398 +
74.4399 +# Commands used to build and install an old-style archive.
74.4400 +RANLIB=$lt_RANLIB
74.4401 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
74.4402 +old_postinstall_cmds=$lt_old_postinstall_cmds
74.4403 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
74.4404 +
74.4405 +# Create an old-style archive from a shared archive.
74.4406 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
74.4407 +
74.4408 +# Create a temporary old-style archive to link instead of a shared archive.
74.4409 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
74.4410 +
74.4411 +# Commands used to build and install a shared archive.
74.4412 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
74.4413 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
74.4414 +postinstall_cmds=$lt_postinstall_cmds
74.4415 +postuninstall_cmds=$lt_postuninstall_cmds
74.4416 +
74.4417 +# Commands used to build a loadable module (assumed same as above if empty)
74.4418 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
74.4419 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
74.4420 +
74.4421 +# Commands to strip libraries.
74.4422 +old_striplib=$lt_old_striplib
74.4423 +striplib=$lt_striplib
74.4424 +
74.4425 +# Dependencies to place before the objects being linked to create a
74.4426 +# shared library.
74.4427 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
74.4428 +
74.4429 +# Dependencies to place after the objects being linked to create a
74.4430 +# shared library.
74.4431 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
74.4432 +
74.4433 +# Dependencies to place before the objects being linked to create a
74.4434 +# shared library.
74.4435 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
74.4436 +
74.4437 +# Dependencies to place after the objects being linked to create a
74.4438 +# shared library.
74.4439 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
74.4440 +
74.4441 +# The library search path used internally by the compiler when linking
74.4442 +# a shared library.
74.4443 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
74.4444 +
74.4445 +# Method to check whether dependent libraries are shared objects.
74.4446 +deplibs_check_method=$lt_deplibs_check_method
74.4447 +
74.4448 +# Command to use when deplibs_check_method == file_magic.
74.4449 +file_magic_cmd=$lt_file_magic_cmd
74.4450 +
74.4451 +# Flag that allows shared libraries with undefined symbols to be built.
74.4452 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
74.4453 +
74.4454 +# Flag that forces no undefined symbols.
74.4455 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
74.4456 +
74.4457 +# Commands used to finish a libtool library installation in a directory.
74.4458 +finish_cmds=$lt_finish_cmds
74.4459 +
74.4460 +# Same as above, but a single script fragment to be evaled but not shown.
74.4461 +finish_eval=$lt_finish_eval
74.4462 +
74.4463 +# Take the output of nm and produce a listing of raw symbols and C names.
74.4464 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74.4465 +
74.4466 +# Transform the output of nm in a proper C declaration
74.4467 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74.4468 +
74.4469 +# Transform the output of nm in a C name address pair
74.4470 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74.4471 +
74.4472 +# This is the shared library runtime path variable.
74.4473 +runpath_var=$runpath_var
74.4474 +
74.4475 +# This is the shared library path variable.
74.4476 +shlibpath_var=$shlibpath_var
74.4477 +
74.4478 +# Is shlibpath searched before the hard-coded library search path?
74.4479 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74.4480 +
74.4481 +# How to hardcode a shared library path into an executable.
74.4482 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
74.4483 +
74.4484 +# Whether we should hardcode library paths into libraries.
74.4485 +hardcode_into_libs=$hardcode_into_libs
74.4486 +
74.4487 +# Flag to hardcode \$libdir into a binary during linking.
74.4488 +# This must work even if \$libdir does not exist.
74.4489 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
74.4490 +
74.4491 +# If ld is used when linking, flag to hardcode \$libdir into
74.4492 +# a binary during linking. This must work even if \$libdir does
74.4493 +# not exist.
74.4494 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
74.4495 +
74.4496 +# Whether we need a single -rpath flag with a separated argument.
74.4497 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
74.4498 +
74.4499 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
74.4500 +# resulting binary.
74.4501 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
74.4502 +
74.4503 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
74.4504 +# resulting binary.
74.4505 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
74.4506 +
74.4507 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
74.4508 +# the resulting binary.
74.4509 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
74.4510 +
74.4511 +# Set to yes if building a shared library automatically hardcodes DIR into the library
74.4512 +# and all subsequent libraries and executables linked against it.
74.4513 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
74.4514 +
74.4515 +# Variables whose values should be saved in libtool wrapper scripts and
74.4516 +# restored at relink time.
74.4517 +variables_saved_for_relink="$variables_saved_for_relink"
74.4518 +
74.4519 +# Whether libtool must link a program against all its dependency libraries.
74.4520 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
74.4521 +
74.4522 +# Compile-time system search path for libraries
74.4523 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74.4524 +
74.4525 +# Run-time system search path for libraries
74.4526 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74.4527 +
74.4528 +# Fix the shell variable \$srcfile for the compiler.
74.4529 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
74.4530 +
74.4531 +# Set to yes if exported symbols are required.
74.4532 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
74.4533 +
74.4534 +# The commands to list exported symbols.
74.4535 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
74.4536 +
74.4537 +# The commands to extract the exported symbol list from a shared archive.
74.4538 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
74.4539 +
74.4540 +# Symbols that should not be listed in the preloaded symbols.
74.4541 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
74.4542 +
74.4543 +# Symbols that must always be exported.
74.4544 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
74.4545 +
74.4546 +ifelse([$1],[],
74.4547 +[# ### END LIBTOOL CONFIG],
74.4548 +[# ### END LIBTOOL TAG CONFIG: $tagname])
74.4549 +
74.4550 +__EOF__
74.4551 +
74.4552 +ifelse([$1],[], [
74.4553 + case $host_os in
74.4554 + aix3*)
74.4555 + cat <<\EOF >> "$cfgfile"
74.4556 +
74.4557 +# AIX sometimes has problems with the GCC collect2 program. For some
74.4558 +# reason, if we set the COLLECT_NAMES environment variable, the problems
74.4559 +# vanish in a puff of smoke.
74.4560 +if test "X${COLLECT_NAMES+set}" != Xset; then
74.4561 + COLLECT_NAMES=
74.4562 + export COLLECT_NAMES
74.4563 +fi
74.4564 +EOF
74.4565 + ;;
74.4566 + esac
74.4567 +
74.4568 + # We use sed instead of cat because bash on DJGPP gets confused if
74.4569 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
74.4570 + # text mode, it properly converts lines to CR/LF. This bash problem
74.4571 + # is reportedly fixed, but why not run on old versions too?
74.4572 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
74.4573 +
74.4574 + mv -f "$cfgfile" "$ofile" || \
74.4575 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74.4576 + chmod +x "$ofile"
74.4577 +])
74.4578 +else
74.4579 + # If there is no Makefile yet, we rely on a make rule to execute
74.4580 + # `config.status --recheck' to rerun these tests and create the
74.4581 + # libtool script then.
74.4582 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
74.4583 + if test -f "$ltmain_in"; then
74.4584 + test -f Makefile && make "$ltmain"
74.4585 + fi
74.4586 +fi
74.4587 +])# AC_LIBTOOL_CONFIG
74.4588 +
74.4589 +
74.4590 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
74.4591 +# -------------------------------------------
74.4592 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
74.4593 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
74.4594 +
74.4595 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
74.4596 +
74.4597 +if test "$GCC" = yes; then
74.4598 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
74.4599 +
74.4600 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
74.4601 + lt_cv_prog_compiler_rtti_exceptions,
74.4602 + [-fno-rtti -fno-exceptions], [],
74.4603 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
74.4604 +fi
74.4605 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
74.4606 +
74.4607 +
74.4608 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
74.4609 +# ---------------------------------
74.4610 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
74.4611 +[AC_REQUIRE([AC_CANONICAL_HOST])
74.4612 +AC_REQUIRE([AC_PROG_NM])
74.4613 +AC_REQUIRE([AC_OBJEXT])
74.4614 +# Check for command to grab the raw symbol name followed by C symbol from nm.
74.4615 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
74.4616 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
74.4617 +[
74.4618 +# These are sane defaults that work on at least a few old systems.
74.4619 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
74.4620 +
74.4621 +# Character class describing NM global symbol codes.
74.4622 +symcode='[[BCDEGRST]]'
74.4623 +
74.4624 +# Regexp to match symbols that can be accessed directly from C.
74.4625 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
74.4626 +
74.4627 +# Transform an extracted symbol line into a proper C declaration
74.4628 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
74.4629 +
74.4630 +# Transform an extracted symbol line into symbol name and symbol address
74.4631 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
74.4632 +
74.4633 +# Define system-specific variables.
74.4634 +case $host_os in
74.4635 +aix*)
74.4636 + symcode='[[BCDT]]'
74.4637 + ;;
74.4638 +cygwin* | mingw* | pw32*)
74.4639 + symcode='[[ABCDGISTW]]'
74.4640 + ;;
74.4641 +hpux*) # Its linker distinguishes data from code symbols
74.4642 + if test "$host_cpu" = ia64; then
74.4643 + symcode='[[ABCDEGRST]]'
74.4644 + fi
74.4645 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
74.4646 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
74.4647 + ;;
74.4648 +linux*)
74.4649 + if test "$host_cpu" = ia64; then
74.4650 + symcode='[[ABCDGIRSTW]]'
74.4651 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
74.4652 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
74.4653 + fi
74.4654 + ;;
74.4655 +irix* | nonstopux*)
74.4656 + symcode='[[BCDEGRST]]'
74.4657 + ;;
74.4658 +osf*)
74.4659 + symcode='[[BCDEGQRST]]'
74.4660 + ;;
74.4661 +solaris*)
74.4662 + symcode='[[BDRT]]'
74.4663 + ;;
74.4664 +sco3.2v5*)
74.4665 + symcode='[[DT]]'
74.4666 + ;;
74.4667 +sysv4.2uw2*)
74.4668 + symcode='[[DT]]'
74.4669 + ;;
74.4670 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
74.4671 + symcode='[[ABDT]]'
74.4672 + ;;
74.4673 +sysv4)
74.4674 + symcode='[[DFNSTU]]'
74.4675 + ;;
74.4676 +esac
74.4677 +
74.4678 +# Handle CRLF in mingw tool chain
74.4679 +opt_cr=
74.4680 +case $build_os in
74.4681 +mingw*)
74.4682 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
74.4683 + ;;
74.4684 +esac
74.4685 +
74.4686 +# If we're using GNU nm, then use its standard symbol codes.
74.4687 +case `$NM -V 2>&1` in
74.4688 +*GNU* | *'with BFD'*)
74.4689 + symcode='[[ABCDGIRSTW]]' ;;
74.4690 +esac
74.4691 +
74.4692 +# Try without a prefix undercore, then with it.
74.4693 +for ac_symprfx in "" "_"; do
74.4694 +
74.4695 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
74.4696 + symxfrm="\\1 $ac_symprfx\\2 \\2"
74.4697 +
74.4698 + # Write the raw and C identifiers.
74.4699 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
74.4700 +
74.4701 + # Check to see that the pipe works correctly.
74.4702 + pipe_works=no
74.4703 +
74.4704 + rm -f conftest*
74.4705 + cat > conftest.$ac_ext <<EOF
74.4706 +#ifdef __cplusplus
74.4707 +extern "C" {
74.4708 +#endif
74.4709 +char nm_test_var;
74.4710 +void nm_test_func(){}
74.4711 +#ifdef __cplusplus
74.4712 +}
74.4713 +#endif
74.4714 +int main(){nm_test_var='a';nm_test_func();return(0);}
74.4715 +EOF
74.4716 +
74.4717 + if AC_TRY_EVAL(ac_compile); then
74.4718 + # Now try to grab the symbols.
74.4719 + nlist=conftest.nm
74.4720 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
74.4721 + # Try sorting and uniquifying the output.
74.4722 + if sort "$nlist" | uniq > "$nlist"T; then
74.4723 + mv -f "$nlist"T "$nlist"
74.4724 + else
74.4725 + rm -f "$nlist"T
74.4726 + fi
74.4727 +
74.4728 + # Make sure that we snagged all the symbols we need.
74.4729 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
74.4730 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
74.4731 + cat <<EOF > conftest.$ac_ext
74.4732 +#ifdef __cplusplus
74.4733 +extern "C" {
74.4734 +#endif
74.4735 +
74.4736 +EOF
74.4737 + # Now generate the symbol file.
74.4738 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
74.4739 +
74.4740 + cat <<EOF >> conftest.$ac_ext
74.4741 +#if defined (__STDC__) && __STDC__
74.4742 +# define lt_ptr_t void *
74.4743 +#else
74.4744 +# define lt_ptr_t char *
74.4745 +# define const
74.4746 +#endif
74.4747 +
74.4748 +/* The mapping between symbol names and symbols. */
74.4749 +const struct {
74.4750 + const char *name;
74.4751 + lt_ptr_t address;
74.4752 +}
74.4753 +lt_preloaded_symbols[[]] =
74.4754 +{
74.4755 +EOF
74.4756 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
74.4757 + cat <<\EOF >> conftest.$ac_ext
74.4758 + {0, (lt_ptr_t) 0}
74.4759 +};
74.4760 +
74.4761 +#ifdef __cplusplus
74.4762 +}
74.4763 +#endif
74.4764 +EOF
74.4765 + # Now try linking the two files.
74.4766 + mv conftest.$ac_objext conftstm.$ac_objext
74.4767 + lt_save_LIBS="$LIBS"
74.4768 + lt_save_CFLAGS="$CFLAGS"
74.4769 + LIBS="conftstm.$ac_objext"
74.4770 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
74.4771 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
74.4772 + pipe_works=yes
74.4773 + fi
74.4774 + LIBS="$lt_save_LIBS"
74.4775 + CFLAGS="$lt_save_CFLAGS"
74.4776 + else
74.4777 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
74.4778 + fi
74.4779 + else
74.4780 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
74.4781 + fi
74.4782 + else
74.4783 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
74.4784 + fi
74.4785 + else
74.4786 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
74.4787 + cat conftest.$ac_ext >&5
74.4788 + fi
74.4789 + rm -f conftest* conftst*
74.4790 +
74.4791 + # Do not use the global_symbol_pipe unless it works.
74.4792 + if test "$pipe_works" = yes; then
74.4793 + break
74.4794 + else
74.4795 + lt_cv_sys_global_symbol_pipe=
74.4796 + fi
74.4797 +done
74.4798 +])
74.4799 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
74.4800 + lt_cv_sys_global_symbol_to_cdecl=
74.4801 +fi
74.4802 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
74.4803 + AC_MSG_RESULT(failed)
74.4804 +else
74.4805 + AC_MSG_RESULT(ok)
74.4806 +fi
74.4807 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
74.4808 +
74.4809 +
74.4810 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
74.4811 +# ---------------------------------------
74.4812 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
74.4813 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
74.4814 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.4815 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
74.4816 +
74.4817 +AC_MSG_CHECKING([for $compiler option to produce PIC])
74.4818 + ifelse([$1],[CXX],[
74.4819 + # C++ specific cases for pic, static, wl, etc.
74.4820 + if test "$GXX" = yes; then
74.4821 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4822 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
74.4823 +
74.4824 + case $host_os in
74.4825 + aix*)
74.4826 + # All AIX code is PIC.
74.4827 + if test "$host_cpu" = ia64; then
74.4828 + # AIX 5 now supports IA64 processor
74.4829 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.4830 + fi
74.4831 + ;;
74.4832 + amigaos*)
74.4833 + # FIXME: we need at least 68020 code to build shared libraries, but
74.4834 + # adding the `-m68020' flag to GCC prevents building anything better,
74.4835 + # like `-m68040'.
74.4836 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
74.4837 + ;;
74.4838 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
74.4839 + # PIC is the default for these OSes.
74.4840 + ;;
74.4841 + mingw* | os2* | pw32*)
74.4842 + # This hack is so that the source file can tell whether it is being
74.4843 + # built for inclusion in a dll (and should export symbols for example).
74.4844 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
74.4845 + ;;
74.4846 + darwin* | rhapsody*)
74.4847 + # PIC is the default on this platform
74.4848 + # Common symbols not allowed in MH_DYLIB files
74.4849 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
74.4850 + ;;
74.4851 + *djgpp*)
74.4852 + # DJGPP does not support shared libraries at all
74.4853 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.4854 + ;;
74.4855 + interix3*)
74.4856 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
74.4857 + # Instead, we relocate shared libraries at runtime.
74.4858 + ;;
74.4859 + sysv4*MP*)
74.4860 + if test -d /usr/nec; then
74.4861 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
74.4862 + fi
74.4863 + ;;
74.4864 + hpux*)
74.4865 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
74.4866 + # not for PA HP-UX.
74.4867 + case $host_cpu in
74.4868 + hppa*64*|ia64*)
74.4869 + ;;
74.4870 + *)
74.4871 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
74.4872 + ;;
74.4873 + esac
74.4874 + ;;
74.4875 + *)
74.4876 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
74.4877 + ;;
74.4878 + esac
74.4879 + else
74.4880 + case $host_os in
74.4881 + aix4* | aix5*)
74.4882 + # All AIX code is PIC.
74.4883 + if test "$host_cpu" = ia64; then
74.4884 + # AIX 5 now supports IA64 processor
74.4885 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.4886 + else
74.4887 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
74.4888 + fi
74.4889 + ;;
74.4890 + chorus*)
74.4891 + case $cc_basename in
74.4892 + cxch68*)
74.4893 + # Green Hills C++ Compiler
74.4894 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
74.4895 + ;;
74.4896 + esac
74.4897 + ;;
74.4898 + darwin*)
74.4899 + # PIC is the default on this platform
74.4900 + # Common symbols not allowed in MH_DYLIB files
74.4901 + case $cc_basename in
74.4902 + xlc*)
74.4903 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
74.4904 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4905 + ;;
74.4906 + esac
74.4907 + ;;
74.4908 + dgux*)
74.4909 + case $cc_basename in
74.4910 + ec++*)
74.4911 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.4912 + ;;
74.4913 + ghcx*)
74.4914 + # Green Hills C++ Compiler
74.4915 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
74.4916 + ;;
74.4917 + *)
74.4918 + ;;
74.4919 + esac
74.4920 + ;;
74.4921 + freebsd* | kfreebsd*-gnu | dragonfly*)
74.4922 + # FreeBSD uses GNU C++
74.4923 + ;;
74.4924 + hpux9* | hpux10* | hpux11*)
74.4925 + case $cc_basename in
74.4926 + CC*)
74.4927 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4928 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
74.4929 + if test "$host_cpu" != ia64; then
74.4930 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
74.4931 + fi
74.4932 + ;;
74.4933 + aCC*)
74.4934 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4935 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
74.4936 + case $host_cpu in
74.4937 + hppa*64*|ia64*)
74.4938 + # +Z the default
74.4939 + ;;
74.4940 + *)
74.4941 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
74.4942 + ;;
74.4943 + esac
74.4944 + ;;
74.4945 + *)
74.4946 + ;;
74.4947 + esac
74.4948 + ;;
74.4949 + interix*)
74.4950 + # This is c89, which is MS Visual C++ (no shared libs)
74.4951 + # Anyone wants to do a port?
74.4952 + ;;
74.4953 + irix5* | irix6* | nonstopux*)
74.4954 + case $cc_basename in
74.4955 + CC*)
74.4956 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4957 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.4958 + # CC pic flag -KPIC is the default.
74.4959 + ;;
74.4960 + *)
74.4961 + ;;
74.4962 + esac
74.4963 + ;;
74.4964 + linux*)
74.4965 + case $cc_basename in
74.4966 + KCC*)
74.4967 + # KAI C++ Compiler
74.4968 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
74.4969 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
74.4970 + ;;
74.4971 + icpc* | ecpc*)
74.4972 + # Intel C++
74.4973 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4974 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.4975 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
74.4976 + ;;
74.4977 + pgCC*)
74.4978 + # Portland Group C++ compiler.
74.4979 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.4980 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
74.4981 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.4982 + ;;
74.4983 + cxx*)
74.4984 + # Compaq C++
74.4985 + # Make sure the PIC flag is empty. It appears that all Alpha
74.4986 + # Linux and Compaq Tru64 Unix objects are PIC.
74.4987 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.4988 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.4989 + ;;
74.4990 + *)
74.4991 + ;;
74.4992 + esac
74.4993 + ;;
74.4994 + lynxos*)
74.4995 + ;;
74.4996 + m88k*)
74.4997 + ;;
74.4998 + mvs*)
74.4999 + case $cc_basename in
74.5000 + cxx*)
74.5001 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
74.5002 + ;;
74.5003 + *)
74.5004 + ;;
74.5005 + esac
74.5006 + ;;
74.5007 + netbsd*)
74.5008 + ;;
74.5009 + osf3* | osf4* | osf5*)
74.5010 + case $cc_basename in
74.5011 + KCC*)
74.5012 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
74.5013 + ;;
74.5014 + RCC*)
74.5015 + # Rational C++ 2.4.1
74.5016 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
74.5017 + ;;
74.5018 + cxx*)
74.5019 + # Digital/Compaq C++
74.5020 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5021 + # Make sure the PIC flag is empty. It appears that all Alpha
74.5022 + # Linux and Compaq Tru64 Unix objects are PIC.
74.5023 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.5024 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.5025 + ;;
74.5026 + *)
74.5027 + ;;
74.5028 + esac
74.5029 + ;;
74.5030 + psos*)
74.5031 + ;;
74.5032 + solaris*)
74.5033 + case $cc_basename in
74.5034 + CC*)
74.5035 + # Sun C++ 4.2, 5.x and Centerline C++
74.5036 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5037 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5038 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
74.5039 + ;;
74.5040 + gcx*)
74.5041 + # Green Hills C++ Compiler
74.5042 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
74.5043 + ;;
74.5044 + *)
74.5045 + ;;
74.5046 + esac
74.5047 + ;;
74.5048 + sunos4*)
74.5049 + case $cc_basename in
74.5050 + CC*)
74.5051 + # Sun C++ 4.x
74.5052 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
74.5053 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5054 + ;;
74.5055 + lcc*)
74.5056 + # Lucid
74.5057 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
74.5058 + ;;
74.5059 + *)
74.5060 + ;;
74.5061 + esac
74.5062 + ;;
74.5063 + tandem*)
74.5064 + case $cc_basename in
74.5065 + NCC*)
74.5066 + # NonStop-UX NCC 3.20
74.5067 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5068 + ;;
74.5069 + *)
74.5070 + ;;
74.5071 + esac
74.5072 + ;;
74.5073 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
74.5074 + case $cc_basename in
74.5075 + CC*)
74.5076 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5077 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5078 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5079 + ;;
74.5080 + esac
74.5081 + ;;
74.5082 + vxworks*)
74.5083 + ;;
74.5084 + *)
74.5085 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
74.5086 + ;;
74.5087 + esac
74.5088 + fi
74.5089 +],
74.5090 +[
74.5091 + if test "$GCC" = yes; then
74.5092 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5093 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
74.5094 +
74.5095 + case $host_os in
74.5096 + aix*)
74.5097 + # All AIX code is PIC.
74.5098 + if test "$host_cpu" = ia64; then
74.5099 + # AIX 5 now supports IA64 processor
74.5100 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5101 + fi
74.5102 + ;;
74.5103 +
74.5104 + amigaos*)
74.5105 + # FIXME: we need at least 68020 code to build shared libraries, but
74.5106 + # adding the `-m68020' flag to GCC prevents building anything better,
74.5107 + # like `-m68040'.
74.5108 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
74.5109 + ;;
74.5110 +
74.5111 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
74.5112 + # PIC is the default for these OSes.
74.5113 + ;;
74.5114 +
74.5115 + mingw* | pw32* | os2*)
74.5116 + # This hack is so that the source file can tell whether it is being
74.5117 + # built for inclusion in a dll (and should export symbols for example).
74.5118 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
74.5119 + ;;
74.5120 +
74.5121 + darwin* | rhapsody*)
74.5122 + # PIC is the default on this platform
74.5123 + # Common symbols not allowed in MH_DYLIB files
74.5124 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
74.5125 + ;;
74.5126 +
74.5127 + interix3*)
74.5128 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
74.5129 + # Instead, we relocate shared libraries at runtime.
74.5130 + ;;
74.5131 +
74.5132 + msdosdjgpp*)
74.5133 + # Just because we use GCC doesn't mean we suddenly get shared libraries
74.5134 + # on systems that don't support them.
74.5135 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
74.5136 + enable_shared=no
74.5137 + ;;
74.5138 +
74.5139 + sysv4*MP*)
74.5140 + if test -d /usr/nec; then
74.5141 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
74.5142 + fi
74.5143 + ;;
74.5144 +
74.5145 + hpux*)
74.5146 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
74.5147 + # not for PA HP-UX.
74.5148 + case $host_cpu in
74.5149 + hppa*64*|ia64*)
74.5150 + # +Z the default
74.5151 + ;;
74.5152 + *)
74.5153 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
74.5154 + ;;
74.5155 + esac
74.5156 + ;;
74.5157 +
74.5158 + *)
74.5159 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
74.5160 + ;;
74.5161 + esac
74.5162 + else
74.5163 + # PORTME Check for flag to pass linker flags through the system compiler.
74.5164 + case $host_os in
74.5165 + aix*)
74.5166 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5167 + if test "$host_cpu" = ia64; then
74.5168 + # AIX 5 now supports IA64 processor
74.5169 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5170 + else
74.5171 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
74.5172 + fi
74.5173 + ;;
74.5174 + darwin*)
74.5175 + # PIC is the default on this platform
74.5176 + # Common symbols not allowed in MH_DYLIB files
74.5177 + case $cc_basename in
74.5178 + xlc*)
74.5179 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
74.5180 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5181 + ;;
74.5182 + esac
74.5183 + ;;
74.5184 +
74.5185 + mingw* | pw32* | os2*)
74.5186 + # This hack is so that the source file can tell whether it is being
74.5187 + # built for inclusion in a dll (and should export symbols for example).
74.5188 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
74.5189 + ;;
74.5190 +
74.5191 + hpux9* | hpux10* | hpux11*)
74.5192 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5193 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
74.5194 + # not for PA HP-UX.
74.5195 + case $host_cpu in
74.5196 + hppa*64*|ia64*)
74.5197 + # +Z the default
74.5198 + ;;
74.5199 + *)
74.5200 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
74.5201 + ;;
74.5202 + esac
74.5203 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
74.5204 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
74.5205 + ;;
74.5206 +
74.5207 + irix5* | irix6* | nonstopux*)
74.5208 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5209 + # PIC (with -KPIC) is the default.
74.5210 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.5211 + ;;
74.5212 +
74.5213 + newsos6)
74.5214 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5215 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5216 + ;;
74.5217 +
74.5218 + linux*)
74.5219 + case $cc_basename in
74.5220 + icc* | ecc*)
74.5221 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5222 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5223 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
74.5224 + ;;
74.5225 + pgcc* | pgf77* | pgf90* | pgf95*)
74.5226 + # Portland Group compilers (*not* the Pentium gcc compiler,
74.5227 + # which looks to be a dead project)
74.5228 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5229 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
74.5230 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5231 + ;;
74.5232 + ccc*)
74.5233 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5234 + # All Alpha code is PIC.
74.5235 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.5236 + ;;
74.5237 + esac
74.5238 + ;;
74.5239 +
74.5240 + osf3* | osf4* | osf5*)
74.5241 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5242 + # All OSF/1 code is PIC.
74.5243 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
74.5244 + ;;
74.5245 +
74.5246 + solaris*)
74.5247 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5248 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5249 + case $cc_basename in
74.5250 + f77* | f90* | f95*)
74.5251 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
74.5252 + *)
74.5253 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
74.5254 + esac
74.5255 + ;;
74.5256 +
74.5257 + sunos4*)
74.5258 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
74.5259 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
74.5260 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5261 + ;;
74.5262 +
74.5263 + sysv4 | sysv4.2uw2* | sysv4.3*)
74.5264 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5265 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5266 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5267 + ;;
74.5268 +
74.5269 + sysv4*MP*)
74.5270 + if test -d /usr/nec ;then
74.5271 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
74.5272 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5273 + fi
74.5274 + ;;
74.5275 +
74.5276 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
74.5277 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5278 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
74.5279 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5280 + ;;
74.5281 +
74.5282 + unicos*)
74.5283 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
74.5284 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
74.5285 + ;;
74.5286 +
74.5287 + uts4*)
74.5288 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
74.5289 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
74.5290 + ;;
74.5291 +
74.5292 + *)
74.5293 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
74.5294 + ;;
74.5295 + esac
74.5296 + fi
74.5297 +])
74.5298 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
74.5299 +
74.5300 +#
74.5301 +# Check to make sure the PIC flag actually works.
74.5302 +#
74.5303 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
74.5304 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
74.5305 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
74.5306 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
74.5307 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
74.5308 + "" | " "*) ;;
74.5309 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
74.5310 + esac],
74.5311 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.5312 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
74.5313 +fi
74.5314 +case $host_os in
74.5315 + # For platforms which do not support PIC, -DPIC is meaningless:
74.5316 + *djgpp*)
74.5317 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
74.5318 + ;;
74.5319 + *)
74.5320 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
74.5321 + ;;
74.5322 +esac
74.5323 +
74.5324 +#
74.5325 +# Check to make sure the static flag actually works.
74.5326 +#
74.5327 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
74.5328 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
74.5329 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
74.5330 + $lt_tmp_static_flag,
74.5331 + [],
74.5332 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
74.5333 +])
74.5334 +
74.5335 +
74.5336 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
74.5337 +# ------------------------------------
74.5338 +# See if the linker supports building shared libraries.
74.5339 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
74.5340 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
74.5341 +ifelse([$1],[CXX],[
74.5342 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
74.5343 + case $host_os in
74.5344 + aix4* | aix5*)
74.5345 + # If we're using GNU nm, then we don't want the "-C" option.
74.5346 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
74.5347 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
74.5348 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
74.5349 + else
74.5350 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
74.5351 + fi
74.5352 + ;;
74.5353 + pw32*)
74.5354 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
74.5355 + ;;
74.5356 + cygwin* | mingw*)
74.5357 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
74.5358 + ;;
74.5359 + *)
74.5360 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
74.5361 + ;;
74.5362 + esac
74.5363 +],[
74.5364 + runpath_var=
74.5365 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
74.5366 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
74.5367 + _LT_AC_TAGVAR(archive_cmds, $1)=
74.5368 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
74.5369 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
74.5370 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
74.5371 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
74.5372 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.5373 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
74.5374 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
74.5375 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
74.5376 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
74.5377 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.5378 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
74.5379 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
74.5380 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
74.5381 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
74.5382 + _LT_AC_TAGVAR(module_cmds, $1)=
74.5383 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
74.5384 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
74.5385 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
74.5386 + # include_expsyms should be a list of space-separated symbols to be *always*
74.5387 + # included in the symbol list
74.5388 + _LT_AC_TAGVAR(include_expsyms, $1)=
74.5389 + # exclude_expsyms can be an extended regexp of symbols to exclude
74.5390 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
74.5391 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
74.5392 + # as well as any symbol that contains `d'.
74.5393 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
74.5394 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
74.5395 + # platforms (ab)use it in PIC code, but their linkers get confused if
74.5396 + # the symbol is explicitly referenced. Since portable code cannot
74.5397 + # rely on this symbol name, it's probably fine to never include it in
74.5398 + # preloaded symbol tables.
74.5399 + extract_expsyms_cmds=
74.5400 + # Just being paranoid about ensuring that cc_basename is set.
74.5401 + _LT_CC_BASENAME([$compiler])
74.5402 + case $host_os in
74.5403 + cygwin* | mingw* | pw32*)
74.5404 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
74.5405 + # When not using gcc, we currently assume that we are using
74.5406 + # Microsoft Visual C++.
74.5407 + if test "$GCC" != yes; then
74.5408 + with_gnu_ld=no
74.5409 + fi
74.5410 + ;;
74.5411 + interix*)
74.5412 + # we just hope/assume this is gcc and not c89 (= MSVC++)
74.5413 + with_gnu_ld=yes
74.5414 + ;;
74.5415 + openbsd*)
74.5416 + with_gnu_ld=no
74.5417 + ;;
74.5418 + esac
74.5419 +
74.5420 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
74.5421 + if test "$with_gnu_ld" = yes; then
74.5422 + # If archive_cmds runs LD, not CC, wlarc should be empty
74.5423 + wlarc='${wl}'
74.5424 +
74.5425 + # Set some defaults for GNU ld with shared library support. These
74.5426 + # are reset later if shared libraries are not supported. Putting them
74.5427 + # here allows them to be overridden if necessary.
74.5428 + runpath_var=LD_RUN_PATH
74.5429 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
74.5430 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
74.5431 + # ancient GNU ld didn't support --whole-archive et. al.
74.5432 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
74.5433 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
74.5434 + else
74.5435 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.5436 + fi
74.5437 + supports_anon_versioning=no
74.5438 + case `$LD -v 2>/dev/null` in
74.5439 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
74.5440 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
74.5441 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
74.5442 + *\ 2.11.*) ;; # other 2.11 versions
74.5443 + *) supports_anon_versioning=yes ;;
74.5444 + esac
74.5445 +
74.5446 + # See if GNU ld supports shared libraries.
74.5447 + case $host_os in
74.5448 + aix3* | aix4* | aix5*)
74.5449 + # On AIX/PPC, the GNU linker is very broken
74.5450 + if test "$host_cpu" != ia64; then
74.5451 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5452 + cat <<EOF 1>&2
74.5453 +
74.5454 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
74.5455 +*** to be unable to reliably create shared libraries on AIX.
74.5456 +*** Therefore, libtool is disabling shared libraries support. If you
74.5457 +*** really care for shared libraries, you may want to modify your PATH
74.5458 +*** so that a non-GNU linker is found, and then restart.
74.5459 +
74.5460 +EOF
74.5461 + fi
74.5462 + ;;
74.5463 +
74.5464 + amigaos*)
74.5465 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
74.5466 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.5467 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5468 +
74.5469 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
74.5470 + # that the semantics of dynamic libraries on AmigaOS, at least up
74.5471 + # to version 4, is to share data among multiple programs linked
74.5472 + # with the same dynamic library. Since this doesn't match the
74.5473 + # behavior of shared libraries on other platforms, we can't use
74.5474 + # them.
74.5475 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5476 + ;;
74.5477 +
74.5478 + beos*)
74.5479 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.5480 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.5481 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
74.5482 + # support --undefined. This deserves some investigation. FIXME
74.5483 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.5484 + else
74.5485 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5486 + fi
74.5487 + ;;
74.5488 +
74.5489 + cygwin* | mingw* | pw32*)
74.5490 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
74.5491 + # as there is no search path for DLLs.
74.5492 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.5493 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.5494 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
74.5495 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
74.5496 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
74.5497 +
74.5498 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
74.5499 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
74.5500 + # If the export-symbols file already is a .def file (1st line
74.5501 + # is EXPORTS), use it as is; otherwise, prepend...
74.5502 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
74.5503 + cp $export_symbols $output_objdir/$soname.def;
74.5504 + else
74.5505 + echo EXPORTS > $output_objdir/$soname.def;
74.5506 + cat $export_symbols >> $output_objdir/$soname.def;
74.5507 + fi~
74.5508 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
74.5509 + else
74.5510 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5511 + fi
74.5512 + ;;
74.5513 +
74.5514 + interix3*)
74.5515 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.5516 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5517 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.5518 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.5519 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
74.5520 + # Instead, shared libraries are loaded at an image base (0x10000000 by
74.5521 + # default) and relocated if they conflict, which is a slow very memory
74.5522 + # consuming and fragmenting process. To avoid this, we pick a random,
74.5523 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
74.5524 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
74.5525 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
74.5526 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
74.5527 + ;;
74.5528 +
74.5529 + linux*)
74.5530 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.5531 + tmp_addflag=
74.5532 + case $cc_basename,$host_cpu in
74.5533 + pgcc*) # Portland Group C compiler
74.5534 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
74.5535 + tmp_addflag=' $pic_flag'
74.5536 + ;;
74.5537 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
74.5538 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
74.5539 + tmp_addflag=' $pic_flag -Mnomain' ;;
74.5540 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
74.5541 + tmp_addflag=' -i_dynamic' ;;
74.5542 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
74.5543 + tmp_addflag=' -i_dynamic -nofor_main' ;;
74.5544 + ifc* | ifort*) # Intel Fortran compiler
74.5545 + tmp_addflag=' -nofor_main' ;;
74.5546 + esac
74.5547 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.5548 +
74.5549 + if test $supports_anon_versioning = yes; then
74.5550 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
74.5551 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
74.5552 + $echo "local: *; };" >> $output_objdir/$libname.ver~
74.5553 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
74.5554 + fi
74.5555 + else
74.5556 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5557 + fi
74.5558 + ;;
74.5559 +
74.5560 + netbsd*)
74.5561 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
74.5562 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
74.5563 + wlarc=
74.5564 + else
74.5565 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.5566 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.5567 + fi
74.5568 + ;;
74.5569 +
74.5570 + solaris*)
74.5571 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
74.5572 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5573 + cat <<EOF 1>&2
74.5574 +
74.5575 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
74.5576 +*** create shared libraries on Solaris systems. Therefore, libtool
74.5577 +*** is disabling shared libraries support. We urge you to upgrade GNU
74.5578 +*** binutils to release 2.9.1 or newer. Another option is to modify
74.5579 +*** your PATH or compiler configuration so that the native linker is
74.5580 +*** used, and then restart.
74.5581 +
74.5582 +EOF
74.5583 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.5584 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.5585 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.5586 + else
74.5587 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5588 + fi
74.5589 + ;;
74.5590 +
74.5591 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
74.5592 + case `$LD -v 2>&1` in
74.5593 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
74.5594 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5595 + cat <<_LT_EOF 1>&2
74.5596 +
74.5597 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
74.5598 +*** reliably create shared libraries on SCO systems. Therefore, libtool
74.5599 +*** is disabling shared libraries support. We urge you to upgrade GNU
74.5600 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
74.5601 +*** your PATH or compiler configuration so that the native linker is
74.5602 +*** used, and then restart.
74.5603 +
74.5604 +_LT_EOF
74.5605 + ;;
74.5606 + *)
74.5607 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.5608 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
74.5609 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
74.5610 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
74.5611 + else
74.5612 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5613 + fi
74.5614 + ;;
74.5615 + esac
74.5616 + ;;
74.5617 +
74.5618 + sunos4*)
74.5619 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
74.5620 + wlarc=
74.5621 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5622 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5623 + ;;
74.5624 +
74.5625 + *)
74.5626 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
74.5627 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
74.5628 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
74.5629 + else
74.5630 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5631 + fi
74.5632 + ;;
74.5633 + esac
74.5634 +
74.5635 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
74.5636 + runpath_var=
74.5637 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
74.5638 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
74.5639 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
74.5640 + fi
74.5641 + else
74.5642 + # PORTME fill in a description of your system's linker (not GNU ld)
74.5643 + case $host_os in
74.5644 + aix3*)
74.5645 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.5646 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
74.5647 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
74.5648 + # Note: this linker hardcodes the directories in LIBPATH if there
74.5649 + # are no directories specified by -L.
74.5650 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5651 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
74.5652 + # Neither direct hardcoding nor static linking is supported with a
74.5653 + # broken collect2.
74.5654 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
74.5655 + fi
74.5656 + ;;
74.5657 +
74.5658 + aix4* | aix5*)
74.5659 + if test "$host_cpu" = ia64; then
74.5660 + # On IA64, the linker does run time linking by default, so we don't
74.5661 + # have to do anything special.
74.5662 + aix_use_runtimelinking=no
74.5663 + exp_sym_flag='-Bexport'
74.5664 + no_entry_flag=""
74.5665 + else
74.5666 + # If we're using GNU nm, then we don't want the "-C" option.
74.5667 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
74.5668 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
74.5669 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
74.5670 + else
74.5671 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
74.5672 + fi
74.5673 + aix_use_runtimelinking=no
74.5674 +
74.5675 + # Test if we are trying to use run time linking or normal
74.5676 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
74.5677 + # need to do runtime linking.
74.5678 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
74.5679 + for ld_flag in $LDFLAGS; do
74.5680 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
74.5681 + aix_use_runtimelinking=yes
74.5682 + break
74.5683 + fi
74.5684 + done
74.5685 + ;;
74.5686 + esac
74.5687 +
74.5688 + exp_sym_flag='-bexport'
74.5689 + no_entry_flag='-bnoentry'
74.5690 + fi
74.5691 +
74.5692 + # When large executables or shared objects are built, AIX ld can
74.5693 + # have problems creating the table of contents. If linking a library
74.5694 + # or program results in "error TOC overflow" add -mminimal-toc to
74.5695 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
74.5696 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
74.5697 +
74.5698 + _LT_AC_TAGVAR(archive_cmds, $1)=''
74.5699 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5700 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
74.5701 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.5702 +
74.5703 + if test "$GCC" = yes; then
74.5704 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
74.5705 + # We only want to do this on AIX 4.2 and lower, the check
74.5706 + # below for broken collect2 doesn't work under 4.3+
74.5707 + collect2name=`${CC} -print-prog-name=collect2`
74.5708 + if test -f "$collect2name" && \
74.5709 + strings "$collect2name" | grep resolve_lib_name >/dev/null
74.5710 + then
74.5711 + # We have reworked collect2
74.5712 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5713 + else
74.5714 + # We have old collect2
74.5715 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
74.5716 + # It fails to find uninstalled libraries when the uninstalled
74.5717 + # path is not listed in the libpath. Setting hardcode_minus_L
74.5718 + # to unsupported forces relinking
74.5719 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5720 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.5721 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
74.5722 + fi
74.5723 + ;;
74.5724 + esac
74.5725 + shared_flag='-shared'
74.5726 + if test "$aix_use_runtimelinking" = yes; then
74.5727 + shared_flag="$shared_flag "'${wl}-G'
74.5728 + fi
74.5729 + else
74.5730 + # not using gcc
74.5731 + if test "$host_cpu" = ia64; then
74.5732 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
74.5733 + # chokes on -Wl,-G. The following line is correct:
74.5734 + shared_flag='-G'
74.5735 + else
74.5736 + if test "$aix_use_runtimelinking" = yes; then
74.5737 + shared_flag='${wl}-G'
74.5738 + else
74.5739 + shared_flag='${wl}-bM:SRE'
74.5740 + fi
74.5741 + fi
74.5742 + fi
74.5743 +
74.5744 + # It seems that -bexpall does not export symbols beginning with
74.5745 + # underscore (_), so it is better to generate a list of symbols to export.
74.5746 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
74.5747 + if test "$aix_use_runtimelinking" = yes; then
74.5748 + # Warning - without using the other runtime loading flags (-brtl),
74.5749 + # -berok will link without error, but may produce a broken library.
74.5750 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
74.5751 + # Determine the default libpath from the value encoded in an empty executable.
74.5752 + _LT_AC_SYS_LIBPATH_AIX
74.5753 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
74.5754 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
74.5755 + else
74.5756 + if test "$host_cpu" = ia64; then
74.5757 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
74.5758 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
74.5759 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
74.5760 + else
74.5761 + # Determine the default libpath from the value encoded in an empty executable.
74.5762 + _LT_AC_SYS_LIBPATH_AIX
74.5763 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
74.5764 + # Warning - without using the other run time loading flags,
74.5765 + # -berok will link without error, but may produce a broken library.
74.5766 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
74.5767 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
74.5768 + # Exported symbols can be pulled into shared objects from archives
74.5769 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
74.5770 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
74.5771 + # This is similar to how AIX traditionally builds its shared libraries.
74.5772 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
74.5773 + fi
74.5774 + fi
74.5775 + ;;
74.5776 +
74.5777 + amigaos*)
74.5778 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
74.5779 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.5780 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5781 + # see comment about different semantics on the GNU ld section
74.5782 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5783 + ;;
74.5784 +
74.5785 + bsdi[[45]]*)
74.5786 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
74.5787 + ;;
74.5788 +
74.5789 + cygwin* | mingw* | pw32*)
74.5790 + # When not using gcc, we currently assume that we are using
74.5791 + # Microsoft Visual C++.
74.5792 + # hardcode_libdir_flag_spec is actually meaningless, as there is
74.5793 + # no search path for DLLs.
74.5794 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
74.5795 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.5796 + # Tell ltmain to make .lib files, not .a files.
74.5797 + libext=lib
74.5798 + # Tell ltmain to make .dll files, not .so files.
74.5799 + shrext_cmds=".dll"
74.5800 + # FIXME: Setting linknames here is a bad hack.
74.5801 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
74.5802 + # The linker will automatically build a .lib file if we build a DLL.
74.5803 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
74.5804 + # FIXME: Should let the user specify the lib program.
74.5805 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
74.5806 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
74.5807 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
74.5808 + ;;
74.5809 +
74.5810 + darwin* | rhapsody*)
74.5811 + case $host_os in
74.5812 + rhapsody* | darwin1.[[012]])
74.5813 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
74.5814 + ;;
74.5815 + *) # Darwin 1.3 on
74.5816 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
74.5817 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
74.5818 + else
74.5819 + case ${MACOSX_DEPLOYMENT_TARGET} in
74.5820 + 10.[[012]])
74.5821 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
74.5822 + ;;
74.5823 + 10.*)
74.5824 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
74.5825 + ;;
74.5826 + esac
74.5827 + fi
74.5828 + ;;
74.5829 + esac
74.5830 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.5831 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.5832 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
74.5833 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
74.5834 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
74.5835 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.5836 + if test "$GCC" = yes ; then
74.5837 + output_verbose_link_cmd='echo'
74.5838 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
74.5839 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
74.5840 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
74.5841 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.5842 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.5843 + else
74.5844 + case $cc_basename in
74.5845 + xlc*)
74.5846 + output_verbose_link_cmd='echo'
74.5847 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
74.5848 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
74.5849 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
74.5850 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.5851 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
74.5852 + ;;
74.5853 + *)
74.5854 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5855 + ;;
74.5856 + esac
74.5857 + fi
74.5858 + ;;
74.5859 +
74.5860 + dgux*)
74.5861 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.5862 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.5863 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5864 + ;;
74.5865 +
74.5866 + freebsd1*)
74.5867 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.5868 + ;;
74.5869 +
74.5870 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
74.5871 + # support. Future versions do this automatically, but an explicit c++rt0.o
74.5872 + # does not break anything, and helps significantly (at the cost of a little
74.5873 + # extra space).
74.5874 + freebsd2.2*)
74.5875 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
74.5876 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.5877 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5878 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5879 + ;;
74.5880 +
74.5881 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
74.5882 + freebsd2*)
74.5883 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
74.5884 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5885 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5886 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5887 + ;;
74.5888 +
74.5889 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
74.5890 + freebsd* | kfreebsd*-gnu | dragonfly*)
74.5891 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
74.5892 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.5893 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5894 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5895 + ;;
74.5896 +
74.5897 + hpux9*)
74.5898 + if test "$GCC" = yes; then
74.5899 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
74.5900 + else
74.5901 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
74.5902 + fi
74.5903 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
74.5904 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.5905 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5906 +
74.5907 + # hardcode_minus_L: Not really in the search PATH,
74.5908 + # but as the default location of the library.
74.5909 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5910 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.5911 + ;;
74.5912 +
74.5913 + hpux10*)
74.5914 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
74.5915 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
74.5916 + else
74.5917 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
74.5918 + fi
74.5919 + if test "$with_gnu_ld" = no; then
74.5920 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
74.5921 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.5922 +
74.5923 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5924 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.5925 +
74.5926 + # hardcode_minus_L: Not really in the search PATH,
74.5927 + # but as the default location of the library.
74.5928 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5929 + fi
74.5930 + ;;
74.5931 +
74.5932 + hpux11*)
74.5933 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
74.5934 + case $host_cpu in
74.5935 + hppa*64*)
74.5936 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.5937 + ;;
74.5938 + ia64*)
74.5939 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
74.5940 + ;;
74.5941 + *)
74.5942 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
74.5943 + ;;
74.5944 + esac
74.5945 + else
74.5946 + case $host_cpu in
74.5947 + hppa*64*)
74.5948 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.5949 + ;;
74.5950 + ia64*)
74.5951 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
74.5952 + ;;
74.5953 + *)
74.5954 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
74.5955 + ;;
74.5956 + esac
74.5957 + fi
74.5958 + if test "$with_gnu_ld" = no; then
74.5959 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
74.5960 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.5961 +
74.5962 + case $host_cpu in
74.5963 + hppa*64*|ia64*)
74.5964 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
74.5965 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.5966 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.5967 + ;;
74.5968 + *)
74.5969 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.5970 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.5971 +
74.5972 + # hardcode_minus_L: Not really in the search PATH,
74.5973 + # but as the default location of the library.
74.5974 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.5975 + ;;
74.5976 + esac
74.5977 + fi
74.5978 + ;;
74.5979 +
74.5980 + irix5* | irix6* | nonstopux*)
74.5981 + if test "$GCC" = yes; then
74.5982 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.5983 + else
74.5984 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.5985 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
74.5986 + fi
74.5987 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.5988 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.5989 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.5990 + ;;
74.5991 +
74.5992 + netbsd*)
74.5993 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
74.5994 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
74.5995 + else
74.5996 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
74.5997 + fi
74.5998 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.5999 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.6000 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6001 + ;;
74.6002 +
74.6003 + newsos6)
74.6004 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6005 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.6006 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.6007 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.6008 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6009 + ;;
74.6010 +
74.6011 + openbsd*)
74.6012 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.6013 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6014 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
74.6015 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
74.6016 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
74.6017 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.6018 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
74.6019 + else
74.6020 + case $host_os in
74.6021 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
74.6022 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
74.6023 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.6024 + ;;
74.6025 + *)
74.6026 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
74.6027 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
74.6028 + ;;
74.6029 + esac
74.6030 + fi
74.6031 + ;;
74.6032 +
74.6033 + os2*)
74.6034 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.6035 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.6036 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
74.6037 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
74.6038 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
74.6039 + ;;
74.6040 +
74.6041 + osf3*)
74.6042 + if test "$GCC" = yes; then
74.6043 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
74.6044 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.6045 + else
74.6046 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
74.6047 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.6048 + fi
74.6049 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.6050 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.6051 + ;;
74.6052 +
74.6053 + osf4* | osf5*) # as osf3* with the addition of -msym flag
74.6054 + if test "$GCC" = yes; then
74.6055 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
74.6056 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
74.6057 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
74.6058 + else
74.6059 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
74.6060 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
74.6061 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
74.6062 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
74.6063 +
74.6064 + # Both c and cxx compiler support -rpath directly
74.6065 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
74.6066 + fi
74.6067 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
74.6068 + ;;
74.6069 +
74.6070 + solaris*)
74.6071 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
74.6072 + if test "$GCC" = yes; then
74.6073 + wlarc='${wl}'
74.6074 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6075 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
74.6076 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
74.6077 + else
74.6078 + wlarc=''
74.6079 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6080 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
74.6081 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
74.6082 + fi
74.6083 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
74.6084 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6085 + case $host_os in
74.6086 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
74.6087 + *)
74.6088 + # The compiler driver will combine linker options so we
74.6089 + # cannot just pass the convience library names through
74.6090 + # without $wl, iff we do not link with $LD.
74.6091 + # Luckily, gcc supports the same syntax we need for Sun Studio.
74.6092 + # Supported since Solaris 2.6 (maybe 2.5.1?)
74.6093 + case $wlarc in
74.6094 + '')
74.6095 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
74.6096 + *)
74.6097 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
74.6098 + esac ;;
74.6099 + esac
74.6100 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.6101 + ;;
74.6102 +
74.6103 + sunos4*)
74.6104 + if test "x$host_vendor" = xsequent; then
74.6105 + # Use $CC to link under sequent, because it throws in some extra .o
74.6106 + # files that make .init and .fini sections work.
74.6107 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
74.6108 + else
74.6109 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
74.6110 + fi
74.6111 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.6112 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
74.6113 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
74.6114 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6115 + ;;
74.6116 +
74.6117 + sysv4)
74.6118 + case $host_vendor in
74.6119 + sni)
74.6120 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6121 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
74.6122 + ;;
74.6123 + siemens)
74.6124 + ## LD is ld it makes a PLAMLIB
74.6125 + ## CC just makes a GrossModule.
74.6126 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
74.6127 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
74.6128 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
74.6129 + ;;
74.6130 + motorola)
74.6131 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6132 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
74.6133 + ;;
74.6134 + esac
74.6135 + runpath_var='LD_RUN_PATH'
74.6136 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6137 + ;;
74.6138 +
74.6139 + sysv4.3*)
74.6140 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6141 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6142 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
74.6143 + ;;
74.6144 +
74.6145 + sysv4*MP*)
74.6146 + if test -d /usr/nec; then
74.6147 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6148 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6149 + runpath_var=LD_RUN_PATH
74.6150 + hardcode_runpath_var=yes
74.6151 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
74.6152 + fi
74.6153 + ;;
74.6154 +
74.6155 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
74.6156 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
74.6157 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.6158 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6159 + runpath_var='LD_RUN_PATH'
74.6160 +
74.6161 + if test "$GCC" = yes; then
74.6162 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6163 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6164 + else
74.6165 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6166 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6167 + fi
74.6168 + ;;
74.6169 +
74.6170 + sysv5* | sco3.2v5* | sco5v6*)
74.6171 + # Note: We can NOT use -z defs as we might desire, because we do not
74.6172 + # link with -lc, and that would cause any symbols used from libc to
74.6173 + # always be unresolved, which means just about no library would
74.6174 + # ever link correctly. If we're not using GNU ld we use -z text
74.6175 + # though, which does catch some bad symbols but isn't as heavy-handed
74.6176 + # as -z defs.
74.6177 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
74.6178 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
74.6179 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.6180 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6181 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
74.6182 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
74.6183 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
74.6184 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
74.6185 + runpath_var='LD_RUN_PATH'
74.6186 +
74.6187 + if test "$GCC" = yes; then
74.6188 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6189 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6190 + else
74.6191 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6192 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
74.6193 + fi
74.6194 + ;;
74.6195 +
74.6196 + uts4*)
74.6197 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
74.6198 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
74.6199 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
74.6200 + ;;
74.6201 +
74.6202 + *)
74.6203 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
74.6204 + ;;
74.6205 + esac
74.6206 + fi
74.6207 +])
74.6208 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
74.6209 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
74.6210 +
74.6211 +#
74.6212 +# Do we need to explicitly link libc?
74.6213 +#
74.6214 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
74.6215 +x|xyes)
74.6216 + # Assume -lc should be added
74.6217 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
74.6218 +
74.6219 + if test "$enable_shared" = yes && test "$GCC" = yes; then
74.6220 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
74.6221 + *'~'*)
74.6222 + # FIXME: we may have to deal with multi-command sequences.
74.6223 + ;;
74.6224 + '$CC '*)
74.6225 + # Test whether the compiler implicitly links with -lc since on some
74.6226 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
74.6227 + # to ld, don't add -lc before -lgcc.
74.6228 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
74.6229 + $rm conftest*
74.6230 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
74.6231 +
74.6232 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
74.6233 + soname=conftest
74.6234 + lib=conftest
74.6235 + libobjs=conftest.$ac_objext
74.6236 + deplibs=
74.6237 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
74.6238 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
74.6239 + compiler_flags=-v
74.6240 + linker_flags=-v
74.6241 + verstring=
74.6242 + output_objdir=.
74.6243 + libname=conftest
74.6244 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
74.6245 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
74.6246 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
74.6247 + then
74.6248 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
74.6249 + else
74.6250 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
74.6251 + fi
74.6252 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
74.6253 + else
74.6254 + cat conftest.err 1>&5
74.6255 + fi
74.6256 + $rm conftest*
74.6257 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
74.6258 + ;;
74.6259 + esac
74.6260 + fi
74.6261 + ;;
74.6262 +esac
74.6263 +])# AC_LIBTOOL_PROG_LD_SHLIBS
74.6264 +
74.6265 +
74.6266 +# _LT_AC_FILE_LTDLL_C
74.6267 +# -------------------
74.6268 +# Be careful that the start marker always follows a newline.
74.6269 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
74.6270 +# /* ltdll.c starts here */
74.6271 +# #define WIN32_LEAN_AND_MEAN
74.6272 +# #include <windows.h>
74.6273 +# #undef WIN32_LEAN_AND_MEAN
74.6274 +# #include <stdio.h>
74.6275 +#
74.6276 +# #ifndef __CYGWIN__
74.6277 +# # ifdef __CYGWIN32__
74.6278 +# # define __CYGWIN__ __CYGWIN32__
74.6279 +# # endif
74.6280 +# #endif
74.6281 +#
74.6282 +# #ifdef __cplusplus
74.6283 +# extern "C" {
74.6284 +# #endif
74.6285 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
74.6286 +# #ifdef __cplusplus
74.6287 +# }
74.6288 +# #endif
74.6289 +#
74.6290 +# #ifdef __CYGWIN__
74.6291 +# #include <cygwin/cygwin_dll.h>
74.6292 +# DECLARE_CYGWIN_DLL( DllMain );
74.6293 +# #endif
74.6294 +# HINSTANCE __hDllInstance_base;
74.6295 +#
74.6296 +# BOOL APIENTRY
74.6297 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
74.6298 +# {
74.6299 +# __hDllInstance_base = hInst;
74.6300 +# return TRUE;
74.6301 +# }
74.6302 +# /* ltdll.c ends here */
74.6303 +])# _LT_AC_FILE_LTDLL_C
74.6304 +
74.6305 +
74.6306 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
74.6307 +# ---------------------------------
74.6308 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
74.6309 +
74.6310 +
74.6311 +# old names
74.6312 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
74.6313 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
74.6314 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
74.6315 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
74.6316 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
74.6317 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
74.6318 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
74.6319 +
74.6320 +# This is just to silence aclocal about the macro not being used
74.6321 +ifelse([AC_DISABLE_FAST_INSTALL])
74.6322 +
74.6323 +AC_DEFUN([LT_AC_PROG_GCJ],
74.6324 +[AC_CHECK_TOOL(GCJ, gcj, no)
74.6325 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
74.6326 + AC_SUBST(GCJFLAGS)
74.6327 +])
74.6328 +
74.6329 +AC_DEFUN([LT_AC_PROG_RC],
74.6330 +[AC_CHECK_TOOL(RC, windres, no)
74.6331 +])
74.6332 +
74.6333 +# NOTE: This macro has been submitted for inclusion into #
74.6334 +# GNU Autoconf as AC_PROG_SED. When it is available in #
74.6335 +# a released version of Autoconf we should remove this #
74.6336 +# macro and use it instead. #
74.6337 +# LT_AC_PROG_SED
74.6338 +# --------------
74.6339 +# Check for a fully-functional sed program, that truncates
74.6340 +# as few characters as possible. Prefer GNU sed if found.
74.6341 +AC_DEFUN([LT_AC_PROG_SED],
74.6342 +[AC_MSG_CHECKING([for a sed that does not truncate output])
74.6343 +AC_CACHE_VAL(lt_cv_path_SED,
74.6344 +[# Loop through the user's path and test for sed and gsed.
74.6345 +# Then use that list of sed's as ones to test for truncation.
74.6346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74.6347 +for as_dir in $PATH
74.6348 +do
74.6349 + IFS=$as_save_IFS
74.6350 + test -z "$as_dir" && as_dir=.
74.6351 + for lt_ac_prog in sed gsed; do
74.6352 + for ac_exec_ext in '' $ac_executable_extensions; do
74.6353 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
74.6354 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
74.6355 + fi
74.6356 + done
74.6357 + done
74.6358 +done
74.6359 +lt_ac_max=0
74.6360 +lt_ac_count=0
74.6361 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
74.6362 +# along with /bin/sed that truncates output.
74.6363 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
74.6364 + test ! -f $lt_ac_sed && continue
74.6365 + cat /dev/null > conftest.in
74.6366 + lt_ac_count=0
74.6367 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
74.6368 + # Check for GNU sed and select it if it is found.
74.6369 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
74.6370 + lt_cv_path_SED=$lt_ac_sed
74.6371 + break
74.6372 + fi
74.6373 + while true; do
74.6374 + cat conftest.in conftest.in >conftest.tmp
74.6375 + mv conftest.tmp conftest.in
74.6376 + cp conftest.in conftest.nl
74.6377 + echo >>conftest.nl
74.6378 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
74.6379 + cmp -s conftest.out conftest.nl || break
74.6380 + # 10000 chars as input seems more than enough
74.6381 + test $lt_ac_count -gt 10 && break
74.6382 + lt_ac_count=`expr $lt_ac_count + 1`
74.6383 + if test $lt_ac_count -gt $lt_ac_max; then
74.6384 + lt_ac_max=$lt_ac_count
74.6385 + lt_cv_path_SED=$lt_ac_sed
74.6386 + fi
74.6387 + done
74.6388 +done
74.6389 +])
74.6390 +SED=$lt_cv_path_SED
74.6391 +AC_MSG_RESULT([$SED])
74.6392 +])
74.6393 +
74.6394 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
74.6395 +#
74.6396 +# This file is free software; the Free Software Foundation
74.6397 +# gives unlimited permission to copy and/or distribute it,
74.6398 +# with or without modifications, as long as this notice is preserved.
74.6399 +
74.6400 +# AM_AUTOMAKE_VERSION(VERSION)
74.6401 +# ----------------------------
74.6402 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
74.6403 +# generated from the m4 files accompanying Automake X.Y.
74.6404 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
74.6405 +
74.6406 +# AM_SET_CURRENT_AUTOMAKE_VERSION
74.6407 +# -------------------------------
74.6408 +# Call AM_AUTOMAKE_VERSION so it can be traced.
74.6409 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
74.6410 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
74.6411 + [AM_AUTOMAKE_VERSION([1.9.6])])
74.6412 +
74.6413 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
74.6414 +
74.6415 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
74.6416 +#
74.6417 +# This file is free software; the Free Software Foundation
74.6418 +# gives unlimited permission to copy and/or distribute it,
74.6419 +# with or without modifications, as long as this notice is preserved.
74.6420 +
74.6421 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
74.6422 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
74.6423 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
74.6424 +#
74.6425 +# Of course, Automake must honor this variable whenever it calls a
74.6426 +# tool from the auxiliary directory. The problem is that $srcdir (and
74.6427 +# therefore $ac_aux_dir as well) can be either absolute or relative,
74.6428 +# depending on how configure is run. This is pretty annoying, since
74.6429 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
74.6430 +# source directory, any form will work fine, but in subdirectories a
74.6431 +# relative path needs to be adjusted first.
74.6432 +#
74.6433 +# $ac_aux_dir/missing
74.6434 +# fails when called from a subdirectory if $ac_aux_dir is relative
74.6435 +# $top_srcdir/$ac_aux_dir/missing
74.6436 +# fails if $ac_aux_dir is absolute,
74.6437 +# fails when called from a subdirectory in a VPATH build with
74.6438 +# a relative $ac_aux_dir
74.6439 +#
74.6440 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
74.6441 +# are both prefixed by $srcdir. In an in-source build this is usually
74.6442 +# harmless because $srcdir is `.', but things will broke when you
74.6443 +# start a VPATH build or use an absolute $srcdir.
74.6444 +#
74.6445 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
74.6446 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
74.6447 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
74.6448 +# and then we would define $MISSING as
74.6449 +# MISSING="\${SHELL} $am_aux_dir/missing"
74.6450 +# This will work as long as MISSING is not called from configure, because
74.6451 +# unfortunately $(top_srcdir) has no meaning in configure.
74.6452 +# However there are other variables, like CC, which are often used in
74.6453 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
74.6454 +#
74.6455 +# Another solution, used here, is to always expand $ac_aux_dir to an
74.6456 +# absolute PATH. The drawback is that using absolute paths prevent a
74.6457 +# configured tree to be moved without reconfiguration.
74.6458 +
74.6459 +AC_DEFUN([AM_AUX_DIR_EXPAND],
74.6460 +[dnl Rely on autoconf to set up CDPATH properly.
74.6461 +AC_PREREQ([2.50])dnl
74.6462 +# expand $ac_aux_dir to an absolute path
74.6463 +am_aux_dir=`cd $ac_aux_dir && pwd`
74.6464 +])
74.6465 +
74.6466 +# AM_CONDITIONAL -*- Autoconf -*-
74.6467 +
74.6468 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
74.6469 +# Free Software Foundation, Inc.
74.6470 +#
74.6471 +# This file is free software; the Free Software Foundation
74.6472 +# gives unlimited permission to copy and/or distribute it,
74.6473 +# with or without modifications, as long as this notice is preserved.
74.6474 +
74.6475 +# serial 7
74.6476 +
74.6477 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
74.6478 +# -------------------------------------
74.6479 +# Define a conditional.
74.6480 +AC_DEFUN([AM_CONDITIONAL],
74.6481 +[AC_PREREQ(2.52)dnl
74.6482 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
74.6483 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
74.6484 +AC_SUBST([$1_TRUE])
74.6485 +AC_SUBST([$1_FALSE])
74.6486 +if $2; then
74.6487 + $1_TRUE=
74.6488 + $1_FALSE='#'
74.6489 +else
74.6490 + $1_TRUE='#'
74.6491 + $1_FALSE=
74.6492 +fi
74.6493 +AC_CONFIG_COMMANDS_PRE(
74.6494 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
74.6495 + AC_MSG_ERROR([[conditional "$1" was never defined.
74.6496 +Usually this means the macro was only invoked conditionally.]])
74.6497 +fi])])
74.6498 +
74.6499 +
74.6500 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
74.6501 +# Free Software Foundation, Inc.
74.6502 +#
74.6503 +# This file is free software; the Free Software Foundation
74.6504 +# gives unlimited permission to copy and/or distribute it,
74.6505 +# with or without modifications, as long as this notice is preserved.
74.6506 +
74.6507 +# serial 8
74.6508 +
74.6509 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
74.6510 +# written in clear, in which case automake, when reading aclocal.m4,
74.6511 +# will think it sees a *use*, and therefore will trigger all it's
74.6512 +# C support machinery. Also note that it means that autoscan, seeing
74.6513 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
74.6514 +
74.6515 +
74.6516 +# _AM_DEPENDENCIES(NAME)
74.6517 +# ----------------------
74.6518 +# See how the compiler implements dependency checking.
74.6519 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
74.6520 +# We try a few techniques and use that to set a single cache variable.
74.6521 +#
74.6522 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
74.6523 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
74.6524 +# dependency, and given that the user is not expected to run this macro,
74.6525 +# just rely on AC_PROG_CC.
74.6526 +AC_DEFUN([_AM_DEPENDENCIES],
74.6527 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
74.6528 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
74.6529 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
74.6530 +AC_REQUIRE([AM_DEP_TRACK])dnl
74.6531 +
74.6532 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
74.6533 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
74.6534 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
74.6535 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
74.6536 + [depcc="$$1" am_compiler_list=])
74.6537 +
74.6538 +AC_CACHE_CHECK([dependency style of $depcc],
74.6539 + [am_cv_$1_dependencies_compiler_type],
74.6540 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
74.6541 + # We make a subdir and do the tests there. Otherwise we can end up
74.6542 + # making bogus files that we don't know about and never remove. For
74.6543 + # instance it was reported that on HP-UX the gcc test will end up
74.6544 + # making a dummy file named `D' -- because `-MD' means `put the output
74.6545 + # in D'.
74.6546 + mkdir conftest.dir
74.6547 + # Copy depcomp to subdir because otherwise we won't find it if we're
74.6548 + # using a relative directory.
74.6549 + cp "$am_depcomp" conftest.dir
74.6550 + cd conftest.dir
74.6551 + # We will build objects and dependencies in a subdirectory because
74.6552 + # it helps to detect inapplicable dependency modes. For instance
74.6553 + # both Tru64's cc and ICC support -MD to output dependencies as a
74.6554 + # side effect of compilation, but ICC will put the dependencies in
74.6555 + # the current directory while Tru64 will put them in the object
74.6556 + # directory.
74.6557 + mkdir sub
74.6558 +
74.6559 + am_cv_$1_dependencies_compiler_type=none
74.6560 + if test "$am_compiler_list" = ""; then
74.6561 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
74.6562 + fi
74.6563 + for depmode in $am_compiler_list; do
74.6564 + # Setup a source with many dependencies, because some compilers
74.6565 + # like to wrap large dependency lists on column 80 (with \), and
74.6566 + # we should not choose a depcomp mode which is confused by this.
74.6567 + #
74.6568 + # We need to recreate these files for each test, as the compiler may
74.6569 + # overwrite some of them when testing with obscure command lines.
74.6570 + # This happens at least with the AIX C compiler.
74.6571 + : > sub/conftest.c
74.6572 + for i in 1 2 3 4 5 6; do
74.6573 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
74.6574 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
74.6575 + # Solaris 8's {/usr,}/bin/sh.
74.6576 + touch sub/conftst$i.h
74.6577 + done
74.6578 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
74.6579 +
74.6580 + case $depmode in
74.6581 + nosideeffect)
74.6582 + # after this tag, mechanisms are not by side-effect, so they'll
74.6583 + # only be used when explicitly requested
74.6584 + if test "x$enable_dependency_tracking" = xyes; then
74.6585 + continue
74.6586 + else
74.6587 + break
74.6588 + fi
74.6589 + ;;
74.6590 + none) break ;;
74.6591 + esac
74.6592 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
74.6593 + # mode. It turns out that the SunPro C++ compiler does not properly
74.6594 + # handle `-M -o', and we need to detect this.
74.6595 + if depmode=$depmode \
74.6596 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
74.6597 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
74.6598 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
74.6599 + >/dev/null 2>conftest.err &&
74.6600 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
74.6601 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
74.6602 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
74.6603 + # icc doesn't choke on unknown options, it will just issue warnings
74.6604 + # or remarks (even with -Werror). So we grep stderr for any message
74.6605 + # that says an option was ignored or not supported.
74.6606 + # When given -MP, icc 7.0 and 7.1 complain thusly:
74.6607 + # icc: Command line warning: ignoring option '-M'; no argument required
74.6608 + # The diagnosis changed in icc 8.0:
74.6609 + # icc: Command line remark: option '-MP' not supported
74.6610 + if (grep 'ignoring option' conftest.err ||
74.6611 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
74.6612 + am_cv_$1_dependencies_compiler_type=$depmode
74.6613 + break
74.6614 + fi
74.6615 + fi
74.6616 + done
74.6617 +
74.6618 + cd ..
74.6619 + rm -rf conftest.dir
74.6620 +else
74.6621 + am_cv_$1_dependencies_compiler_type=none
74.6622 +fi
74.6623 +])
74.6624 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
74.6625 +AM_CONDITIONAL([am__fastdep$1], [
74.6626 + test "x$enable_dependency_tracking" != xno \
74.6627 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
74.6628 +])
74.6629 +
74.6630 +
74.6631 +# AM_SET_DEPDIR
74.6632 +# -------------
74.6633 +# Choose a directory name for dependency files.
74.6634 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
74.6635 +AC_DEFUN([AM_SET_DEPDIR],
74.6636 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
74.6637 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
74.6638 +])
74.6639 +
74.6640 +
74.6641 +# AM_DEP_TRACK
74.6642 +# ------------
74.6643 +AC_DEFUN([AM_DEP_TRACK],
74.6644 +[AC_ARG_ENABLE(dependency-tracking,
74.6645 +[ --disable-dependency-tracking speeds up one-time build
74.6646 + --enable-dependency-tracking do not reject slow dependency extractors])
74.6647 +if test "x$enable_dependency_tracking" != xno; then
74.6648 + am_depcomp="$ac_aux_dir/depcomp"
74.6649 + AMDEPBACKSLASH='\'
74.6650 +fi
74.6651 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
74.6652 +AC_SUBST([AMDEPBACKSLASH])
74.6653 +])
74.6654 +
74.6655 +# Generate code to set up dependency tracking. -*- Autoconf -*-
74.6656 +
74.6657 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
74.6658 +# Free Software Foundation, Inc.
74.6659 +#
74.6660 +# This file is free software; the Free Software Foundation
74.6661 +# gives unlimited permission to copy and/or distribute it,
74.6662 +# with or without modifications, as long as this notice is preserved.
74.6663 +
74.6664 +#serial 3
74.6665 +
74.6666 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
74.6667 +# ------------------------------
74.6668 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
74.6669 +[for mf in $CONFIG_FILES; do
74.6670 + # Strip MF so we end up with the name of the file.
74.6671 + mf=`echo "$mf" | sed -e 's/:.*$//'`
74.6672 + # Check whether this is an Automake generated Makefile or not.
74.6673 + # We used to match only the files named `Makefile.in', but
74.6674 + # some people rename them; so instead we look at the file content.
74.6675 + # Grep'ing the first line is not enough: some people post-process
74.6676 + # each Makefile.in and add a new line on top of each file to say so.
74.6677 + # So let's grep whole file.
74.6678 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
74.6679 + dirpart=`AS_DIRNAME("$mf")`
74.6680 + else
74.6681 + continue
74.6682 + fi
74.6683 + # Extract the definition of DEPDIR, am__include, and am__quote
74.6684 + # from the Makefile without running `make'.
74.6685 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
74.6686 + test -z "$DEPDIR" && continue
74.6687 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
74.6688 + test -z "am__include" && continue
74.6689 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
74.6690 + # When using ansi2knr, U may be empty or an underscore; expand it
74.6691 + U=`sed -n 's/^U = //p' < "$mf"`
74.6692 + # Find all dependency output files, they are included files with
74.6693 + # $(DEPDIR) in their names. We invoke sed twice because it is the
74.6694 + # simplest approach to changing $(DEPDIR) to its actual value in the
74.6695 + # expansion.
74.6696 + for file in `sed -n "
74.6697 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
74.6698 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
74.6699 + # Make sure the directory exists.
74.6700 + test -f "$dirpart/$file" && continue
74.6701 + fdir=`AS_DIRNAME(["$file"])`
74.6702 + AS_MKDIR_P([$dirpart/$fdir])
74.6703 + # echo "creating $dirpart/$file"
74.6704 + echo '# dummy' > "$dirpart/$file"
74.6705 + done
74.6706 +done
74.6707 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
74.6708 +
74.6709 +
74.6710 +# AM_OUTPUT_DEPENDENCY_COMMANDS
74.6711 +# -----------------------------
74.6712 +# This macro should only be invoked once -- use via AC_REQUIRE.
74.6713 +#
74.6714 +# This code is only required when automatic dependency tracking
74.6715 +# is enabled. FIXME. This creates each `.P' file that we will
74.6716 +# need in order to bootstrap the dependency handling code.
74.6717 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
74.6718 +[AC_CONFIG_COMMANDS([depfiles],
74.6719 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
74.6720 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
74.6721 +])
74.6722 +
74.6723 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
74.6724 +# Free Software Foundation, Inc.
74.6725 +#
74.6726 +# This file is free software; the Free Software Foundation
74.6727 +# gives unlimited permission to copy and/or distribute it,
74.6728 +# with or without modifications, as long as this notice is preserved.
74.6729 +
74.6730 +# serial 8
74.6731 +
74.6732 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
74.6733 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
74.6734 +
74.6735 +# Do all the work for Automake. -*- Autoconf -*-
74.6736 +
74.6737 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74.6738 +# Free Software Foundation, Inc.
74.6739 +#
74.6740 +# This file is free software; the Free Software Foundation
74.6741 +# gives unlimited permission to copy and/or distribute it,
74.6742 +# with or without modifications, as long as this notice is preserved.
74.6743 +
74.6744 +# serial 12
74.6745 +
74.6746 +# This macro actually does too much. Some checks are only needed if
74.6747 +# your package does certain things. But this isn't really a big deal.
74.6748 +
74.6749 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
74.6750 +# AM_INIT_AUTOMAKE([OPTIONS])
74.6751 +# -----------------------------------------------
74.6752 +# The call with PACKAGE and VERSION arguments is the old style
74.6753 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
74.6754 +# and VERSION should now be passed to AC_INIT and removed from
74.6755 +# the call to AM_INIT_AUTOMAKE.
74.6756 +# We support both call styles for the transition. After
74.6757 +# the next Automake release, Autoconf can make the AC_INIT
74.6758 +# arguments mandatory, and then we can depend on a new Autoconf
74.6759 +# release and drop the old call support.
74.6760 +AC_DEFUN([AM_INIT_AUTOMAKE],
74.6761 +[AC_PREREQ([2.58])dnl
74.6762 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
74.6763 +dnl the ones we care about.
74.6764 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
74.6765 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
74.6766 +AC_REQUIRE([AC_PROG_INSTALL])dnl
74.6767 +# test to see if srcdir already configured
74.6768 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
74.6769 + test -f $srcdir/config.status; then
74.6770 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
74.6771 +fi
74.6772 +
74.6773 +# test whether we have cygpath
74.6774 +if test -z "$CYGPATH_W"; then
74.6775 + if (cygpath --version) >/dev/null 2>/dev/null; then
74.6776 + CYGPATH_W='cygpath -w'
74.6777 + else
74.6778 + CYGPATH_W=echo
74.6779 + fi
74.6780 +fi
74.6781 +AC_SUBST([CYGPATH_W])
74.6782 +
74.6783 +# Define the identity of the package.
74.6784 +dnl Distinguish between old-style and new-style calls.
74.6785 +m4_ifval([$2],
74.6786 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
74.6787 + AC_SUBST([PACKAGE], [$1])dnl
74.6788 + AC_SUBST([VERSION], [$2])],
74.6789 +[_AM_SET_OPTIONS([$1])dnl
74.6790 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
74.6791 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
74.6792 +
74.6793 +_AM_IF_OPTION([no-define],,
74.6794 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
74.6795 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
74.6796 +
74.6797 +# Some tools Automake needs.
74.6798 +AC_REQUIRE([AM_SANITY_CHECK])dnl
74.6799 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
74.6800 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
74.6801 +AM_MISSING_PROG(AUTOCONF, autoconf)
74.6802 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
74.6803 +AM_MISSING_PROG(AUTOHEADER, autoheader)
74.6804 +AM_MISSING_PROG(MAKEINFO, makeinfo)
74.6805 +AM_PROG_INSTALL_SH
74.6806 +AM_PROG_INSTALL_STRIP
74.6807 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
74.6808 +# We need awk for the "check" target. The system "awk" is bad on
74.6809 +# some platforms.
74.6810 +AC_REQUIRE([AC_PROG_AWK])dnl
74.6811 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
74.6812 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
74.6813 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
74.6814 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
74.6815 + [_AM_PROG_TAR([v7])])])
74.6816 +_AM_IF_OPTION([no-dependencies],,
74.6817 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
74.6818 + [_AM_DEPENDENCIES(CC)],
74.6819 + [define([AC_PROG_CC],
74.6820 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
74.6821 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
74.6822 + [_AM_DEPENDENCIES(CXX)],
74.6823 + [define([AC_PROG_CXX],
74.6824 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
74.6825 +])
74.6826 +])
74.6827 +
74.6828 +
74.6829 +# When config.status generates a header, we must update the stamp-h file.
74.6830 +# This file resides in the same directory as the config header
74.6831 +# that is generated. The stamp files are numbered to have different names.
74.6832 +
74.6833 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
74.6834 +# loop where config.status creates the headers, so we can generate
74.6835 +# our stamp files there.
74.6836 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
74.6837 +[# Compute $1's index in $config_headers.
74.6838 +_am_stamp_count=1
74.6839 +for _am_header in $config_headers :; do
74.6840 + case $_am_header in
74.6841 + $1 | $1:* )
74.6842 + break ;;
74.6843 + * )
74.6844 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74.6845 + esac
74.6846 +done
74.6847 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
74.6848 +
74.6849 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
74.6850 +#
74.6851 +# This file is free software; the Free Software Foundation
74.6852 +# gives unlimited permission to copy and/or distribute it,
74.6853 +# with or without modifications, as long as this notice is preserved.
74.6854 +
74.6855 +# AM_PROG_INSTALL_SH
74.6856 +# ------------------
74.6857 +# Define $install_sh.
74.6858 +AC_DEFUN([AM_PROG_INSTALL_SH],
74.6859 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
74.6860 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
74.6861 +AC_SUBST(install_sh)])
74.6862 +
74.6863 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
74.6864 +#
74.6865 +# This file is free software; the Free Software Foundation
74.6866 +# gives unlimited permission to copy and/or distribute it,
74.6867 +# with or without modifications, as long as this notice is preserved.
74.6868 +
74.6869 +# serial 2
74.6870 +
74.6871 +# Check whether the underlying file-system supports filenames
74.6872 +# with a leading dot. For instance MS-DOS doesn't.
74.6873 +AC_DEFUN([AM_SET_LEADING_DOT],
74.6874 +[rm -rf .tst 2>/dev/null
74.6875 +mkdir .tst 2>/dev/null
74.6876 +if test -d .tst; then
74.6877 + am__leading_dot=.
74.6878 +else
74.6879 + am__leading_dot=_
74.6880 +fi
74.6881 +rmdir .tst 2>/dev/null
74.6882 +AC_SUBST([am__leading_dot])])
74.6883 +
74.6884 +# Check to see how 'make' treats includes. -*- Autoconf -*-
74.6885 +
74.6886 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
74.6887 +#
74.6888 +# This file is free software; the Free Software Foundation
74.6889 +# gives unlimited permission to copy and/or distribute it,
74.6890 +# with or without modifications, as long as this notice is preserved.
74.6891 +
74.6892 +# serial 3
74.6893 +
74.6894 +# AM_MAKE_INCLUDE()
74.6895 +# -----------------
74.6896 +# Check to see how make treats includes.
74.6897 +AC_DEFUN([AM_MAKE_INCLUDE],
74.6898 +[am_make=${MAKE-make}
74.6899 +cat > confinc << 'END'
74.6900 +am__doit:
74.6901 + @echo done
74.6902 +.PHONY: am__doit
74.6903 +END
74.6904 +# If we don't find an include directive, just comment out the code.
74.6905 +AC_MSG_CHECKING([for style of include used by $am_make])
74.6906 +am__include="#"
74.6907 +am__quote=
74.6908 +_am_result=none
74.6909 +# First try GNU make style include.
74.6910 +echo "include confinc" > confmf
74.6911 +# We grep out `Entering directory' and `Leaving directory'
74.6912 +# messages which can occur if `w' ends up in MAKEFLAGS.
74.6913 +# In particular we don't look at `^make:' because GNU make might
74.6914 +# be invoked under some other name (usually "gmake"), in which
74.6915 +# case it prints its new name instead of `make'.
74.6916 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
74.6917 + am__include=include
74.6918 + am__quote=
74.6919 + _am_result=GNU
74.6920 +fi
74.6921 +# Now try BSD make style include.
74.6922 +if test "$am__include" = "#"; then
74.6923 + echo '.include "confinc"' > confmf
74.6924 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
74.6925 + am__include=.include
74.6926 + am__quote="\""
74.6927 + _am_result=BSD
74.6928 + fi
74.6929 +fi
74.6930 +AC_SUBST([am__include])
74.6931 +AC_SUBST([am__quote])
74.6932 +AC_MSG_RESULT([$_am_result])
74.6933 +rm -f confinc confmf
74.6934 +])
74.6935 +
74.6936 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
74.6937 +
74.6938 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
74.6939 +# Free Software Foundation, Inc.
74.6940 +#
74.6941 +# This file is free software; the Free Software Foundation
74.6942 +# gives unlimited permission to copy and/or distribute it,
74.6943 +# with or without modifications, as long as this notice is preserved.
74.6944 +
74.6945 +# serial 4
74.6946 +
74.6947 +# AM_MISSING_PROG(NAME, PROGRAM)
74.6948 +# ------------------------------
74.6949 +AC_DEFUN([AM_MISSING_PROG],
74.6950 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
74.6951 +$1=${$1-"${am_missing_run}$2"}
74.6952 +AC_SUBST($1)])
74.6953 +
74.6954 +
74.6955 +# AM_MISSING_HAS_RUN
74.6956 +# ------------------
74.6957 +# Define MISSING if not defined so far and test if it supports --run.
74.6958 +# If it does, set am_missing_run to use it, otherwise, to nothing.
74.6959 +AC_DEFUN([AM_MISSING_HAS_RUN],
74.6960 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
74.6961 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
74.6962 +# Use eval to expand $SHELL
74.6963 +if eval "$MISSING --run true"; then
74.6964 + am_missing_run="$MISSING --run "
74.6965 +else
74.6966 + am_missing_run=
74.6967 + AC_MSG_WARN([`missing' script is too old or missing])
74.6968 +fi
74.6969 +])
74.6970 +
74.6971 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
74.6972 +#
74.6973 +# This file is free software; the Free Software Foundation
74.6974 +# gives unlimited permission to copy and/or distribute it,
74.6975 +# with or without modifications, as long as this notice is preserved.
74.6976 +
74.6977 +# AM_PROG_MKDIR_P
74.6978 +# ---------------
74.6979 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
74.6980 +#
74.6981 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
74.6982 +# created by `make install' are always world readable, even if the
74.6983 +# installer happens to have an overly restrictive umask (e.g. 077).
74.6984 +# This was a mistake. There are at least two reasons why we must not
74.6985 +# use `-m 0755':
74.6986 +# - it causes special bits like SGID to be ignored,
74.6987 +# - it may be too restrictive (some setups expect 775 directories).
74.6988 +#
74.6989 +# Do not use -m 0755 and let people choose whatever they expect by
74.6990 +# setting umask.
74.6991 +#
74.6992 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
74.6993 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
74.6994 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
74.6995 +# concurrently, both version can detect that a/ is missing, but only
74.6996 +# one can create it and the other will error out. Consequently we
74.6997 +# restrict ourselves to GNU make (using the --version option ensures
74.6998 +# this.)
74.6999 +AC_DEFUN([AM_PROG_MKDIR_P],
74.7000 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
74.7001 + # We used to keeping the `.' as first argument, in order to
74.7002 + # allow $(mkdir_p) to be used without argument. As in
74.7003 + # $(mkdir_p) $(somedir)
74.7004 + # where $(somedir) is conditionally defined. However this is wrong
74.7005 + # for two reasons:
74.7006 + # 1. if the package is installed by a user who cannot write `.'
74.7007 + # make install will fail,
74.7008 + # 2. the above comment should most certainly read
74.7009 + # $(mkdir_p) $(DESTDIR)$(somedir)
74.7010 + # so it does not work when $(somedir) is undefined and
74.7011 + # $(DESTDIR) is not.
74.7012 + # To support the latter case, we have to write
74.7013 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
74.7014 + # so the `.' trick is pointless.
74.7015 + mkdir_p='mkdir -p --'
74.7016 +else
74.7017 + # On NextStep and OpenStep, the `mkdir' command does not
74.7018 + # recognize any option. It will interpret all options as
74.7019 + # directories to create, and then abort because `.' already
74.7020 + # exists.
74.7021 + for d in ./-p ./--version;
74.7022 + do
74.7023 + test -d $d && rmdir $d
74.7024 + done
74.7025 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
74.7026 + if test -f "$ac_aux_dir/mkinstalldirs"; then
74.7027 + mkdir_p='$(mkinstalldirs)'
74.7028 + else
74.7029 + mkdir_p='$(install_sh) -d'
74.7030 + fi
74.7031 +fi
74.7032 +AC_SUBST([mkdir_p])])
74.7033 +
74.7034 +# Helper functions for option handling. -*- Autoconf -*-
74.7035 +
74.7036 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
74.7037 +#
74.7038 +# This file is free software; the Free Software Foundation
74.7039 +# gives unlimited permission to copy and/or distribute it,
74.7040 +# with or without modifications, as long as this notice is preserved.
74.7041 +
74.7042 +# serial 3
74.7043 +
74.7044 +# _AM_MANGLE_OPTION(NAME)
74.7045 +# -----------------------
74.7046 +AC_DEFUN([_AM_MANGLE_OPTION],
74.7047 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
74.7048 +
74.7049 +# _AM_SET_OPTION(NAME)
74.7050 +# ------------------------------
74.7051 +# Set option NAME. Presently that only means defining a flag for this option.
74.7052 +AC_DEFUN([_AM_SET_OPTION],
74.7053 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
74.7054 +
74.7055 +# _AM_SET_OPTIONS(OPTIONS)
74.7056 +# ----------------------------------
74.7057 +# OPTIONS is a space-separated list of Automake options.
74.7058 +AC_DEFUN([_AM_SET_OPTIONS],
74.7059 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
74.7060 +
74.7061 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
74.7062 +# -------------------------------------------
74.7063 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
74.7064 +AC_DEFUN([_AM_IF_OPTION],
74.7065 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
74.7066 +
74.7067 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
74.7068 +
74.7069 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
74.7070 +# Free Software Foundation, Inc.
74.7071 +#
74.7072 +# This file is free software; the Free Software Foundation
74.7073 +# gives unlimited permission to copy and/or distribute it,
74.7074 +# with or without modifications, as long as this notice is preserved.
74.7075 +
74.7076 +# serial 4
74.7077 +
74.7078 +# AM_SANITY_CHECK
74.7079 +# ---------------
74.7080 +AC_DEFUN([AM_SANITY_CHECK],
74.7081 +[AC_MSG_CHECKING([whether build environment is sane])
74.7082 +# Just in case
74.7083 +sleep 1
74.7084 +echo timestamp > conftest.file
74.7085 +# Do `set' in a subshell so we don't clobber the current shell's
74.7086 +# arguments. Must try -L first in case configure is actually a
74.7087 +# symlink; some systems play weird games with the mod time of symlinks
74.7088 +# (eg FreeBSD returns the mod time of the symlink's containing
74.7089 +# directory).
74.7090 +if (
74.7091 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
74.7092 + if test "$[*]" = "X"; then
74.7093 + # -L didn't work.
74.7094 + set X `ls -t $srcdir/configure conftest.file`
74.7095 + fi
74.7096 + rm -f conftest.file
74.7097 + if test "$[*]" != "X $srcdir/configure conftest.file" \
74.7098 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
74.7099 +
74.7100 + # If neither matched, then we have a broken ls. This can happen
74.7101 + # if, for instance, CONFIG_SHELL is bash and it inherits a
74.7102 + # broken ls alias from the environment. This has actually
74.7103 + # happened. Such a system could not be considered "sane".
74.7104 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
74.7105 +alias in your environment])
74.7106 + fi
74.7107 +
74.7108 + test "$[2]" = conftest.file
74.7109 + )
74.7110 +then
74.7111 + # Ok.
74.7112 + :
74.7113 +else
74.7114 + AC_MSG_ERROR([newly created file is older than distributed files!
74.7115 +Check your system clock])
74.7116 +fi
74.7117 +AC_MSG_RESULT(yes)])
74.7118 +
74.7119 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
74.7120 +#
74.7121 +# This file is free software; the Free Software Foundation
74.7122 +# gives unlimited permission to copy and/or distribute it,
74.7123 +# with or without modifications, as long as this notice is preserved.
74.7124 +
74.7125 +# AM_PROG_INSTALL_STRIP
74.7126 +# ---------------------
74.7127 +# One issue with vendor `install' (even GNU) is that you can't
74.7128 +# specify the program used to strip binaries. This is especially
74.7129 +# annoying in cross-compiling environments, where the build's strip
74.7130 +# is unlikely to handle the host's binaries.
74.7131 +# Fortunately install-sh will honor a STRIPPROG variable, so we
74.7132 +# always use install-sh in `make install-strip', and initialize
74.7133 +# STRIPPROG with the value of the STRIP variable (set by the user).
74.7134 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
74.7135 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
74.7136 +# Installed binaries are usually stripped using `strip' when the user
74.7137 +# run `make install-strip'. However `strip' might not be the right
74.7138 +# tool to use in cross-compilation environments, therefore Automake
74.7139 +# will honor the `STRIP' environment variable to overrule this program.
74.7140 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
74.7141 +if test "$cross_compiling" != no; then
74.7142 + AC_CHECK_TOOL([STRIP], [strip], :)
74.7143 +fi
74.7144 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
74.7145 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
74.7146 +
74.7147 +# Check how to create a tarball. -*- Autoconf -*-
74.7148 +
74.7149 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
74.7150 +#
74.7151 +# This file is free software; the Free Software Foundation
74.7152 +# gives unlimited permission to copy and/or distribute it,
74.7153 +# with or without modifications, as long as this notice is preserved.
74.7154 +
74.7155 +# serial 2
74.7156 +
74.7157 +# _AM_PROG_TAR(FORMAT)
74.7158 +# --------------------
74.7159 +# Check how to create a tarball in format FORMAT.
74.7160 +# FORMAT should be one of `v7', `ustar', or `pax'.
74.7161 +#
74.7162 +# Substitute a variable $(am__tar) that is a command
74.7163 +# writing to stdout a FORMAT-tarball containing the directory
74.7164 +# $tardir.
74.7165 +# tardir=directory && $(am__tar) > result.tar
74.7166 +#
74.7167 +# Substitute a variable $(am__untar) that extract such
74.7168 +# a tarball read from stdin.
74.7169 +# $(am__untar) < result.tar
74.7170 +AC_DEFUN([_AM_PROG_TAR],
74.7171 +[# Always define AMTAR for backward compatibility.
74.7172 +AM_MISSING_PROG([AMTAR], [tar])
74.7173 +m4_if([$1], [v7],
74.7174 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
74.7175 + [m4_case([$1], [ustar],, [pax],,
74.7176 + [m4_fatal([Unknown tar format])])
74.7177 +AC_MSG_CHECKING([how to create a $1 tar archive])
74.7178 +# Loop over all known methods to create a tar archive until one works.
74.7179 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
74.7180 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
74.7181 +# Do not fold the above two line into one, because Tru64 sh and
74.7182 +# Solaris sh will not grok spaces in the rhs of `-'.
74.7183 +for _am_tool in $_am_tools
74.7184 +do
74.7185 + case $_am_tool in
74.7186 + gnutar)
74.7187 + for _am_tar in tar gnutar gtar;
74.7188 + do
74.7189 + AM_RUN_LOG([$_am_tar --version]) && break
74.7190 + done
74.7191 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
74.7192 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
74.7193 + am__untar="$_am_tar -xf -"
74.7194 + ;;
74.7195 + plaintar)
74.7196 + # Must skip GNU tar: if it does not support --format= it doesn't create
74.7197 + # ustar tarball either.
74.7198 + (tar --version) >/dev/null 2>&1 && continue
74.7199 + am__tar='tar chf - "$$tardir"'
74.7200 + am__tar_='tar chf - "$tardir"'
74.7201 + am__untar='tar xf -'
74.7202 + ;;
74.7203 + pax)
74.7204 + am__tar='pax -L -x $1 -w "$$tardir"'
74.7205 + am__tar_='pax -L -x $1 -w "$tardir"'
74.7206 + am__untar='pax -r'
74.7207 + ;;
74.7208 + cpio)
74.7209 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
74.7210 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
74.7211 + am__untar='cpio -i -H $1 -d'
74.7212 + ;;
74.7213 + none)
74.7214 + am__tar=false
74.7215 + am__tar_=false
74.7216 + am__untar=false
74.7217 + ;;
74.7218 + esac
74.7219 +
74.7220 + # If the value was cached, stop now. We just wanted to have am__tar
74.7221 + # and am__untar set.
74.7222 + test -n "${am_cv_prog_tar_$1}" && break
74.7223 +
74.7224 + # tar/untar a dummy directory, and stop if the command works
74.7225 + rm -rf conftest.dir
74.7226 + mkdir conftest.dir
74.7227 + echo GrepMe > conftest.dir/file
74.7228 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
74.7229 + rm -rf conftest.dir
74.7230 + if test -s conftest.tar; then
74.7231 + AM_RUN_LOG([$am__untar <conftest.tar])
74.7232 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
74.7233 + fi
74.7234 +done
74.7235 +rm -rf conftest.dir
74.7236 +
74.7237 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
74.7238 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
74.7239 +AC_SUBST([am__tar])
74.7240 +AC_SUBST([am__untar])
74.7241 +]) # _AM_PROG_TAR
74.7242 +
75.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
75.2 +++ b/tools/picctldisplaytest/config.guess Tue Jan 29 22:31:52 2008 +0100
75.3 @@ -0,0 +1,1363 @@
75.4 +#! /bin/sh
75.5 +# Attempt to guess a canonical system name.
75.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
75.7 +# 2000, 2001, 2002 Free Software Foundation, Inc.
75.8 +
75.9 +timestamp='2002-10-21'
75.10 +
75.11 +# This file is free software; you can redistribute it and/or modify it
75.12 +# under the terms of the GNU General Public License as published by
75.13 +# the Free Software Foundation; either version 2 of the License, or
75.14 +# (at your option) any later version.
75.15 +#
75.16 +# This program is distributed in the hope that it will be useful, but
75.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
75.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
75.19 +# General Public License for more details.
75.20 +#
75.21 +# You should have received a copy of the GNU General Public License
75.22 +# along with this program; if not, write to the Free Software
75.23 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
75.24 +#
75.25 +# As a special exception to the GNU General Public License, if you
75.26 +# distribute this file as part of a program that contains a
75.27 +# configuration script generated by Autoconf, you may include it under
75.28 +# the same distribution terms that you use for the rest of that program.
75.29 +
75.30 +# Originally written by Per Bothner <per@bothner.com>.
75.31 +# Please send patches to <config-patches@gnu.org>. Submit a context
75.32 +# diff and a properly formatted ChangeLog entry.
75.33 +#
75.34 +# This script attempts to guess a canonical system name similar to
75.35 +# config.sub. If it succeeds, it prints the system name on stdout, and
75.36 +# exits with 0. Otherwise, it exits with 1.
75.37 +#
75.38 +# The plan is that this can be called by configure scripts if you
75.39 +# don't specify an explicit build system type.
75.40 +
75.41 +me=`echo "$0" | sed -e 's,.*/,,'`
75.42 +
75.43 +usage="\
75.44 +Usage: $0 [OPTION]
75.45 +
75.46 +Output the configuration name of the system \`$me' is run on.
75.47 +
75.48 +Operation modes:
75.49 + -h, --help print this help, then exit
75.50 + -t, --time-stamp print date of last modification, then exit
75.51 + -v, --version print version number, then exit
75.52 +
75.53 +Report bugs and patches to <config-patches@gnu.org>."
75.54 +
75.55 +version="\
75.56 +GNU config.guess ($timestamp)
75.57 +
75.58 +Originally written by Per Bothner.
75.59 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
75.60 +Free Software Foundation, Inc.
75.61 +
75.62 +This is free software; see the source for copying conditions. There is NO
75.63 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
75.64 +
75.65 +help="
75.66 +Try \`$me --help' for more information."
75.67 +
75.68 +# Parse command line
75.69 +while test $# -gt 0 ; do
75.70 + case $1 in
75.71 + --time-stamp | --time* | -t )
75.72 + echo "$timestamp" ; exit 0 ;;
75.73 + --version | -v )
75.74 + echo "$version" ; exit 0 ;;
75.75 + --help | --h* | -h )
75.76 + echo "$usage"; exit 0 ;;
75.77 + -- ) # Stop option processing
75.78 + shift; break ;;
75.79 + - ) # Use stdin as input.
75.80 + break ;;
75.81 + -* )
75.82 + echo "$me: invalid option $1$help" >&2
75.83 + exit 1 ;;
75.84 + * )
75.85 + break ;;
75.86 + esac
75.87 +done
75.88 +
75.89 +if test $# != 0; then
75.90 + echo "$me: too many arguments$help" >&2
75.91 + exit 1
75.92 +fi
75.93 +
75.94 +trap 'exit 1' 1 2 15
75.95 +
75.96 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
75.97 +# compiler to aid in system detection is discouraged as it requires
75.98 +# temporary files to be created and, as you can see below, it is a
75.99 +# headache to deal with in a portable fashion.
75.100 +
75.101 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
75.102 +# use `HOST_CC' if defined, but it is deprecated.
75.103 +
75.104 +# This shell variable is my proudest work .. or something. --bje
75.105 +
75.106 +set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
75.107 +(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
75.108 + || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
75.109 +dummy=$tmpdir/dummy ;
75.110 +files="$dummy.c $dummy.o $dummy.rel $dummy" ;
75.111 +trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
75.112 +case $CC_FOR_BUILD,$HOST_CC,$CC in
75.113 + ,,) echo "int x;" > $dummy.c ;
75.114 + for c in cc gcc c89 c99 ; do
75.115 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
75.116 + CC_FOR_BUILD="$c"; break ;
75.117 + fi ;
75.118 + done ;
75.119 + rm -f $files ;
75.120 + if test x"$CC_FOR_BUILD" = x ; then
75.121 + CC_FOR_BUILD=no_compiler_found ;
75.122 + fi
75.123 + ;;
75.124 + ,,*) CC_FOR_BUILD=$CC ;;
75.125 + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
75.126 +esac ;
75.127 +unset files'
75.128 +
75.129 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
75.130 +# (ghazi@noc.rutgers.edu 1994-08-24)
75.131 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
75.132 + PATH=$PATH:/.attbin ; export PATH
75.133 +fi
75.134 +
75.135 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
75.136 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
75.137 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
75.138 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
75.139 +
75.140 +# Note: order is significant - the case branches are not exclusive.
75.141 +
75.142 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
75.143 + *:NetBSD:*:*)
75.144 + # NetBSD (nbsd) targets should (where applicable) match one or
75.145 + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
75.146 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
75.147 + # switched to ELF, *-*-netbsd* would select the old
75.148 + # object file format. This provides both forward
75.149 + # compatibility and a consistent mechanism for selecting the
75.150 + # object file format.
75.151 + #
75.152 + # Note: NetBSD doesn't particularly care about the vendor
75.153 + # portion of the name. We always set it to "unknown".
75.154 + sysctl="sysctl -n hw.machine_arch"
75.155 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
75.156 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
75.157 + case "${UNAME_MACHINE_ARCH}" in
75.158 + armeb) machine=armeb-unknown ;;
75.159 + arm*) machine=arm-unknown ;;
75.160 + sh3el) machine=shl-unknown ;;
75.161 + sh3eb) machine=sh-unknown ;;
75.162 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
75.163 + esac
75.164 + # The Operating System including object format, if it has switched
75.165 + # to ELF recently, or will in the future.
75.166 + case "${UNAME_MACHINE_ARCH}" in
75.167 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
75.168 + eval $set_cc_for_build
75.169 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
75.170 + | grep __ELF__ >/dev/null
75.171 + then
75.172 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
75.173 + # Return netbsd for either. FIX?
75.174 + os=netbsd
75.175 + else
75.176 + os=netbsdelf
75.177 + fi
75.178 + ;;
75.179 + *)
75.180 + os=netbsd
75.181 + ;;
75.182 + esac
75.183 + # The OS release
75.184 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
75.185 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
75.186 + # contains redundant information, the shorter form:
75.187 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
75.188 + echo "${machine}-${os}${release}"
75.189 + exit 0 ;;
75.190 + amiga:OpenBSD:*:*)
75.191 + echo m68k-unknown-openbsd${UNAME_RELEASE}
75.192 + exit 0 ;;
75.193 + arc:OpenBSD:*:*)
75.194 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
75.195 + exit 0 ;;
75.196 + hp300:OpenBSD:*:*)
75.197 + echo m68k-unknown-openbsd${UNAME_RELEASE}
75.198 + exit 0 ;;
75.199 + mac68k:OpenBSD:*:*)
75.200 + echo m68k-unknown-openbsd${UNAME_RELEASE}
75.201 + exit 0 ;;
75.202 + macppc:OpenBSD:*:*)
75.203 + echo powerpc-unknown-openbsd${UNAME_RELEASE}
75.204 + exit 0 ;;
75.205 + mvme68k:OpenBSD:*:*)
75.206 + echo m68k-unknown-openbsd${UNAME_RELEASE}
75.207 + exit 0 ;;
75.208 + mvme88k:OpenBSD:*:*)
75.209 + echo m88k-unknown-openbsd${UNAME_RELEASE}
75.210 + exit 0 ;;
75.211 + mvmeppc:OpenBSD:*:*)
75.212 + echo powerpc-unknown-openbsd${UNAME_RELEASE}
75.213 + exit 0 ;;
75.214 + pmax:OpenBSD:*:*)
75.215 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
75.216 + exit 0 ;;
75.217 + sgi:OpenBSD:*:*)
75.218 + echo mipseb-unknown-openbsd${UNAME_RELEASE}
75.219 + exit 0 ;;
75.220 + sun3:OpenBSD:*:*)
75.221 + echo m68k-unknown-openbsd${UNAME_RELEASE}
75.222 + exit 0 ;;
75.223 + wgrisc:OpenBSD:*:*)
75.224 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
75.225 + exit 0 ;;
75.226 + *:OpenBSD:*:*)
75.227 + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
75.228 + exit 0 ;;
75.229 + alpha:OSF1:*:*)
75.230 + if test $UNAME_RELEASE = "V4.0"; then
75.231 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
75.232 + fi
75.233 + # A Vn.n version is a released version.
75.234 + # A Tn.n version is a released field test version.
75.235 + # A Xn.n version is an unreleased experimental baselevel.
75.236 + # 1.2 uses "1.2" for uname -r.
75.237 + eval $set_cc_for_build
75.238 + cat <<EOF >$dummy.s
75.239 + .data
75.240 +\$Lformat:
75.241 + .byte 37,100,45,37,120,10,0 # "%d-%x\n"
75.242 +
75.243 + .text
75.244 + .globl main
75.245 + .align 4
75.246 + .ent main
75.247 +main:
75.248 + .frame \$30,16,\$26,0
75.249 + ldgp \$29,0(\$27)
75.250 + .prologue 1
75.251 + .long 0x47e03d80 # implver \$0
75.252 + lda \$2,-1
75.253 + .long 0x47e20c21 # amask \$2,\$1
75.254 + lda \$16,\$Lformat
75.255 + mov \$0,\$17
75.256 + not \$1,\$18
75.257 + jsr \$26,printf
75.258 + ldgp \$29,0(\$26)
75.259 + mov 0,\$16
75.260 + jsr \$26,exit
75.261 + .end main
75.262 +EOF
75.263 + $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
75.264 + if test "$?" = 0 ; then
75.265 + case `$dummy` in
75.266 + 0-0)
75.267 + UNAME_MACHINE="alpha"
75.268 + ;;
75.269 + 1-0)
75.270 + UNAME_MACHINE="alphaev5"
75.271 + ;;
75.272 + 1-1)
75.273 + UNAME_MACHINE="alphaev56"
75.274 + ;;
75.275 + 1-101)
75.276 + UNAME_MACHINE="alphapca56"
75.277 + ;;
75.278 + 2-303)
75.279 + UNAME_MACHINE="alphaev6"
75.280 + ;;
75.281 + 2-307)
75.282 + UNAME_MACHINE="alphaev67"
75.283 + ;;
75.284 + 2-1307)
75.285 + UNAME_MACHINE="alphaev68"
75.286 + ;;
75.287 + 3-1307)
75.288 + UNAME_MACHINE="alphaev7"
75.289 + ;;
75.290 + esac
75.291 + fi
75.292 + rm -f $dummy.s $dummy && rmdir $tmpdir
75.293 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
75.294 + exit 0 ;;
75.295 + Alpha\ *:Windows_NT*:*)
75.296 + # How do we know it's Interix rather than the generic POSIX subsystem?
75.297 + # Should we change UNAME_MACHINE based on the output of uname instead
75.298 + # of the specific Alpha model?
75.299 + echo alpha-pc-interix
75.300 + exit 0 ;;
75.301 + 21064:Windows_NT:50:3)
75.302 + echo alpha-dec-winnt3.5
75.303 + exit 0 ;;
75.304 + Amiga*:UNIX_System_V:4.0:*)
75.305 + echo m68k-unknown-sysv4
75.306 + exit 0;;
75.307 + *:[Aa]miga[Oo][Ss]:*:*)
75.308 + echo ${UNAME_MACHINE}-unknown-amigaos
75.309 + exit 0 ;;
75.310 + *:[Mm]orph[Oo][Ss]:*:*)
75.311 + echo ${UNAME_MACHINE}-unknown-morphos
75.312 + exit 0 ;;
75.313 + *:OS/390:*:*)
75.314 + echo i370-ibm-openedition
75.315 + exit 0 ;;
75.316 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
75.317 + echo arm-acorn-riscix${UNAME_RELEASE}
75.318 + exit 0;;
75.319 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
75.320 + echo hppa1.1-hitachi-hiuxmpp
75.321 + exit 0;;
75.322 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
75.323 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
75.324 + if test "`(/bin/universe) 2>/dev/null`" = att ; then
75.325 + echo pyramid-pyramid-sysv3
75.326 + else
75.327 + echo pyramid-pyramid-bsd
75.328 + fi
75.329 + exit 0 ;;
75.330 + NILE*:*:*:dcosx)
75.331 + echo pyramid-pyramid-svr4
75.332 + exit 0 ;;
75.333 + DRS?6000:UNIX_SV:4.2*:7*)
75.334 + case `/usr/bin/uname -p` in
75.335 + sparc) echo sparc-icl-nx7 && exit 0 ;;
75.336 + esac ;;
75.337 + sun4H:SunOS:5.*:*)
75.338 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
75.339 + exit 0 ;;
75.340 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
75.341 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
75.342 + exit 0 ;;
75.343 + i86pc:SunOS:5.*:*)
75.344 + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
75.345 + exit 0 ;;
75.346 + sun4*:SunOS:6*:*)
75.347 + # According to config.sub, this is the proper way to canonicalize
75.348 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
75.349 + # it's likely to be more like Solaris than SunOS4.
75.350 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
75.351 + exit 0 ;;
75.352 + sun4*:SunOS:*:*)
75.353 + case "`/usr/bin/arch -k`" in
75.354 + Series*|S4*)
75.355 + UNAME_RELEASE=`uname -v`
75.356 + ;;
75.357 + esac
75.358 + # Japanese Language versions have a version number like `4.1.3-JL'.
75.359 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
75.360 + exit 0 ;;
75.361 + sun3*:SunOS:*:*)
75.362 + echo m68k-sun-sunos${UNAME_RELEASE}
75.363 + exit 0 ;;
75.364 + sun*:*:4.2BSD:*)
75.365 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
75.366 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
75.367 + case "`/bin/arch`" in
75.368 + sun3)
75.369 + echo m68k-sun-sunos${UNAME_RELEASE}
75.370 + ;;
75.371 + sun4)
75.372 + echo sparc-sun-sunos${UNAME_RELEASE}
75.373 + ;;
75.374 + esac
75.375 + exit 0 ;;
75.376 + aushp:SunOS:*:*)
75.377 + echo sparc-auspex-sunos${UNAME_RELEASE}
75.378 + exit 0 ;;
75.379 + # The situation for MiNT is a little confusing. The machine name
75.380 + # can be virtually everything (everything which is not
75.381 + # "atarist" or "atariste" at least should have a processor
75.382 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
75.383 + # to the lowercase version "mint" (or "freemint"). Finally
75.384 + # the system name "TOS" denotes a system which is actually not
75.385 + # MiNT. But MiNT is downward compatible to TOS, so this should
75.386 + # be no problem.
75.387 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
75.388 + echo m68k-atari-mint${UNAME_RELEASE}
75.389 + exit 0 ;;
75.390 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
75.391 + echo m68k-atari-mint${UNAME_RELEASE}
75.392 + exit 0 ;;
75.393 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
75.394 + echo m68k-atari-mint${UNAME_RELEASE}
75.395 + exit 0 ;;
75.396 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
75.397 + echo m68k-milan-mint${UNAME_RELEASE}
75.398 + exit 0 ;;
75.399 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
75.400 + echo m68k-hades-mint${UNAME_RELEASE}
75.401 + exit 0 ;;
75.402 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
75.403 + echo m68k-unknown-mint${UNAME_RELEASE}
75.404 + exit 0 ;;
75.405 + powerpc:machten:*:*)
75.406 + echo powerpc-apple-machten${UNAME_RELEASE}
75.407 + exit 0 ;;
75.408 + RISC*:Mach:*:*)
75.409 + echo mips-dec-mach_bsd4.3
75.410 + exit 0 ;;
75.411 + RISC*:ULTRIX:*:*)
75.412 + echo mips-dec-ultrix${UNAME_RELEASE}
75.413 + exit 0 ;;
75.414 + VAX*:ULTRIX*:*:*)
75.415 + echo vax-dec-ultrix${UNAME_RELEASE}
75.416 + exit 0 ;;
75.417 + 2020:CLIX:*:* | 2430:CLIX:*:*)
75.418 + echo clipper-intergraph-clix${UNAME_RELEASE}
75.419 + exit 0 ;;
75.420 + mips:*:*:UMIPS | mips:*:*:RISCos)
75.421 + eval $set_cc_for_build
75.422 + sed 's/^ //' << EOF >$dummy.c
75.423 +#ifdef __cplusplus
75.424 +#include <stdio.h> /* for printf() prototype */
75.425 + int main (int argc, char *argv[]) {
75.426 +#else
75.427 + int main (argc, argv) int argc; char *argv[]; {
75.428 +#endif
75.429 + #if defined (host_mips) && defined (MIPSEB)
75.430 + #if defined (SYSTYPE_SYSV)
75.431 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
75.432 + #endif
75.433 + #if defined (SYSTYPE_SVR4)
75.434 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
75.435 + #endif
75.436 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
75.437 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
75.438 + #endif
75.439 + #endif
75.440 + exit (-1);
75.441 + }
75.442 +EOF
75.443 + $CC_FOR_BUILD -o $dummy $dummy.c \
75.444 + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
75.445 + && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
75.446 + rm -f $dummy.c $dummy && rmdir $tmpdir
75.447 + echo mips-mips-riscos${UNAME_RELEASE}
75.448 + exit 0 ;;
75.449 + Motorola:PowerMAX_OS:*:*)
75.450 + echo powerpc-motorola-powermax
75.451 + exit 0 ;;
75.452 + Motorola:*:4.3:PL8-*)
75.453 + echo powerpc-harris-powermax
75.454 + exit 0 ;;
75.455 + Night_Hawk:*:*:PowerMAX_OS)
75.456 + echo powerpc-harris-powermax
75.457 + exit 0 ;;
75.458 + Night_Hawk:Power_UNIX:*:*)
75.459 + echo powerpc-harris-powerunix
75.460 + exit 0 ;;
75.461 + m88k:CX/UX:7*:*)
75.462 + echo m88k-harris-cxux7
75.463 + exit 0 ;;
75.464 + m88k:*:4*:R4*)
75.465 + echo m88k-motorola-sysv4
75.466 + exit 0 ;;
75.467 + m88k:*:3*:R3*)
75.468 + echo m88k-motorola-sysv3
75.469 + exit 0 ;;
75.470 + AViiON:dgux:*:*)
75.471 + # DG/UX returns AViiON for all architectures
75.472 + UNAME_PROCESSOR=`/usr/bin/uname -p`
75.473 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
75.474 + then
75.475 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
75.476 + [ ${TARGET_BINARY_INTERFACE}x = x ]
75.477 + then
75.478 + echo m88k-dg-dgux${UNAME_RELEASE}
75.479 + else
75.480 + echo m88k-dg-dguxbcs${UNAME_RELEASE}
75.481 + fi
75.482 + else
75.483 + echo i586-dg-dgux${UNAME_RELEASE}
75.484 + fi
75.485 + exit 0 ;;
75.486 + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
75.487 + echo m88k-dolphin-sysv3
75.488 + exit 0 ;;
75.489 + M88*:*:R3*:*)
75.490 + # Delta 88k system running SVR3
75.491 + echo m88k-motorola-sysv3
75.492 + exit 0 ;;
75.493 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
75.494 + echo m88k-tektronix-sysv3
75.495 + exit 0 ;;
75.496 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
75.497 + echo m68k-tektronix-bsd
75.498 + exit 0 ;;
75.499 + *:IRIX*:*:*)
75.500 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
75.501 + exit 0 ;;
75.502 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
75.503 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
75.504 + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
75.505 + i*86:AIX:*:*)
75.506 + echo i386-ibm-aix
75.507 + exit 0 ;;
75.508 + ia64:AIX:*:*)
75.509 + if [ -x /usr/bin/oslevel ] ; then
75.510 + IBM_REV=`/usr/bin/oslevel`
75.511 + else
75.512 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
75.513 + fi
75.514 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
75.515 + exit 0 ;;
75.516 + *:AIX:2:3)
75.517 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
75.518 + eval $set_cc_for_build
75.519 + sed 's/^ //' << EOF >$dummy.c
75.520 + #include <sys/systemcfg.h>
75.521 +
75.522 + main()
75.523 + {
75.524 + if (!__power_pc())
75.525 + exit(1);
75.526 + puts("powerpc-ibm-aix3.2.5");
75.527 + exit(0);
75.528 + }
75.529 +EOF
75.530 + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
75.531 + rm -f $dummy.c $dummy && rmdir $tmpdir
75.532 + echo rs6000-ibm-aix3.2.5
75.533 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
75.534 + echo rs6000-ibm-aix3.2.4
75.535 + else
75.536 + echo rs6000-ibm-aix3.2
75.537 + fi
75.538 + exit 0 ;;
75.539 + *:AIX:*:[45])
75.540 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
75.541 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
75.542 + IBM_ARCH=rs6000
75.543 + else
75.544 + IBM_ARCH=powerpc
75.545 + fi
75.546 + if [ -x /usr/bin/oslevel ] ; then
75.547 + IBM_REV=`/usr/bin/oslevel`
75.548 + else
75.549 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
75.550 + fi
75.551 + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
75.552 + exit 0 ;;
75.553 + *:AIX:*:*)
75.554 + echo rs6000-ibm-aix
75.555 + exit 0 ;;
75.556 + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
75.557 + echo romp-ibm-bsd4.4
75.558 + exit 0 ;;
75.559 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
75.560 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
75.561 + exit 0 ;; # report: romp-ibm BSD 4.3
75.562 + *:BOSX:*:*)
75.563 + echo rs6000-bull-bosx
75.564 + exit 0 ;;
75.565 + DPX/2?00:B.O.S.:*:*)
75.566 + echo m68k-bull-sysv3
75.567 + exit 0 ;;
75.568 + 9000/[34]??:4.3bsd:1.*:*)
75.569 + echo m68k-hp-bsd
75.570 + exit 0 ;;
75.571 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
75.572 + echo m68k-hp-bsd4.4
75.573 + exit 0 ;;
75.574 + 9000/[34678]??:HP-UX:*:*)
75.575 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
75.576 + case "${UNAME_MACHINE}" in
75.577 + 9000/31? ) HP_ARCH=m68000 ;;
75.578 + 9000/[34]?? ) HP_ARCH=m68k ;;
75.579 + 9000/[678][0-9][0-9])
75.580 + if [ -x /usr/bin/getconf ]; then
75.581 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
75.582 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
75.583 + case "${sc_cpu_version}" in
75.584 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
75.585 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
75.586 + 532) # CPU_PA_RISC2_0
75.587 + case "${sc_kernel_bits}" in
75.588 + 32) HP_ARCH="hppa2.0n" ;;
75.589 + 64) HP_ARCH="hppa2.0w" ;;
75.590 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
75.591 + esac ;;
75.592 + esac
75.593 + fi
75.594 + if [ "${HP_ARCH}" = "" ]; then
75.595 + eval $set_cc_for_build
75.596 + sed 's/^ //' << EOF >$dummy.c
75.597 +
75.598 + #define _HPUX_SOURCE
75.599 + #include <stdlib.h>
75.600 + #include <unistd.h>
75.601 +
75.602 + int main ()
75.603 + {
75.604 + #if defined(_SC_KERNEL_BITS)
75.605 + long bits = sysconf(_SC_KERNEL_BITS);
75.606 + #endif
75.607 + long cpu = sysconf (_SC_CPU_VERSION);
75.608 +
75.609 + switch (cpu)
75.610 + {
75.611 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
75.612 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
75.613 + case CPU_PA_RISC2_0:
75.614 + #if defined(_SC_KERNEL_BITS)
75.615 + switch (bits)
75.616 + {
75.617 + case 64: puts ("hppa2.0w"); break;
75.618 + case 32: puts ("hppa2.0n"); break;
75.619 + default: puts ("hppa2.0"); break;
75.620 + } break;
75.621 + #else /* !defined(_SC_KERNEL_BITS) */
75.622 + puts ("hppa2.0"); break;
75.623 + #endif
75.624 + default: puts ("hppa1.0"); break;
75.625 + }
75.626 + exit (0);
75.627 + }
75.628 +EOF
75.629 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
75.630 + if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
75.631 + rm -f $dummy.c $dummy && rmdir $tmpdir
75.632 + fi ;;
75.633 + esac
75.634 + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
75.635 + exit 0 ;;
75.636 + ia64:HP-UX:*:*)
75.637 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
75.638 + echo ia64-hp-hpux${HPUX_REV}
75.639 + exit 0 ;;
75.640 + 3050*:HI-UX:*:*)
75.641 + eval $set_cc_for_build
75.642 + sed 's/^ //' << EOF >$dummy.c
75.643 + #include <unistd.h>
75.644 + int
75.645 + main ()
75.646 + {
75.647 + long cpu = sysconf (_SC_CPU_VERSION);
75.648 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
75.649 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
75.650 + results, however. */
75.651 + if (CPU_IS_PA_RISC (cpu))
75.652 + {
75.653 + switch (cpu)
75.654 + {
75.655 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
75.656 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
75.657 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
75.658 + default: puts ("hppa-hitachi-hiuxwe2"); break;
75.659 + }
75.660 + }
75.661 + else if (CPU_IS_HP_MC68K (cpu))
75.662 + puts ("m68k-hitachi-hiuxwe2");
75.663 + else puts ("unknown-hitachi-hiuxwe2");
75.664 + exit (0);
75.665 + }
75.666 +EOF
75.667 + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
75.668 + rm -f $dummy.c $dummy && rmdir $tmpdir
75.669 + echo unknown-hitachi-hiuxwe2
75.670 + exit 0 ;;
75.671 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
75.672 + echo hppa1.1-hp-bsd
75.673 + exit 0 ;;
75.674 + 9000/8??:4.3bsd:*:*)
75.675 + echo hppa1.0-hp-bsd
75.676 + exit 0 ;;
75.677 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
75.678 + echo hppa1.0-hp-mpeix
75.679 + exit 0 ;;
75.680 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
75.681 + echo hppa1.1-hp-osf
75.682 + exit 0 ;;
75.683 + hp8??:OSF1:*:*)
75.684 + echo hppa1.0-hp-osf
75.685 + exit 0 ;;
75.686 + i*86:OSF1:*:*)
75.687 + if [ -x /usr/sbin/sysversion ] ; then
75.688 + echo ${UNAME_MACHINE}-unknown-osf1mk
75.689 + else
75.690 + echo ${UNAME_MACHINE}-unknown-osf1
75.691 + fi
75.692 + exit 0 ;;
75.693 + parisc*:Lites*:*:*)
75.694 + echo hppa1.1-hp-lites
75.695 + exit 0 ;;
75.696 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
75.697 + echo c1-convex-bsd
75.698 + exit 0 ;;
75.699 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
75.700 + if getsysinfo -f scalar_acc
75.701 + then echo c32-convex-bsd
75.702 + else echo c2-convex-bsd
75.703 + fi
75.704 + exit 0 ;;
75.705 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
75.706 + echo c34-convex-bsd
75.707 + exit 0 ;;
75.708 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
75.709 + echo c38-convex-bsd
75.710 + exit 0 ;;
75.711 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
75.712 + echo c4-convex-bsd
75.713 + exit 0 ;;
75.714 + CRAY*Y-MP:*:*:*)
75.715 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
75.716 + exit 0 ;;
75.717 + CRAY*[A-Z]90:*:*:*)
75.718 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
75.719 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
75.720 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
75.721 + -e 's/\.[^.]*$/.X/'
75.722 + exit 0 ;;
75.723 + CRAY*TS:*:*:*)
75.724 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
75.725 + exit 0 ;;
75.726 + CRAY*T3D:*:*:*)
75.727 + echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
75.728 + exit 0 ;;
75.729 + CRAY*T3E:*:*:*)
75.730 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
75.731 + exit 0 ;;
75.732 + CRAY*SV1:*:*:*)
75.733 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
75.734 + exit 0 ;;
75.735 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
75.736 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
75.737 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
75.738 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
75.739 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
75.740 + exit 0 ;;
75.741 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
75.742 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
75.743 + exit 0 ;;
75.744 + sparc*:BSD/OS:*:*)
75.745 + echo sparc-unknown-bsdi${UNAME_RELEASE}
75.746 + exit 0 ;;
75.747 + *:BSD/OS:*:*)
75.748 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
75.749 + exit 0 ;;
75.750 + *:FreeBSD:*:*)
75.751 + # Determine whether the default compiler uses glibc.
75.752 + eval $set_cc_for_build
75.753 + sed 's/^ //' << EOF >$dummy.c
75.754 + #include <features.h>
75.755 + #if __GLIBC__ >= 2
75.756 + LIBC=gnu
75.757 + #else
75.758 + LIBC=
75.759 + #endif
75.760 +EOF
75.761 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
75.762 + rm -f $dummy.c && rmdir $tmpdir
75.763 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
75.764 + exit 0 ;;
75.765 + i*:CYGWIN*:*)
75.766 + echo ${UNAME_MACHINE}-pc-cygwin
75.767 + exit 0 ;;
75.768 + i*:MINGW*:*)
75.769 + echo ${UNAME_MACHINE}-pc-mingw32
75.770 + exit 0 ;;
75.771 + i*:PW*:*)
75.772 + echo ${UNAME_MACHINE}-pc-pw32
75.773 + exit 0 ;;
75.774 + x86:Interix*:3*)
75.775 + echo i386-pc-interix3
75.776 + exit 0 ;;
75.777 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
75.778 + # How do we know it's Interix rather than the generic POSIX subsystem?
75.779 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
75.780 + # UNAME_MACHINE based on the output of uname instead of i386?
75.781 + echo i386-pc-interix
75.782 + exit 0 ;;
75.783 + i*:UWIN*:*)
75.784 + echo ${UNAME_MACHINE}-pc-uwin
75.785 + exit 0 ;;
75.786 + p*:CYGWIN*:*)
75.787 + echo powerpcle-unknown-cygwin
75.788 + exit 0 ;;
75.789 + prep*:SunOS:5.*:*)
75.790 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
75.791 + exit 0 ;;
75.792 + *:GNU:*:*)
75.793 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
75.794 + exit 0 ;;
75.795 + i*86:Minix:*:*)
75.796 + echo ${UNAME_MACHINE}-pc-minix
75.797 + exit 0 ;;
75.798 + arm*:Linux:*:*)
75.799 + echo ${UNAME_MACHINE}-unknown-linux-gnu
75.800 + exit 0 ;;
75.801 + ia64:Linux:*:*)
75.802 + echo ${UNAME_MACHINE}-unknown-linux-gnu
75.803 + exit 0 ;;
75.804 + m68*:Linux:*:*)
75.805 + echo ${UNAME_MACHINE}-unknown-linux-gnu
75.806 + exit 0 ;;
75.807 + mips:Linux:*:*)
75.808 + eval $set_cc_for_build
75.809 + sed 's/^ //' << EOF >$dummy.c
75.810 + #undef CPU
75.811 + #undef mips
75.812 + #undef mipsel
75.813 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
75.814 + CPU=mipsel
75.815 + #else
75.816 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
75.817 + CPU=mips
75.818 + #else
75.819 + CPU=
75.820 + #endif
75.821 + #endif
75.822 +EOF
75.823 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
75.824 + rm -f $dummy.c && rmdir $tmpdir
75.825 + test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
75.826 + ;;
75.827 + ppc:Linux:*:*)
75.828 + echo powerpc-unknown-linux-gnu
75.829 + exit 0 ;;
75.830 + ppc64:Linux:*:*)
75.831 + echo powerpc64-unknown-linux-gnu
75.832 + exit 0 ;;
75.833 + alpha:Linux:*:*)
75.834 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
75.835 + EV5) UNAME_MACHINE=alphaev5 ;;
75.836 + EV56) UNAME_MACHINE=alphaev56 ;;
75.837 + PCA56) UNAME_MACHINE=alphapca56 ;;
75.838 + PCA57) UNAME_MACHINE=alphapca56 ;;
75.839 + EV6) UNAME_MACHINE=alphaev6 ;;
75.840 + EV67) UNAME_MACHINE=alphaev67 ;;
75.841 + EV68*) UNAME_MACHINE=alphaev68 ;;
75.842 + esac
75.843 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
75.844 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
75.845 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
75.846 + exit 0 ;;
75.847 + parisc:Linux:*:* | hppa:Linux:*:*)
75.848 + # Look for CPU level
75.849 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
75.850 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
75.851 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
75.852 + *) echo hppa-unknown-linux-gnu ;;
75.853 + esac
75.854 + exit 0 ;;
75.855 + parisc64:Linux:*:* | hppa64:Linux:*:*)
75.856 + echo hppa64-unknown-linux-gnu
75.857 + exit 0 ;;
75.858 + s390:Linux:*:* | s390x:Linux:*:*)
75.859 + echo ${UNAME_MACHINE}-ibm-linux
75.860 + exit 0 ;;
75.861 + sh*:Linux:*:*)
75.862 + echo ${UNAME_MACHINE}-unknown-linux-gnu
75.863 + exit 0 ;;
75.864 + sparc:Linux:*:* | sparc64:Linux:*:*)
75.865 + echo ${UNAME_MACHINE}-unknown-linux-gnu
75.866 + exit 0 ;;
75.867 + x86_64:Linux:*:*)
75.868 + echo x86_64-unknown-linux-gnu
75.869 + exit 0 ;;
75.870 + i*86:Linux:*:*)
75.871 + # The BFD linker knows what the default object file format is, so
75.872 + # first see if it will tell us. cd to the root directory to prevent
75.873 + # problems with other programs or directories called `ld' in the path.
75.874 + # Set LC_ALL=C to ensure ld outputs messages in English.
75.875 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
75.876 + | sed -ne '/supported targets:/!d
75.877 + s/[ ][ ]*/ /g
75.878 + s/.*supported targets: *//
75.879 + s/ .*//
75.880 + p'`
75.881 + case "$ld_supported_targets" in
75.882 + elf32-i386)
75.883 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
75.884 + ;;
75.885 + a.out-i386-linux)
75.886 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
75.887 + exit 0 ;;
75.888 + coff-i386)
75.889 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
75.890 + exit 0 ;;
75.891 + "")
75.892 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
75.893 + # one that does not give us useful --help.
75.894 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
75.895 + exit 0 ;;
75.896 + esac
75.897 + # Determine whether the default compiler is a.out or elf
75.898 + eval $set_cc_for_build
75.899 + sed 's/^ //' << EOF >$dummy.c
75.900 + #include <features.h>
75.901 + #ifdef __ELF__
75.902 + # ifdef __GLIBC__
75.903 + # if __GLIBC__ >= 2
75.904 + LIBC=gnu
75.905 + # else
75.906 + LIBC=gnulibc1
75.907 + # endif
75.908 + # else
75.909 + LIBC=gnulibc1
75.910 + # endif
75.911 + #else
75.912 + #ifdef __INTEL_COMPILER
75.913 + LIBC=gnu
75.914 + #else
75.915 + LIBC=gnuaout
75.916 + #endif
75.917 + #endif
75.918 +EOF
75.919 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
75.920 + rm -f $dummy.c && rmdir $tmpdir
75.921 + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
75.922 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
75.923 + ;;
75.924 + i*86:DYNIX/ptx:4*:*)
75.925 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
75.926 + # earlier versions are messed up and put the nodename in both
75.927 + # sysname and nodename.
75.928 + echo i386-sequent-sysv4
75.929 + exit 0 ;;
75.930 + i*86:UNIX_SV:4.2MP:2.*)
75.931 + # Unixware is an offshoot of SVR4, but it has its own version
75.932 + # number series starting with 2...
75.933 + # I am not positive that other SVR4 systems won't match this,
75.934 + # I just have to hope. -- rms.
75.935 + # Use sysv4.2uw... so that sysv4* matches it.
75.936 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
75.937 + exit 0 ;;
75.938 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
75.939 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
75.940 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
75.941 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
75.942 + else
75.943 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
75.944 + fi
75.945 + exit 0 ;;
75.946 + i*86:*:5:[78]*)
75.947 + case `/bin/uname -X | grep "^Machine"` in
75.948 + *486*) UNAME_MACHINE=i486 ;;
75.949 + *Pentium) UNAME_MACHINE=i586 ;;
75.950 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
75.951 + esac
75.952 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
75.953 + exit 0 ;;
75.954 + i*86:*:3.2:*)
75.955 + if test -f /usr/options/cb.name; then
75.956 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
75.957 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
75.958 + elif /bin/uname -X 2>/dev/null >/dev/null ; then
75.959 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
75.960 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
75.961 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
75.962 + && UNAME_MACHINE=i586
75.963 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
75.964 + && UNAME_MACHINE=i686
75.965 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
75.966 + && UNAME_MACHINE=i686
75.967 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
75.968 + else
75.969 + echo ${UNAME_MACHINE}-pc-sysv32
75.970 + fi
75.971 + exit 0 ;;
75.972 + i*86:*DOS:*:*)
75.973 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
75.974 + exit 0 ;;
75.975 + pc:*:*:*)
75.976 + # Left here for compatibility:
75.977 + # uname -m prints for DJGPP always 'pc', but it prints nothing about
75.978 + # the processor, so we play safe by assuming i386.
75.979 + echo i386-pc-msdosdjgpp
75.980 + exit 0 ;;
75.981 + Intel:Mach:3*:*)
75.982 + echo i386-pc-mach3
75.983 + exit 0 ;;
75.984 + paragon:*:*:*)
75.985 + echo i860-intel-osf1
75.986 + exit 0 ;;
75.987 + i860:*:4.*:*) # i860-SVR4
75.988 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
75.989 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
75.990 + else # Add other i860-SVR4 vendors below as they are discovered.
75.991 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
75.992 + fi
75.993 + exit 0 ;;
75.994 + mini*:CTIX:SYS*5:*)
75.995 + # "miniframe"
75.996 + echo m68010-convergent-sysv
75.997 + exit 0 ;;
75.998 + mc68k:UNIX:SYSTEM5:3.51m)
75.999 + echo m68k-convergent-sysv
75.1000 + exit 0 ;;
75.1001 + M68*:*:R3V[567]*:*)
75.1002 + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
75.1003 + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
75.1004 + OS_REL=''
75.1005 + test -r /etc/.relid \
75.1006 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
75.1007 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
75.1008 + && echo i486-ncr-sysv4.3${OS_REL} && exit 0
75.1009 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
75.1010 + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
75.1011 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
75.1012 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
75.1013 + && echo i486-ncr-sysv4 && exit 0 ;;
75.1014 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
75.1015 + echo m68k-unknown-lynxos${UNAME_RELEASE}
75.1016 + exit 0 ;;
75.1017 + mc68030:UNIX_System_V:4.*:*)
75.1018 + echo m68k-atari-sysv4
75.1019 + exit 0 ;;
75.1020 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
75.1021 + echo i386-unknown-lynxos${UNAME_RELEASE}
75.1022 + exit 0 ;;
75.1023 + TSUNAMI:LynxOS:2.*:*)
75.1024 + echo sparc-unknown-lynxos${UNAME_RELEASE}
75.1025 + exit 0 ;;
75.1026 + rs6000:LynxOS:2.*:*)
75.1027 + echo rs6000-unknown-lynxos${UNAME_RELEASE}
75.1028 + exit 0 ;;
75.1029 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
75.1030 + echo powerpc-unknown-lynxos${UNAME_RELEASE}
75.1031 + exit 0 ;;
75.1032 + SM[BE]S:UNIX_SV:*:*)
75.1033 + echo mips-dde-sysv${UNAME_RELEASE}
75.1034 + exit 0 ;;
75.1035 + RM*:ReliantUNIX-*:*:*)
75.1036 + echo mips-sni-sysv4
75.1037 + exit 0 ;;
75.1038 + RM*:SINIX-*:*:*)
75.1039 + echo mips-sni-sysv4
75.1040 + exit 0 ;;
75.1041 + *:SINIX-*:*:*)
75.1042 + if uname -p 2>/dev/null >/dev/null ; then
75.1043 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
75.1044 + echo ${UNAME_MACHINE}-sni-sysv4
75.1045 + else
75.1046 + echo ns32k-sni-sysv
75.1047 + fi
75.1048 + exit 0 ;;
75.1049 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
75.1050 + # says <Richard.M.Bartel@ccMail.Census.GOV>
75.1051 + echo i586-unisys-sysv4
75.1052 + exit 0 ;;
75.1053 + *:UNIX_System_V:4*:FTX*)
75.1054 + # From Gerald Hewes <hewes@openmarket.com>.
75.1055 + # How about differentiating between stratus architectures? -djm
75.1056 + echo hppa1.1-stratus-sysv4
75.1057 + exit 0 ;;
75.1058 + *:*:*:FTX*)
75.1059 + # From seanf@swdc.stratus.com.
75.1060 + echo i860-stratus-sysv4
75.1061 + exit 0 ;;
75.1062 + *:VOS:*:*)
75.1063 + # From Paul.Green@stratus.com.
75.1064 + echo hppa1.1-stratus-vos
75.1065 + exit 0 ;;
75.1066 + mc68*:A/UX:*:*)
75.1067 + echo m68k-apple-aux${UNAME_RELEASE}
75.1068 + exit 0 ;;
75.1069 + news*:NEWS-OS:6*:*)
75.1070 + echo mips-sony-newsos6
75.1071 + exit 0 ;;
75.1072 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
75.1073 + if [ -d /usr/nec ]; then
75.1074 + echo mips-nec-sysv${UNAME_RELEASE}
75.1075 + else
75.1076 + echo mips-unknown-sysv${UNAME_RELEASE}
75.1077 + fi
75.1078 + exit 0 ;;
75.1079 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
75.1080 + echo powerpc-be-beos
75.1081 + exit 0 ;;
75.1082 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
75.1083 + echo powerpc-apple-beos
75.1084 + exit 0 ;;
75.1085 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
75.1086 + echo i586-pc-beos
75.1087 + exit 0 ;;
75.1088 + SX-4:SUPER-UX:*:*)
75.1089 + echo sx4-nec-superux${UNAME_RELEASE}
75.1090 + exit 0 ;;
75.1091 + SX-5:SUPER-UX:*:*)
75.1092 + echo sx5-nec-superux${UNAME_RELEASE}
75.1093 + exit 0 ;;
75.1094 + SX-6:SUPER-UX:*:*)
75.1095 + echo sx6-nec-superux${UNAME_RELEASE}
75.1096 + exit 0 ;;
75.1097 + Power*:Rhapsody:*:*)
75.1098 + echo powerpc-apple-rhapsody${UNAME_RELEASE}
75.1099 + exit 0 ;;
75.1100 + *:Rhapsody:*:*)
75.1101 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
75.1102 + exit 0 ;;
75.1103 + *:Darwin:*:*)
75.1104 + echo `uname -p`-apple-darwin${UNAME_RELEASE}
75.1105 + exit 0 ;;
75.1106 + *:procnto*:*:* | *:QNX:[0123456789]*:*)
75.1107 + UNAME_PROCESSOR=`uname -p`
75.1108 + if test "$UNAME_PROCESSOR" = "x86"; then
75.1109 + UNAME_PROCESSOR=i386
75.1110 + UNAME_MACHINE=pc
75.1111 + fi
75.1112 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
75.1113 + exit 0 ;;
75.1114 + *:QNX:*:4*)
75.1115 + echo i386-pc-qnx
75.1116 + exit 0 ;;
75.1117 + NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
75.1118 + echo nsr-tandem-nsk${UNAME_RELEASE}
75.1119 + exit 0 ;;
75.1120 + *:NonStop-UX:*:*)
75.1121 + echo mips-compaq-nonstopux
75.1122 + exit 0 ;;
75.1123 + BS2000:POSIX*:*:*)
75.1124 + echo bs2000-siemens-sysv
75.1125 + exit 0 ;;
75.1126 + DS/*:UNIX_System_V:*:*)
75.1127 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
75.1128 + exit 0 ;;
75.1129 + *:Plan9:*:*)
75.1130 + # "uname -m" is not consistent, so use $cputype instead. 386
75.1131 + # is converted to i386 for consistency with other x86
75.1132 + # operating systems.
75.1133 + if test "$cputype" = "386"; then
75.1134 + UNAME_MACHINE=i386
75.1135 + else
75.1136 + UNAME_MACHINE="$cputype"
75.1137 + fi
75.1138 + echo ${UNAME_MACHINE}-unknown-plan9
75.1139 + exit 0 ;;
75.1140 + i*86:OS/2:*:*)
75.1141 + # If we were able to find `uname', then EMX Unix compatibility
75.1142 + # is probably installed.
75.1143 + echo ${UNAME_MACHINE}-pc-os2-emx
75.1144 + exit 0 ;;
75.1145 + *:TOPS-10:*:*)
75.1146 + echo pdp10-unknown-tops10
75.1147 + exit 0 ;;
75.1148 + *:TENEX:*:*)
75.1149 + echo pdp10-unknown-tenex
75.1150 + exit 0 ;;
75.1151 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
75.1152 + echo pdp10-dec-tops20
75.1153 + exit 0 ;;
75.1154 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
75.1155 + echo pdp10-xkl-tops20
75.1156 + exit 0 ;;
75.1157 + *:TOPS-20:*:*)
75.1158 + echo pdp10-unknown-tops20
75.1159 + exit 0 ;;
75.1160 + *:ITS:*:*)
75.1161 + echo pdp10-unknown-its
75.1162 + exit 0 ;;
75.1163 + i*86:XTS-300:*:STOP)
75.1164 + echo ${UNAME_MACHINE}-unknown-stop
75.1165 + exit 0 ;;
75.1166 + i*86:atheos:*:*)
75.1167 + echo ${UNAME_MACHINE}-unknown-atheos
75.1168 + exit 0 ;;
75.1169 +esac
75.1170 +
75.1171 +#echo '(No uname command or uname output not recognized.)' 1>&2
75.1172 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
75.1173 +
75.1174 +eval $set_cc_for_build
75.1175 +cat >$dummy.c <<EOF
75.1176 +#ifdef _SEQUENT_
75.1177 +# include <sys/types.h>
75.1178 +# include <sys/utsname.h>
75.1179 +#endif
75.1180 +main ()
75.1181 +{
75.1182 +#if defined (sony)
75.1183 +#if defined (MIPSEB)
75.1184 + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
75.1185 + I don't know.... */
75.1186 + printf ("mips-sony-bsd\n"); exit (0);
75.1187 +#else
75.1188 +#include <sys/param.h>
75.1189 + printf ("m68k-sony-newsos%s\n",
75.1190 +#ifdef NEWSOS4
75.1191 + "4"
75.1192 +#else
75.1193 + ""
75.1194 +#endif
75.1195 + ); exit (0);
75.1196 +#endif
75.1197 +#endif
75.1198 +
75.1199 +#if defined (__arm) && defined (__acorn) && defined (__unix)
75.1200 + printf ("arm-acorn-riscix"); exit (0);
75.1201 +#endif
75.1202 +
75.1203 +#if defined (hp300) && !defined (hpux)
75.1204 + printf ("m68k-hp-bsd\n"); exit (0);
75.1205 +#endif
75.1206 +
75.1207 +#if defined (NeXT)
75.1208 +#if !defined (__ARCHITECTURE__)
75.1209 +#define __ARCHITECTURE__ "m68k"
75.1210 +#endif
75.1211 + int version;
75.1212 + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
75.1213 + if (version < 4)
75.1214 + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
75.1215 + else
75.1216 + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
75.1217 + exit (0);
75.1218 +#endif
75.1219 +
75.1220 +#if defined (MULTIMAX) || defined (n16)
75.1221 +#if defined (UMAXV)
75.1222 + printf ("ns32k-encore-sysv\n"); exit (0);
75.1223 +#else
75.1224 +#if defined (CMU)
75.1225 + printf ("ns32k-encore-mach\n"); exit (0);
75.1226 +#else
75.1227 + printf ("ns32k-encore-bsd\n"); exit (0);
75.1228 +#endif
75.1229 +#endif
75.1230 +#endif
75.1231 +
75.1232 +#if defined (__386BSD__)
75.1233 + printf ("i386-pc-bsd\n"); exit (0);
75.1234 +#endif
75.1235 +
75.1236 +#if defined (sequent)
75.1237 +#if defined (i386)
75.1238 + printf ("i386-sequent-dynix\n"); exit (0);
75.1239 +#endif
75.1240 +#if defined (ns32000)
75.1241 + printf ("ns32k-sequent-dynix\n"); exit (0);
75.1242 +#endif
75.1243 +#endif
75.1244 +
75.1245 +#if defined (_SEQUENT_)
75.1246 + struct utsname un;
75.1247 +
75.1248 + uname(&un);
75.1249 +
75.1250 + if (strncmp(un.version, "V2", 2) == 0) {
75.1251 + printf ("i386-sequent-ptx2\n"); exit (0);
75.1252 + }
75.1253 + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
75.1254 + printf ("i386-sequent-ptx1\n"); exit (0);
75.1255 + }
75.1256 + printf ("i386-sequent-ptx\n"); exit (0);
75.1257 +
75.1258 +#endif
75.1259 +
75.1260 +#if defined (vax)
75.1261 +# if !defined (ultrix)
75.1262 +# include <sys/param.h>
75.1263 +# if defined (BSD)
75.1264 +# if BSD == 43
75.1265 + printf ("vax-dec-bsd4.3\n"); exit (0);
75.1266 +# else
75.1267 +# if BSD == 199006
75.1268 + printf ("vax-dec-bsd4.3reno\n"); exit (0);
75.1269 +# else
75.1270 + printf ("vax-dec-bsd\n"); exit (0);
75.1271 +# endif
75.1272 +# endif
75.1273 +# else
75.1274 + printf ("vax-dec-bsd\n"); exit (0);
75.1275 +# endif
75.1276 +# else
75.1277 + printf ("vax-dec-ultrix\n"); exit (0);
75.1278 +# endif
75.1279 +#endif
75.1280 +
75.1281 +#if defined (alliant) && defined (i860)
75.1282 + printf ("i860-alliant-bsd\n"); exit (0);
75.1283 +#endif
75.1284 +
75.1285 + exit (1);
75.1286 +}
75.1287 +EOF
75.1288 +
75.1289 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
75.1290 +rm -f $dummy.c $dummy && rmdir $tmpdir
75.1291 +
75.1292 +# Apollos put the system type in the environment.
75.1293 +
75.1294 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
75.1295 +
75.1296 +# Convex versions that predate uname can use getsysinfo(1)
75.1297 +
75.1298 +if [ -x /usr/convex/getsysinfo ]
75.1299 +then
75.1300 + case `getsysinfo -f cpu_type` in
75.1301 + c1*)
75.1302 + echo c1-convex-bsd
75.1303 + exit 0 ;;
75.1304 + c2*)
75.1305 + if getsysinfo -f scalar_acc
75.1306 + then echo c32-convex-bsd
75.1307 + else echo c2-convex-bsd
75.1308 + fi
75.1309 + exit 0 ;;
75.1310 + c34*)
75.1311 + echo c34-convex-bsd
75.1312 + exit 0 ;;
75.1313 + c38*)
75.1314 + echo c38-convex-bsd
75.1315 + exit 0 ;;
75.1316 + c4*)
75.1317 + echo c4-convex-bsd
75.1318 + exit 0 ;;
75.1319 + esac
75.1320 +fi
75.1321 +
75.1322 +cat >&2 <<EOF
75.1323 +$0: unable to guess system type
75.1324 +
75.1325 +This script, last modified $timestamp, has failed to recognize
75.1326 +the operating system you are using. It is advised that you
75.1327 +download the most up to date version of the config scripts from
75.1328 +
75.1329 + ftp://ftp.gnu.org/pub/gnu/config/
75.1330 +
75.1331 +If the version you run ($0) is already up to date, please
75.1332 +send the following data and any information you think might be
75.1333 +pertinent to <config-patches@gnu.org> in order to provide the needed
75.1334 +information to handle your system.
75.1335 +
75.1336 +config.guess timestamp = $timestamp
75.1337 +
75.1338 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
75.1339 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
75.1340 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
75.1341 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
75.1342 +
75.1343 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
75.1344 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
75.1345 +
75.1346 +hostinfo = `(hostinfo) 2>/dev/null`
75.1347 +/bin/universe = `(/bin/universe) 2>/dev/null`
75.1348 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
75.1349 +/bin/arch = `(/bin/arch) 2>/dev/null`
75.1350 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
75.1351 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
75.1352 +
75.1353 +UNAME_MACHINE = ${UNAME_MACHINE}
75.1354 +UNAME_RELEASE = ${UNAME_RELEASE}
75.1355 +UNAME_SYSTEM = ${UNAME_SYSTEM}
75.1356 +UNAME_VERSION = ${UNAME_VERSION}
75.1357 +EOF
75.1358 +
75.1359 +exit 1
75.1360 +
75.1361 +# Local variables:
75.1362 +# eval: (add-hook 'write-file-hooks 'time-stamp)
75.1363 +# time-stamp-start: "timestamp='"
75.1364 +# time-stamp-format: "%:y-%02m-%02d"
75.1365 +# time-stamp-end: "'"
75.1366 +# End:
76.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
76.2 +++ b/tools/picctldisplaytest/config.h.in Tue Jan 29 22:31:52 2008 +0100
76.3 @@ -0,0 +1,55 @@
76.4 +/* config.h.in. Generated from configure.in by autoheader. */
76.5 +
76.6 +/* Define to 1 if you have the <dlfcn.h> header file. */
76.7 +#undef HAVE_DLFCN_H
76.8 +
76.9 +/* Define to 1 if you have the <inttypes.h> header file. */
76.10 +#undef HAVE_INTTYPES_H
76.11 +
76.12 +/* Define to 1 if you have the <memory.h> header file. */
76.13 +#undef HAVE_MEMORY_H
76.14 +
76.15 +/* Define to 1 if you have the <stdint.h> header file. */
76.16 +#undef HAVE_STDINT_H
76.17 +
76.18 +/* Define to 1 if you have the <stdlib.h> header file. */
76.19 +#undef HAVE_STDLIB_H
76.20 +
76.21 +/* Define to 1 if you have the <strings.h> header file. */
76.22 +#undef HAVE_STRINGS_H
76.23 +
76.24 +/* Define to 1 if you have the <string.h> header file. */
76.25 +#undef HAVE_STRING_H
76.26 +
76.27 +/* Define to 1 if you have the <sys/stat.h> header file. */
76.28 +#undef HAVE_SYS_STAT_H
76.29 +
76.30 +/* Define to 1 if you have the <sys/types.h> header file. */
76.31 +#undef HAVE_SYS_TYPES_H
76.32 +
76.33 +/* Define to 1 if you have the <unistd.h> header file. */
76.34 +#undef HAVE_UNISTD_H
76.35 +
76.36 +/* Name of package */
76.37 +#undef PACKAGE
76.38 +
76.39 +/* Define to the address where bug reports for this package should be sent. */
76.40 +#undef PACKAGE_BUGREPORT
76.41 +
76.42 +/* Define to the full name of this package. */
76.43 +#undef PACKAGE_NAME
76.44 +
76.45 +/* Define to the full name and version of this package. */
76.46 +#undef PACKAGE_STRING
76.47 +
76.48 +/* Define to the one symbol short name of this package. */
76.49 +#undef PACKAGE_TARNAME
76.50 +
76.51 +/* Define to the version of this package. */
76.52 +#undef PACKAGE_VERSION
76.53 +
76.54 +/* Define to 1 if you have the ANSI C header files. */
76.55 +#undef STDC_HEADERS
76.56 +
76.57 +/* Version number of package */
76.58 +#undef VERSION
77.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
77.2 +++ b/tools/picctldisplaytest/config.sub Tue Jan 29 22:31:52 2008 +0100
77.3 @@ -0,0 +1,1470 @@
77.4 +#! /bin/sh
77.5 +# Configuration validation subroutine script.
77.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
77.7 +# 2000, 2001, 2002 Free Software Foundation, Inc.
77.8 +
77.9 +timestamp='2002-09-05'
77.10 +
77.11 +# This file is (in principle) common to ALL GNU software.
77.12 +# The presence of a machine in this file suggests that SOME GNU software
77.13 +# can handle that machine. It does not imply ALL GNU software can.
77.14 +#
77.15 +# This file is free software; you can redistribute it and/or modify
77.16 +# it under the terms of the GNU General Public License as published by
77.17 +# the Free Software Foundation; either version 2 of the License, or
77.18 +# (at your option) any later version.
77.19 +#
77.20 +# This program is distributed in the hope that it will be useful,
77.21 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
77.22 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
77.23 +# GNU General Public License for more details.
77.24 +#
77.25 +# You should have received a copy of the GNU General Public License
77.26 +# along with this program; if not, write to the Free Software
77.27 +# Foundation, Inc., 59 Temple Place - Suite 330,
77.28 +# Boston, MA 02111-1307, USA.
77.29 +
77.30 +# As a special exception to the GNU General Public License, if you
77.31 +# distribute this file as part of a program that contains a
77.32 +# configuration script generated by Autoconf, you may include it under
77.33 +# the same distribution terms that you use for the rest of that program.
77.34 +
77.35 +# Please send patches to <config-patches@gnu.org>. Submit a context
77.36 +# diff and a properly formatted ChangeLog entry.
77.37 +#
77.38 +# Configuration subroutine to validate and canonicalize a configuration type.
77.39 +# Supply the specified configuration type as an argument.
77.40 +# If it is invalid, we print an error message on stderr and exit with code 1.
77.41 +# Otherwise, we print the canonical config type on stdout and succeed.
77.42 +
77.43 +# This file is supposed to be the same for all GNU packages
77.44 +# and recognize all the CPU types, system types and aliases
77.45 +# that are meaningful with *any* GNU software.
77.46 +# Each package is responsible for reporting which valid configurations
77.47 +# it does not support. The user should be able to distinguish
77.48 +# a failure to support a valid configuration from a meaningless
77.49 +# configuration.
77.50 +
77.51 +# The goal of this file is to map all the various variations of a given
77.52 +# machine specification into a single specification in the form:
77.53 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
77.54 +# or in some cases, the newer four-part form:
77.55 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
77.56 +# It is wrong to echo any other type of specification.
77.57 +
77.58 +me=`echo "$0" | sed -e 's,.*/,,'`
77.59 +
77.60 +usage="\
77.61 +Usage: $0 [OPTION] CPU-MFR-OPSYS
77.62 + $0 [OPTION] ALIAS
77.63 +
77.64 +Canonicalize a configuration name.
77.65 +
77.66 +Operation modes:
77.67 + -h, --help print this help, then exit
77.68 + -t, --time-stamp print date of last modification, then exit
77.69 + -v, --version print version number, then exit
77.70 +
77.71 +Report bugs and patches to <config-patches@gnu.org>."
77.72 +
77.73 +version="\
77.74 +GNU config.sub ($timestamp)
77.75 +
77.76 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
77.77 +Free Software Foundation, Inc.
77.78 +
77.79 +This is free software; see the source for copying conditions. There is NO
77.80 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
77.81 +
77.82 +help="
77.83 +Try \`$me --help' for more information."
77.84 +
77.85 +# Parse command line
77.86 +while test $# -gt 0 ; do
77.87 + case $1 in
77.88 + --time-stamp | --time* | -t )
77.89 + echo "$timestamp" ; exit 0 ;;
77.90 + --version | -v )
77.91 + echo "$version" ; exit 0 ;;
77.92 + --help | --h* | -h )
77.93 + echo "$usage"; exit 0 ;;
77.94 + -- ) # Stop option processing
77.95 + shift; break ;;
77.96 + - ) # Use stdin as input.
77.97 + break ;;
77.98 + -* )
77.99 + echo "$me: invalid option $1$help"
77.100 + exit 1 ;;
77.101 +
77.102 + *local*)
77.103 + # First pass through any local machine types.
77.104 + echo $1
77.105 + exit 0;;
77.106 +
77.107 + * )
77.108 + break ;;
77.109 + esac
77.110 +done
77.111 +
77.112 +case $# in
77.113 + 0) echo "$me: missing argument$help" >&2
77.114 + exit 1;;
77.115 + 1) ;;
77.116 + *) echo "$me: too many arguments$help" >&2
77.117 + exit 1;;
77.118 +esac
77.119 +
77.120 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
77.121 +# Here we must recognize all the valid KERNEL-OS combinations.
77.122 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
77.123 +case $maybe_os in
77.124 + nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
77.125 + os=-$maybe_os
77.126 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
77.127 + ;;
77.128 + *)
77.129 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
77.130 + if [ $basic_machine != $1 ]
77.131 + then os=`echo $1 | sed 's/.*-/-/'`
77.132 + else os=; fi
77.133 + ;;
77.134 +esac
77.135 +
77.136 +### Let's recognize common machines as not being operating systems so
77.137 +### that things like config.sub decstation-3100 work. We also
77.138 +### recognize some manufacturers as not being operating systems, so we
77.139 +### can provide default operating systems below.
77.140 +case $os in
77.141 + -sun*os*)
77.142 + # Prevent following clause from handling this invalid input.
77.143 + ;;
77.144 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
77.145 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
77.146 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
77.147 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
77.148 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
77.149 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
77.150 + -apple | -axis)
77.151 + os=
77.152 + basic_machine=$1
77.153 + ;;
77.154 + -sim | -cisco | -oki | -wec | -winbond)
77.155 + os=
77.156 + basic_machine=$1
77.157 + ;;
77.158 + -scout)
77.159 + ;;
77.160 + -wrs)
77.161 + os=-vxworks
77.162 + basic_machine=$1
77.163 + ;;
77.164 + -chorusos*)
77.165 + os=-chorusos
77.166 + basic_machine=$1
77.167 + ;;
77.168 + -chorusrdb)
77.169 + os=-chorusrdb
77.170 + basic_machine=$1
77.171 + ;;
77.172 + -hiux*)
77.173 + os=-hiuxwe2
77.174 + ;;
77.175 + -sco5)
77.176 + os=-sco3.2v5
77.177 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.178 + ;;
77.179 + -sco4)
77.180 + os=-sco3.2v4
77.181 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.182 + ;;
77.183 + -sco3.2.[4-9]*)
77.184 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
77.185 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.186 + ;;
77.187 + -sco3.2v[4-9]*)
77.188 + # Don't forget version if it is 3.2v4 or newer.
77.189 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.190 + ;;
77.191 + -sco*)
77.192 + os=-sco3.2v2
77.193 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.194 + ;;
77.195 + -udk*)
77.196 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.197 + ;;
77.198 + -isc)
77.199 + os=-isc2.2
77.200 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.201 + ;;
77.202 + -clix*)
77.203 + basic_machine=clipper-intergraph
77.204 + ;;
77.205 + -isc*)
77.206 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
77.207 + ;;
77.208 + -lynx*)
77.209 + os=-lynxos
77.210 + ;;
77.211 + -ptx*)
77.212 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
77.213 + ;;
77.214 + -windowsnt*)
77.215 + os=`echo $os | sed -e 's/windowsnt/winnt/'`
77.216 + ;;
77.217 + -psos*)
77.218 + os=-psos
77.219 + ;;
77.220 + -mint | -mint[0-9]*)
77.221 + basic_machine=m68k-atari
77.222 + os=-mint
77.223 + ;;
77.224 +esac
77.225 +
77.226 +# Decode aliases for certain CPU-COMPANY combinations.
77.227 +case $basic_machine in
77.228 + # Recognize the basic CPU types without company name.
77.229 + # Some are omitted here because they have special meanings below.
77.230 + 1750a | 580 \
77.231 + | a29k \
77.232 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
77.233 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
77.234 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
77.235 + | clipper \
77.236 + | d10v | d30v | dlx | dsp16xx \
77.237 + | fr30 | frv \
77.238 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
77.239 + | i370 | i860 | i960 | ia64 \
77.240 + | ip2k \
77.241 + | m32r | m68000 | m68k | m88k | mcore \
77.242 + | mips | mipsbe | mipseb | mipsel | mipsle \
77.243 + | mips16 \
77.244 + | mips64 | mips64el \
77.245 + | mips64vr | mips64vrel \
77.246 + | mips64orion | mips64orionel \
77.247 + | mips64vr4100 | mips64vr4100el \
77.248 + | mips64vr4300 | mips64vr4300el \
77.249 + | mips64vr5000 | mips64vr5000el \
77.250 + | mipsisa32 | mipsisa32el \
77.251 + | mipsisa64 | mipsisa64el \
77.252 + | mipsisa64sb1 | mipsisa64sb1el \
77.253 + | mipsisa64sr71k | mipsisa64sr71kel \
77.254 + | mipstx39 | mipstx39el \
77.255 + | mn10200 | mn10300 \
77.256 + | ns16k | ns32k \
77.257 + | openrisc | or32 \
77.258 + | pdp10 | pdp11 | pj | pjl \
77.259 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
77.260 + | pyramid \
77.261 + | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
77.262 + | sh64 | sh64le \
77.263 + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
77.264 + | strongarm \
77.265 + | tahoe | thumb | tic80 | tron \
77.266 + | v850 | v850e \
77.267 + | we32k \
77.268 + | x86 | xscale | xstormy16 | xtensa \
77.269 + | z8k)
77.270 + basic_machine=$basic_machine-unknown
77.271 + ;;
77.272 + m6811 | m68hc11 | m6812 | m68hc12)
77.273 + # Motorola 68HC11/12.
77.274 + basic_machine=$basic_machine-unknown
77.275 + os=-none
77.276 + ;;
77.277 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
77.278 + ;;
77.279 +
77.280 + # We use `pc' rather than `unknown'
77.281 + # because (1) that's what they normally are, and
77.282 + # (2) the word "unknown" tends to confuse beginning users.
77.283 + i*86 | x86_64)
77.284 + basic_machine=$basic_machine-pc
77.285 + ;;
77.286 + # Object if more than one company name word.
77.287 + *-*-*)
77.288 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
77.289 + exit 1
77.290 + ;;
77.291 + # Recognize the basic CPU types with company name.
77.292 + 580-* \
77.293 + | a29k-* \
77.294 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
77.295 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
77.296 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
77.297 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
77.298 + | avr-* \
77.299 + | bs2000-* \
77.300 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
77.301 + | clipper-* | cydra-* \
77.302 + | d10v-* | d30v-* | dlx-* \
77.303 + | elxsi-* \
77.304 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
77.305 + | h8300-* | h8500-* \
77.306 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
77.307 + | i*86-* | i860-* | i960-* | ia64-* \
77.308 + | ip2k-* \
77.309 + | m32r-* \
77.310 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
77.311 + | m88110-* | m88k-* | mcore-* \
77.312 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
77.313 + | mips16-* \
77.314 + | mips64-* | mips64el-* \
77.315 + | mips64vr-* | mips64vrel-* \
77.316 + | mips64orion-* | mips64orionel-* \
77.317 + | mips64vr4100-* | mips64vr4100el-* \
77.318 + | mips64vr4300-* | mips64vr4300el-* \
77.319 + | mips64vr5000-* | mips64vr5000el-* \
77.320 + | mipsisa32-* | mipsisa32el-* \
77.321 + | mipsisa64-* | mipsisa64el-* \
77.322 + | mipsisa64sb1-* | mipsisa64sb1el-* \
77.323 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
77.324 + | mipstx39 | mipstx39el \
77.325 + | none-* | np1-* | ns16k-* | ns32k-* \
77.326 + | orion-* \
77.327 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
77.328 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
77.329 + | pyramid-* \
77.330 + | romp-* | rs6000-* \
77.331 + | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
77.332 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
77.333 + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
77.334 + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
77.335 + | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
77.336 + | v850-* | v850e-* | vax-* \
77.337 + | we32k-* \
77.338 + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
77.339 + | xtensa-* \
77.340 + | ymp-* \
77.341 + | z8k-*)
77.342 + ;;
77.343 + # Recognize the various machine names and aliases which stand
77.344 + # for a CPU type and a company and sometimes even an OS.
77.345 + 386bsd)
77.346 + basic_machine=i386-unknown
77.347 + os=-bsd
77.348 + ;;
77.349 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
77.350 + basic_machine=m68000-att
77.351 + ;;
77.352 + 3b*)
77.353 + basic_machine=we32k-att
77.354 + ;;
77.355 + a29khif)
77.356 + basic_machine=a29k-amd
77.357 + os=-udi
77.358 + ;;
77.359 + adobe68k)
77.360 + basic_machine=m68010-adobe
77.361 + os=-scout
77.362 + ;;
77.363 + alliant | fx80)
77.364 + basic_machine=fx80-alliant
77.365 + ;;
77.366 + altos | altos3068)
77.367 + basic_machine=m68k-altos
77.368 + ;;
77.369 + am29k)
77.370 + basic_machine=a29k-none
77.371 + os=-bsd
77.372 + ;;
77.373 + amdahl)
77.374 + basic_machine=580-amdahl
77.375 + os=-sysv
77.376 + ;;
77.377 + amiga | amiga-*)
77.378 + basic_machine=m68k-unknown
77.379 + ;;
77.380 + amigaos | amigados)
77.381 + basic_machine=m68k-unknown
77.382 + os=-amigaos
77.383 + ;;
77.384 + amigaunix | amix)
77.385 + basic_machine=m68k-unknown
77.386 + os=-sysv4
77.387 + ;;
77.388 + apollo68)
77.389 + basic_machine=m68k-apollo
77.390 + os=-sysv
77.391 + ;;
77.392 + apollo68bsd)
77.393 + basic_machine=m68k-apollo
77.394 + os=-bsd
77.395 + ;;
77.396 + aux)
77.397 + basic_machine=m68k-apple
77.398 + os=-aux
77.399 + ;;
77.400 + balance)
77.401 + basic_machine=ns32k-sequent
77.402 + os=-dynix
77.403 + ;;
77.404 + c90)
77.405 + basic_machine=c90-cray
77.406 + os=-unicos
77.407 + ;;
77.408 + convex-c1)
77.409 + basic_machine=c1-convex
77.410 + os=-bsd
77.411 + ;;
77.412 + convex-c2)
77.413 + basic_machine=c2-convex
77.414 + os=-bsd
77.415 + ;;
77.416 + convex-c32)
77.417 + basic_machine=c32-convex
77.418 + os=-bsd
77.419 + ;;
77.420 + convex-c34)
77.421 + basic_machine=c34-convex
77.422 + os=-bsd
77.423 + ;;
77.424 + convex-c38)
77.425 + basic_machine=c38-convex
77.426 + os=-bsd
77.427 + ;;
77.428 + cray | j90)
77.429 + basic_machine=j90-cray
77.430 + os=-unicos
77.431 + ;;
77.432 + crds | unos)
77.433 + basic_machine=m68k-crds
77.434 + ;;
77.435 + cris | cris-* | etrax*)
77.436 + basic_machine=cris-axis
77.437 + ;;
77.438 + da30 | da30-*)
77.439 + basic_machine=m68k-da30
77.440 + ;;
77.441 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
77.442 + basic_machine=mips-dec
77.443 + ;;
77.444 + decsystem10* | dec10*)
77.445 + basic_machine=pdp10-dec
77.446 + os=-tops10
77.447 + ;;
77.448 + decsystem20* | dec20*)
77.449 + basic_machine=pdp10-dec
77.450 + os=-tops20
77.451 + ;;
77.452 + delta | 3300 | motorola-3300 | motorola-delta \
77.453 + | 3300-motorola | delta-motorola)
77.454 + basic_machine=m68k-motorola
77.455 + ;;
77.456 + delta88)
77.457 + basic_machine=m88k-motorola
77.458 + os=-sysv3
77.459 + ;;
77.460 + dpx20 | dpx20-*)
77.461 + basic_machine=rs6000-bull
77.462 + os=-bosx
77.463 + ;;
77.464 + dpx2* | dpx2*-bull)
77.465 + basic_machine=m68k-bull
77.466 + os=-sysv3
77.467 + ;;
77.468 + ebmon29k)
77.469 + basic_machine=a29k-amd
77.470 + os=-ebmon
77.471 + ;;
77.472 + elxsi)
77.473 + basic_machine=elxsi-elxsi
77.474 + os=-bsd
77.475 + ;;
77.476 + encore | umax | mmax)
77.477 + basic_machine=ns32k-encore
77.478 + ;;
77.479 + es1800 | OSE68k | ose68k | ose | OSE)
77.480 + basic_machine=m68k-ericsson
77.481 + os=-ose
77.482 + ;;
77.483 + fx2800)
77.484 + basic_machine=i860-alliant
77.485 + ;;
77.486 + genix)
77.487 + basic_machine=ns32k-ns
77.488 + ;;
77.489 + gmicro)
77.490 + basic_machine=tron-gmicro
77.491 + os=-sysv
77.492 + ;;
77.493 + go32)
77.494 + basic_machine=i386-pc
77.495 + os=-go32
77.496 + ;;
77.497 + h3050r* | hiux*)
77.498 + basic_machine=hppa1.1-hitachi
77.499 + os=-hiuxwe2
77.500 + ;;
77.501 + h8300hms)
77.502 + basic_machine=h8300-hitachi
77.503 + os=-hms
77.504 + ;;
77.505 + h8300xray)
77.506 + basic_machine=h8300-hitachi
77.507 + os=-xray
77.508 + ;;
77.509 + h8500hms)
77.510 + basic_machine=h8500-hitachi
77.511 + os=-hms
77.512 + ;;
77.513 + harris)
77.514 + basic_machine=m88k-harris
77.515 + os=-sysv3
77.516 + ;;
77.517 + hp300-*)
77.518 + basic_machine=m68k-hp
77.519 + ;;
77.520 + hp300bsd)
77.521 + basic_machine=m68k-hp
77.522 + os=-bsd
77.523 + ;;
77.524 + hp300hpux)
77.525 + basic_machine=m68k-hp
77.526 + os=-hpux
77.527 + ;;
77.528 + hp3k9[0-9][0-9] | hp9[0-9][0-9])
77.529 + basic_machine=hppa1.0-hp
77.530 + ;;
77.531 + hp9k2[0-9][0-9] | hp9k31[0-9])
77.532 + basic_machine=m68000-hp
77.533 + ;;
77.534 + hp9k3[2-9][0-9])
77.535 + basic_machine=m68k-hp
77.536 + ;;
77.537 + hp9k6[0-9][0-9] | hp6[0-9][0-9])
77.538 + basic_machine=hppa1.0-hp
77.539 + ;;
77.540 + hp9k7[0-79][0-9] | hp7[0-79][0-9])
77.541 + basic_machine=hppa1.1-hp
77.542 + ;;
77.543 + hp9k78[0-9] | hp78[0-9])
77.544 + # FIXME: really hppa2.0-hp
77.545 + basic_machine=hppa1.1-hp
77.546 + ;;
77.547 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
77.548 + # FIXME: really hppa2.0-hp
77.549 + basic_machine=hppa1.1-hp
77.550 + ;;
77.551 + hp9k8[0-9][13679] | hp8[0-9][13679])
77.552 + basic_machine=hppa1.1-hp
77.553 + ;;
77.554 + hp9k8[0-9][0-9] | hp8[0-9][0-9])
77.555 + basic_machine=hppa1.0-hp
77.556 + ;;
77.557 + hppa-next)
77.558 + os=-nextstep3
77.559 + ;;
77.560 + hppaosf)
77.561 + basic_machine=hppa1.1-hp
77.562 + os=-osf
77.563 + ;;
77.564 + hppro)
77.565 + basic_machine=hppa1.1-hp
77.566 + os=-proelf
77.567 + ;;
77.568 + i370-ibm* | ibm*)
77.569 + basic_machine=i370-ibm
77.570 + ;;
77.571 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
77.572 + i*86v32)
77.573 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
77.574 + os=-sysv32
77.575 + ;;
77.576 + i*86v4*)
77.577 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
77.578 + os=-sysv4
77.579 + ;;
77.580 + i*86v)
77.581 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
77.582 + os=-sysv
77.583 + ;;
77.584 + i*86sol2)
77.585 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
77.586 + os=-solaris2
77.587 + ;;
77.588 + i386mach)
77.589 + basic_machine=i386-mach
77.590 + os=-mach
77.591 + ;;
77.592 + i386-vsta | vsta)
77.593 + basic_machine=i386-unknown
77.594 + os=-vsta
77.595 + ;;
77.596 + iris | iris4d)
77.597 + basic_machine=mips-sgi
77.598 + case $os in
77.599 + -irix*)
77.600 + ;;
77.601 + *)
77.602 + os=-irix4
77.603 + ;;
77.604 + esac
77.605 + ;;
77.606 + isi68 | isi)
77.607 + basic_machine=m68k-isi
77.608 + os=-sysv
77.609 + ;;
77.610 + m88k-omron*)
77.611 + basic_machine=m88k-omron
77.612 + ;;
77.613 + magnum | m3230)
77.614 + basic_machine=mips-mips
77.615 + os=-sysv
77.616 + ;;
77.617 + merlin)
77.618 + basic_machine=ns32k-utek
77.619 + os=-sysv
77.620 + ;;
77.621 + mingw32)
77.622 + basic_machine=i386-pc
77.623 + os=-mingw32
77.624 + ;;
77.625 + miniframe)
77.626 + basic_machine=m68000-convergent
77.627 + ;;
77.628 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
77.629 + basic_machine=m68k-atari
77.630 + os=-mint
77.631 + ;;
77.632 + mips3*-*)
77.633 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
77.634 + ;;
77.635 + mips3*)
77.636 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
77.637 + ;;
77.638 + mmix*)
77.639 + basic_machine=mmix-knuth
77.640 + os=-mmixware
77.641 + ;;
77.642 + monitor)
77.643 + basic_machine=m68k-rom68k
77.644 + os=-coff
77.645 + ;;
77.646 + morphos)
77.647 + basic_machine=powerpc-unknown
77.648 + os=-morphos
77.649 + ;;
77.650 + msdos)
77.651 + basic_machine=i386-pc
77.652 + os=-msdos
77.653 + ;;
77.654 + mvs)
77.655 + basic_machine=i370-ibm
77.656 + os=-mvs
77.657 + ;;
77.658 + ncr3000)
77.659 + basic_machine=i486-ncr
77.660 + os=-sysv4
77.661 + ;;
77.662 + netbsd386)
77.663 + basic_machine=i386-unknown
77.664 + os=-netbsd
77.665 + ;;
77.666 + netwinder)
77.667 + basic_machine=armv4l-rebel
77.668 + os=-linux
77.669 + ;;
77.670 + news | news700 | news800 | news900)
77.671 + basic_machine=m68k-sony
77.672 + os=-newsos
77.673 + ;;
77.674 + news1000)
77.675 + basic_machine=m68030-sony
77.676 + os=-newsos
77.677 + ;;
77.678 + news-3600 | risc-news)
77.679 + basic_machine=mips-sony
77.680 + os=-newsos
77.681 + ;;
77.682 + necv70)
77.683 + basic_machine=v70-nec
77.684 + os=-sysv
77.685 + ;;
77.686 + next | m*-next )
77.687 + basic_machine=m68k-next
77.688 + case $os in
77.689 + -nextstep* )
77.690 + ;;
77.691 + -ns2*)
77.692 + os=-nextstep2
77.693 + ;;
77.694 + *)
77.695 + os=-nextstep3
77.696 + ;;
77.697 + esac
77.698 + ;;
77.699 + nh3000)
77.700 + basic_machine=m68k-harris
77.701 + os=-cxux
77.702 + ;;
77.703 + nh[45]000)
77.704 + basic_machine=m88k-harris
77.705 + os=-cxux
77.706 + ;;
77.707 + nindy960)
77.708 + basic_machine=i960-intel
77.709 + os=-nindy
77.710 + ;;
77.711 + mon960)
77.712 + basic_machine=i960-intel
77.713 + os=-mon960
77.714 + ;;
77.715 + nonstopux)
77.716 + basic_machine=mips-compaq
77.717 + os=-nonstopux
77.718 + ;;
77.719 + np1)
77.720 + basic_machine=np1-gould
77.721 + ;;
77.722 + nsr-tandem)
77.723 + basic_machine=nsr-tandem
77.724 + ;;
77.725 + op50n-* | op60c-*)
77.726 + basic_machine=hppa1.1-oki
77.727 + os=-proelf
77.728 + ;;
77.729 + or32 | or32-*)
77.730 + basic_machine=or32-unknown
77.731 + os=-coff
77.732 + ;;
77.733 + OSE68000 | ose68000)
77.734 + basic_machine=m68000-ericsson
77.735 + os=-ose
77.736 + ;;
77.737 + os68k)
77.738 + basic_machine=m68k-none
77.739 + os=-os68k
77.740 + ;;
77.741 + pa-hitachi)
77.742 + basic_machine=hppa1.1-hitachi
77.743 + os=-hiuxwe2
77.744 + ;;
77.745 + paragon)
77.746 + basic_machine=i860-intel
77.747 + os=-osf
77.748 + ;;
77.749 + pbd)
77.750 + basic_machine=sparc-tti
77.751 + ;;
77.752 + pbb)
77.753 + basic_machine=m68k-tti
77.754 + ;;
77.755 + pc532 | pc532-*)
77.756 + basic_machine=ns32k-pc532
77.757 + ;;
77.758 + pentium | p5 | k5 | k6 | nexgen | viac3)
77.759 + basic_machine=i586-pc
77.760 + ;;
77.761 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
77.762 + basic_machine=i686-pc
77.763 + ;;
77.764 + pentiumii | pentium2)
77.765 + basic_machine=i686-pc
77.766 + ;;
77.767 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
77.768 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
77.769 + ;;
77.770 + pentiumpro-* | p6-* | 6x86-* | athlon-*)
77.771 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
77.772 + ;;
77.773 + pentiumii-* | pentium2-*)
77.774 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
77.775 + ;;
77.776 + pn)
77.777 + basic_machine=pn-gould
77.778 + ;;
77.779 + power) basic_machine=power-ibm
77.780 + ;;
77.781 + ppc) basic_machine=powerpc-unknown
77.782 + ;;
77.783 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
77.784 + ;;
77.785 + ppcle | powerpclittle | ppc-le | powerpc-little)
77.786 + basic_machine=powerpcle-unknown
77.787 + ;;
77.788 + ppcle-* | powerpclittle-*)
77.789 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
77.790 + ;;
77.791 + ppc64) basic_machine=powerpc64-unknown
77.792 + ;;
77.793 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
77.794 + ;;
77.795 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
77.796 + basic_machine=powerpc64le-unknown
77.797 + ;;
77.798 + ppc64le-* | powerpc64little-*)
77.799 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
77.800 + ;;
77.801 + ps2)
77.802 + basic_machine=i386-ibm
77.803 + ;;
77.804 + pw32)
77.805 + basic_machine=i586-unknown
77.806 + os=-pw32
77.807 + ;;
77.808 + rom68k)
77.809 + basic_machine=m68k-rom68k
77.810 + os=-coff
77.811 + ;;
77.812 + rm[46]00)
77.813 + basic_machine=mips-siemens
77.814 + ;;
77.815 + rtpc | rtpc-*)
77.816 + basic_machine=romp-ibm
77.817 + ;;
77.818 + s390 | s390-*)
77.819 + basic_machine=s390-ibm
77.820 + ;;
77.821 + s390x | s390x-*)
77.822 + basic_machine=s390x-ibm
77.823 + ;;
77.824 + sa29200)
77.825 + basic_machine=a29k-amd
77.826 + os=-udi
77.827 + ;;
77.828 + sb1)
77.829 + basic_machine=mipsisa64sb1-unknown
77.830 + ;;
77.831 + sb1el)
77.832 + basic_machine=mipsisa64sb1el-unknown
77.833 + ;;
77.834 + sequent)
77.835 + basic_machine=i386-sequent
77.836 + ;;
77.837 + sh)
77.838 + basic_machine=sh-hitachi
77.839 + os=-hms
77.840 + ;;
77.841 + sparclite-wrs | simso-wrs)
77.842 + basic_machine=sparclite-wrs
77.843 + os=-vxworks
77.844 + ;;
77.845 + sps7)
77.846 + basic_machine=m68k-bull
77.847 + os=-sysv2
77.848 + ;;
77.849 + spur)
77.850 + basic_machine=spur-unknown
77.851 + ;;
77.852 + st2000)
77.853 + basic_machine=m68k-tandem
77.854 + ;;
77.855 + stratus)
77.856 + basic_machine=i860-stratus
77.857 + os=-sysv4
77.858 + ;;
77.859 + sun2)
77.860 + basic_machine=m68000-sun
77.861 + ;;
77.862 + sun2os3)
77.863 + basic_machine=m68000-sun
77.864 + os=-sunos3
77.865 + ;;
77.866 + sun2os4)
77.867 + basic_machine=m68000-sun
77.868 + os=-sunos4
77.869 + ;;
77.870 + sun3os3)
77.871 + basic_machine=m68k-sun
77.872 + os=-sunos3
77.873 + ;;
77.874 + sun3os4)
77.875 + basic_machine=m68k-sun
77.876 + os=-sunos4
77.877 + ;;
77.878 + sun4os3)
77.879 + basic_machine=sparc-sun
77.880 + os=-sunos3
77.881 + ;;
77.882 + sun4os4)
77.883 + basic_machine=sparc-sun
77.884 + os=-sunos4
77.885 + ;;
77.886 + sun4sol2)
77.887 + basic_machine=sparc-sun
77.888 + os=-solaris2
77.889 + ;;
77.890 + sun3 | sun3-*)
77.891 + basic_machine=m68k-sun
77.892 + ;;
77.893 + sun4)
77.894 + basic_machine=sparc-sun
77.895 + ;;
77.896 + sun386 | sun386i | roadrunner)
77.897 + basic_machine=i386-sun
77.898 + ;;
77.899 + sv1)
77.900 + basic_machine=sv1-cray
77.901 + os=-unicos
77.902 + ;;
77.903 + symmetry)
77.904 + basic_machine=i386-sequent
77.905 + os=-dynix
77.906 + ;;
77.907 + t3d)
77.908 + basic_machine=alpha-cray
77.909 + os=-unicos
77.910 + ;;
77.911 + t3e)
77.912 + basic_machine=alphaev5-cray
77.913 + os=-unicos
77.914 + ;;
77.915 + t90)
77.916 + basic_machine=t90-cray
77.917 + os=-unicos
77.918 + ;;
77.919 + tic4x | c4x*)
77.920 + basic_machine=tic4x-unknown
77.921 + os=-coff
77.922 + ;;
77.923 + tic54x | c54x*)
77.924 + basic_machine=tic54x-unknown
77.925 + os=-coff
77.926 + ;;
77.927 + tx39)
77.928 + basic_machine=mipstx39-unknown
77.929 + ;;
77.930 + tx39el)
77.931 + basic_machine=mipstx39el-unknown
77.932 + ;;
77.933 + toad1)
77.934 + basic_machine=pdp10-xkl
77.935 + os=-tops20
77.936 + ;;
77.937 + tower | tower-32)
77.938 + basic_machine=m68k-ncr
77.939 + ;;
77.940 + udi29k)
77.941 + basic_machine=a29k-amd
77.942 + os=-udi
77.943 + ;;
77.944 + ultra3)
77.945 + basic_machine=a29k-nyu
77.946 + os=-sym1
77.947 + ;;
77.948 + v810 | necv810)
77.949 + basic_machine=v810-nec
77.950 + os=-none
77.951 + ;;
77.952 + vaxv)
77.953 + basic_machine=vax-dec
77.954 + os=-sysv
77.955 + ;;
77.956 + vms)
77.957 + basic_machine=vax-dec
77.958 + os=-vms
77.959 + ;;
77.960 + vpp*|vx|vx-*)
77.961 + basic_machine=f301-fujitsu
77.962 + ;;
77.963 + vxworks960)
77.964 + basic_machine=i960-wrs
77.965 + os=-vxworks
77.966 + ;;
77.967 + vxworks68)
77.968 + basic_machine=m68k-wrs
77.969 + os=-vxworks
77.970 + ;;
77.971 + vxworks29k)
77.972 + basic_machine=a29k-wrs
77.973 + os=-vxworks
77.974 + ;;
77.975 + w65*)
77.976 + basic_machine=w65-wdc
77.977 + os=-none
77.978 + ;;
77.979 + w89k-*)
77.980 + basic_machine=hppa1.1-winbond
77.981 + os=-proelf
77.982 + ;;
77.983 + windows32)
77.984 + basic_machine=i386-pc
77.985 + os=-windows32-msvcrt
77.986 + ;;
77.987 + xps | xps100)
77.988 + basic_machine=xps100-honeywell
77.989 + ;;
77.990 + ymp)
77.991 + basic_machine=ymp-cray
77.992 + os=-unicos
77.993 + ;;
77.994 + z8k-*-coff)
77.995 + basic_machine=z8k-unknown
77.996 + os=-sim
77.997 + ;;
77.998 + none)
77.999 + basic_machine=none-none
77.1000 + os=-none
77.1001 + ;;
77.1002 +
77.1003 +# Here we handle the default manufacturer of certain CPU types. It is in
77.1004 +# some cases the only manufacturer, in others, it is the most popular.
77.1005 + w89k)
77.1006 + basic_machine=hppa1.1-winbond
77.1007 + ;;
77.1008 + op50n)
77.1009 + basic_machine=hppa1.1-oki
77.1010 + ;;
77.1011 + op60c)
77.1012 + basic_machine=hppa1.1-oki
77.1013 + ;;
77.1014 + romp)
77.1015 + basic_machine=romp-ibm
77.1016 + ;;
77.1017 + rs6000)
77.1018 + basic_machine=rs6000-ibm
77.1019 + ;;
77.1020 + vax)
77.1021 + basic_machine=vax-dec
77.1022 + ;;
77.1023 + pdp10)
77.1024 + # there are many clones, so DEC is not a safe bet
77.1025 + basic_machine=pdp10-unknown
77.1026 + ;;
77.1027 + pdp11)
77.1028 + basic_machine=pdp11-dec
77.1029 + ;;
77.1030 + we32k)
77.1031 + basic_machine=we32k-att
77.1032 + ;;
77.1033 + sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
77.1034 + basic_machine=sh-unknown
77.1035 + ;;
77.1036 + sh64)
77.1037 + basic_machine=sh64-unknown
77.1038 + ;;
77.1039 + sparc | sparcv9 | sparcv9b)
77.1040 + basic_machine=sparc-sun
77.1041 + ;;
77.1042 + cydra)
77.1043 + basic_machine=cydra-cydrome
77.1044 + ;;
77.1045 + orion)
77.1046 + basic_machine=orion-highlevel
77.1047 + ;;
77.1048 + orion105)
77.1049 + basic_machine=clipper-highlevel
77.1050 + ;;
77.1051 + mac | mpw | mac-mpw)
77.1052 + basic_machine=m68k-apple
77.1053 + ;;
77.1054 + pmac | pmac-mpw)
77.1055 + basic_machine=powerpc-apple
77.1056 + ;;
77.1057 + *-unknown)
77.1058 + # Make sure to match an already-canonicalized machine name.
77.1059 + ;;
77.1060 + *)
77.1061 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
77.1062 + exit 1
77.1063 + ;;
77.1064 +esac
77.1065 +
77.1066 +# Here we canonicalize certain aliases for manufacturers.
77.1067 +case $basic_machine in
77.1068 + *-digital*)
77.1069 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
77.1070 + ;;
77.1071 + *-commodore*)
77.1072 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
77.1073 + ;;
77.1074 + *)
77.1075 + ;;
77.1076 +esac
77.1077 +
77.1078 +# Decode manufacturer-specific aliases for certain operating systems.
77.1079 +
77.1080 +if [ x"$os" != x"" ]
77.1081 +then
77.1082 +case $os in
77.1083 + # First match some system type aliases
77.1084 + # that might get confused with valid system types.
77.1085 + # -solaris* is a basic system type, with this one exception.
77.1086 + -solaris1 | -solaris1.*)
77.1087 + os=`echo $os | sed -e 's|solaris1|sunos4|'`
77.1088 + ;;
77.1089 + -solaris)
77.1090 + os=-solaris2
77.1091 + ;;
77.1092 + -svr4*)
77.1093 + os=-sysv4
77.1094 + ;;
77.1095 + -unixware*)
77.1096 + os=-sysv4.2uw
77.1097 + ;;
77.1098 + -gnu/linux*)
77.1099 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
77.1100 + ;;
77.1101 + # First accept the basic system types.
77.1102 + # The portable systems comes first.
77.1103 + # Each alternative MUST END IN A *, to match a version number.
77.1104 + # -sysv* is not here because it comes later, after sysvr4.
77.1105 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
77.1106 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
77.1107 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
77.1108 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
77.1109 + | -aos* \
77.1110 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
77.1111 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
77.1112 + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
77.1113 + | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
77.1114 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
77.1115 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
77.1116 + | -chorusos* | -chorusrdb* \
77.1117 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
77.1118 + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
77.1119 + | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
77.1120 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
77.1121 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
77.1122 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
77.1123 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
77.1124 + # Remember, each alternative MUST END IN *, to match a version number.
77.1125 + ;;
77.1126 + -qnx*)
77.1127 + case $basic_machine in
77.1128 + x86-* | i*86-*)
77.1129 + ;;
77.1130 + *)
77.1131 + os=-nto$os
77.1132 + ;;
77.1133 + esac
77.1134 + ;;
77.1135 + -nto*)
77.1136 + os=-nto-qnx
77.1137 + ;;
77.1138 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
77.1139 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
77.1140 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
77.1141 + ;;
77.1142 + -mac*)
77.1143 + os=`echo $os | sed -e 's|mac|macos|'`
77.1144 + ;;
77.1145 + -linux*)
77.1146 + os=`echo $os | sed -e 's|linux|linux-gnu|'`
77.1147 + ;;
77.1148 + -sunos5*)
77.1149 + os=`echo $os | sed -e 's|sunos5|solaris2|'`
77.1150 + ;;
77.1151 + -sunos6*)
77.1152 + os=`echo $os | sed -e 's|sunos6|solaris3|'`
77.1153 + ;;
77.1154 + -opened*)
77.1155 + os=-openedition
77.1156 + ;;
77.1157 + -wince*)
77.1158 + os=-wince
77.1159 + ;;
77.1160 + -osfrose*)
77.1161 + os=-osfrose
77.1162 + ;;
77.1163 + -osf*)
77.1164 + os=-osf
77.1165 + ;;
77.1166 + -utek*)
77.1167 + os=-bsd
77.1168 + ;;
77.1169 + -dynix*)
77.1170 + os=-bsd
77.1171 + ;;
77.1172 + -acis*)
77.1173 + os=-aos
77.1174 + ;;
77.1175 + -atheos*)
77.1176 + os=-atheos
77.1177 + ;;
77.1178 + -386bsd)
77.1179 + os=-bsd
77.1180 + ;;
77.1181 + -ctix* | -uts*)
77.1182 + os=-sysv
77.1183 + ;;
77.1184 + -nova*)
77.1185 + os=-rtmk-nova
77.1186 + ;;
77.1187 + -ns2 )
77.1188 + os=-nextstep2
77.1189 + ;;
77.1190 + -nsk*)
77.1191 + os=-nsk
77.1192 + ;;
77.1193 + # Preserve the version number of sinix5.
77.1194 + -sinix5.*)
77.1195 + os=`echo $os | sed -e 's|sinix|sysv|'`
77.1196 + ;;
77.1197 + -sinix*)
77.1198 + os=-sysv4
77.1199 + ;;
77.1200 + -triton*)
77.1201 + os=-sysv3
77.1202 + ;;
77.1203 + -oss*)
77.1204 + os=-sysv3
77.1205 + ;;
77.1206 + -svr4)
77.1207 + os=-sysv4
77.1208 + ;;
77.1209 + -svr3)
77.1210 + os=-sysv3
77.1211 + ;;
77.1212 + -sysvr4)
77.1213 + os=-sysv4
77.1214 + ;;
77.1215 + # This must come after -sysvr4.
77.1216 + -sysv*)
77.1217 + ;;
77.1218 + -ose*)
77.1219 + os=-ose
77.1220 + ;;
77.1221 + -es1800*)
77.1222 + os=-ose
77.1223 + ;;
77.1224 + -xenix)
77.1225 + os=-xenix
77.1226 + ;;
77.1227 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
77.1228 + os=-mint
77.1229 + ;;
77.1230 + -none)
77.1231 + ;;
77.1232 + *)
77.1233 + # Get rid of the `-' at the beginning of $os.
77.1234 + os=`echo $os | sed 's/[^-]*-//'`
77.1235 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
77.1236 + exit 1
77.1237 + ;;
77.1238 +esac
77.1239 +else
77.1240 +
77.1241 +# Here we handle the default operating systems that come with various machines.
77.1242 +# The value should be what the vendor currently ships out the door with their
77.1243 +# machine or put another way, the most popular os provided with the machine.
77.1244 +
77.1245 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
77.1246 +# "-sun"), then you have to tell the case statement up towards the top
77.1247 +# that MANUFACTURER isn't an operating system. Otherwise, code above
77.1248 +# will signal an error saying that MANUFACTURER isn't an operating
77.1249 +# system, and we'll never get to this point.
77.1250 +
77.1251 +case $basic_machine in
77.1252 + *-acorn)
77.1253 + os=-riscix1.2
77.1254 + ;;
77.1255 + arm*-rebel)
77.1256 + os=-linux
77.1257 + ;;
77.1258 + arm*-semi)
77.1259 + os=-aout
77.1260 + ;;
77.1261 + # This must come before the *-dec entry.
77.1262 + pdp10-*)
77.1263 + os=-tops20
77.1264 + ;;
77.1265 + pdp11-*)
77.1266 + os=-none
77.1267 + ;;
77.1268 + *-dec | vax-*)
77.1269 + os=-ultrix4.2
77.1270 + ;;
77.1271 + m68*-apollo)
77.1272 + os=-domain
77.1273 + ;;
77.1274 + i386-sun)
77.1275 + os=-sunos4.0.2
77.1276 + ;;
77.1277 + m68000-sun)
77.1278 + os=-sunos3
77.1279 + # This also exists in the configure program, but was not the
77.1280 + # default.
77.1281 + # os=-sunos4
77.1282 + ;;
77.1283 + m68*-cisco)
77.1284 + os=-aout
77.1285 + ;;
77.1286 + mips*-cisco)
77.1287 + os=-elf
77.1288 + ;;
77.1289 + mips*-*)
77.1290 + os=-elf
77.1291 + ;;
77.1292 + or32-*)
77.1293 + os=-coff
77.1294 + ;;
77.1295 + *-tti) # must be before sparc entry or we get the wrong os.
77.1296 + os=-sysv3
77.1297 + ;;
77.1298 + sparc-* | *-sun)
77.1299 + os=-sunos4.1.1
77.1300 + ;;
77.1301 + *-be)
77.1302 + os=-beos
77.1303 + ;;
77.1304 + *-ibm)
77.1305 + os=-aix
77.1306 + ;;
77.1307 + *-wec)
77.1308 + os=-proelf
77.1309 + ;;
77.1310 + *-winbond)
77.1311 + os=-proelf
77.1312 + ;;
77.1313 + *-oki)
77.1314 + os=-proelf
77.1315 + ;;
77.1316 + *-hp)
77.1317 + os=-hpux
77.1318 + ;;
77.1319 + *-hitachi)
77.1320 + os=-hiux
77.1321 + ;;
77.1322 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
77.1323 + os=-sysv
77.1324 + ;;
77.1325 + *-cbm)
77.1326 + os=-amigaos
77.1327 + ;;
77.1328 + *-dg)
77.1329 + os=-dgux
77.1330 + ;;
77.1331 + *-dolphin)
77.1332 + os=-sysv3
77.1333 + ;;
77.1334 + m68k-ccur)
77.1335 + os=-rtu
77.1336 + ;;
77.1337 + m88k-omron*)
77.1338 + os=-luna
77.1339 + ;;
77.1340 + *-next )
77.1341 + os=-nextstep
77.1342 + ;;
77.1343 + *-sequent)
77.1344 + os=-ptx
77.1345 + ;;
77.1346 + *-crds)
77.1347 + os=-unos
77.1348 + ;;
77.1349 + *-ns)
77.1350 + os=-genix
77.1351 + ;;
77.1352 + i370-*)
77.1353 + os=-mvs
77.1354 + ;;
77.1355 + *-next)
77.1356 + os=-nextstep3
77.1357 + ;;
77.1358 + *-gould)
77.1359 + os=-sysv
77.1360 + ;;
77.1361 + *-highlevel)
77.1362 + os=-bsd
77.1363 + ;;
77.1364 + *-encore)
77.1365 + os=-bsd
77.1366 + ;;
77.1367 + *-sgi)
77.1368 + os=-irix
77.1369 + ;;
77.1370 + *-siemens)
77.1371 + os=-sysv4
77.1372 + ;;
77.1373 + *-masscomp)
77.1374 + os=-rtu
77.1375 + ;;
77.1376 + f30[01]-fujitsu | f700-fujitsu)
77.1377 + os=-uxpv
77.1378 + ;;
77.1379 + *-rom68k)
77.1380 + os=-coff
77.1381 + ;;
77.1382 + *-*bug)
77.1383 + os=-coff
77.1384 + ;;
77.1385 + *-apple)
77.1386 + os=-macos
77.1387 + ;;
77.1388 + *-atari*)
77.1389 + os=-mint
77.1390 + ;;
77.1391 + *)
77.1392 + os=-none
77.1393 + ;;
77.1394 +esac
77.1395 +fi
77.1396 +
77.1397 +# Here we handle the case where we know the os, and the CPU type, but not the
77.1398 +# manufacturer. We pick the logical manufacturer.
77.1399 +vendor=unknown
77.1400 +case $basic_machine in
77.1401 + *-unknown)
77.1402 + case $os in
77.1403 + -riscix*)
77.1404 + vendor=acorn
77.1405 + ;;
77.1406 + -sunos*)
77.1407 + vendor=sun
77.1408 + ;;
77.1409 + -aix*)
77.1410 + vendor=ibm
77.1411 + ;;
77.1412 + -beos*)
77.1413 + vendor=be
77.1414 + ;;
77.1415 + -hpux*)
77.1416 + vendor=hp
77.1417 + ;;
77.1418 + -mpeix*)
77.1419 + vendor=hp
77.1420 + ;;
77.1421 + -hiux*)
77.1422 + vendor=hitachi
77.1423 + ;;
77.1424 + -unos*)
77.1425 + vendor=crds
77.1426 + ;;
77.1427 + -dgux*)
77.1428 + vendor=dg
77.1429 + ;;
77.1430 + -luna*)
77.1431 + vendor=omron
77.1432 + ;;
77.1433 + -genix*)
77.1434 + vendor=ns
77.1435 + ;;
77.1436 + -mvs* | -opened*)
77.1437 + vendor=ibm
77.1438 + ;;
77.1439 + -ptx*)
77.1440 + vendor=sequent
77.1441 + ;;
77.1442 + -vxsim* | -vxworks* | -windiss*)
77.1443 + vendor=wrs
77.1444 + ;;
77.1445 + -aux*)
77.1446 + vendor=apple
77.1447 + ;;
77.1448 + -hms*)
77.1449 + vendor=hitachi
77.1450 + ;;
77.1451 + -mpw* | -macos*)
77.1452 + vendor=apple
77.1453 + ;;
77.1454 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
77.1455 + vendor=atari
77.1456 + ;;
77.1457 + -vos*)
77.1458 + vendor=stratus
77.1459 + ;;
77.1460 + esac
77.1461 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
77.1462 + ;;
77.1463 +esac
77.1464 +
77.1465 +echo $basic_machine$os
77.1466 +exit 0
77.1467 +
77.1468 +# Local variables:
77.1469 +# eval: (add-hook 'write-file-hooks 'time-stamp)
77.1470 +# time-stamp-start: "timestamp='"
77.1471 +# time-stamp-format: "%:y-%02m-%02d"
77.1472 +# time-stamp-end: "'"
77.1473 +# End:
78.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
78.2 +++ b/tools/picctldisplaytest/configure Tue Jan 29 22:31:52 2008 +0100
78.3 @@ -0,0 +1,21043 @@
78.4 +#! /bin/sh
78.5 +# Guess values for system-dependent variables and create Makefiles.
78.6 +# Generated by GNU Autoconf 2.60.
78.7 +#
78.8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
78.9 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
78.10 +# This configure script is free software; the Free Software Foundation
78.11 +# gives unlimited permission to copy, distribute and modify it.
78.12 +## --------------------- ##
78.13 +## M4sh Initialization. ##
78.14 +## --------------------- ##
78.15 +
78.16 +# Be Bourne compatible
78.17 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78.18 + emulate sh
78.19 + NULLCMD=:
78.20 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
78.21 + # is contrary to our usage. Disable this feature.
78.22 + alias -g '${1+"$@"}'='"$@"'
78.23 + setopt NO_GLOB_SUBST
78.24 +else
78.25 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
78.26 +fi
78.27 +BIN_SH=xpg4; export BIN_SH # for Tru64
78.28 +DUALCASE=1; export DUALCASE # for MKS sh
78.29 +
78.30 +
78.31 +# PATH needs CR
78.32 +# Avoid depending upon Character Ranges.
78.33 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78.34 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78.35 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78.36 +as_cr_digits='0123456789'
78.37 +as_cr_alnum=$as_cr_Letters$as_cr_digits
78.38 +
78.39 +# The user is always right.
78.40 +if test "${PATH_SEPARATOR+set}" != set; then
78.41 + echo "#! /bin/sh" >conf$$.sh
78.42 + echo "exit 0" >>conf$$.sh
78.43 + chmod +x conf$$.sh
78.44 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
78.45 + PATH_SEPARATOR=';'
78.46 + else
78.47 + PATH_SEPARATOR=:
78.48 + fi
78.49 + rm -f conf$$.sh
78.50 +fi
78.51 +
78.52 +# Support unset when possible.
78.53 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
78.54 + as_unset=unset
78.55 +else
78.56 + as_unset=false
78.57 +fi
78.58 +
78.59 +
78.60 +# IFS
78.61 +# We need space, tab and new line, in precisely that order. Quoting is
78.62 +# there to prevent editors from complaining about space-tab.
78.63 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
78.64 +# splitting by setting IFS to empty value.)
78.65 +as_nl='
78.66 +'
78.67 +IFS=" "" $as_nl"
78.68 +
78.69 +# Find who we are. Look in the path if we contain no directory separator.
78.70 +case $0 in
78.71 + *[\\/]* ) as_myself=$0 ;;
78.72 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.73 +for as_dir in $PATH
78.74 +do
78.75 + IFS=$as_save_IFS
78.76 + test -z "$as_dir" && as_dir=.
78.77 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78.78 +done
78.79 +IFS=$as_save_IFS
78.80 +
78.81 + ;;
78.82 +esac
78.83 +# We did not find ourselves, most probably we were run as `sh COMMAND'
78.84 +# in which case we are not to be found in the path.
78.85 +if test "x$as_myself" = x; then
78.86 + as_myself=$0
78.87 +fi
78.88 +if test ! -f "$as_myself"; then
78.89 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78.90 + { (exit 1); exit 1; }
78.91 +fi
78.92 +
78.93 +# Work around bugs in pre-3.0 UWIN ksh.
78.94 +for as_var in ENV MAIL MAILPATH
78.95 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
78.96 +done
78.97 +PS1='$ '
78.98 +PS2='> '
78.99 +PS4='+ '
78.100 +
78.101 +# NLS nuisances.
78.102 +for as_var in \
78.103 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
78.104 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
78.105 + LC_TELEPHONE LC_TIME
78.106 +do
78.107 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
78.108 + eval $as_var=C; export $as_var
78.109 + else
78.110 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
78.111 + fi
78.112 +done
78.113 +
78.114 +# Required to use basename.
78.115 +if expr a : '\(a\)' >/dev/null 2>&1 &&
78.116 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
78.117 + as_expr=expr
78.118 +else
78.119 + as_expr=false
78.120 +fi
78.121 +
78.122 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78.123 + as_basename=basename
78.124 +else
78.125 + as_basename=false
78.126 +fi
78.127 +
78.128 +
78.129 +# Name of the executable.
78.130 +as_me=`$as_basename -- "$0" ||
78.131 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78.132 + X"$0" : 'X\(//\)$' \| \
78.133 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78.134 +echo X/"$0" |
78.135 + sed '/^.*\/\([^/][^/]*\)\/*$/{
78.136 + s//\1/
78.137 + q
78.138 + }
78.139 + /^X\/\(\/\/\)$/{
78.140 + s//\1/
78.141 + q
78.142 + }
78.143 + /^X\/\(\/\).*/{
78.144 + s//\1/
78.145 + q
78.146 + }
78.147 + s/.*/./; q'`
78.148 +
78.149 +# CDPATH.
78.150 +$as_unset CDPATH
78.151 +
78.152 +
78.153 +if test "x$CONFIG_SHELL" = x; then
78.154 + if (eval ":") 2>/dev/null; then
78.155 + as_have_required=yes
78.156 +else
78.157 + as_have_required=no
78.158 +fi
78.159 +
78.160 + if test $as_have_required = yes && (eval ":
78.161 +(as_func_return () {
78.162 + (exit \$1)
78.163 +}
78.164 +as_func_success () {
78.165 + as_func_return 0
78.166 +}
78.167 +as_func_failure () {
78.168 + as_func_return 1
78.169 +}
78.170 +as_func_ret_success () {
78.171 + return 0
78.172 +}
78.173 +as_func_ret_failure () {
78.174 + return 1
78.175 +}
78.176 +
78.177 +exitcode=0
78.178 +if as_func_success; then
78.179 + :
78.180 +else
78.181 + exitcode=1
78.182 + echo as_func_success failed.
78.183 +fi
78.184 +
78.185 +if as_func_failure; then
78.186 + exitcode=1
78.187 + echo as_func_failure succeeded.
78.188 +fi
78.189 +
78.190 +if as_func_ret_success; then
78.191 + :
78.192 +else
78.193 + exitcode=1
78.194 + echo as_func_ret_success failed.
78.195 +fi
78.196 +
78.197 +if as_func_ret_failure; then
78.198 + exitcode=1
78.199 + echo as_func_ret_failure succeeded.
78.200 +fi
78.201 +
78.202 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
78.203 + :
78.204 +else
78.205 + exitcode=1
78.206 + echo positional parameters were not saved.
78.207 +fi
78.208 +
78.209 +test \$exitcode = 0) || { (exit 1); exit 1; }
78.210 +
78.211 +(
78.212 + as_lineno_1=\$LINENO
78.213 + as_lineno_2=\$LINENO
78.214 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
78.215 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
78.216 +") 2> /dev/null; then
78.217 + :
78.218 +else
78.219 + as_candidate_shells=
78.220 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.221 +for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
78.222 +do
78.223 + IFS=$as_save_IFS
78.224 + test -z "$as_dir" && as_dir=.
78.225 + case $as_dir in
78.226 + /*)
78.227 + for as_base in sh bash ksh sh5; do
78.228 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
78.229 + done;;
78.230 + esac
78.231 +done
78.232 +IFS=$as_save_IFS
78.233 +
78.234 +
78.235 + for as_shell in $as_candidate_shells $SHELL; do
78.236 + # Try only shells that exist, to save several forks.
78.237 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
78.238 + { ("$as_shell") 2> /dev/null <<\_ASEOF
78.239 +# Be Bourne compatible
78.240 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78.241 + emulate sh
78.242 + NULLCMD=:
78.243 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
78.244 + # is contrary to our usage. Disable this feature.
78.245 + alias -g '${1+"$@"}'='"$@"'
78.246 + setopt NO_GLOB_SUBST
78.247 +else
78.248 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
78.249 +fi
78.250 +BIN_SH=xpg4; export BIN_SH # for Tru64
78.251 +DUALCASE=1; export DUALCASE # for MKS sh
78.252 +
78.253 +:
78.254 +_ASEOF
78.255 +}; then
78.256 + CONFIG_SHELL=$as_shell
78.257 + as_have_required=yes
78.258 + if { "$as_shell" 2> /dev/null <<\_ASEOF
78.259 +# Be Bourne compatible
78.260 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78.261 + emulate sh
78.262 + NULLCMD=:
78.263 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
78.264 + # is contrary to our usage. Disable this feature.
78.265 + alias -g '${1+"$@"}'='"$@"'
78.266 + setopt NO_GLOB_SUBST
78.267 +else
78.268 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
78.269 +fi
78.270 +BIN_SH=xpg4; export BIN_SH # for Tru64
78.271 +DUALCASE=1; export DUALCASE # for MKS sh
78.272 +
78.273 +:
78.274 +(as_func_return () {
78.275 + (exit $1)
78.276 +}
78.277 +as_func_success () {
78.278 + as_func_return 0
78.279 +}
78.280 +as_func_failure () {
78.281 + as_func_return 1
78.282 +}
78.283 +as_func_ret_success () {
78.284 + return 0
78.285 +}
78.286 +as_func_ret_failure () {
78.287 + return 1
78.288 +}
78.289 +
78.290 +exitcode=0
78.291 +if as_func_success; then
78.292 + :
78.293 +else
78.294 + exitcode=1
78.295 + echo as_func_success failed.
78.296 +fi
78.297 +
78.298 +if as_func_failure; then
78.299 + exitcode=1
78.300 + echo as_func_failure succeeded.
78.301 +fi
78.302 +
78.303 +if as_func_ret_success; then
78.304 + :
78.305 +else
78.306 + exitcode=1
78.307 + echo as_func_ret_success failed.
78.308 +fi
78.309 +
78.310 +if as_func_ret_failure; then
78.311 + exitcode=1
78.312 + echo as_func_ret_failure succeeded.
78.313 +fi
78.314 +
78.315 +if ( set x; as_func_ret_success y && test x = "$1" ); then
78.316 + :
78.317 +else
78.318 + exitcode=1
78.319 + echo positional parameters were not saved.
78.320 +fi
78.321 +
78.322 +test $exitcode = 0) || { (exit 1); exit 1; }
78.323 +
78.324 +(
78.325 + as_lineno_1=$LINENO
78.326 + as_lineno_2=$LINENO
78.327 + test "x$as_lineno_1" != "x$as_lineno_2" &&
78.328 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
78.329 +
78.330 +_ASEOF
78.331 +}; then
78.332 + break
78.333 +fi
78.334 +
78.335 +fi
78.336 +
78.337 + done
78.338 +
78.339 + if test "x$CONFIG_SHELL" != x; then
78.340 + for as_var in BASH_ENV ENV
78.341 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
78.342 + done
78.343 + export CONFIG_SHELL
78.344 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
78.345 +fi
78.346 +
78.347 +
78.348 + if test $as_have_required = no; then
78.349 + echo This script requires a shell more modern than all the
78.350 + echo shells that I found on your system. Please install a
78.351 + echo modern shell, or manually run the script under such a
78.352 + echo shell if you do have one.
78.353 + { (exit 1); exit 1; }
78.354 +fi
78.355 +
78.356 +
78.357 +fi
78.358 +
78.359 +fi
78.360 +
78.361 +
78.362 +
78.363 +(eval "as_func_return () {
78.364 + (exit \$1)
78.365 +}
78.366 +as_func_success () {
78.367 + as_func_return 0
78.368 +}
78.369 +as_func_failure () {
78.370 + as_func_return 1
78.371 +}
78.372 +as_func_ret_success () {
78.373 + return 0
78.374 +}
78.375 +as_func_ret_failure () {
78.376 + return 1
78.377 +}
78.378 +
78.379 +exitcode=0
78.380 +if as_func_success; then
78.381 + :
78.382 +else
78.383 + exitcode=1
78.384 + echo as_func_success failed.
78.385 +fi
78.386 +
78.387 +if as_func_failure; then
78.388 + exitcode=1
78.389 + echo as_func_failure succeeded.
78.390 +fi
78.391 +
78.392 +if as_func_ret_success; then
78.393 + :
78.394 +else
78.395 + exitcode=1
78.396 + echo as_func_ret_success failed.
78.397 +fi
78.398 +
78.399 +if as_func_ret_failure; then
78.400 + exitcode=1
78.401 + echo as_func_ret_failure succeeded.
78.402 +fi
78.403 +
78.404 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
78.405 + :
78.406 +else
78.407 + exitcode=1
78.408 + echo positional parameters were not saved.
78.409 +fi
78.410 +
78.411 +test \$exitcode = 0") || {
78.412 + echo No shell found that supports shell functions.
78.413 + echo Please tell autoconf@gnu.org about your system,
78.414 + echo including any error possibly output before this
78.415 + echo message
78.416 +}
78.417 +
78.418 +
78.419 +
78.420 + as_lineno_1=$LINENO
78.421 + as_lineno_2=$LINENO
78.422 + test "x$as_lineno_1" != "x$as_lineno_2" &&
78.423 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
78.424 +
78.425 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
78.426 + # uniformly replaced by the line number. The first 'sed' inserts a
78.427 + # line-number line after each line using $LINENO; the second 'sed'
78.428 + # does the real work. The second script uses 'N' to pair each
78.429 + # line-number line with the line containing $LINENO, and appends
78.430 + # trailing '-' during substitution so that $LINENO is not a special
78.431 + # case at line end.
78.432 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
78.433 + # scripts with optimization help from Paolo Bonzini. Blame Lee
78.434 + # E. McMahon (1931-1989) for sed's syntax. :-)
78.435 + sed -n '
78.436 + p
78.437 + /[$]LINENO/=
78.438 + ' <$as_myself |
78.439 + sed '
78.440 + s/[$]LINENO.*/&-/
78.441 + t lineno
78.442 + b
78.443 + :lineno
78.444 + N
78.445 + :loop
78.446 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
78.447 + t loop
78.448 + s/-\n.*//
78.449 + ' >$as_me.lineno &&
78.450 + chmod +x "$as_me.lineno" ||
78.451 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
78.452 + { (exit 1); exit 1; }; }
78.453 +
78.454 + # Don't try to exec as it changes $[0], causing all sort of problems
78.455 + # (the dirname of $[0] is not the place where we might find the
78.456 + # original and so on. Autoconf is especially sensitive to this).
78.457 + . "./$as_me.lineno"
78.458 + # Exit status is that of the last command.
78.459 + exit
78.460 +}
78.461 +
78.462 +
78.463 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78.464 + as_dirname=dirname
78.465 +else
78.466 + as_dirname=false
78.467 +fi
78.468 +
78.469 +ECHO_C= ECHO_N= ECHO_T=
78.470 +case `echo -n x` in
78.471 +-n*)
78.472 + case `echo 'x\c'` in
78.473 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78.474 + *) ECHO_C='\c';;
78.475 + esac;;
78.476 +*)
78.477 + ECHO_N='-n';;
78.478 +esac
78.479 +
78.480 +if expr a : '\(a\)' >/dev/null 2>&1 &&
78.481 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
78.482 + as_expr=expr
78.483 +else
78.484 + as_expr=false
78.485 +fi
78.486 +
78.487 +rm -f conf$$ conf$$.exe conf$$.file
78.488 +if test -d conf$$.dir; then
78.489 + rm -f conf$$.dir/conf$$.file
78.490 +else
78.491 + rm -f conf$$.dir
78.492 + mkdir conf$$.dir
78.493 +fi
78.494 +echo >conf$$.file
78.495 +if ln -s conf$$.file conf$$ 2>/dev/null; then
78.496 + as_ln_s='ln -s'
78.497 + # ... but there are two gotchas:
78.498 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78.499 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78.500 + # In both cases, we have to default to `cp -p'.
78.501 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78.502 + as_ln_s='cp -p'
78.503 +elif ln conf$$.file conf$$ 2>/dev/null; then
78.504 + as_ln_s=ln
78.505 +else
78.506 + as_ln_s='cp -p'
78.507 +fi
78.508 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78.509 +rmdir conf$$.dir 2>/dev/null
78.510 +
78.511 +if mkdir -p . 2>/dev/null; then
78.512 + as_mkdir_p=:
78.513 +else
78.514 + test -d ./-p && rmdir ./-p
78.515 + as_mkdir_p=false
78.516 +fi
78.517 +
78.518 +# Find out whether ``test -x'' works. Don't use a zero-byte file, as
78.519 +# systems may use methods other than mode bits to determine executability.
78.520 +cat >conf$$.file <<_ASEOF
78.521 +#! /bin/sh
78.522 +exit 0
78.523 +_ASEOF
78.524 +chmod +x conf$$.file
78.525 +if test -x conf$$.file >/dev/null 2>&1; then
78.526 + as_executable_p="test -x"
78.527 +else
78.528 + as_executable_p=:
78.529 +fi
78.530 +rm -f conf$$.file
78.531 +
78.532 +# Sed expression to map a string onto a valid CPP name.
78.533 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78.534 +
78.535 +# Sed expression to map a string onto a valid variable name.
78.536 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78.537 +
78.538 +
78.539 +
78.540 +
78.541 +# Check that we are running under the correct shell.
78.542 +SHELL=${CONFIG_SHELL-/bin/sh}
78.543 +
78.544 +case X$ECHO in
78.545 +X*--fallback-echo)
78.546 + # Remove one level of quotation (which was required for Make).
78.547 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
78.548 + ;;
78.549 +esac
78.550 +
78.551 +echo=${ECHO-echo}
78.552 +if test "X$1" = X--no-reexec; then
78.553 + # Discard the --no-reexec flag, and continue.
78.554 + shift
78.555 +elif test "X$1" = X--fallback-echo; then
78.556 + # Avoid inline document here, it may be left over
78.557 + :
78.558 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
78.559 + # Yippee, $echo works!
78.560 + :
78.561 +else
78.562 + # Restart under the correct shell.
78.563 + exec $SHELL "$0" --no-reexec ${1+"$@"}
78.564 +fi
78.565 +
78.566 +if test "X$1" = X--fallback-echo; then
78.567 + # used as fallback echo
78.568 + shift
78.569 + cat <<EOF
78.570 +$*
78.571 +EOF
78.572 + exit 0
78.573 +fi
78.574 +
78.575 +# The HP-UX ksh and POSIX shell print the target directory to stdout
78.576 +# if CDPATH is set.
78.577 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78.578 +
78.579 +if test -z "$ECHO"; then
78.580 +if test "X${echo_test_string+set}" != Xset; then
78.581 +# find a string as large as possible, as long as the shell can cope with it
78.582 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
78.583 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
78.584 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
78.585 + echo_test_string=`eval $cmd` &&
78.586 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
78.587 + then
78.588 + break
78.589 + fi
78.590 + done
78.591 +fi
78.592 +
78.593 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
78.594 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
78.595 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.596 + :
78.597 +else
78.598 + # The Solaris, AIX, and Digital Unix default echo programs unquote
78.599 + # backslashes. This makes it impossible to quote backslashes using
78.600 + # echo "$something" | sed 's/\\/\\\\/g'
78.601 + #
78.602 + # So, first we look for a working echo in the user's PATH.
78.603 +
78.604 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.605 + for dir in $PATH /usr/ucb; do
78.606 + IFS="$lt_save_ifs"
78.607 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
78.608 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
78.609 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
78.610 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.611 + echo="$dir/echo"
78.612 + break
78.613 + fi
78.614 + done
78.615 + IFS="$lt_save_ifs"
78.616 +
78.617 + if test "X$echo" = Xecho; then
78.618 + # We didn't find a better echo, so look for alternatives.
78.619 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
78.620 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
78.621 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.622 + # This shell has a builtin print -r that does the trick.
78.623 + echo='print -r'
78.624 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
78.625 + test "X$CONFIG_SHELL" != X/bin/ksh; then
78.626 + # If we have ksh, try running configure again with it.
78.627 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78.628 + export ORIGINAL_CONFIG_SHELL
78.629 + CONFIG_SHELL=/bin/ksh
78.630 + export CONFIG_SHELL
78.631 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
78.632 + else
78.633 + # Try using printf.
78.634 + echo='printf %s\n'
78.635 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
78.636 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
78.637 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.638 + # Cool, printf works
78.639 + :
78.640 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
78.641 + test "X$echo_testing_string" = 'X\t' &&
78.642 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
78.643 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.644 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
78.645 + export CONFIG_SHELL
78.646 + SHELL="$CONFIG_SHELL"
78.647 + export SHELL
78.648 + echo="$CONFIG_SHELL $0 --fallback-echo"
78.649 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
78.650 + test "X$echo_testing_string" = 'X\t' &&
78.651 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
78.652 + test "X$echo_testing_string" = "X$echo_test_string"; then
78.653 + echo="$CONFIG_SHELL $0 --fallback-echo"
78.654 + else
78.655 + # maybe with a smaller string...
78.656 + prev=:
78.657 +
78.658 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
78.659 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
78.660 + then
78.661 + break
78.662 + fi
78.663 + prev="$cmd"
78.664 + done
78.665 +
78.666 + if test "$prev" != 'sed 50q "$0"'; then
78.667 + echo_test_string=`eval $prev`
78.668 + export echo_test_string
78.669 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
78.670 + else
78.671 + # Oops. We lost completely, so just stick with echo.
78.672 + echo=echo
78.673 + fi
78.674 + fi
78.675 + fi
78.676 + fi
78.677 +fi
78.678 +fi
78.679 +
78.680 +# Copy echo and quote the copy suitably for passing to libtool from
78.681 +# the Makefile, instead of quoting the original, which is used later.
78.682 +ECHO=$echo
78.683 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
78.684 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
78.685 +fi
78.686 +
78.687 +
78.688 +
78.689 +
78.690 +tagnames=${tagnames+${tagnames},}CXX
78.691 +
78.692 +tagnames=${tagnames+${tagnames},}F77
78.693 +
78.694 +exec 7<&0 </dev/null 6>&1
78.695 +
78.696 +# Name of the host.
78.697 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
78.698 +# so uname gets run too.
78.699 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
78.700 +
78.701 +#
78.702 +# Initializations.
78.703 +#
78.704 +ac_default_prefix=/usr/local
78.705 +ac_clean_files=
78.706 +ac_config_libobj_dir=.
78.707 +LIBOBJS=
78.708 +cross_compiling=no
78.709 +subdirs=
78.710 +MFLAGS=
78.711 +MAKEFLAGS=
78.712 +SHELL=${CONFIG_SHELL-/bin/sh}
78.713 +
78.714 +# Identity of this package.
78.715 +PACKAGE_NAME=
78.716 +PACKAGE_TARNAME=
78.717 +PACKAGE_VERSION=
78.718 +PACKAGE_STRING=
78.719 +PACKAGE_BUGREPORT=
78.720 +
78.721 +ac_unique_file="configure.in"
78.722 +# Factoring default headers for most tests.
78.723 +ac_includes_default="\
78.724 +#include <stdio.h>
78.725 +#if HAVE_SYS_TYPES_H
78.726 +# include <sys/types.h>
78.727 +#endif
78.728 +#if HAVE_SYS_STAT_H
78.729 +# include <sys/stat.h>
78.730 +#endif
78.731 +#if STDC_HEADERS
78.732 +# include <stdlib.h>
78.733 +# include <stddef.h>
78.734 +#else
78.735 +# if HAVE_STDLIB_H
78.736 +# include <stdlib.h>
78.737 +# endif
78.738 +#endif
78.739 +#if HAVE_STRING_H
78.740 +# if !STDC_HEADERS && HAVE_MEMORY_H
78.741 +# include <memory.h>
78.742 +# endif
78.743 +# include <string.h>
78.744 +#endif
78.745 +#if HAVE_STRINGS_H
78.746 +# include <strings.h>
78.747 +#endif
78.748 +#if HAVE_INTTYPES_H
78.749 +# include <inttypes.h>
78.750 +#endif
78.751 +#if HAVE_STDINT_H
78.752 +# include <stdint.h>
78.753 +#endif
78.754 +#if HAVE_UNISTD_H
78.755 +# include <unistd.h>
78.756 +#endif"
78.757 +
78.758 +ac_subst_vars='SHELL
78.759 +PATH_SEPARATOR
78.760 +PACKAGE_NAME
78.761 +PACKAGE_TARNAME
78.762 +PACKAGE_VERSION
78.763 +PACKAGE_STRING
78.764 +PACKAGE_BUGREPORT
78.765 +exec_prefix
78.766 +prefix
78.767 +program_transform_name
78.768 +bindir
78.769 +sbindir
78.770 +libexecdir
78.771 +datarootdir
78.772 +datadir
78.773 +sysconfdir
78.774 +sharedstatedir
78.775 +localstatedir
78.776 +includedir
78.777 +oldincludedir
78.778 +docdir
78.779 +infodir
78.780 +htmldir
78.781 +dvidir
78.782 +pdfdir
78.783 +psdir
78.784 +libdir
78.785 +localedir
78.786 +mandir
78.787 +DEFS
78.788 +ECHO_C
78.789 +ECHO_N
78.790 +ECHO_T
78.791 +LIBS
78.792 +build_alias
78.793 +host_alias
78.794 +target_alias
78.795 +INSTALL_PROGRAM
78.796 +INSTALL_SCRIPT
78.797 +INSTALL_DATA
78.798 +CYGPATH_W
78.799 +PACKAGE
78.800 +VERSION
78.801 +ACLOCAL
78.802 +AUTOCONF
78.803 +AUTOMAKE
78.804 +AUTOHEADER
78.805 +MAKEINFO
78.806 +install_sh
78.807 +STRIP
78.808 +INSTALL_STRIP_PROGRAM
78.809 +mkdir_p
78.810 +AWK
78.811 +SET_MAKE
78.812 +am__leading_dot
78.813 +AMTAR
78.814 +am__tar
78.815 +am__untar
78.816 +CXX
78.817 +CXXFLAGS
78.818 +LDFLAGS
78.819 +CPPFLAGS
78.820 +ac_ct_CXX
78.821 +EXEEXT
78.822 +OBJEXT
78.823 +DEPDIR
78.824 +am__include
78.825 +am__quote
78.826 +AMDEP_TRUE
78.827 +AMDEP_FALSE
78.828 +AMDEPBACKSLASH
78.829 +CXXDEPMODE
78.830 +am__fastdepCXX_TRUE
78.831 +am__fastdepCXX_FALSE
78.832 +build
78.833 +build_cpu
78.834 +build_vendor
78.835 +build_os
78.836 +host
78.837 +host_cpu
78.838 +host_vendor
78.839 +host_os
78.840 +CC
78.841 +CFLAGS
78.842 +ac_ct_CC
78.843 +CCDEPMODE
78.844 +am__fastdepCC_TRUE
78.845 +am__fastdepCC_FALSE
78.846 +GREP
78.847 +EGREP
78.848 +LN_S
78.849 +ECHO
78.850 +AR
78.851 +RANLIB
78.852 +CPP
78.853 +CXXCPP
78.854 +F77
78.855 +FFLAGS
78.856 +ac_ct_F77
78.857 +LIBTOOL
78.858 +LIBOBJS
78.859 +LTLIBOBJS'
78.860 +ac_subst_files=''
78.861 + ac_precious_vars='build_alias
78.862 +host_alias
78.863 +target_alias
78.864 +CXX
78.865 +CXXFLAGS
78.866 +LDFLAGS
78.867 +CPPFLAGS
78.868 +CCC
78.869 +CC
78.870 +CFLAGS
78.871 +CPP
78.872 +CXXCPP
78.873 +F77
78.874 +FFLAGS'
78.875 +
78.876 +
78.877 +# Initialize some variables set by options.
78.878 +ac_init_help=
78.879 +ac_init_version=false
78.880 +# The variables have the same names as the options, with
78.881 +# dashes changed to underlines.
78.882 +cache_file=/dev/null
78.883 +exec_prefix=NONE
78.884 +no_create=
78.885 +no_recursion=
78.886 +prefix=NONE
78.887 +program_prefix=NONE
78.888 +program_suffix=NONE
78.889 +program_transform_name=s,x,x,
78.890 +silent=
78.891 +site=
78.892 +srcdir=
78.893 +verbose=
78.894 +x_includes=NONE
78.895 +x_libraries=NONE
78.896 +
78.897 +# Installation directory options.
78.898 +# These are left unexpanded so users can "make install exec_prefix=/foo"
78.899 +# and all the variables that are supposed to be based on exec_prefix
78.900 +# by default will actually change.
78.901 +# Use braces instead of parens because sh, perl, etc. also accept them.
78.902 +# (The list follows the same order as the GNU Coding Standards.)
78.903 +bindir='${exec_prefix}/bin'
78.904 +sbindir='${exec_prefix}/sbin'
78.905 +libexecdir='${exec_prefix}/libexec'
78.906 +datarootdir='${prefix}/share'
78.907 +datadir='${datarootdir}'
78.908 +sysconfdir='${prefix}/etc'
78.909 +sharedstatedir='${prefix}/com'
78.910 +localstatedir='${prefix}/var'
78.911 +includedir='${prefix}/include'
78.912 +oldincludedir='/usr/include'
78.913 +docdir='${datarootdir}/doc/${PACKAGE}'
78.914 +infodir='${datarootdir}/info'
78.915 +htmldir='${docdir}'
78.916 +dvidir='${docdir}'
78.917 +pdfdir='${docdir}'
78.918 +psdir='${docdir}'
78.919 +libdir='${exec_prefix}/lib'
78.920 +localedir='${datarootdir}/locale'
78.921 +mandir='${datarootdir}/man'
78.922 +
78.923 +ac_prev=
78.924 +ac_dashdash=
78.925 +for ac_option
78.926 +do
78.927 + # If the previous option needs an argument, assign it.
78.928 + if test -n "$ac_prev"; then
78.929 + eval $ac_prev=\$ac_option
78.930 + ac_prev=
78.931 + continue
78.932 + fi
78.933 +
78.934 + case $ac_option in
78.935 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
78.936 + *) ac_optarg=yes ;;
78.937 + esac
78.938 +
78.939 + # Accept the important Cygnus configure options, so we can diagnose typos.
78.940 +
78.941 + case $ac_dashdash$ac_option in
78.942 + --)
78.943 + ac_dashdash=yes ;;
78.944 +
78.945 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
78.946 + ac_prev=bindir ;;
78.947 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
78.948 + bindir=$ac_optarg ;;
78.949 +
78.950 + -build | --build | --buil | --bui | --bu)
78.951 + ac_prev=build_alias ;;
78.952 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
78.953 + build_alias=$ac_optarg ;;
78.954 +
78.955 + -cache-file | --cache-file | --cache-fil | --cache-fi \
78.956 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
78.957 + ac_prev=cache_file ;;
78.958 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
78.959 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
78.960 + cache_file=$ac_optarg ;;
78.961 +
78.962 + --config-cache | -C)
78.963 + cache_file=config.cache ;;
78.964 +
78.965 + -datadir | --datadir | --datadi | --datad)
78.966 + ac_prev=datadir ;;
78.967 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
78.968 + datadir=$ac_optarg ;;
78.969 +
78.970 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
78.971 + | --dataroo | --dataro | --datar)
78.972 + ac_prev=datarootdir ;;
78.973 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
78.974 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
78.975 + datarootdir=$ac_optarg ;;
78.976 +
78.977 + -disable-* | --disable-*)
78.978 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
78.979 + # Reject names that are not valid shell variable names.
78.980 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
78.981 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
78.982 + { (exit 1); exit 1; }; }
78.983 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
78.984 + eval enable_$ac_feature=no ;;
78.985 +
78.986 + -docdir | --docdir | --docdi | --doc | --do)
78.987 + ac_prev=docdir ;;
78.988 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
78.989 + docdir=$ac_optarg ;;
78.990 +
78.991 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
78.992 + ac_prev=dvidir ;;
78.993 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
78.994 + dvidir=$ac_optarg ;;
78.995 +
78.996 + -enable-* | --enable-*)
78.997 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
78.998 + # Reject names that are not valid shell variable names.
78.999 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
78.1000 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
78.1001 + { (exit 1); exit 1; }; }
78.1002 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
78.1003 + eval enable_$ac_feature=\$ac_optarg ;;
78.1004 +
78.1005 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
78.1006 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
78.1007 + | --exec | --exe | --ex)
78.1008 + ac_prev=exec_prefix ;;
78.1009 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
78.1010 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
78.1011 + | --exec=* | --exe=* | --ex=*)
78.1012 + exec_prefix=$ac_optarg ;;
78.1013 +
78.1014 + -gas | --gas | --ga | --g)
78.1015 + # Obsolete; use --with-gas.
78.1016 + with_gas=yes ;;
78.1017 +
78.1018 + -help | --help | --hel | --he | -h)
78.1019 + ac_init_help=long ;;
78.1020 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
78.1021 + ac_init_help=recursive ;;
78.1022 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
78.1023 + ac_init_help=short ;;
78.1024 +
78.1025 + -host | --host | --hos | --ho)
78.1026 + ac_prev=host_alias ;;
78.1027 + -host=* | --host=* | --hos=* | --ho=*)
78.1028 + host_alias=$ac_optarg ;;
78.1029 +
78.1030 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
78.1031 + ac_prev=htmldir ;;
78.1032 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
78.1033 + | --ht=*)
78.1034 + htmldir=$ac_optarg ;;
78.1035 +
78.1036 + -includedir | --includedir | --includedi | --included | --include \
78.1037 + | --includ | --inclu | --incl | --inc)
78.1038 + ac_prev=includedir ;;
78.1039 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
78.1040 + | --includ=* | --inclu=* | --incl=* | --inc=*)
78.1041 + includedir=$ac_optarg ;;
78.1042 +
78.1043 + -infodir | --infodir | --infodi | --infod | --info | --inf)
78.1044 + ac_prev=infodir ;;
78.1045 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
78.1046 + infodir=$ac_optarg ;;
78.1047 +
78.1048 + -libdir | --libdir | --libdi | --libd)
78.1049 + ac_prev=libdir ;;
78.1050 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
78.1051 + libdir=$ac_optarg ;;
78.1052 +
78.1053 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
78.1054 + | --libexe | --libex | --libe)
78.1055 + ac_prev=libexecdir ;;
78.1056 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
78.1057 + | --libexe=* | --libex=* | --libe=*)
78.1058 + libexecdir=$ac_optarg ;;
78.1059 +
78.1060 + -localedir | --localedir | --localedi | --localed | --locale)
78.1061 + ac_prev=localedir ;;
78.1062 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
78.1063 + localedir=$ac_optarg ;;
78.1064 +
78.1065 + -localstatedir | --localstatedir | --localstatedi | --localstated \
78.1066 + | --localstate | --localstat | --localsta | --localst | --locals)
78.1067 + ac_prev=localstatedir ;;
78.1068 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
78.1069 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
78.1070 + localstatedir=$ac_optarg ;;
78.1071 +
78.1072 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
78.1073 + ac_prev=mandir ;;
78.1074 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
78.1075 + mandir=$ac_optarg ;;
78.1076 +
78.1077 + -nfp | --nfp | --nf)
78.1078 + # Obsolete; use --without-fp.
78.1079 + with_fp=no ;;
78.1080 +
78.1081 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
78.1082 + | --no-cr | --no-c | -n)
78.1083 + no_create=yes ;;
78.1084 +
78.1085 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
78.1086 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
78.1087 + no_recursion=yes ;;
78.1088 +
78.1089 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
78.1090 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
78.1091 + | --oldin | --oldi | --old | --ol | --o)
78.1092 + ac_prev=oldincludedir ;;
78.1093 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
78.1094 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
78.1095 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
78.1096 + oldincludedir=$ac_optarg ;;
78.1097 +
78.1098 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
78.1099 + ac_prev=prefix ;;
78.1100 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
78.1101 + prefix=$ac_optarg ;;
78.1102 +
78.1103 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
78.1104 + | --program-pre | --program-pr | --program-p)
78.1105 + ac_prev=program_prefix ;;
78.1106 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
78.1107 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
78.1108 + program_prefix=$ac_optarg ;;
78.1109 +
78.1110 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
78.1111 + | --program-suf | --program-su | --program-s)
78.1112 + ac_prev=program_suffix ;;
78.1113 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
78.1114 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
78.1115 + program_suffix=$ac_optarg ;;
78.1116 +
78.1117 + -program-transform-name | --program-transform-name \
78.1118 + | --program-transform-nam | --program-transform-na \
78.1119 + | --program-transform-n | --program-transform- \
78.1120 + | --program-transform | --program-transfor \
78.1121 + | --program-transfo | --program-transf \
78.1122 + | --program-trans | --program-tran \
78.1123 + | --progr-tra | --program-tr | --program-t)
78.1124 + ac_prev=program_transform_name ;;
78.1125 + -program-transform-name=* | --program-transform-name=* \
78.1126 + | --program-transform-nam=* | --program-transform-na=* \
78.1127 + | --program-transform-n=* | --program-transform-=* \
78.1128 + | --program-transform=* | --program-transfor=* \
78.1129 + | --program-transfo=* | --program-transf=* \
78.1130 + | --program-trans=* | --program-tran=* \
78.1131 + | --progr-tra=* | --program-tr=* | --program-t=*)
78.1132 + program_transform_name=$ac_optarg ;;
78.1133 +
78.1134 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
78.1135 + ac_prev=pdfdir ;;
78.1136 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
78.1137 + pdfdir=$ac_optarg ;;
78.1138 +
78.1139 + -psdir | --psdir | --psdi | --psd | --ps)
78.1140 + ac_prev=psdir ;;
78.1141 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
78.1142 + psdir=$ac_optarg ;;
78.1143 +
78.1144 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78.1145 + | -silent | --silent | --silen | --sile | --sil)
78.1146 + silent=yes ;;
78.1147 +
78.1148 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
78.1149 + ac_prev=sbindir ;;
78.1150 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
78.1151 + | --sbi=* | --sb=*)
78.1152 + sbindir=$ac_optarg ;;
78.1153 +
78.1154 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
78.1155 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
78.1156 + | --sharedst | --shareds | --shared | --share | --shar \
78.1157 + | --sha | --sh)
78.1158 + ac_prev=sharedstatedir ;;
78.1159 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
78.1160 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
78.1161 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
78.1162 + | --sha=* | --sh=*)
78.1163 + sharedstatedir=$ac_optarg ;;
78.1164 +
78.1165 + -site | --site | --sit)
78.1166 + ac_prev=site ;;
78.1167 + -site=* | --site=* | --sit=*)
78.1168 + site=$ac_optarg ;;
78.1169 +
78.1170 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
78.1171 + ac_prev=srcdir ;;
78.1172 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
78.1173 + srcdir=$ac_optarg ;;
78.1174 +
78.1175 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
78.1176 + | --syscon | --sysco | --sysc | --sys | --sy)
78.1177 + ac_prev=sysconfdir ;;
78.1178 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
78.1179 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
78.1180 + sysconfdir=$ac_optarg ;;
78.1181 +
78.1182 + -target | --target | --targe | --targ | --tar | --ta | --t)
78.1183 + ac_prev=target_alias ;;
78.1184 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
78.1185 + target_alias=$ac_optarg ;;
78.1186 +
78.1187 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
78.1188 + verbose=yes ;;
78.1189 +
78.1190 + -version | --version | --versio | --versi | --vers | -V)
78.1191 + ac_init_version=: ;;
78.1192 +
78.1193 + -with-* | --with-*)
78.1194 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
78.1195 + # Reject names that are not valid shell variable names.
78.1196 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
78.1197 + { echo "$as_me: error: invalid package name: $ac_package" >&2
78.1198 + { (exit 1); exit 1; }; }
78.1199 + ac_package=`echo $ac_package| sed 's/-/_/g'`
78.1200 + eval with_$ac_package=\$ac_optarg ;;
78.1201 +
78.1202 + -without-* | --without-*)
78.1203 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
78.1204 + # Reject names that are not valid shell variable names.
78.1205 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
78.1206 + { echo "$as_me: error: invalid package name: $ac_package" >&2
78.1207 + { (exit 1); exit 1; }; }
78.1208 + ac_package=`echo $ac_package | sed 's/-/_/g'`
78.1209 + eval with_$ac_package=no ;;
78.1210 +
78.1211 + --x)
78.1212 + # Obsolete; use --with-x.
78.1213 + with_x=yes ;;
78.1214 +
78.1215 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
78.1216 + | --x-incl | --x-inc | --x-in | --x-i)
78.1217 + ac_prev=x_includes ;;
78.1218 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
78.1219 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
78.1220 + x_includes=$ac_optarg ;;
78.1221 +
78.1222 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
78.1223 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
78.1224 + ac_prev=x_libraries ;;
78.1225 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
78.1226 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
78.1227 + x_libraries=$ac_optarg ;;
78.1228 +
78.1229 + -*) { echo "$as_me: error: unrecognized option: $ac_option
78.1230 +Try \`$0 --help' for more information." >&2
78.1231 + { (exit 1); exit 1; }; }
78.1232 + ;;
78.1233 +
78.1234 + *=*)
78.1235 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
78.1236 + # Reject names that are not valid shell variable names.
78.1237 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
78.1238 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
78.1239 + { (exit 1); exit 1; }; }
78.1240 + eval $ac_envvar=\$ac_optarg
78.1241 + export $ac_envvar ;;
78.1242 +
78.1243 + *)
78.1244 + # FIXME: should be removed in autoconf 3.0.
78.1245 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
78.1246 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
78.1247 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
78.1248 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
78.1249 + ;;
78.1250 +
78.1251 + esac
78.1252 +done
78.1253 +
78.1254 +if test -n "$ac_prev"; then
78.1255 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
78.1256 + { echo "$as_me: error: missing argument to $ac_option" >&2
78.1257 + { (exit 1); exit 1; }; }
78.1258 +fi
78.1259 +
78.1260 +# Be sure to have absolute directory names.
78.1261 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
78.1262 + datadir sysconfdir sharedstatedir localstatedir includedir \
78.1263 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
78.1264 + libdir localedir mandir
78.1265 +do
78.1266 + eval ac_val=\$$ac_var
78.1267 + case $ac_val in
78.1268 + [\\/$]* | ?:[\\/]* ) continue;;
78.1269 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
78.1270 + esac
78.1271 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
78.1272 + { (exit 1); exit 1; }; }
78.1273 +done
78.1274 +
78.1275 +# There might be people who depend on the old broken behavior: `$host'
78.1276 +# used to hold the argument of --host etc.
78.1277 +# FIXME: To remove some day.
78.1278 +build=$build_alias
78.1279 +host=$host_alias
78.1280 +target=$target_alias
78.1281 +
78.1282 +# FIXME: To remove some day.
78.1283 +if test "x$host_alias" != x; then
78.1284 + if test "x$build_alias" = x; then
78.1285 + cross_compiling=maybe
78.1286 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
78.1287 + If a cross compiler is detected then cross compile mode will be used." >&2
78.1288 + elif test "x$build_alias" != "x$host_alias"; then
78.1289 + cross_compiling=yes
78.1290 + fi
78.1291 +fi
78.1292 +
78.1293 +ac_tool_prefix=
78.1294 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
78.1295 +
78.1296 +test "$silent" = yes && exec 6>/dev/null
78.1297 +
78.1298 +
78.1299 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
78.1300 +ac_ls_di=`ls -di .` &&
78.1301 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
78.1302 + { echo "$as_me: error: Working directory cannot be determined" >&2
78.1303 + { (exit 1); exit 1; }; }
78.1304 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
78.1305 + { echo "$as_me: error: pwd does not report name of working directory" >&2
78.1306 + { (exit 1); exit 1; }; }
78.1307 +
78.1308 +
78.1309 +# Find the source files, if location was not specified.
78.1310 +if test -z "$srcdir"; then
78.1311 + ac_srcdir_defaulted=yes
78.1312 + # Try the directory containing this script, then the parent directory.
78.1313 + ac_confdir=`$as_dirname -- "$0" ||
78.1314 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.1315 + X"$0" : 'X\(//\)[^/]' \| \
78.1316 + X"$0" : 'X\(//\)$' \| \
78.1317 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78.1318 +echo X"$0" |
78.1319 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.1320 + s//\1/
78.1321 + q
78.1322 + }
78.1323 + /^X\(\/\/\)[^/].*/{
78.1324 + s//\1/
78.1325 + q
78.1326 + }
78.1327 + /^X\(\/\/\)$/{
78.1328 + s//\1/
78.1329 + q
78.1330 + }
78.1331 + /^X\(\/\).*/{
78.1332 + s//\1/
78.1333 + q
78.1334 + }
78.1335 + s/.*/./; q'`
78.1336 + srcdir=$ac_confdir
78.1337 + if test ! -r "$srcdir/$ac_unique_file"; then
78.1338 + srcdir=..
78.1339 + fi
78.1340 +else
78.1341 + ac_srcdir_defaulted=no
78.1342 +fi
78.1343 +if test ! -r "$srcdir/$ac_unique_file"; then
78.1344 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
78.1345 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
78.1346 + { (exit 1); exit 1; }; }
78.1347 +fi
78.1348 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
78.1349 +ac_abs_confdir=`(
78.1350 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
78.1351 + { (exit 1); exit 1; }; }
78.1352 + pwd)`
78.1353 +# When building in place, set srcdir=.
78.1354 +if test "$ac_abs_confdir" = "$ac_pwd"; then
78.1355 + srcdir=.
78.1356 +fi
78.1357 +# Remove unnecessary trailing slashes from srcdir.
78.1358 +# Double slashes in file names in object file debugging info
78.1359 +# mess up M-x gdb in Emacs.
78.1360 +case $srcdir in
78.1361 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
78.1362 +esac
78.1363 +for ac_var in $ac_precious_vars; do
78.1364 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
78.1365 + eval ac_env_${ac_var}_value=\$${ac_var}
78.1366 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
78.1367 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
78.1368 +done
78.1369 +
78.1370 +#
78.1371 +# Report the --help message.
78.1372 +#
78.1373 +if test "$ac_init_help" = "long"; then
78.1374 + # Omit some internal or obsolete options to make the list less imposing.
78.1375 + # This message is too long to be a string in the A/UX 3.1 sh.
78.1376 + cat <<_ACEOF
78.1377 +\`configure' configures this package to adapt to many kinds of systems.
78.1378 +
78.1379 +Usage: $0 [OPTION]... [VAR=VALUE]...
78.1380 +
78.1381 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
78.1382 +VAR=VALUE. See below for descriptions of some of the useful variables.
78.1383 +
78.1384 +Defaults for the options are specified in brackets.
78.1385 +
78.1386 +Configuration:
78.1387 + -h, --help display this help and exit
78.1388 + --help=short display options specific to this package
78.1389 + --help=recursive display the short help of all the included packages
78.1390 + -V, --version display version information and exit
78.1391 + -q, --quiet, --silent do not print \`checking...' messages
78.1392 + --cache-file=FILE cache test results in FILE [disabled]
78.1393 + -C, --config-cache alias for \`--cache-file=config.cache'
78.1394 + -n, --no-create do not create output files
78.1395 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
78.1396 +
78.1397 +Installation directories:
78.1398 + --prefix=PREFIX install architecture-independent files in PREFIX
78.1399 + [$ac_default_prefix]
78.1400 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
78.1401 + [PREFIX]
78.1402 +
78.1403 +By default, \`make install' will install all the files in
78.1404 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
78.1405 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
78.1406 +for instance \`--prefix=\$HOME'.
78.1407 +
78.1408 +For better control, use the options below.
78.1409 +
78.1410 +Fine tuning of the installation directories:
78.1411 + --bindir=DIR user executables [EPREFIX/bin]
78.1412 + --sbindir=DIR system admin executables [EPREFIX/sbin]
78.1413 + --libexecdir=DIR program executables [EPREFIX/libexec]
78.1414 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
78.1415 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
78.1416 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
78.1417 + --libdir=DIR object code libraries [EPREFIX/lib]
78.1418 + --includedir=DIR C header files [PREFIX/include]
78.1419 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
78.1420 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
78.1421 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
78.1422 + --infodir=DIR info documentation [DATAROOTDIR/info]
78.1423 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
78.1424 + --mandir=DIR man documentation [DATAROOTDIR/man]
78.1425 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
78.1426 + --htmldir=DIR html documentation [DOCDIR]
78.1427 + --dvidir=DIR dvi documentation [DOCDIR]
78.1428 + --pdfdir=DIR pdf documentation [DOCDIR]
78.1429 + --psdir=DIR ps documentation [DOCDIR]
78.1430 +_ACEOF
78.1431 +
78.1432 + cat <<\_ACEOF
78.1433 +
78.1434 +Program names:
78.1435 + --program-prefix=PREFIX prepend PREFIX to installed program names
78.1436 + --program-suffix=SUFFIX append SUFFIX to installed program names
78.1437 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
78.1438 +
78.1439 +System types:
78.1440 + --build=BUILD configure for building on BUILD [guessed]
78.1441 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
78.1442 +_ACEOF
78.1443 +fi
78.1444 +
78.1445 +if test -n "$ac_init_help"; then
78.1446 +
78.1447 + cat <<\_ACEOF
78.1448 +
78.1449 +Optional Features:
78.1450 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
78.1451 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
78.1452 + --disable-dependency-tracking speeds up one-time build
78.1453 + --enable-dependency-tracking do not reject slow dependency extractors
78.1454 + --enable-shared[=PKGS] build shared libraries [default=yes]
78.1455 + --enable-static[=PKGS] build static libraries [default=yes]
78.1456 + --enable-fast-install[=PKGS]
78.1457 + optimize for fast installation [default=yes]
78.1458 + --disable-libtool-lock avoid locking (might break parallel builds)
78.1459 +
78.1460 +Optional Packages:
78.1461 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
78.1462 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
78.1463 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
78.1464 + --with-pic try to use only PIC/non-PIC objects [default=use
78.1465 + both]
78.1466 + --with-tags[=TAGS] include additional configurations [automatic]
78.1467 +
78.1468 +Some influential environment variables:
78.1469 + CXX C++ compiler command
78.1470 + CXXFLAGS C++ compiler flags
78.1471 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
78.1472 + nonstandard directory <lib dir>
78.1473 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
78.1474 + you have headers in a nonstandard directory <include dir>
78.1475 + CC C compiler command
78.1476 + CFLAGS C compiler flags
78.1477 + CPP C preprocessor
78.1478 + CXXCPP C++ preprocessor
78.1479 + F77 Fortran 77 compiler command
78.1480 + FFLAGS Fortran 77 compiler flags
78.1481 +
78.1482 +Use these variables to override the choices made by `configure' or to help
78.1483 +it to find libraries and programs with nonstandard names/locations.
78.1484 +
78.1485 +_ACEOF
78.1486 +ac_status=$?
78.1487 +fi
78.1488 +
78.1489 +if test "$ac_init_help" = "recursive"; then
78.1490 + # If there are subdirs, report their specific --help.
78.1491 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
78.1492 + test -d "$ac_dir" || continue
78.1493 + ac_builddir=.
78.1494 +
78.1495 +case "$ac_dir" in
78.1496 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
78.1497 +*)
78.1498 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78.1499 + # A ".." for each directory in $ac_dir_suffix.
78.1500 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
78.1501 + case $ac_top_builddir_sub in
78.1502 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
78.1503 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
78.1504 + esac ;;
78.1505 +esac
78.1506 +ac_abs_top_builddir=$ac_pwd
78.1507 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
78.1508 +# for backward compatibility:
78.1509 +ac_top_builddir=$ac_top_build_prefix
78.1510 +
78.1511 +case $srcdir in
78.1512 + .) # We are building in place.
78.1513 + ac_srcdir=.
78.1514 + ac_top_srcdir=$ac_top_builddir_sub
78.1515 + ac_abs_top_srcdir=$ac_pwd ;;
78.1516 + [\\/]* | ?:[\\/]* ) # Absolute name.
78.1517 + ac_srcdir=$srcdir$ac_dir_suffix;
78.1518 + ac_top_srcdir=$srcdir
78.1519 + ac_abs_top_srcdir=$srcdir ;;
78.1520 + *) # Relative name.
78.1521 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
78.1522 + ac_top_srcdir=$ac_top_build_prefix$srcdir
78.1523 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
78.1524 +esac
78.1525 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
78.1526 +
78.1527 + cd "$ac_dir" || { ac_status=$?; continue; }
78.1528 + # Check for guested configure.
78.1529 + if test -f "$ac_srcdir/configure.gnu"; then
78.1530 + echo &&
78.1531 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
78.1532 + elif test -f "$ac_srcdir/configure"; then
78.1533 + echo &&
78.1534 + $SHELL "$ac_srcdir/configure" --help=recursive
78.1535 + else
78.1536 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
78.1537 + fi || ac_status=$?
78.1538 + cd "$ac_pwd" || { ac_status=$?; break; }
78.1539 + done
78.1540 +fi
78.1541 +
78.1542 +test -n "$ac_init_help" && exit $ac_status
78.1543 +if $ac_init_version; then
78.1544 + cat <<\_ACEOF
78.1545 +configure
78.1546 +generated by GNU Autoconf 2.60
78.1547 +
78.1548 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
78.1549 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
78.1550 +This configure script is free software; the Free Software Foundation
78.1551 +gives unlimited permission to copy, distribute and modify it.
78.1552 +_ACEOF
78.1553 + exit
78.1554 +fi
78.1555 +cat >config.log <<_ACEOF
78.1556 +This file contains any messages produced by compilers while
78.1557 +running configure, to aid debugging if configure makes a mistake.
78.1558 +
78.1559 +It was created by $as_me, which was
78.1560 +generated by GNU Autoconf 2.60. Invocation command line was
78.1561 +
78.1562 + $ $0 $@
78.1563 +
78.1564 +_ACEOF
78.1565 +exec 5>>config.log
78.1566 +{
78.1567 +cat <<_ASUNAME
78.1568 +## --------- ##
78.1569 +## Platform. ##
78.1570 +## --------- ##
78.1571 +
78.1572 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
78.1573 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
78.1574 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
78.1575 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
78.1576 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
78.1577 +
78.1578 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
78.1579 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
78.1580 +
78.1581 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
78.1582 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
78.1583 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
78.1584 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
78.1585 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
78.1586 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
78.1587 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
78.1588 +
78.1589 +_ASUNAME
78.1590 +
78.1591 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.1592 +for as_dir in $PATH
78.1593 +do
78.1594 + IFS=$as_save_IFS
78.1595 + test -z "$as_dir" && as_dir=.
78.1596 + echo "PATH: $as_dir"
78.1597 +done
78.1598 +IFS=$as_save_IFS
78.1599 +
78.1600 +} >&5
78.1601 +
78.1602 +cat >&5 <<_ACEOF
78.1603 +
78.1604 +
78.1605 +## ----------- ##
78.1606 +## Core tests. ##
78.1607 +## ----------- ##
78.1608 +
78.1609 +_ACEOF
78.1610 +
78.1611 +
78.1612 +# Keep a trace of the command line.
78.1613 +# Strip out --no-create and --no-recursion so they do not pile up.
78.1614 +# Strip out --silent because we don't want to record it for future runs.
78.1615 +# Also quote any args containing shell meta-characters.
78.1616 +# Make two passes to allow for proper duplicate-argument suppression.
78.1617 +ac_configure_args=
78.1618 +ac_configure_args0=
78.1619 +ac_configure_args1=
78.1620 +ac_must_keep_next=false
78.1621 +for ac_pass in 1 2
78.1622 +do
78.1623 + for ac_arg
78.1624 + do
78.1625 + case $ac_arg in
78.1626 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
78.1627 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78.1628 + | -silent | --silent | --silen | --sile | --sil)
78.1629 + continue ;;
78.1630 + *\'*)
78.1631 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
78.1632 + esac
78.1633 + case $ac_pass in
78.1634 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
78.1635 + 2)
78.1636 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
78.1637 + if test $ac_must_keep_next = true; then
78.1638 + ac_must_keep_next=false # Got value, back to normal.
78.1639 + else
78.1640 + case $ac_arg in
78.1641 + *=* | --config-cache | -C | -disable-* | --disable-* \
78.1642 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
78.1643 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
78.1644 + | -with-* | --with-* | -without-* | --without-* | --x)
78.1645 + case "$ac_configure_args0 " in
78.1646 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
78.1647 + esac
78.1648 + ;;
78.1649 + -* ) ac_must_keep_next=true ;;
78.1650 + esac
78.1651 + fi
78.1652 + ac_configure_args="$ac_configure_args '$ac_arg'"
78.1653 + ;;
78.1654 + esac
78.1655 + done
78.1656 +done
78.1657 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
78.1658 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
78.1659 +
78.1660 +# When interrupted or exit'd, cleanup temporary files, and complete
78.1661 +# config.log. We remove comments because anyway the quotes in there
78.1662 +# would cause problems or look ugly.
78.1663 +# WARNING: Use '\'' to represent an apostrophe within the trap.
78.1664 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
78.1665 +trap 'exit_status=$?
78.1666 + # Save into config.log some information that might help in debugging.
78.1667 + {
78.1668 + echo
78.1669 +
78.1670 + cat <<\_ASBOX
78.1671 +## ---------------- ##
78.1672 +## Cache variables. ##
78.1673 +## ---------------- ##
78.1674 +_ASBOX
78.1675 + echo
78.1676 + # The following way of writing the cache mishandles newlines in values,
78.1677 +(
78.1678 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
78.1679 + eval ac_val=\$$ac_var
78.1680 + case $ac_val in #(
78.1681 + *${as_nl}*)
78.1682 + case $ac_var in #(
78.1683 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
78.1684 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
78.1685 + esac
78.1686 + case $ac_var in #(
78.1687 + _ | IFS | as_nl) ;; #(
78.1688 + *) $as_unset $ac_var ;;
78.1689 + esac ;;
78.1690 + esac
78.1691 + done
78.1692 + (set) 2>&1 |
78.1693 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
78.1694 + *${as_nl}ac_space=\ *)
78.1695 + sed -n \
78.1696 + "s/'\''/'\''\\\\'\'''\''/g;
78.1697 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
78.1698 + ;; #(
78.1699 + *)
78.1700 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78.1701 + ;;
78.1702 + esac |
78.1703 + sort
78.1704 +)
78.1705 + echo
78.1706 +
78.1707 + cat <<\_ASBOX
78.1708 +## ----------------- ##
78.1709 +## Output variables. ##
78.1710 +## ----------------- ##
78.1711 +_ASBOX
78.1712 + echo
78.1713 + for ac_var in $ac_subst_vars
78.1714 + do
78.1715 + eval ac_val=\$$ac_var
78.1716 + case $ac_val in
78.1717 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
78.1718 + esac
78.1719 + echo "$ac_var='\''$ac_val'\''"
78.1720 + done | sort
78.1721 + echo
78.1722 +
78.1723 + if test -n "$ac_subst_files"; then
78.1724 + cat <<\_ASBOX
78.1725 +## ------------------- ##
78.1726 +## File substitutions. ##
78.1727 +## ------------------- ##
78.1728 +_ASBOX
78.1729 + echo
78.1730 + for ac_var in $ac_subst_files
78.1731 + do
78.1732 + eval ac_val=\$$ac_var
78.1733 + case $ac_val in
78.1734 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
78.1735 + esac
78.1736 + echo "$ac_var='\''$ac_val'\''"
78.1737 + done | sort
78.1738 + echo
78.1739 + fi
78.1740 +
78.1741 + if test -s confdefs.h; then
78.1742 + cat <<\_ASBOX
78.1743 +## ----------- ##
78.1744 +## confdefs.h. ##
78.1745 +## ----------- ##
78.1746 +_ASBOX
78.1747 + echo
78.1748 + cat confdefs.h
78.1749 + echo
78.1750 + fi
78.1751 + test "$ac_signal" != 0 &&
78.1752 + echo "$as_me: caught signal $ac_signal"
78.1753 + echo "$as_me: exit $exit_status"
78.1754 + } >&5
78.1755 + rm -f core *.core core.conftest.* &&
78.1756 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
78.1757 + exit $exit_status
78.1758 +' 0
78.1759 +for ac_signal in 1 2 13 15; do
78.1760 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
78.1761 +done
78.1762 +ac_signal=0
78.1763 +
78.1764 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
78.1765 +rm -f -r conftest* confdefs.h
78.1766 +
78.1767 +# Predefined preprocessor variables.
78.1768 +
78.1769 +cat >>confdefs.h <<_ACEOF
78.1770 +#define PACKAGE_NAME "$PACKAGE_NAME"
78.1771 +_ACEOF
78.1772 +
78.1773 +
78.1774 +cat >>confdefs.h <<_ACEOF
78.1775 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
78.1776 +_ACEOF
78.1777 +
78.1778 +
78.1779 +cat >>confdefs.h <<_ACEOF
78.1780 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
78.1781 +_ACEOF
78.1782 +
78.1783 +
78.1784 +cat >>confdefs.h <<_ACEOF
78.1785 +#define PACKAGE_STRING "$PACKAGE_STRING"
78.1786 +_ACEOF
78.1787 +
78.1788 +
78.1789 +cat >>confdefs.h <<_ACEOF
78.1790 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
78.1791 +_ACEOF
78.1792 +
78.1793 +
78.1794 +# Let the site file select an alternate cache file if it wants to.
78.1795 +# Prefer explicitly selected file to automatically selected ones.
78.1796 +if test -n "$CONFIG_SITE"; then
78.1797 + set x "$CONFIG_SITE"
78.1798 +elif test "x$prefix" != xNONE; then
78.1799 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
78.1800 +else
78.1801 + set x "$ac_default_prefix/share/config.site" \
78.1802 + "$ac_default_prefix/etc/config.site"
78.1803 +fi
78.1804 +shift
78.1805 +for ac_site_file
78.1806 +do
78.1807 + if test -r "$ac_site_file"; then
78.1808 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
78.1809 +echo "$as_me: loading site script $ac_site_file" >&6;}
78.1810 + sed 's/^/| /' "$ac_site_file" >&5
78.1811 + . "$ac_site_file"
78.1812 + fi
78.1813 +done
78.1814 +
78.1815 +if test -r "$cache_file"; then
78.1816 + # Some versions of bash will fail to source /dev/null (special
78.1817 + # files actually), so we avoid doing that.
78.1818 + if test -f "$cache_file"; then
78.1819 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
78.1820 +echo "$as_me: loading cache $cache_file" >&6;}
78.1821 + case $cache_file in
78.1822 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
78.1823 + *) . "./$cache_file";;
78.1824 + esac
78.1825 + fi
78.1826 +else
78.1827 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
78.1828 +echo "$as_me: creating cache $cache_file" >&6;}
78.1829 + >$cache_file
78.1830 +fi
78.1831 +
78.1832 +# Check that the precious variables saved in the cache have kept the same
78.1833 +# value.
78.1834 +ac_cache_corrupted=false
78.1835 +for ac_var in $ac_precious_vars; do
78.1836 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
78.1837 + eval ac_new_set=\$ac_env_${ac_var}_set
78.1838 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
78.1839 + eval ac_new_val=\$ac_env_${ac_var}_value
78.1840 + case $ac_old_set,$ac_new_set in
78.1841 + set,)
78.1842 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
78.1843 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
78.1844 + ac_cache_corrupted=: ;;
78.1845 + ,set)
78.1846 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
78.1847 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
78.1848 + ac_cache_corrupted=: ;;
78.1849 + ,);;
78.1850 + *)
78.1851 + if test "x$ac_old_val" != "x$ac_new_val"; then
78.1852 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
78.1853 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
78.1854 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
78.1855 +echo "$as_me: former value: $ac_old_val" >&2;}
78.1856 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
78.1857 +echo "$as_me: current value: $ac_new_val" >&2;}
78.1858 + ac_cache_corrupted=:
78.1859 + fi;;
78.1860 + esac
78.1861 + # Pass precious variables to config.status.
78.1862 + if test "$ac_new_set" = set; then
78.1863 + case $ac_new_val in
78.1864 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
78.1865 + *) ac_arg=$ac_var=$ac_new_val ;;
78.1866 + esac
78.1867 + case " $ac_configure_args " in
78.1868 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
78.1869 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
78.1870 + esac
78.1871 + fi
78.1872 +done
78.1873 +if $ac_cache_corrupted; then
78.1874 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
78.1875 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
78.1876 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
78.1877 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
78.1878 + { (exit 1); exit 1; }; }
78.1879 +fi
78.1880 +
78.1881 +
78.1882 +
78.1883 +
78.1884 +
78.1885 +
78.1886 +
78.1887 +
78.1888 +
78.1889 +
78.1890 +
78.1891 +
78.1892 +
78.1893 +
78.1894 +
78.1895 +
78.1896 +
78.1897 +ac_ext=c
78.1898 +ac_cpp='$CPP $CPPFLAGS'
78.1899 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.1900 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.1901 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.1902 +
78.1903 +
78.1904 +
78.1905 +ac_config_headers="$ac_config_headers config.h"
78.1906 +
78.1907 +am__api_version="1.9"
78.1908 +ac_aux_dir=
78.1909 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
78.1910 + if test -f "$ac_dir/install-sh"; then
78.1911 + ac_aux_dir=$ac_dir
78.1912 + ac_install_sh="$ac_aux_dir/install-sh -c"
78.1913 + break
78.1914 + elif test -f "$ac_dir/install.sh"; then
78.1915 + ac_aux_dir=$ac_dir
78.1916 + ac_install_sh="$ac_aux_dir/install.sh -c"
78.1917 + break
78.1918 + elif test -f "$ac_dir/shtool"; then
78.1919 + ac_aux_dir=$ac_dir
78.1920 + ac_install_sh="$ac_aux_dir/shtool install -c"
78.1921 + break
78.1922 + fi
78.1923 +done
78.1924 +if test -z "$ac_aux_dir"; then
78.1925 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
78.1926 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
78.1927 + { (exit 1); exit 1; }; }
78.1928 +fi
78.1929 +
78.1930 +# These three variables are undocumented and unsupported,
78.1931 +# and are intended to be withdrawn in a future Autoconf release.
78.1932 +# They can cause serious problems if a builder's source tree is in a directory
78.1933 +# whose full name contains unusual characters.
78.1934 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
78.1935 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
78.1936 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
78.1937 +
78.1938 +
78.1939 +# Find a good install program. We prefer a C program (faster),
78.1940 +# so one script is as good as another. But avoid the broken or
78.1941 +# incompatible versions:
78.1942 +# SysV /etc/install, /usr/sbin/install
78.1943 +# SunOS /usr/etc/install
78.1944 +# IRIX /sbin/install
78.1945 +# AIX /bin/install
78.1946 +# AmigaOS /C/install, which installs bootblocks on floppy discs
78.1947 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
78.1948 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
78.1949 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
78.1950 +# OS/2's system install, which has a completely different semantic
78.1951 +# ./install, which can be erroneously created by make from ./install.sh.
78.1952 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
78.1953 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
78.1954 +if test -z "$INSTALL"; then
78.1955 +if test "${ac_cv_path_install+set}" = set; then
78.1956 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.1957 +else
78.1958 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.1959 +for as_dir in $PATH
78.1960 +do
78.1961 + IFS=$as_save_IFS
78.1962 + test -z "$as_dir" && as_dir=.
78.1963 + # Account for people who put trailing slashes in PATH elements.
78.1964 +case $as_dir/ in
78.1965 + ./ | .// | /cC/* | \
78.1966 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
78.1967 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
78.1968 + /usr/ucb/* ) ;;
78.1969 + *)
78.1970 + # OSF1 and SCO ODT 3.0 have their own names for install.
78.1971 + # Don't use installbsd from OSF since it installs stuff as root
78.1972 + # by default.
78.1973 + for ac_prog in ginstall scoinst install; do
78.1974 + for ac_exec_ext in '' $ac_executable_extensions; do
78.1975 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
78.1976 + if test $ac_prog = install &&
78.1977 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
78.1978 + # AIX install. It has an incompatible calling convention.
78.1979 + :
78.1980 + elif test $ac_prog = install &&
78.1981 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
78.1982 + # program-specific install script used by HP pwplus--don't use.
78.1983 + :
78.1984 + else
78.1985 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
78.1986 + break 3
78.1987 + fi
78.1988 + fi
78.1989 + done
78.1990 + done
78.1991 + ;;
78.1992 +esac
78.1993 +done
78.1994 +IFS=$as_save_IFS
78.1995 +
78.1996 +
78.1997 +fi
78.1998 + if test "${ac_cv_path_install+set}" = set; then
78.1999 + INSTALL=$ac_cv_path_install
78.2000 + else
78.2001 + # As a last resort, use the slow shell script. Don't cache a
78.2002 + # value for INSTALL within a source directory, because that will
78.2003 + # break other packages using the cache if that directory is
78.2004 + # removed, or if the value is a relative name.
78.2005 + INSTALL=$ac_install_sh
78.2006 + fi
78.2007 +fi
78.2008 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
78.2009 +echo "${ECHO_T}$INSTALL" >&6; }
78.2010 +
78.2011 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
78.2012 +# It thinks the first close brace ends the variable substitution.
78.2013 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
78.2014 +
78.2015 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
78.2016 +
78.2017 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
78.2018 +
78.2019 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
78.2020 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
78.2021 +# Just in case
78.2022 +sleep 1
78.2023 +echo timestamp > conftest.file
78.2024 +# Do `set' in a subshell so we don't clobber the current shell's
78.2025 +# arguments. Must try -L first in case configure is actually a
78.2026 +# symlink; some systems play weird games with the mod time of symlinks
78.2027 +# (eg FreeBSD returns the mod time of the symlink's containing
78.2028 +# directory).
78.2029 +if (
78.2030 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
78.2031 + if test "$*" = "X"; then
78.2032 + # -L didn't work.
78.2033 + set X `ls -t $srcdir/configure conftest.file`
78.2034 + fi
78.2035 + rm -f conftest.file
78.2036 + if test "$*" != "X $srcdir/configure conftest.file" \
78.2037 + && test "$*" != "X conftest.file $srcdir/configure"; then
78.2038 +
78.2039 + # If neither matched, then we have a broken ls. This can happen
78.2040 + # if, for instance, CONFIG_SHELL is bash and it inherits a
78.2041 + # broken ls alias from the environment. This has actually
78.2042 + # happened. Such a system could not be considered "sane".
78.2043 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
78.2044 +alias in your environment" >&5
78.2045 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
78.2046 +alias in your environment" >&2;}
78.2047 + { (exit 1); exit 1; }; }
78.2048 + fi
78.2049 +
78.2050 + test "$2" = conftest.file
78.2051 + )
78.2052 +then
78.2053 + # Ok.
78.2054 + :
78.2055 +else
78.2056 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
78.2057 +Check your system clock" >&5
78.2058 +echo "$as_me: error: newly created file is older than distributed files!
78.2059 +Check your system clock" >&2;}
78.2060 + { (exit 1); exit 1; }; }
78.2061 +fi
78.2062 +{ echo "$as_me:$LINENO: result: yes" >&5
78.2063 +echo "${ECHO_T}yes" >&6; }
78.2064 +test "$program_prefix" != NONE &&
78.2065 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
78.2066 +# Use a double $ so make ignores it.
78.2067 +test "$program_suffix" != NONE &&
78.2068 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
78.2069 +# Double any \ or $. echo might interpret backslashes.
78.2070 +# By default was `s,x,x', remove it if useless.
78.2071 +cat <<\_ACEOF >conftest.sed
78.2072 +s/[\\$]/&&/g;s/;s,x,x,$//
78.2073 +_ACEOF
78.2074 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
78.2075 +rm -f conftest.sed
78.2076 +
78.2077 +# expand $ac_aux_dir to an absolute path
78.2078 +am_aux_dir=`cd $ac_aux_dir && pwd`
78.2079 +
78.2080 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
78.2081 +# Use eval to expand $SHELL
78.2082 +if eval "$MISSING --run true"; then
78.2083 + am_missing_run="$MISSING --run "
78.2084 +else
78.2085 + am_missing_run=
78.2086 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
78.2087 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
78.2088 +fi
78.2089 +
78.2090 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
78.2091 + # We used to keeping the `.' as first argument, in order to
78.2092 + # allow $(mkdir_p) to be used without argument. As in
78.2093 + # $(mkdir_p) $(somedir)
78.2094 + # where $(somedir) is conditionally defined. However this is wrong
78.2095 + # for two reasons:
78.2096 + # 1. if the package is installed by a user who cannot write `.'
78.2097 + # make install will fail,
78.2098 + # 2. the above comment should most certainly read
78.2099 + # $(mkdir_p) $(DESTDIR)$(somedir)
78.2100 + # so it does not work when $(somedir) is undefined and
78.2101 + # $(DESTDIR) is not.
78.2102 + # To support the latter case, we have to write
78.2103 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
78.2104 + # so the `.' trick is pointless.
78.2105 + mkdir_p='mkdir -p --'
78.2106 +else
78.2107 + # On NextStep and OpenStep, the `mkdir' command does not
78.2108 + # recognize any option. It will interpret all options as
78.2109 + # directories to create, and then abort because `.' already
78.2110 + # exists.
78.2111 + for d in ./-p ./--version;
78.2112 + do
78.2113 + test -d $d && rmdir $d
78.2114 + done
78.2115 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
78.2116 + if test -f "$ac_aux_dir/mkinstalldirs"; then
78.2117 + mkdir_p='$(mkinstalldirs)'
78.2118 + else
78.2119 + mkdir_p='$(install_sh) -d'
78.2120 + fi
78.2121 +fi
78.2122 +
78.2123 +for ac_prog in gawk mawk nawk awk
78.2124 +do
78.2125 + # Extract the first word of "$ac_prog", so it can be a program name with args.
78.2126 +set dummy $ac_prog; ac_word=$2
78.2127 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.2128 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.2129 +if test "${ac_cv_prog_AWK+set}" = set; then
78.2130 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2131 +else
78.2132 + if test -n "$AWK"; then
78.2133 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
78.2134 +else
78.2135 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.2136 +for as_dir in $PATH
78.2137 +do
78.2138 + IFS=$as_save_IFS
78.2139 + test -z "$as_dir" && as_dir=.
78.2140 + for ac_exec_ext in '' $ac_executable_extensions; do
78.2141 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.2142 + ac_cv_prog_AWK="$ac_prog"
78.2143 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.2144 + break 2
78.2145 + fi
78.2146 +done
78.2147 +done
78.2148 +IFS=$as_save_IFS
78.2149 +
78.2150 +fi
78.2151 +fi
78.2152 +AWK=$ac_cv_prog_AWK
78.2153 +if test -n "$AWK"; then
78.2154 + { echo "$as_me:$LINENO: result: $AWK" >&5
78.2155 +echo "${ECHO_T}$AWK" >&6; }
78.2156 +else
78.2157 + { echo "$as_me:$LINENO: result: no" >&5
78.2158 +echo "${ECHO_T}no" >&6; }
78.2159 +fi
78.2160 +
78.2161 +
78.2162 + test -n "$AWK" && break
78.2163 +done
78.2164 +
78.2165 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
78.2166 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
78.2167 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
78.2168 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
78.2169 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2170 +else
78.2171 + cat >conftest.make <<\_ACEOF
78.2172 +SHELL = /bin/sh
78.2173 +all:
78.2174 + @echo '@@@%%%=$(MAKE)=@@@%%%'
78.2175 +_ACEOF
78.2176 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
78.2177 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
78.2178 + *@@@%%%=?*=@@@%%%*)
78.2179 + eval ac_cv_prog_make_${ac_make}_set=yes;;
78.2180 + *)
78.2181 + eval ac_cv_prog_make_${ac_make}_set=no;;
78.2182 +esac
78.2183 +rm -f conftest.make
78.2184 +fi
78.2185 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
78.2186 + { echo "$as_me:$LINENO: result: yes" >&5
78.2187 +echo "${ECHO_T}yes" >&6; }
78.2188 + SET_MAKE=
78.2189 +else
78.2190 + { echo "$as_me:$LINENO: result: no" >&5
78.2191 +echo "${ECHO_T}no" >&6; }
78.2192 + SET_MAKE="MAKE=${MAKE-make}"
78.2193 +fi
78.2194 +
78.2195 +rm -rf .tst 2>/dev/null
78.2196 +mkdir .tst 2>/dev/null
78.2197 +if test -d .tst; then
78.2198 + am__leading_dot=.
78.2199 +else
78.2200 + am__leading_dot=_
78.2201 +fi
78.2202 +rmdir .tst 2>/dev/null
78.2203 +
78.2204 +# test to see if srcdir already configured
78.2205 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
78.2206 + test -f $srcdir/config.status; then
78.2207 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
78.2208 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
78.2209 + { (exit 1); exit 1; }; }
78.2210 +fi
78.2211 +
78.2212 +# test whether we have cygpath
78.2213 +if test -z "$CYGPATH_W"; then
78.2214 + if (cygpath --version) >/dev/null 2>/dev/null; then
78.2215 + CYGPATH_W='cygpath -w'
78.2216 + else
78.2217 + CYGPATH_W=echo
78.2218 + fi
78.2219 +fi
78.2220 +
78.2221 +
78.2222 +# Define the identity of the package.
78.2223 + PACKAGE=picctldisplaytest
78.2224 + VERSION=0.1
78.2225 +
78.2226 +
78.2227 +cat >>confdefs.h <<_ACEOF
78.2228 +#define PACKAGE "$PACKAGE"
78.2229 +_ACEOF
78.2230 +
78.2231 +
78.2232 +cat >>confdefs.h <<_ACEOF
78.2233 +#define VERSION "$VERSION"
78.2234 +_ACEOF
78.2235 +
78.2236 +# Some tools Automake needs.
78.2237 +
78.2238 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
78.2239 +
78.2240 +
78.2241 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
78.2242 +
78.2243 +
78.2244 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
78.2245 +
78.2246 +
78.2247 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
78.2248 +
78.2249 +
78.2250 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
78.2251 +
78.2252 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
78.2253 +
78.2254 +# Installed binaries are usually stripped using `strip' when the user
78.2255 +# run `make install-strip'. However `strip' might not be the right
78.2256 +# tool to use in cross-compilation environments, therefore Automake
78.2257 +# will honor the `STRIP' environment variable to overrule this program.
78.2258 +if test "$cross_compiling" != no; then
78.2259 + if test -n "$ac_tool_prefix"; then
78.2260 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
78.2261 +set dummy ${ac_tool_prefix}strip; ac_word=$2
78.2262 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.2263 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.2264 +if test "${ac_cv_prog_STRIP+set}" = set; then
78.2265 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2266 +else
78.2267 + if test -n "$STRIP"; then
78.2268 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
78.2269 +else
78.2270 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.2271 +for as_dir in $PATH
78.2272 +do
78.2273 + IFS=$as_save_IFS
78.2274 + test -z "$as_dir" && as_dir=.
78.2275 + for ac_exec_ext in '' $ac_executable_extensions; do
78.2276 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.2277 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
78.2278 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.2279 + break 2
78.2280 + fi
78.2281 +done
78.2282 +done
78.2283 +IFS=$as_save_IFS
78.2284 +
78.2285 +fi
78.2286 +fi
78.2287 +STRIP=$ac_cv_prog_STRIP
78.2288 +if test -n "$STRIP"; then
78.2289 + { echo "$as_me:$LINENO: result: $STRIP" >&5
78.2290 +echo "${ECHO_T}$STRIP" >&6; }
78.2291 +else
78.2292 + { echo "$as_me:$LINENO: result: no" >&5
78.2293 +echo "${ECHO_T}no" >&6; }
78.2294 +fi
78.2295 +
78.2296 +
78.2297 +fi
78.2298 +if test -z "$ac_cv_prog_STRIP"; then
78.2299 + ac_ct_STRIP=$STRIP
78.2300 + # Extract the first word of "strip", so it can be a program name with args.
78.2301 +set dummy strip; ac_word=$2
78.2302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.2303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.2304 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
78.2305 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2306 +else
78.2307 + if test -n "$ac_ct_STRIP"; then
78.2308 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
78.2309 +else
78.2310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.2311 +for as_dir in $PATH
78.2312 +do
78.2313 + IFS=$as_save_IFS
78.2314 + test -z "$as_dir" && as_dir=.
78.2315 + for ac_exec_ext in '' $ac_executable_extensions; do
78.2316 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.2317 + ac_cv_prog_ac_ct_STRIP="strip"
78.2318 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.2319 + break 2
78.2320 + fi
78.2321 +done
78.2322 +done
78.2323 +IFS=$as_save_IFS
78.2324 +
78.2325 +fi
78.2326 +fi
78.2327 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
78.2328 +if test -n "$ac_ct_STRIP"; then
78.2329 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
78.2330 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
78.2331 +else
78.2332 + { echo "$as_me:$LINENO: result: no" >&5
78.2333 +echo "${ECHO_T}no" >&6; }
78.2334 +fi
78.2335 +
78.2336 + if test "x$ac_ct_STRIP" = x; then
78.2337 + STRIP=":"
78.2338 + else
78.2339 + case $cross_compiling:$ac_tool_warned in
78.2340 +yes:)
78.2341 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.2342 +whose name does not start with the host triplet. If you think this
78.2343 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.2344 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.2345 +whose name does not start with the host triplet. If you think this
78.2346 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.2347 +ac_tool_warned=yes ;;
78.2348 +esac
78.2349 + STRIP=$ac_ct_STRIP
78.2350 + fi
78.2351 +else
78.2352 + STRIP="$ac_cv_prog_STRIP"
78.2353 +fi
78.2354 +
78.2355 +fi
78.2356 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
78.2357 +
78.2358 +# We need awk for the "check" target. The system "awk" is bad on
78.2359 +# some platforms.
78.2360 +# Always define AMTAR for backward compatibility.
78.2361 +
78.2362 +AMTAR=${AMTAR-"${am_missing_run}tar"}
78.2363 +
78.2364 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
78.2365 +
78.2366 +
78.2367 +
78.2368 +
78.2369 +
78.2370 +
78.2371 +ac_ext=cpp
78.2372 +ac_cpp='$CXXCPP $CPPFLAGS'
78.2373 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.2374 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.2375 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.2376 +
78.2377 +ac_ext=cpp
78.2378 +ac_cpp='$CXXCPP $CPPFLAGS'
78.2379 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.2380 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.2381 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.2382 +if test -z "$CXX"; then
78.2383 + if test -n "$CCC"; then
78.2384 + CXX=$CCC
78.2385 + else
78.2386 + if test -n "$ac_tool_prefix"; then
78.2387 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
78.2388 + do
78.2389 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
78.2390 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
78.2391 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.2392 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.2393 +if test "${ac_cv_prog_CXX+set}" = set; then
78.2394 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2395 +else
78.2396 + if test -n "$CXX"; then
78.2397 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
78.2398 +else
78.2399 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.2400 +for as_dir in $PATH
78.2401 +do
78.2402 + IFS=$as_save_IFS
78.2403 + test -z "$as_dir" && as_dir=.
78.2404 + for ac_exec_ext in '' $ac_executable_extensions; do
78.2405 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.2406 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
78.2407 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.2408 + break 2
78.2409 + fi
78.2410 +done
78.2411 +done
78.2412 +IFS=$as_save_IFS
78.2413 +
78.2414 +fi
78.2415 +fi
78.2416 +CXX=$ac_cv_prog_CXX
78.2417 +if test -n "$CXX"; then
78.2418 + { echo "$as_me:$LINENO: result: $CXX" >&5
78.2419 +echo "${ECHO_T}$CXX" >&6; }
78.2420 +else
78.2421 + { echo "$as_me:$LINENO: result: no" >&5
78.2422 +echo "${ECHO_T}no" >&6; }
78.2423 +fi
78.2424 +
78.2425 +
78.2426 + test -n "$CXX" && break
78.2427 + done
78.2428 +fi
78.2429 +if test -z "$CXX"; then
78.2430 + ac_ct_CXX=$CXX
78.2431 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
78.2432 +do
78.2433 + # Extract the first word of "$ac_prog", so it can be a program name with args.
78.2434 +set dummy $ac_prog; ac_word=$2
78.2435 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.2436 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.2437 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
78.2438 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2439 +else
78.2440 + if test -n "$ac_ct_CXX"; then
78.2441 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
78.2442 +else
78.2443 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.2444 +for as_dir in $PATH
78.2445 +do
78.2446 + IFS=$as_save_IFS
78.2447 + test -z "$as_dir" && as_dir=.
78.2448 + for ac_exec_ext in '' $ac_executable_extensions; do
78.2449 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.2450 + ac_cv_prog_ac_ct_CXX="$ac_prog"
78.2451 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.2452 + break 2
78.2453 + fi
78.2454 +done
78.2455 +done
78.2456 +IFS=$as_save_IFS
78.2457 +
78.2458 +fi
78.2459 +fi
78.2460 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
78.2461 +if test -n "$ac_ct_CXX"; then
78.2462 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
78.2463 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
78.2464 +else
78.2465 + { echo "$as_me:$LINENO: result: no" >&5
78.2466 +echo "${ECHO_T}no" >&6; }
78.2467 +fi
78.2468 +
78.2469 +
78.2470 + test -n "$ac_ct_CXX" && break
78.2471 +done
78.2472 +
78.2473 + if test "x$ac_ct_CXX" = x; then
78.2474 + CXX="g++"
78.2475 + else
78.2476 + case $cross_compiling:$ac_tool_warned in
78.2477 +yes:)
78.2478 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.2479 +whose name does not start with the host triplet. If you think this
78.2480 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.2481 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.2482 +whose name does not start with the host triplet. If you think this
78.2483 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.2484 +ac_tool_warned=yes ;;
78.2485 +esac
78.2486 + CXX=$ac_ct_CXX
78.2487 + fi
78.2488 +fi
78.2489 +
78.2490 + fi
78.2491 +fi
78.2492 +# Provide some information about the compiler.
78.2493 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
78.2494 +ac_compiler=`set X $ac_compile; echo $2`
78.2495 +{ (ac_try="$ac_compiler --version >&5"
78.2496 +case "(($ac_try" in
78.2497 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2498 + *) ac_try_echo=$ac_try;;
78.2499 +esac
78.2500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2501 + (eval "$ac_compiler --version >&5") 2>&5
78.2502 + ac_status=$?
78.2503 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2504 + (exit $ac_status); }
78.2505 +{ (ac_try="$ac_compiler -v >&5"
78.2506 +case "(($ac_try" in
78.2507 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2508 + *) ac_try_echo=$ac_try;;
78.2509 +esac
78.2510 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2511 + (eval "$ac_compiler -v >&5") 2>&5
78.2512 + ac_status=$?
78.2513 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2514 + (exit $ac_status); }
78.2515 +{ (ac_try="$ac_compiler -V >&5"
78.2516 +case "(($ac_try" in
78.2517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2518 + *) ac_try_echo=$ac_try;;
78.2519 +esac
78.2520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2521 + (eval "$ac_compiler -V >&5") 2>&5
78.2522 + ac_status=$?
78.2523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2524 + (exit $ac_status); }
78.2525 +
78.2526 +cat >conftest.$ac_ext <<_ACEOF
78.2527 +/* confdefs.h. */
78.2528 +_ACEOF
78.2529 +cat confdefs.h >>conftest.$ac_ext
78.2530 +cat >>conftest.$ac_ext <<_ACEOF
78.2531 +/* end confdefs.h. */
78.2532 +
78.2533 +int
78.2534 +main ()
78.2535 +{
78.2536 +
78.2537 + ;
78.2538 + return 0;
78.2539 +}
78.2540 +_ACEOF
78.2541 +ac_clean_files_save=$ac_clean_files
78.2542 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
78.2543 +# Try to create an executable without -o first, disregard a.out.
78.2544 +# It will help us diagnose broken compilers, and finding out an intuition
78.2545 +# of exeext.
78.2546 +{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
78.2547 +echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
78.2548 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
78.2549 +#
78.2550 +# List of possible output files, starting from the most likely.
78.2551 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
78.2552 +# only as a last resort. b.out is created by i960 compilers.
78.2553 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
78.2554 +#
78.2555 +# The IRIX 6 linker writes into existing files which may not be
78.2556 +# executable, retaining their permissions. Remove them first so a
78.2557 +# subsequent execution test works.
78.2558 +ac_rmfiles=
78.2559 +for ac_file in $ac_files
78.2560 +do
78.2561 + case $ac_file in
78.2562 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
78.2563 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
78.2564 + esac
78.2565 +done
78.2566 +rm -f $ac_rmfiles
78.2567 +
78.2568 +if { (ac_try="$ac_link_default"
78.2569 +case "(($ac_try" in
78.2570 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2571 + *) ac_try_echo=$ac_try;;
78.2572 +esac
78.2573 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2574 + (eval "$ac_link_default") 2>&5
78.2575 + ac_status=$?
78.2576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2577 + (exit $ac_status); }; then
78.2578 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
78.2579 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
78.2580 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
78.2581 +# so that the user can short-circuit this test for compilers unknown to
78.2582 +# Autoconf.
78.2583 +for ac_file in $ac_files
78.2584 +do
78.2585 + test -f "$ac_file" || continue
78.2586 + case $ac_file in
78.2587 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
78.2588 + ;;
78.2589 + [ab].out )
78.2590 + # We found the default executable, but exeext='' is most
78.2591 + # certainly right.
78.2592 + break;;
78.2593 + *.* )
78.2594 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
78.2595 + then :; else
78.2596 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
78.2597 + fi
78.2598 + # We set ac_cv_exeext here because the later test for it is not
78.2599 + # safe: cross compilers may not add the suffix if given an `-o'
78.2600 + # argument, so we may need to know it at that point already.
78.2601 + # Even if this section looks crufty: it has the advantage of
78.2602 + # actually working.
78.2603 + break;;
78.2604 + * )
78.2605 + break;;
78.2606 + esac
78.2607 +done
78.2608 +test "$ac_cv_exeext" = no && ac_cv_exeext=
78.2609 +
78.2610 +else
78.2611 + echo "$as_me: failed program was:" >&5
78.2612 +sed 's/^/| /' conftest.$ac_ext >&5
78.2613 +
78.2614 +{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
78.2615 +See \`config.log' for more details." >&5
78.2616 +echo "$as_me: error: C++ compiler cannot create executables
78.2617 +See \`config.log' for more details." >&2;}
78.2618 + { (exit 77); exit 77; }; }
78.2619 +fi
78.2620 +
78.2621 +ac_exeext=$ac_cv_exeext
78.2622 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
78.2623 +echo "${ECHO_T}$ac_file" >&6; }
78.2624 +
78.2625 +# Check that the compiler produces executables we can run. If not, either
78.2626 +# the compiler is broken, or we cross compile.
78.2627 +{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
78.2628 +echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
78.2629 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
78.2630 +# If not cross compiling, check that we can run a simple program.
78.2631 +if test "$cross_compiling" != yes; then
78.2632 + if { ac_try='./$ac_file'
78.2633 + { (case "(($ac_try" in
78.2634 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2635 + *) ac_try_echo=$ac_try;;
78.2636 +esac
78.2637 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2638 + (eval "$ac_try") 2>&5
78.2639 + ac_status=$?
78.2640 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2641 + (exit $ac_status); }; }; then
78.2642 + cross_compiling=no
78.2643 + else
78.2644 + if test "$cross_compiling" = maybe; then
78.2645 + cross_compiling=yes
78.2646 + else
78.2647 + { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
78.2648 +If you meant to cross compile, use \`--host'.
78.2649 +See \`config.log' for more details." >&5
78.2650 +echo "$as_me: error: cannot run C++ compiled programs.
78.2651 +If you meant to cross compile, use \`--host'.
78.2652 +See \`config.log' for more details." >&2;}
78.2653 + { (exit 1); exit 1; }; }
78.2654 + fi
78.2655 + fi
78.2656 +fi
78.2657 +{ echo "$as_me:$LINENO: result: yes" >&5
78.2658 +echo "${ECHO_T}yes" >&6; }
78.2659 +
78.2660 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
78.2661 +ac_clean_files=$ac_clean_files_save
78.2662 +# Check that the compiler produces executables we can run. If not, either
78.2663 +# the compiler is broken, or we cross compile.
78.2664 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
78.2665 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
78.2666 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
78.2667 +echo "${ECHO_T}$cross_compiling" >&6; }
78.2668 +
78.2669 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
78.2670 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
78.2671 +if { (ac_try="$ac_link"
78.2672 +case "(($ac_try" in
78.2673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2674 + *) ac_try_echo=$ac_try;;
78.2675 +esac
78.2676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2677 + (eval "$ac_link") 2>&5
78.2678 + ac_status=$?
78.2679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2680 + (exit $ac_status); }; then
78.2681 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
78.2682 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
78.2683 +# work properly (i.e., refer to `conftest.exe'), while it won't with
78.2684 +# `rm'.
78.2685 +for ac_file in conftest.exe conftest conftest.*; do
78.2686 + test -f "$ac_file" || continue
78.2687 + case $ac_file in
78.2688 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
78.2689 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
78.2690 + break;;
78.2691 + * ) break;;
78.2692 + esac
78.2693 +done
78.2694 +else
78.2695 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
78.2696 +See \`config.log' for more details." >&5
78.2697 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
78.2698 +See \`config.log' for more details." >&2;}
78.2699 + { (exit 1); exit 1; }; }
78.2700 +fi
78.2701 +
78.2702 +rm -f conftest$ac_cv_exeext
78.2703 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
78.2704 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
78.2705 +
78.2706 +rm -f conftest.$ac_ext
78.2707 +EXEEXT=$ac_cv_exeext
78.2708 +ac_exeext=$EXEEXT
78.2709 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
78.2710 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
78.2711 +if test "${ac_cv_objext+set}" = set; then
78.2712 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2713 +else
78.2714 + cat >conftest.$ac_ext <<_ACEOF
78.2715 +/* confdefs.h. */
78.2716 +_ACEOF
78.2717 +cat confdefs.h >>conftest.$ac_ext
78.2718 +cat >>conftest.$ac_ext <<_ACEOF
78.2719 +/* end confdefs.h. */
78.2720 +
78.2721 +int
78.2722 +main ()
78.2723 +{
78.2724 +
78.2725 + ;
78.2726 + return 0;
78.2727 +}
78.2728 +_ACEOF
78.2729 +rm -f conftest.o conftest.obj
78.2730 +if { (ac_try="$ac_compile"
78.2731 +case "(($ac_try" in
78.2732 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2733 + *) ac_try_echo=$ac_try;;
78.2734 +esac
78.2735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2736 + (eval "$ac_compile") 2>&5
78.2737 + ac_status=$?
78.2738 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2739 + (exit $ac_status); }; then
78.2740 + for ac_file in conftest.o conftest.obj conftest.*; do
78.2741 + test -f "$ac_file" || continue;
78.2742 + case $ac_file in
78.2743 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
78.2744 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
78.2745 + break;;
78.2746 + esac
78.2747 +done
78.2748 +else
78.2749 + echo "$as_me: failed program was:" >&5
78.2750 +sed 's/^/| /' conftest.$ac_ext >&5
78.2751 +
78.2752 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
78.2753 +See \`config.log' for more details." >&5
78.2754 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
78.2755 +See \`config.log' for more details." >&2;}
78.2756 + { (exit 1); exit 1; }; }
78.2757 +fi
78.2758 +
78.2759 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
78.2760 +fi
78.2761 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
78.2762 +echo "${ECHO_T}$ac_cv_objext" >&6; }
78.2763 +OBJEXT=$ac_cv_objext
78.2764 +ac_objext=$OBJEXT
78.2765 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
78.2766 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
78.2767 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
78.2768 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2769 +else
78.2770 + cat >conftest.$ac_ext <<_ACEOF
78.2771 +/* confdefs.h. */
78.2772 +_ACEOF
78.2773 +cat confdefs.h >>conftest.$ac_ext
78.2774 +cat >>conftest.$ac_ext <<_ACEOF
78.2775 +/* end confdefs.h. */
78.2776 +
78.2777 +int
78.2778 +main ()
78.2779 +{
78.2780 +#ifndef __GNUC__
78.2781 + choke me
78.2782 +#endif
78.2783 +
78.2784 + ;
78.2785 + return 0;
78.2786 +}
78.2787 +_ACEOF
78.2788 +rm -f conftest.$ac_objext
78.2789 +if { (ac_try="$ac_compile"
78.2790 +case "(($ac_try" in
78.2791 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2792 + *) ac_try_echo=$ac_try;;
78.2793 +esac
78.2794 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2795 + (eval "$ac_compile") 2>conftest.er1
78.2796 + ac_status=$?
78.2797 + grep -v '^ *+' conftest.er1 >conftest.err
78.2798 + rm -f conftest.er1
78.2799 + cat conftest.err >&5
78.2800 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2801 + (exit $ac_status); } &&
78.2802 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.2803 + { (case "(($ac_try" in
78.2804 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2805 + *) ac_try_echo=$ac_try;;
78.2806 +esac
78.2807 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2808 + (eval "$ac_try") 2>&5
78.2809 + ac_status=$?
78.2810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2811 + (exit $ac_status); }; } &&
78.2812 + { ac_try='test -s conftest.$ac_objext'
78.2813 + { (case "(($ac_try" in
78.2814 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2815 + *) ac_try_echo=$ac_try;;
78.2816 +esac
78.2817 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2818 + (eval "$ac_try") 2>&5
78.2819 + ac_status=$?
78.2820 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2821 + (exit $ac_status); }; }; then
78.2822 + ac_compiler_gnu=yes
78.2823 +else
78.2824 + echo "$as_me: failed program was:" >&5
78.2825 +sed 's/^/| /' conftest.$ac_ext >&5
78.2826 +
78.2827 + ac_compiler_gnu=no
78.2828 +fi
78.2829 +
78.2830 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.2831 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
78.2832 +
78.2833 +fi
78.2834 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
78.2835 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
78.2836 +GXX=`test $ac_compiler_gnu = yes && echo yes`
78.2837 +ac_test_CXXFLAGS=${CXXFLAGS+set}
78.2838 +ac_save_CXXFLAGS=$CXXFLAGS
78.2839 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
78.2840 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
78.2841 +if test "${ac_cv_prog_cxx_g+set}" = set; then
78.2842 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.2843 +else
78.2844 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
78.2845 + ac_cxx_werror_flag=yes
78.2846 + ac_cv_prog_cxx_g=no
78.2847 + CXXFLAGS="-g"
78.2848 + cat >conftest.$ac_ext <<_ACEOF
78.2849 +/* confdefs.h. */
78.2850 +_ACEOF
78.2851 +cat confdefs.h >>conftest.$ac_ext
78.2852 +cat >>conftest.$ac_ext <<_ACEOF
78.2853 +/* end confdefs.h. */
78.2854 +
78.2855 +int
78.2856 +main ()
78.2857 +{
78.2858 +
78.2859 + ;
78.2860 + return 0;
78.2861 +}
78.2862 +_ACEOF
78.2863 +rm -f conftest.$ac_objext
78.2864 +if { (ac_try="$ac_compile"
78.2865 +case "(($ac_try" in
78.2866 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2867 + *) ac_try_echo=$ac_try;;
78.2868 +esac
78.2869 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2870 + (eval "$ac_compile") 2>conftest.er1
78.2871 + ac_status=$?
78.2872 + grep -v '^ *+' conftest.er1 >conftest.err
78.2873 + rm -f conftest.er1
78.2874 + cat conftest.err >&5
78.2875 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2876 + (exit $ac_status); } &&
78.2877 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.2878 + { (case "(($ac_try" in
78.2879 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2880 + *) ac_try_echo=$ac_try;;
78.2881 +esac
78.2882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2883 + (eval "$ac_try") 2>&5
78.2884 + ac_status=$?
78.2885 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2886 + (exit $ac_status); }; } &&
78.2887 + { ac_try='test -s conftest.$ac_objext'
78.2888 + { (case "(($ac_try" in
78.2889 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2890 + *) ac_try_echo=$ac_try;;
78.2891 +esac
78.2892 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2893 + (eval "$ac_try") 2>&5
78.2894 + ac_status=$?
78.2895 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2896 + (exit $ac_status); }; }; then
78.2897 + ac_cv_prog_cxx_g=yes
78.2898 +else
78.2899 + echo "$as_me: failed program was:" >&5
78.2900 +sed 's/^/| /' conftest.$ac_ext >&5
78.2901 +
78.2902 + CXXFLAGS=""
78.2903 + cat >conftest.$ac_ext <<_ACEOF
78.2904 +/* confdefs.h. */
78.2905 +_ACEOF
78.2906 +cat confdefs.h >>conftest.$ac_ext
78.2907 +cat >>conftest.$ac_ext <<_ACEOF
78.2908 +/* end confdefs.h. */
78.2909 +
78.2910 +int
78.2911 +main ()
78.2912 +{
78.2913 +
78.2914 + ;
78.2915 + return 0;
78.2916 +}
78.2917 +_ACEOF
78.2918 +rm -f conftest.$ac_objext
78.2919 +if { (ac_try="$ac_compile"
78.2920 +case "(($ac_try" in
78.2921 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2922 + *) ac_try_echo=$ac_try;;
78.2923 +esac
78.2924 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2925 + (eval "$ac_compile") 2>conftest.er1
78.2926 + ac_status=$?
78.2927 + grep -v '^ *+' conftest.er1 >conftest.err
78.2928 + rm -f conftest.er1
78.2929 + cat conftest.err >&5
78.2930 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2931 + (exit $ac_status); } &&
78.2932 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.2933 + { (case "(($ac_try" in
78.2934 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2935 + *) ac_try_echo=$ac_try;;
78.2936 +esac
78.2937 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2938 + (eval "$ac_try") 2>&5
78.2939 + ac_status=$?
78.2940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2941 + (exit $ac_status); }; } &&
78.2942 + { ac_try='test -s conftest.$ac_objext'
78.2943 + { (case "(($ac_try" in
78.2944 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2945 + *) ac_try_echo=$ac_try;;
78.2946 +esac
78.2947 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2948 + (eval "$ac_try") 2>&5
78.2949 + ac_status=$?
78.2950 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2951 + (exit $ac_status); }; }; then
78.2952 + :
78.2953 +else
78.2954 + echo "$as_me: failed program was:" >&5
78.2955 +sed 's/^/| /' conftest.$ac_ext >&5
78.2956 +
78.2957 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
78.2958 + CXXFLAGS="-g"
78.2959 + cat >conftest.$ac_ext <<_ACEOF
78.2960 +/* confdefs.h. */
78.2961 +_ACEOF
78.2962 +cat confdefs.h >>conftest.$ac_ext
78.2963 +cat >>conftest.$ac_ext <<_ACEOF
78.2964 +/* end confdefs.h. */
78.2965 +
78.2966 +int
78.2967 +main ()
78.2968 +{
78.2969 +
78.2970 + ;
78.2971 + return 0;
78.2972 +}
78.2973 +_ACEOF
78.2974 +rm -f conftest.$ac_objext
78.2975 +if { (ac_try="$ac_compile"
78.2976 +case "(($ac_try" in
78.2977 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2978 + *) ac_try_echo=$ac_try;;
78.2979 +esac
78.2980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2981 + (eval "$ac_compile") 2>conftest.er1
78.2982 + ac_status=$?
78.2983 + grep -v '^ *+' conftest.er1 >conftest.err
78.2984 + rm -f conftest.er1
78.2985 + cat conftest.err >&5
78.2986 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2987 + (exit $ac_status); } &&
78.2988 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.2989 + { (case "(($ac_try" in
78.2990 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.2991 + *) ac_try_echo=$ac_try;;
78.2992 +esac
78.2993 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.2994 + (eval "$ac_try") 2>&5
78.2995 + ac_status=$?
78.2996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.2997 + (exit $ac_status); }; } &&
78.2998 + { ac_try='test -s conftest.$ac_objext'
78.2999 + { (case "(($ac_try" in
78.3000 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3001 + *) ac_try_echo=$ac_try;;
78.3002 +esac
78.3003 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3004 + (eval "$ac_try") 2>&5
78.3005 + ac_status=$?
78.3006 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3007 + (exit $ac_status); }; }; then
78.3008 + ac_cv_prog_cxx_g=yes
78.3009 +else
78.3010 + echo "$as_me: failed program was:" >&5
78.3011 +sed 's/^/| /' conftest.$ac_ext >&5
78.3012 +
78.3013 +
78.3014 +fi
78.3015 +
78.3016 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3017 +fi
78.3018 +
78.3019 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3020 +fi
78.3021 +
78.3022 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3023 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
78.3024 +fi
78.3025 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
78.3026 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
78.3027 +if test "$ac_test_CXXFLAGS" = set; then
78.3028 + CXXFLAGS=$ac_save_CXXFLAGS
78.3029 +elif test $ac_cv_prog_cxx_g = yes; then
78.3030 + if test "$GXX" = yes; then
78.3031 + CXXFLAGS="-g -O2"
78.3032 + else
78.3033 + CXXFLAGS="-g"
78.3034 + fi
78.3035 +else
78.3036 + if test "$GXX" = yes; then
78.3037 + CXXFLAGS="-O2"
78.3038 + else
78.3039 + CXXFLAGS=
78.3040 + fi
78.3041 +fi
78.3042 +ac_ext=cpp
78.3043 +ac_cpp='$CXXCPP $CPPFLAGS'
78.3044 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.3045 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.3046 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.3047 +DEPDIR="${am__leading_dot}deps"
78.3048 +
78.3049 +ac_config_commands="$ac_config_commands depfiles"
78.3050 +
78.3051 +
78.3052 +am_make=${MAKE-make}
78.3053 +cat > confinc << 'END'
78.3054 +am__doit:
78.3055 + @echo done
78.3056 +.PHONY: am__doit
78.3057 +END
78.3058 +# If we don't find an include directive, just comment out the code.
78.3059 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
78.3060 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
78.3061 +am__include="#"
78.3062 +am__quote=
78.3063 +_am_result=none
78.3064 +# First try GNU make style include.
78.3065 +echo "include confinc" > confmf
78.3066 +# We grep out `Entering directory' and `Leaving directory'
78.3067 +# messages which can occur if `w' ends up in MAKEFLAGS.
78.3068 +# In particular we don't look at `^make:' because GNU make might
78.3069 +# be invoked under some other name (usually "gmake"), in which
78.3070 +# case it prints its new name instead of `make'.
78.3071 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
78.3072 + am__include=include
78.3073 + am__quote=
78.3074 + _am_result=GNU
78.3075 +fi
78.3076 +# Now try BSD make style include.
78.3077 +if test "$am__include" = "#"; then
78.3078 + echo '.include "confinc"' > confmf
78.3079 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
78.3080 + am__include=.include
78.3081 + am__quote="\""
78.3082 + _am_result=BSD
78.3083 + fi
78.3084 +fi
78.3085 +
78.3086 +
78.3087 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
78.3088 +echo "${ECHO_T}$_am_result" >&6; }
78.3089 +rm -f confinc confmf
78.3090 +
78.3091 +# Check whether --enable-dependency-tracking was given.
78.3092 +if test "${enable_dependency_tracking+set}" = set; then
78.3093 + enableval=$enable_dependency_tracking;
78.3094 +fi
78.3095 +
78.3096 +if test "x$enable_dependency_tracking" != xno; then
78.3097 + am_depcomp="$ac_aux_dir/depcomp"
78.3098 + AMDEPBACKSLASH='\'
78.3099 +fi
78.3100 +
78.3101 +
78.3102 +if test "x$enable_dependency_tracking" != xno; then
78.3103 + AMDEP_TRUE=
78.3104 + AMDEP_FALSE='#'
78.3105 +else
78.3106 + AMDEP_TRUE='#'
78.3107 + AMDEP_FALSE=
78.3108 +fi
78.3109 +
78.3110 +
78.3111 +
78.3112 +
78.3113 +depcc="$CXX" am_compiler_list=
78.3114 +
78.3115 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
78.3116 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
78.3117 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
78.3118 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3119 +else
78.3120 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
78.3121 + # We make a subdir and do the tests there. Otherwise we can end up
78.3122 + # making bogus files that we don't know about and never remove. For
78.3123 + # instance it was reported that on HP-UX the gcc test will end up
78.3124 + # making a dummy file named `D' -- because `-MD' means `put the output
78.3125 + # in D'.
78.3126 + mkdir conftest.dir
78.3127 + # Copy depcomp to subdir because otherwise we won't find it if we're
78.3128 + # using a relative directory.
78.3129 + cp "$am_depcomp" conftest.dir
78.3130 + cd conftest.dir
78.3131 + # We will build objects and dependencies in a subdirectory because
78.3132 + # it helps to detect inapplicable dependency modes. For instance
78.3133 + # both Tru64's cc and ICC support -MD to output dependencies as a
78.3134 + # side effect of compilation, but ICC will put the dependencies in
78.3135 + # the current directory while Tru64 will put them in the object
78.3136 + # directory.
78.3137 + mkdir sub
78.3138 +
78.3139 + am_cv_CXX_dependencies_compiler_type=none
78.3140 + if test "$am_compiler_list" = ""; then
78.3141 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
78.3142 + fi
78.3143 + for depmode in $am_compiler_list; do
78.3144 + # Setup a source with many dependencies, because some compilers
78.3145 + # like to wrap large dependency lists on column 80 (with \), and
78.3146 + # we should not choose a depcomp mode which is confused by this.
78.3147 + #
78.3148 + # We need to recreate these files for each test, as the compiler may
78.3149 + # overwrite some of them when testing with obscure command lines.
78.3150 + # This happens at least with the AIX C compiler.
78.3151 + : > sub/conftest.c
78.3152 + for i in 1 2 3 4 5 6; do
78.3153 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
78.3154 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
78.3155 + # Solaris 8's {/usr,}/bin/sh.
78.3156 + touch sub/conftst$i.h
78.3157 + done
78.3158 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
78.3159 +
78.3160 + case $depmode in
78.3161 + nosideeffect)
78.3162 + # after this tag, mechanisms are not by side-effect, so they'll
78.3163 + # only be used when explicitly requested
78.3164 + if test "x$enable_dependency_tracking" = xyes; then
78.3165 + continue
78.3166 + else
78.3167 + break
78.3168 + fi
78.3169 + ;;
78.3170 + none) break ;;
78.3171 + esac
78.3172 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
78.3173 + # mode. It turns out that the SunPro C++ compiler does not properly
78.3174 + # handle `-M -o', and we need to detect this.
78.3175 + if depmode=$depmode \
78.3176 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
78.3177 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
78.3178 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
78.3179 + >/dev/null 2>conftest.err &&
78.3180 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
78.3181 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
78.3182 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
78.3183 + # icc doesn't choke on unknown options, it will just issue warnings
78.3184 + # or remarks (even with -Werror). So we grep stderr for any message
78.3185 + # that says an option was ignored or not supported.
78.3186 + # When given -MP, icc 7.0 and 7.1 complain thusly:
78.3187 + # icc: Command line warning: ignoring option '-M'; no argument required
78.3188 + # The diagnosis changed in icc 8.0:
78.3189 + # icc: Command line remark: option '-MP' not supported
78.3190 + if (grep 'ignoring option' conftest.err ||
78.3191 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
78.3192 + am_cv_CXX_dependencies_compiler_type=$depmode
78.3193 + break
78.3194 + fi
78.3195 + fi
78.3196 + done
78.3197 +
78.3198 + cd ..
78.3199 + rm -rf conftest.dir
78.3200 +else
78.3201 + am_cv_CXX_dependencies_compiler_type=none
78.3202 +fi
78.3203 +
78.3204 +fi
78.3205 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
78.3206 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
78.3207 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
78.3208 +
78.3209 +
78.3210 +
78.3211 +if
78.3212 + test "x$enable_dependency_tracking" != xno \
78.3213 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
78.3214 + am__fastdepCXX_TRUE=
78.3215 + am__fastdepCXX_FALSE='#'
78.3216 +else
78.3217 + am__fastdepCXX_TRUE='#'
78.3218 + am__fastdepCXX_FALSE=
78.3219 +fi
78.3220 +
78.3221 +
78.3222 +# Check whether --enable-shared was given.
78.3223 +if test "${enable_shared+set}" = set; then
78.3224 + enableval=$enable_shared; p=${PACKAGE-default}
78.3225 + case $enableval in
78.3226 + yes) enable_shared=yes ;;
78.3227 + no) enable_shared=no ;;
78.3228 + *)
78.3229 + enable_shared=no
78.3230 + # Look at the argument we got. We use all the common list separators.
78.3231 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
78.3232 + for pkg in $enableval; do
78.3233 + IFS="$lt_save_ifs"
78.3234 + if test "X$pkg" = "X$p"; then
78.3235 + enable_shared=yes
78.3236 + fi
78.3237 + done
78.3238 + IFS="$lt_save_ifs"
78.3239 + ;;
78.3240 + esac
78.3241 +else
78.3242 + enable_shared=yes
78.3243 +fi
78.3244 +
78.3245 +
78.3246 +# Check whether --enable-static was given.
78.3247 +if test "${enable_static+set}" = set; then
78.3248 + enableval=$enable_static; p=${PACKAGE-default}
78.3249 + case $enableval in
78.3250 + yes) enable_static=yes ;;
78.3251 + no) enable_static=no ;;
78.3252 + *)
78.3253 + enable_static=no
78.3254 + # Look at the argument we got. We use all the common list separators.
78.3255 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
78.3256 + for pkg in $enableval; do
78.3257 + IFS="$lt_save_ifs"
78.3258 + if test "X$pkg" = "X$p"; then
78.3259 + enable_static=yes
78.3260 + fi
78.3261 + done
78.3262 + IFS="$lt_save_ifs"
78.3263 + ;;
78.3264 + esac
78.3265 +else
78.3266 + enable_static=yes
78.3267 +fi
78.3268 +
78.3269 +
78.3270 +# Check whether --enable-fast-install was given.
78.3271 +if test "${enable_fast_install+set}" = set; then
78.3272 + enableval=$enable_fast_install; p=${PACKAGE-default}
78.3273 + case $enableval in
78.3274 + yes) enable_fast_install=yes ;;
78.3275 + no) enable_fast_install=no ;;
78.3276 + *)
78.3277 + enable_fast_install=no
78.3278 + # Look at the argument we got. We use all the common list separators.
78.3279 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
78.3280 + for pkg in $enableval; do
78.3281 + IFS="$lt_save_ifs"
78.3282 + if test "X$pkg" = "X$p"; then
78.3283 + enable_fast_install=yes
78.3284 + fi
78.3285 + done
78.3286 + IFS="$lt_save_ifs"
78.3287 + ;;
78.3288 + esac
78.3289 +else
78.3290 + enable_fast_install=yes
78.3291 +fi
78.3292 +
78.3293 +
78.3294 +# Make sure we can run config.sub.
78.3295 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
78.3296 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
78.3297 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
78.3298 + { (exit 1); exit 1; }; }
78.3299 +
78.3300 +{ echo "$as_me:$LINENO: checking build system type" >&5
78.3301 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
78.3302 +if test "${ac_cv_build+set}" = set; then
78.3303 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3304 +else
78.3305 + ac_build_alias=$build_alias
78.3306 +test "x$ac_build_alias" = x &&
78.3307 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
78.3308 +test "x$ac_build_alias" = x &&
78.3309 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
78.3310 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
78.3311 + { (exit 1); exit 1; }; }
78.3312 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
78.3313 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
78.3314 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
78.3315 + { (exit 1); exit 1; }; }
78.3316 +
78.3317 +fi
78.3318 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
78.3319 +echo "${ECHO_T}$ac_cv_build" >&6; }
78.3320 +case $ac_cv_build in
78.3321 +*-*-*) ;;
78.3322 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
78.3323 +echo "$as_me: error: invalid value of canonical build" >&2;}
78.3324 + { (exit 1); exit 1; }; };;
78.3325 +esac
78.3326 +build=$ac_cv_build
78.3327 +ac_save_IFS=$IFS; IFS='-'
78.3328 +set x $ac_cv_build
78.3329 +shift
78.3330 +build_cpu=$1
78.3331 +build_vendor=$2
78.3332 +shift; shift
78.3333 +# Remember, the first character of IFS is used to create $*,
78.3334 +# except with old shells:
78.3335 +build_os=$*
78.3336 +IFS=$ac_save_IFS
78.3337 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
78.3338 +
78.3339 +
78.3340 +{ echo "$as_me:$LINENO: checking host system type" >&5
78.3341 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
78.3342 +if test "${ac_cv_host+set}" = set; then
78.3343 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3344 +else
78.3345 + if test "x$host_alias" = x; then
78.3346 + ac_cv_host=$ac_cv_build
78.3347 +else
78.3348 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
78.3349 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
78.3350 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
78.3351 + { (exit 1); exit 1; }; }
78.3352 +fi
78.3353 +
78.3354 +fi
78.3355 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
78.3356 +echo "${ECHO_T}$ac_cv_host" >&6; }
78.3357 +case $ac_cv_host in
78.3358 +*-*-*) ;;
78.3359 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
78.3360 +echo "$as_me: error: invalid value of canonical host" >&2;}
78.3361 + { (exit 1); exit 1; }; };;
78.3362 +esac
78.3363 +host=$ac_cv_host
78.3364 +ac_save_IFS=$IFS; IFS='-'
78.3365 +set x $ac_cv_host
78.3366 +shift
78.3367 +host_cpu=$1
78.3368 +host_vendor=$2
78.3369 +shift; shift
78.3370 +# Remember, the first character of IFS is used to create $*,
78.3371 +# except with old shells:
78.3372 +host_os=$*
78.3373 +IFS=$ac_save_IFS
78.3374 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
78.3375 +
78.3376 +
78.3377 +ac_ext=c
78.3378 +ac_cpp='$CPP $CPPFLAGS'
78.3379 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.3380 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.3381 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.3382 +if test -n "$ac_tool_prefix"; then
78.3383 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
78.3384 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
78.3385 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3386 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3387 +if test "${ac_cv_prog_CC+set}" = set; then
78.3388 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3389 +else
78.3390 + if test -n "$CC"; then
78.3391 + ac_cv_prog_CC="$CC" # Let the user override the test.
78.3392 +else
78.3393 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3394 +for as_dir in $PATH
78.3395 +do
78.3396 + IFS=$as_save_IFS
78.3397 + test -z "$as_dir" && as_dir=.
78.3398 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3399 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3400 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
78.3401 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3402 + break 2
78.3403 + fi
78.3404 +done
78.3405 +done
78.3406 +IFS=$as_save_IFS
78.3407 +
78.3408 +fi
78.3409 +fi
78.3410 +CC=$ac_cv_prog_CC
78.3411 +if test -n "$CC"; then
78.3412 + { echo "$as_me:$LINENO: result: $CC" >&5
78.3413 +echo "${ECHO_T}$CC" >&6; }
78.3414 +else
78.3415 + { echo "$as_me:$LINENO: result: no" >&5
78.3416 +echo "${ECHO_T}no" >&6; }
78.3417 +fi
78.3418 +
78.3419 +
78.3420 +fi
78.3421 +if test -z "$ac_cv_prog_CC"; then
78.3422 + ac_ct_CC=$CC
78.3423 + # Extract the first word of "gcc", so it can be a program name with args.
78.3424 +set dummy gcc; ac_word=$2
78.3425 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3426 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3427 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
78.3428 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3429 +else
78.3430 + if test -n "$ac_ct_CC"; then
78.3431 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
78.3432 +else
78.3433 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3434 +for as_dir in $PATH
78.3435 +do
78.3436 + IFS=$as_save_IFS
78.3437 + test -z "$as_dir" && as_dir=.
78.3438 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3439 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3440 + ac_cv_prog_ac_ct_CC="gcc"
78.3441 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3442 + break 2
78.3443 + fi
78.3444 +done
78.3445 +done
78.3446 +IFS=$as_save_IFS
78.3447 +
78.3448 +fi
78.3449 +fi
78.3450 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
78.3451 +if test -n "$ac_ct_CC"; then
78.3452 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
78.3453 +echo "${ECHO_T}$ac_ct_CC" >&6; }
78.3454 +else
78.3455 + { echo "$as_me:$LINENO: result: no" >&5
78.3456 +echo "${ECHO_T}no" >&6; }
78.3457 +fi
78.3458 +
78.3459 + if test "x$ac_ct_CC" = x; then
78.3460 + CC=""
78.3461 + else
78.3462 + case $cross_compiling:$ac_tool_warned in
78.3463 +yes:)
78.3464 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.3465 +whose name does not start with the host triplet. If you think this
78.3466 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.3467 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.3468 +whose name does not start with the host triplet. If you think this
78.3469 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.3470 +ac_tool_warned=yes ;;
78.3471 +esac
78.3472 + CC=$ac_ct_CC
78.3473 + fi
78.3474 +else
78.3475 + CC="$ac_cv_prog_CC"
78.3476 +fi
78.3477 +
78.3478 +if test -z "$CC"; then
78.3479 + if test -n "$ac_tool_prefix"; then
78.3480 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
78.3481 +set dummy ${ac_tool_prefix}cc; ac_word=$2
78.3482 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3483 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3484 +if test "${ac_cv_prog_CC+set}" = set; then
78.3485 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3486 +else
78.3487 + if test -n "$CC"; then
78.3488 + ac_cv_prog_CC="$CC" # Let the user override the test.
78.3489 +else
78.3490 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3491 +for as_dir in $PATH
78.3492 +do
78.3493 + IFS=$as_save_IFS
78.3494 + test -z "$as_dir" && as_dir=.
78.3495 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3496 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3497 + ac_cv_prog_CC="${ac_tool_prefix}cc"
78.3498 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3499 + break 2
78.3500 + fi
78.3501 +done
78.3502 +done
78.3503 +IFS=$as_save_IFS
78.3504 +
78.3505 +fi
78.3506 +fi
78.3507 +CC=$ac_cv_prog_CC
78.3508 +if test -n "$CC"; then
78.3509 + { echo "$as_me:$LINENO: result: $CC" >&5
78.3510 +echo "${ECHO_T}$CC" >&6; }
78.3511 +else
78.3512 + { echo "$as_me:$LINENO: result: no" >&5
78.3513 +echo "${ECHO_T}no" >&6; }
78.3514 +fi
78.3515 +
78.3516 +
78.3517 + fi
78.3518 +fi
78.3519 +if test -z "$CC"; then
78.3520 + # Extract the first word of "cc", so it can be a program name with args.
78.3521 +set dummy cc; ac_word=$2
78.3522 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3523 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3524 +if test "${ac_cv_prog_CC+set}" = set; then
78.3525 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3526 +else
78.3527 + if test -n "$CC"; then
78.3528 + ac_cv_prog_CC="$CC" # Let the user override the test.
78.3529 +else
78.3530 + ac_prog_rejected=no
78.3531 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3532 +for as_dir in $PATH
78.3533 +do
78.3534 + IFS=$as_save_IFS
78.3535 + test -z "$as_dir" && as_dir=.
78.3536 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3537 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3538 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
78.3539 + ac_prog_rejected=yes
78.3540 + continue
78.3541 + fi
78.3542 + ac_cv_prog_CC="cc"
78.3543 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3544 + break 2
78.3545 + fi
78.3546 +done
78.3547 +done
78.3548 +IFS=$as_save_IFS
78.3549 +
78.3550 +if test $ac_prog_rejected = yes; then
78.3551 + # We found a bogon in the path, so make sure we never use it.
78.3552 + set dummy $ac_cv_prog_CC
78.3553 + shift
78.3554 + if test $# != 0; then
78.3555 + # We chose a different compiler from the bogus one.
78.3556 + # However, it has the same basename, so the bogon will be chosen
78.3557 + # first if we set CC to just the basename; use the full file name.
78.3558 + shift
78.3559 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
78.3560 + fi
78.3561 +fi
78.3562 +fi
78.3563 +fi
78.3564 +CC=$ac_cv_prog_CC
78.3565 +if test -n "$CC"; then
78.3566 + { echo "$as_me:$LINENO: result: $CC" >&5
78.3567 +echo "${ECHO_T}$CC" >&6; }
78.3568 +else
78.3569 + { echo "$as_me:$LINENO: result: no" >&5
78.3570 +echo "${ECHO_T}no" >&6; }
78.3571 +fi
78.3572 +
78.3573 +
78.3574 +fi
78.3575 +if test -z "$CC"; then
78.3576 + if test -n "$ac_tool_prefix"; then
78.3577 + for ac_prog in cl.exe
78.3578 + do
78.3579 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
78.3580 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
78.3581 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3582 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3583 +if test "${ac_cv_prog_CC+set}" = set; then
78.3584 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3585 +else
78.3586 + if test -n "$CC"; then
78.3587 + ac_cv_prog_CC="$CC" # Let the user override the test.
78.3588 +else
78.3589 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3590 +for as_dir in $PATH
78.3591 +do
78.3592 + IFS=$as_save_IFS
78.3593 + test -z "$as_dir" && as_dir=.
78.3594 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3595 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3596 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
78.3597 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3598 + break 2
78.3599 + fi
78.3600 +done
78.3601 +done
78.3602 +IFS=$as_save_IFS
78.3603 +
78.3604 +fi
78.3605 +fi
78.3606 +CC=$ac_cv_prog_CC
78.3607 +if test -n "$CC"; then
78.3608 + { echo "$as_me:$LINENO: result: $CC" >&5
78.3609 +echo "${ECHO_T}$CC" >&6; }
78.3610 +else
78.3611 + { echo "$as_me:$LINENO: result: no" >&5
78.3612 +echo "${ECHO_T}no" >&6; }
78.3613 +fi
78.3614 +
78.3615 +
78.3616 + test -n "$CC" && break
78.3617 + done
78.3618 +fi
78.3619 +if test -z "$CC"; then
78.3620 + ac_ct_CC=$CC
78.3621 + for ac_prog in cl.exe
78.3622 +do
78.3623 + # Extract the first word of "$ac_prog", so it can be a program name with args.
78.3624 +set dummy $ac_prog; ac_word=$2
78.3625 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.3626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.3627 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
78.3628 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3629 +else
78.3630 + if test -n "$ac_ct_CC"; then
78.3631 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
78.3632 +else
78.3633 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.3634 +for as_dir in $PATH
78.3635 +do
78.3636 + IFS=$as_save_IFS
78.3637 + test -z "$as_dir" && as_dir=.
78.3638 + for ac_exec_ext in '' $ac_executable_extensions; do
78.3639 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.3640 + ac_cv_prog_ac_ct_CC="$ac_prog"
78.3641 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.3642 + break 2
78.3643 + fi
78.3644 +done
78.3645 +done
78.3646 +IFS=$as_save_IFS
78.3647 +
78.3648 +fi
78.3649 +fi
78.3650 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
78.3651 +if test -n "$ac_ct_CC"; then
78.3652 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
78.3653 +echo "${ECHO_T}$ac_ct_CC" >&6; }
78.3654 +else
78.3655 + { echo "$as_me:$LINENO: result: no" >&5
78.3656 +echo "${ECHO_T}no" >&6; }
78.3657 +fi
78.3658 +
78.3659 +
78.3660 + test -n "$ac_ct_CC" && break
78.3661 +done
78.3662 +
78.3663 + if test "x$ac_ct_CC" = x; then
78.3664 + CC=""
78.3665 + else
78.3666 + case $cross_compiling:$ac_tool_warned in
78.3667 +yes:)
78.3668 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.3669 +whose name does not start with the host triplet. If you think this
78.3670 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.3671 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.3672 +whose name does not start with the host triplet. If you think this
78.3673 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.3674 +ac_tool_warned=yes ;;
78.3675 +esac
78.3676 + CC=$ac_ct_CC
78.3677 + fi
78.3678 +fi
78.3679 +
78.3680 +fi
78.3681 +
78.3682 +
78.3683 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
78.3684 +See \`config.log' for more details." >&5
78.3685 +echo "$as_me: error: no acceptable C compiler found in \$PATH
78.3686 +See \`config.log' for more details." >&2;}
78.3687 + { (exit 1); exit 1; }; }
78.3688 +
78.3689 +# Provide some information about the compiler.
78.3690 +echo "$as_me:$LINENO: checking for C compiler version" >&5
78.3691 +ac_compiler=`set X $ac_compile; echo $2`
78.3692 +{ (ac_try="$ac_compiler --version >&5"
78.3693 +case "(($ac_try" in
78.3694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3695 + *) ac_try_echo=$ac_try;;
78.3696 +esac
78.3697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3698 + (eval "$ac_compiler --version >&5") 2>&5
78.3699 + ac_status=$?
78.3700 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3701 + (exit $ac_status); }
78.3702 +{ (ac_try="$ac_compiler -v >&5"
78.3703 +case "(($ac_try" in
78.3704 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3705 + *) ac_try_echo=$ac_try;;
78.3706 +esac
78.3707 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3708 + (eval "$ac_compiler -v >&5") 2>&5
78.3709 + ac_status=$?
78.3710 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3711 + (exit $ac_status); }
78.3712 +{ (ac_try="$ac_compiler -V >&5"
78.3713 +case "(($ac_try" in
78.3714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3715 + *) ac_try_echo=$ac_try;;
78.3716 +esac
78.3717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3718 + (eval "$ac_compiler -V >&5") 2>&5
78.3719 + ac_status=$?
78.3720 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3721 + (exit $ac_status); }
78.3722 +
78.3723 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
78.3724 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
78.3725 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
78.3726 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3727 +else
78.3728 + cat >conftest.$ac_ext <<_ACEOF
78.3729 +/* confdefs.h. */
78.3730 +_ACEOF
78.3731 +cat confdefs.h >>conftest.$ac_ext
78.3732 +cat >>conftest.$ac_ext <<_ACEOF
78.3733 +/* end confdefs.h. */
78.3734 +
78.3735 +int
78.3736 +main ()
78.3737 +{
78.3738 +#ifndef __GNUC__
78.3739 + choke me
78.3740 +#endif
78.3741 +
78.3742 + ;
78.3743 + return 0;
78.3744 +}
78.3745 +_ACEOF
78.3746 +rm -f conftest.$ac_objext
78.3747 +if { (ac_try="$ac_compile"
78.3748 +case "(($ac_try" in
78.3749 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3750 + *) ac_try_echo=$ac_try;;
78.3751 +esac
78.3752 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3753 + (eval "$ac_compile") 2>conftest.er1
78.3754 + ac_status=$?
78.3755 + grep -v '^ *+' conftest.er1 >conftest.err
78.3756 + rm -f conftest.er1
78.3757 + cat conftest.err >&5
78.3758 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3759 + (exit $ac_status); } &&
78.3760 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.3761 + { (case "(($ac_try" in
78.3762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3763 + *) ac_try_echo=$ac_try;;
78.3764 +esac
78.3765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3766 + (eval "$ac_try") 2>&5
78.3767 + ac_status=$?
78.3768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3769 + (exit $ac_status); }; } &&
78.3770 + { ac_try='test -s conftest.$ac_objext'
78.3771 + { (case "(($ac_try" in
78.3772 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3773 + *) ac_try_echo=$ac_try;;
78.3774 +esac
78.3775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3776 + (eval "$ac_try") 2>&5
78.3777 + ac_status=$?
78.3778 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3779 + (exit $ac_status); }; }; then
78.3780 + ac_compiler_gnu=yes
78.3781 +else
78.3782 + echo "$as_me: failed program was:" >&5
78.3783 +sed 's/^/| /' conftest.$ac_ext >&5
78.3784 +
78.3785 + ac_compiler_gnu=no
78.3786 +fi
78.3787 +
78.3788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3789 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
78.3790 +
78.3791 +fi
78.3792 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
78.3793 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
78.3794 +GCC=`test $ac_compiler_gnu = yes && echo yes`
78.3795 +ac_test_CFLAGS=${CFLAGS+set}
78.3796 +ac_save_CFLAGS=$CFLAGS
78.3797 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
78.3798 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
78.3799 +if test "${ac_cv_prog_cc_g+set}" = set; then
78.3800 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.3801 +else
78.3802 + ac_save_c_werror_flag=$ac_c_werror_flag
78.3803 + ac_c_werror_flag=yes
78.3804 + ac_cv_prog_cc_g=no
78.3805 + CFLAGS="-g"
78.3806 + cat >conftest.$ac_ext <<_ACEOF
78.3807 +/* confdefs.h. */
78.3808 +_ACEOF
78.3809 +cat confdefs.h >>conftest.$ac_ext
78.3810 +cat >>conftest.$ac_ext <<_ACEOF
78.3811 +/* end confdefs.h. */
78.3812 +
78.3813 +int
78.3814 +main ()
78.3815 +{
78.3816 +
78.3817 + ;
78.3818 + return 0;
78.3819 +}
78.3820 +_ACEOF
78.3821 +rm -f conftest.$ac_objext
78.3822 +if { (ac_try="$ac_compile"
78.3823 +case "(($ac_try" in
78.3824 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3825 + *) ac_try_echo=$ac_try;;
78.3826 +esac
78.3827 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3828 + (eval "$ac_compile") 2>conftest.er1
78.3829 + ac_status=$?
78.3830 + grep -v '^ *+' conftest.er1 >conftest.err
78.3831 + rm -f conftest.er1
78.3832 + cat conftest.err >&5
78.3833 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3834 + (exit $ac_status); } &&
78.3835 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.3836 + { (case "(($ac_try" in
78.3837 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3838 + *) ac_try_echo=$ac_try;;
78.3839 +esac
78.3840 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3841 + (eval "$ac_try") 2>&5
78.3842 + ac_status=$?
78.3843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3844 + (exit $ac_status); }; } &&
78.3845 + { ac_try='test -s conftest.$ac_objext'
78.3846 + { (case "(($ac_try" in
78.3847 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3848 + *) ac_try_echo=$ac_try;;
78.3849 +esac
78.3850 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3851 + (eval "$ac_try") 2>&5
78.3852 + ac_status=$?
78.3853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3854 + (exit $ac_status); }; }; then
78.3855 + ac_cv_prog_cc_g=yes
78.3856 +else
78.3857 + echo "$as_me: failed program was:" >&5
78.3858 +sed 's/^/| /' conftest.$ac_ext >&5
78.3859 +
78.3860 + CFLAGS=""
78.3861 + cat >conftest.$ac_ext <<_ACEOF
78.3862 +/* confdefs.h. */
78.3863 +_ACEOF
78.3864 +cat confdefs.h >>conftest.$ac_ext
78.3865 +cat >>conftest.$ac_ext <<_ACEOF
78.3866 +/* end confdefs.h. */
78.3867 +
78.3868 +int
78.3869 +main ()
78.3870 +{
78.3871 +
78.3872 + ;
78.3873 + return 0;
78.3874 +}
78.3875 +_ACEOF
78.3876 +rm -f conftest.$ac_objext
78.3877 +if { (ac_try="$ac_compile"
78.3878 +case "(($ac_try" in
78.3879 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3880 + *) ac_try_echo=$ac_try;;
78.3881 +esac
78.3882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3883 + (eval "$ac_compile") 2>conftest.er1
78.3884 + ac_status=$?
78.3885 + grep -v '^ *+' conftest.er1 >conftest.err
78.3886 + rm -f conftest.er1
78.3887 + cat conftest.err >&5
78.3888 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3889 + (exit $ac_status); } &&
78.3890 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.3891 + { (case "(($ac_try" in
78.3892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3893 + *) ac_try_echo=$ac_try;;
78.3894 +esac
78.3895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3896 + (eval "$ac_try") 2>&5
78.3897 + ac_status=$?
78.3898 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3899 + (exit $ac_status); }; } &&
78.3900 + { ac_try='test -s conftest.$ac_objext'
78.3901 + { (case "(($ac_try" in
78.3902 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3903 + *) ac_try_echo=$ac_try;;
78.3904 +esac
78.3905 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3906 + (eval "$ac_try") 2>&5
78.3907 + ac_status=$?
78.3908 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3909 + (exit $ac_status); }; }; then
78.3910 + :
78.3911 +else
78.3912 + echo "$as_me: failed program was:" >&5
78.3913 +sed 's/^/| /' conftest.$ac_ext >&5
78.3914 +
78.3915 + ac_c_werror_flag=$ac_save_c_werror_flag
78.3916 + CFLAGS="-g"
78.3917 + cat >conftest.$ac_ext <<_ACEOF
78.3918 +/* confdefs.h. */
78.3919 +_ACEOF
78.3920 +cat confdefs.h >>conftest.$ac_ext
78.3921 +cat >>conftest.$ac_ext <<_ACEOF
78.3922 +/* end confdefs.h. */
78.3923 +
78.3924 +int
78.3925 +main ()
78.3926 +{
78.3927 +
78.3928 + ;
78.3929 + return 0;
78.3930 +}
78.3931 +_ACEOF
78.3932 +rm -f conftest.$ac_objext
78.3933 +if { (ac_try="$ac_compile"
78.3934 +case "(($ac_try" in
78.3935 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3936 + *) ac_try_echo=$ac_try;;
78.3937 +esac
78.3938 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3939 + (eval "$ac_compile") 2>conftest.er1
78.3940 + ac_status=$?
78.3941 + grep -v '^ *+' conftest.er1 >conftest.err
78.3942 + rm -f conftest.er1
78.3943 + cat conftest.err >&5
78.3944 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3945 + (exit $ac_status); } &&
78.3946 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.3947 + { (case "(($ac_try" in
78.3948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3949 + *) ac_try_echo=$ac_try;;
78.3950 +esac
78.3951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3952 + (eval "$ac_try") 2>&5
78.3953 + ac_status=$?
78.3954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3955 + (exit $ac_status); }; } &&
78.3956 + { ac_try='test -s conftest.$ac_objext'
78.3957 + { (case "(($ac_try" in
78.3958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.3959 + *) ac_try_echo=$ac_try;;
78.3960 +esac
78.3961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.3962 + (eval "$ac_try") 2>&5
78.3963 + ac_status=$?
78.3964 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.3965 + (exit $ac_status); }; }; then
78.3966 + ac_cv_prog_cc_g=yes
78.3967 +else
78.3968 + echo "$as_me: failed program was:" >&5
78.3969 +sed 's/^/| /' conftest.$ac_ext >&5
78.3970 +
78.3971 +
78.3972 +fi
78.3973 +
78.3974 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3975 +fi
78.3976 +
78.3977 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3978 +fi
78.3979 +
78.3980 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.3981 + ac_c_werror_flag=$ac_save_c_werror_flag
78.3982 +fi
78.3983 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
78.3984 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
78.3985 +if test "$ac_test_CFLAGS" = set; then
78.3986 + CFLAGS=$ac_save_CFLAGS
78.3987 +elif test $ac_cv_prog_cc_g = yes; then
78.3988 + if test "$GCC" = yes; then
78.3989 + CFLAGS="-g -O2"
78.3990 + else
78.3991 + CFLAGS="-g"
78.3992 + fi
78.3993 +else
78.3994 + if test "$GCC" = yes; then
78.3995 + CFLAGS="-O2"
78.3996 + else
78.3997 + CFLAGS=
78.3998 + fi
78.3999 +fi
78.4000 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
78.4001 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
78.4002 +if test "${ac_cv_prog_cc_c89+set}" = set; then
78.4003 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4004 +else
78.4005 + ac_cv_prog_cc_c89=no
78.4006 +ac_save_CC=$CC
78.4007 +cat >conftest.$ac_ext <<_ACEOF
78.4008 +/* confdefs.h. */
78.4009 +_ACEOF
78.4010 +cat confdefs.h >>conftest.$ac_ext
78.4011 +cat >>conftest.$ac_ext <<_ACEOF
78.4012 +/* end confdefs.h. */
78.4013 +#include <stdarg.h>
78.4014 +#include <stdio.h>
78.4015 +#include <sys/types.h>
78.4016 +#include <sys/stat.h>
78.4017 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
78.4018 +struct buf { int x; };
78.4019 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
78.4020 +static char *e (p, i)
78.4021 + char **p;
78.4022 + int i;
78.4023 +{
78.4024 + return p[i];
78.4025 +}
78.4026 +static char *f (char * (*g) (char **, int), char **p, ...)
78.4027 +{
78.4028 + char *s;
78.4029 + va_list v;
78.4030 + va_start (v,p);
78.4031 + s = g (p, va_arg (v,int));
78.4032 + va_end (v);
78.4033 + return s;
78.4034 +}
78.4035 +
78.4036 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
78.4037 + function prototypes and stuff, but not '\xHH' hex character constants.
78.4038 + These don't provoke an error unfortunately, instead are silently treated
78.4039 + as 'x'. The following induces an error, until -std is added to get
78.4040 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
78.4041 + array size at least. It's necessary to write '\x00'==0 to get something
78.4042 + that's true only with -std. */
78.4043 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
78.4044 +
78.4045 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
78.4046 + inside strings and character constants. */
78.4047 +#define FOO(x) 'x'
78.4048 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
78.4049 +
78.4050 +int test (int i, double x);
78.4051 +struct s1 {int (*f) (int a);};
78.4052 +struct s2 {int (*f) (double a);};
78.4053 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
78.4054 +int argc;
78.4055 +char **argv;
78.4056 +int
78.4057 +main ()
78.4058 +{
78.4059 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
78.4060 + ;
78.4061 + return 0;
78.4062 +}
78.4063 +_ACEOF
78.4064 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
78.4065 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
78.4066 +do
78.4067 + CC="$ac_save_CC $ac_arg"
78.4068 + rm -f conftest.$ac_objext
78.4069 +if { (ac_try="$ac_compile"
78.4070 +case "(($ac_try" in
78.4071 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.4072 + *) ac_try_echo=$ac_try;;
78.4073 +esac
78.4074 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.4075 + (eval "$ac_compile") 2>conftest.er1
78.4076 + ac_status=$?
78.4077 + grep -v '^ *+' conftest.er1 >conftest.err
78.4078 + rm -f conftest.er1
78.4079 + cat conftest.err >&5
78.4080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4081 + (exit $ac_status); } &&
78.4082 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.4083 + { (case "(($ac_try" in
78.4084 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.4085 + *) ac_try_echo=$ac_try;;
78.4086 +esac
78.4087 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.4088 + (eval "$ac_try") 2>&5
78.4089 + ac_status=$?
78.4090 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4091 + (exit $ac_status); }; } &&
78.4092 + { ac_try='test -s conftest.$ac_objext'
78.4093 + { (case "(($ac_try" in
78.4094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.4095 + *) ac_try_echo=$ac_try;;
78.4096 +esac
78.4097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.4098 + (eval "$ac_try") 2>&5
78.4099 + ac_status=$?
78.4100 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4101 + (exit $ac_status); }; }; then
78.4102 + ac_cv_prog_cc_c89=$ac_arg
78.4103 +else
78.4104 + echo "$as_me: failed program was:" >&5
78.4105 +sed 's/^/| /' conftest.$ac_ext >&5
78.4106 +
78.4107 +
78.4108 +fi
78.4109 +
78.4110 +rm -f core conftest.err conftest.$ac_objext
78.4111 + test "x$ac_cv_prog_cc_c89" != "xno" && break
78.4112 +done
78.4113 +rm -f conftest.$ac_ext
78.4114 +CC=$ac_save_CC
78.4115 +
78.4116 +fi
78.4117 +# AC_CACHE_VAL
78.4118 +case "x$ac_cv_prog_cc_c89" in
78.4119 + x)
78.4120 + { echo "$as_me:$LINENO: result: none needed" >&5
78.4121 +echo "${ECHO_T}none needed" >&6; } ;;
78.4122 + xno)
78.4123 + { echo "$as_me:$LINENO: result: unsupported" >&5
78.4124 +echo "${ECHO_T}unsupported" >&6; } ;;
78.4125 + *)
78.4126 + CC="$CC $ac_cv_prog_cc_c89"
78.4127 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
78.4128 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
78.4129 +esac
78.4130 +
78.4131 +
78.4132 +ac_ext=cpp
78.4133 +ac_cpp='$CXXCPP $CPPFLAGS'
78.4134 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.4135 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.4136 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.4137 +
78.4138 +depcc="$CC" am_compiler_list=
78.4139 +
78.4140 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
78.4141 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
78.4142 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
78.4143 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4144 +else
78.4145 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
78.4146 + # We make a subdir and do the tests there. Otherwise we can end up
78.4147 + # making bogus files that we don't know about and never remove. For
78.4148 + # instance it was reported that on HP-UX the gcc test will end up
78.4149 + # making a dummy file named `D' -- because `-MD' means `put the output
78.4150 + # in D'.
78.4151 + mkdir conftest.dir
78.4152 + # Copy depcomp to subdir because otherwise we won't find it if we're
78.4153 + # using a relative directory.
78.4154 + cp "$am_depcomp" conftest.dir
78.4155 + cd conftest.dir
78.4156 + # We will build objects and dependencies in a subdirectory because
78.4157 + # it helps to detect inapplicable dependency modes. For instance
78.4158 + # both Tru64's cc and ICC support -MD to output dependencies as a
78.4159 + # side effect of compilation, but ICC will put the dependencies in
78.4160 + # the current directory while Tru64 will put them in the object
78.4161 + # directory.
78.4162 + mkdir sub
78.4163 +
78.4164 + am_cv_CC_dependencies_compiler_type=none
78.4165 + if test "$am_compiler_list" = ""; then
78.4166 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
78.4167 + fi
78.4168 + for depmode in $am_compiler_list; do
78.4169 + # Setup a source with many dependencies, because some compilers
78.4170 + # like to wrap large dependency lists on column 80 (with \), and
78.4171 + # we should not choose a depcomp mode which is confused by this.
78.4172 + #
78.4173 + # We need to recreate these files for each test, as the compiler may
78.4174 + # overwrite some of them when testing with obscure command lines.
78.4175 + # This happens at least with the AIX C compiler.
78.4176 + : > sub/conftest.c
78.4177 + for i in 1 2 3 4 5 6; do
78.4178 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
78.4179 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
78.4180 + # Solaris 8's {/usr,}/bin/sh.
78.4181 + touch sub/conftst$i.h
78.4182 + done
78.4183 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
78.4184 +
78.4185 + case $depmode in
78.4186 + nosideeffect)
78.4187 + # after this tag, mechanisms are not by side-effect, so they'll
78.4188 + # only be used when explicitly requested
78.4189 + if test "x$enable_dependency_tracking" = xyes; then
78.4190 + continue
78.4191 + else
78.4192 + break
78.4193 + fi
78.4194 + ;;
78.4195 + none) break ;;
78.4196 + esac
78.4197 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
78.4198 + # mode. It turns out that the SunPro C++ compiler does not properly
78.4199 + # handle `-M -o', and we need to detect this.
78.4200 + if depmode=$depmode \
78.4201 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
78.4202 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
78.4203 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
78.4204 + >/dev/null 2>conftest.err &&
78.4205 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
78.4206 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
78.4207 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
78.4208 + # icc doesn't choke on unknown options, it will just issue warnings
78.4209 + # or remarks (even with -Werror). So we grep stderr for any message
78.4210 + # that says an option was ignored or not supported.
78.4211 + # When given -MP, icc 7.0 and 7.1 complain thusly:
78.4212 + # icc: Command line warning: ignoring option '-M'; no argument required
78.4213 + # The diagnosis changed in icc 8.0:
78.4214 + # icc: Command line remark: option '-MP' not supported
78.4215 + if (grep 'ignoring option' conftest.err ||
78.4216 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
78.4217 + am_cv_CC_dependencies_compiler_type=$depmode
78.4218 + break
78.4219 + fi
78.4220 + fi
78.4221 + done
78.4222 +
78.4223 + cd ..
78.4224 + rm -rf conftest.dir
78.4225 +else
78.4226 + am_cv_CC_dependencies_compiler_type=none
78.4227 +fi
78.4228 +
78.4229 +fi
78.4230 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
78.4231 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
78.4232 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
78.4233 +
78.4234 +
78.4235 +
78.4236 +if
78.4237 + test "x$enable_dependency_tracking" != xno \
78.4238 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
78.4239 + am__fastdepCC_TRUE=
78.4240 + am__fastdepCC_FALSE='#'
78.4241 +else
78.4242 + am__fastdepCC_TRUE='#'
78.4243 + am__fastdepCC_FALSE=
78.4244 +fi
78.4245 +
78.4246 +
78.4247 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
78.4248 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
78.4249 +if test "${lt_cv_path_SED+set}" = set; then
78.4250 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4251 +else
78.4252 + # Loop through the user's path and test for sed and gsed.
78.4253 +# Then use that list of sed's as ones to test for truncation.
78.4254 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.4255 +for as_dir in $PATH
78.4256 +do
78.4257 + IFS=$as_save_IFS
78.4258 + test -z "$as_dir" && as_dir=.
78.4259 + for lt_ac_prog in sed gsed; do
78.4260 + for ac_exec_ext in '' $ac_executable_extensions; do
78.4261 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
78.4262 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
78.4263 + fi
78.4264 + done
78.4265 + done
78.4266 +done
78.4267 +lt_ac_max=0
78.4268 +lt_ac_count=0
78.4269 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
78.4270 +# along with /bin/sed that truncates output.
78.4271 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
78.4272 + test ! -f $lt_ac_sed && continue
78.4273 + cat /dev/null > conftest.in
78.4274 + lt_ac_count=0
78.4275 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
78.4276 + # Check for GNU sed and select it if it is found.
78.4277 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
78.4278 + lt_cv_path_SED=$lt_ac_sed
78.4279 + break
78.4280 + fi
78.4281 + while true; do
78.4282 + cat conftest.in conftest.in >conftest.tmp
78.4283 + mv conftest.tmp conftest.in
78.4284 + cp conftest.in conftest.nl
78.4285 + echo >>conftest.nl
78.4286 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
78.4287 + cmp -s conftest.out conftest.nl || break
78.4288 + # 10000 chars as input seems more than enough
78.4289 + test $lt_ac_count -gt 10 && break
78.4290 + lt_ac_count=`expr $lt_ac_count + 1`
78.4291 + if test $lt_ac_count -gt $lt_ac_max; then
78.4292 + lt_ac_max=$lt_ac_count
78.4293 + lt_cv_path_SED=$lt_ac_sed
78.4294 + fi
78.4295 + done
78.4296 +done
78.4297 +
78.4298 +fi
78.4299 +
78.4300 +SED=$lt_cv_path_SED
78.4301 +{ echo "$as_me:$LINENO: result: $SED" >&5
78.4302 +echo "${ECHO_T}$SED" >&6; }
78.4303 +
78.4304 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
78.4305 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
78.4306 +if test "${ac_cv_path_GREP+set}" = set; then
78.4307 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4308 +else
78.4309 + # Extract the first word of "grep ggrep" to use in msg output
78.4310 +if test -z "$GREP"; then
78.4311 +set dummy grep ggrep; ac_prog_name=$2
78.4312 +if test "${ac_cv_path_GREP+set}" = set; then
78.4313 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4314 +else
78.4315 + ac_path_GREP_found=false
78.4316 +# Loop through the user's path and test for each of PROGNAME-LIST
78.4317 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.4318 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
78.4319 +do
78.4320 + IFS=$as_save_IFS
78.4321 + test -z "$as_dir" && as_dir=.
78.4322 + for ac_prog in grep ggrep; do
78.4323 + for ac_exec_ext in '' $ac_executable_extensions; do
78.4324 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
78.4325 + { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
78.4326 + # Check for GNU ac_path_GREP and select it if it is found.
78.4327 + # Check for GNU $ac_path_GREP
78.4328 +case `"$ac_path_GREP" --version 2>&1` in
78.4329 +*GNU*)
78.4330 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
78.4331 +*)
78.4332 + ac_count=0
78.4333 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
78.4334 + while :
78.4335 + do
78.4336 + cat "conftest.in" "conftest.in" >"conftest.tmp"
78.4337 + mv "conftest.tmp" "conftest.in"
78.4338 + cp "conftest.in" "conftest.nl"
78.4339 + echo 'GREP' >> "conftest.nl"
78.4340 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
78.4341 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
78.4342 + ac_count=`expr $ac_count + 1`
78.4343 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
78.4344 + # Best one so far, save it but keep looking for a better one
78.4345 + ac_cv_path_GREP="$ac_path_GREP"
78.4346 + ac_path_GREP_max=$ac_count
78.4347 + fi
78.4348 + # 10*(2^10) chars as input seems more than enough
78.4349 + test $ac_count -gt 10 && break
78.4350 + done
78.4351 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
78.4352 +esac
78.4353 +
78.4354 +
78.4355 + $ac_path_GREP_found && break 3
78.4356 + done
78.4357 +done
78.4358 +
78.4359 +done
78.4360 +IFS=$as_save_IFS
78.4361 +
78.4362 +
78.4363 +fi
78.4364 +
78.4365 +GREP="$ac_cv_path_GREP"
78.4366 +if test -z "$GREP"; then
78.4367 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
78.4368 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
78.4369 + { (exit 1); exit 1; }; }
78.4370 +fi
78.4371 +
78.4372 +else
78.4373 + ac_cv_path_GREP=$GREP
78.4374 +fi
78.4375 +
78.4376 +
78.4377 +fi
78.4378 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
78.4379 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
78.4380 + GREP="$ac_cv_path_GREP"
78.4381 +
78.4382 +
78.4383 +{ echo "$as_me:$LINENO: checking for egrep" >&5
78.4384 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
78.4385 +if test "${ac_cv_path_EGREP+set}" = set; then
78.4386 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4387 +else
78.4388 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
78.4389 + then ac_cv_path_EGREP="$GREP -E"
78.4390 + else
78.4391 + # Extract the first word of "egrep" to use in msg output
78.4392 +if test -z "$EGREP"; then
78.4393 +set dummy egrep; ac_prog_name=$2
78.4394 +if test "${ac_cv_path_EGREP+set}" = set; then
78.4395 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4396 +else
78.4397 + ac_path_EGREP_found=false
78.4398 +# Loop through the user's path and test for each of PROGNAME-LIST
78.4399 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.4400 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
78.4401 +do
78.4402 + IFS=$as_save_IFS
78.4403 + test -z "$as_dir" && as_dir=.
78.4404 + for ac_prog in egrep; do
78.4405 + for ac_exec_ext in '' $ac_executable_extensions; do
78.4406 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
78.4407 + { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
78.4408 + # Check for GNU ac_path_EGREP and select it if it is found.
78.4409 + # Check for GNU $ac_path_EGREP
78.4410 +case `"$ac_path_EGREP" --version 2>&1` in
78.4411 +*GNU*)
78.4412 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
78.4413 +*)
78.4414 + ac_count=0
78.4415 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
78.4416 + while :
78.4417 + do
78.4418 + cat "conftest.in" "conftest.in" >"conftest.tmp"
78.4419 + mv "conftest.tmp" "conftest.in"
78.4420 + cp "conftest.in" "conftest.nl"
78.4421 + echo 'EGREP' >> "conftest.nl"
78.4422 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
78.4423 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
78.4424 + ac_count=`expr $ac_count + 1`
78.4425 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
78.4426 + # Best one so far, save it but keep looking for a better one
78.4427 + ac_cv_path_EGREP="$ac_path_EGREP"
78.4428 + ac_path_EGREP_max=$ac_count
78.4429 + fi
78.4430 + # 10*(2^10) chars as input seems more than enough
78.4431 + test $ac_count -gt 10 && break
78.4432 + done
78.4433 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
78.4434 +esac
78.4435 +
78.4436 +
78.4437 + $ac_path_EGREP_found && break 3
78.4438 + done
78.4439 +done
78.4440 +
78.4441 +done
78.4442 +IFS=$as_save_IFS
78.4443 +
78.4444 +
78.4445 +fi
78.4446 +
78.4447 +EGREP="$ac_cv_path_EGREP"
78.4448 +if test -z "$EGREP"; then
78.4449 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
78.4450 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
78.4451 + { (exit 1); exit 1; }; }
78.4452 +fi
78.4453 +
78.4454 +else
78.4455 + ac_cv_path_EGREP=$EGREP
78.4456 +fi
78.4457 +
78.4458 +
78.4459 + fi
78.4460 +fi
78.4461 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
78.4462 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
78.4463 + EGREP="$ac_cv_path_EGREP"
78.4464 +
78.4465 +
78.4466 +
78.4467 +# Check whether --with-gnu-ld was given.
78.4468 +if test "${with_gnu_ld+set}" = set; then
78.4469 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
78.4470 +else
78.4471 + with_gnu_ld=no
78.4472 +fi
78.4473 +
78.4474 +ac_prog=ld
78.4475 +if test "$GCC" = yes; then
78.4476 + # Check if gcc -print-prog-name=ld gives a path.
78.4477 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
78.4478 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
78.4479 + case $host in
78.4480 + *-*-mingw*)
78.4481 + # gcc leaves a trailing carriage return which upsets mingw
78.4482 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
78.4483 + *)
78.4484 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
78.4485 + esac
78.4486 + case $ac_prog in
78.4487 + # Accept absolute paths.
78.4488 + [\\/]* | ?:[\\/]*)
78.4489 + re_direlt='/[^/][^/]*/\.\./'
78.4490 + # Canonicalize the pathname of ld
78.4491 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
78.4492 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
78.4493 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
78.4494 + done
78.4495 + test -z "$LD" && LD="$ac_prog"
78.4496 + ;;
78.4497 + "")
78.4498 + # If it fails, then pretend we aren't using GCC.
78.4499 + ac_prog=ld
78.4500 + ;;
78.4501 + *)
78.4502 + # If it is relative, then search for the first ld in PATH.
78.4503 + with_gnu_ld=unknown
78.4504 + ;;
78.4505 + esac
78.4506 +elif test "$with_gnu_ld" = yes; then
78.4507 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
78.4508 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
78.4509 +else
78.4510 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
78.4511 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
78.4512 +fi
78.4513 +if test "${lt_cv_path_LD+set}" = set; then
78.4514 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4515 +else
78.4516 + if test -z "$LD"; then
78.4517 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.4518 + for ac_dir in $PATH; do
78.4519 + IFS="$lt_save_ifs"
78.4520 + test -z "$ac_dir" && ac_dir=.
78.4521 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
78.4522 + lt_cv_path_LD="$ac_dir/$ac_prog"
78.4523 + # Check to see if the program is GNU ld. I'd rather use --version,
78.4524 + # but apparently some variants of GNU ld only accept -v.
78.4525 + # Break only if it was the GNU/non-GNU ld that we prefer.
78.4526 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
78.4527 + *GNU* | *'with BFD'*)
78.4528 + test "$with_gnu_ld" != no && break
78.4529 + ;;
78.4530 + *)
78.4531 + test "$with_gnu_ld" != yes && break
78.4532 + ;;
78.4533 + esac
78.4534 + fi
78.4535 + done
78.4536 + IFS="$lt_save_ifs"
78.4537 +else
78.4538 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
78.4539 +fi
78.4540 +fi
78.4541 +
78.4542 +LD="$lt_cv_path_LD"
78.4543 +if test -n "$LD"; then
78.4544 + { echo "$as_me:$LINENO: result: $LD" >&5
78.4545 +echo "${ECHO_T}$LD" >&6; }
78.4546 +else
78.4547 + { echo "$as_me:$LINENO: result: no" >&5
78.4548 +echo "${ECHO_T}no" >&6; }
78.4549 +fi
78.4550 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
78.4551 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
78.4552 + { (exit 1); exit 1; }; }
78.4553 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
78.4554 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
78.4555 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
78.4556 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4557 +else
78.4558 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
78.4559 +case `$LD -v 2>&1 </dev/null` in
78.4560 +*GNU* | *'with BFD'*)
78.4561 + lt_cv_prog_gnu_ld=yes
78.4562 + ;;
78.4563 +*)
78.4564 + lt_cv_prog_gnu_ld=no
78.4565 + ;;
78.4566 +esac
78.4567 +fi
78.4568 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
78.4569 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
78.4570 +with_gnu_ld=$lt_cv_prog_gnu_ld
78.4571 +
78.4572 +
78.4573 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
78.4574 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
78.4575 +if test "${lt_cv_ld_reload_flag+set}" = set; then
78.4576 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4577 +else
78.4578 + lt_cv_ld_reload_flag='-r'
78.4579 +fi
78.4580 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
78.4581 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
78.4582 +reload_flag=$lt_cv_ld_reload_flag
78.4583 +case $reload_flag in
78.4584 +"" | " "*) ;;
78.4585 +*) reload_flag=" $reload_flag" ;;
78.4586 +esac
78.4587 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
78.4588 +case $host_os in
78.4589 + darwin*)
78.4590 + if test "$GCC" = yes; then
78.4591 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
78.4592 + else
78.4593 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
78.4594 + fi
78.4595 + ;;
78.4596 +esac
78.4597 +
78.4598 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
78.4599 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
78.4600 +if test "${lt_cv_path_NM+set}" = set; then
78.4601 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4602 +else
78.4603 + if test -n "$NM"; then
78.4604 + # Let the user override the test.
78.4605 + lt_cv_path_NM="$NM"
78.4606 +else
78.4607 + lt_nm_to_check="${ac_tool_prefix}nm"
78.4608 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
78.4609 + lt_nm_to_check="$lt_nm_to_check nm"
78.4610 + fi
78.4611 + for lt_tmp_nm in $lt_nm_to_check; do
78.4612 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.4613 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
78.4614 + IFS="$lt_save_ifs"
78.4615 + test -z "$ac_dir" && ac_dir=.
78.4616 + tmp_nm="$ac_dir/$lt_tmp_nm"
78.4617 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
78.4618 + # Check to see if the nm accepts a BSD-compat flag.
78.4619 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
78.4620 + # nm: unknown option "B" ignored
78.4621 + # Tru64's nm complains that /dev/null is an invalid object file
78.4622 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
78.4623 + */dev/null* | *'Invalid file or object type'*)
78.4624 + lt_cv_path_NM="$tmp_nm -B"
78.4625 + break
78.4626 + ;;
78.4627 + *)
78.4628 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
78.4629 + */dev/null*)
78.4630 + lt_cv_path_NM="$tmp_nm -p"
78.4631 + break
78.4632 + ;;
78.4633 + *)
78.4634 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
78.4635 + continue # so that we can try to find one that supports BSD flags
78.4636 + ;;
78.4637 + esac
78.4638 + ;;
78.4639 + esac
78.4640 + fi
78.4641 + done
78.4642 + IFS="$lt_save_ifs"
78.4643 + done
78.4644 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
78.4645 +fi
78.4646 +fi
78.4647 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
78.4648 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
78.4649 +NM="$lt_cv_path_NM"
78.4650 +
78.4651 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
78.4652 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
78.4653 +LN_S=$as_ln_s
78.4654 +if test "$LN_S" = "ln -s"; then
78.4655 + { echo "$as_me:$LINENO: result: yes" >&5
78.4656 +echo "${ECHO_T}yes" >&6; }
78.4657 +else
78.4658 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
78.4659 +echo "${ECHO_T}no, using $LN_S" >&6; }
78.4660 +fi
78.4661 +
78.4662 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
78.4663 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
78.4664 +if test "${lt_cv_deplibs_check_method+set}" = set; then
78.4665 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4666 +else
78.4667 + lt_cv_file_magic_cmd='$MAGIC_CMD'
78.4668 +lt_cv_file_magic_test_file=
78.4669 +lt_cv_deplibs_check_method='unknown'
78.4670 +# Need to set the preceding variable on all platforms that support
78.4671 +# interlibrary dependencies.
78.4672 +# 'none' -- dependencies not supported.
78.4673 +# `unknown' -- same as none, but documents that we really don't know.
78.4674 +# 'pass_all' -- all dependencies passed with no checks.
78.4675 +# 'test_compile' -- check by making test program.
78.4676 +# 'file_magic [[regex]]' -- check by looking for files in library path
78.4677 +# which responds to the $file_magic_cmd with a given extended regex.
78.4678 +# If you have `file' or equivalent on your system and you're not sure
78.4679 +# whether `pass_all' will *always* work, you probably want this one.
78.4680 +
78.4681 +case $host_os in
78.4682 +aix4* | aix5*)
78.4683 + lt_cv_deplibs_check_method=pass_all
78.4684 + ;;
78.4685 +
78.4686 +beos*)
78.4687 + lt_cv_deplibs_check_method=pass_all
78.4688 + ;;
78.4689 +
78.4690 +bsdi[45]*)
78.4691 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
78.4692 + lt_cv_file_magic_cmd='/usr/bin/file -L'
78.4693 + lt_cv_file_magic_test_file=/shlib/libc.so
78.4694 + ;;
78.4695 +
78.4696 +cygwin*)
78.4697 + # func_win32_libid is a shell function defined in ltmain.sh
78.4698 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
78.4699 + lt_cv_file_magic_cmd='func_win32_libid'
78.4700 + ;;
78.4701 +
78.4702 +mingw* | pw32*)
78.4703 + # Base MSYS/MinGW do not provide the 'file' command needed by
78.4704 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
78.4705 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
78.4706 + lt_cv_file_magic_cmd='$OBJDUMP -f'
78.4707 + ;;
78.4708 +
78.4709 +darwin* | rhapsody*)
78.4710 + lt_cv_deplibs_check_method=pass_all
78.4711 + ;;
78.4712 +
78.4713 +freebsd* | kfreebsd*-gnu | dragonfly*)
78.4714 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
78.4715 + case $host_cpu in
78.4716 + i*86 )
78.4717 + # Not sure whether the presence of OpenBSD here was a mistake.
78.4718 + # Let's accept both of them until this is cleared up.
78.4719 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
78.4720 + lt_cv_file_magic_cmd=/usr/bin/file
78.4721 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
78.4722 + ;;
78.4723 + esac
78.4724 + else
78.4725 + lt_cv_deplibs_check_method=pass_all
78.4726 + fi
78.4727 + ;;
78.4728 +
78.4729 +gnu*)
78.4730 + lt_cv_deplibs_check_method=pass_all
78.4731 + ;;
78.4732 +
78.4733 +hpux10.20* | hpux11*)
78.4734 + lt_cv_file_magic_cmd=/usr/bin/file
78.4735 + case $host_cpu in
78.4736 + ia64*)
78.4737 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
78.4738 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
78.4739 + ;;
78.4740 + hppa*64*)
78.4741 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
78.4742 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
78.4743 + ;;
78.4744 + *)
78.4745 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
78.4746 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
78.4747 + ;;
78.4748 + esac
78.4749 + ;;
78.4750 +
78.4751 +interix3*)
78.4752 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
78.4753 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
78.4754 + ;;
78.4755 +
78.4756 +irix5* | irix6* | nonstopux*)
78.4757 + case $LD in
78.4758 + *-32|*"-32 ") libmagic=32-bit;;
78.4759 + *-n32|*"-n32 ") libmagic=N32;;
78.4760 + *-64|*"-64 ") libmagic=64-bit;;
78.4761 + *) libmagic=never-match;;
78.4762 + esac
78.4763 + lt_cv_deplibs_check_method=pass_all
78.4764 + ;;
78.4765 +
78.4766 +# This must be Linux ELF.
78.4767 +linux*)
78.4768 + lt_cv_deplibs_check_method=pass_all
78.4769 + ;;
78.4770 +
78.4771 +netbsd*)
78.4772 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
78.4773 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
78.4774 + else
78.4775 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
78.4776 + fi
78.4777 + ;;
78.4778 +
78.4779 +newos6*)
78.4780 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
78.4781 + lt_cv_file_magic_cmd=/usr/bin/file
78.4782 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
78.4783 + ;;
78.4784 +
78.4785 +nto-qnx*)
78.4786 + lt_cv_deplibs_check_method=unknown
78.4787 + ;;
78.4788 +
78.4789 +openbsd*)
78.4790 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.4791 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
78.4792 + else
78.4793 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
78.4794 + fi
78.4795 + ;;
78.4796 +
78.4797 +osf3* | osf4* | osf5*)
78.4798 + lt_cv_deplibs_check_method=pass_all
78.4799 + ;;
78.4800 +
78.4801 +solaris*)
78.4802 + lt_cv_deplibs_check_method=pass_all
78.4803 + ;;
78.4804 +
78.4805 +sysv4 | sysv4.3*)
78.4806 + case $host_vendor in
78.4807 + motorola)
78.4808 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
78.4809 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
78.4810 + ;;
78.4811 + ncr)
78.4812 + lt_cv_deplibs_check_method=pass_all
78.4813 + ;;
78.4814 + sequent)
78.4815 + lt_cv_file_magic_cmd='/bin/file'
78.4816 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
78.4817 + ;;
78.4818 + sni)
78.4819 + lt_cv_file_magic_cmd='/bin/file'
78.4820 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
78.4821 + lt_cv_file_magic_test_file=/lib/libc.so
78.4822 + ;;
78.4823 + siemens)
78.4824 + lt_cv_deplibs_check_method=pass_all
78.4825 + ;;
78.4826 + pc)
78.4827 + lt_cv_deplibs_check_method=pass_all
78.4828 + ;;
78.4829 + esac
78.4830 + ;;
78.4831 +
78.4832 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
78.4833 + lt_cv_deplibs_check_method=pass_all
78.4834 + ;;
78.4835 +esac
78.4836 +
78.4837 +fi
78.4838 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
78.4839 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
78.4840 +file_magic_cmd=$lt_cv_file_magic_cmd
78.4841 +deplibs_check_method=$lt_cv_deplibs_check_method
78.4842 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
78.4843 +
78.4844 +
78.4845 +
78.4846 +
78.4847 +# If no C compiler was specified, use CC.
78.4848 +LTCC=${LTCC-"$CC"}
78.4849 +
78.4850 +# If no C compiler flags were specified, use CFLAGS.
78.4851 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.4852 +
78.4853 +# Allow CC to be a program name with arguments.
78.4854 +compiler=$CC
78.4855 +
78.4856 +
78.4857 +# Check whether --enable-libtool-lock was given.
78.4858 +if test "${enable_libtool_lock+set}" = set; then
78.4859 + enableval=$enable_libtool_lock;
78.4860 +fi
78.4861 +
78.4862 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
78.4863 +
78.4864 +# Some flags need to be propagated to the compiler or linker for good
78.4865 +# libtool support.
78.4866 +case $host in
78.4867 +ia64-*-hpux*)
78.4868 + # Find out which ABI we are using.
78.4869 + echo 'int i;' > conftest.$ac_ext
78.4870 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.4871 + (eval $ac_compile) 2>&5
78.4872 + ac_status=$?
78.4873 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4874 + (exit $ac_status); }; then
78.4875 + case `/usr/bin/file conftest.$ac_objext` in
78.4876 + *ELF-32*)
78.4877 + HPUX_IA64_MODE="32"
78.4878 + ;;
78.4879 + *ELF-64*)
78.4880 + HPUX_IA64_MODE="64"
78.4881 + ;;
78.4882 + esac
78.4883 + fi
78.4884 + rm -rf conftest*
78.4885 + ;;
78.4886 +*-*-irix6*)
78.4887 + # Find out which ABI we are using.
78.4888 + echo '#line 4885 "configure"' > conftest.$ac_ext
78.4889 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.4890 + (eval $ac_compile) 2>&5
78.4891 + ac_status=$?
78.4892 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4893 + (exit $ac_status); }; then
78.4894 + if test "$lt_cv_prog_gnu_ld" = yes; then
78.4895 + case `/usr/bin/file conftest.$ac_objext` in
78.4896 + *32-bit*)
78.4897 + LD="${LD-ld} -melf32bsmip"
78.4898 + ;;
78.4899 + *N32*)
78.4900 + LD="${LD-ld} -melf32bmipn32"
78.4901 + ;;
78.4902 + *64-bit*)
78.4903 + LD="${LD-ld} -melf64bmip"
78.4904 + ;;
78.4905 + esac
78.4906 + else
78.4907 + case `/usr/bin/file conftest.$ac_objext` in
78.4908 + *32-bit*)
78.4909 + LD="${LD-ld} -32"
78.4910 + ;;
78.4911 + *N32*)
78.4912 + LD="${LD-ld} -n32"
78.4913 + ;;
78.4914 + *64-bit*)
78.4915 + LD="${LD-ld} -64"
78.4916 + ;;
78.4917 + esac
78.4918 + fi
78.4919 + fi
78.4920 + rm -rf conftest*
78.4921 + ;;
78.4922 +
78.4923 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
78.4924 + # Find out which ABI we are using.
78.4925 + echo 'int i;' > conftest.$ac_ext
78.4926 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.4927 + (eval $ac_compile) 2>&5
78.4928 + ac_status=$?
78.4929 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.4930 + (exit $ac_status); }; then
78.4931 + case `/usr/bin/file conftest.o` in
78.4932 + *32-bit*)
78.4933 + case $host in
78.4934 + x86_64-*linux*)
78.4935 + LD="${LD-ld} -m elf_i386"
78.4936 + ;;
78.4937 + ppc64-*linux*|powerpc64-*linux*)
78.4938 + LD="${LD-ld} -m elf32ppclinux"
78.4939 + ;;
78.4940 + s390x-*linux*)
78.4941 + LD="${LD-ld} -m elf_s390"
78.4942 + ;;
78.4943 + sparc64-*linux*)
78.4944 + LD="${LD-ld} -m elf32_sparc"
78.4945 + ;;
78.4946 + esac
78.4947 + ;;
78.4948 + *64-bit*)
78.4949 + case $host in
78.4950 + x86_64-*linux*)
78.4951 + LD="${LD-ld} -m elf_x86_64"
78.4952 + ;;
78.4953 + ppc*-*linux*|powerpc*-*linux*)
78.4954 + LD="${LD-ld} -m elf64ppc"
78.4955 + ;;
78.4956 + s390*-*linux*)
78.4957 + LD="${LD-ld} -m elf64_s390"
78.4958 + ;;
78.4959 + sparc*-*linux*)
78.4960 + LD="${LD-ld} -m elf64_sparc"
78.4961 + ;;
78.4962 + esac
78.4963 + ;;
78.4964 + esac
78.4965 + fi
78.4966 + rm -rf conftest*
78.4967 + ;;
78.4968 +
78.4969 +*-*-sco3.2v5*)
78.4970 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
78.4971 + SAVE_CFLAGS="$CFLAGS"
78.4972 + CFLAGS="$CFLAGS -belf"
78.4973 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
78.4974 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
78.4975 +if test "${lt_cv_cc_needs_belf+set}" = set; then
78.4976 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.4977 +else
78.4978 + ac_ext=c
78.4979 +ac_cpp='$CPP $CPPFLAGS'
78.4980 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.4981 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.4982 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.4983 +
78.4984 + cat >conftest.$ac_ext <<_ACEOF
78.4985 +/* confdefs.h. */
78.4986 +_ACEOF
78.4987 +cat confdefs.h >>conftest.$ac_ext
78.4988 +cat >>conftest.$ac_ext <<_ACEOF
78.4989 +/* end confdefs.h. */
78.4990 +
78.4991 +int
78.4992 +main ()
78.4993 +{
78.4994 +
78.4995 + ;
78.4996 + return 0;
78.4997 +}
78.4998 +_ACEOF
78.4999 +rm -f conftest.$ac_objext conftest$ac_exeext
78.5000 +if { (ac_try="$ac_link"
78.5001 +case "(($ac_try" in
78.5002 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5003 + *) ac_try_echo=$ac_try;;
78.5004 +esac
78.5005 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5006 + (eval "$ac_link") 2>conftest.er1
78.5007 + ac_status=$?
78.5008 + grep -v '^ *+' conftest.er1 >conftest.err
78.5009 + rm -f conftest.er1
78.5010 + cat conftest.err >&5
78.5011 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5012 + (exit $ac_status); } &&
78.5013 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.5014 + { (case "(($ac_try" in
78.5015 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5016 + *) ac_try_echo=$ac_try;;
78.5017 +esac
78.5018 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5019 + (eval "$ac_try") 2>&5
78.5020 + ac_status=$?
78.5021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5022 + (exit $ac_status); }; } &&
78.5023 + { ac_try='test -s conftest$ac_exeext'
78.5024 + { (case "(($ac_try" in
78.5025 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5026 + *) ac_try_echo=$ac_try;;
78.5027 +esac
78.5028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5029 + (eval "$ac_try") 2>&5
78.5030 + ac_status=$?
78.5031 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5032 + (exit $ac_status); }; }; then
78.5033 + lt_cv_cc_needs_belf=yes
78.5034 +else
78.5035 + echo "$as_me: failed program was:" >&5
78.5036 +sed 's/^/| /' conftest.$ac_ext >&5
78.5037 +
78.5038 + lt_cv_cc_needs_belf=no
78.5039 +fi
78.5040 +
78.5041 +rm -f core conftest.err conftest.$ac_objext \
78.5042 + conftest$ac_exeext conftest.$ac_ext
78.5043 + ac_ext=c
78.5044 +ac_cpp='$CPP $CPPFLAGS'
78.5045 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.5046 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.5047 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.5048 +
78.5049 +fi
78.5050 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
78.5051 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
78.5052 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
78.5053 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
78.5054 + CFLAGS="$SAVE_CFLAGS"
78.5055 + fi
78.5056 + ;;
78.5057 +sparc*-*solaris*)
78.5058 + # Find out which ABI we are using.
78.5059 + echo 'int i;' > conftest.$ac_ext
78.5060 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.5061 + (eval $ac_compile) 2>&5
78.5062 + ac_status=$?
78.5063 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5064 + (exit $ac_status); }; then
78.5065 + case `/usr/bin/file conftest.o` in
78.5066 + *64-bit*)
78.5067 + case $lt_cv_prog_gnu_ld in
78.5068 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
78.5069 + *) LD="${LD-ld} -64" ;;
78.5070 + esac
78.5071 + ;;
78.5072 + esac
78.5073 + fi
78.5074 + rm -rf conftest*
78.5075 + ;;
78.5076 +
78.5077 +
78.5078 +esac
78.5079 +
78.5080 +need_locks="$enable_libtool_lock"
78.5081 +
78.5082 +
78.5083 +ac_ext=c
78.5084 +ac_cpp='$CPP $CPPFLAGS'
78.5085 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.5086 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.5087 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.5088 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
78.5089 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
78.5090 +# On Suns, sometimes $CPP names a directory.
78.5091 +if test -n "$CPP" && test -d "$CPP"; then
78.5092 + CPP=
78.5093 +fi
78.5094 +if test -z "$CPP"; then
78.5095 + if test "${ac_cv_prog_CPP+set}" = set; then
78.5096 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5097 +else
78.5098 + # Double quotes because CPP needs to be expanded
78.5099 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
78.5100 + do
78.5101 + ac_preproc_ok=false
78.5102 +for ac_c_preproc_warn_flag in '' yes
78.5103 +do
78.5104 + # Use a header file that comes with gcc, so configuring glibc
78.5105 + # with a fresh cross-compiler works.
78.5106 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.5107 + # <limits.h> exists even on freestanding compilers.
78.5108 + # On the NeXT, cc -E runs the code through the compiler's parser,
78.5109 + # not just through cpp. "Syntax error" is here to catch this case.
78.5110 + cat >conftest.$ac_ext <<_ACEOF
78.5111 +/* confdefs.h. */
78.5112 +_ACEOF
78.5113 +cat confdefs.h >>conftest.$ac_ext
78.5114 +cat >>conftest.$ac_ext <<_ACEOF
78.5115 +/* end confdefs.h. */
78.5116 +#ifdef __STDC__
78.5117 +# include <limits.h>
78.5118 +#else
78.5119 +# include <assert.h>
78.5120 +#endif
78.5121 + Syntax error
78.5122 +_ACEOF
78.5123 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5124 +case "(($ac_try" in
78.5125 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5126 + *) ac_try_echo=$ac_try;;
78.5127 +esac
78.5128 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5129 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5130 + ac_status=$?
78.5131 + grep -v '^ *+' conftest.er1 >conftest.err
78.5132 + rm -f conftest.er1
78.5133 + cat conftest.err >&5
78.5134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5135 + (exit $ac_status); } >/dev/null; then
78.5136 + if test -s conftest.err; then
78.5137 + ac_cpp_err=$ac_c_preproc_warn_flag
78.5138 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78.5139 + else
78.5140 + ac_cpp_err=
78.5141 + fi
78.5142 +else
78.5143 + ac_cpp_err=yes
78.5144 +fi
78.5145 +if test -z "$ac_cpp_err"; then
78.5146 + :
78.5147 +else
78.5148 + echo "$as_me: failed program was:" >&5
78.5149 +sed 's/^/| /' conftest.$ac_ext >&5
78.5150 +
78.5151 + # Broken: fails on valid input.
78.5152 +continue
78.5153 +fi
78.5154 +
78.5155 +rm -f conftest.err conftest.$ac_ext
78.5156 +
78.5157 + # OK, works on sane cases. Now check whether nonexistent headers
78.5158 + # can be detected and how.
78.5159 + cat >conftest.$ac_ext <<_ACEOF
78.5160 +/* confdefs.h. */
78.5161 +_ACEOF
78.5162 +cat confdefs.h >>conftest.$ac_ext
78.5163 +cat >>conftest.$ac_ext <<_ACEOF
78.5164 +/* end confdefs.h. */
78.5165 +#include <ac_nonexistent.h>
78.5166 +_ACEOF
78.5167 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5168 +case "(($ac_try" in
78.5169 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5170 + *) ac_try_echo=$ac_try;;
78.5171 +esac
78.5172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5173 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5174 + ac_status=$?
78.5175 + grep -v '^ *+' conftest.er1 >conftest.err
78.5176 + rm -f conftest.er1
78.5177 + cat conftest.err >&5
78.5178 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5179 + (exit $ac_status); } >/dev/null; then
78.5180 + if test -s conftest.err; then
78.5181 + ac_cpp_err=$ac_c_preproc_warn_flag
78.5182 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78.5183 + else
78.5184 + ac_cpp_err=
78.5185 + fi
78.5186 +else
78.5187 + ac_cpp_err=yes
78.5188 +fi
78.5189 +if test -z "$ac_cpp_err"; then
78.5190 + # Broken: success on invalid input.
78.5191 +continue
78.5192 +else
78.5193 + echo "$as_me: failed program was:" >&5
78.5194 +sed 's/^/| /' conftest.$ac_ext >&5
78.5195 +
78.5196 + # Passes both tests.
78.5197 +ac_preproc_ok=:
78.5198 +break
78.5199 +fi
78.5200 +
78.5201 +rm -f conftest.err conftest.$ac_ext
78.5202 +
78.5203 +done
78.5204 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
78.5205 +rm -f conftest.err conftest.$ac_ext
78.5206 +if $ac_preproc_ok; then
78.5207 + break
78.5208 +fi
78.5209 +
78.5210 + done
78.5211 + ac_cv_prog_CPP=$CPP
78.5212 +
78.5213 +fi
78.5214 + CPP=$ac_cv_prog_CPP
78.5215 +else
78.5216 + ac_cv_prog_CPP=$CPP
78.5217 +fi
78.5218 +{ echo "$as_me:$LINENO: result: $CPP" >&5
78.5219 +echo "${ECHO_T}$CPP" >&6; }
78.5220 +ac_preproc_ok=false
78.5221 +for ac_c_preproc_warn_flag in '' yes
78.5222 +do
78.5223 + # Use a header file that comes with gcc, so configuring glibc
78.5224 + # with a fresh cross-compiler works.
78.5225 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.5226 + # <limits.h> exists even on freestanding compilers.
78.5227 + # On the NeXT, cc -E runs the code through the compiler's parser,
78.5228 + # not just through cpp. "Syntax error" is here to catch this case.
78.5229 + cat >conftest.$ac_ext <<_ACEOF
78.5230 +/* confdefs.h. */
78.5231 +_ACEOF
78.5232 +cat confdefs.h >>conftest.$ac_ext
78.5233 +cat >>conftest.$ac_ext <<_ACEOF
78.5234 +/* end confdefs.h. */
78.5235 +#ifdef __STDC__
78.5236 +# include <limits.h>
78.5237 +#else
78.5238 +# include <assert.h>
78.5239 +#endif
78.5240 + Syntax error
78.5241 +_ACEOF
78.5242 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5243 +case "(($ac_try" in
78.5244 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5245 + *) ac_try_echo=$ac_try;;
78.5246 +esac
78.5247 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5248 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5249 + ac_status=$?
78.5250 + grep -v '^ *+' conftest.er1 >conftest.err
78.5251 + rm -f conftest.er1
78.5252 + cat conftest.err >&5
78.5253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5254 + (exit $ac_status); } >/dev/null; then
78.5255 + if test -s conftest.err; then
78.5256 + ac_cpp_err=$ac_c_preproc_warn_flag
78.5257 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78.5258 + else
78.5259 + ac_cpp_err=
78.5260 + fi
78.5261 +else
78.5262 + ac_cpp_err=yes
78.5263 +fi
78.5264 +if test -z "$ac_cpp_err"; then
78.5265 + :
78.5266 +else
78.5267 + echo "$as_me: failed program was:" >&5
78.5268 +sed 's/^/| /' conftest.$ac_ext >&5
78.5269 +
78.5270 + # Broken: fails on valid input.
78.5271 +continue
78.5272 +fi
78.5273 +
78.5274 +rm -f conftest.err conftest.$ac_ext
78.5275 +
78.5276 + # OK, works on sane cases. Now check whether nonexistent headers
78.5277 + # can be detected and how.
78.5278 + cat >conftest.$ac_ext <<_ACEOF
78.5279 +/* confdefs.h. */
78.5280 +_ACEOF
78.5281 +cat confdefs.h >>conftest.$ac_ext
78.5282 +cat >>conftest.$ac_ext <<_ACEOF
78.5283 +/* end confdefs.h. */
78.5284 +#include <ac_nonexistent.h>
78.5285 +_ACEOF
78.5286 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5287 +case "(($ac_try" in
78.5288 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5289 + *) ac_try_echo=$ac_try;;
78.5290 +esac
78.5291 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5292 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5293 + ac_status=$?
78.5294 + grep -v '^ *+' conftest.er1 >conftest.err
78.5295 + rm -f conftest.er1
78.5296 + cat conftest.err >&5
78.5297 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5298 + (exit $ac_status); } >/dev/null; then
78.5299 + if test -s conftest.err; then
78.5300 + ac_cpp_err=$ac_c_preproc_warn_flag
78.5301 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78.5302 + else
78.5303 + ac_cpp_err=
78.5304 + fi
78.5305 +else
78.5306 + ac_cpp_err=yes
78.5307 +fi
78.5308 +if test -z "$ac_cpp_err"; then
78.5309 + # Broken: success on invalid input.
78.5310 +continue
78.5311 +else
78.5312 + echo "$as_me: failed program was:" >&5
78.5313 +sed 's/^/| /' conftest.$ac_ext >&5
78.5314 +
78.5315 + # Passes both tests.
78.5316 +ac_preproc_ok=:
78.5317 +break
78.5318 +fi
78.5319 +
78.5320 +rm -f conftest.err conftest.$ac_ext
78.5321 +
78.5322 +done
78.5323 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
78.5324 +rm -f conftest.err conftest.$ac_ext
78.5325 +if $ac_preproc_ok; then
78.5326 + :
78.5327 +else
78.5328 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
78.5329 +See \`config.log' for more details." >&5
78.5330 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
78.5331 +See \`config.log' for more details." >&2;}
78.5332 + { (exit 1); exit 1; }; }
78.5333 +fi
78.5334 +
78.5335 +ac_ext=c
78.5336 +ac_cpp='$CPP $CPPFLAGS'
78.5337 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.5338 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.5339 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.5340 +
78.5341 +
78.5342 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
78.5343 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
78.5344 +if test "${ac_cv_header_stdc+set}" = set; then
78.5345 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5346 +else
78.5347 + cat >conftest.$ac_ext <<_ACEOF
78.5348 +/* confdefs.h. */
78.5349 +_ACEOF
78.5350 +cat confdefs.h >>conftest.$ac_ext
78.5351 +cat >>conftest.$ac_ext <<_ACEOF
78.5352 +/* end confdefs.h. */
78.5353 +#include <stdlib.h>
78.5354 +#include <stdarg.h>
78.5355 +#include <string.h>
78.5356 +#include <float.h>
78.5357 +
78.5358 +int
78.5359 +main ()
78.5360 +{
78.5361 +
78.5362 + ;
78.5363 + return 0;
78.5364 +}
78.5365 +_ACEOF
78.5366 +rm -f conftest.$ac_objext
78.5367 +if { (ac_try="$ac_compile"
78.5368 +case "(($ac_try" in
78.5369 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5370 + *) ac_try_echo=$ac_try;;
78.5371 +esac
78.5372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5373 + (eval "$ac_compile") 2>conftest.er1
78.5374 + ac_status=$?
78.5375 + grep -v '^ *+' conftest.er1 >conftest.err
78.5376 + rm -f conftest.er1
78.5377 + cat conftest.err >&5
78.5378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5379 + (exit $ac_status); } &&
78.5380 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.5381 + { (case "(($ac_try" in
78.5382 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5383 + *) ac_try_echo=$ac_try;;
78.5384 +esac
78.5385 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5386 + (eval "$ac_try") 2>&5
78.5387 + ac_status=$?
78.5388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5389 + (exit $ac_status); }; } &&
78.5390 + { ac_try='test -s conftest.$ac_objext'
78.5391 + { (case "(($ac_try" in
78.5392 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5393 + *) ac_try_echo=$ac_try;;
78.5394 +esac
78.5395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5396 + (eval "$ac_try") 2>&5
78.5397 + ac_status=$?
78.5398 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5399 + (exit $ac_status); }; }; then
78.5400 + ac_cv_header_stdc=yes
78.5401 +else
78.5402 + echo "$as_me: failed program was:" >&5
78.5403 +sed 's/^/| /' conftest.$ac_ext >&5
78.5404 +
78.5405 + ac_cv_header_stdc=no
78.5406 +fi
78.5407 +
78.5408 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.5409 +
78.5410 +if test $ac_cv_header_stdc = yes; then
78.5411 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
78.5412 + cat >conftest.$ac_ext <<_ACEOF
78.5413 +/* confdefs.h. */
78.5414 +_ACEOF
78.5415 +cat confdefs.h >>conftest.$ac_ext
78.5416 +cat >>conftest.$ac_ext <<_ACEOF
78.5417 +/* end confdefs.h. */
78.5418 +#include <string.h>
78.5419 +
78.5420 +_ACEOF
78.5421 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
78.5422 + $EGREP "memchr" >/dev/null 2>&1; then
78.5423 + :
78.5424 +else
78.5425 + ac_cv_header_stdc=no
78.5426 +fi
78.5427 +rm -f conftest*
78.5428 +
78.5429 +fi
78.5430 +
78.5431 +if test $ac_cv_header_stdc = yes; then
78.5432 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
78.5433 + cat >conftest.$ac_ext <<_ACEOF
78.5434 +/* confdefs.h. */
78.5435 +_ACEOF
78.5436 +cat confdefs.h >>conftest.$ac_ext
78.5437 +cat >>conftest.$ac_ext <<_ACEOF
78.5438 +/* end confdefs.h. */
78.5439 +#include <stdlib.h>
78.5440 +
78.5441 +_ACEOF
78.5442 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
78.5443 + $EGREP "free" >/dev/null 2>&1; then
78.5444 + :
78.5445 +else
78.5446 + ac_cv_header_stdc=no
78.5447 +fi
78.5448 +rm -f conftest*
78.5449 +
78.5450 +fi
78.5451 +
78.5452 +if test $ac_cv_header_stdc = yes; then
78.5453 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
78.5454 + if test "$cross_compiling" = yes; then
78.5455 + :
78.5456 +else
78.5457 + cat >conftest.$ac_ext <<_ACEOF
78.5458 +/* confdefs.h. */
78.5459 +_ACEOF
78.5460 +cat confdefs.h >>conftest.$ac_ext
78.5461 +cat >>conftest.$ac_ext <<_ACEOF
78.5462 +/* end confdefs.h. */
78.5463 +#include <ctype.h>
78.5464 +#include <stdlib.h>
78.5465 +#if ((' ' & 0x0FF) == 0x020)
78.5466 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
78.5467 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
78.5468 +#else
78.5469 +# define ISLOWER(c) \
78.5470 + (('a' <= (c) && (c) <= 'i') \
78.5471 + || ('j' <= (c) && (c) <= 'r') \
78.5472 + || ('s' <= (c) && (c) <= 'z'))
78.5473 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
78.5474 +#endif
78.5475 +
78.5476 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
78.5477 +int
78.5478 +main ()
78.5479 +{
78.5480 + int i;
78.5481 + for (i = 0; i < 256; i++)
78.5482 + if (XOR (islower (i), ISLOWER (i))
78.5483 + || toupper (i) != TOUPPER (i))
78.5484 + return 2;
78.5485 + return 0;
78.5486 +}
78.5487 +_ACEOF
78.5488 +rm -f conftest$ac_exeext
78.5489 +if { (ac_try="$ac_link"
78.5490 +case "(($ac_try" in
78.5491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5492 + *) ac_try_echo=$ac_try;;
78.5493 +esac
78.5494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5495 + (eval "$ac_link") 2>&5
78.5496 + ac_status=$?
78.5497 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5498 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
78.5499 + { (case "(($ac_try" in
78.5500 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5501 + *) ac_try_echo=$ac_try;;
78.5502 +esac
78.5503 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5504 + (eval "$ac_try") 2>&5
78.5505 + ac_status=$?
78.5506 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5507 + (exit $ac_status); }; }; then
78.5508 + :
78.5509 +else
78.5510 + echo "$as_me: program exited with status $ac_status" >&5
78.5511 +echo "$as_me: failed program was:" >&5
78.5512 +sed 's/^/| /' conftest.$ac_ext >&5
78.5513 +
78.5514 +( exit $ac_status )
78.5515 +ac_cv_header_stdc=no
78.5516 +fi
78.5517 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
78.5518 +fi
78.5519 +
78.5520 +
78.5521 +fi
78.5522 +fi
78.5523 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
78.5524 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
78.5525 +if test $ac_cv_header_stdc = yes; then
78.5526 +
78.5527 +cat >>confdefs.h <<\_ACEOF
78.5528 +#define STDC_HEADERS 1
78.5529 +_ACEOF
78.5530 +
78.5531 +fi
78.5532 +
78.5533 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
78.5534 +
78.5535 +
78.5536 +
78.5537 +
78.5538 +
78.5539 +
78.5540 +
78.5541 +
78.5542 +
78.5543 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
78.5544 + inttypes.h stdint.h unistd.h
78.5545 +do
78.5546 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78.5547 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
78.5548 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
78.5549 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
78.5550 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5551 +else
78.5552 + cat >conftest.$ac_ext <<_ACEOF
78.5553 +/* confdefs.h. */
78.5554 +_ACEOF
78.5555 +cat confdefs.h >>conftest.$ac_ext
78.5556 +cat >>conftest.$ac_ext <<_ACEOF
78.5557 +/* end confdefs.h. */
78.5558 +$ac_includes_default
78.5559 +
78.5560 +#include <$ac_header>
78.5561 +_ACEOF
78.5562 +rm -f conftest.$ac_objext
78.5563 +if { (ac_try="$ac_compile"
78.5564 +case "(($ac_try" in
78.5565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5566 + *) ac_try_echo=$ac_try;;
78.5567 +esac
78.5568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5569 + (eval "$ac_compile") 2>conftest.er1
78.5570 + ac_status=$?
78.5571 + grep -v '^ *+' conftest.er1 >conftest.err
78.5572 + rm -f conftest.er1
78.5573 + cat conftest.err >&5
78.5574 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5575 + (exit $ac_status); } &&
78.5576 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.5577 + { (case "(($ac_try" in
78.5578 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5579 + *) ac_try_echo=$ac_try;;
78.5580 +esac
78.5581 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5582 + (eval "$ac_try") 2>&5
78.5583 + ac_status=$?
78.5584 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5585 + (exit $ac_status); }; } &&
78.5586 + { ac_try='test -s conftest.$ac_objext'
78.5587 + { (case "(($ac_try" in
78.5588 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5589 + *) ac_try_echo=$ac_try;;
78.5590 +esac
78.5591 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5592 + (eval "$ac_try") 2>&5
78.5593 + ac_status=$?
78.5594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5595 + (exit $ac_status); }; }; then
78.5596 + eval "$as_ac_Header=yes"
78.5597 +else
78.5598 + echo "$as_me: failed program was:" >&5
78.5599 +sed 's/^/| /' conftest.$ac_ext >&5
78.5600 +
78.5601 + eval "$as_ac_Header=no"
78.5602 +fi
78.5603 +
78.5604 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.5605 +fi
78.5606 +ac_res=`eval echo '${'$as_ac_Header'}'`
78.5607 + { echo "$as_me:$LINENO: result: $ac_res" >&5
78.5608 +echo "${ECHO_T}$ac_res" >&6; }
78.5609 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
78.5610 + cat >>confdefs.h <<_ACEOF
78.5611 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78.5612 +_ACEOF
78.5613 +
78.5614 +fi
78.5615 +
78.5616 +done
78.5617 +
78.5618 +
78.5619 +
78.5620 +for ac_header in dlfcn.h
78.5621 +do
78.5622 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78.5623 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
78.5624 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
78.5625 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
78.5626 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
78.5627 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5628 +fi
78.5629 +ac_res=`eval echo '${'$as_ac_Header'}'`
78.5630 + { echo "$as_me:$LINENO: result: $ac_res" >&5
78.5631 +echo "${ECHO_T}$ac_res" >&6; }
78.5632 +else
78.5633 + # Is the header compilable?
78.5634 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
78.5635 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
78.5636 +cat >conftest.$ac_ext <<_ACEOF
78.5637 +/* confdefs.h. */
78.5638 +_ACEOF
78.5639 +cat confdefs.h >>conftest.$ac_ext
78.5640 +cat >>conftest.$ac_ext <<_ACEOF
78.5641 +/* end confdefs.h. */
78.5642 +$ac_includes_default
78.5643 +#include <$ac_header>
78.5644 +_ACEOF
78.5645 +rm -f conftest.$ac_objext
78.5646 +if { (ac_try="$ac_compile"
78.5647 +case "(($ac_try" in
78.5648 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5649 + *) ac_try_echo=$ac_try;;
78.5650 +esac
78.5651 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5652 + (eval "$ac_compile") 2>conftest.er1
78.5653 + ac_status=$?
78.5654 + grep -v '^ *+' conftest.er1 >conftest.err
78.5655 + rm -f conftest.er1
78.5656 + cat conftest.err >&5
78.5657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5658 + (exit $ac_status); } &&
78.5659 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.5660 + { (case "(($ac_try" in
78.5661 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5662 + *) ac_try_echo=$ac_try;;
78.5663 +esac
78.5664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5665 + (eval "$ac_try") 2>&5
78.5666 + ac_status=$?
78.5667 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5668 + (exit $ac_status); }; } &&
78.5669 + { ac_try='test -s conftest.$ac_objext'
78.5670 + { (case "(($ac_try" in
78.5671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5672 + *) ac_try_echo=$ac_try;;
78.5673 +esac
78.5674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5675 + (eval "$ac_try") 2>&5
78.5676 + ac_status=$?
78.5677 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5678 + (exit $ac_status); }; }; then
78.5679 + ac_header_compiler=yes
78.5680 +else
78.5681 + echo "$as_me: failed program was:" >&5
78.5682 +sed 's/^/| /' conftest.$ac_ext >&5
78.5683 +
78.5684 + ac_header_compiler=no
78.5685 +fi
78.5686 +
78.5687 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.5688 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78.5689 +echo "${ECHO_T}$ac_header_compiler" >&6; }
78.5690 +
78.5691 +# Is the header present?
78.5692 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
78.5693 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
78.5694 +cat >conftest.$ac_ext <<_ACEOF
78.5695 +/* confdefs.h. */
78.5696 +_ACEOF
78.5697 +cat confdefs.h >>conftest.$ac_ext
78.5698 +cat >>conftest.$ac_ext <<_ACEOF
78.5699 +/* end confdefs.h. */
78.5700 +#include <$ac_header>
78.5701 +_ACEOF
78.5702 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5703 +case "(($ac_try" in
78.5704 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5705 + *) ac_try_echo=$ac_try;;
78.5706 +esac
78.5707 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5708 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5709 + ac_status=$?
78.5710 + grep -v '^ *+' conftest.er1 >conftest.err
78.5711 + rm -f conftest.er1
78.5712 + cat conftest.err >&5
78.5713 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5714 + (exit $ac_status); } >/dev/null; then
78.5715 + if test -s conftest.err; then
78.5716 + ac_cpp_err=$ac_c_preproc_warn_flag
78.5717 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78.5718 + else
78.5719 + ac_cpp_err=
78.5720 + fi
78.5721 +else
78.5722 + ac_cpp_err=yes
78.5723 +fi
78.5724 +if test -z "$ac_cpp_err"; then
78.5725 + ac_header_preproc=yes
78.5726 +else
78.5727 + echo "$as_me: failed program was:" >&5
78.5728 +sed 's/^/| /' conftest.$ac_ext >&5
78.5729 +
78.5730 + ac_header_preproc=no
78.5731 +fi
78.5732 +
78.5733 +rm -f conftest.err conftest.$ac_ext
78.5734 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78.5735 +echo "${ECHO_T}$ac_header_preproc" >&6; }
78.5736 +
78.5737 +# So? What about this header?
78.5738 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78.5739 + yes:no: )
78.5740 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78.5741 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78.5742 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78.5743 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78.5744 + ac_header_preproc=yes
78.5745 + ;;
78.5746 + no:yes:* )
78.5747 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78.5748 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78.5749 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78.5750 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78.5751 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78.5752 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78.5753 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78.5754 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78.5755 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78.5756 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78.5757 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78.5758 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78.5759 +
78.5760 + ;;
78.5761 +esac
78.5762 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
78.5763 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
78.5764 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
78.5765 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5766 +else
78.5767 + eval "$as_ac_Header=\$ac_header_preproc"
78.5768 +fi
78.5769 +ac_res=`eval echo '${'$as_ac_Header'}'`
78.5770 + { echo "$as_me:$LINENO: result: $ac_res" >&5
78.5771 +echo "${ECHO_T}$ac_res" >&6; }
78.5772 +
78.5773 +fi
78.5774 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
78.5775 + cat >>confdefs.h <<_ACEOF
78.5776 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78.5777 +_ACEOF
78.5778 +
78.5779 +fi
78.5780 +
78.5781 +done
78.5782 +
78.5783 +
78.5784 +
78.5785 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
78.5786 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
78.5787 + (test "X$CXX" != "Xg++"))) ; then
78.5788 + ac_ext=cpp
78.5789 +ac_cpp='$CXXCPP $CPPFLAGS'
78.5790 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.5791 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.5792 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.5793 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
78.5794 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
78.5795 +if test -z "$CXXCPP"; then
78.5796 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
78.5797 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.5798 +else
78.5799 + # Double quotes because CXXCPP needs to be expanded
78.5800 + for CXXCPP in "$CXX -E" "/lib/cpp"
78.5801 + do
78.5802 + ac_preproc_ok=false
78.5803 +for ac_cxx_preproc_warn_flag in '' yes
78.5804 +do
78.5805 + # Use a header file that comes with gcc, so configuring glibc
78.5806 + # with a fresh cross-compiler works.
78.5807 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.5808 + # <limits.h> exists even on freestanding compilers.
78.5809 + # On the NeXT, cc -E runs the code through the compiler's parser,
78.5810 + # not just through cpp. "Syntax error" is here to catch this case.
78.5811 + cat >conftest.$ac_ext <<_ACEOF
78.5812 +/* confdefs.h. */
78.5813 +_ACEOF
78.5814 +cat confdefs.h >>conftest.$ac_ext
78.5815 +cat >>conftest.$ac_ext <<_ACEOF
78.5816 +/* end confdefs.h. */
78.5817 +#ifdef __STDC__
78.5818 +# include <limits.h>
78.5819 +#else
78.5820 +# include <assert.h>
78.5821 +#endif
78.5822 + Syntax error
78.5823 +_ACEOF
78.5824 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5825 +case "(($ac_try" in
78.5826 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5827 + *) ac_try_echo=$ac_try;;
78.5828 +esac
78.5829 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5830 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5831 + ac_status=$?
78.5832 + grep -v '^ *+' conftest.er1 >conftest.err
78.5833 + rm -f conftest.er1
78.5834 + cat conftest.err >&5
78.5835 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5836 + (exit $ac_status); } >/dev/null; then
78.5837 + if test -s conftest.err; then
78.5838 + ac_cpp_err=$ac_cxx_preproc_warn_flag
78.5839 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
78.5840 + else
78.5841 + ac_cpp_err=
78.5842 + fi
78.5843 +else
78.5844 + ac_cpp_err=yes
78.5845 +fi
78.5846 +if test -z "$ac_cpp_err"; then
78.5847 + :
78.5848 +else
78.5849 + echo "$as_me: failed program was:" >&5
78.5850 +sed 's/^/| /' conftest.$ac_ext >&5
78.5851 +
78.5852 + # Broken: fails on valid input.
78.5853 +continue
78.5854 +fi
78.5855 +
78.5856 +rm -f conftest.err conftest.$ac_ext
78.5857 +
78.5858 + # OK, works on sane cases. Now check whether nonexistent headers
78.5859 + # can be detected and how.
78.5860 + cat >conftest.$ac_ext <<_ACEOF
78.5861 +/* confdefs.h. */
78.5862 +_ACEOF
78.5863 +cat confdefs.h >>conftest.$ac_ext
78.5864 +cat >>conftest.$ac_ext <<_ACEOF
78.5865 +/* end confdefs.h. */
78.5866 +#include <ac_nonexistent.h>
78.5867 +_ACEOF
78.5868 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5869 +case "(($ac_try" in
78.5870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5871 + *) ac_try_echo=$ac_try;;
78.5872 +esac
78.5873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5874 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5875 + ac_status=$?
78.5876 + grep -v '^ *+' conftest.er1 >conftest.err
78.5877 + rm -f conftest.er1
78.5878 + cat conftest.err >&5
78.5879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5880 + (exit $ac_status); } >/dev/null; then
78.5881 + if test -s conftest.err; then
78.5882 + ac_cpp_err=$ac_cxx_preproc_warn_flag
78.5883 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
78.5884 + else
78.5885 + ac_cpp_err=
78.5886 + fi
78.5887 +else
78.5888 + ac_cpp_err=yes
78.5889 +fi
78.5890 +if test -z "$ac_cpp_err"; then
78.5891 + # Broken: success on invalid input.
78.5892 +continue
78.5893 +else
78.5894 + echo "$as_me: failed program was:" >&5
78.5895 +sed 's/^/| /' conftest.$ac_ext >&5
78.5896 +
78.5897 + # Passes both tests.
78.5898 +ac_preproc_ok=:
78.5899 +break
78.5900 +fi
78.5901 +
78.5902 +rm -f conftest.err conftest.$ac_ext
78.5903 +
78.5904 +done
78.5905 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
78.5906 +rm -f conftest.err conftest.$ac_ext
78.5907 +if $ac_preproc_ok; then
78.5908 + break
78.5909 +fi
78.5910 +
78.5911 + done
78.5912 + ac_cv_prog_CXXCPP=$CXXCPP
78.5913 +
78.5914 +fi
78.5915 + CXXCPP=$ac_cv_prog_CXXCPP
78.5916 +else
78.5917 + ac_cv_prog_CXXCPP=$CXXCPP
78.5918 +fi
78.5919 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
78.5920 +echo "${ECHO_T}$CXXCPP" >&6; }
78.5921 +ac_preproc_ok=false
78.5922 +for ac_cxx_preproc_warn_flag in '' yes
78.5923 +do
78.5924 + # Use a header file that comes with gcc, so configuring glibc
78.5925 + # with a fresh cross-compiler works.
78.5926 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.5927 + # <limits.h> exists even on freestanding compilers.
78.5928 + # On the NeXT, cc -E runs the code through the compiler's parser,
78.5929 + # not just through cpp. "Syntax error" is here to catch this case.
78.5930 + cat >conftest.$ac_ext <<_ACEOF
78.5931 +/* confdefs.h. */
78.5932 +_ACEOF
78.5933 +cat confdefs.h >>conftest.$ac_ext
78.5934 +cat >>conftest.$ac_ext <<_ACEOF
78.5935 +/* end confdefs.h. */
78.5936 +#ifdef __STDC__
78.5937 +# include <limits.h>
78.5938 +#else
78.5939 +# include <assert.h>
78.5940 +#endif
78.5941 + Syntax error
78.5942 +_ACEOF
78.5943 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5944 +case "(($ac_try" in
78.5945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5946 + *) ac_try_echo=$ac_try;;
78.5947 +esac
78.5948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5949 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5950 + ac_status=$?
78.5951 + grep -v '^ *+' conftest.er1 >conftest.err
78.5952 + rm -f conftest.er1
78.5953 + cat conftest.err >&5
78.5954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5955 + (exit $ac_status); } >/dev/null; then
78.5956 + if test -s conftest.err; then
78.5957 + ac_cpp_err=$ac_cxx_preproc_warn_flag
78.5958 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
78.5959 + else
78.5960 + ac_cpp_err=
78.5961 + fi
78.5962 +else
78.5963 + ac_cpp_err=yes
78.5964 +fi
78.5965 +if test -z "$ac_cpp_err"; then
78.5966 + :
78.5967 +else
78.5968 + echo "$as_me: failed program was:" >&5
78.5969 +sed 's/^/| /' conftest.$ac_ext >&5
78.5970 +
78.5971 + # Broken: fails on valid input.
78.5972 +continue
78.5973 +fi
78.5974 +
78.5975 +rm -f conftest.err conftest.$ac_ext
78.5976 +
78.5977 + # OK, works on sane cases. Now check whether nonexistent headers
78.5978 + # can be detected and how.
78.5979 + cat >conftest.$ac_ext <<_ACEOF
78.5980 +/* confdefs.h. */
78.5981 +_ACEOF
78.5982 +cat confdefs.h >>conftest.$ac_ext
78.5983 +cat >>conftest.$ac_ext <<_ACEOF
78.5984 +/* end confdefs.h. */
78.5985 +#include <ac_nonexistent.h>
78.5986 +_ACEOF
78.5987 +if { (ac_try="$ac_cpp conftest.$ac_ext"
78.5988 +case "(($ac_try" in
78.5989 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.5990 + *) ac_try_echo=$ac_try;;
78.5991 +esac
78.5992 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.5993 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
78.5994 + ac_status=$?
78.5995 + grep -v '^ *+' conftest.er1 >conftest.err
78.5996 + rm -f conftest.er1
78.5997 + cat conftest.err >&5
78.5998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.5999 + (exit $ac_status); } >/dev/null; then
78.6000 + if test -s conftest.err; then
78.6001 + ac_cpp_err=$ac_cxx_preproc_warn_flag
78.6002 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
78.6003 + else
78.6004 + ac_cpp_err=
78.6005 + fi
78.6006 +else
78.6007 + ac_cpp_err=yes
78.6008 +fi
78.6009 +if test -z "$ac_cpp_err"; then
78.6010 + # Broken: success on invalid input.
78.6011 +continue
78.6012 +else
78.6013 + echo "$as_me: failed program was:" >&5
78.6014 +sed 's/^/| /' conftest.$ac_ext >&5
78.6015 +
78.6016 + # Passes both tests.
78.6017 +ac_preproc_ok=:
78.6018 +break
78.6019 +fi
78.6020 +
78.6021 +rm -f conftest.err conftest.$ac_ext
78.6022 +
78.6023 +done
78.6024 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
78.6025 +rm -f conftest.err conftest.$ac_ext
78.6026 +if $ac_preproc_ok; then
78.6027 + :
78.6028 +else
78.6029 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
78.6030 +See \`config.log' for more details." >&5
78.6031 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
78.6032 +See \`config.log' for more details." >&2;}
78.6033 + { (exit 1); exit 1; }; }
78.6034 +fi
78.6035 +
78.6036 +ac_ext=cpp
78.6037 +ac_cpp='$CXXCPP $CPPFLAGS'
78.6038 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.6039 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.6040 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.6041 +
78.6042 +fi
78.6043 +
78.6044 +
78.6045 +ac_ext=f
78.6046 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
78.6047 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.6048 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
78.6049 +if test -n "$ac_tool_prefix"; then
78.6050 + for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
78.6051 + do
78.6052 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
78.6053 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
78.6054 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6055 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6056 +if test "${ac_cv_prog_F77+set}" = set; then
78.6057 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6058 +else
78.6059 + if test -n "$F77"; then
78.6060 + ac_cv_prog_F77="$F77" # Let the user override the test.
78.6061 +else
78.6062 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6063 +for as_dir in $PATH
78.6064 +do
78.6065 + IFS=$as_save_IFS
78.6066 + test -z "$as_dir" && as_dir=.
78.6067 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6068 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6069 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
78.6070 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6071 + break 2
78.6072 + fi
78.6073 +done
78.6074 +done
78.6075 +IFS=$as_save_IFS
78.6076 +
78.6077 +fi
78.6078 +fi
78.6079 +F77=$ac_cv_prog_F77
78.6080 +if test -n "$F77"; then
78.6081 + { echo "$as_me:$LINENO: result: $F77" >&5
78.6082 +echo "${ECHO_T}$F77" >&6; }
78.6083 +else
78.6084 + { echo "$as_me:$LINENO: result: no" >&5
78.6085 +echo "${ECHO_T}no" >&6; }
78.6086 +fi
78.6087 +
78.6088 +
78.6089 + test -n "$F77" && break
78.6090 + done
78.6091 +fi
78.6092 +if test -z "$F77"; then
78.6093 + ac_ct_F77=$F77
78.6094 + for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
78.6095 +do
78.6096 + # Extract the first word of "$ac_prog", so it can be a program name with args.
78.6097 +set dummy $ac_prog; ac_word=$2
78.6098 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6099 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6100 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
78.6101 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6102 +else
78.6103 + if test -n "$ac_ct_F77"; then
78.6104 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
78.6105 +else
78.6106 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6107 +for as_dir in $PATH
78.6108 +do
78.6109 + IFS=$as_save_IFS
78.6110 + test -z "$as_dir" && as_dir=.
78.6111 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6112 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6113 + ac_cv_prog_ac_ct_F77="$ac_prog"
78.6114 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6115 + break 2
78.6116 + fi
78.6117 +done
78.6118 +done
78.6119 +IFS=$as_save_IFS
78.6120 +
78.6121 +fi
78.6122 +fi
78.6123 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
78.6124 +if test -n "$ac_ct_F77"; then
78.6125 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
78.6126 +echo "${ECHO_T}$ac_ct_F77" >&6; }
78.6127 +else
78.6128 + { echo "$as_me:$LINENO: result: no" >&5
78.6129 +echo "${ECHO_T}no" >&6; }
78.6130 +fi
78.6131 +
78.6132 +
78.6133 + test -n "$ac_ct_F77" && break
78.6134 +done
78.6135 +
78.6136 + if test "x$ac_ct_F77" = x; then
78.6137 + F77=""
78.6138 + else
78.6139 + case $cross_compiling:$ac_tool_warned in
78.6140 +yes:)
78.6141 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.6142 +whose name does not start with the host triplet. If you think this
78.6143 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.6144 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.6145 +whose name does not start with the host triplet. If you think this
78.6146 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.6147 +ac_tool_warned=yes ;;
78.6148 +esac
78.6149 + F77=$ac_ct_F77
78.6150 + fi
78.6151 +fi
78.6152 +
78.6153 +
78.6154 +# Provide some information about the compiler.
78.6155 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
78.6156 +ac_compiler=`set X $ac_compile; echo $2`
78.6157 +{ (ac_try="$ac_compiler --version >&5"
78.6158 +case "(($ac_try" in
78.6159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6160 + *) ac_try_echo=$ac_try;;
78.6161 +esac
78.6162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6163 + (eval "$ac_compiler --version >&5") 2>&5
78.6164 + ac_status=$?
78.6165 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6166 + (exit $ac_status); }
78.6167 +{ (ac_try="$ac_compiler -v >&5"
78.6168 +case "(($ac_try" in
78.6169 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6170 + *) ac_try_echo=$ac_try;;
78.6171 +esac
78.6172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6173 + (eval "$ac_compiler -v >&5") 2>&5
78.6174 + ac_status=$?
78.6175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6176 + (exit $ac_status); }
78.6177 +{ (ac_try="$ac_compiler -V >&5"
78.6178 +case "(($ac_try" in
78.6179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6180 + *) ac_try_echo=$ac_try;;
78.6181 +esac
78.6182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6183 + (eval "$ac_compiler -V >&5") 2>&5
78.6184 + ac_status=$?
78.6185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6186 + (exit $ac_status); }
78.6187 +rm -f a.out
78.6188 +
78.6189 +# If we don't use `.F' as extension, the preprocessor is not run on the
78.6190 +# input file. (Note that this only needs to work for GNU compilers.)
78.6191 +ac_save_ext=$ac_ext
78.6192 +ac_ext=F
78.6193 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
78.6194 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
78.6195 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
78.6196 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6197 +else
78.6198 + cat >conftest.$ac_ext <<_ACEOF
78.6199 + program main
78.6200 +#ifndef __GNUC__
78.6201 + choke me
78.6202 +#endif
78.6203 +
78.6204 + end
78.6205 +_ACEOF
78.6206 +rm -f conftest.$ac_objext
78.6207 +if { (ac_try="$ac_compile"
78.6208 +case "(($ac_try" in
78.6209 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6210 + *) ac_try_echo=$ac_try;;
78.6211 +esac
78.6212 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6213 + (eval "$ac_compile") 2>conftest.er1
78.6214 + ac_status=$?
78.6215 + grep -v '^ *+' conftest.er1 >conftest.err
78.6216 + rm -f conftest.er1
78.6217 + cat conftest.err >&5
78.6218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6219 + (exit $ac_status); } &&
78.6220 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
78.6221 + { (case "(($ac_try" in
78.6222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6223 + *) ac_try_echo=$ac_try;;
78.6224 +esac
78.6225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6226 + (eval "$ac_try") 2>&5
78.6227 + ac_status=$?
78.6228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6229 + (exit $ac_status); }; } &&
78.6230 + { ac_try='test -s conftest.$ac_objext'
78.6231 + { (case "(($ac_try" in
78.6232 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6233 + *) ac_try_echo=$ac_try;;
78.6234 +esac
78.6235 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6236 + (eval "$ac_try") 2>&5
78.6237 + ac_status=$?
78.6238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6239 + (exit $ac_status); }; }; then
78.6240 + ac_compiler_gnu=yes
78.6241 +else
78.6242 + echo "$as_me: failed program was:" >&5
78.6243 +sed 's/^/| /' conftest.$ac_ext >&5
78.6244 +
78.6245 + ac_compiler_gnu=no
78.6246 +fi
78.6247 +
78.6248 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.6249 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
78.6250 +
78.6251 +fi
78.6252 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
78.6253 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
78.6254 +ac_ext=$ac_save_ext
78.6255 +ac_test_FFLAGS=${FFLAGS+set}
78.6256 +ac_save_FFLAGS=$FFLAGS
78.6257 +FFLAGS=
78.6258 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
78.6259 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
78.6260 +if test "${ac_cv_prog_f77_g+set}" = set; then
78.6261 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6262 +else
78.6263 + FFLAGS=-g
78.6264 +cat >conftest.$ac_ext <<_ACEOF
78.6265 + program main
78.6266 +
78.6267 + end
78.6268 +_ACEOF
78.6269 +rm -f conftest.$ac_objext
78.6270 +if { (ac_try="$ac_compile"
78.6271 +case "(($ac_try" in
78.6272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6273 + *) ac_try_echo=$ac_try;;
78.6274 +esac
78.6275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6276 + (eval "$ac_compile") 2>conftest.er1
78.6277 + ac_status=$?
78.6278 + grep -v '^ *+' conftest.er1 >conftest.err
78.6279 + rm -f conftest.er1
78.6280 + cat conftest.err >&5
78.6281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6282 + (exit $ac_status); } &&
78.6283 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
78.6284 + { (case "(($ac_try" in
78.6285 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6286 + *) ac_try_echo=$ac_try;;
78.6287 +esac
78.6288 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6289 + (eval "$ac_try") 2>&5
78.6290 + ac_status=$?
78.6291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6292 + (exit $ac_status); }; } &&
78.6293 + { ac_try='test -s conftest.$ac_objext'
78.6294 + { (case "(($ac_try" in
78.6295 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.6296 + *) ac_try_echo=$ac_try;;
78.6297 +esac
78.6298 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.6299 + (eval "$ac_try") 2>&5
78.6300 + ac_status=$?
78.6301 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6302 + (exit $ac_status); }; }; then
78.6303 + ac_cv_prog_f77_g=yes
78.6304 +else
78.6305 + echo "$as_me: failed program was:" >&5
78.6306 +sed 's/^/| /' conftest.$ac_ext >&5
78.6307 +
78.6308 + ac_cv_prog_f77_g=no
78.6309 +fi
78.6310 +
78.6311 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78.6312 +
78.6313 +fi
78.6314 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
78.6315 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
78.6316 +if test "$ac_test_FFLAGS" = set; then
78.6317 + FFLAGS=$ac_save_FFLAGS
78.6318 +elif test $ac_cv_prog_f77_g = yes; then
78.6319 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
78.6320 + FFLAGS="-g -O2"
78.6321 + else
78.6322 + FFLAGS="-g"
78.6323 + fi
78.6324 +else
78.6325 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
78.6326 + FFLAGS="-O2"
78.6327 + else
78.6328 + FFLAGS=
78.6329 + fi
78.6330 +fi
78.6331 +
78.6332 +G77=`test $ac_compiler_gnu = yes && echo yes`
78.6333 +ac_ext=cpp
78.6334 +ac_cpp='$CXXCPP $CPPFLAGS'
78.6335 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.6336 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.6337 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.6338 +
78.6339 +
78.6340 +
78.6341 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
78.6342 +
78.6343 +# find the maximum length of command line arguments
78.6344 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
78.6345 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
78.6346 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
78.6347 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6348 +else
78.6349 + i=0
78.6350 + teststring="ABCD"
78.6351 +
78.6352 + case $build_os in
78.6353 + msdosdjgpp*)
78.6354 + # On DJGPP, this test can blow up pretty badly due to problems in libc
78.6355 + # (any single argument exceeding 2000 bytes causes a buffer overrun
78.6356 + # during glob expansion). Even if it were fixed, the result of this
78.6357 + # check would be larger than it should be.
78.6358 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
78.6359 + ;;
78.6360 +
78.6361 + gnu*)
78.6362 + # Under GNU Hurd, this test is not required because there is
78.6363 + # no limit to the length of command line arguments.
78.6364 + # Libtool will interpret -1 as no limit whatsoever
78.6365 + lt_cv_sys_max_cmd_len=-1;
78.6366 + ;;
78.6367 +
78.6368 + cygwin* | mingw*)
78.6369 + # On Win9x/ME, this test blows up -- it succeeds, but takes
78.6370 + # about 5 minutes as the teststring grows exponentially.
78.6371 + # Worse, since 9x/ME are not pre-emptively multitasking,
78.6372 + # you end up with a "frozen" computer, even though with patience
78.6373 + # the test eventually succeeds (with a max line length of 256k).
78.6374 + # Instead, let's just punt: use the minimum linelength reported by
78.6375 + # all of the supported platforms: 8192 (on NT/2K/XP).
78.6376 + lt_cv_sys_max_cmd_len=8192;
78.6377 + ;;
78.6378 +
78.6379 + amigaos*)
78.6380 + # On AmigaOS with pdksh, this test takes hours, literally.
78.6381 + # So we just punt and use a minimum line length of 8192.
78.6382 + lt_cv_sys_max_cmd_len=8192;
78.6383 + ;;
78.6384 +
78.6385 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
78.6386 + # This has been around since 386BSD, at least. Likely further.
78.6387 + if test -x /sbin/sysctl; then
78.6388 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
78.6389 + elif test -x /usr/sbin/sysctl; then
78.6390 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
78.6391 + else
78.6392 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
78.6393 + fi
78.6394 + # And add a safety zone
78.6395 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
78.6396 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
78.6397 + ;;
78.6398 +
78.6399 + interix*)
78.6400 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
78.6401 + lt_cv_sys_max_cmd_len=196608
78.6402 + ;;
78.6403 +
78.6404 + osf*)
78.6405 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
78.6406 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
78.6407 + # nice to cause kernel panics so lets avoid the loop below.
78.6408 + # First set a reasonable default.
78.6409 + lt_cv_sys_max_cmd_len=16384
78.6410 + #
78.6411 + if test -x /sbin/sysconfig; then
78.6412 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
78.6413 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
78.6414 + esac
78.6415 + fi
78.6416 + ;;
78.6417 + sco3.2v5*)
78.6418 + lt_cv_sys_max_cmd_len=102400
78.6419 + ;;
78.6420 + sysv5* | sco5v6* | sysv4.2uw2*)
78.6421 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
78.6422 + if test -n "$kargmax"; then
78.6423 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
78.6424 + else
78.6425 + lt_cv_sys_max_cmd_len=32768
78.6426 + fi
78.6427 + ;;
78.6428 + *)
78.6429 + # If test is not a shell built-in, we'll probably end up computing a
78.6430 + # maximum length that is only half of the actual maximum length, but
78.6431 + # we can't tell.
78.6432 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
78.6433 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
78.6434 + = "XX$teststring") >/dev/null 2>&1 &&
78.6435 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
78.6436 + lt_cv_sys_max_cmd_len=$new_result &&
78.6437 + test $i != 17 # 1/2 MB should be enough
78.6438 + do
78.6439 + i=`expr $i + 1`
78.6440 + teststring=$teststring$teststring
78.6441 + done
78.6442 + teststring=
78.6443 + # Add a significant safety factor because C++ compilers can tack on massive
78.6444 + # amounts of additional arguments before passing them to the linker.
78.6445 + # It appears as though 1/2 is a usable value.
78.6446 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
78.6447 + ;;
78.6448 + esac
78.6449 +
78.6450 +fi
78.6451 +
78.6452 +if test -n $lt_cv_sys_max_cmd_len ; then
78.6453 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
78.6454 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
78.6455 +else
78.6456 + { echo "$as_me:$LINENO: result: none" >&5
78.6457 +echo "${ECHO_T}none" >&6; }
78.6458 +fi
78.6459 +
78.6460 +
78.6461 +
78.6462 +
78.6463 +# Check for command to grab the raw symbol name followed by C symbol from nm.
78.6464 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
78.6465 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
78.6466 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
78.6467 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6468 +else
78.6469 +
78.6470 +# These are sane defaults that work on at least a few old systems.
78.6471 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
78.6472 +
78.6473 +# Character class describing NM global symbol codes.
78.6474 +symcode='[BCDEGRST]'
78.6475 +
78.6476 +# Regexp to match symbols that can be accessed directly from C.
78.6477 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
78.6478 +
78.6479 +# Transform an extracted symbol line into a proper C declaration
78.6480 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
78.6481 +
78.6482 +# Transform an extracted symbol line into symbol name and symbol address
78.6483 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
78.6484 +
78.6485 +# Define system-specific variables.
78.6486 +case $host_os in
78.6487 +aix*)
78.6488 + symcode='[BCDT]'
78.6489 + ;;
78.6490 +cygwin* | mingw* | pw32*)
78.6491 + symcode='[ABCDGISTW]'
78.6492 + ;;
78.6493 +hpux*) # Its linker distinguishes data from code symbols
78.6494 + if test "$host_cpu" = ia64; then
78.6495 + symcode='[ABCDEGRST]'
78.6496 + fi
78.6497 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
78.6498 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
78.6499 + ;;
78.6500 +linux*)
78.6501 + if test "$host_cpu" = ia64; then
78.6502 + symcode='[ABCDGIRSTW]'
78.6503 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
78.6504 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
78.6505 + fi
78.6506 + ;;
78.6507 +irix* | nonstopux*)
78.6508 + symcode='[BCDEGRST]'
78.6509 + ;;
78.6510 +osf*)
78.6511 + symcode='[BCDEGQRST]'
78.6512 + ;;
78.6513 +solaris*)
78.6514 + symcode='[BDRT]'
78.6515 + ;;
78.6516 +sco3.2v5*)
78.6517 + symcode='[DT]'
78.6518 + ;;
78.6519 +sysv4.2uw2*)
78.6520 + symcode='[DT]'
78.6521 + ;;
78.6522 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
78.6523 + symcode='[ABDT]'
78.6524 + ;;
78.6525 +sysv4)
78.6526 + symcode='[DFNSTU]'
78.6527 + ;;
78.6528 +esac
78.6529 +
78.6530 +# Handle CRLF in mingw tool chain
78.6531 +opt_cr=
78.6532 +case $build_os in
78.6533 +mingw*)
78.6534 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
78.6535 + ;;
78.6536 +esac
78.6537 +
78.6538 +# If we're using GNU nm, then use its standard symbol codes.
78.6539 +case `$NM -V 2>&1` in
78.6540 +*GNU* | *'with BFD'*)
78.6541 + symcode='[ABCDGIRSTW]' ;;
78.6542 +esac
78.6543 +
78.6544 +# Try without a prefix undercore, then with it.
78.6545 +for ac_symprfx in "" "_"; do
78.6546 +
78.6547 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
78.6548 + symxfrm="\\1 $ac_symprfx\\2 \\2"
78.6549 +
78.6550 + # Write the raw and C identifiers.
78.6551 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
78.6552 +
78.6553 + # Check to see that the pipe works correctly.
78.6554 + pipe_works=no
78.6555 +
78.6556 + rm -f conftest*
78.6557 + cat > conftest.$ac_ext <<EOF
78.6558 +#ifdef __cplusplus
78.6559 +extern "C" {
78.6560 +#endif
78.6561 +char nm_test_var;
78.6562 +void nm_test_func(){}
78.6563 +#ifdef __cplusplus
78.6564 +}
78.6565 +#endif
78.6566 +int main(){nm_test_var='a';nm_test_func();return(0);}
78.6567 +EOF
78.6568 +
78.6569 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.6570 + (eval $ac_compile) 2>&5
78.6571 + ac_status=$?
78.6572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6573 + (exit $ac_status); }; then
78.6574 + # Now try to grab the symbols.
78.6575 + nlist=conftest.nm
78.6576 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
78.6577 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
78.6578 + ac_status=$?
78.6579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6580 + (exit $ac_status); } && test -s "$nlist"; then
78.6581 + # Try sorting and uniquifying the output.
78.6582 + if sort "$nlist" | uniq > "$nlist"T; then
78.6583 + mv -f "$nlist"T "$nlist"
78.6584 + else
78.6585 + rm -f "$nlist"T
78.6586 + fi
78.6587 +
78.6588 + # Make sure that we snagged all the symbols we need.
78.6589 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
78.6590 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
78.6591 + cat <<EOF > conftest.$ac_ext
78.6592 +#ifdef __cplusplus
78.6593 +extern "C" {
78.6594 +#endif
78.6595 +
78.6596 +EOF
78.6597 + # Now generate the symbol file.
78.6598 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
78.6599 +
78.6600 + cat <<EOF >> conftest.$ac_ext
78.6601 +#if defined (__STDC__) && __STDC__
78.6602 +# define lt_ptr_t void *
78.6603 +#else
78.6604 +# define lt_ptr_t char *
78.6605 +# define const
78.6606 +#endif
78.6607 +
78.6608 +/* The mapping between symbol names and symbols. */
78.6609 +const struct {
78.6610 + const char *name;
78.6611 + lt_ptr_t address;
78.6612 +}
78.6613 +lt_preloaded_symbols[] =
78.6614 +{
78.6615 +EOF
78.6616 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
78.6617 + cat <<\EOF >> conftest.$ac_ext
78.6618 + {0, (lt_ptr_t) 0}
78.6619 +};
78.6620 +
78.6621 +#ifdef __cplusplus
78.6622 +}
78.6623 +#endif
78.6624 +EOF
78.6625 + # Now try linking the two files.
78.6626 + mv conftest.$ac_objext conftstm.$ac_objext
78.6627 + lt_save_LIBS="$LIBS"
78.6628 + lt_save_CFLAGS="$CFLAGS"
78.6629 + LIBS="conftstm.$ac_objext"
78.6630 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
78.6631 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78.6632 + (eval $ac_link) 2>&5
78.6633 + ac_status=$?
78.6634 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.6635 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
78.6636 + pipe_works=yes
78.6637 + fi
78.6638 + LIBS="$lt_save_LIBS"
78.6639 + CFLAGS="$lt_save_CFLAGS"
78.6640 + else
78.6641 + echo "cannot find nm_test_func in $nlist" >&5
78.6642 + fi
78.6643 + else
78.6644 + echo "cannot find nm_test_var in $nlist" >&5
78.6645 + fi
78.6646 + else
78.6647 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
78.6648 + fi
78.6649 + else
78.6650 + echo "$progname: failed program was:" >&5
78.6651 + cat conftest.$ac_ext >&5
78.6652 + fi
78.6653 + rm -f conftest* conftst*
78.6654 +
78.6655 + # Do not use the global_symbol_pipe unless it works.
78.6656 + if test "$pipe_works" = yes; then
78.6657 + break
78.6658 + else
78.6659 + lt_cv_sys_global_symbol_pipe=
78.6660 + fi
78.6661 +done
78.6662 +
78.6663 +fi
78.6664 +
78.6665 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
78.6666 + lt_cv_sys_global_symbol_to_cdecl=
78.6667 +fi
78.6668 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
78.6669 + { echo "$as_me:$LINENO: result: failed" >&5
78.6670 +echo "${ECHO_T}failed" >&6; }
78.6671 +else
78.6672 + { echo "$as_me:$LINENO: result: ok" >&5
78.6673 +echo "${ECHO_T}ok" >&6; }
78.6674 +fi
78.6675 +
78.6676 +{ echo "$as_me:$LINENO: checking for objdir" >&5
78.6677 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
78.6678 +if test "${lt_cv_objdir+set}" = set; then
78.6679 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6680 +else
78.6681 + rm -f .libs 2>/dev/null
78.6682 +mkdir .libs 2>/dev/null
78.6683 +if test -d .libs; then
78.6684 + lt_cv_objdir=.libs
78.6685 +else
78.6686 + # MS-DOS does not allow filenames that begin with a dot.
78.6687 + lt_cv_objdir=_libs
78.6688 +fi
78.6689 +rmdir .libs 2>/dev/null
78.6690 +fi
78.6691 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
78.6692 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
78.6693 +objdir=$lt_cv_objdir
78.6694 +
78.6695 +
78.6696 +
78.6697 +
78.6698 +
78.6699 +case $host_os in
78.6700 +aix3*)
78.6701 + # AIX sometimes has problems with the GCC collect2 program. For some
78.6702 + # reason, if we set the COLLECT_NAMES environment variable, the problems
78.6703 + # vanish in a puff of smoke.
78.6704 + if test "X${COLLECT_NAMES+set}" != Xset; then
78.6705 + COLLECT_NAMES=
78.6706 + export COLLECT_NAMES
78.6707 + fi
78.6708 + ;;
78.6709 +esac
78.6710 +
78.6711 +# Sed substitution that helps us do robust quoting. It backslashifies
78.6712 +# metacharacters that are still active within double-quoted strings.
78.6713 +Xsed='sed -e 1s/^X//'
78.6714 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
78.6715 +
78.6716 +# Same as above, but do not quote variable references.
78.6717 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
78.6718 +
78.6719 +# Sed substitution to delay expansion of an escaped shell variable in a
78.6720 +# double_quote_subst'ed string.
78.6721 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
78.6722 +
78.6723 +# Sed substitution to avoid accidental globbing in evaled expressions
78.6724 +no_glob_subst='s/\*/\\\*/g'
78.6725 +
78.6726 +# Constants:
78.6727 +rm="rm -f"
78.6728 +
78.6729 +# Global variables:
78.6730 +default_ofile=libtool
78.6731 +can_build_shared=yes
78.6732 +
78.6733 +# All known linkers require a `.a' archive for static linking (except MSVC,
78.6734 +# which needs '.lib').
78.6735 +libext=a
78.6736 +ltmain="$ac_aux_dir/ltmain.sh"
78.6737 +ofile="$default_ofile"
78.6738 +with_gnu_ld="$lt_cv_prog_gnu_ld"
78.6739 +
78.6740 +if test -n "$ac_tool_prefix"; then
78.6741 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
78.6742 +set dummy ${ac_tool_prefix}ar; ac_word=$2
78.6743 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6744 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6745 +if test "${ac_cv_prog_AR+set}" = set; then
78.6746 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6747 +else
78.6748 + if test -n "$AR"; then
78.6749 + ac_cv_prog_AR="$AR" # Let the user override the test.
78.6750 +else
78.6751 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6752 +for as_dir in $PATH
78.6753 +do
78.6754 + IFS=$as_save_IFS
78.6755 + test -z "$as_dir" && as_dir=.
78.6756 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6757 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6758 + ac_cv_prog_AR="${ac_tool_prefix}ar"
78.6759 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6760 + break 2
78.6761 + fi
78.6762 +done
78.6763 +done
78.6764 +IFS=$as_save_IFS
78.6765 +
78.6766 +fi
78.6767 +fi
78.6768 +AR=$ac_cv_prog_AR
78.6769 +if test -n "$AR"; then
78.6770 + { echo "$as_me:$LINENO: result: $AR" >&5
78.6771 +echo "${ECHO_T}$AR" >&6; }
78.6772 +else
78.6773 + { echo "$as_me:$LINENO: result: no" >&5
78.6774 +echo "${ECHO_T}no" >&6; }
78.6775 +fi
78.6776 +
78.6777 +
78.6778 +fi
78.6779 +if test -z "$ac_cv_prog_AR"; then
78.6780 + ac_ct_AR=$AR
78.6781 + # Extract the first word of "ar", so it can be a program name with args.
78.6782 +set dummy ar; ac_word=$2
78.6783 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6784 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6785 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
78.6786 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6787 +else
78.6788 + if test -n "$ac_ct_AR"; then
78.6789 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
78.6790 +else
78.6791 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6792 +for as_dir in $PATH
78.6793 +do
78.6794 + IFS=$as_save_IFS
78.6795 + test -z "$as_dir" && as_dir=.
78.6796 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6797 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6798 + ac_cv_prog_ac_ct_AR="ar"
78.6799 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6800 + break 2
78.6801 + fi
78.6802 +done
78.6803 +done
78.6804 +IFS=$as_save_IFS
78.6805 +
78.6806 +fi
78.6807 +fi
78.6808 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
78.6809 +if test -n "$ac_ct_AR"; then
78.6810 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
78.6811 +echo "${ECHO_T}$ac_ct_AR" >&6; }
78.6812 +else
78.6813 + { echo "$as_me:$LINENO: result: no" >&5
78.6814 +echo "${ECHO_T}no" >&6; }
78.6815 +fi
78.6816 +
78.6817 + if test "x$ac_ct_AR" = x; then
78.6818 + AR="false"
78.6819 + else
78.6820 + case $cross_compiling:$ac_tool_warned in
78.6821 +yes:)
78.6822 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.6823 +whose name does not start with the host triplet. If you think this
78.6824 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.6825 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.6826 +whose name does not start with the host triplet. If you think this
78.6827 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.6828 +ac_tool_warned=yes ;;
78.6829 +esac
78.6830 + AR=$ac_ct_AR
78.6831 + fi
78.6832 +else
78.6833 + AR="$ac_cv_prog_AR"
78.6834 +fi
78.6835 +
78.6836 +if test -n "$ac_tool_prefix"; then
78.6837 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
78.6838 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
78.6839 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6840 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6841 +if test "${ac_cv_prog_RANLIB+set}" = set; then
78.6842 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6843 +else
78.6844 + if test -n "$RANLIB"; then
78.6845 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
78.6846 +else
78.6847 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6848 +for as_dir in $PATH
78.6849 +do
78.6850 + IFS=$as_save_IFS
78.6851 + test -z "$as_dir" && as_dir=.
78.6852 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6853 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6854 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
78.6855 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6856 + break 2
78.6857 + fi
78.6858 +done
78.6859 +done
78.6860 +IFS=$as_save_IFS
78.6861 +
78.6862 +fi
78.6863 +fi
78.6864 +RANLIB=$ac_cv_prog_RANLIB
78.6865 +if test -n "$RANLIB"; then
78.6866 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
78.6867 +echo "${ECHO_T}$RANLIB" >&6; }
78.6868 +else
78.6869 + { echo "$as_me:$LINENO: result: no" >&5
78.6870 +echo "${ECHO_T}no" >&6; }
78.6871 +fi
78.6872 +
78.6873 +
78.6874 +fi
78.6875 +if test -z "$ac_cv_prog_RANLIB"; then
78.6876 + ac_ct_RANLIB=$RANLIB
78.6877 + # Extract the first word of "ranlib", so it can be a program name with args.
78.6878 +set dummy ranlib; ac_word=$2
78.6879 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6880 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6881 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
78.6882 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6883 +else
78.6884 + if test -n "$ac_ct_RANLIB"; then
78.6885 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
78.6886 +else
78.6887 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6888 +for as_dir in $PATH
78.6889 +do
78.6890 + IFS=$as_save_IFS
78.6891 + test -z "$as_dir" && as_dir=.
78.6892 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6893 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6894 + ac_cv_prog_ac_ct_RANLIB="ranlib"
78.6895 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6896 + break 2
78.6897 + fi
78.6898 +done
78.6899 +done
78.6900 +IFS=$as_save_IFS
78.6901 +
78.6902 +fi
78.6903 +fi
78.6904 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
78.6905 +if test -n "$ac_ct_RANLIB"; then
78.6906 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
78.6907 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
78.6908 +else
78.6909 + { echo "$as_me:$LINENO: result: no" >&5
78.6910 +echo "${ECHO_T}no" >&6; }
78.6911 +fi
78.6912 +
78.6913 + if test "x$ac_ct_RANLIB" = x; then
78.6914 + RANLIB=":"
78.6915 + else
78.6916 + case $cross_compiling:$ac_tool_warned in
78.6917 +yes:)
78.6918 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.6919 +whose name does not start with the host triplet. If you think this
78.6920 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.6921 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.6922 +whose name does not start with the host triplet. If you think this
78.6923 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.6924 +ac_tool_warned=yes ;;
78.6925 +esac
78.6926 + RANLIB=$ac_ct_RANLIB
78.6927 + fi
78.6928 +else
78.6929 + RANLIB="$ac_cv_prog_RANLIB"
78.6930 +fi
78.6931 +
78.6932 +if test -n "$ac_tool_prefix"; then
78.6933 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
78.6934 +set dummy ${ac_tool_prefix}strip; ac_word=$2
78.6935 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6936 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6937 +if test "${ac_cv_prog_STRIP+set}" = set; then
78.6938 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6939 +else
78.6940 + if test -n "$STRIP"; then
78.6941 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
78.6942 +else
78.6943 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6944 +for as_dir in $PATH
78.6945 +do
78.6946 + IFS=$as_save_IFS
78.6947 + test -z "$as_dir" && as_dir=.
78.6948 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6949 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6950 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
78.6951 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6952 + break 2
78.6953 + fi
78.6954 +done
78.6955 +done
78.6956 +IFS=$as_save_IFS
78.6957 +
78.6958 +fi
78.6959 +fi
78.6960 +STRIP=$ac_cv_prog_STRIP
78.6961 +if test -n "$STRIP"; then
78.6962 + { echo "$as_me:$LINENO: result: $STRIP" >&5
78.6963 +echo "${ECHO_T}$STRIP" >&6; }
78.6964 +else
78.6965 + { echo "$as_me:$LINENO: result: no" >&5
78.6966 +echo "${ECHO_T}no" >&6; }
78.6967 +fi
78.6968 +
78.6969 +
78.6970 +fi
78.6971 +if test -z "$ac_cv_prog_STRIP"; then
78.6972 + ac_ct_STRIP=$STRIP
78.6973 + # Extract the first word of "strip", so it can be a program name with args.
78.6974 +set dummy strip; ac_word=$2
78.6975 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
78.6976 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
78.6977 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
78.6978 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.6979 +else
78.6980 + if test -n "$ac_ct_STRIP"; then
78.6981 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
78.6982 +else
78.6983 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.6984 +for as_dir in $PATH
78.6985 +do
78.6986 + IFS=$as_save_IFS
78.6987 + test -z "$as_dir" && as_dir=.
78.6988 + for ac_exec_ext in '' $ac_executable_extensions; do
78.6989 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
78.6990 + ac_cv_prog_ac_ct_STRIP="strip"
78.6991 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
78.6992 + break 2
78.6993 + fi
78.6994 +done
78.6995 +done
78.6996 +IFS=$as_save_IFS
78.6997 +
78.6998 +fi
78.6999 +fi
78.7000 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
78.7001 +if test -n "$ac_ct_STRIP"; then
78.7002 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
78.7003 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
78.7004 +else
78.7005 + { echo "$as_me:$LINENO: result: no" >&5
78.7006 +echo "${ECHO_T}no" >&6; }
78.7007 +fi
78.7008 +
78.7009 + if test "x$ac_ct_STRIP" = x; then
78.7010 + STRIP=":"
78.7011 + else
78.7012 + case $cross_compiling:$ac_tool_warned in
78.7013 +yes:)
78.7014 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
78.7015 +whose name does not start with the host triplet. If you think this
78.7016 +configuration is useful to you, please write to autoconf@gnu.org." >&5
78.7017 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
78.7018 +whose name does not start with the host triplet. If you think this
78.7019 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
78.7020 +ac_tool_warned=yes ;;
78.7021 +esac
78.7022 + STRIP=$ac_ct_STRIP
78.7023 + fi
78.7024 +else
78.7025 + STRIP="$ac_cv_prog_STRIP"
78.7026 +fi
78.7027 +
78.7028 +
78.7029 +old_CC="$CC"
78.7030 +old_CFLAGS="$CFLAGS"
78.7031 +
78.7032 +# Set sane defaults for various variables
78.7033 +test -z "$AR" && AR=ar
78.7034 +test -z "$AR_FLAGS" && AR_FLAGS=cru
78.7035 +test -z "$AS" && AS=as
78.7036 +test -z "$CC" && CC=cc
78.7037 +test -z "$LTCC" && LTCC=$CC
78.7038 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
78.7039 +test -z "$DLLTOOL" && DLLTOOL=dlltool
78.7040 +test -z "$LD" && LD=ld
78.7041 +test -z "$LN_S" && LN_S="ln -s"
78.7042 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
78.7043 +test -z "$NM" && NM=nm
78.7044 +test -z "$SED" && SED=sed
78.7045 +test -z "$OBJDUMP" && OBJDUMP=objdump
78.7046 +test -z "$RANLIB" && RANLIB=:
78.7047 +test -z "$STRIP" && STRIP=:
78.7048 +test -z "$ac_objext" && ac_objext=o
78.7049 +
78.7050 +# Determine commands to create old-style static archives.
78.7051 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
78.7052 +old_postinstall_cmds='chmod 644 $oldlib'
78.7053 +old_postuninstall_cmds=
78.7054 +
78.7055 +if test -n "$RANLIB"; then
78.7056 + case $host_os in
78.7057 + openbsd*)
78.7058 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
78.7059 + ;;
78.7060 + *)
78.7061 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
78.7062 + ;;
78.7063 + esac
78.7064 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
78.7065 +fi
78.7066 +
78.7067 +for cc_temp in $compiler""; do
78.7068 + case $cc_temp in
78.7069 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.7070 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.7071 + \-*) ;;
78.7072 + *) break;;
78.7073 + esac
78.7074 +done
78.7075 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.7076 +
78.7077 +
78.7078 +# Only perform the check for file, if the check method requires it
78.7079 +case $deplibs_check_method in
78.7080 +file_magic*)
78.7081 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
78.7082 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
78.7083 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
78.7084 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
78.7085 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7086 +else
78.7087 + case $MAGIC_CMD in
78.7088 +[\\/*] | ?:[\\/]*)
78.7089 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
78.7090 + ;;
78.7091 +*)
78.7092 + lt_save_MAGIC_CMD="$MAGIC_CMD"
78.7093 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.7094 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
78.7095 + for ac_dir in $ac_dummy; do
78.7096 + IFS="$lt_save_ifs"
78.7097 + test -z "$ac_dir" && ac_dir=.
78.7098 + if test -f $ac_dir/${ac_tool_prefix}file; then
78.7099 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
78.7100 + if test -n "$file_magic_test_file"; then
78.7101 + case $deplibs_check_method in
78.7102 + "file_magic "*)
78.7103 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
78.7104 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
78.7105 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
78.7106 + $EGREP "$file_magic_regex" > /dev/null; then
78.7107 + :
78.7108 + else
78.7109 + cat <<EOF 1>&2
78.7110 +
78.7111 +*** Warning: the command libtool uses to detect shared libraries,
78.7112 +*** $file_magic_cmd, produces output that libtool cannot recognize.
78.7113 +*** The result is that libtool may fail to recognize shared libraries
78.7114 +*** as such. This will affect the creation of libtool libraries that
78.7115 +*** depend on shared libraries, but programs linked with such libtool
78.7116 +*** libraries will work regardless of this problem. Nevertheless, you
78.7117 +*** may want to report the problem to your system manager and/or to
78.7118 +*** bug-libtool@gnu.org
78.7119 +
78.7120 +EOF
78.7121 + fi ;;
78.7122 + esac
78.7123 + fi
78.7124 + break
78.7125 + fi
78.7126 + done
78.7127 + IFS="$lt_save_ifs"
78.7128 + MAGIC_CMD="$lt_save_MAGIC_CMD"
78.7129 + ;;
78.7130 +esac
78.7131 +fi
78.7132 +
78.7133 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
78.7134 +if test -n "$MAGIC_CMD"; then
78.7135 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
78.7136 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
78.7137 +else
78.7138 + { echo "$as_me:$LINENO: result: no" >&5
78.7139 +echo "${ECHO_T}no" >&6; }
78.7140 +fi
78.7141 +
78.7142 +if test -z "$lt_cv_path_MAGIC_CMD"; then
78.7143 + if test -n "$ac_tool_prefix"; then
78.7144 + { echo "$as_me:$LINENO: checking for file" >&5
78.7145 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
78.7146 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
78.7147 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7148 +else
78.7149 + case $MAGIC_CMD in
78.7150 +[\\/*] | ?:[\\/]*)
78.7151 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
78.7152 + ;;
78.7153 +*)
78.7154 + lt_save_MAGIC_CMD="$MAGIC_CMD"
78.7155 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.7156 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
78.7157 + for ac_dir in $ac_dummy; do
78.7158 + IFS="$lt_save_ifs"
78.7159 + test -z "$ac_dir" && ac_dir=.
78.7160 + if test -f $ac_dir/file; then
78.7161 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
78.7162 + if test -n "$file_magic_test_file"; then
78.7163 + case $deplibs_check_method in
78.7164 + "file_magic "*)
78.7165 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
78.7166 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
78.7167 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
78.7168 + $EGREP "$file_magic_regex" > /dev/null; then
78.7169 + :
78.7170 + else
78.7171 + cat <<EOF 1>&2
78.7172 +
78.7173 +*** Warning: the command libtool uses to detect shared libraries,
78.7174 +*** $file_magic_cmd, produces output that libtool cannot recognize.
78.7175 +*** The result is that libtool may fail to recognize shared libraries
78.7176 +*** as such. This will affect the creation of libtool libraries that
78.7177 +*** depend on shared libraries, but programs linked with such libtool
78.7178 +*** libraries will work regardless of this problem. Nevertheless, you
78.7179 +*** may want to report the problem to your system manager and/or to
78.7180 +*** bug-libtool@gnu.org
78.7181 +
78.7182 +EOF
78.7183 + fi ;;
78.7184 + esac
78.7185 + fi
78.7186 + break
78.7187 + fi
78.7188 + done
78.7189 + IFS="$lt_save_ifs"
78.7190 + MAGIC_CMD="$lt_save_MAGIC_CMD"
78.7191 + ;;
78.7192 +esac
78.7193 +fi
78.7194 +
78.7195 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
78.7196 +if test -n "$MAGIC_CMD"; then
78.7197 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
78.7198 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
78.7199 +else
78.7200 + { echo "$as_me:$LINENO: result: no" >&5
78.7201 +echo "${ECHO_T}no" >&6; }
78.7202 +fi
78.7203 +
78.7204 + else
78.7205 + MAGIC_CMD=:
78.7206 + fi
78.7207 +fi
78.7208 +
78.7209 + fi
78.7210 + ;;
78.7211 +esac
78.7212 +
78.7213 +enable_dlopen=no
78.7214 +enable_win32_dll=no
78.7215 +
78.7216 +# Check whether --enable-libtool-lock was given.
78.7217 +if test "${enable_libtool_lock+set}" = set; then
78.7218 + enableval=$enable_libtool_lock;
78.7219 +fi
78.7220 +
78.7221 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
78.7222 +
78.7223 +
78.7224 +# Check whether --with-pic was given.
78.7225 +if test "${with_pic+set}" = set; then
78.7226 + withval=$with_pic; pic_mode="$withval"
78.7227 +else
78.7228 + pic_mode=default
78.7229 +fi
78.7230 +
78.7231 +test -z "$pic_mode" && pic_mode=default
78.7232 +
78.7233 +# Use C for the default configuration in the libtool script
78.7234 +tagname=
78.7235 +lt_save_CC="$CC"
78.7236 +ac_ext=c
78.7237 +ac_cpp='$CPP $CPPFLAGS'
78.7238 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.7239 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.7240 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
78.7241 +
78.7242 +
78.7243 +# Source file extension for C test sources.
78.7244 +ac_ext=c
78.7245 +
78.7246 +# Object file extension for compiled C test sources.
78.7247 +objext=o
78.7248 +objext=$objext
78.7249 +
78.7250 +# Code to be used in simple compile tests
78.7251 +lt_simple_compile_test_code="int some_variable = 0;\n"
78.7252 +
78.7253 +# Code to be used in simple link tests
78.7254 +lt_simple_link_test_code='int main(){return(0);}\n'
78.7255 +
78.7256 +
78.7257 +# If no C compiler was specified, use CC.
78.7258 +LTCC=${LTCC-"$CC"}
78.7259 +
78.7260 +# If no C compiler flags were specified, use CFLAGS.
78.7261 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.7262 +
78.7263 +# Allow CC to be a program name with arguments.
78.7264 +compiler=$CC
78.7265 +
78.7266 +
78.7267 +# save warnings/boilerplate of simple test code
78.7268 +ac_outfile=conftest.$ac_objext
78.7269 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
78.7270 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.7271 +_lt_compiler_boilerplate=`cat conftest.err`
78.7272 +$rm conftest*
78.7273 +
78.7274 +ac_outfile=conftest.$ac_objext
78.7275 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
78.7276 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.7277 +_lt_linker_boilerplate=`cat conftest.err`
78.7278 +$rm conftest*
78.7279 +
78.7280 +
78.7281 +
78.7282 +lt_prog_compiler_no_builtin_flag=
78.7283 +
78.7284 +if test "$GCC" = yes; then
78.7285 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
78.7286 +
78.7287 +
78.7288 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
78.7289 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
78.7290 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
78.7291 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7292 +else
78.7293 + lt_cv_prog_compiler_rtti_exceptions=no
78.7294 + ac_outfile=conftest.$ac_objext
78.7295 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.7296 + lt_compiler_flag="-fno-rtti -fno-exceptions"
78.7297 + # Insert the option either (1) after the last *FLAGS variable, or
78.7298 + # (2) before a word containing "conftest.", or (3) at the end.
78.7299 + # Note that $ac_compile itself does not contain backslashes and begins
78.7300 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.7301 + # The option is referenced via a variable to avoid confusing sed.
78.7302 + lt_compile=`echo "$ac_compile" | $SED \
78.7303 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.7304 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.7305 + -e 's:$: $lt_compiler_flag:'`
78.7306 + (eval echo "\"\$as_me:7303: $lt_compile\"" >&5)
78.7307 + (eval "$lt_compile" 2>conftest.err)
78.7308 + ac_status=$?
78.7309 + cat conftest.err >&5
78.7310 + echo "$as_me:7307: \$? = $ac_status" >&5
78.7311 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.7312 + # The compiler can only warn and ignore the option if not recognized
78.7313 + # So say no if there are warnings other than the usual output.
78.7314 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.7315 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.7316 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.7317 + lt_cv_prog_compiler_rtti_exceptions=yes
78.7318 + fi
78.7319 + fi
78.7320 + $rm conftest*
78.7321 +
78.7322 +fi
78.7323 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
78.7324 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
78.7325 +
78.7326 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
78.7327 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
78.7328 +else
78.7329 + :
78.7330 +fi
78.7331 +
78.7332 +fi
78.7333 +
78.7334 +lt_prog_compiler_wl=
78.7335 +lt_prog_compiler_pic=
78.7336 +lt_prog_compiler_static=
78.7337 +
78.7338 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
78.7339 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
78.7340 +
78.7341 + if test "$GCC" = yes; then
78.7342 + lt_prog_compiler_wl='-Wl,'
78.7343 + lt_prog_compiler_static='-static'
78.7344 +
78.7345 + case $host_os in
78.7346 + aix*)
78.7347 + # All AIX code is PIC.
78.7348 + if test "$host_cpu" = ia64; then
78.7349 + # AIX 5 now supports IA64 processor
78.7350 + lt_prog_compiler_static='-Bstatic'
78.7351 + fi
78.7352 + ;;
78.7353 +
78.7354 + amigaos*)
78.7355 + # FIXME: we need at least 68020 code to build shared libraries, but
78.7356 + # adding the `-m68020' flag to GCC prevents building anything better,
78.7357 + # like `-m68040'.
78.7358 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
78.7359 + ;;
78.7360 +
78.7361 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
78.7362 + # PIC is the default for these OSes.
78.7363 + ;;
78.7364 +
78.7365 + mingw* | pw32* | os2*)
78.7366 + # This hack is so that the source file can tell whether it is being
78.7367 + # built for inclusion in a dll (and should export symbols for example).
78.7368 + lt_prog_compiler_pic='-DDLL_EXPORT'
78.7369 + ;;
78.7370 +
78.7371 + darwin* | rhapsody*)
78.7372 + # PIC is the default on this platform
78.7373 + # Common symbols not allowed in MH_DYLIB files
78.7374 + lt_prog_compiler_pic='-fno-common'
78.7375 + ;;
78.7376 +
78.7377 + interix3*)
78.7378 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
78.7379 + # Instead, we relocate shared libraries at runtime.
78.7380 + ;;
78.7381 +
78.7382 + msdosdjgpp*)
78.7383 + # Just because we use GCC doesn't mean we suddenly get shared libraries
78.7384 + # on systems that don't support them.
78.7385 + lt_prog_compiler_can_build_shared=no
78.7386 + enable_shared=no
78.7387 + ;;
78.7388 +
78.7389 + sysv4*MP*)
78.7390 + if test -d /usr/nec; then
78.7391 + lt_prog_compiler_pic=-Kconform_pic
78.7392 + fi
78.7393 + ;;
78.7394 +
78.7395 + hpux*)
78.7396 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.7397 + # not for PA HP-UX.
78.7398 + case $host_cpu in
78.7399 + hppa*64*|ia64*)
78.7400 + # +Z the default
78.7401 + ;;
78.7402 + *)
78.7403 + lt_prog_compiler_pic='-fPIC'
78.7404 + ;;
78.7405 + esac
78.7406 + ;;
78.7407 +
78.7408 + *)
78.7409 + lt_prog_compiler_pic='-fPIC'
78.7410 + ;;
78.7411 + esac
78.7412 + else
78.7413 + # PORTME Check for flag to pass linker flags through the system compiler.
78.7414 + case $host_os in
78.7415 + aix*)
78.7416 + lt_prog_compiler_wl='-Wl,'
78.7417 + if test "$host_cpu" = ia64; then
78.7418 + # AIX 5 now supports IA64 processor
78.7419 + lt_prog_compiler_static='-Bstatic'
78.7420 + else
78.7421 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
78.7422 + fi
78.7423 + ;;
78.7424 + darwin*)
78.7425 + # PIC is the default on this platform
78.7426 + # Common symbols not allowed in MH_DYLIB files
78.7427 + case $cc_basename in
78.7428 + xlc*)
78.7429 + lt_prog_compiler_pic='-qnocommon'
78.7430 + lt_prog_compiler_wl='-Wl,'
78.7431 + ;;
78.7432 + esac
78.7433 + ;;
78.7434 +
78.7435 + mingw* | pw32* | os2*)
78.7436 + # This hack is so that the source file can tell whether it is being
78.7437 + # built for inclusion in a dll (and should export symbols for example).
78.7438 + lt_prog_compiler_pic='-DDLL_EXPORT'
78.7439 + ;;
78.7440 +
78.7441 + hpux9* | hpux10* | hpux11*)
78.7442 + lt_prog_compiler_wl='-Wl,'
78.7443 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.7444 + # not for PA HP-UX.
78.7445 + case $host_cpu in
78.7446 + hppa*64*|ia64*)
78.7447 + # +Z the default
78.7448 + ;;
78.7449 + *)
78.7450 + lt_prog_compiler_pic='+Z'
78.7451 + ;;
78.7452 + esac
78.7453 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
78.7454 + lt_prog_compiler_static='${wl}-a ${wl}archive'
78.7455 + ;;
78.7456 +
78.7457 + irix5* | irix6* | nonstopux*)
78.7458 + lt_prog_compiler_wl='-Wl,'
78.7459 + # PIC (with -KPIC) is the default.
78.7460 + lt_prog_compiler_static='-non_shared'
78.7461 + ;;
78.7462 +
78.7463 + newsos6)
78.7464 + lt_prog_compiler_pic='-KPIC'
78.7465 + lt_prog_compiler_static='-Bstatic'
78.7466 + ;;
78.7467 +
78.7468 + linux*)
78.7469 + case $cc_basename in
78.7470 + icc* | ecc*)
78.7471 + lt_prog_compiler_wl='-Wl,'
78.7472 + lt_prog_compiler_pic='-KPIC'
78.7473 + lt_prog_compiler_static='-static'
78.7474 + ;;
78.7475 + pgcc* | pgf77* | pgf90* | pgf95*)
78.7476 + # Portland Group compilers (*not* the Pentium gcc compiler,
78.7477 + # which looks to be a dead project)
78.7478 + lt_prog_compiler_wl='-Wl,'
78.7479 + lt_prog_compiler_pic='-fpic'
78.7480 + lt_prog_compiler_static='-Bstatic'
78.7481 + ;;
78.7482 + ccc*)
78.7483 + lt_prog_compiler_wl='-Wl,'
78.7484 + # All Alpha code is PIC.
78.7485 + lt_prog_compiler_static='-non_shared'
78.7486 + ;;
78.7487 + esac
78.7488 + ;;
78.7489 +
78.7490 + osf3* | osf4* | osf5*)
78.7491 + lt_prog_compiler_wl='-Wl,'
78.7492 + # All OSF/1 code is PIC.
78.7493 + lt_prog_compiler_static='-non_shared'
78.7494 + ;;
78.7495 +
78.7496 + solaris*)
78.7497 + lt_prog_compiler_pic='-KPIC'
78.7498 + lt_prog_compiler_static='-Bstatic'
78.7499 + case $cc_basename in
78.7500 + f77* | f90* | f95*)
78.7501 + lt_prog_compiler_wl='-Qoption ld ';;
78.7502 + *)
78.7503 + lt_prog_compiler_wl='-Wl,';;
78.7504 + esac
78.7505 + ;;
78.7506 +
78.7507 + sunos4*)
78.7508 + lt_prog_compiler_wl='-Qoption ld '
78.7509 + lt_prog_compiler_pic='-PIC'
78.7510 + lt_prog_compiler_static='-Bstatic'
78.7511 + ;;
78.7512 +
78.7513 + sysv4 | sysv4.2uw2* | sysv4.3*)
78.7514 + lt_prog_compiler_wl='-Wl,'
78.7515 + lt_prog_compiler_pic='-KPIC'
78.7516 + lt_prog_compiler_static='-Bstatic'
78.7517 + ;;
78.7518 +
78.7519 + sysv4*MP*)
78.7520 + if test -d /usr/nec ;then
78.7521 + lt_prog_compiler_pic='-Kconform_pic'
78.7522 + lt_prog_compiler_static='-Bstatic'
78.7523 + fi
78.7524 + ;;
78.7525 +
78.7526 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
78.7527 + lt_prog_compiler_wl='-Wl,'
78.7528 + lt_prog_compiler_pic='-KPIC'
78.7529 + lt_prog_compiler_static='-Bstatic'
78.7530 + ;;
78.7531 +
78.7532 + unicos*)
78.7533 + lt_prog_compiler_wl='-Wl,'
78.7534 + lt_prog_compiler_can_build_shared=no
78.7535 + ;;
78.7536 +
78.7537 + uts4*)
78.7538 + lt_prog_compiler_pic='-pic'
78.7539 + lt_prog_compiler_static='-Bstatic'
78.7540 + ;;
78.7541 +
78.7542 + *)
78.7543 + lt_prog_compiler_can_build_shared=no
78.7544 + ;;
78.7545 + esac
78.7546 + fi
78.7547 +
78.7548 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
78.7549 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
78.7550 +
78.7551 +#
78.7552 +# Check to make sure the PIC flag actually works.
78.7553 +#
78.7554 +if test -n "$lt_prog_compiler_pic"; then
78.7555 +
78.7556 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
78.7557 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
78.7558 +if test "${lt_prog_compiler_pic_works+set}" = set; then
78.7559 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7560 +else
78.7561 + lt_prog_compiler_pic_works=no
78.7562 + ac_outfile=conftest.$ac_objext
78.7563 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.7564 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
78.7565 + # Insert the option either (1) after the last *FLAGS variable, or
78.7566 + # (2) before a word containing "conftest.", or (3) at the end.
78.7567 + # Note that $ac_compile itself does not contain backslashes and begins
78.7568 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.7569 + # The option is referenced via a variable to avoid confusing sed.
78.7570 + lt_compile=`echo "$ac_compile" | $SED \
78.7571 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.7572 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.7573 + -e 's:$: $lt_compiler_flag:'`
78.7574 + (eval echo "\"\$as_me:7571: $lt_compile\"" >&5)
78.7575 + (eval "$lt_compile" 2>conftest.err)
78.7576 + ac_status=$?
78.7577 + cat conftest.err >&5
78.7578 + echo "$as_me:7575: \$? = $ac_status" >&5
78.7579 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.7580 + # The compiler can only warn and ignore the option if not recognized
78.7581 + # So say no if there are warnings other than the usual output.
78.7582 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.7583 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.7584 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.7585 + lt_prog_compiler_pic_works=yes
78.7586 + fi
78.7587 + fi
78.7588 + $rm conftest*
78.7589 +
78.7590 +fi
78.7591 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
78.7592 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
78.7593 +
78.7594 +if test x"$lt_prog_compiler_pic_works" = xyes; then
78.7595 + case $lt_prog_compiler_pic in
78.7596 + "" | " "*) ;;
78.7597 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
78.7598 + esac
78.7599 +else
78.7600 + lt_prog_compiler_pic=
78.7601 + lt_prog_compiler_can_build_shared=no
78.7602 +fi
78.7603 +
78.7604 +fi
78.7605 +case $host_os in
78.7606 + # For platforms which do not support PIC, -DPIC is meaningless:
78.7607 + *djgpp*)
78.7608 + lt_prog_compiler_pic=
78.7609 + ;;
78.7610 + *)
78.7611 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
78.7612 + ;;
78.7613 +esac
78.7614 +
78.7615 +#
78.7616 +# Check to make sure the static flag actually works.
78.7617 +#
78.7618 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
78.7619 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
78.7620 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
78.7621 +if test "${lt_prog_compiler_static_works+set}" = set; then
78.7622 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7623 +else
78.7624 + lt_prog_compiler_static_works=no
78.7625 + save_LDFLAGS="$LDFLAGS"
78.7626 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
78.7627 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
78.7628 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
78.7629 + # The linker can only warn and ignore the option if not recognized
78.7630 + # So say no if there are warnings
78.7631 + if test -s conftest.err; then
78.7632 + # Append any errors to the config.log.
78.7633 + cat conftest.err 1>&5
78.7634 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
78.7635 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.7636 + if diff conftest.exp conftest.er2 >/dev/null; then
78.7637 + lt_prog_compiler_static_works=yes
78.7638 + fi
78.7639 + else
78.7640 + lt_prog_compiler_static_works=yes
78.7641 + fi
78.7642 + fi
78.7643 + $rm conftest*
78.7644 + LDFLAGS="$save_LDFLAGS"
78.7645 +
78.7646 +fi
78.7647 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
78.7648 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
78.7649 +
78.7650 +if test x"$lt_prog_compiler_static_works" = xyes; then
78.7651 + :
78.7652 +else
78.7653 + lt_prog_compiler_static=
78.7654 +fi
78.7655 +
78.7656 +
78.7657 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
78.7658 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
78.7659 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
78.7660 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.7661 +else
78.7662 + lt_cv_prog_compiler_c_o=no
78.7663 + $rm -r conftest 2>/dev/null
78.7664 + mkdir conftest
78.7665 + cd conftest
78.7666 + mkdir out
78.7667 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.7668 +
78.7669 + lt_compiler_flag="-o out/conftest2.$ac_objext"
78.7670 + # Insert the option either (1) after the last *FLAGS variable, or
78.7671 + # (2) before a word containing "conftest.", or (3) at the end.
78.7672 + # Note that $ac_compile itself does not contain backslashes and begins
78.7673 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.7674 + lt_compile=`echo "$ac_compile" | $SED \
78.7675 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.7676 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.7677 + -e 's:$: $lt_compiler_flag:'`
78.7678 + (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
78.7679 + (eval "$lt_compile" 2>out/conftest.err)
78.7680 + ac_status=$?
78.7681 + cat out/conftest.err >&5
78.7682 + echo "$as_me:7679: \$? = $ac_status" >&5
78.7683 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
78.7684 + then
78.7685 + # The compiler can only warn and ignore the option if not recognized
78.7686 + # So say no if there are warnings
78.7687 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
78.7688 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
78.7689 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
78.7690 + lt_cv_prog_compiler_c_o=yes
78.7691 + fi
78.7692 + fi
78.7693 + chmod u+w . 2>&5
78.7694 + $rm conftest*
78.7695 + # SGI C++ compiler will create directory out/ii_files/ for
78.7696 + # template instantiation
78.7697 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
78.7698 + $rm out/* && rmdir out
78.7699 + cd ..
78.7700 + rmdir conftest
78.7701 + $rm conftest*
78.7702 +
78.7703 +fi
78.7704 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
78.7705 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
78.7706 +
78.7707 +
78.7708 +hard_links="nottested"
78.7709 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
78.7710 + # do not overwrite the value of need_locks provided by the user
78.7711 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
78.7712 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
78.7713 + hard_links=yes
78.7714 + $rm conftest*
78.7715 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.7716 + touch conftest.a
78.7717 + ln conftest.a conftest.b 2>&5 || hard_links=no
78.7718 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.7719 + { echo "$as_me:$LINENO: result: $hard_links" >&5
78.7720 +echo "${ECHO_T}$hard_links" >&6; }
78.7721 + if test "$hard_links" = no; then
78.7722 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
78.7723 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
78.7724 + need_locks=warn
78.7725 + fi
78.7726 +else
78.7727 + need_locks=no
78.7728 +fi
78.7729 +
78.7730 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
78.7731 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
78.7732 +
78.7733 + runpath_var=
78.7734 + allow_undefined_flag=
78.7735 + enable_shared_with_static_runtimes=no
78.7736 + archive_cmds=
78.7737 + archive_expsym_cmds=
78.7738 + old_archive_From_new_cmds=
78.7739 + old_archive_from_expsyms_cmds=
78.7740 + export_dynamic_flag_spec=
78.7741 + whole_archive_flag_spec=
78.7742 + thread_safe_flag_spec=
78.7743 + hardcode_libdir_flag_spec=
78.7744 + hardcode_libdir_flag_spec_ld=
78.7745 + hardcode_libdir_separator=
78.7746 + hardcode_direct=no
78.7747 + hardcode_minus_L=no
78.7748 + hardcode_shlibpath_var=unsupported
78.7749 + link_all_deplibs=unknown
78.7750 + hardcode_automatic=no
78.7751 + module_cmds=
78.7752 + module_expsym_cmds=
78.7753 + always_export_symbols=no
78.7754 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
78.7755 + # include_expsyms should be a list of space-separated symbols to be *always*
78.7756 + # included in the symbol list
78.7757 + include_expsyms=
78.7758 + # exclude_expsyms can be an extended regexp of symbols to exclude
78.7759 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
78.7760 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
78.7761 + # as well as any symbol that contains `d'.
78.7762 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
78.7763 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
78.7764 + # platforms (ab)use it in PIC code, but their linkers get confused if
78.7765 + # the symbol is explicitly referenced. Since portable code cannot
78.7766 + # rely on this symbol name, it's probably fine to never include it in
78.7767 + # preloaded symbol tables.
78.7768 + extract_expsyms_cmds=
78.7769 + # Just being paranoid about ensuring that cc_basename is set.
78.7770 + for cc_temp in $compiler""; do
78.7771 + case $cc_temp in
78.7772 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.7773 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.7774 + \-*) ;;
78.7775 + *) break;;
78.7776 + esac
78.7777 +done
78.7778 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.7779 +
78.7780 + case $host_os in
78.7781 + cygwin* | mingw* | pw32*)
78.7782 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
78.7783 + # When not using gcc, we currently assume that we are using
78.7784 + # Microsoft Visual C++.
78.7785 + if test "$GCC" != yes; then
78.7786 + with_gnu_ld=no
78.7787 + fi
78.7788 + ;;
78.7789 + interix*)
78.7790 + # we just hope/assume this is gcc and not c89 (= MSVC++)
78.7791 + with_gnu_ld=yes
78.7792 + ;;
78.7793 + openbsd*)
78.7794 + with_gnu_ld=no
78.7795 + ;;
78.7796 + esac
78.7797 +
78.7798 + ld_shlibs=yes
78.7799 + if test "$with_gnu_ld" = yes; then
78.7800 + # If archive_cmds runs LD, not CC, wlarc should be empty
78.7801 + wlarc='${wl}'
78.7802 +
78.7803 + # Set some defaults for GNU ld with shared library support. These
78.7804 + # are reset later if shared libraries are not supported. Putting them
78.7805 + # here allows them to be overridden if necessary.
78.7806 + runpath_var=LD_RUN_PATH
78.7807 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
78.7808 + export_dynamic_flag_spec='${wl}--export-dynamic'
78.7809 + # ancient GNU ld didn't support --whole-archive et. al.
78.7810 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
78.7811 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
78.7812 + else
78.7813 + whole_archive_flag_spec=
78.7814 + fi
78.7815 + supports_anon_versioning=no
78.7816 + case `$LD -v 2>/dev/null` in
78.7817 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
78.7818 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
78.7819 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
78.7820 + *\ 2.11.*) ;; # other 2.11 versions
78.7821 + *) supports_anon_versioning=yes ;;
78.7822 + esac
78.7823 +
78.7824 + # See if GNU ld supports shared libraries.
78.7825 + case $host_os in
78.7826 + aix3* | aix4* | aix5*)
78.7827 + # On AIX/PPC, the GNU linker is very broken
78.7828 + if test "$host_cpu" != ia64; then
78.7829 + ld_shlibs=no
78.7830 + cat <<EOF 1>&2
78.7831 +
78.7832 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
78.7833 +*** to be unable to reliably create shared libraries on AIX.
78.7834 +*** Therefore, libtool is disabling shared libraries support. If you
78.7835 +*** really care for shared libraries, you may want to modify your PATH
78.7836 +*** so that a non-GNU linker is found, and then restart.
78.7837 +
78.7838 +EOF
78.7839 + fi
78.7840 + ;;
78.7841 +
78.7842 + amigaos*)
78.7843 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.7844 + hardcode_libdir_flag_spec='-L$libdir'
78.7845 + hardcode_minus_L=yes
78.7846 +
78.7847 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
78.7848 + # that the semantics of dynamic libraries on AmigaOS, at least up
78.7849 + # to version 4, is to share data among multiple programs linked
78.7850 + # with the same dynamic library. Since this doesn't match the
78.7851 + # behavior of shared libraries on other platforms, we can't use
78.7852 + # them.
78.7853 + ld_shlibs=no
78.7854 + ;;
78.7855 +
78.7856 + beos*)
78.7857 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.7858 + allow_undefined_flag=unsupported
78.7859 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
78.7860 + # support --undefined. This deserves some investigation. FIXME
78.7861 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.7862 + else
78.7863 + ld_shlibs=no
78.7864 + fi
78.7865 + ;;
78.7866 +
78.7867 + cygwin* | mingw* | pw32*)
78.7868 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
78.7869 + # as there is no search path for DLLs.
78.7870 + hardcode_libdir_flag_spec='-L$libdir'
78.7871 + allow_undefined_flag=unsupported
78.7872 + always_export_symbols=no
78.7873 + enable_shared_with_static_runtimes=yes
78.7874 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
78.7875 +
78.7876 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
78.7877 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.7878 + # If the export-symbols file already is a .def file (1st line
78.7879 + # is EXPORTS), use it as is; otherwise, prepend...
78.7880 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
78.7881 + cp $export_symbols $output_objdir/$soname.def;
78.7882 + else
78.7883 + echo EXPORTS > $output_objdir/$soname.def;
78.7884 + cat $export_symbols >> $output_objdir/$soname.def;
78.7885 + fi~
78.7886 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.7887 + else
78.7888 + ld_shlibs=no
78.7889 + fi
78.7890 + ;;
78.7891 +
78.7892 + interix3*)
78.7893 + hardcode_direct=no
78.7894 + hardcode_shlibpath_var=no
78.7895 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
78.7896 + export_dynamic_flag_spec='${wl}-E'
78.7897 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
78.7898 + # Instead, shared libraries are loaded at an image base (0x10000000 by
78.7899 + # default) and relocated if they conflict, which is a slow very memory
78.7900 + # consuming and fragmenting process. To avoid this, we pick a random,
78.7901 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
78.7902 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
78.7903 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.7904 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.7905 + ;;
78.7906 +
78.7907 + linux*)
78.7908 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.7909 + tmp_addflag=
78.7910 + case $cc_basename,$host_cpu in
78.7911 + pgcc*) # Portland Group C compiler
78.7912 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.7913 + tmp_addflag=' $pic_flag'
78.7914 + ;;
78.7915 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
78.7916 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.7917 + tmp_addflag=' $pic_flag -Mnomain' ;;
78.7918 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
78.7919 + tmp_addflag=' -i_dynamic' ;;
78.7920 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
78.7921 + tmp_addflag=' -i_dynamic -nofor_main' ;;
78.7922 + ifc* | ifort*) # Intel Fortran compiler
78.7923 + tmp_addflag=' -nofor_main' ;;
78.7924 + esac
78.7925 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.7926 +
78.7927 + if test $supports_anon_versioning = yes; then
78.7928 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
78.7929 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
78.7930 + $echo "local: *; };" >> $output_objdir/$libname.ver~
78.7931 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
78.7932 + fi
78.7933 + else
78.7934 + ld_shlibs=no
78.7935 + fi
78.7936 + ;;
78.7937 +
78.7938 + netbsd*)
78.7939 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.7940 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
78.7941 + wlarc=
78.7942 + else
78.7943 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.7944 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.7945 + fi
78.7946 + ;;
78.7947 +
78.7948 + solaris*)
78.7949 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
78.7950 + ld_shlibs=no
78.7951 + cat <<EOF 1>&2
78.7952 +
78.7953 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
78.7954 +*** create shared libraries on Solaris systems. Therefore, libtool
78.7955 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.7956 +*** binutils to release 2.9.1 or newer. Another option is to modify
78.7957 +*** your PATH or compiler configuration so that the native linker is
78.7958 +*** used, and then restart.
78.7959 +
78.7960 +EOF
78.7961 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.7962 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.7963 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.7964 + else
78.7965 + ld_shlibs=no
78.7966 + fi
78.7967 + ;;
78.7968 +
78.7969 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
78.7970 + case `$LD -v 2>&1` in
78.7971 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
78.7972 + ld_shlibs=no
78.7973 + cat <<_LT_EOF 1>&2
78.7974 +
78.7975 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
78.7976 +*** reliably create shared libraries on SCO systems. Therefore, libtool
78.7977 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.7978 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
78.7979 +*** your PATH or compiler configuration so that the native linker is
78.7980 +*** used, and then restart.
78.7981 +
78.7982 +_LT_EOF
78.7983 + ;;
78.7984 + *)
78.7985 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.7986 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
78.7987 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
78.7988 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
78.7989 + else
78.7990 + ld_shlibs=no
78.7991 + fi
78.7992 + ;;
78.7993 + esac
78.7994 + ;;
78.7995 +
78.7996 + sunos4*)
78.7997 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.7998 + wlarc=
78.7999 + hardcode_direct=yes
78.8000 + hardcode_shlibpath_var=no
78.8001 + ;;
78.8002 +
78.8003 + *)
78.8004 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.8005 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.8006 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.8007 + else
78.8008 + ld_shlibs=no
78.8009 + fi
78.8010 + ;;
78.8011 + esac
78.8012 +
78.8013 + if test "$ld_shlibs" = no; then
78.8014 + runpath_var=
78.8015 + hardcode_libdir_flag_spec=
78.8016 + export_dynamic_flag_spec=
78.8017 + whole_archive_flag_spec=
78.8018 + fi
78.8019 + else
78.8020 + # PORTME fill in a description of your system's linker (not GNU ld)
78.8021 + case $host_os in
78.8022 + aix3*)
78.8023 + allow_undefined_flag=unsupported
78.8024 + always_export_symbols=yes
78.8025 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
78.8026 + # Note: this linker hardcodes the directories in LIBPATH if there
78.8027 + # are no directories specified by -L.
78.8028 + hardcode_minus_L=yes
78.8029 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
78.8030 + # Neither direct hardcoding nor static linking is supported with a
78.8031 + # broken collect2.
78.8032 + hardcode_direct=unsupported
78.8033 + fi
78.8034 + ;;
78.8035 +
78.8036 + aix4* | aix5*)
78.8037 + if test "$host_cpu" = ia64; then
78.8038 + # On IA64, the linker does run time linking by default, so we don't
78.8039 + # have to do anything special.
78.8040 + aix_use_runtimelinking=no
78.8041 + exp_sym_flag='-Bexport'
78.8042 + no_entry_flag=""
78.8043 + else
78.8044 + # If we're using GNU nm, then we don't want the "-C" option.
78.8045 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
78.8046 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
78.8047 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.8048 + else
78.8049 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.8050 + fi
78.8051 + aix_use_runtimelinking=no
78.8052 +
78.8053 + # Test if we are trying to use run time linking or normal
78.8054 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
78.8055 + # need to do runtime linking.
78.8056 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
78.8057 + for ld_flag in $LDFLAGS; do
78.8058 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
78.8059 + aix_use_runtimelinking=yes
78.8060 + break
78.8061 + fi
78.8062 + done
78.8063 + ;;
78.8064 + esac
78.8065 +
78.8066 + exp_sym_flag='-bexport'
78.8067 + no_entry_flag='-bnoentry'
78.8068 + fi
78.8069 +
78.8070 + # When large executables or shared objects are built, AIX ld can
78.8071 + # have problems creating the table of contents. If linking a library
78.8072 + # or program results in "error TOC overflow" add -mminimal-toc to
78.8073 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
78.8074 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
78.8075 +
78.8076 + archive_cmds=''
78.8077 + hardcode_direct=yes
78.8078 + hardcode_libdir_separator=':'
78.8079 + link_all_deplibs=yes
78.8080 +
78.8081 + if test "$GCC" = yes; then
78.8082 + case $host_os in aix4.[012]|aix4.[012].*)
78.8083 + # We only want to do this on AIX 4.2 and lower, the check
78.8084 + # below for broken collect2 doesn't work under 4.3+
78.8085 + collect2name=`${CC} -print-prog-name=collect2`
78.8086 + if test -f "$collect2name" && \
78.8087 + strings "$collect2name" | grep resolve_lib_name >/dev/null
78.8088 + then
78.8089 + # We have reworked collect2
78.8090 + hardcode_direct=yes
78.8091 + else
78.8092 + # We have old collect2
78.8093 + hardcode_direct=unsupported
78.8094 + # It fails to find uninstalled libraries when the uninstalled
78.8095 + # path is not listed in the libpath. Setting hardcode_minus_L
78.8096 + # to unsupported forces relinking
78.8097 + hardcode_minus_L=yes
78.8098 + hardcode_libdir_flag_spec='-L$libdir'
78.8099 + hardcode_libdir_separator=
78.8100 + fi
78.8101 + ;;
78.8102 + esac
78.8103 + shared_flag='-shared'
78.8104 + if test "$aix_use_runtimelinking" = yes; then
78.8105 + shared_flag="$shared_flag "'${wl}-G'
78.8106 + fi
78.8107 + else
78.8108 + # not using gcc
78.8109 + if test "$host_cpu" = ia64; then
78.8110 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
78.8111 + # chokes on -Wl,-G. The following line is correct:
78.8112 + shared_flag='-G'
78.8113 + else
78.8114 + if test "$aix_use_runtimelinking" = yes; then
78.8115 + shared_flag='${wl}-G'
78.8116 + else
78.8117 + shared_flag='${wl}-bM:SRE'
78.8118 + fi
78.8119 + fi
78.8120 + fi
78.8121 +
78.8122 + # It seems that -bexpall does not export symbols beginning with
78.8123 + # underscore (_), so it is better to generate a list of symbols to export.
78.8124 + always_export_symbols=yes
78.8125 + if test "$aix_use_runtimelinking" = yes; then
78.8126 + # Warning - without using the other runtime loading flags (-brtl),
78.8127 + # -berok will link without error, but may produce a broken library.
78.8128 + allow_undefined_flag='-berok'
78.8129 + # Determine the default libpath from the value encoded in an empty executable.
78.8130 + cat >conftest.$ac_ext <<_ACEOF
78.8131 +/* confdefs.h. */
78.8132 +_ACEOF
78.8133 +cat confdefs.h >>conftest.$ac_ext
78.8134 +cat >>conftest.$ac_ext <<_ACEOF
78.8135 +/* end confdefs.h. */
78.8136 +
78.8137 +int
78.8138 +main ()
78.8139 +{
78.8140 +
78.8141 + ;
78.8142 + return 0;
78.8143 +}
78.8144 +_ACEOF
78.8145 +rm -f conftest.$ac_objext conftest$ac_exeext
78.8146 +if { (ac_try="$ac_link"
78.8147 +case "(($ac_try" in
78.8148 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8149 + *) ac_try_echo=$ac_try;;
78.8150 +esac
78.8151 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8152 + (eval "$ac_link") 2>conftest.er1
78.8153 + ac_status=$?
78.8154 + grep -v '^ *+' conftest.er1 >conftest.err
78.8155 + rm -f conftest.er1
78.8156 + cat conftest.err >&5
78.8157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8158 + (exit $ac_status); } &&
78.8159 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.8160 + { (case "(($ac_try" in
78.8161 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8162 + *) ac_try_echo=$ac_try;;
78.8163 +esac
78.8164 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8165 + (eval "$ac_try") 2>&5
78.8166 + ac_status=$?
78.8167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8168 + (exit $ac_status); }; } &&
78.8169 + { ac_try='test -s conftest$ac_exeext'
78.8170 + { (case "(($ac_try" in
78.8171 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8172 + *) ac_try_echo=$ac_try;;
78.8173 +esac
78.8174 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8175 + (eval "$ac_try") 2>&5
78.8176 + ac_status=$?
78.8177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8178 + (exit $ac_status); }; }; then
78.8179 +
78.8180 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.8181 +}'`
78.8182 +# Check for a 64-bit object if we didn't find anything.
78.8183 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.8184 +}'`; fi
78.8185 +else
78.8186 + echo "$as_me: failed program was:" >&5
78.8187 +sed 's/^/| /' conftest.$ac_ext >&5
78.8188 +
78.8189 +
78.8190 +fi
78.8191 +
78.8192 +rm -f core conftest.err conftest.$ac_objext \
78.8193 + conftest$ac_exeext conftest.$ac_ext
78.8194 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.8195 +
78.8196 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
78.8197 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
78.8198 + else
78.8199 + if test "$host_cpu" = ia64; then
78.8200 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
78.8201 + allow_undefined_flag="-z nodefs"
78.8202 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
78.8203 + else
78.8204 + # Determine the default libpath from the value encoded in an empty executable.
78.8205 + cat >conftest.$ac_ext <<_ACEOF
78.8206 +/* confdefs.h. */
78.8207 +_ACEOF
78.8208 +cat confdefs.h >>conftest.$ac_ext
78.8209 +cat >>conftest.$ac_ext <<_ACEOF
78.8210 +/* end confdefs.h. */
78.8211 +
78.8212 +int
78.8213 +main ()
78.8214 +{
78.8215 +
78.8216 + ;
78.8217 + return 0;
78.8218 +}
78.8219 +_ACEOF
78.8220 +rm -f conftest.$ac_objext conftest$ac_exeext
78.8221 +if { (ac_try="$ac_link"
78.8222 +case "(($ac_try" in
78.8223 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8224 + *) ac_try_echo=$ac_try;;
78.8225 +esac
78.8226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8227 + (eval "$ac_link") 2>conftest.er1
78.8228 + ac_status=$?
78.8229 + grep -v '^ *+' conftest.er1 >conftest.err
78.8230 + rm -f conftest.er1
78.8231 + cat conftest.err >&5
78.8232 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8233 + (exit $ac_status); } &&
78.8234 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.8235 + { (case "(($ac_try" in
78.8236 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8237 + *) ac_try_echo=$ac_try;;
78.8238 +esac
78.8239 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8240 + (eval "$ac_try") 2>&5
78.8241 + ac_status=$?
78.8242 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8243 + (exit $ac_status); }; } &&
78.8244 + { ac_try='test -s conftest$ac_exeext'
78.8245 + { (case "(($ac_try" in
78.8246 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.8247 + *) ac_try_echo=$ac_try;;
78.8248 +esac
78.8249 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.8250 + (eval "$ac_try") 2>&5
78.8251 + ac_status=$?
78.8252 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8253 + (exit $ac_status); }; }; then
78.8254 +
78.8255 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.8256 +}'`
78.8257 +# Check for a 64-bit object if we didn't find anything.
78.8258 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.8259 +}'`; fi
78.8260 +else
78.8261 + echo "$as_me: failed program was:" >&5
78.8262 +sed 's/^/| /' conftest.$ac_ext >&5
78.8263 +
78.8264 +
78.8265 +fi
78.8266 +
78.8267 +rm -f core conftest.err conftest.$ac_objext \
78.8268 + conftest$ac_exeext conftest.$ac_ext
78.8269 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.8270 +
78.8271 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
78.8272 + # Warning - without using the other run time loading flags,
78.8273 + # -berok will link without error, but may produce a broken library.
78.8274 + no_undefined_flag=' ${wl}-bernotok'
78.8275 + allow_undefined_flag=' ${wl}-berok'
78.8276 + # Exported symbols can be pulled into shared objects from archives
78.8277 + whole_archive_flag_spec='$convenience'
78.8278 + archive_cmds_need_lc=yes
78.8279 + # This is similar to how AIX traditionally builds its shared libraries.
78.8280 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
78.8281 + fi
78.8282 + fi
78.8283 + ;;
78.8284 +
78.8285 + amigaos*)
78.8286 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.8287 + hardcode_libdir_flag_spec='-L$libdir'
78.8288 + hardcode_minus_L=yes
78.8289 + # see comment about different semantics on the GNU ld section
78.8290 + ld_shlibs=no
78.8291 + ;;
78.8292 +
78.8293 + bsdi[45]*)
78.8294 + export_dynamic_flag_spec=-rdynamic
78.8295 + ;;
78.8296 +
78.8297 + cygwin* | mingw* | pw32*)
78.8298 + # When not using gcc, we currently assume that we are using
78.8299 + # Microsoft Visual C++.
78.8300 + # hardcode_libdir_flag_spec is actually meaningless, as there is
78.8301 + # no search path for DLLs.
78.8302 + hardcode_libdir_flag_spec=' '
78.8303 + allow_undefined_flag=unsupported
78.8304 + # Tell ltmain to make .lib files, not .a files.
78.8305 + libext=lib
78.8306 + # Tell ltmain to make .dll files, not .so files.
78.8307 + shrext_cmds=".dll"
78.8308 + # FIXME: Setting linknames here is a bad hack.
78.8309 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
78.8310 + # The linker will automatically build a .lib file if we build a DLL.
78.8311 + old_archive_From_new_cmds='true'
78.8312 + # FIXME: Should let the user specify the lib program.
78.8313 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
78.8314 + fix_srcfile_path='`cygpath -w "$srcfile"`'
78.8315 + enable_shared_with_static_runtimes=yes
78.8316 + ;;
78.8317 +
78.8318 + darwin* | rhapsody*)
78.8319 + case $host_os in
78.8320 + rhapsody* | darwin1.[012])
78.8321 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
78.8322 + ;;
78.8323 + *) # Darwin 1.3 on
78.8324 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
78.8325 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.8326 + else
78.8327 + case ${MACOSX_DEPLOYMENT_TARGET} in
78.8328 + 10.[012])
78.8329 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.8330 + ;;
78.8331 + 10.*)
78.8332 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
78.8333 + ;;
78.8334 + esac
78.8335 + fi
78.8336 + ;;
78.8337 + esac
78.8338 + archive_cmds_need_lc=no
78.8339 + hardcode_direct=no
78.8340 + hardcode_automatic=yes
78.8341 + hardcode_shlibpath_var=unsupported
78.8342 + whole_archive_flag_spec=''
78.8343 + link_all_deplibs=yes
78.8344 + if test "$GCC" = yes ; then
78.8345 + output_verbose_link_cmd='echo'
78.8346 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
78.8347 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.8348 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.8349 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.8350 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.8351 + else
78.8352 + case $cc_basename in
78.8353 + xlc*)
78.8354 + output_verbose_link_cmd='echo'
78.8355 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
78.8356 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.8357 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.8358 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.8359 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.8360 + ;;
78.8361 + *)
78.8362 + ld_shlibs=no
78.8363 + ;;
78.8364 + esac
78.8365 + fi
78.8366 + ;;
78.8367 +
78.8368 + dgux*)
78.8369 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8370 + hardcode_libdir_flag_spec='-L$libdir'
78.8371 + hardcode_shlibpath_var=no
78.8372 + ;;
78.8373 +
78.8374 + freebsd1*)
78.8375 + ld_shlibs=no
78.8376 + ;;
78.8377 +
78.8378 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
78.8379 + # support. Future versions do this automatically, but an explicit c++rt0.o
78.8380 + # does not break anything, and helps significantly (at the cost of a little
78.8381 + # extra space).
78.8382 + freebsd2.2*)
78.8383 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
78.8384 + hardcode_libdir_flag_spec='-R$libdir'
78.8385 + hardcode_direct=yes
78.8386 + hardcode_shlibpath_var=no
78.8387 + ;;
78.8388 +
78.8389 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
78.8390 + freebsd2*)
78.8391 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.8392 + hardcode_direct=yes
78.8393 + hardcode_minus_L=yes
78.8394 + hardcode_shlibpath_var=no
78.8395 + ;;
78.8396 +
78.8397 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
78.8398 + freebsd* | kfreebsd*-gnu | dragonfly*)
78.8399 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
78.8400 + hardcode_libdir_flag_spec='-R$libdir'
78.8401 + hardcode_direct=yes
78.8402 + hardcode_shlibpath_var=no
78.8403 + ;;
78.8404 +
78.8405 + hpux9*)
78.8406 + if test "$GCC" = yes; then
78.8407 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.8408 + else
78.8409 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.8410 + fi
78.8411 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
78.8412 + hardcode_libdir_separator=:
78.8413 + hardcode_direct=yes
78.8414 +
78.8415 + # hardcode_minus_L: Not really in the search PATH,
78.8416 + # but as the default location of the library.
78.8417 + hardcode_minus_L=yes
78.8418 + export_dynamic_flag_spec='${wl}-E'
78.8419 + ;;
78.8420 +
78.8421 + hpux10*)
78.8422 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.8423 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.8424 + else
78.8425 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
78.8426 + fi
78.8427 + if test "$with_gnu_ld" = no; then
78.8428 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
78.8429 + hardcode_libdir_separator=:
78.8430 +
78.8431 + hardcode_direct=yes
78.8432 + export_dynamic_flag_spec='${wl}-E'
78.8433 +
78.8434 + # hardcode_minus_L: Not really in the search PATH,
78.8435 + # but as the default location of the library.
78.8436 + hardcode_minus_L=yes
78.8437 + fi
78.8438 + ;;
78.8439 +
78.8440 + hpux11*)
78.8441 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.8442 + case $host_cpu in
78.8443 + hppa*64*)
78.8444 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8445 + ;;
78.8446 + ia64*)
78.8447 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.8448 + ;;
78.8449 + *)
78.8450 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.8451 + ;;
78.8452 + esac
78.8453 + else
78.8454 + case $host_cpu in
78.8455 + hppa*64*)
78.8456 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8457 + ;;
78.8458 + ia64*)
78.8459 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.8460 + ;;
78.8461 + *)
78.8462 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.8463 + ;;
78.8464 + esac
78.8465 + fi
78.8466 + if test "$with_gnu_ld" = no; then
78.8467 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
78.8468 + hardcode_libdir_separator=:
78.8469 +
78.8470 + case $host_cpu in
78.8471 + hppa*64*|ia64*)
78.8472 + hardcode_libdir_flag_spec_ld='+b $libdir'
78.8473 + hardcode_direct=no
78.8474 + hardcode_shlibpath_var=no
78.8475 + ;;
78.8476 + *)
78.8477 + hardcode_direct=yes
78.8478 + export_dynamic_flag_spec='${wl}-E'
78.8479 +
78.8480 + # hardcode_minus_L: Not really in the search PATH,
78.8481 + # but as the default location of the library.
78.8482 + hardcode_minus_L=yes
78.8483 + ;;
78.8484 + esac
78.8485 + fi
78.8486 + ;;
78.8487 +
78.8488 + irix5* | irix6* | nonstopux*)
78.8489 + if test "$GCC" = yes; then
78.8490 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.8491 + else
78.8492 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.8493 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
78.8494 + fi
78.8495 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
78.8496 + hardcode_libdir_separator=:
78.8497 + link_all_deplibs=yes
78.8498 + ;;
78.8499 +
78.8500 + netbsd*)
78.8501 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.8502 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
78.8503 + else
78.8504 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
78.8505 + fi
78.8506 + hardcode_libdir_flag_spec='-R$libdir'
78.8507 + hardcode_direct=yes
78.8508 + hardcode_shlibpath_var=no
78.8509 + ;;
78.8510 +
78.8511 + newsos6)
78.8512 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8513 + hardcode_direct=yes
78.8514 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
78.8515 + hardcode_libdir_separator=:
78.8516 + hardcode_shlibpath_var=no
78.8517 + ;;
78.8518 +
78.8519 + openbsd*)
78.8520 + hardcode_direct=yes
78.8521 + hardcode_shlibpath_var=no
78.8522 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.8523 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.8524 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
78.8525 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
78.8526 + export_dynamic_flag_spec='${wl}-E'
78.8527 + else
78.8528 + case $host_os in
78.8529 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
78.8530 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.8531 + hardcode_libdir_flag_spec='-R$libdir'
78.8532 + ;;
78.8533 + *)
78.8534 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.8535 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
78.8536 + ;;
78.8537 + esac
78.8538 + fi
78.8539 + ;;
78.8540 +
78.8541 + os2*)
78.8542 + hardcode_libdir_flag_spec='-L$libdir'
78.8543 + hardcode_minus_L=yes
78.8544 + allow_undefined_flag=unsupported
78.8545 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
78.8546 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
78.8547 + ;;
78.8548 +
78.8549 + osf3*)
78.8550 + if test "$GCC" = yes; then
78.8551 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
78.8552 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.8553 + else
78.8554 + allow_undefined_flag=' -expect_unresolved \*'
78.8555 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.8556 + fi
78.8557 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
78.8558 + hardcode_libdir_separator=:
78.8559 + ;;
78.8560 +
78.8561 + osf4* | osf5*) # as osf3* with the addition of -msym flag
78.8562 + if test "$GCC" = yes; then
78.8563 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
78.8564 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.8565 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
78.8566 + else
78.8567 + allow_undefined_flag=' -expect_unresolved \*'
78.8568 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.8569 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
78.8570 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
78.8571 +
78.8572 + # Both c and cxx compiler support -rpath directly
78.8573 + hardcode_libdir_flag_spec='-rpath $libdir'
78.8574 + fi
78.8575 + hardcode_libdir_separator=:
78.8576 + ;;
78.8577 +
78.8578 + solaris*)
78.8579 + no_undefined_flag=' -z text'
78.8580 + if test "$GCC" = yes; then
78.8581 + wlarc='${wl}'
78.8582 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8583 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.8584 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
78.8585 + else
78.8586 + wlarc=''
78.8587 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8588 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.8589 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
78.8590 + fi
78.8591 + hardcode_libdir_flag_spec='-R$libdir'
78.8592 + hardcode_shlibpath_var=no
78.8593 + case $host_os in
78.8594 + solaris2.[0-5] | solaris2.[0-5].*) ;;
78.8595 + *)
78.8596 + # The compiler driver will combine linker options so we
78.8597 + # cannot just pass the convience library names through
78.8598 + # without $wl, iff we do not link with $LD.
78.8599 + # Luckily, gcc supports the same syntax we need for Sun Studio.
78.8600 + # Supported since Solaris 2.6 (maybe 2.5.1?)
78.8601 + case $wlarc in
78.8602 + '')
78.8603 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
78.8604 + *)
78.8605 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
78.8606 + esac ;;
78.8607 + esac
78.8608 + link_all_deplibs=yes
78.8609 + ;;
78.8610 +
78.8611 + sunos4*)
78.8612 + if test "x$host_vendor" = xsequent; then
78.8613 + # Use $CC to link under sequent, because it throws in some extra .o
78.8614 + # files that make .init and .fini sections work.
78.8615 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
78.8616 + else
78.8617 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
78.8618 + fi
78.8619 + hardcode_libdir_flag_spec='-L$libdir'
78.8620 + hardcode_direct=yes
78.8621 + hardcode_minus_L=yes
78.8622 + hardcode_shlibpath_var=no
78.8623 + ;;
78.8624 +
78.8625 + sysv4)
78.8626 + case $host_vendor in
78.8627 + sni)
78.8628 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8629 + hardcode_direct=yes # is this really true???
78.8630 + ;;
78.8631 + siemens)
78.8632 + ## LD is ld it makes a PLAMLIB
78.8633 + ## CC just makes a GrossModule.
78.8634 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
78.8635 + reload_cmds='$CC -r -o $output$reload_objs'
78.8636 + hardcode_direct=no
78.8637 + ;;
78.8638 + motorola)
78.8639 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8640 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
78.8641 + ;;
78.8642 + esac
78.8643 + runpath_var='LD_RUN_PATH'
78.8644 + hardcode_shlibpath_var=no
78.8645 + ;;
78.8646 +
78.8647 + sysv4.3*)
78.8648 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8649 + hardcode_shlibpath_var=no
78.8650 + export_dynamic_flag_spec='-Bexport'
78.8651 + ;;
78.8652 +
78.8653 + sysv4*MP*)
78.8654 + if test -d /usr/nec; then
78.8655 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8656 + hardcode_shlibpath_var=no
78.8657 + runpath_var=LD_RUN_PATH
78.8658 + hardcode_runpath_var=yes
78.8659 + ld_shlibs=yes
78.8660 + fi
78.8661 + ;;
78.8662 +
78.8663 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
78.8664 + no_undefined_flag='${wl}-z,text'
78.8665 + archive_cmds_need_lc=no
78.8666 + hardcode_shlibpath_var=no
78.8667 + runpath_var='LD_RUN_PATH'
78.8668 +
78.8669 + if test "$GCC" = yes; then
78.8670 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8671 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8672 + else
78.8673 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8674 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8675 + fi
78.8676 + ;;
78.8677 +
78.8678 + sysv5* | sco3.2v5* | sco5v6*)
78.8679 + # Note: We can NOT use -z defs as we might desire, because we do not
78.8680 + # link with -lc, and that would cause any symbols used from libc to
78.8681 + # always be unresolved, which means just about no library would
78.8682 + # ever link correctly. If we're not using GNU ld we use -z text
78.8683 + # though, which does catch some bad symbols but isn't as heavy-handed
78.8684 + # as -z defs.
78.8685 + no_undefined_flag='${wl}-z,text'
78.8686 + allow_undefined_flag='${wl}-z,nodefs'
78.8687 + archive_cmds_need_lc=no
78.8688 + hardcode_shlibpath_var=no
78.8689 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
78.8690 + hardcode_libdir_separator=':'
78.8691 + link_all_deplibs=yes
78.8692 + export_dynamic_flag_spec='${wl}-Bexport'
78.8693 + runpath_var='LD_RUN_PATH'
78.8694 +
78.8695 + if test "$GCC" = yes; then
78.8696 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8697 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8698 + else
78.8699 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8700 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.8701 + fi
78.8702 + ;;
78.8703 +
78.8704 + uts4*)
78.8705 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.8706 + hardcode_libdir_flag_spec='-L$libdir'
78.8707 + hardcode_shlibpath_var=no
78.8708 + ;;
78.8709 +
78.8710 + *)
78.8711 + ld_shlibs=no
78.8712 + ;;
78.8713 + esac
78.8714 + fi
78.8715 +
78.8716 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
78.8717 +echo "${ECHO_T}$ld_shlibs" >&6; }
78.8718 +test "$ld_shlibs" = no && can_build_shared=no
78.8719 +
78.8720 +#
78.8721 +# Do we need to explicitly link libc?
78.8722 +#
78.8723 +case "x$archive_cmds_need_lc" in
78.8724 +x|xyes)
78.8725 + # Assume -lc should be added
78.8726 + archive_cmds_need_lc=yes
78.8727 +
78.8728 + if test "$enable_shared" = yes && test "$GCC" = yes; then
78.8729 + case $archive_cmds in
78.8730 + *'~'*)
78.8731 + # FIXME: we may have to deal with multi-command sequences.
78.8732 + ;;
78.8733 + '$CC '*)
78.8734 + # Test whether the compiler implicitly links with -lc since on some
78.8735 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
78.8736 + # to ld, don't add -lc before -lgcc.
78.8737 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
78.8738 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
78.8739 + $rm conftest*
78.8740 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.8741 +
78.8742 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.8743 + (eval $ac_compile) 2>&5
78.8744 + ac_status=$?
78.8745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8746 + (exit $ac_status); } 2>conftest.err; then
78.8747 + soname=conftest
78.8748 + lib=conftest
78.8749 + libobjs=conftest.$ac_objext
78.8750 + deplibs=
78.8751 + wl=$lt_prog_compiler_wl
78.8752 + pic_flag=$lt_prog_compiler_pic
78.8753 + compiler_flags=-v
78.8754 + linker_flags=-v
78.8755 + verstring=
78.8756 + output_objdir=.
78.8757 + libname=conftest
78.8758 + lt_save_allow_undefined_flag=$allow_undefined_flag
78.8759 + allow_undefined_flag=
78.8760 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
78.8761 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
78.8762 + ac_status=$?
78.8763 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.8764 + (exit $ac_status); }
78.8765 + then
78.8766 + archive_cmds_need_lc=no
78.8767 + else
78.8768 + archive_cmds_need_lc=yes
78.8769 + fi
78.8770 + allow_undefined_flag=$lt_save_allow_undefined_flag
78.8771 + else
78.8772 + cat conftest.err 1>&5
78.8773 + fi
78.8774 + $rm conftest*
78.8775 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
78.8776 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
78.8777 + ;;
78.8778 + esac
78.8779 + fi
78.8780 + ;;
78.8781 +esac
78.8782 +
78.8783 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
78.8784 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
78.8785 +library_names_spec=
78.8786 +libname_spec='lib$name'
78.8787 +soname_spec=
78.8788 +shrext_cmds=".so"
78.8789 +postinstall_cmds=
78.8790 +postuninstall_cmds=
78.8791 +finish_cmds=
78.8792 +finish_eval=
78.8793 +shlibpath_var=
78.8794 +shlibpath_overrides_runpath=unknown
78.8795 +version_type=none
78.8796 +dynamic_linker="$host_os ld.so"
78.8797 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
78.8798 +if test "$GCC" = yes; then
78.8799 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.8800 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
78.8801 + # if the path contains ";" then we assume it to be the separator
78.8802 + # otherwise default to the standard path separator (i.e. ":") - it is
78.8803 + # assumed that no part of a normal pathname contains ";" but that should
78.8804 + # okay in the real world where ";" in dirpaths is itself problematic.
78.8805 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.8806 + else
78.8807 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.8808 + fi
78.8809 +else
78.8810 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
78.8811 +fi
78.8812 +need_lib_prefix=unknown
78.8813 +hardcode_into_libs=no
78.8814 +
78.8815 +# when you set need_version to no, make sure it does not cause -set_version
78.8816 +# flags to be left without arguments
78.8817 +need_version=unknown
78.8818 +
78.8819 +case $host_os in
78.8820 +aix3*)
78.8821 + version_type=linux
78.8822 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
78.8823 + shlibpath_var=LIBPATH
78.8824 +
78.8825 + # AIX 3 has no versioning support, so we append a major version to the name.
78.8826 + soname_spec='${libname}${release}${shared_ext}$major'
78.8827 + ;;
78.8828 +
78.8829 +aix4* | aix5*)
78.8830 + version_type=linux
78.8831 + need_lib_prefix=no
78.8832 + need_version=no
78.8833 + hardcode_into_libs=yes
78.8834 + if test "$host_cpu" = ia64; then
78.8835 + # AIX 5 supports IA64
78.8836 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
78.8837 + shlibpath_var=LD_LIBRARY_PATH
78.8838 + else
78.8839 + # With GCC up to 2.95.x, collect2 would create an import file
78.8840 + # for dependence libraries. The import file would start with
78.8841 + # the line `#! .'. This would cause the generated library to
78.8842 + # depend on `.', always an invalid library. This was fixed in
78.8843 + # development snapshots of GCC prior to 3.0.
78.8844 + case $host_os in
78.8845 + aix4 | aix4.[01] | aix4.[01].*)
78.8846 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
78.8847 + echo ' yes '
78.8848 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
78.8849 + :
78.8850 + else
78.8851 + can_build_shared=no
78.8852 + fi
78.8853 + ;;
78.8854 + esac
78.8855 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
78.8856 + # soname into executable. Probably we can add versioning support to
78.8857 + # collect2, so additional links can be useful in future.
78.8858 + if test "$aix_use_runtimelinking" = yes; then
78.8859 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
78.8860 + # instead of lib<name>.a to let people know that these are not
78.8861 + # typical AIX shared libraries.
78.8862 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.8863 + else
78.8864 + # We preserve .a as extension for shared libraries through AIX4.2
78.8865 + # and later when we are not doing run time linking.
78.8866 + library_names_spec='${libname}${release}.a $libname.a'
78.8867 + soname_spec='${libname}${release}${shared_ext}$major'
78.8868 + fi
78.8869 + shlibpath_var=LIBPATH
78.8870 + fi
78.8871 + ;;
78.8872 +
78.8873 +amigaos*)
78.8874 + library_names_spec='$libname.ixlibrary $libname.a'
78.8875 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
78.8876 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
78.8877 + ;;
78.8878 +
78.8879 +beos*)
78.8880 + library_names_spec='${libname}${shared_ext}'
78.8881 + dynamic_linker="$host_os ld.so"
78.8882 + shlibpath_var=LIBRARY_PATH
78.8883 + ;;
78.8884 +
78.8885 +bsdi[45]*)
78.8886 + version_type=linux
78.8887 + need_version=no
78.8888 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.8889 + soname_spec='${libname}${release}${shared_ext}$major'
78.8890 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
78.8891 + shlibpath_var=LD_LIBRARY_PATH
78.8892 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
78.8893 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
78.8894 + # the default ld.so.conf also contains /usr/contrib/lib and
78.8895 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
78.8896 + # libtool to hard-code these into programs
78.8897 + ;;
78.8898 +
78.8899 +cygwin* | mingw* | pw32*)
78.8900 + version_type=windows
78.8901 + shrext_cmds=".dll"
78.8902 + need_version=no
78.8903 + need_lib_prefix=no
78.8904 +
78.8905 + case $GCC,$host_os in
78.8906 + yes,cygwin* | yes,mingw* | yes,pw32*)
78.8907 + library_names_spec='$libname.dll.a'
78.8908 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
78.8909 + postinstall_cmds='base_file=`basename \${file}`~
78.8910 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
78.8911 + dldir=$destdir/`dirname \$dlpath`~
78.8912 + test -d \$dldir || mkdir -p \$dldir~
78.8913 + $install_prog $dir/$dlname \$dldir/$dlname~
78.8914 + chmod a+x \$dldir/$dlname'
78.8915 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
78.8916 + dlpath=$dir/\$dldll~
78.8917 + $rm \$dlpath'
78.8918 + shlibpath_overrides_runpath=yes
78.8919 +
78.8920 + case $host_os in
78.8921 + cygwin*)
78.8922 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
78.8923 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.8924 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
78.8925 + ;;
78.8926 + mingw*)
78.8927 + # MinGW DLLs use traditional 'lib' prefix
78.8928 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.8929 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.8930 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
78.8931 + # It is most probably a Windows format PATH printed by
78.8932 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
78.8933 + # path with ; separators, and with drive letters. We can handle the
78.8934 + # drive letters (cygwin fileutils understands them), so leave them,
78.8935 + # especially as we might pass files found there to a mingw objdump,
78.8936 + # which wouldn't understand a cygwinified path. Ahh.
78.8937 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.8938 + else
78.8939 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.8940 + fi
78.8941 + ;;
78.8942 + pw32*)
78.8943 + # pw32 DLLs use 'pw' prefix rather than 'lib'
78.8944 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.8945 + ;;
78.8946 + esac
78.8947 + ;;
78.8948 +
78.8949 + *)
78.8950 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
78.8951 + ;;
78.8952 + esac
78.8953 + dynamic_linker='Win32 ld.exe'
78.8954 + # FIXME: first we should search . and the directory the executable is in
78.8955 + shlibpath_var=PATH
78.8956 + ;;
78.8957 +
78.8958 +darwin* | rhapsody*)
78.8959 + dynamic_linker="$host_os dyld"
78.8960 + version_type=darwin
78.8961 + need_lib_prefix=no
78.8962 + need_version=no
78.8963 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
78.8964 + soname_spec='${libname}${release}${major}$shared_ext'
78.8965 + shlibpath_overrides_runpath=yes
78.8966 + shlibpath_var=DYLD_LIBRARY_PATH
78.8967 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
78.8968 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
78.8969 + if test "$GCC" = yes; then
78.8970 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
78.8971 + else
78.8972 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
78.8973 + fi
78.8974 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
78.8975 + ;;
78.8976 +
78.8977 +dgux*)
78.8978 + version_type=linux
78.8979 + need_lib_prefix=no
78.8980 + need_version=no
78.8981 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
78.8982 + soname_spec='${libname}${release}${shared_ext}$major'
78.8983 + shlibpath_var=LD_LIBRARY_PATH
78.8984 + ;;
78.8985 +
78.8986 +freebsd1*)
78.8987 + dynamic_linker=no
78.8988 + ;;
78.8989 +
78.8990 +kfreebsd*-gnu)
78.8991 + version_type=linux
78.8992 + need_lib_prefix=no
78.8993 + need_version=no
78.8994 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.8995 + soname_spec='${libname}${release}${shared_ext}$major'
78.8996 + shlibpath_var=LD_LIBRARY_PATH
78.8997 + shlibpath_overrides_runpath=no
78.8998 + hardcode_into_libs=yes
78.8999 + dynamic_linker='GNU ld.so'
78.9000 + ;;
78.9001 +
78.9002 +freebsd* | dragonfly*)
78.9003 + # DragonFly does not have aout. When/if they implement a new
78.9004 + # versioning mechanism, adjust this.
78.9005 + if test -x /usr/bin/objformat; then
78.9006 + objformat=`/usr/bin/objformat`
78.9007 + else
78.9008 + case $host_os in
78.9009 + freebsd[123]*) objformat=aout ;;
78.9010 + *) objformat=elf ;;
78.9011 + esac
78.9012 + fi
78.9013 + version_type=freebsd-$objformat
78.9014 + case $version_type in
78.9015 + freebsd-elf*)
78.9016 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.9017 + need_version=no
78.9018 + need_lib_prefix=no
78.9019 + ;;
78.9020 + freebsd-*)
78.9021 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
78.9022 + need_version=yes
78.9023 + ;;
78.9024 + esac
78.9025 + shlibpath_var=LD_LIBRARY_PATH
78.9026 + case $host_os in
78.9027 + freebsd2*)
78.9028 + shlibpath_overrides_runpath=yes
78.9029 + ;;
78.9030 + freebsd3.[01]* | freebsdelf3.[01]*)
78.9031 + shlibpath_overrides_runpath=yes
78.9032 + hardcode_into_libs=yes
78.9033 + ;;
78.9034 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
78.9035 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
78.9036 + shlibpath_overrides_runpath=no
78.9037 + hardcode_into_libs=yes
78.9038 + ;;
78.9039 + freebsd*) # from 4.6 on
78.9040 + shlibpath_overrides_runpath=yes
78.9041 + hardcode_into_libs=yes
78.9042 + ;;
78.9043 + esac
78.9044 + ;;
78.9045 +
78.9046 +gnu*)
78.9047 + version_type=linux
78.9048 + need_lib_prefix=no
78.9049 + need_version=no
78.9050 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
78.9051 + soname_spec='${libname}${release}${shared_ext}$major'
78.9052 + shlibpath_var=LD_LIBRARY_PATH
78.9053 + hardcode_into_libs=yes
78.9054 + ;;
78.9055 +
78.9056 +hpux9* | hpux10* | hpux11*)
78.9057 + # Give a soname corresponding to the major version so that dld.sl refuses to
78.9058 + # link against other versions.
78.9059 + version_type=sunos
78.9060 + need_lib_prefix=no
78.9061 + need_version=no
78.9062 + case $host_cpu in
78.9063 + ia64*)
78.9064 + shrext_cmds='.so'
78.9065 + hardcode_into_libs=yes
78.9066 + dynamic_linker="$host_os dld.so"
78.9067 + shlibpath_var=LD_LIBRARY_PATH
78.9068 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.9069 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9070 + soname_spec='${libname}${release}${shared_ext}$major'
78.9071 + if test "X$HPUX_IA64_MODE" = X32; then
78.9072 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
78.9073 + else
78.9074 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
78.9075 + fi
78.9076 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.9077 + ;;
78.9078 + hppa*64*)
78.9079 + shrext_cmds='.sl'
78.9080 + hardcode_into_libs=yes
78.9081 + dynamic_linker="$host_os dld.sl"
78.9082 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
78.9083 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.9084 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9085 + soname_spec='${libname}${release}${shared_ext}$major'
78.9086 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
78.9087 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.9088 + ;;
78.9089 + *)
78.9090 + shrext_cmds='.sl'
78.9091 + dynamic_linker="$host_os dld.sl"
78.9092 + shlibpath_var=SHLIB_PATH
78.9093 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
78.9094 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9095 + soname_spec='${libname}${release}${shared_ext}$major'
78.9096 + ;;
78.9097 + esac
78.9098 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
78.9099 + postinstall_cmds='chmod 555 $lib'
78.9100 + ;;
78.9101 +
78.9102 +interix3*)
78.9103 + version_type=linux
78.9104 + need_lib_prefix=no
78.9105 + need_version=no
78.9106 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.9107 + soname_spec='${libname}${release}${shared_ext}$major'
78.9108 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
78.9109 + shlibpath_var=LD_LIBRARY_PATH
78.9110 + shlibpath_overrides_runpath=no
78.9111 + hardcode_into_libs=yes
78.9112 + ;;
78.9113 +
78.9114 +irix5* | irix6* | nonstopux*)
78.9115 + case $host_os in
78.9116 + nonstopux*) version_type=nonstopux ;;
78.9117 + *)
78.9118 + if test "$lt_cv_prog_gnu_ld" = yes; then
78.9119 + version_type=linux
78.9120 + else
78.9121 + version_type=irix
78.9122 + fi ;;
78.9123 + esac
78.9124 + need_lib_prefix=no
78.9125 + need_version=no
78.9126 + soname_spec='${libname}${release}${shared_ext}$major'
78.9127 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
78.9128 + case $host_os in
78.9129 + irix5* | nonstopux*)
78.9130 + libsuff= shlibsuff=
78.9131 + ;;
78.9132 + *)
78.9133 + case $LD in # libtool.m4 will add one of these switches to LD
78.9134 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
78.9135 + libsuff= shlibsuff= libmagic=32-bit;;
78.9136 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
78.9137 + libsuff=32 shlibsuff=N32 libmagic=N32;;
78.9138 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
78.9139 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
78.9140 + *) libsuff= shlibsuff= libmagic=never-match;;
78.9141 + esac
78.9142 + ;;
78.9143 + esac
78.9144 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
78.9145 + shlibpath_overrides_runpath=no
78.9146 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
78.9147 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
78.9148 + hardcode_into_libs=yes
78.9149 + ;;
78.9150 +
78.9151 +# No shared lib support for Linux oldld, aout, or coff.
78.9152 +linux*oldld* | linux*aout* | linux*coff*)
78.9153 + dynamic_linker=no
78.9154 + ;;
78.9155 +
78.9156 +# This must be Linux ELF.
78.9157 +linux*)
78.9158 + version_type=linux
78.9159 + need_lib_prefix=no
78.9160 + need_version=no
78.9161 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9162 + soname_spec='${libname}${release}${shared_ext}$major'
78.9163 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
78.9164 + shlibpath_var=LD_LIBRARY_PATH
78.9165 + shlibpath_overrides_runpath=no
78.9166 + # This implies no fast_install, which is unacceptable.
78.9167 + # Some rework will be needed to allow for fast_install
78.9168 + # before this can be enabled.
78.9169 + hardcode_into_libs=yes
78.9170 +
78.9171 + # Append ld.so.conf contents to the search path
78.9172 + if test -f /etc/ld.so.conf; then
78.9173 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
78.9174 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
78.9175 + fi
78.9176 +
78.9177 + # We used to test for /lib/ld.so.1 and disable shared libraries on
78.9178 + # powerpc, because MkLinux only supported shared libraries with the
78.9179 + # GNU dynamic linker. Since this was broken with cross compilers,
78.9180 + # most powerpc-linux boxes support dynamic linking these days and
78.9181 + # people can always --disable-shared, the test was removed, and we
78.9182 + # assume the GNU/Linux dynamic linker is in use.
78.9183 + dynamic_linker='GNU/Linux ld.so'
78.9184 + ;;
78.9185 +
78.9186 +knetbsd*-gnu)
78.9187 + version_type=linux
78.9188 + need_lib_prefix=no
78.9189 + need_version=no
78.9190 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.9191 + soname_spec='${libname}${release}${shared_ext}$major'
78.9192 + shlibpath_var=LD_LIBRARY_PATH
78.9193 + shlibpath_overrides_runpath=no
78.9194 + hardcode_into_libs=yes
78.9195 + dynamic_linker='GNU ld.so'
78.9196 + ;;
78.9197 +
78.9198 +netbsd*)
78.9199 + version_type=sunos
78.9200 + need_lib_prefix=no
78.9201 + need_version=no
78.9202 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.9203 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.9204 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.9205 + dynamic_linker='NetBSD (a.out) ld.so'
78.9206 + else
78.9207 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.9208 + soname_spec='${libname}${release}${shared_ext}$major'
78.9209 + dynamic_linker='NetBSD ld.elf_so'
78.9210 + fi
78.9211 + shlibpath_var=LD_LIBRARY_PATH
78.9212 + shlibpath_overrides_runpath=yes
78.9213 + hardcode_into_libs=yes
78.9214 + ;;
78.9215 +
78.9216 +newsos6)
78.9217 + version_type=linux
78.9218 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9219 + shlibpath_var=LD_LIBRARY_PATH
78.9220 + shlibpath_overrides_runpath=yes
78.9221 + ;;
78.9222 +
78.9223 +nto-qnx*)
78.9224 + version_type=linux
78.9225 + need_lib_prefix=no
78.9226 + need_version=no
78.9227 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9228 + soname_spec='${libname}${release}${shared_ext}$major'
78.9229 + shlibpath_var=LD_LIBRARY_PATH
78.9230 + shlibpath_overrides_runpath=yes
78.9231 + ;;
78.9232 +
78.9233 +openbsd*)
78.9234 + version_type=sunos
78.9235 + sys_lib_dlsearch_path_spec="/usr/lib"
78.9236 + need_lib_prefix=no
78.9237 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
78.9238 + case $host_os in
78.9239 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
78.9240 + *) need_version=no ;;
78.9241 + esac
78.9242 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.9243 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.9244 + shlibpath_var=LD_LIBRARY_PATH
78.9245 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.9246 + case $host_os in
78.9247 + openbsd2.[89] | openbsd2.[89].*)
78.9248 + shlibpath_overrides_runpath=no
78.9249 + ;;
78.9250 + *)
78.9251 + shlibpath_overrides_runpath=yes
78.9252 + ;;
78.9253 + esac
78.9254 + else
78.9255 + shlibpath_overrides_runpath=yes
78.9256 + fi
78.9257 + ;;
78.9258 +
78.9259 +os2*)
78.9260 + libname_spec='$name'
78.9261 + shrext_cmds=".dll"
78.9262 + need_lib_prefix=no
78.9263 + library_names_spec='$libname${shared_ext} $libname.a'
78.9264 + dynamic_linker='OS/2 ld.exe'
78.9265 + shlibpath_var=LIBPATH
78.9266 + ;;
78.9267 +
78.9268 +osf3* | osf4* | osf5*)
78.9269 + version_type=osf
78.9270 + need_lib_prefix=no
78.9271 + need_version=no
78.9272 + soname_spec='${libname}${release}${shared_ext}$major'
78.9273 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9274 + shlibpath_var=LD_LIBRARY_PATH
78.9275 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
78.9276 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
78.9277 + ;;
78.9278 +
78.9279 +solaris*)
78.9280 + version_type=linux
78.9281 + need_lib_prefix=no
78.9282 + need_version=no
78.9283 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9284 + soname_spec='${libname}${release}${shared_ext}$major'
78.9285 + shlibpath_var=LD_LIBRARY_PATH
78.9286 + shlibpath_overrides_runpath=yes
78.9287 + hardcode_into_libs=yes
78.9288 + # ldd complains unless libraries are executable
78.9289 + postinstall_cmds='chmod +x $lib'
78.9290 + ;;
78.9291 +
78.9292 +sunos4*)
78.9293 + version_type=sunos
78.9294 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.9295 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
78.9296 + shlibpath_var=LD_LIBRARY_PATH
78.9297 + shlibpath_overrides_runpath=yes
78.9298 + if test "$with_gnu_ld" = yes; then
78.9299 + need_lib_prefix=no
78.9300 + fi
78.9301 + need_version=yes
78.9302 + ;;
78.9303 +
78.9304 +sysv4 | sysv4.3*)
78.9305 + version_type=linux
78.9306 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9307 + soname_spec='${libname}${release}${shared_ext}$major'
78.9308 + shlibpath_var=LD_LIBRARY_PATH
78.9309 + case $host_vendor in
78.9310 + sni)
78.9311 + shlibpath_overrides_runpath=no
78.9312 + need_lib_prefix=no
78.9313 + export_dynamic_flag_spec='${wl}-Blargedynsym'
78.9314 + runpath_var=LD_RUN_PATH
78.9315 + ;;
78.9316 + siemens)
78.9317 + need_lib_prefix=no
78.9318 + ;;
78.9319 + motorola)
78.9320 + need_lib_prefix=no
78.9321 + need_version=no
78.9322 + shlibpath_overrides_runpath=no
78.9323 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
78.9324 + ;;
78.9325 + esac
78.9326 + ;;
78.9327 +
78.9328 +sysv4*MP*)
78.9329 + if test -d /usr/nec ;then
78.9330 + version_type=linux
78.9331 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
78.9332 + soname_spec='$libname${shared_ext}.$major'
78.9333 + shlibpath_var=LD_LIBRARY_PATH
78.9334 + fi
78.9335 + ;;
78.9336 +
78.9337 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
78.9338 + version_type=freebsd-elf
78.9339 + need_lib_prefix=no
78.9340 + need_version=no
78.9341 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.9342 + soname_spec='${libname}${release}${shared_ext}$major'
78.9343 + shlibpath_var=LD_LIBRARY_PATH
78.9344 + hardcode_into_libs=yes
78.9345 + if test "$with_gnu_ld" = yes; then
78.9346 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
78.9347 + shlibpath_overrides_runpath=no
78.9348 + else
78.9349 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
78.9350 + shlibpath_overrides_runpath=yes
78.9351 + case $host_os in
78.9352 + sco3.2v5*)
78.9353 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
78.9354 + ;;
78.9355 + esac
78.9356 + fi
78.9357 + sys_lib_dlsearch_path_spec='/usr/lib'
78.9358 + ;;
78.9359 +
78.9360 +uts4*)
78.9361 + version_type=linux
78.9362 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.9363 + soname_spec='${libname}${release}${shared_ext}$major'
78.9364 + shlibpath_var=LD_LIBRARY_PATH
78.9365 + ;;
78.9366 +
78.9367 +*)
78.9368 + dynamic_linker=no
78.9369 + ;;
78.9370 +esac
78.9371 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
78.9372 +echo "${ECHO_T}$dynamic_linker" >&6; }
78.9373 +test "$dynamic_linker" = no && can_build_shared=no
78.9374 +
78.9375 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
78.9376 +if test "$GCC" = yes; then
78.9377 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
78.9378 +fi
78.9379 +
78.9380 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
78.9381 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
78.9382 +hardcode_action=
78.9383 +if test -n "$hardcode_libdir_flag_spec" || \
78.9384 + test -n "$runpath_var" || \
78.9385 + test "X$hardcode_automatic" = "Xyes" ; then
78.9386 +
78.9387 + # We can hardcode non-existant directories.
78.9388 + if test "$hardcode_direct" != no &&
78.9389 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
78.9390 + # have to relink, otherwise we might link with an installed library
78.9391 + # when we should be linking with a yet-to-be-installed one
78.9392 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
78.9393 + test "$hardcode_minus_L" != no; then
78.9394 + # Linking always hardcodes the temporary library directory.
78.9395 + hardcode_action=relink
78.9396 + else
78.9397 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
78.9398 + hardcode_action=immediate
78.9399 + fi
78.9400 +else
78.9401 + # We cannot hardcode anything, or else we can only hardcode existing
78.9402 + # directories.
78.9403 + hardcode_action=unsupported
78.9404 +fi
78.9405 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
78.9406 +echo "${ECHO_T}$hardcode_action" >&6; }
78.9407 +
78.9408 +if test "$hardcode_action" = relink; then
78.9409 + # Fast installation is not supported
78.9410 + enable_fast_install=no
78.9411 +elif test "$shlibpath_overrides_runpath" = yes ||
78.9412 + test "$enable_shared" = no; then
78.9413 + # Fast installation is not necessary
78.9414 + enable_fast_install=needless
78.9415 +fi
78.9416 +
78.9417 +striplib=
78.9418 +old_striplib=
78.9419 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
78.9420 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
78.9421 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
78.9422 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
78.9423 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
78.9424 + { echo "$as_me:$LINENO: result: yes" >&5
78.9425 +echo "${ECHO_T}yes" >&6; }
78.9426 +else
78.9427 +# FIXME - insert some real tests, host_os isn't really good enough
78.9428 + case $host_os in
78.9429 + darwin*)
78.9430 + if test -n "$STRIP" ; then
78.9431 + striplib="$STRIP -x"
78.9432 + { echo "$as_me:$LINENO: result: yes" >&5
78.9433 +echo "${ECHO_T}yes" >&6; }
78.9434 + else
78.9435 + { echo "$as_me:$LINENO: result: no" >&5
78.9436 +echo "${ECHO_T}no" >&6; }
78.9437 +fi
78.9438 + ;;
78.9439 + *)
78.9440 + { echo "$as_me:$LINENO: result: no" >&5
78.9441 +echo "${ECHO_T}no" >&6; }
78.9442 + ;;
78.9443 + esac
78.9444 +fi
78.9445 +
78.9446 +if test "x$enable_dlopen" != xyes; then
78.9447 + enable_dlopen=unknown
78.9448 + enable_dlopen_self=unknown
78.9449 + enable_dlopen_self_static=unknown
78.9450 +else
78.9451 + lt_cv_dlopen=no
78.9452 + lt_cv_dlopen_libs=
78.9453 +
78.9454 + case $host_os in
78.9455 + beos*)
78.9456 + lt_cv_dlopen="load_add_on"
78.9457 + lt_cv_dlopen_libs=
78.9458 + lt_cv_dlopen_self=yes
78.9459 + ;;
78.9460 +
78.9461 + mingw* | pw32*)
78.9462 + lt_cv_dlopen="LoadLibrary"
78.9463 + lt_cv_dlopen_libs=
78.9464 + ;;
78.9465 +
78.9466 + cygwin*)
78.9467 + lt_cv_dlopen="dlopen"
78.9468 + lt_cv_dlopen_libs=
78.9469 + ;;
78.9470 +
78.9471 + darwin*)
78.9472 + # if libdl is installed we need to link against it
78.9473 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
78.9474 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
78.9475 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
78.9476 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9477 +else
78.9478 + ac_check_lib_save_LIBS=$LIBS
78.9479 +LIBS="-ldl $LIBS"
78.9480 +cat >conftest.$ac_ext <<_ACEOF
78.9481 +/* confdefs.h. */
78.9482 +_ACEOF
78.9483 +cat confdefs.h >>conftest.$ac_ext
78.9484 +cat >>conftest.$ac_ext <<_ACEOF
78.9485 +/* end confdefs.h. */
78.9486 +
78.9487 +/* Override any GCC internal prototype to avoid an error.
78.9488 + Use char because int might match the return type of a GCC
78.9489 + builtin and then its argument prototype would still apply. */
78.9490 +#ifdef __cplusplus
78.9491 +extern "C"
78.9492 +#endif
78.9493 +char dlopen ();
78.9494 +int
78.9495 +main ()
78.9496 +{
78.9497 +return dlopen ();
78.9498 + ;
78.9499 + return 0;
78.9500 +}
78.9501 +_ACEOF
78.9502 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9503 +if { (ac_try="$ac_link"
78.9504 +case "(($ac_try" in
78.9505 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9506 + *) ac_try_echo=$ac_try;;
78.9507 +esac
78.9508 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9509 + (eval "$ac_link") 2>conftest.er1
78.9510 + ac_status=$?
78.9511 + grep -v '^ *+' conftest.er1 >conftest.err
78.9512 + rm -f conftest.er1
78.9513 + cat conftest.err >&5
78.9514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9515 + (exit $ac_status); } &&
78.9516 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9517 + { (case "(($ac_try" in
78.9518 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9519 + *) ac_try_echo=$ac_try;;
78.9520 +esac
78.9521 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9522 + (eval "$ac_try") 2>&5
78.9523 + ac_status=$?
78.9524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9525 + (exit $ac_status); }; } &&
78.9526 + { ac_try='test -s conftest$ac_exeext'
78.9527 + { (case "(($ac_try" in
78.9528 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9529 + *) ac_try_echo=$ac_try;;
78.9530 +esac
78.9531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9532 + (eval "$ac_try") 2>&5
78.9533 + ac_status=$?
78.9534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9535 + (exit $ac_status); }; }; then
78.9536 + ac_cv_lib_dl_dlopen=yes
78.9537 +else
78.9538 + echo "$as_me: failed program was:" >&5
78.9539 +sed 's/^/| /' conftest.$ac_ext >&5
78.9540 +
78.9541 + ac_cv_lib_dl_dlopen=no
78.9542 +fi
78.9543 +
78.9544 +rm -f core conftest.err conftest.$ac_objext \
78.9545 + conftest$ac_exeext conftest.$ac_ext
78.9546 +LIBS=$ac_check_lib_save_LIBS
78.9547 +fi
78.9548 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
78.9549 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
78.9550 +if test $ac_cv_lib_dl_dlopen = yes; then
78.9551 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
78.9552 +else
78.9553 +
78.9554 + lt_cv_dlopen="dyld"
78.9555 + lt_cv_dlopen_libs=
78.9556 + lt_cv_dlopen_self=yes
78.9557 +
78.9558 +fi
78.9559 +
78.9560 + ;;
78.9561 +
78.9562 + *)
78.9563 + { echo "$as_me:$LINENO: checking for shl_load" >&5
78.9564 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
78.9565 +if test "${ac_cv_func_shl_load+set}" = set; then
78.9566 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9567 +else
78.9568 + cat >conftest.$ac_ext <<_ACEOF
78.9569 +/* confdefs.h. */
78.9570 +_ACEOF
78.9571 +cat confdefs.h >>conftest.$ac_ext
78.9572 +cat >>conftest.$ac_ext <<_ACEOF
78.9573 +/* end confdefs.h. */
78.9574 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
78.9575 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
78.9576 +#define shl_load innocuous_shl_load
78.9577 +
78.9578 +/* System header to define __stub macros and hopefully few prototypes,
78.9579 + which can conflict with char shl_load (); below.
78.9580 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.9581 + <limits.h> exists even on freestanding compilers. */
78.9582 +
78.9583 +#ifdef __STDC__
78.9584 +# include <limits.h>
78.9585 +#else
78.9586 +# include <assert.h>
78.9587 +#endif
78.9588 +
78.9589 +#undef shl_load
78.9590 +
78.9591 +/* Override any GCC internal prototype to avoid an error.
78.9592 + Use char because int might match the return type of a GCC
78.9593 + builtin and then its argument prototype would still apply. */
78.9594 +#ifdef __cplusplus
78.9595 +extern "C"
78.9596 +#endif
78.9597 +char shl_load ();
78.9598 +/* The GNU C library defines this for functions which it implements
78.9599 + to always fail with ENOSYS. Some functions are actually named
78.9600 + something starting with __ and the normal name is an alias. */
78.9601 +#if defined __stub_shl_load || defined __stub___shl_load
78.9602 +choke me
78.9603 +#endif
78.9604 +
78.9605 +int
78.9606 +main ()
78.9607 +{
78.9608 +return shl_load ();
78.9609 + ;
78.9610 + return 0;
78.9611 +}
78.9612 +_ACEOF
78.9613 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9614 +if { (ac_try="$ac_link"
78.9615 +case "(($ac_try" in
78.9616 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9617 + *) ac_try_echo=$ac_try;;
78.9618 +esac
78.9619 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9620 + (eval "$ac_link") 2>conftest.er1
78.9621 + ac_status=$?
78.9622 + grep -v '^ *+' conftest.er1 >conftest.err
78.9623 + rm -f conftest.er1
78.9624 + cat conftest.err >&5
78.9625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9626 + (exit $ac_status); } &&
78.9627 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9628 + { (case "(($ac_try" in
78.9629 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9630 + *) ac_try_echo=$ac_try;;
78.9631 +esac
78.9632 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9633 + (eval "$ac_try") 2>&5
78.9634 + ac_status=$?
78.9635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9636 + (exit $ac_status); }; } &&
78.9637 + { ac_try='test -s conftest$ac_exeext'
78.9638 + { (case "(($ac_try" in
78.9639 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9640 + *) ac_try_echo=$ac_try;;
78.9641 +esac
78.9642 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9643 + (eval "$ac_try") 2>&5
78.9644 + ac_status=$?
78.9645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9646 + (exit $ac_status); }; }; then
78.9647 + ac_cv_func_shl_load=yes
78.9648 +else
78.9649 + echo "$as_me: failed program was:" >&5
78.9650 +sed 's/^/| /' conftest.$ac_ext >&5
78.9651 +
78.9652 + ac_cv_func_shl_load=no
78.9653 +fi
78.9654 +
78.9655 +rm -f core conftest.err conftest.$ac_objext \
78.9656 + conftest$ac_exeext conftest.$ac_ext
78.9657 +fi
78.9658 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
78.9659 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
78.9660 +if test $ac_cv_func_shl_load = yes; then
78.9661 + lt_cv_dlopen="shl_load"
78.9662 +else
78.9663 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
78.9664 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
78.9665 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
78.9666 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9667 +else
78.9668 + ac_check_lib_save_LIBS=$LIBS
78.9669 +LIBS="-ldld $LIBS"
78.9670 +cat >conftest.$ac_ext <<_ACEOF
78.9671 +/* confdefs.h. */
78.9672 +_ACEOF
78.9673 +cat confdefs.h >>conftest.$ac_ext
78.9674 +cat >>conftest.$ac_ext <<_ACEOF
78.9675 +/* end confdefs.h. */
78.9676 +
78.9677 +/* Override any GCC internal prototype to avoid an error.
78.9678 + Use char because int might match the return type of a GCC
78.9679 + builtin and then its argument prototype would still apply. */
78.9680 +#ifdef __cplusplus
78.9681 +extern "C"
78.9682 +#endif
78.9683 +char shl_load ();
78.9684 +int
78.9685 +main ()
78.9686 +{
78.9687 +return shl_load ();
78.9688 + ;
78.9689 + return 0;
78.9690 +}
78.9691 +_ACEOF
78.9692 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9693 +if { (ac_try="$ac_link"
78.9694 +case "(($ac_try" in
78.9695 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9696 + *) ac_try_echo=$ac_try;;
78.9697 +esac
78.9698 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9699 + (eval "$ac_link") 2>conftest.er1
78.9700 + ac_status=$?
78.9701 + grep -v '^ *+' conftest.er1 >conftest.err
78.9702 + rm -f conftest.er1
78.9703 + cat conftest.err >&5
78.9704 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9705 + (exit $ac_status); } &&
78.9706 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9707 + { (case "(($ac_try" in
78.9708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9709 + *) ac_try_echo=$ac_try;;
78.9710 +esac
78.9711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9712 + (eval "$ac_try") 2>&5
78.9713 + ac_status=$?
78.9714 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9715 + (exit $ac_status); }; } &&
78.9716 + { ac_try='test -s conftest$ac_exeext'
78.9717 + { (case "(($ac_try" in
78.9718 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9719 + *) ac_try_echo=$ac_try;;
78.9720 +esac
78.9721 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9722 + (eval "$ac_try") 2>&5
78.9723 + ac_status=$?
78.9724 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9725 + (exit $ac_status); }; }; then
78.9726 + ac_cv_lib_dld_shl_load=yes
78.9727 +else
78.9728 + echo "$as_me: failed program was:" >&5
78.9729 +sed 's/^/| /' conftest.$ac_ext >&5
78.9730 +
78.9731 + ac_cv_lib_dld_shl_load=no
78.9732 +fi
78.9733 +
78.9734 +rm -f core conftest.err conftest.$ac_objext \
78.9735 + conftest$ac_exeext conftest.$ac_ext
78.9736 +LIBS=$ac_check_lib_save_LIBS
78.9737 +fi
78.9738 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
78.9739 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
78.9740 +if test $ac_cv_lib_dld_shl_load = yes; then
78.9741 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
78.9742 +else
78.9743 + { echo "$as_me:$LINENO: checking for dlopen" >&5
78.9744 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
78.9745 +if test "${ac_cv_func_dlopen+set}" = set; then
78.9746 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9747 +else
78.9748 + cat >conftest.$ac_ext <<_ACEOF
78.9749 +/* confdefs.h. */
78.9750 +_ACEOF
78.9751 +cat confdefs.h >>conftest.$ac_ext
78.9752 +cat >>conftest.$ac_ext <<_ACEOF
78.9753 +/* end confdefs.h. */
78.9754 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
78.9755 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
78.9756 +#define dlopen innocuous_dlopen
78.9757 +
78.9758 +/* System header to define __stub macros and hopefully few prototypes,
78.9759 + which can conflict with char dlopen (); below.
78.9760 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78.9761 + <limits.h> exists even on freestanding compilers. */
78.9762 +
78.9763 +#ifdef __STDC__
78.9764 +# include <limits.h>
78.9765 +#else
78.9766 +# include <assert.h>
78.9767 +#endif
78.9768 +
78.9769 +#undef dlopen
78.9770 +
78.9771 +/* Override any GCC internal prototype to avoid an error.
78.9772 + Use char because int might match the return type of a GCC
78.9773 + builtin and then its argument prototype would still apply. */
78.9774 +#ifdef __cplusplus
78.9775 +extern "C"
78.9776 +#endif
78.9777 +char dlopen ();
78.9778 +/* The GNU C library defines this for functions which it implements
78.9779 + to always fail with ENOSYS. Some functions are actually named
78.9780 + something starting with __ and the normal name is an alias. */
78.9781 +#if defined __stub_dlopen || defined __stub___dlopen
78.9782 +choke me
78.9783 +#endif
78.9784 +
78.9785 +int
78.9786 +main ()
78.9787 +{
78.9788 +return dlopen ();
78.9789 + ;
78.9790 + return 0;
78.9791 +}
78.9792 +_ACEOF
78.9793 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9794 +if { (ac_try="$ac_link"
78.9795 +case "(($ac_try" in
78.9796 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9797 + *) ac_try_echo=$ac_try;;
78.9798 +esac
78.9799 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9800 + (eval "$ac_link") 2>conftest.er1
78.9801 + ac_status=$?
78.9802 + grep -v '^ *+' conftest.er1 >conftest.err
78.9803 + rm -f conftest.er1
78.9804 + cat conftest.err >&5
78.9805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9806 + (exit $ac_status); } &&
78.9807 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9808 + { (case "(($ac_try" in
78.9809 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9810 + *) ac_try_echo=$ac_try;;
78.9811 +esac
78.9812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9813 + (eval "$ac_try") 2>&5
78.9814 + ac_status=$?
78.9815 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9816 + (exit $ac_status); }; } &&
78.9817 + { ac_try='test -s conftest$ac_exeext'
78.9818 + { (case "(($ac_try" in
78.9819 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9820 + *) ac_try_echo=$ac_try;;
78.9821 +esac
78.9822 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9823 + (eval "$ac_try") 2>&5
78.9824 + ac_status=$?
78.9825 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9826 + (exit $ac_status); }; }; then
78.9827 + ac_cv_func_dlopen=yes
78.9828 +else
78.9829 + echo "$as_me: failed program was:" >&5
78.9830 +sed 's/^/| /' conftest.$ac_ext >&5
78.9831 +
78.9832 + ac_cv_func_dlopen=no
78.9833 +fi
78.9834 +
78.9835 +rm -f core conftest.err conftest.$ac_objext \
78.9836 + conftest$ac_exeext conftest.$ac_ext
78.9837 +fi
78.9838 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
78.9839 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
78.9840 +if test $ac_cv_func_dlopen = yes; then
78.9841 + lt_cv_dlopen="dlopen"
78.9842 +else
78.9843 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
78.9844 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
78.9845 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
78.9846 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9847 +else
78.9848 + ac_check_lib_save_LIBS=$LIBS
78.9849 +LIBS="-ldl $LIBS"
78.9850 +cat >conftest.$ac_ext <<_ACEOF
78.9851 +/* confdefs.h. */
78.9852 +_ACEOF
78.9853 +cat confdefs.h >>conftest.$ac_ext
78.9854 +cat >>conftest.$ac_ext <<_ACEOF
78.9855 +/* end confdefs.h. */
78.9856 +
78.9857 +/* Override any GCC internal prototype to avoid an error.
78.9858 + Use char because int might match the return type of a GCC
78.9859 + builtin and then its argument prototype would still apply. */
78.9860 +#ifdef __cplusplus
78.9861 +extern "C"
78.9862 +#endif
78.9863 +char dlopen ();
78.9864 +int
78.9865 +main ()
78.9866 +{
78.9867 +return dlopen ();
78.9868 + ;
78.9869 + return 0;
78.9870 +}
78.9871 +_ACEOF
78.9872 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9873 +if { (ac_try="$ac_link"
78.9874 +case "(($ac_try" in
78.9875 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9876 + *) ac_try_echo=$ac_try;;
78.9877 +esac
78.9878 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9879 + (eval "$ac_link") 2>conftest.er1
78.9880 + ac_status=$?
78.9881 + grep -v '^ *+' conftest.er1 >conftest.err
78.9882 + rm -f conftest.er1
78.9883 + cat conftest.err >&5
78.9884 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9885 + (exit $ac_status); } &&
78.9886 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9887 + { (case "(($ac_try" in
78.9888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9889 + *) ac_try_echo=$ac_try;;
78.9890 +esac
78.9891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9892 + (eval "$ac_try") 2>&5
78.9893 + ac_status=$?
78.9894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9895 + (exit $ac_status); }; } &&
78.9896 + { ac_try='test -s conftest$ac_exeext'
78.9897 + { (case "(($ac_try" in
78.9898 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9899 + *) ac_try_echo=$ac_try;;
78.9900 +esac
78.9901 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9902 + (eval "$ac_try") 2>&5
78.9903 + ac_status=$?
78.9904 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9905 + (exit $ac_status); }; }; then
78.9906 + ac_cv_lib_dl_dlopen=yes
78.9907 +else
78.9908 + echo "$as_me: failed program was:" >&5
78.9909 +sed 's/^/| /' conftest.$ac_ext >&5
78.9910 +
78.9911 + ac_cv_lib_dl_dlopen=no
78.9912 +fi
78.9913 +
78.9914 +rm -f core conftest.err conftest.$ac_objext \
78.9915 + conftest$ac_exeext conftest.$ac_ext
78.9916 +LIBS=$ac_check_lib_save_LIBS
78.9917 +fi
78.9918 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
78.9919 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
78.9920 +if test $ac_cv_lib_dl_dlopen = yes; then
78.9921 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
78.9922 +else
78.9923 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
78.9924 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
78.9925 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
78.9926 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.9927 +else
78.9928 + ac_check_lib_save_LIBS=$LIBS
78.9929 +LIBS="-lsvld $LIBS"
78.9930 +cat >conftest.$ac_ext <<_ACEOF
78.9931 +/* confdefs.h. */
78.9932 +_ACEOF
78.9933 +cat confdefs.h >>conftest.$ac_ext
78.9934 +cat >>conftest.$ac_ext <<_ACEOF
78.9935 +/* end confdefs.h. */
78.9936 +
78.9937 +/* Override any GCC internal prototype to avoid an error.
78.9938 + Use char because int might match the return type of a GCC
78.9939 + builtin and then its argument prototype would still apply. */
78.9940 +#ifdef __cplusplus
78.9941 +extern "C"
78.9942 +#endif
78.9943 +char dlopen ();
78.9944 +int
78.9945 +main ()
78.9946 +{
78.9947 +return dlopen ();
78.9948 + ;
78.9949 + return 0;
78.9950 +}
78.9951 +_ACEOF
78.9952 +rm -f conftest.$ac_objext conftest$ac_exeext
78.9953 +if { (ac_try="$ac_link"
78.9954 +case "(($ac_try" in
78.9955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9956 + *) ac_try_echo=$ac_try;;
78.9957 +esac
78.9958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9959 + (eval "$ac_link") 2>conftest.er1
78.9960 + ac_status=$?
78.9961 + grep -v '^ *+' conftest.er1 >conftest.err
78.9962 + rm -f conftest.er1
78.9963 + cat conftest.err >&5
78.9964 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9965 + (exit $ac_status); } &&
78.9966 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.9967 + { (case "(($ac_try" in
78.9968 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9969 + *) ac_try_echo=$ac_try;;
78.9970 +esac
78.9971 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9972 + (eval "$ac_try") 2>&5
78.9973 + ac_status=$?
78.9974 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9975 + (exit $ac_status); }; } &&
78.9976 + { ac_try='test -s conftest$ac_exeext'
78.9977 + { (case "(($ac_try" in
78.9978 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.9979 + *) ac_try_echo=$ac_try;;
78.9980 +esac
78.9981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.9982 + (eval "$ac_try") 2>&5
78.9983 + ac_status=$?
78.9984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.9985 + (exit $ac_status); }; }; then
78.9986 + ac_cv_lib_svld_dlopen=yes
78.9987 +else
78.9988 + echo "$as_me: failed program was:" >&5
78.9989 +sed 's/^/| /' conftest.$ac_ext >&5
78.9990 +
78.9991 + ac_cv_lib_svld_dlopen=no
78.9992 +fi
78.9993 +
78.9994 +rm -f core conftest.err conftest.$ac_objext \
78.9995 + conftest$ac_exeext conftest.$ac_ext
78.9996 +LIBS=$ac_check_lib_save_LIBS
78.9997 +fi
78.9998 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
78.9999 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
78.10000 +if test $ac_cv_lib_svld_dlopen = yes; then
78.10001 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
78.10002 +else
78.10003 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
78.10004 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
78.10005 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
78.10006 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.10007 +else
78.10008 + ac_check_lib_save_LIBS=$LIBS
78.10009 +LIBS="-ldld $LIBS"
78.10010 +cat >conftest.$ac_ext <<_ACEOF
78.10011 +/* confdefs.h. */
78.10012 +_ACEOF
78.10013 +cat confdefs.h >>conftest.$ac_ext
78.10014 +cat >>conftest.$ac_ext <<_ACEOF
78.10015 +/* end confdefs.h. */
78.10016 +
78.10017 +/* Override any GCC internal prototype to avoid an error.
78.10018 + Use char because int might match the return type of a GCC
78.10019 + builtin and then its argument prototype would still apply. */
78.10020 +#ifdef __cplusplus
78.10021 +extern "C"
78.10022 +#endif
78.10023 +char dld_link ();
78.10024 +int
78.10025 +main ()
78.10026 +{
78.10027 +return dld_link ();
78.10028 + ;
78.10029 + return 0;
78.10030 +}
78.10031 +_ACEOF
78.10032 +rm -f conftest.$ac_objext conftest$ac_exeext
78.10033 +if { (ac_try="$ac_link"
78.10034 +case "(($ac_try" in
78.10035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.10036 + *) ac_try_echo=$ac_try;;
78.10037 +esac
78.10038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.10039 + (eval "$ac_link") 2>conftest.er1
78.10040 + ac_status=$?
78.10041 + grep -v '^ *+' conftest.er1 >conftest.err
78.10042 + rm -f conftest.er1
78.10043 + cat conftest.err >&5
78.10044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.10045 + (exit $ac_status); } &&
78.10046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78.10047 + { (case "(($ac_try" in
78.10048 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.10049 + *) ac_try_echo=$ac_try;;
78.10050 +esac
78.10051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.10052 + (eval "$ac_try") 2>&5
78.10053 + ac_status=$?
78.10054 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.10055 + (exit $ac_status); }; } &&
78.10056 + { ac_try='test -s conftest$ac_exeext'
78.10057 + { (case "(($ac_try" in
78.10058 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.10059 + *) ac_try_echo=$ac_try;;
78.10060 +esac
78.10061 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.10062 + (eval "$ac_try") 2>&5
78.10063 + ac_status=$?
78.10064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.10065 + (exit $ac_status); }; }; then
78.10066 + ac_cv_lib_dld_dld_link=yes
78.10067 +else
78.10068 + echo "$as_me: failed program was:" >&5
78.10069 +sed 's/^/| /' conftest.$ac_ext >&5
78.10070 +
78.10071 + ac_cv_lib_dld_dld_link=no
78.10072 +fi
78.10073 +
78.10074 +rm -f core conftest.err conftest.$ac_objext \
78.10075 + conftest$ac_exeext conftest.$ac_ext
78.10076 +LIBS=$ac_check_lib_save_LIBS
78.10077 +fi
78.10078 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
78.10079 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
78.10080 +if test $ac_cv_lib_dld_dld_link = yes; then
78.10081 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
78.10082 +fi
78.10083 +
78.10084 +
78.10085 +fi
78.10086 +
78.10087 +
78.10088 +fi
78.10089 +
78.10090 +
78.10091 +fi
78.10092 +
78.10093 +
78.10094 +fi
78.10095 +
78.10096 +
78.10097 +fi
78.10098 +
78.10099 + ;;
78.10100 + esac
78.10101 +
78.10102 + if test "x$lt_cv_dlopen" != xno; then
78.10103 + enable_dlopen=yes
78.10104 + else
78.10105 + enable_dlopen=no
78.10106 + fi
78.10107 +
78.10108 + case $lt_cv_dlopen in
78.10109 + dlopen)
78.10110 + save_CPPFLAGS="$CPPFLAGS"
78.10111 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
78.10112 +
78.10113 + save_LDFLAGS="$LDFLAGS"
78.10114 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
78.10115 +
78.10116 + save_LIBS="$LIBS"
78.10117 + LIBS="$lt_cv_dlopen_libs $LIBS"
78.10118 +
78.10119 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
78.10120 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
78.10121 +if test "${lt_cv_dlopen_self+set}" = set; then
78.10122 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.10123 +else
78.10124 + if test "$cross_compiling" = yes; then :
78.10125 + lt_cv_dlopen_self=cross
78.10126 +else
78.10127 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
78.10128 + lt_status=$lt_dlunknown
78.10129 + cat > conftest.$ac_ext <<EOF
78.10130 +#line 10127 "configure"
78.10131 +#include "confdefs.h"
78.10132 +
78.10133 +#if HAVE_DLFCN_H
78.10134 +#include <dlfcn.h>
78.10135 +#endif
78.10136 +
78.10137 +#include <stdio.h>
78.10138 +
78.10139 +#ifdef RTLD_GLOBAL
78.10140 +# define LT_DLGLOBAL RTLD_GLOBAL
78.10141 +#else
78.10142 +# ifdef DL_GLOBAL
78.10143 +# define LT_DLGLOBAL DL_GLOBAL
78.10144 +# else
78.10145 +# define LT_DLGLOBAL 0
78.10146 +# endif
78.10147 +#endif
78.10148 +
78.10149 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
78.10150 + find out it does not work in some platform. */
78.10151 +#ifndef LT_DLLAZY_OR_NOW
78.10152 +# ifdef RTLD_LAZY
78.10153 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
78.10154 +# else
78.10155 +# ifdef DL_LAZY
78.10156 +# define LT_DLLAZY_OR_NOW DL_LAZY
78.10157 +# else
78.10158 +# ifdef RTLD_NOW
78.10159 +# define LT_DLLAZY_OR_NOW RTLD_NOW
78.10160 +# else
78.10161 +# ifdef DL_NOW
78.10162 +# define LT_DLLAZY_OR_NOW DL_NOW
78.10163 +# else
78.10164 +# define LT_DLLAZY_OR_NOW 0
78.10165 +# endif
78.10166 +# endif
78.10167 +# endif
78.10168 +# endif
78.10169 +#endif
78.10170 +
78.10171 +#ifdef __cplusplus
78.10172 +extern "C" void exit (int);
78.10173 +#endif
78.10174 +
78.10175 +void fnord() { int i=42;}
78.10176 +int main ()
78.10177 +{
78.10178 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
78.10179 + int status = $lt_dlunknown;
78.10180 +
78.10181 + if (self)
78.10182 + {
78.10183 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
78.10184 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
78.10185 + /* dlclose (self); */
78.10186 + }
78.10187 + else
78.10188 + puts (dlerror ());
78.10189 +
78.10190 + exit (status);
78.10191 +}
78.10192 +EOF
78.10193 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78.10194 + (eval $ac_link) 2>&5
78.10195 + ac_status=$?
78.10196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.10197 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
78.10198 + (./conftest; exit; ) >&5 2>/dev/null
78.10199 + lt_status=$?
78.10200 + case x$lt_status in
78.10201 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
78.10202 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
78.10203 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
78.10204 + esac
78.10205 + else :
78.10206 + # compilation failed
78.10207 + lt_cv_dlopen_self=no
78.10208 + fi
78.10209 +fi
78.10210 +rm -fr conftest*
78.10211 +
78.10212 +
78.10213 +fi
78.10214 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
78.10215 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
78.10216 +
78.10217 + if test "x$lt_cv_dlopen_self" = xyes; then
78.10218 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
78.10219 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
78.10220 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
78.10221 +if test "${lt_cv_dlopen_self_static+set}" = set; then
78.10222 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.10223 +else
78.10224 + if test "$cross_compiling" = yes; then :
78.10225 + lt_cv_dlopen_self_static=cross
78.10226 +else
78.10227 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
78.10228 + lt_status=$lt_dlunknown
78.10229 + cat > conftest.$ac_ext <<EOF
78.10230 +#line 10227 "configure"
78.10231 +#include "confdefs.h"
78.10232 +
78.10233 +#if HAVE_DLFCN_H
78.10234 +#include <dlfcn.h>
78.10235 +#endif
78.10236 +
78.10237 +#include <stdio.h>
78.10238 +
78.10239 +#ifdef RTLD_GLOBAL
78.10240 +# define LT_DLGLOBAL RTLD_GLOBAL
78.10241 +#else
78.10242 +# ifdef DL_GLOBAL
78.10243 +# define LT_DLGLOBAL DL_GLOBAL
78.10244 +# else
78.10245 +# define LT_DLGLOBAL 0
78.10246 +# endif
78.10247 +#endif
78.10248 +
78.10249 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
78.10250 + find out it does not work in some platform. */
78.10251 +#ifndef LT_DLLAZY_OR_NOW
78.10252 +# ifdef RTLD_LAZY
78.10253 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
78.10254 +# else
78.10255 +# ifdef DL_LAZY
78.10256 +# define LT_DLLAZY_OR_NOW DL_LAZY
78.10257 +# else
78.10258 +# ifdef RTLD_NOW
78.10259 +# define LT_DLLAZY_OR_NOW RTLD_NOW
78.10260 +# else
78.10261 +# ifdef DL_NOW
78.10262 +# define LT_DLLAZY_OR_NOW DL_NOW
78.10263 +# else
78.10264 +# define LT_DLLAZY_OR_NOW 0
78.10265 +# endif
78.10266 +# endif
78.10267 +# endif
78.10268 +# endif
78.10269 +#endif
78.10270 +
78.10271 +#ifdef __cplusplus
78.10272 +extern "C" void exit (int);
78.10273 +#endif
78.10274 +
78.10275 +void fnord() { int i=42;}
78.10276 +int main ()
78.10277 +{
78.10278 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
78.10279 + int status = $lt_dlunknown;
78.10280 +
78.10281 + if (self)
78.10282 + {
78.10283 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
78.10284 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
78.10285 + /* dlclose (self); */
78.10286 + }
78.10287 + else
78.10288 + puts (dlerror ());
78.10289 +
78.10290 + exit (status);
78.10291 +}
78.10292 +EOF
78.10293 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78.10294 + (eval $ac_link) 2>&5
78.10295 + ac_status=$?
78.10296 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.10297 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
78.10298 + (./conftest; exit; ) >&5 2>/dev/null
78.10299 + lt_status=$?
78.10300 + case x$lt_status in
78.10301 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
78.10302 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
78.10303 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
78.10304 + esac
78.10305 + else :
78.10306 + # compilation failed
78.10307 + lt_cv_dlopen_self_static=no
78.10308 + fi
78.10309 +fi
78.10310 +rm -fr conftest*
78.10311 +
78.10312 +
78.10313 +fi
78.10314 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
78.10315 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
78.10316 + fi
78.10317 +
78.10318 + CPPFLAGS="$save_CPPFLAGS"
78.10319 + LDFLAGS="$save_LDFLAGS"
78.10320 + LIBS="$save_LIBS"
78.10321 + ;;
78.10322 + esac
78.10323 +
78.10324 + case $lt_cv_dlopen_self in
78.10325 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
78.10326 + *) enable_dlopen_self=unknown ;;
78.10327 + esac
78.10328 +
78.10329 + case $lt_cv_dlopen_self_static in
78.10330 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
78.10331 + *) enable_dlopen_self_static=unknown ;;
78.10332 + esac
78.10333 +fi
78.10334 +
78.10335 +
78.10336 +# Report which library types will actually be built
78.10337 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
78.10338 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
78.10339 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
78.10340 +echo "${ECHO_T}$can_build_shared" >&6; }
78.10341 +
78.10342 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
78.10343 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
78.10344 +test "$can_build_shared" = "no" && enable_shared=no
78.10345 +
78.10346 +# On AIX, shared libraries and static libraries use the same namespace, and
78.10347 +# are all built from PIC.
78.10348 +case $host_os in
78.10349 +aix3*)
78.10350 + test "$enable_shared" = yes && enable_static=no
78.10351 + if test -n "$RANLIB"; then
78.10352 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
78.10353 + postinstall_cmds='$RANLIB $lib'
78.10354 + fi
78.10355 + ;;
78.10356 +
78.10357 +aix4* | aix5*)
78.10358 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
78.10359 + test "$enable_shared" = yes && enable_static=no
78.10360 + fi
78.10361 + ;;
78.10362 +esac
78.10363 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
78.10364 +echo "${ECHO_T}$enable_shared" >&6; }
78.10365 +
78.10366 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
78.10367 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
78.10368 +# Make sure either enable_shared or enable_static is yes.
78.10369 +test "$enable_shared" = yes || enable_static=yes
78.10370 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
78.10371 +echo "${ECHO_T}$enable_static" >&6; }
78.10372 +
78.10373 +# The else clause should only fire when bootstrapping the
78.10374 +# libtool distribution, otherwise you forgot to ship ltmain.sh
78.10375 +# with your package, and you will get complaints that there are
78.10376 +# no rules to generate ltmain.sh.
78.10377 +if test -f "$ltmain"; then
78.10378 + # See if we are running on zsh, and set the options which allow our commands through
78.10379 + # without removal of \ escapes.
78.10380 + if test -n "${ZSH_VERSION+set}" ; then
78.10381 + setopt NO_GLOB_SUBST
78.10382 + fi
78.10383 + # Now quote all the things that may contain metacharacters while being
78.10384 + # careful not to overquote the AC_SUBSTed values. We take copies of the
78.10385 + # variables and quote the copies for generation of the libtool script.
78.10386 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
78.10387 + SED SHELL STRIP \
78.10388 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
78.10389 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
78.10390 + deplibs_check_method reload_flag reload_cmds need_locks \
78.10391 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
78.10392 + lt_cv_sys_global_symbol_to_c_name_address \
78.10393 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
78.10394 + old_postinstall_cmds old_postuninstall_cmds \
78.10395 + compiler \
78.10396 + CC \
78.10397 + LD \
78.10398 + lt_prog_compiler_wl \
78.10399 + lt_prog_compiler_pic \
78.10400 + lt_prog_compiler_static \
78.10401 + lt_prog_compiler_no_builtin_flag \
78.10402 + export_dynamic_flag_spec \
78.10403 + thread_safe_flag_spec \
78.10404 + whole_archive_flag_spec \
78.10405 + enable_shared_with_static_runtimes \
78.10406 + old_archive_cmds \
78.10407 + old_archive_from_new_cmds \
78.10408 + predep_objects \
78.10409 + postdep_objects \
78.10410 + predeps \
78.10411 + postdeps \
78.10412 + compiler_lib_search_path \
78.10413 + archive_cmds \
78.10414 + archive_expsym_cmds \
78.10415 + postinstall_cmds \
78.10416 + postuninstall_cmds \
78.10417 + old_archive_from_expsyms_cmds \
78.10418 + allow_undefined_flag \
78.10419 + no_undefined_flag \
78.10420 + export_symbols_cmds \
78.10421 + hardcode_libdir_flag_spec \
78.10422 + hardcode_libdir_flag_spec_ld \
78.10423 + hardcode_libdir_separator \
78.10424 + hardcode_automatic \
78.10425 + module_cmds \
78.10426 + module_expsym_cmds \
78.10427 + lt_cv_prog_compiler_c_o \
78.10428 + exclude_expsyms \
78.10429 + include_expsyms; do
78.10430 +
78.10431 + case $var in
78.10432 + old_archive_cmds | \
78.10433 + old_archive_from_new_cmds | \
78.10434 + archive_cmds | \
78.10435 + archive_expsym_cmds | \
78.10436 + module_cmds | \
78.10437 + module_expsym_cmds | \
78.10438 + old_archive_from_expsyms_cmds | \
78.10439 + export_symbols_cmds | \
78.10440 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
78.10441 + postinstall_cmds | postuninstall_cmds | \
78.10442 + old_postinstall_cmds | old_postuninstall_cmds | \
78.10443 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
78.10444 + # Double-quote double-evaled strings.
78.10445 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
78.10446 + ;;
78.10447 + *)
78.10448 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
78.10449 + ;;
78.10450 + esac
78.10451 + done
78.10452 +
78.10453 + case $lt_echo in
78.10454 + *'\$0 --fallback-echo"')
78.10455 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
78.10456 + ;;
78.10457 + esac
78.10458 +
78.10459 +cfgfile="${ofile}T"
78.10460 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
78.10461 + $rm -f "$cfgfile"
78.10462 + { echo "$as_me:$LINENO: creating $ofile" >&5
78.10463 +echo "$as_me: creating $ofile" >&6;}
78.10464 +
78.10465 + cat <<__EOF__ >> "$cfgfile"
78.10466 +#! $SHELL
78.10467 +
78.10468 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
78.10469 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
78.10470 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
78.10471 +#
78.10472 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
78.10473 +# Free Software Foundation, Inc.
78.10474 +#
78.10475 +# This file is part of GNU Libtool:
78.10476 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
78.10477 +#
78.10478 +# This program is free software; you can redistribute it and/or modify
78.10479 +# it under the terms of the GNU General Public License as published by
78.10480 +# the Free Software Foundation; either version 2 of the License, or
78.10481 +# (at your option) any later version.
78.10482 +#
78.10483 +# This program is distributed in the hope that it will be useful, but
78.10484 +# WITHOUT ANY WARRANTY; without even the implied warranty of
78.10485 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
78.10486 +# General Public License for more details.
78.10487 +#
78.10488 +# You should have received a copy of the GNU General Public License
78.10489 +# along with this program; if not, write to the Free Software
78.10490 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
78.10491 +#
78.10492 +# As a special exception to the GNU General Public License, if you
78.10493 +# distribute this file as part of a program that contains a
78.10494 +# configuration script generated by Autoconf, you may include it under
78.10495 +# the same distribution terms that you use for the rest of that program.
78.10496 +
78.10497 +# A sed program that does not truncate output.
78.10498 +SED=$lt_SED
78.10499 +
78.10500 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
78.10501 +Xsed="$SED -e 1s/^X//"
78.10502 +
78.10503 +# The HP-UX ksh and POSIX shell print the target directory to stdout
78.10504 +# if CDPATH is set.
78.10505 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78.10506 +
78.10507 +# The names of the tagged configurations supported by this script.
78.10508 +available_tags=
78.10509 +
78.10510 +# ### BEGIN LIBTOOL CONFIG
78.10511 +
78.10512 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78.10513 +
78.10514 +# Shell to use when invoking shell scripts.
78.10515 +SHELL=$lt_SHELL
78.10516 +
78.10517 +# Whether or not to build shared libraries.
78.10518 +build_libtool_libs=$enable_shared
78.10519 +
78.10520 +# Whether or not to build static libraries.
78.10521 +build_old_libs=$enable_static
78.10522 +
78.10523 +# Whether or not to add -lc for building shared libraries.
78.10524 +build_libtool_need_lc=$archive_cmds_need_lc
78.10525 +
78.10526 +# Whether or not to disallow shared libs when runtime libs are static
78.10527 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
78.10528 +
78.10529 +# Whether or not to optimize for fast installation.
78.10530 +fast_install=$enable_fast_install
78.10531 +
78.10532 +# The host system.
78.10533 +host_alias=$host_alias
78.10534 +host=$host
78.10535 +host_os=$host_os
78.10536 +
78.10537 +# The build system.
78.10538 +build_alias=$build_alias
78.10539 +build=$build
78.10540 +build_os=$build_os
78.10541 +
78.10542 +# An echo program that does not interpret backslashes.
78.10543 +echo=$lt_echo
78.10544 +
78.10545 +# The archiver.
78.10546 +AR=$lt_AR
78.10547 +AR_FLAGS=$lt_AR_FLAGS
78.10548 +
78.10549 +# A C compiler.
78.10550 +LTCC=$lt_LTCC
78.10551 +
78.10552 +# LTCC compiler flags.
78.10553 +LTCFLAGS=$lt_LTCFLAGS
78.10554 +
78.10555 +# A language-specific compiler.
78.10556 +CC=$lt_compiler
78.10557 +
78.10558 +# Is the compiler the GNU C compiler?
78.10559 +with_gcc=$GCC
78.10560 +
78.10561 +# An ERE matcher.
78.10562 +EGREP=$lt_EGREP
78.10563 +
78.10564 +# The linker used to build libraries.
78.10565 +LD=$lt_LD
78.10566 +
78.10567 +# Whether we need hard or soft links.
78.10568 +LN_S=$lt_LN_S
78.10569 +
78.10570 +# A BSD-compatible nm program.
78.10571 +NM=$lt_NM
78.10572 +
78.10573 +# A symbol stripping program
78.10574 +STRIP=$lt_STRIP
78.10575 +
78.10576 +# Used to examine libraries when file_magic_cmd begins "file"
78.10577 +MAGIC_CMD=$MAGIC_CMD
78.10578 +
78.10579 +# Used on cygwin: DLL creation program.
78.10580 +DLLTOOL="$DLLTOOL"
78.10581 +
78.10582 +# Used on cygwin: object dumper.
78.10583 +OBJDUMP="$OBJDUMP"
78.10584 +
78.10585 +# Used on cygwin: assembler.
78.10586 +AS="$AS"
78.10587 +
78.10588 +# The name of the directory that contains temporary libtool files.
78.10589 +objdir=$objdir
78.10590 +
78.10591 +# How to create reloadable object files.
78.10592 +reload_flag=$lt_reload_flag
78.10593 +reload_cmds=$lt_reload_cmds
78.10594 +
78.10595 +# How to pass a linker flag through the compiler.
78.10596 +wl=$lt_lt_prog_compiler_wl
78.10597 +
78.10598 +# Object file suffix (normally "o").
78.10599 +objext="$ac_objext"
78.10600 +
78.10601 +# Old archive suffix (normally "a").
78.10602 +libext="$libext"
78.10603 +
78.10604 +# Shared library suffix (normally ".so").
78.10605 +shrext_cmds='$shrext_cmds'
78.10606 +
78.10607 +# Executable file suffix (normally "").
78.10608 +exeext="$exeext"
78.10609 +
78.10610 +# Additional compiler flags for building library objects.
78.10611 +pic_flag=$lt_lt_prog_compiler_pic
78.10612 +pic_mode=$pic_mode
78.10613 +
78.10614 +# What is the maximum length of a command?
78.10615 +max_cmd_len=$lt_cv_sys_max_cmd_len
78.10616 +
78.10617 +# Does compiler simultaneously support -c and -o options?
78.10618 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
78.10619 +
78.10620 +# Must we lock files when doing compilation?
78.10621 +need_locks=$lt_need_locks
78.10622 +
78.10623 +# Do we need the lib prefix for modules?
78.10624 +need_lib_prefix=$need_lib_prefix
78.10625 +
78.10626 +# Do we need a version for libraries?
78.10627 +need_version=$need_version
78.10628 +
78.10629 +# Whether dlopen is supported.
78.10630 +dlopen_support=$enable_dlopen
78.10631 +
78.10632 +# Whether dlopen of programs is supported.
78.10633 +dlopen_self=$enable_dlopen_self
78.10634 +
78.10635 +# Whether dlopen of statically linked programs is supported.
78.10636 +dlopen_self_static=$enable_dlopen_self_static
78.10637 +
78.10638 +# Compiler flag to prevent dynamic linking.
78.10639 +link_static_flag=$lt_lt_prog_compiler_static
78.10640 +
78.10641 +# Compiler flag to turn off builtin functions.
78.10642 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
78.10643 +
78.10644 +# Compiler flag to allow reflexive dlopens.
78.10645 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
78.10646 +
78.10647 +# Compiler flag to generate shared objects directly from archives.
78.10648 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
78.10649 +
78.10650 +# Compiler flag to generate thread-safe objects.
78.10651 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
78.10652 +
78.10653 +# Library versioning type.
78.10654 +version_type=$version_type
78.10655 +
78.10656 +# Format of library name prefix.
78.10657 +libname_spec=$lt_libname_spec
78.10658 +
78.10659 +# List of archive names. First name is the real one, the rest are links.
78.10660 +# The last name is the one that the linker finds with -lNAME.
78.10661 +library_names_spec=$lt_library_names_spec
78.10662 +
78.10663 +# The coded name of the library, if different from the real name.
78.10664 +soname_spec=$lt_soname_spec
78.10665 +
78.10666 +# Commands used to build and install an old-style archive.
78.10667 +RANLIB=$lt_RANLIB
78.10668 +old_archive_cmds=$lt_old_archive_cmds
78.10669 +old_postinstall_cmds=$lt_old_postinstall_cmds
78.10670 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
78.10671 +
78.10672 +# Create an old-style archive from a shared archive.
78.10673 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
78.10674 +
78.10675 +# Create a temporary old-style archive to link instead of a shared archive.
78.10676 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
78.10677 +
78.10678 +# Commands used to build and install a shared archive.
78.10679 +archive_cmds=$lt_archive_cmds
78.10680 +archive_expsym_cmds=$lt_archive_expsym_cmds
78.10681 +postinstall_cmds=$lt_postinstall_cmds
78.10682 +postuninstall_cmds=$lt_postuninstall_cmds
78.10683 +
78.10684 +# Commands used to build a loadable module (assumed same as above if empty)
78.10685 +module_cmds=$lt_module_cmds
78.10686 +module_expsym_cmds=$lt_module_expsym_cmds
78.10687 +
78.10688 +# Commands to strip libraries.
78.10689 +old_striplib=$lt_old_striplib
78.10690 +striplib=$lt_striplib
78.10691 +
78.10692 +# Dependencies to place before the objects being linked to create a
78.10693 +# shared library.
78.10694 +predep_objects=$lt_predep_objects
78.10695 +
78.10696 +# Dependencies to place after the objects being linked to create a
78.10697 +# shared library.
78.10698 +postdep_objects=$lt_postdep_objects
78.10699 +
78.10700 +# Dependencies to place before the objects being linked to create a
78.10701 +# shared library.
78.10702 +predeps=$lt_predeps
78.10703 +
78.10704 +# Dependencies to place after the objects being linked to create a
78.10705 +# shared library.
78.10706 +postdeps=$lt_postdeps
78.10707 +
78.10708 +# The library search path used internally by the compiler when linking
78.10709 +# a shared library.
78.10710 +compiler_lib_search_path=$lt_compiler_lib_search_path
78.10711 +
78.10712 +# Method to check whether dependent libraries are shared objects.
78.10713 +deplibs_check_method=$lt_deplibs_check_method
78.10714 +
78.10715 +# Command to use when deplibs_check_method == file_magic.
78.10716 +file_magic_cmd=$lt_file_magic_cmd
78.10717 +
78.10718 +# Flag that allows shared libraries with undefined symbols to be built.
78.10719 +allow_undefined_flag=$lt_allow_undefined_flag
78.10720 +
78.10721 +# Flag that forces no undefined symbols.
78.10722 +no_undefined_flag=$lt_no_undefined_flag
78.10723 +
78.10724 +# Commands used to finish a libtool library installation in a directory.
78.10725 +finish_cmds=$lt_finish_cmds
78.10726 +
78.10727 +# Same as above, but a single script fragment to be evaled but not shown.
78.10728 +finish_eval=$lt_finish_eval
78.10729 +
78.10730 +# Take the output of nm and produce a listing of raw symbols and C names.
78.10731 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78.10732 +
78.10733 +# Transform the output of nm in a proper C declaration
78.10734 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78.10735 +
78.10736 +# Transform the output of nm in a C name address pair
78.10737 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78.10738 +
78.10739 +# This is the shared library runtime path variable.
78.10740 +runpath_var=$runpath_var
78.10741 +
78.10742 +# This is the shared library path variable.
78.10743 +shlibpath_var=$shlibpath_var
78.10744 +
78.10745 +# Is shlibpath searched before the hard-coded library search path?
78.10746 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78.10747 +
78.10748 +# How to hardcode a shared library path into an executable.
78.10749 +hardcode_action=$hardcode_action
78.10750 +
78.10751 +# Whether we should hardcode library paths into libraries.
78.10752 +hardcode_into_libs=$hardcode_into_libs
78.10753 +
78.10754 +# Flag to hardcode \$libdir into a binary during linking.
78.10755 +# This must work even if \$libdir does not exist.
78.10756 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
78.10757 +
78.10758 +# If ld is used when linking, flag to hardcode \$libdir into
78.10759 +# a binary during linking. This must work even if \$libdir does
78.10760 +# not exist.
78.10761 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
78.10762 +
78.10763 +# Whether we need a single -rpath flag with a separated argument.
78.10764 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
78.10765 +
78.10766 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
78.10767 +# resulting binary.
78.10768 +hardcode_direct=$hardcode_direct
78.10769 +
78.10770 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
78.10771 +# resulting binary.
78.10772 +hardcode_minus_L=$hardcode_minus_L
78.10773 +
78.10774 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
78.10775 +# the resulting binary.
78.10776 +hardcode_shlibpath_var=$hardcode_shlibpath_var
78.10777 +
78.10778 +# Set to yes if building a shared library automatically hardcodes DIR into the library
78.10779 +# and all subsequent libraries and executables linked against it.
78.10780 +hardcode_automatic=$hardcode_automatic
78.10781 +
78.10782 +# Variables whose values should be saved in libtool wrapper scripts and
78.10783 +# restored at relink time.
78.10784 +variables_saved_for_relink="$variables_saved_for_relink"
78.10785 +
78.10786 +# Whether libtool must link a program against all its dependency libraries.
78.10787 +link_all_deplibs=$link_all_deplibs
78.10788 +
78.10789 +# Compile-time system search path for libraries
78.10790 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78.10791 +
78.10792 +# Run-time system search path for libraries
78.10793 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78.10794 +
78.10795 +# Fix the shell variable \$srcfile for the compiler.
78.10796 +fix_srcfile_path="$fix_srcfile_path"
78.10797 +
78.10798 +# Set to yes if exported symbols are required.
78.10799 +always_export_symbols=$always_export_symbols
78.10800 +
78.10801 +# The commands to list exported symbols.
78.10802 +export_symbols_cmds=$lt_export_symbols_cmds
78.10803 +
78.10804 +# The commands to extract the exported symbol list from a shared archive.
78.10805 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
78.10806 +
78.10807 +# Symbols that should not be listed in the preloaded symbols.
78.10808 +exclude_expsyms=$lt_exclude_expsyms
78.10809 +
78.10810 +# Symbols that must always be exported.
78.10811 +include_expsyms=$lt_include_expsyms
78.10812 +
78.10813 +# ### END LIBTOOL CONFIG
78.10814 +
78.10815 +__EOF__
78.10816 +
78.10817 +
78.10818 + case $host_os in
78.10819 + aix3*)
78.10820 + cat <<\EOF >> "$cfgfile"
78.10821 +
78.10822 +# AIX sometimes has problems with the GCC collect2 program. For some
78.10823 +# reason, if we set the COLLECT_NAMES environment variable, the problems
78.10824 +# vanish in a puff of smoke.
78.10825 +if test "X${COLLECT_NAMES+set}" != Xset; then
78.10826 + COLLECT_NAMES=
78.10827 + export COLLECT_NAMES
78.10828 +fi
78.10829 +EOF
78.10830 + ;;
78.10831 + esac
78.10832 +
78.10833 + # We use sed instead of cat because bash on DJGPP gets confused if
78.10834 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
78.10835 + # text mode, it properly converts lines to CR/LF. This bash problem
78.10836 + # is reportedly fixed, but why not run on old versions too?
78.10837 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
78.10838 +
78.10839 + mv -f "$cfgfile" "$ofile" || \
78.10840 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
78.10841 + chmod +x "$ofile"
78.10842 +
78.10843 +else
78.10844 + # If there is no Makefile yet, we rely on a make rule to execute
78.10845 + # `config.status --recheck' to rerun these tests and create the
78.10846 + # libtool script then.
78.10847 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
78.10848 + if test -f "$ltmain_in"; then
78.10849 + test -f Makefile && make "$ltmain"
78.10850 + fi
78.10851 +fi
78.10852 +
78.10853 +
78.10854 +ac_ext=cpp
78.10855 +ac_cpp='$CXXCPP $CPPFLAGS'
78.10856 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.10857 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.10858 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.10859 +
78.10860 +CC="$lt_save_CC"
78.10861 +
78.10862 +
78.10863 +# Check whether --with-tags was given.
78.10864 +if test "${with_tags+set}" = set; then
78.10865 + withval=$with_tags; tagnames="$withval"
78.10866 +fi
78.10867 +
78.10868 +
78.10869 +if test -f "$ltmain" && test -n "$tagnames"; then
78.10870 + if test ! -f "${ofile}"; then
78.10871 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
78.10872 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
78.10873 + fi
78.10874 +
78.10875 + if test -z "$LTCC"; then
78.10876 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
78.10877 + if test -z "$LTCC"; then
78.10878 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
78.10879 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
78.10880 + else
78.10881 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
78.10882 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
78.10883 + fi
78.10884 + fi
78.10885 + if test -z "$LTCFLAGS"; then
78.10886 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
78.10887 + fi
78.10888 +
78.10889 + # Extract list of available tagged configurations in $ofile.
78.10890 + # Note that this assumes the entire list is on one line.
78.10891 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
78.10892 +
78.10893 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
78.10894 + for tagname in $tagnames; do
78.10895 + IFS="$lt_save_ifs"
78.10896 + # Check whether tagname contains only valid characters
78.10897 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
78.10898 + "") ;;
78.10899 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
78.10900 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
78.10901 + { (exit 1); exit 1; }; }
78.10902 + ;;
78.10903 + esac
78.10904 +
78.10905 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
78.10906 + then
78.10907 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
78.10908 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
78.10909 + { (exit 1); exit 1; }; }
78.10910 + fi
78.10911 +
78.10912 + # Update the list of available tags.
78.10913 + if test -n "$tagname"; then
78.10914 + echo appending configuration tag \"$tagname\" to $ofile
78.10915 +
78.10916 + case $tagname in
78.10917 + CXX)
78.10918 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
78.10919 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
78.10920 + (test "X$CXX" != "Xg++"))) ; then
78.10921 + ac_ext=cpp
78.10922 +ac_cpp='$CXXCPP $CPPFLAGS'
78.10923 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.10924 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.10925 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.10926 +
78.10927 +
78.10928 +
78.10929 +
78.10930 +archive_cmds_need_lc_CXX=no
78.10931 +allow_undefined_flag_CXX=
78.10932 +always_export_symbols_CXX=no
78.10933 +archive_expsym_cmds_CXX=
78.10934 +export_dynamic_flag_spec_CXX=
78.10935 +hardcode_direct_CXX=no
78.10936 +hardcode_libdir_flag_spec_CXX=
78.10937 +hardcode_libdir_flag_spec_ld_CXX=
78.10938 +hardcode_libdir_separator_CXX=
78.10939 +hardcode_minus_L_CXX=no
78.10940 +hardcode_shlibpath_var_CXX=unsupported
78.10941 +hardcode_automatic_CXX=no
78.10942 +module_cmds_CXX=
78.10943 +module_expsym_cmds_CXX=
78.10944 +link_all_deplibs_CXX=unknown
78.10945 +old_archive_cmds_CXX=$old_archive_cmds
78.10946 +no_undefined_flag_CXX=
78.10947 +whole_archive_flag_spec_CXX=
78.10948 +enable_shared_with_static_runtimes_CXX=no
78.10949 +
78.10950 +# Dependencies to place before and after the object being linked:
78.10951 +predep_objects_CXX=
78.10952 +postdep_objects_CXX=
78.10953 +predeps_CXX=
78.10954 +postdeps_CXX=
78.10955 +compiler_lib_search_path_CXX=
78.10956 +
78.10957 +# Source file extension for C++ test sources.
78.10958 +ac_ext=cpp
78.10959 +
78.10960 +# Object file extension for compiled C++ test sources.
78.10961 +objext=o
78.10962 +objext_CXX=$objext
78.10963 +
78.10964 +# Code to be used in simple compile tests
78.10965 +lt_simple_compile_test_code="int some_variable = 0;\n"
78.10966 +
78.10967 +# Code to be used in simple link tests
78.10968 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
78.10969 +
78.10970 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
78.10971 +
78.10972 +# If no C compiler was specified, use CC.
78.10973 +LTCC=${LTCC-"$CC"}
78.10974 +
78.10975 +# If no C compiler flags were specified, use CFLAGS.
78.10976 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.10977 +
78.10978 +# Allow CC to be a program name with arguments.
78.10979 +compiler=$CC
78.10980 +
78.10981 +
78.10982 +# save warnings/boilerplate of simple test code
78.10983 +ac_outfile=conftest.$ac_objext
78.10984 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
78.10985 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.10986 +_lt_compiler_boilerplate=`cat conftest.err`
78.10987 +$rm conftest*
78.10988 +
78.10989 +ac_outfile=conftest.$ac_objext
78.10990 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
78.10991 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.10992 +_lt_linker_boilerplate=`cat conftest.err`
78.10993 +$rm conftest*
78.10994 +
78.10995 +
78.10996 +# Allow CC to be a program name with arguments.
78.10997 +lt_save_CC=$CC
78.10998 +lt_save_LD=$LD
78.10999 +lt_save_GCC=$GCC
78.11000 +GCC=$GXX
78.11001 +lt_save_with_gnu_ld=$with_gnu_ld
78.11002 +lt_save_path_LD=$lt_cv_path_LD
78.11003 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
78.11004 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
78.11005 +else
78.11006 + $as_unset lt_cv_prog_gnu_ld
78.11007 +fi
78.11008 +if test -n "${lt_cv_path_LDCXX+set}"; then
78.11009 + lt_cv_path_LD=$lt_cv_path_LDCXX
78.11010 +else
78.11011 + $as_unset lt_cv_path_LD
78.11012 +fi
78.11013 +test -z "${LDCXX+set}" || LD=$LDCXX
78.11014 +CC=${CXX-"c++"}
78.11015 +compiler=$CC
78.11016 +compiler_CXX=$CC
78.11017 +for cc_temp in $compiler""; do
78.11018 + case $cc_temp in
78.11019 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.11020 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.11021 + \-*) ;;
78.11022 + *) break;;
78.11023 + esac
78.11024 +done
78.11025 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.11026 +
78.11027 +
78.11028 +# We don't want -fno-exception wen compiling C++ code, so set the
78.11029 +# no_builtin_flag separately
78.11030 +if test "$GXX" = yes; then
78.11031 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
78.11032 +else
78.11033 + lt_prog_compiler_no_builtin_flag_CXX=
78.11034 +fi
78.11035 +
78.11036 +if test "$GXX" = yes; then
78.11037 + # Set up default GNU C++ configuration
78.11038 +
78.11039 +
78.11040 +# Check whether --with-gnu-ld was given.
78.11041 +if test "${with_gnu_ld+set}" = set; then
78.11042 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
78.11043 +else
78.11044 + with_gnu_ld=no
78.11045 +fi
78.11046 +
78.11047 +ac_prog=ld
78.11048 +if test "$GCC" = yes; then
78.11049 + # Check if gcc -print-prog-name=ld gives a path.
78.11050 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
78.11051 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
78.11052 + case $host in
78.11053 + *-*-mingw*)
78.11054 + # gcc leaves a trailing carriage return which upsets mingw
78.11055 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
78.11056 + *)
78.11057 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
78.11058 + esac
78.11059 + case $ac_prog in
78.11060 + # Accept absolute paths.
78.11061 + [\\/]* | ?:[\\/]*)
78.11062 + re_direlt='/[^/][^/]*/\.\./'
78.11063 + # Canonicalize the pathname of ld
78.11064 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
78.11065 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
78.11066 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
78.11067 + done
78.11068 + test -z "$LD" && LD="$ac_prog"
78.11069 + ;;
78.11070 + "")
78.11071 + # If it fails, then pretend we aren't using GCC.
78.11072 + ac_prog=ld
78.11073 + ;;
78.11074 + *)
78.11075 + # If it is relative, then search for the first ld in PATH.
78.11076 + with_gnu_ld=unknown
78.11077 + ;;
78.11078 + esac
78.11079 +elif test "$with_gnu_ld" = yes; then
78.11080 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
78.11081 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
78.11082 +else
78.11083 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
78.11084 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
78.11085 +fi
78.11086 +if test "${lt_cv_path_LD+set}" = set; then
78.11087 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.11088 +else
78.11089 + if test -z "$LD"; then
78.11090 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
78.11091 + for ac_dir in $PATH; do
78.11092 + IFS="$lt_save_ifs"
78.11093 + test -z "$ac_dir" && ac_dir=.
78.11094 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
78.11095 + lt_cv_path_LD="$ac_dir/$ac_prog"
78.11096 + # Check to see if the program is GNU ld. I'd rather use --version,
78.11097 + # but apparently some variants of GNU ld only accept -v.
78.11098 + # Break only if it was the GNU/non-GNU ld that we prefer.
78.11099 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
78.11100 + *GNU* | *'with BFD'*)
78.11101 + test "$with_gnu_ld" != no && break
78.11102 + ;;
78.11103 + *)
78.11104 + test "$with_gnu_ld" != yes && break
78.11105 + ;;
78.11106 + esac
78.11107 + fi
78.11108 + done
78.11109 + IFS="$lt_save_ifs"
78.11110 +else
78.11111 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
78.11112 +fi
78.11113 +fi
78.11114 +
78.11115 +LD="$lt_cv_path_LD"
78.11116 +if test -n "$LD"; then
78.11117 + { echo "$as_me:$LINENO: result: $LD" >&5
78.11118 +echo "${ECHO_T}$LD" >&6; }
78.11119 +else
78.11120 + { echo "$as_me:$LINENO: result: no" >&5
78.11121 +echo "${ECHO_T}no" >&6; }
78.11122 +fi
78.11123 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
78.11124 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
78.11125 + { (exit 1); exit 1; }; }
78.11126 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
78.11127 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
78.11128 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
78.11129 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.11130 +else
78.11131 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
78.11132 +case `$LD -v 2>&1 </dev/null` in
78.11133 +*GNU* | *'with BFD'*)
78.11134 + lt_cv_prog_gnu_ld=yes
78.11135 + ;;
78.11136 +*)
78.11137 + lt_cv_prog_gnu_ld=no
78.11138 + ;;
78.11139 +esac
78.11140 +fi
78.11141 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
78.11142 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
78.11143 +with_gnu_ld=$lt_cv_prog_gnu_ld
78.11144 +
78.11145 +
78.11146 +
78.11147 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
78.11148 + # archiving commands below assume that GNU ld is being used.
78.11149 + if test "$with_gnu_ld" = yes; then
78.11150 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.11151 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.11152 +
78.11153 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
78.11154 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
78.11155 +
78.11156 + # If archive_cmds runs LD, not CC, wlarc should be empty
78.11157 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
78.11158 + # investigate it a little bit more. (MM)
78.11159 + wlarc='${wl}'
78.11160 +
78.11161 + # ancient GNU ld didn't support --whole-archive et. al.
78.11162 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
78.11163 + grep 'no-whole-archive' > /dev/null; then
78.11164 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
78.11165 + else
78.11166 + whole_archive_flag_spec_CXX=
78.11167 + fi
78.11168 + else
78.11169 + with_gnu_ld=no
78.11170 + wlarc=
78.11171 +
78.11172 + # A generic and very simple default shared library creation
78.11173 + # command for GNU C++ for the case where it uses the native
78.11174 + # linker, instead of GNU ld. If possible, this setting should
78.11175 + # overridden to take advantage of the native linker features on
78.11176 + # the platform it is being used on.
78.11177 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
78.11178 + fi
78.11179 +
78.11180 + # Commands to make compiler produce verbose output that lists
78.11181 + # what "hidden" libraries, object files and flags are used when
78.11182 + # linking a shared library.
78.11183 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
78.11184 +
78.11185 +else
78.11186 + GXX=no
78.11187 + with_gnu_ld=no
78.11188 + wlarc=
78.11189 +fi
78.11190 +
78.11191 +# PORTME: fill in a description of your system's C++ link characteristics
78.11192 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
78.11193 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
78.11194 +ld_shlibs_CXX=yes
78.11195 +case $host_os in
78.11196 + aix3*)
78.11197 + # FIXME: insert proper C++ library support
78.11198 + ld_shlibs_CXX=no
78.11199 + ;;
78.11200 + aix4* | aix5*)
78.11201 + if test "$host_cpu" = ia64; then
78.11202 + # On IA64, the linker does run time linking by default, so we don't
78.11203 + # have to do anything special.
78.11204 + aix_use_runtimelinking=no
78.11205 + exp_sym_flag='-Bexport'
78.11206 + no_entry_flag=""
78.11207 + else
78.11208 + aix_use_runtimelinking=no
78.11209 +
78.11210 + # Test if we are trying to use run time linking or normal
78.11211 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
78.11212 + # need to do runtime linking.
78.11213 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
78.11214 + for ld_flag in $LDFLAGS; do
78.11215 + case $ld_flag in
78.11216 + *-brtl*)
78.11217 + aix_use_runtimelinking=yes
78.11218 + break
78.11219 + ;;
78.11220 + esac
78.11221 + done
78.11222 + ;;
78.11223 + esac
78.11224 +
78.11225 + exp_sym_flag='-bexport'
78.11226 + no_entry_flag='-bnoentry'
78.11227 + fi
78.11228 +
78.11229 + # When large executables or shared objects are built, AIX ld can
78.11230 + # have problems creating the table of contents. If linking a library
78.11231 + # or program results in "error TOC overflow" add -mminimal-toc to
78.11232 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
78.11233 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
78.11234 +
78.11235 + archive_cmds_CXX=''
78.11236 + hardcode_direct_CXX=yes
78.11237 + hardcode_libdir_separator_CXX=':'
78.11238 + link_all_deplibs_CXX=yes
78.11239 +
78.11240 + if test "$GXX" = yes; then
78.11241 + case $host_os in aix4.[012]|aix4.[012].*)
78.11242 + # We only want to do this on AIX 4.2 and lower, the check
78.11243 + # below for broken collect2 doesn't work under 4.3+
78.11244 + collect2name=`${CC} -print-prog-name=collect2`
78.11245 + if test -f "$collect2name" && \
78.11246 + strings "$collect2name" | grep resolve_lib_name >/dev/null
78.11247 + then
78.11248 + # We have reworked collect2
78.11249 + hardcode_direct_CXX=yes
78.11250 + else
78.11251 + # We have old collect2
78.11252 + hardcode_direct_CXX=unsupported
78.11253 + # It fails to find uninstalled libraries when the uninstalled
78.11254 + # path is not listed in the libpath. Setting hardcode_minus_L
78.11255 + # to unsupported forces relinking
78.11256 + hardcode_minus_L_CXX=yes
78.11257 + hardcode_libdir_flag_spec_CXX='-L$libdir'
78.11258 + hardcode_libdir_separator_CXX=
78.11259 + fi
78.11260 + ;;
78.11261 + esac
78.11262 + shared_flag='-shared'
78.11263 + if test "$aix_use_runtimelinking" = yes; then
78.11264 + shared_flag="$shared_flag "'${wl}-G'
78.11265 + fi
78.11266 + else
78.11267 + # not using gcc
78.11268 + if test "$host_cpu" = ia64; then
78.11269 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
78.11270 + # chokes on -Wl,-G. The following line is correct:
78.11271 + shared_flag='-G'
78.11272 + else
78.11273 + if test "$aix_use_runtimelinking" = yes; then
78.11274 + shared_flag='${wl}-G'
78.11275 + else
78.11276 + shared_flag='${wl}-bM:SRE'
78.11277 + fi
78.11278 + fi
78.11279 + fi
78.11280 +
78.11281 + # It seems that -bexpall does not export symbols beginning with
78.11282 + # underscore (_), so it is better to generate a list of symbols to export.
78.11283 + always_export_symbols_CXX=yes
78.11284 + if test "$aix_use_runtimelinking" = yes; then
78.11285 + # Warning - without using the other runtime loading flags (-brtl),
78.11286 + # -berok will link without error, but may produce a broken library.
78.11287 + allow_undefined_flag_CXX='-berok'
78.11288 + # Determine the default libpath from the value encoded in an empty executable.
78.11289 + cat >conftest.$ac_ext <<_ACEOF
78.11290 +/* confdefs.h. */
78.11291 +_ACEOF
78.11292 +cat confdefs.h >>conftest.$ac_ext
78.11293 +cat >>conftest.$ac_ext <<_ACEOF
78.11294 +/* end confdefs.h. */
78.11295 +
78.11296 +int
78.11297 +main ()
78.11298 +{
78.11299 +
78.11300 + ;
78.11301 + return 0;
78.11302 +}
78.11303 +_ACEOF
78.11304 +rm -f conftest.$ac_objext conftest$ac_exeext
78.11305 +if { (ac_try="$ac_link"
78.11306 +case "(($ac_try" in
78.11307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11308 + *) ac_try_echo=$ac_try;;
78.11309 +esac
78.11310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11311 + (eval "$ac_link") 2>conftest.er1
78.11312 + ac_status=$?
78.11313 + grep -v '^ *+' conftest.er1 >conftest.err
78.11314 + rm -f conftest.er1
78.11315 + cat conftest.err >&5
78.11316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11317 + (exit $ac_status); } &&
78.11318 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.11319 + { (case "(($ac_try" in
78.11320 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11321 + *) ac_try_echo=$ac_try;;
78.11322 +esac
78.11323 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11324 + (eval "$ac_try") 2>&5
78.11325 + ac_status=$?
78.11326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11327 + (exit $ac_status); }; } &&
78.11328 + { ac_try='test -s conftest$ac_exeext'
78.11329 + { (case "(($ac_try" in
78.11330 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11331 + *) ac_try_echo=$ac_try;;
78.11332 +esac
78.11333 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11334 + (eval "$ac_try") 2>&5
78.11335 + ac_status=$?
78.11336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11337 + (exit $ac_status); }; }; then
78.11338 +
78.11339 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.11340 +}'`
78.11341 +# Check for a 64-bit object if we didn't find anything.
78.11342 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.11343 +}'`; fi
78.11344 +else
78.11345 + echo "$as_me: failed program was:" >&5
78.11346 +sed 's/^/| /' conftest.$ac_ext >&5
78.11347 +
78.11348 +
78.11349 +fi
78.11350 +
78.11351 +rm -f core conftest.err conftest.$ac_objext \
78.11352 + conftest$ac_exeext conftest.$ac_ext
78.11353 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.11354 +
78.11355 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
78.11356 +
78.11357 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
78.11358 + else
78.11359 + if test "$host_cpu" = ia64; then
78.11360 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
78.11361 + allow_undefined_flag_CXX="-z nodefs"
78.11362 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
78.11363 + else
78.11364 + # Determine the default libpath from the value encoded in an empty executable.
78.11365 + cat >conftest.$ac_ext <<_ACEOF
78.11366 +/* confdefs.h. */
78.11367 +_ACEOF
78.11368 +cat confdefs.h >>conftest.$ac_ext
78.11369 +cat >>conftest.$ac_ext <<_ACEOF
78.11370 +/* end confdefs.h. */
78.11371 +
78.11372 +int
78.11373 +main ()
78.11374 +{
78.11375 +
78.11376 + ;
78.11377 + return 0;
78.11378 +}
78.11379 +_ACEOF
78.11380 +rm -f conftest.$ac_objext conftest$ac_exeext
78.11381 +if { (ac_try="$ac_link"
78.11382 +case "(($ac_try" in
78.11383 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11384 + *) ac_try_echo=$ac_try;;
78.11385 +esac
78.11386 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11387 + (eval "$ac_link") 2>conftest.er1
78.11388 + ac_status=$?
78.11389 + grep -v '^ *+' conftest.er1 >conftest.err
78.11390 + rm -f conftest.er1
78.11391 + cat conftest.err >&5
78.11392 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11393 + (exit $ac_status); } &&
78.11394 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.11395 + { (case "(($ac_try" in
78.11396 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11397 + *) ac_try_echo=$ac_try;;
78.11398 +esac
78.11399 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11400 + (eval "$ac_try") 2>&5
78.11401 + ac_status=$?
78.11402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11403 + (exit $ac_status); }; } &&
78.11404 + { ac_try='test -s conftest$ac_exeext'
78.11405 + { (case "(($ac_try" in
78.11406 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.11407 + *) ac_try_echo=$ac_try;;
78.11408 +esac
78.11409 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.11410 + (eval "$ac_try") 2>&5
78.11411 + ac_status=$?
78.11412 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.11413 + (exit $ac_status); }; }; then
78.11414 +
78.11415 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.11416 +}'`
78.11417 +# Check for a 64-bit object if we didn't find anything.
78.11418 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.11419 +}'`; fi
78.11420 +else
78.11421 + echo "$as_me: failed program was:" >&5
78.11422 +sed 's/^/| /' conftest.$ac_ext >&5
78.11423 +
78.11424 +
78.11425 +fi
78.11426 +
78.11427 +rm -f core conftest.err conftest.$ac_objext \
78.11428 + conftest$ac_exeext conftest.$ac_ext
78.11429 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.11430 +
78.11431 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
78.11432 + # Warning - without using the other run time loading flags,
78.11433 + # -berok will link without error, but may produce a broken library.
78.11434 + no_undefined_flag_CXX=' ${wl}-bernotok'
78.11435 + allow_undefined_flag_CXX=' ${wl}-berok'
78.11436 + # Exported symbols can be pulled into shared objects from archives
78.11437 + whole_archive_flag_spec_CXX='$convenience'
78.11438 + archive_cmds_need_lc_CXX=yes
78.11439 + # This is similar to how AIX traditionally builds its shared libraries.
78.11440 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
78.11441 + fi
78.11442 + fi
78.11443 + ;;
78.11444 +
78.11445 + beos*)
78.11446 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.11447 + allow_undefined_flag_CXX=unsupported
78.11448 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
78.11449 + # support --undefined. This deserves some investigation. FIXME
78.11450 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.11451 + else
78.11452 + ld_shlibs_CXX=no
78.11453 + fi
78.11454 + ;;
78.11455 +
78.11456 + chorus*)
78.11457 + case $cc_basename in
78.11458 + *)
78.11459 + # FIXME: insert proper C++ library support
78.11460 + ld_shlibs_CXX=no
78.11461 + ;;
78.11462 + esac
78.11463 + ;;
78.11464 +
78.11465 + cygwin* | mingw* | pw32*)
78.11466 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
78.11467 + # as there is no search path for DLLs.
78.11468 + hardcode_libdir_flag_spec_CXX='-L$libdir'
78.11469 + allow_undefined_flag_CXX=unsupported
78.11470 + always_export_symbols_CXX=no
78.11471 + enable_shared_with_static_runtimes_CXX=yes
78.11472 +
78.11473 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
78.11474 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.11475 + # If the export-symbols file already is a .def file (1st line
78.11476 + # is EXPORTS), use it as is; otherwise, prepend...
78.11477 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
78.11478 + cp $export_symbols $output_objdir/$soname.def;
78.11479 + else
78.11480 + echo EXPORTS > $output_objdir/$soname.def;
78.11481 + cat $export_symbols >> $output_objdir/$soname.def;
78.11482 + fi~
78.11483 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.11484 + else
78.11485 + ld_shlibs_CXX=no
78.11486 + fi
78.11487 + ;;
78.11488 + darwin* | rhapsody*)
78.11489 + case $host_os in
78.11490 + rhapsody* | darwin1.[012])
78.11491 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
78.11492 + ;;
78.11493 + *) # Darwin 1.3 on
78.11494 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
78.11495 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.11496 + else
78.11497 + case ${MACOSX_DEPLOYMENT_TARGET} in
78.11498 + 10.[012])
78.11499 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.11500 + ;;
78.11501 + 10.*)
78.11502 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
78.11503 + ;;
78.11504 + esac
78.11505 + fi
78.11506 + ;;
78.11507 + esac
78.11508 + archive_cmds_need_lc_CXX=no
78.11509 + hardcode_direct_CXX=no
78.11510 + hardcode_automatic_CXX=yes
78.11511 + hardcode_shlibpath_var_CXX=unsupported
78.11512 + whole_archive_flag_spec_CXX=''
78.11513 + link_all_deplibs_CXX=yes
78.11514 +
78.11515 + if test "$GXX" = yes ; then
78.11516 + lt_int_apple_cc_single_mod=no
78.11517 + output_verbose_link_cmd='echo'
78.11518 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
78.11519 + lt_int_apple_cc_single_mod=yes
78.11520 + fi
78.11521 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
78.11522 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
78.11523 + else
78.11524 + archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
78.11525 + fi
78.11526 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.11527 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.11528 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
78.11529 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.11530 + else
78.11531 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.11532 + fi
78.11533 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.11534 + else
78.11535 + case $cc_basename in
78.11536 + xlc*)
78.11537 + output_verbose_link_cmd='echo'
78.11538 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
78.11539 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.11540 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.11541 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.11542 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.11543 + ;;
78.11544 + *)
78.11545 + ld_shlibs_CXX=no
78.11546 + ;;
78.11547 + esac
78.11548 + fi
78.11549 + ;;
78.11550 +
78.11551 + dgux*)
78.11552 + case $cc_basename in
78.11553 + ec++*)
78.11554 + # FIXME: insert proper C++ library support
78.11555 + ld_shlibs_CXX=no
78.11556 + ;;
78.11557 + ghcx*)
78.11558 + # Green Hills C++ Compiler
78.11559 + # FIXME: insert proper C++ library support
78.11560 + ld_shlibs_CXX=no
78.11561 + ;;
78.11562 + *)
78.11563 + # FIXME: insert proper C++ library support
78.11564 + ld_shlibs_CXX=no
78.11565 + ;;
78.11566 + esac
78.11567 + ;;
78.11568 + freebsd[12]*)
78.11569 + # C++ shared libraries reported to be fairly broken before switch to ELF
78.11570 + ld_shlibs_CXX=no
78.11571 + ;;
78.11572 + freebsd-elf*)
78.11573 + archive_cmds_need_lc_CXX=no
78.11574 + ;;
78.11575 + freebsd* | kfreebsd*-gnu | dragonfly*)
78.11576 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
78.11577 + # conventions
78.11578 + ld_shlibs_CXX=yes
78.11579 + ;;
78.11580 + gnu*)
78.11581 + ;;
78.11582 + hpux9*)
78.11583 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
78.11584 + hardcode_libdir_separator_CXX=:
78.11585 + export_dynamic_flag_spec_CXX='${wl}-E'
78.11586 + hardcode_direct_CXX=yes
78.11587 + hardcode_minus_L_CXX=yes # Not in the search PATH,
78.11588 + # but as the default
78.11589 + # location of the library.
78.11590 +
78.11591 + case $cc_basename in
78.11592 + CC*)
78.11593 + # FIXME: insert proper C++ library support
78.11594 + ld_shlibs_CXX=no
78.11595 + ;;
78.11596 + aCC*)
78.11597 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.11598 + # Commands to make compiler produce verbose output that lists
78.11599 + # what "hidden" libraries, object files and flags are used when
78.11600 + # linking a shared library.
78.11601 + #
78.11602 + # There doesn't appear to be a way to prevent this compiler from
78.11603 + # explicitly linking system object files so we need to strip them
78.11604 + # from the output so that they don't get included in the library
78.11605 + # dependencies.
78.11606 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11607 + ;;
78.11608 + *)
78.11609 + if test "$GXX" = yes; then
78.11610 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.11611 + else
78.11612 + # FIXME: insert proper C++ library support
78.11613 + ld_shlibs_CXX=no
78.11614 + fi
78.11615 + ;;
78.11616 + esac
78.11617 + ;;
78.11618 + hpux10*|hpux11*)
78.11619 + if test $with_gnu_ld = no; then
78.11620 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
78.11621 + hardcode_libdir_separator_CXX=:
78.11622 +
78.11623 + case $host_cpu in
78.11624 + hppa*64*|ia64*)
78.11625 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
78.11626 + ;;
78.11627 + *)
78.11628 + export_dynamic_flag_spec_CXX='${wl}-E'
78.11629 + ;;
78.11630 + esac
78.11631 + fi
78.11632 + case $host_cpu in
78.11633 + hppa*64*|ia64*)
78.11634 + hardcode_direct_CXX=no
78.11635 + hardcode_shlibpath_var_CXX=no
78.11636 + ;;
78.11637 + *)
78.11638 + hardcode_direct_CXX=yes
78.11639 + hardcode_minus_L_CXX=yes # Not in the search PATH,
78.11640 + # but as the default
78.11641 + # location of the library.
78.11642 + ;;
78.11643 + esac
78.11644 +
78.11645 + case $cc_basename in
78.11646 + CC*)
78.11647 + # FIXME: insert proper C++ library support
78.11648 + ld_shlibs_CXX=no
78.11649 + ;;
78.11650 + aCC*)
78.11651 + case $host_cpu in
78.11652 + hppa*64*)
78.11653 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11654 + ;;
78.11655 + ia64*)
78.11656 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11657 + ;;
78.11658 + *)
78.11659 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11660 + ;;
78.11661 + esac
78.11662 + # Commands to make compiler produce verbose output that lists
78.11663 + # what "hidden" libraries, object files and flags are used when
78.11664 + # linking a shared library.
78.11665 + #
78.11666 + # There doesn't appear to be a way to prevent this compiler from
78.11667 + # explicitly linking system object files so we need to strip them
78.11668 + # from the output so that they don't get included in the library
78.11669 + # dependencies.
78.11670 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11671 + ;;
78.11672 + *)
78.11673 + if test "$GXX" = yes; then
78.11674 + if test $with_gnu_ld = no; then
78.11675 + case $host_cpu in
78.11676 + hppa*64*)
78.11677 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11678 + ;;
78.11679 + ia64*)
78.11680 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11681 + ;;
78.11682 + *)
78.11683 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.11684 + ;;
78.11685 + esac
78.11686 + fi
78.11687 + else
78.11688 + # FIXME: insert proper C++ library support
78.11689 + ld_shlibs_CXX=no
78.11690 + fi
78.11691 + ;;
78.11692 + esac
78.11693 + ;;
78.11694 + interix3*)
78.11695 + hardcode_direct_CXX=no
78.11696 + hardcode_shlibpath_var_CXX=no
78.11697 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
78.11698 + export_dynamic_flag_spec_CXX='${wl}-E'
78.11699 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
78.11700 + # Instead, shared libraries are loaded at an image base (0x10000000 by
78.11701 + # default) and relocated if they conflict, which is a slow very memory
78.11702 + # consuming and fragmenting process. To avoid this, we pick a random,
78.11703 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
78.11704 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
78.11705 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.11706 + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.11707 + ;;
78.11708 + irix5* | irix6*)
78.11709 + case $cc_basename in
78.11710 + CC*)
78.11711 + # SGI C++
78.11712 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.11713 +
78.11714 + # Archives containing C++ object files must be created using
78.11715 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
78.11716 + # necessary to make sure instantiated templates are included
78.11717 + # in the archive.
78.11718 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
78.11719 + ;;
78.11720 + *)
78.11721 + if test "$GXX" = yes; then
78.11722 + if test "$with_gnu_ld" = no; then
78.11723 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.11724 + else
78.11725 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
78.11726 + fi
78.11727 + fi
78.11728 + link_all_deplibs_CXX=yes
78.11729 + ;;
78.11730 + esac
78.11731 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
78.11732 + hardcode_libdir_separator_CXX=:
78.11733 + ;;
78.11734 + linux*)
78.11735 + case $cc_basename in
78.11736 + KCC*)
78.11737 + # Kuck and Associates, Inc. (KAI) C++ Compiler
78.11738 +
78.11739 + # KCC will only create a shared library if the output file
78.11740 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
78.11741 + # to its proper name (with version) after linking.
78.11742 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
78.11743 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
78.11744 + # Commands to make compiler produce verbose output that lists
78.11745 + # what "hidden" libraries, object files and flags are used when
78.11746 + # linking a shared library.
78.11747 + #
78.11748 + # There doesn't appear to be a way to prevent this compiler from
78.11749 + # explicitly linking system object files so we need to strip them
78.11750 + # from the output so that they don't get included in the library
78.11751 + # dependencies.
78.11752 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11753 +
78.11754 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
78.11755 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
78.11756 +
78.11757 + # Archives containing C++ object files must be created using
78.11758 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
78.11759 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
78.11760 + ;;
78.11761 + icpc*)
78.11762 + # Intel C++
78.11763 + with_gnu_ld=yes
78.11764 + # version 8.0 and above of icpc choke on multiply defined symbols
78.11765 + # if we add $predep_objects and $postdep_objects, however 7.1 and
78.11766 + # earlier do not add the objects themselves.
78.11767 + case `$CC -V 2>&1` in
78.11768 + *"Version 7."*)
78.11769 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.11770 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.11771 + ;;
78.11772 + *) # Version 8.0 or newer
78.11773 + tmp_idyn=
78.11774 + case $host_cpu in
78.11775 + ia64*) tmp_idyn=' -i_dynamic';;
78.11776 + esac
78.11777 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.11778 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.11779 + ;;
78.11780 + esac
78.11781 + archive_cmds_need_lc_CXX=no
78.11782 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
78.11783 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
78.11784 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
78.11785 + ;;
78.11786 + pgCC*)
78.11787 + # Portland Group C++ compiler
78.11788 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
78.11789 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
78.11790 +
78.11791 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
78.11792 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
78.11793 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.11794 + ;;
78.11795 + cxx*)
78.11796 + # Compaq C++
78.11797 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.11798 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
78.11799 +
78.11800 + runpath_var=LD_RUN_PATH
78.11801 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
78.11802 + hardcode_libdir_separator_CXX=:
78.11803 +
78.11804 + # Commands to make compiler produce verbose output that lists
78.11805 + # what "hidden" libraries, object files and flags are used when
78.11806 + # linking a shared library.
78.11807 + #
78.11808 + # There doesn't appear to be a way to prevent this compiler from
78.11809 + # explicitly linking system object files so we need to strip them
78.11810 + # from the output so that they don't get included in the library
78.11811 + # dependencies.
78.11812 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11813 + ;;
78.11814 + esac
78.11815 + ;;
78.11816 + lynxos*)
78.11817 + # FIXME: insert proper C++ library support
78.11818 + ld_shlibs_CXX=no
78.11819 + ;;
78.11820 + m88k*)
78.11821 + # FIXME: insert proper C++ library support
78.11822 + ld_shlibs_CXX=no
78.11823 + ;;
78.11824 + mvs*)
78.11825 + case $cc_basename in
78.11826 + cxx*)
78.11827 + # FIXME: insert proper C++ library support
78.11828 + ld_shlibs_CXX=no
78.11829 + ;;
78.11830 + *)
78.11831 + # FIXME: insert proper C++ library support
78.11832 + ld_shlibs_CXX=no
78.11833 + ;;
78.11834 + esac
78.11835 + ;;
78.11836 + netbsd*)
78.11837 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.11838 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
78.11839 + wlarc=
78.11840 + hardcode_libdir_flag_spec_CXX='-R$libdir'
78.11841 + hardcode_direct_CXX=yes
78.11842 + hardcode_shlibpath_var_CXX=no
78.11843 + fi
78.11844 + # Workaround some broken pre-1.5 toolchains
78.11845 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
78.11846 + ;;
78.11847 + openbsd2*)
78.11848 + # C++ shared libraries are fairly broken
78.11849 + ld_shlibs_CXX=no
78.11850 + ;;
78.11851 + openbsd*)
78.11852 + hardcode_direct_CXX=yes
78.11853 + hardcode_shlibpath_var_CXX=no
78.11854 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
78.11855 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
78.11856 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.11857 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
78.11858 + export_dynamic_flag_spec_CXX='${wl}-E'
78.11859 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
78.11860 + fi
78.11861 + output_verbose_link_cmd='echo'
78.11862 + ;;
78.11863 + osf3*)
78.11864 + case $cc_basename in
78.11865 + KCC*)
78.11866 + # Kuck and Associates, Inc. (KAI) C++ Compiler
78.11867 +
78.11868 + # KCC will only create a shared library if the output file
78.11869 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
78.11870 + # to its proper name (with version) after linking.
78.11871 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
78.11872 +
78.11873 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
78.11874 + hardcode_libdir_separator_CXX=:
78.11875 +
78.11876 + # Archives containing C++ object files must be created using
78.11877 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
78.11878 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
78.11879 +
78.11880 + ;;
78.11881 + RCC*)
78.11882 + # Rational C++ 2.4.1
78.11883 + # FIXME: insert proper C++ library support
78.11884 + ld_shlibs_CXX=no
78.11885 + ;;
78.11886 + cxx*)
78.11887 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
78.11888 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.11889 +
78.11890 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
78.11891 + hardcode_libdir_separator_CXX=:
78.11892 +
78.11893 + # Commands to make compiler produce verbose output that lists
78.11894 + # what "hidden" libraries, object files and flags are used when
78.11895 + # linking a shared library.
78.11896 + #
78.11897 + # There doesn't appear to be a way to prevent this compiler from
78.11898 + # explicitly linking system object files so we need to strip them
78.11899 + # from the output so that they don't get included in the library
78.11900 + # dependencies.
78.11901 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11902 + ;;
78.11903 + *)
78.11904 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
78.11905 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
78.11906 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.11907 +
78.11908 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
78.11909 + hardcode_libdir_separator_CXX=:
78.11910 +
78.11911 + # Commands to make compiler produce verbose output that lists
78.11912 + # what "hidden" libraries, object files and flags are used when
78.11913 + # linking a shared library.
78.11914 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
78.11915 +
78.11916 + else
78.11917 + # FIXME: insert proper C++ library support
78.11918 + ld_shlibs_CXX=no
78.11919 + fi
78.11920 + ;;
78.11921 + esac
78.11922 + ;;
78.11923 + osf4* | osf5*)
78.11924 + case $cc_basename in
78.11925 + KCC*)
78.11926 + # Kuck and Associates, Inc. (KAI) C++ Compiler
78.11927 +
78.11928 + # KCC will only create a shared library if the output file
78.11929 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
78.11930 + # to its proper name (with version) after linking.
78.11931 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
78.11932 +
78.11933 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
78.11934 + hardcode_libdir_separator_CXX=:
78.11935 +
78.11936 + # Archives containing C++ object files must be created using
78.11937 + # the KAI C++ compiler.
78.11938 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
78.11939 + ;;
78.11940 + RCC*)
78.11941 + # Rational C++ 2.4.1
78.11942 + # FIXME: insert proper C++ library support
78.11943 + ld_shlibs_CXX=no
78.11944 + ;;
78.11945 + cxx*)
78.11946 + allow_undefined_flag_CXX=' -expect_unresolved \*'
78.11947 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.11948 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
78.11949 + echo "-hidden">> $lib.exp~
78.11950 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
78.11951 + $rm $lib.exp'
78.11952 +
78.11953 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
78.11954 + hardcode_libdir_separator_CXX=:
78.11955 +
78.11956 + # Commands to make compiler produce verbose output that lists
78.11957 + # what "hidden" libraries, object files and flags are used when
78.11958 + # linking a shared library.
78.11959 + #
78.11960 + # There doesn't appear to be a way to prevent this compiler from
78.11961 + # explicitly linking system object files so we need to strip them
78.11962 + # from the output so that they don't get included in the library
78.11963 + # dependencies.
78.11964 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
78.11965 + ;;
78.11966 + *)
78.11967 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
78.11968 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
78.11969 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.11970 +
78.11971 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
78.11972 + hardcode_libdir_separator_CXX=:
78.11973 +
78.11974 + # Commands to make compiler produce verbose output that lists
78.11975 + # what "hidden" libraries, object files and flags are used when
78.11976 + # linking a shared library.
78.11977 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
78.11978 +
78.11979 + else
78.11980 + # FIXME: insert proper C++ library support
78.11981 + ld_shlibs_CXX=no
78.11982 + fi
78.11983 + ;;
78.11984 + esac
78.11985 + ;;
78.11986 + psos*)
78.11987 + # FIXME: insert proper C++ library support
78.11988 + ld_shlibs_CXX=no
78.11989 + ;;
78.11990 + sunos4*)
78.11991 + case $cc_basename in
78.11992 + CC*)
78.11993 + # Sun C++ 4.x
78.11994 + # FIXME: insert proper C++ library support
78.11995 + ld_shlibs_CXX=no
78.11996 + ;;
78.11997 + lcc*)
78.11998 + # Lucid
78.11999 + # FIXME: insert proper C++ library support
78.12000 + ld_shlibs_CXX=no
78.12001 + ;;
78.12002 + *)
78.12003 + # FIXME: insert proper C++ library support
78.12004 + ld_shlibs_CXX=no
78.12005 + ;;
78.12006 + esac
78.12007 + ;;
78.12008 + solaris*)
78.12009 + case $cc_basename in
78.12010 + CC*)
78.12011 + # Sun C++ 4.2, 5.x and Centerline C++
78.12012 + archive_cmds_need_lc_CXX=yes
78.12013 + no_undefined_flag_CXX=' -zdefs'
78.12014 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
78.12015 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.12016 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
78.12017 +
78.12018 + hardcode_libdir_flag_spec_CXX='-R$libdir'
78.12019 + hardcode_shlibpath_var_CXX=no
78.12020 + case $host_os in
78.12021 + solaris2.[0-5] | solaris2.[0-5].*) ;;
78.12022 + *)
78.12023 + # The C++ compiler is used as linker so we must use $wl
78.12024 + # flag to pass the commands to the underlying system
78.12025 + # linker. We must also pass each convience library through
78.12026 + # to the system linker between allextract/defaultextract.
78.12027 + # The C++ compiler will combine linker options so we
78.12028 + # cannot just pass the convience library names through
78.12029 + # without $wl.
78.12030 + # Supported since Solaris 2.6 (maybe 2.5.1?)
78.12031 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
78.12032 + ;;
78.12033 + esac
78.12034 + link_all_deplibs_CXX=yes
78.12035 +
78.12036 + output_verbose_link_cmd='echo'
78.12037 +
78.12038 + # Archives containing C++ object files must be created using
78.12039 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
78.12040 + # necessary to make sure instantiated templates are included
78.12041 + # in the archive.
78.12042 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
78.12043 + ;;
78.12044 + gcx*)
78.12045 + # Green Hills C++ Compiler
78.12046 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
78.12047 +
78.12048 + # The C++ compiler must be used to create the archive.
78.12049 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
78.12050 + ;;
78.12051 + *)
78.12052 + # GNU C++ compiler with Solaris linker
78.12053 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
78.12054 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
78.12055 + if $CC --version | grep -v '^2\.7' > /dev/null; then
78.12056 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
78.12057 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.12058 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
78.12059 +
78.12060 + # Commands to make compiler produce verbose output that lists
78.12061 + # what "hidden" libraries, object files and flags are used when
78.12062 + # linking a shared library.
78.12063 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
78.12064 + else
78.12065 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
78.12066 + # platform.
78.12067 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
78.12068 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.12069 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
78.12070 +
78.12071 + # Commands to make compiler produce verbose output that lists
78.12072 + # what "hidden" libraries, object files and flags are used when
78.12073 + # linking a shared library.
78.12074 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
78.12075 + fi
78.12076 +
78.12077 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
78.12078 + fi
78.12079 + ;;
78.12080 + esac
78.12081 + ;;
78.12082 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
78.12083 + no_undefined_flag_CXX='${wl}-z,text'
78.12084 + archive_cmds_need_lc_CXX=no
78.12085 + hardcode_shlibpath_var_CXX=no
78.12086 + runpath_var='LD_RUN_PATH'
78.12087 +
78.12088 + case $cc_basename in
78.12089 + CC*)
78.12090 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12091 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12092 + ;;
78.12093 + *)
78.12094 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12095 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12096 + ;;
78.12097 + esac
78.12098 + ;;
78.12099 + sysv5* | sco3.2v5* | sco5v6*)
78.12100 + # Note: We can NOT use -z defs as we might desire, because we do not
78.12101 + # link with -lc, and that would cause any symbols used from libc to
78.12102 + # always be unresolved, which means just about no library would
78.12103 + # ever link correctly. If we're not using GNU ld we use -z text
78.12104 + # though, which does catch some bad symbols but isn't as heavy-handed
78.12105 + # as -z defs.
78.12106 + # For security reasons, it is highly recommended that you always
78.12107 + # use absolute paths for naming shared libraries, and exclude the
78.12108 + # DT_RUNPATH tag from executables and libraries. But doing so
78.12109 + # requires that you compile everything twice, which is a pain.
78.12110 + # So that behaviour is only enabled if SCOABSPATH is set to a
78.12111 + # non-empty value in the environment. Most likely only useful for
78.12112 + # creating official distributions of packages.
78.12113 + # This is a hack until libtool officially supports absolute path
78.12114 + # names for shared libraries.
78.12115 + no_undefined_flag_CXX='${wl}-z,text'
78.12116 + allow_undefined_flag_CXX='${wl}-z,nodefs'
78.12117 + archive_cmds_need_lc_CXX=no
78.12118 + hardcode_shlibpath_var_CXX=no
78.12119 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
78.12120 + hardcode_libdir_separator_CXX=':'
78.12121 + link_all_deplibs_CXX=yes
78.12122 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
78.12123 + runpath_var='LD_RUN_PATH'
78.12124 +
78.12125 + case $cc_basename in
78.12126 + CC*)
78.12127 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12128 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12129 + ;;
78.12130 + *)
78.12131 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12132 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.12133 + ;;
78.12134 + esac
78.12135 + ;;
78.12136 + tandem*)
78.12137 + case $cc_basename in
78.12138 + NCC*)
78.12139 + # NonStop-UX NCC 3.20
78.12140 + # FIXME: insert proper C++ library support
78.12141 + ld_shlibs_CXX=no
78.12142 + ;;
78.12143 + *)
78.12144 + # FIXME: insert proper C++ library support
78.12145 + ld_shlibs_CXX=no
78.12146 + ;;
78.12147 + esac
78.12148 + ;;
78.12149 + vxworks*)
78.12150 + # FIXME: insert proper C++ library support
78.12151 + ld_shlibs_CXX=no
78.12152 + ;;
78.12153 + *)
78.12154 + # FIXME: insert proper C++ library support
78.12155 + ld_shlibs_CXX=no
78.12156 + ;;
78.12157 +esac
78.12158 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
78.12159 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
78.12160 +test "$ld_shlibs_CXX" = no && can_build_shared=no
78.12161 +
78.12162 +GCC_CXX="$GXX"
78.12163 +LD_CXX="$LD"
78.12164 +
78.12165 +
78.12166 +cat > conftest.$ac_ext <<EOF
78.12167 +class Foo
78.12168 +{
78.12169 +public:
78.12170 + Foo (void) { a = 0; }
78.12171 +private:
78.12172 + int a;
78.12173 +};
78.12174 +EOF
78.12175 +
78.12176 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.12177 + (eval $ac_compile) 2>&5
78.12178 + ac_status=$?
78.12179 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.12180 + (exit $ac_status); }; then
78.12181 + # Parse the compiler output and extract the necessary
78.12182 + # objects, libraries and library flags.
78.12183 +
78.12184 + # Sentinel used to keep track of whether or not we are before
78.12185 + # the conftest object file.
78.12186 + pre_test_object_deps_done=no
78.12187 +
78.12188 + # The `*' in the case matches for architectures that use `case' in
78.12189 + # $output_verbose_cmd can trigger glob expansion during the loop
78.12190 + # eval without this substitution.
78.12191 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
78.12192 +
78.12193 + for p in `eval $output_verbose_link_cmd`; do
78.12194 + case $p in
78.12195 +
78.12196 + -L* | -R* | -l*)
78.12197 + # Some compilers place space between "-{L,R}" and the path.
78.12198 + # Remove the space.
78.12199 + if test $p = "-L" \
78.12200 + || test $p = "-R"; then
78.12201 + prev=$p
78.12202 + continue
78.12203 + else
78.12204 + prev=
78.12205 + fi
78.12206 +
78.12207 + if test "$pre_test_object_deps_done" = no; then
78.12208 + case $p in
78.12209 + -L* | -R*)
78.12210 + # Internal compiler library paths should come after those
78.12211 + # provided the user. The postdeps already come after the
78.12212 + # user supplied libs so there is no need to process them.
78.12213 + if test -z "$compiler_lib_search_path_CXX"; then
78.12214 + compiler_lib_search_path_CXX="${prev}${p}"
78.12215 + else
78.12216 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
78.12217 + fi
78.12218 + ;;
78.12219 + # The "-l" case would never come before the object being
78.12220 + # linked, so don't bother handling this case.
78.12221 + esac
78.12222 + else
78.12223 + if test -z "$postdeps_CXX"; then
78.12224 + postdeps_CXX="${prev}${p}"
78.12225 + else
78.12226 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
78.12227 + fi
78.12228 + fi
78.12229 + ;;
78.12230 +
78.12231 + *.$objext)
78.12232 + # This assumes that the test object file only shows up
78.12233 + # once in the compiler output.
78.12234 + if test "$p" = "conftest.$objext"; then
78.12235 + pre_test_object_deps_done=yes
78.12236 + continue
78.12237 + fi
78.12238 +
78.12239 + if test "$pre_test_object_deps_done" = no; then
78.12240 + if test -z "$predep_objects_CXX"; then
78.12241 + predep_objects_CXX="$p"
78.12242 + else
78.12243 + predep_objects_CXX="$predep_objects_CXX $p"
78.12244 + fi
78.12245 + else
78.12246 + if test -z "$postdep_objects_CXX"; then
78.12247 + postdep_objects_CXX="$p"
78.12248 + else
78.12249 + postdep_objects_CXX="$postdep_objects_CXX $p"
78.12250 + fi
78.12251 + fi
78.12252 + ;;
78.12253 +
78.12254 + *) ;; # Ignore the rest.
78.12255 +
78.12256 + esac
78.12257 + done
78.12258 +
78.12259 + # Clean up.
78.12260 + rm -f a.out a.exe
78.12261 +else
78.12262 + echo "libtool.m4: error: problem compiling CXX test program"
78.12263 +fi
78.12264 +
78.12265 +$rm -f confest.$objext
78.12266 +
78.12267 +# PORTME: override above test on systems where it is broken
78.12268 +case $host_os in
78.12269 +interix3*)
78.12270 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
78.12271 + # hack all around it, let's just trust "g++" to DTRT.
78.12272 + predep_objects_CXX=
78.12273 + postdep_objects_CXX=
78.12274 + postdeps_CXX=
78.12275 + ;;
78.12276 +
78.12277 +solaris*)
78.12278 + case $cc_basename in
78.12279 + CC*)
78.12280 + # Adding this requires a known-good setup of shared libraries for
78.12281 + # Sun compiler versions before 5.6, else PIC objects from an old
78.12282 + # archive will be linked into the output, leading to subtle bugs.
78.12283 + postdeps_CXX='-lCstd -lCrun'
78.12284 + ;;
78.12285 + esac
78.12286 + ;;
78.12287 +esac
78.12288 +
78.12289 +
78.12290 +case " $postdeps_CXX " in
78.12291 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
78.12292 +esac
78.12293 +
78.12294 +lt_prog_compiler_wl_CXX=
78.12295 +lt_prog_compiler_pic_CXX=
78.12296 +lt_prog_compiler_static_CXX=
78.12297 +
78.12298 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
78.12299 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
78.12300 +
78.12301 + # C++ specific cases for pic, static, wl, etc.
78.12302 + if test "$GXX" = yes; then
78.12303 + lt_prog_compiler_wl_CXX='-Wl,'
78.12304 + lt_prog_compiler_static_CXX='-static'
78.12305 +
78.12306 + case $host_os in
78.12307 + aix*)
78.12308 + # All AIX code is PIC.
78.12309 + if test "$host_cpu" = ia64; then
78.12310 + # AIX 5 now supports IA64 processor
78.12311 + lt_prog_compiler_static_CXX='-Bstatic'
78.12312 + fi
78.12313 + ;;
78.12314 + amigaos*)
78.12315 + # FIXME: we need at least 68020 code to build shared libraries, but
78.12316 + # adding the `-m68020' flag to GCC prevents building anything better,
78.12317 + # like `-m68040'.
78.12318 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
78.12319 + ;;
78.12320 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
78.12321 + # PIC is the default for these OSes.
78.12322 + ;;
78.12323 + mingw* | os2* | pw32*)
78.12324 + # This hack is so that the source file can tell whether it is being
78.12325 + # built for inclusion in a dll (and should export symbols for example).
78.12326 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
78.12327 + ;;
78.12328 + darwin* | rhapsody*)
78.12329 + # PIC is the default on this platform
78.12330 + # Common symbols not allowed in MH_DYLIB files
78.12331 + lt_prog_compiler_pic_CXX='-fno-common'
78.12332 + ;;
78.12333 + *djgpp*)
78.12334 + # DJGPP does not support shared libraries at all
78.12335 + lt_prog_compiler_pic_CXX=
78.12336 + ;;
78.12337 + interix3*)
78.12338 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
78.12339 + # Instead, we relocate shared libraries at runtime.
78.12340 + ;;
78.12341 + sysv4*MP*)
78.12342 + if test -d /usr/nec; then
78.12343 + lt_prog_compiler_pic_CXX=-Kconform_pic
78.12344 + fi
78.12345 + ;;
78.12346 + hpux*)
78.12347 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.12348 + # not for PA HP-UX.
78.12349 + case $host_cpu in
78.12350 + hppa*64*|ia64*)
78.12351 + ;;
78.12352 + *)
78.12353 + lt_prog_compiler_pic_CXX='-fPIC'
78.12354 + ;;
78.12355 + esac
78.12356 + ;;
78.12357 + *)
78.12358 + lt_prog_compiler_pic_CXX='-fPIC'
78.12359 + ;;
78.12360 + esac
78.12361 + else
78.12362 + case $host_os in
78.12363 + aix4* | aix5*)
78.12364 + # All AIX code is PIC.
78.12365 + if test "$host_cpu" = ia64; then
78.12366 + # AIX 5 now supports IA64 processor
78.12367 + lt_prog_compiler_static_CXX='-Bstatic'
78.12368 + else
78.12369 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
78.12370 + fi
78.12371 + ;;
78.12372 + chorus*)
78.12373 + case $cc_basename in
78.12374 + cxch68*)
78.12375 + # Green Hills C++ Compiler
78.12376 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
78.12377 + ;;
78.12378 + esac
78.12379 + ;;
78.12380 + darwin*)
78.12381 + # PIC is the default on this platform
78.12382 + # Common symbols not allowed in MH_DYLIB files
78.12383 + case $cc_basename in
78.12384 + xlc*)
78.12385 + lt_prog_compiler_pic_CXX='-qnocommon'
78.12386 + lt_prog_compiler_wl_CXX='-Wl,'
78.12387 + ;;
78.12388 + esac
78.12389 + ;;
78.12390 + dgux*)
78.12391 + case $cc_basename in
78.12392 + ec++*)
78.12393 + lt_prog_compiler_pic_CXX='-KPIC'
78.12394 + ;;
78.12395 + ghcx*)
78.12396 + # Green Hills C++ Compiler
78.12397 + lt_prog_compiler_pic_CXX='-pic'
78.12398 + ;;
78.12399 + *)
78.12400 + ;;
78.12401 + esac
78.12402 + ;;
78.12403 + freebsd* | kfreebsd*-gnu | dragonfly*)
78.12404 + # FreeBSD uses GNU C++
78.12405 + ;;
78.12406 + hpux9* | hpux10* | hpux11*)
78.12407 + case $cc_basename in
78.12408 + CC*)
78.12409 + lt_prog_compiler_wl_CXX='-Wl,'
78.12410 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
78.12411 + if test "$host_cpu" != ia64; then
78.12412 + lt_prog_compiler_pic_CXX='+Z'
78.12413 + fi
78.12414 + ;;
78.12415 + aCC*)
78.12416 + lt_prog_compiler_wl_CXX='-Wl,'
78.12417 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
78.12418 + case $host_cpu in
78.12419 + hppa*64*|ia64*)
78.12420 + # +Z the default
78.12421 + ;;
78.12422 + *)
78.12423 + lt_prog_compiler_pic_CXX='+Z'
78.12424 + ;;
78.12425 + esac
78.12426 + ;;
78.12427 + *)
78.12428 + ;;
78.12429 + esac
78.12430 + ;;
78.12431 + interix*)
78.12432 + # This is c89, which is MS Visual C++ (no shared libs)
78.12433 + # Anyone wants to do a port?
78.12434 + ;;
78.12435 + irix5* | irix6* | nonstopux*)
78.12436 + case $cc_basename in
78.12437 + CC*)
78.12438 + lt_prog_compiler_wl_CXX='-Wl,'
78.12439 + lt_prog_compiler_static_CXX='-non_shared'
78.12440 + # CC pic flag -KPIC is the default.
78.12441 + ;;
78.12442 + *)
78.12443 + ;;
78.12444 + esac
78.12445 + ;;
78.12446 + linux*)
78.12447 + case $cc_basename in
78.12448 + KCC*)
78.12449 + # KAI C++ Compiler
78.12450 + lt_prog_compiler_wl_CXX='--backend -Wl,'
78.12451 + lt_prog_compiler_pic_CXX='-fPIC'
78.12452 + ;;
78.12453 + icpc* | ecpc*)
78.12454 + # Intel C++
78.12455 + lt_prog_compiler_wl_CXX='-Wl,'
78.12456 + lt_prog_compiler_pic_CXX='-KPIC'
78.12457 + lt_prog_compiler_static_CXX='-static'
78.12458 + ;;
78.12459 + pgCC*)
78.12460 + # Portland Group C++ compiler.
78.12461 + lt_prog_compiler_wl_CXX='-Wl,'
78.12462 + lt_prog_compiler_pic_CXX='-fpic'
78.12463 + lt_prog_compiler_static_CXX='-Bstatic'
78.12464 + ;;
78.12465 + cxx*)
78.12466 + # Compaq C++
78.12467 + # Make sure the PIC flag is empty. It appears that all Alpha
78.12468 + # Linux and Compaq Tru64 Unix objects are PIC.
78.12469 + lt_prog_compiler_pic_CXX=
78.12470 + lt_prog_compiler_static_CXX='-non_shared'
78.12471 + ;;
78.12472 + *)
78.12473 + ;;
78.12474 + esac
78.12475 + ;;
78.12476 + lynxos*)
78.12477 + ;;
78.12478 + m88k*)
78.12479 + ;;
78.12480 + mvs*)
78.12481 + case $cc_basename in
78.12482 + cxx*)
78.12483 + lt_prog_compiler_pic_CXX='-W c,exportall'
78.12484 + ;;
78.12485 + *)
78.12486 + ;;
78.12487 + esac
78.12488 + ;;
78.12489 + netbsd*)
78.12490 + ;;
78.12491 + osf3* | osf4* | osf5*)
78.12492 + case $cc_basename in
78.12493 + KCC*)
78.12494 + lt_prog_compiler_wl_CXX='--backend -Wl,'
78.12495 + ;;
78.12496 + RCC*)
78.12497 + # Rational C++ 2.4.1
78.12498 + lt_prog_compiler_pic_CXX='-pic'
78.12499 + ;;
78.12500 + cxx*)
78.12501 + # Digital/Compaq C++
78.12502 + lt_prog_compiler_wl_CXX='-Wl,'
78.12503 + # Make sure the PIC flag is empty. It appears that all Alpha
78.12504 + # Linux and Compaq Tru64 Unix objects are PIC.
78.12505 + lt_prog_compiler_pic_CXX=
78.12506 + lt_prog_compiler_static_CXX='-non_shared'
78.12507 + ;;
78.12508 + *)
78.12509 + ;;
78.12510 + esac
78.12511 + ;;
78.12512 + psos*)
78.12513 + ;;
78.12514 + solaris*)
78.12515 + case $cc_basename in
78.12516 + CC*)
78.12517 + # Sun C++ 4.2, 5.x and Centerline C++
78.12518 + lt_prog_compiler_pic_CXX='-KPIC'
78.12519 + lt_prog_compiler_static_CXX='-Bstatic'
78.12520 + lt_prog_compiler_wl_CXX='-Qoption ld '
78.12521 + ;;
78.12522 + gcx*)
78.12523 + # Green Hills C++ Compiler
78.12524 + lt_prog_compiler_pic_CXX='-PIC'
78.12525 + ;;
78.12526 + *)
78.12527 + ;;
78.12528 + esac
78.12529 + ;;
78.12530 + sunos4*)
78.12531 + case $cc_basename in
78.12532 + CC*)
78.12533 + # Sun C++ 4.x
78.12534 + lt_prog_compiler_pic_CXX='-pic'
78.12535 + lt_prog_compiler_static_CXX='-Bstatic'
78.12536 + ;;
78.12537 + lcc*)
78.12538 + # Lucid
78.12539 + lt_prog_compiler_pic_CXX='-pic'
78.12540 + ;;
78.12541 + *)
78.12542 + ;;
78.12543 + esac
78.12544 + ;;
78.12545 + tandem*)
78.12546 + case $cc_basename in
78.12547 + NCC*)
78.12548 + # NonStop-UX NCC 3.20
78.12549 + lt_prog_compiler_pic_CXX='-KPIC'
78.12550 + ;;
78.12551 + *)
78.12552 + ;;
78.12553 + esac
78.12554 + ;;
78.12555 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
78.12556 + case $cc_basename in
78.12557 + CC*)
78.12558 + lt_prog_compiler_wl_CXX='-Wl,'
78.12559 + lt_prog_compiler_pic_CXX='-KPIC'
78.12560 + lt_prog_compiler_static_CXX='-Bstatic'
78.12561 + ;;
78.12562 + esac
78.12563 + ;;
78.12564 + vxworks*)
78.12565 + ;;
78.12566 + *)
78.12567 + lt_prog_compiler_can_build_shared_CXX=no
78.12568 + ;;
78.12569 + esac
78.12570 + fi
78.12571 +
78.12572 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
78.12573 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
78.12574 +
78.12575 +#
78.12576 +# Check to make sure the PIC flag actually works.
78.12577 +#
78.12578 +if test -n "$lt_prog_compiler_pic_CXX"; then
78.12579 +
78.12580 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
78.12581 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
78.12582 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
78.12583 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.12584 +else
78.12585 + lt_prog_compiler_pic_works_CXX=no
78.12586 + ac_outfile=conftest.$ac_objext
78.12587 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.12588 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
78.12589 + # Insert the option either (1) after the last *FLAGS variable, or
78.12590 + # (2) before a word containing "conftest.", or (3) at the end.
78.12591 + # Note that $ac_compile itself does not contain backslashes and begins
78.12592 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.12593 + # The option is referenced via a variable to avoid confusing sed.
78.12594 + lt_compile=`echo "$ac_compile" | $SED \
78.12595 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.12596 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.12597 + -e 's:$: $lt_compiler_flag:'`
78.12598 + (eval echo "\"\$as_me:12595: $lt_compile\"" >&5)
78.12599 + (eval "$lt_compile" 2>conftest.err)
78.12600 + ac_status=$?
78.12601 + cat conftest.err >&5
78.12602 + echo "$as_me:12599: \$? = $ac_status" >&5
78.12603 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.12604 + # The compiler can only warn and ignore the option if not recognized
78.12605 + # So say no if there are warnings other than the usual output.
78.12606 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.12607 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.12608 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.12609 + lt_prog_compiler_pic_works_CXX=yes
78.12610 + fi
78.12611 + fi
78.12612 + $rm conftest*
78.12613 +
78.12614 +fi
78.12615 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
78.12616 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
78.12617 +
78.12618 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
78.12619 + case $lt_prog_compiler_pic_CXX in
78.12620 + "" | " "*) ;;
78.12621 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
78.12622 + esac
78.12623 +else
78.12624 + lt_prog_compiler_pic_CXX=
78.12625 + lt_prog_compiler_can_build_shared_CXX=no
78.12626 +fi
78.12627 +
78.12628 +fi
78.12629 +case $host_os in
78.12630 + # For platforms which do not support PIC, -DPIC is meaningless:
78.12631 + *djgpp*)
78.12632 + lt_prog_compiler_pic_CXX=
78.12633 + ;;
78.12634 + *)
78.12635 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
78.12636 + ;;
78.12637 +esac
78.12638 +
78.12639 +#
78.12640 +# Check to make sure the static flag actually works.
78.12641 +#
78.12642 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
78.12643 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
78.12644 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
78.12645 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
78.12646 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.12647 +else
78.12648 + lt_prog_compiler_static_works_CXX=no
78.12649 + save_LDFLAGS="$LDFLAGS"
78.12650 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
78.12651 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
78.12652 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
78.12653 + # The linker can only warn and ignore the option if not recognized
78.12654 + # So say no if there are warnings
78.12655 + if test -s conftest.err; then
78.12656 + # Append any errors to the config.log.
78.12657 + cat conftest.err 1>&5
78.12658 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
78.12659 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.12660 + if diff conftest.exp conftest.er2 >/dev/null; then
78.12661 + lt_prog_compiler_static_works_CXX=yes
78.12662 + fi
78.12663 + else
78.12664 + lt_prog_compiler_static_works_CXX=yes
78.12665 + fi
78.12666 + fi
78.12667 + $rm conftest*
78.12668 + LDFLAGS="$save_LDFLAGS"
78.12669 +
78.12670 +fi
78.12671 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
78.12672 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
78.12673 +
78.12674 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
78.12675 + :
78.12676 +else
78.12677 + lt_prog_compiler_static_CXX=
78.12678 +fi
78.12679 +
78.12680 +
78.12681 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
78.12682 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
78.12683 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
78.12684 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.12685 +else
78.12686 + lt_cv_prog_compiler_c_o_CXX=no
78.12687 + $rm -r conftest 2>/dev/null
78.12688 + mkdir conftest
78.12689 + cd conftest
78.12690 + mkdir out
78.12691 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.12692 +
78.12693 + lt_compiler_flag="-o out/conftest2.$ac_objext"
78.12694 + # Insert the option either (1) after the last *FLAGS variable, or
78.12695 + # (2) before a word containing "conftest.", or (3) at the end.
78.12696 + # Note that $ac_compile itself does not contain backslashes and begins
78.12697 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.12698 + lt_compile=`echo "$ac_compile" | $SED \
78.12699 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.12700 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.12701 + -e 's:$: $lt_compiler_flag:'`
78.12702 + (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
78.12703 + (eval "$lt_compile" 2>out/conftest.err)
78.12704 + ac_status=$?
78.12705 + cat out/conftest.err >&5
78.12706 + echo "$as_me:12703: \$? = $ac_status" >&5
78.12707 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
78.12708 + then
78.12709 + # The compiler can only warn and ignore the option if not recognized
78.12710 + # So say no if there are warnings
78.12711 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
78.12712 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
78.12713 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
78.12714 + lt_cv_prog_compiler_c_o_CXX=yes
78.12715 + fi
78.12716 + fi
78.12717 + chmod u+w . 2>&5
78.12718 + $rm conftest*
78.12719 + # SGI C++ compiler will create directory out/ii_files/ for
78.12720 + # template instantiation
78.12721 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
78.12722 + $rm out/* && rmdir out
78.12723 + cd ..
78.12724 + rmdir conftest
78.12725 + $rm conftest*
78.12726 +
78.12727 +fi
78.12728 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
78.12729 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
78.12730 +
78.12731 +
78.12732 +hard_links="nottested"
78.12733 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
78.12734 + # do not overwrite the value of need_locks provided by the user
78.12735 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
78.12736 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
78.12737 + hard_links=yes
78.12738 + $rm conftest*
78.12739 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.12740 + touch conftest.a
78.12741 + ln conftest.a conftest.b 2>&5 || hard_links=no
78.12742 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.12743 + { echo "$as_me:$LINENO: result: $hard_links" >&5
78.12744 +echo "${ECHO_T}$hard_links" >&6; }
78.12745 + if test "$hard_links" = no; then
78.12746 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
78.12747 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
78.12748 + need_locks=warn
78.12749 + fi
78.12750 +else
78.12751 + need_locks=no
78.12752 +fi
78.12753 +
78.12754 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
78.12755 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
78.12756 +
78.12757 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
78.12758 + case $host_os in
78.12759 + aix4* | aix5*)
78.12760 + # If we're using GNU nm, then we don't want the "-C" option.
78.12761 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
78.12762 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
78.12763 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.12764 + else
78.12765 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.12766 + fi
78.12767 + ;;
78.12768 + pw32*)
78.12769 + export_symbols_cmds_CXX="$ltdll_cmds"
78.12770 + ;;
78.12771 + cygwin* | mingw*)
78.12772 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
78.12773 + ;;
78.12774 + *)
78.12775 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
78.12776 + ;;
78.12777 + esac
78.12778 +
78.12779 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
78.12780 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
78.12781 +test "$ld_shlibs_CXX" = no && can_build_shared=no
78.12782 +
78.12783 +#
78.12784 +# Do we need to explicitly link libc?
78.12785 +#
78.12786 +case "x$archive_cmds_need_lc_CXX" in
78.12787 +x|xyes)
78.12788 + # Assume -lc should be added
78.12789 + archive_cmds_need_lc_CXX=yes
78.12790 +
78.12791 + if test "$enable_shared" = yes && test "$GCC" = yes; then
78.12792 + case $archive_cmds_CXX in
78.12793 + *'~'*)
78.12794 + # FIXME: we may have to deal with multi-command sequences.
78.12795 + ;;
78.12796 + '$CC '*)
78.12797 + # Test whether the compiler implicitly links with -lc since on some
78.12798 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
78.12799 + # to ld, don't add -lc before -lgcc.
78.12800 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
78.12801 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
78.12802 + $rm conftest*
78.12803 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.12804 +
78.12805 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.12806 + (eval $ac_compile) 2>&5
78.12807 + ac_status=$?
78.12808 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.12809 + (exit $ac_status); } 2>conftest.err; then
78.12810 + soname=conftest
78.12811 + lib=conftest
78.12812 + libobjs=conftest.$ac_objext
78.12813 + deplibs=
78.12814 + wl=$lt_prog_compiler_wl_CXX
78.12815 + pic_flag=$lt_prog_compiler_pic_CXX
78.12816 + compiler_flags=-v
78.12817 + linker_flags=-v
78.12818 + verstring=
78.12819 + output_objdir=.
78.12820 + libname=conftest
78.12821 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
78.12822 + allow_undefined_flag_CXX=
78.12823 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
78.12824 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
78.12825 + ac_status=$?
78.12826 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.12827 + (exit $ac_status); }
78.12828 + then
78.12829 + archive_cmds_need_lc_CXX=no
78.12830 + else
78.12831 + archive_cmds_need_lc_CXX=yes
78.12832 + fi
78.12833 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
78.12834 + else
78.12835 + cat conftest.err 1>&5
78.12836 + fi
78.12837 + $rm conftest*
78.12838 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
78.12839 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
78.12840 + ;;
78.12841 + esac
78.12842 + fi
78.12843 + ;;
78.12844 +esac
78.12845 +
78.12846 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
78.12847 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
78.12848 +library_names_spec=
78.12849 +libname_spec='lib$name'
78.12850 +soname_spec=
78.12851 +shrext_cmds=".so"
78.12852 +postinstall_cmds=
78.12853 +postuninstall_cmds=
78.12854 +finish_cmds=
78.12855 +finish_eval=
78.12856 +shlibpath_var=
78.12857 +shlibpath_overrides_runpath=unknown
78.12858 +version_type=none
78.12859 +dynamic_linker="$host_os ld.so"
78.12860 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
78.12861 +if test "$GCC" = yes; then
78.12862 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.12863 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
78.12864 + # if the path contains ";" then we assume it to be the separator
78.12865 + # otherwise default to the standard path separator (i.e. ":") - it is
78.12866 + # assumed that no part of a normal pathname contains ";" but that should
78.12867 + # okay in the real world where ";" in dirpaths is itself problematic.
78.12868 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.12869 + else
78.12870 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.12871 + fi
78.12872 +else
78.12873 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
78.12874 +fi
78.12875 +need_lib_prefix=unknown
78.12876 +hardcode_into_libs=no
78.12877 +
78.12878 +# when you set need_version to no, make sure it does not cause -set_version
78.12879 +# flags to be left without arguments
78.12880 +need_version=unknown
78.12881 +
78.12882 +case $host_os in
78.12883 +aix3*)
78.12884 + version_type=linux
78.12885 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
78.12886 + shlibpath_var=LIBPATH
78.12887 +
78.12888 + # AIX 3 has no versioning support, so we append a major version to the name.
78.12889 + soname_spec='${libname}${release}${shared_ext}$major'
78.12890 + ;;
78.12891 +
78.12892 +aix4* | aix5*)
78.12893 + version_type=linux
78.12894 + need_lib_prefix=no
78.12895 + need_version=no
78.12896 + hardcode_into_libs=yes
78.12897 + if test "$host_cpu" = ia64; then
78.12898 + # AIX 5 supports IA64
78.12899 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
78.12900 + shlibpath_var=LD_LIBRARY_PATH
78.12901 + else
78.12902 + # With GCC up to 2.95.x, collect2 would create an import file
78.12903 + # for dependence libraries. The import file would start with
78.12904 + # the line `#! .'. This would cause the generated library to
78.12905 + # depend on `.', always an invalid library. This was fixed in
78.12906 + # development snapshots of GCC prior to 3.0.
78.12907 + case $host_os in
78.12908 + aix4 | aix4.[01] | aix4.[01].*)
78.12909 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
78.12910 + echo ' yes '
78.12911 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
78.12912 + :
78.12913 + else
78.12914 + can_build_shared=no
78.12915 + fi
78.12916 + ;;
78.12917 + esac
78.12918 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
78.12919 + # soname into executable. Probably we can add versioning support to
78.12920 + # collect2, so additional links can be useful in future.
78.12921 + if test "$aix_use_runtimelinking" = yes; then
78.12922 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
78.12923 + # instead of lib<name>.a to let people know that these are not
78.12924 + # typical AIX shared libraries.
78.12925 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.12926 + else
78.12927 + # We preserve .a as extension for shared libraries through AIX4.2
78.12928 + # and later when we are not doing run time linking.
78.12929 + library_names_spec='${libname}${release}.a $libname.a'
78.12930 + soname_spec='${libname}${release}${shared_ext}$major'
78.12931 + fi
78.12932 + shlibpath_var=LIBPATH
78.12933 + fi
78.12934 + ;;
78.12935 +
78.12936 +amigaos*)
78.12937 + library_names_spec='$libname.ixlibrary $libname.a'
78.12938 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
78.12939 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
78.12940 + ;;
78.12941 +
78.12942 +beos*)
78.12943 + library_names_spec='${libname}${shared_ext}'
78.12944 + dynamic_linker="$host_os ld.so"
78.12945 + shlibpath_var=LIBRARY_PATH
78.12946 + ;;
78.12947 +
78.12948 +bsdi[45]*)
78.12949 + version_type=linux
78.12950 + need_version=no
78.12951 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.12952 + soname_spec='${libname}${release}${shared_ext}$major'
78.12953 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
78.12954 + shlibpath_var=LD_LIBRARY_PATH
78.12955 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
78.12956 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
78.12957 + # the default ld.so.conf also contains /usr/contrib/lib and
78.12958 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
78.12959 + # libtool to hard-code these into programs
78.12960 + ;;
78.12961 +
78.12962 +cygwin* | mingw* | pw32*)
78.12963 + version_type=windows
78.12964 + shrext_cmds=".dll"
78.12965 + need_version=no
78.12966 + need_lib_prefix=no
78.12967 +
78.12968 + case $GCC,$host_os in
78.12969 + yes,cygwin* | yes,mingw* | yes,pw32*)
78.12970 + library_names_spec='$libname.dll.a'
78.12971 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
78.12972 + postinstall_cmds='base_file=`basename \${file}`~
78.12973 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
78.12974 + dldir=$destdir/`dirname \$dlpath`~
78.12975 + test -d \$dldir || mkdir -p \$dldir~
78.12976 + $install_prog $dir/$dlname \$dldir/$dlname~
78.12977 + chmod a+x \$dldir/$dlname'
78.12978 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
78.12979 + dlpath=$dir/\$dldll~
78.12980 + $rm \$dlpath'
78.12981 + shlibpath_overrides_runpath=yes
78.12982 +
78.12983 + case $host_os in
78.12984 + cygwin*)
78.12985 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
78.12986 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.12987 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
78.12988 + ;;
78.12989 + mingw*)
78.12990 + # MinGW DLLs use traditional 'lib' prefix
78.12991 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.12992 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.12993 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
78.12994 + # It is most probably a Windows format PATH printed by
78.12995 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
78.12996 + # path with ; separators, and with drive letters. We can handle the
78.12997 + # drive letters (cygwin fileutils understands them), so leave them,
78.12998 + # especially as we might pass files found there to a mingw objdump,
78.12999 + # which wouldn't understand a cygwinified path. Ahh.
78.13000 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.13001 + else
78.13002 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.13003 + fi
78.13004 + ;;
78.13005 + pw32*)
78.13006 + # pw32 DLLs use 'pw' prefix rather than 'lib'
78.13007 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.13008 + ;;
78.13009 + esac
78.13010 + ;;
78.13011 +
78.13012 + *)
78.13013 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
78.13014 + ;;
78.13015 + esac
78.13016 + dynamic_linker='Win32 ld.exe'
78.13017 + # FIXME: first we should search . and the directory the executable is in
78.13018 + shlibpath_var=PATH
78.13019 + ;;
78.13020 +
78.13021 +darwin* | rhapsody*)
78.13022 + dynamic_linker="$host_os dyld"
78.13023 + version_type=darwin
78.13024 + need_lib_prefix=no
78.13025 + need_version=no
78.13026 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
78.13027 + soname_spec='${libname}${release}${major}$shared_ext'
78.13028 + shlibpath_overrides_runpath=yes
78.13029 + shlibpath_var=DYLD_LIBRARY_PATH
78.13030 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
78.13031 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
78.13032 + if test "$GCC" = yes; then
78.13033 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
78.13034 + else
78.13035 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
78.13036 + fi
78.13037 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
78.13038 + ;;
78.13039 +
78.13040 +dgux*)
78.13041 + version_type=linux
78.13042 + need_lib_prefix=no
78.13043 + need_version=no
78.13044 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
78.13045 + soname_spec='${libname}${release}${shared_ext}$major'
78.13046 + shlibpath_var=LD_LIBRARY_PATH
78.13047 + ;;
78.13048 +
78.13049 +freebsd1*)
78.13050 + dynamic_linker=no
78.13051 + ;;
78.13052 +
78.13053 +kfreebsd*-gnu)
78.13054 + version_type=linux
78.13055 + need_lib_prefix=no
78.13056 + need_version=no
78.13057 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.13058 + soname_spec='${libname}${release}${shared_ext}$major'
78.13059 + shlibpath_var=LD_LIBRARY_PATH
78.13060 + shlibpath_overrides_runpath=no
78.13061 + hardcode_into_libs=yes
78.13062 + dynamic_linker='GNU ld.so'
78.13063 + ;;
78.13064 +
78.13065 +freebsd* | dragonfly*)
78.13066 + # DragonFly does not have aout. When/if they implement a new
78.13067 + # versioning mechanism, adjust this.
78.13068 + if test -x /usr/bin/objformat; then
78.13069 + objformat=`/usr/bin/objformat`
78.13070 + else
78.13071 + case $host_os in
78.13072 + freebsd[123]*) objformat=aout ;;
78.13073 + *) objformat=elf ;;
78.13074 + esac
78.13075 + fi
78.13076 + version_type=freebsd-$objformat
78.13077 + case $version_type in
78.13078 + freebsd-elf*)
78.13079 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.13080 + need_version=no
78.13081 + need_lib_prefix=no
78.13082 + ;;
78.13083 + freebsd-*)
78.13084 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
78.13085 + need_version=yes
78.13086 + ;;
78.13087 + esac
78.13088 + shlibpath_var=LD_LIBRARY_PATH
78.13089 + case $host_os in
78.13090 + freebsd2*)
78.13091 + shlibpath_overrides_runpath=yes
78.13092 + ;;
78.13093 + freebsd3.[01]* | freebsdelf3.[01]*)
78.13094 + shlibpath_overrides_runpath=yes
78.13095 + hardcode_into_libs=yes
78.13096 + ;;
78.13097 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
78.13098 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
78.13099 + shlibpath_overrides_runpath=no
78.13100 + hardcode_into_libs=yes
78.13101 + ;;
78.13102 + freebsd*) # from 4.6 on
78.13103 + shlibpath_overrides_runpath=yes
78.13104 + hardcode_into_libs=yes
78.13105 + ;;
78.13106 + esac
78.13107 + ;;
78.13108 +
78.13109 +gnu*)
78.13110 + version_type=linux
78.13111 + need_lib_prefix=no
78.13112 + need_version=no
78.13113 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
78.13114 + soname_spec='${libname}${release}${shared_ext}$major'
78.13115 + shlibpath_var=LD_LIBRARY_PATH
78.13116 + hardcode_into_libs=yes
78.13117 + ;;
78.13118 +
78.13119 +hpux9* | hpux10* | hpux11*)
78.13120 + # Give a soname corresponding to the major version so that dld.sl refuses to
78.13121 + # link against other versions.
78.13122 + version_type=sunos
78.13123 + need_lib_prefix=no
78.13124 + need_version=no
78.13125 + case $host_cpu in
78.13126 + ia64*)
78.13127 + shrext_cmds='.so'
78.13128 + hardcode_into_libs=yes
78.13129 + dynamic_linker="$host_os dld.so"
78.13130 + shlibpath_var=LD_LIBRARY_PATH
78.13131 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.13132 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13133 + soname_spec='${libname}${release}${shared_ext}$major'
78.13134 + if test "X$HPUX_IA64_MODE" = X32; then
78.13135 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
78.13136 + else
78.13137 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
78.13138 + fi
78.13139 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.13140 + ;;
78.13141 + hppa*64*)
78.13142 + shrext_cmds='.sl'
78.13143 + hardcode_into_libs=yes
78.13144 + dynamic_linker="$host_os dld.sl"
78.13145 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
78.13146 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.13147 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13148 + soname_spec='${libname}${release}${shared_ext}$major'
78.13149 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
78.13150 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.13151 + ;;
78.13152 + *)
78.13153 + shrext_cmds='.sl'
78.13154 + dynamic_linker="$host_os dld.sl"
78.13155 + shlibpath_var=SHLIB_PATH
78.13156 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
78.13157 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13158 + soname_spec='${libname}${release}${shared_ext}$major'
78.13159 + ;;
78.13160 + esac
78.13161 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
78.13162 + postinstall_cmds='chmod 555 $lib'
78.13163 + ;;
78.13164 +
78.13165 +interix3*)
78.13166 + version_type=linux
78.13167 + need_lib_prefix=no
78.13168 + need_version=no
78.13169 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.13170 + soname_spec='${libname}${release}${shared_ext}$major'
78.13171 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
78.13172 + shlibpath_var=LD_LIBRARY_PATH
78.13173 + shlibpath_overrides_runpath=no
78.13174 + hardcode_into_libs=yes
78.13175 + ;;
78.13176 +
78.13177 +irix5* | irix6* | nonstopux*)
78.13178 + case $host_os in
78.13179 + nonstopux*) version_type=nonstopux ;;
78.13180 + *)
78.13181 + if test "$lt_cv_prog_gnu_ld" = yes; then
78.13182 + version_type=linux
78.13183 + else
78.13184 + version_type=irix
78.13185 + fi ;;
78.13186 + esac
78.13187 + need_lib_prefix=no
78.13188 + need_version=no
78.13189 + soname_spec='${libname}${release}${shared_ext}$major'
78.13190 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
78.13191 + case $host_os in
78.13192 + irix5* | nonstopux*)
78.13193 + libsuff= shlibsuff=
78.13194 + ;;
78.13195 + *)
78.13196 + case $LD in # libtool.m4 will add one of these switches to LD
78.13197 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
78.13198 + libsuff= shlibsuff= libmagic=32-bit;;
78.13199 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
78.13200 + libsuff=32 shlibsuff=N32 libmagic=N32;;
78.13201 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
78.13202 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
78.13203 + *) libsuff= shlibsuff= libmagic=never-match;;
78.13204 + esac
78.13205 + ;;
78.13206 + esac
78.13207 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
78.13208 + shlibpath_overrides_runpath=no
78.13209 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
78.13210 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
78.13211 + hardcode_into_libs=yes
78.13212 + ;;
78.13213 +
78.13214 +# No shared lib support for Linux oldld, aout, or coff.
78.13215 +linux*oldld* | linux*aout* | linux*coff*)
78.13216 + dynamic_linker=no
78.13217 + ;;
78.13218 +
78.13219 +# This must be Linux ELF.
78.13220 +linux*)
78.13221 + version_type=linux
78.13222 + need_lib_prefix=no
78.13223 + need_version=no
78.13224 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13225 + soname_spec='${libname}${release}${shared_ext}$major'
78.13226 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
78.13227 + shlibpath_var=LD_LIBRARY_PATH
78.13228 + shlibpath_overrides_runpath=no
78.13229 + # This implies no fast_install, which is unacceptable.
78.13230 + # Some rework will be needed to allow for fast_install
78.13231 + # before this can be enabled.
78.13232 + hardcode_into_libs=yes
78.13233 +
78.13234 + # Append ld.so.conf contents to the search path
78.13235 + if test -f /etc/ld.so.conf; then
78.13236 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
78.13237 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
78.13238 + fi
78.13239 +
78.13240 + # We used to test for /lib/ld.so.1 and disable shared libraries on
78.13241 + # powerpc, because MkLinux only supported shared libraries with the
78.13242 + # GNU dynamic linker. Since this was broken with cross compilers,
78.13243 + # most powerpc-linux boxes support dynamic linking these days and
78.13244 + # people can always --disable-shared, the test was removed, and we
78.13245 + # assume the GNU/Linux dynamic linker is in use.
78.13246 + dynamic_linker='GNU/Linux ld.so'
78.13247 + ;;
78.13248 +
78.13249 +knetbsd*-gnu)
78.13250 + version_type=linux
78.13251 + need_lib_prefix=no
78.13252 + need_version=no
78.13253 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.13254 + soname_spec='${libname}${release}${shared_ext}$major'
78.13255 + shlibpath_var=LD_LIBRARY_PATH
78.13256 + shlibpath_overrides_runpath=no
78.13257 + hardcode_into_libs=yes
78.13258 + dynamic_linker='GNU ld.so'
78.13259 + ;;
78.13260 +
78.13261 +netbsd*)
78.13262 + version_type=sunos
78.13263 + need_lib_prefix=no
78.13264 + need_version=no
78.13265 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.13266 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.13267 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.13268 + dynamic_linker='NetBSD (a.out) ld.so'
78.13269 + else
78.13270 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.13271 + soname_spec='${libname}${release}${shared_ext}$major'
78.13272 + dynamic_linker='NetBSD ld.elf_so'
78.13273 + fi
78.13274 + shlibpath_var=LD_LIBRARY_PATH
78.13275 + shlibpath_overrides_runpath=yes
78.13276 + hardcode_into_libs=yes
78.13277 + ;;
78.13278 +
78.13279 +newsos6)
78.13280 + version_type=linux
78.13281 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13282 + shlibpath_var=LD_LIBRARY_PATH
78.13283 + shlibpath_overrides_runpath=yes
78.13284 + ;;
78.13285 +
78.13286 +nto-qnx*)
78.13287 + version_type=linux
78.13288 + need_lib_prefix=no
78.13289 + need_version=no
78.13290 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13291 + soname_spec='${libname}${release}${shared_ext}$major'
78.13292 + shlibpath_var=LD_LIBRARY_PATH
78.13293 + shlibpath_overrides_runpath=yes
78.13294 + ;;
78.13295 +
78.13296 +openbsd*)
78.13297 + version_type=sunos
78.13298 + sys_lib_dlsearch_path_spec="/usr/lib"
78.13299 + need_lib_prefix=no
78.13300 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
78.13301 + case $host_os in
78.13302 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
78.13303 + *) need_version=no ;;
78.13304 + esac
78.13305 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.13306 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.13307 + shlibpath_var=LD_LIBRARY_PATH
78.13308 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.13309 + case $host_os in
78.13310 + openbsd2.[89] | openbsd2.[89].*)
78.13311 + shlibpath_overrides_runpath=no
78.13312 + ;;
78.13313 + *)
78.13314 + shlibpath_overrides_runpath=yes
78.13315 + ;;
78.13316 + esac
78.13317 + else
78.13318 + shlibpath_overrides_runpath=yes
78.13319 + fi
78.13320 + ;;
78.13321 +
78.13322 +os2*)
78.13323 + libname_spec='$name'
78.13324 + shrext_cmds=".dll"
78.13325 + need_lib_prefix=no
78.13326 + library_names_spec='$libname${shared_ext} $libname.a'
78.13327 + dynamic_linker='OS/2 ld.exe'
78.13328 + shlibpath_var=LIBPATH
78.13329 + ;;
78.13330 +
78.13331 +osf3* | osf4* | osf5*)
78.13332 + version_type=osf
78.13333 + need_lib_prefix=no
78.13334 + need_version=no
78.13335 + soname_spec='${libname}${release}${shared_ext}$major'
78.13336 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13337 + shlibpath_var=LD_LIBRARY_PATH
78.13338 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
78.13339 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
78.13340 + ;;
78.13341 +
78.13342 +solaris*)
78.13343 + version_type=linux
78.13344 + need_lib_prefix=no
78.13345 + need_version=no
78.13346 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13347 + soname_spec='${libname}${release}${shared_ext}$major'
78.13348 + shlibpath_var=LD_LIBRARY_PATH
78.13349 + shlibpath_overrides_runpath=yes
78.13350 + hardcode_into_libs=yes
78.13351 + # ldd complains unless libraries are executable
78.13352 + postinstall_cmds='chmod +x $lib'
78.13353 + ;;
78.13354 +
78.13355 +sunos4*)
78.13356 + version_type=sunos
78.13357 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.13358 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
78.13359 + shlibpath_var=LD_LIBRARY_PATH
78.13360 + shlibpath_overrides_runpath=yes
78.13361 + if test "$with_gnu_ld" = yes; then
78.13362 + need_lib_prefix=no
78.13363 + fi
78.13364 + need_version=yes
78.13365 + ;;
78.13366 +
78.13367 +sysv4 | sysv4.3*)
78.13368 + version_type=linux
78.13369 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13370 + soname_spec='${libname}${release}${shared_ext}$major'
78.13371 + shlibpath_var=LD_LIBRARY_PATH
78.13372 + case $host_vendor in
78.13373 + sni)
78.13374 + shlibpath_overrides_runpath=no
78.13375 + need_lib_prefix=no
78.13376 + export_dynamic_flag_spec='${wl}-Blargedynsym'
78.13377 + runpath_var=LD_RUN_PATH
78.13378 + ;;
78.13379 + siemens)
78.13380 + need_lib_prefix=no
78.13381 + ;;
78.13382 + motorola)
78.13383 + need_lib_prefix=no
78.13384 + need_version=no
78.13385 + shlibpath_overrides_runpath=no
78.13386 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
78.13387 + ;;
78.13388 + esac
78.13389 + ;;
78.13390 +
78.13391 +sysv4*MP*)
78.13392 + if test -d /usr/nec ;then
78.13393 + version_type=linux
78.13394 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
78.13395 + soname_spec='$libname${shared_ext}.$major'
78.13396 + shlibpath_var=LD_LIBRARY_PATH
78.13397 + fi
78.13398 + ;;
78.13399 +
78.13400 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
78.13401 + version_type=freebsd-elf
78.13402 + need_lib_prefix=no
78.13403 + need_version=no
78.13404 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.13405 + soname_spec='${libname}${release}${shared_ext}$major'
78.13406 + shlibpath_var=LD_LIBRARY_PATH
78.13407 + hardcode_into_libs=yes
78.13408 + if test "$with_gnu_ld" = yes; then
78.13409 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
78.13410 + shlibpath_overrides_runpath=no
78.13411 + else
78.13412 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
78.13413 + shlibpath_overrides_runpath=yes
78.13414 + case $host_os in
78.13415 + sco3.2v5*)
78.13416 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
78.13417 + ;;
78.13418 + esac
78.13419 + fi
78.13420 + sys_lib_dlsearch_path_spec='/usr/lib'
78.13421 + ;;
78.13422 +
78.13423 +uts4*)
78.13424 + version_type=linux
78.13425 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.13426 + soname_spec='${libname}${release}${shared_ext}$major'
78.13427 + shlibpath_var=LD_LIBRARY_PATH
78.13428 + ;;
78.13429 +
78.13430 +*)
78.13431 + dynamic_linker=no
78.13432 + ;;
78.13433 +esac
78.13434 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
78.13435 +echo "${ECHO_T}$dynamic_linker" >&6; }
78.13436 +test "$dynamic_linker" = no && can_build_shared=no
78.13437 +
78.13438 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
78.13439 +if test "$GCC" = yes; then
78.13440 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
78.13441 +fi
78.13442 +
78.13443 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
78.13444 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
78.13445 +hardcode_action_CXX=
78.13446 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
78.13447 + test -n "$runpath_var_CXX" || \
78.13448 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
78.13449 +
78.13450 + # We can hardcode non-existant directories.
78.13451 + if test "$hardcode_direct_CXX" != no &&
78.13452 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
78.13453 + # have to relink, otherwise we might link with an installed library
78.13454 + # when we should be linking with a yet-to-be-installed one
78.13455 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
78.13456 + test "$hardcode_minus_L_CXX" != no; then
78.13457 + # Linking always hardcodes the temporary library directory.
78.13458 + hardcode_action_CXX=relink
78.13459 + else
78.13460 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
78.13461 + hardcode_action_CXX=immediate
78.13462 + fi
78.13463 +else
78.13464 + # We cannot hardcode anything, or else we can only hardcode existing
78.13465 + # directories.
78.13466 + hardcode_action_CXX=unsupported
78.13467 +fi
78.13468 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
78.13469 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
78.13470 +
78.13471 +if test "$hardcode_action_CXX" = relink; then
78.13472 + # Fast installation is not supported
78.13473 + enable_fast_install=no
78.13474 +elif test "$shlibpath_overrides_runpath" = yes ||
78.13475 + test "$enable_shared" = no; then
78.13476 + # Fast installation is not necessary
78.13477 + enable_fast_install=needless
78.13478 +fi
78.13479 +
78.13480 +
78.13481 +# The else clause should only fire when bootstrapping the
78.13482 +# libtool distribution, otherwise you forgot to ship ltmain.sh
78.13483 +# with your package, and you will get complaints that there are
78.13484 +# no rules to generate ltmain.sh.
78.13485 +if test -f "$ltmain"; then
78.13486 + # See if we are running on zsh, and set the options which allow our commands through
78.13487 + # without removal of \ escapes.
78.13488 + if test -n "${ZSH_VERSION+set}" ; then
78.13489 + setopt NO_GLOB_SUBST
78.13490 + fi
78.13491 + # Now quote all the things that may contain metacharacters while being
78.13492 + # careful not to overquote the AC_SUBSTed values. We take copies of the
78.13493 + # variables and quote the copies for generation of the libtool script.
78.13494 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
78.13495 + SED SHELL STRIP \
78.13496 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
78.13497 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
78.13498 + deplibs_check_method reload_flag reload_cmds need_locks \
78.13499 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
78.13500 + lt_cv_sys_global_symbol_to_c_name_address \
78.13501 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
78.13502 + old_postinstall_cmds old_postuninstall_cmds \
78.13503 + compiler_CXX \
78.13504 + CC_CXX \
78.13505 + LD_CXX \
78.13506 + lt_prog_compiler_wl_CXX \
78.13507 + lt_prog_compiler_pic_CXX \
78.13508 + lt_prog_compiler_static_CXX \
78.13509 + lt_prog_compiler_no_builtin_flag_CXX \
78.13510 + export_dynamic_flag_spec_CXX \
78.13511 + thread_safe_flag_spec_CXX \
78.13512 + whole_archive_flag_spec_CXX \
78.13513 + enable_shared_with_static_runtimes_CXX \
78.13514 + old_archive_cmds_CXX \
78.13515 + old_archive_from_new_cmds_CXX \
78.13516 + predep_objects_CXX \
78.13517 + postdep_objects_CXX \
78.13518 + predeps_CXX \
78.13519 + postdeps_CXX \
78.13520 + compiler_lib_search_path_CXX \
78.13521 + archive_cmds_CXX \
78.13522 + archive_expsym_cmds_CXX \
78.13523 + postinstall_cmds_CXX \
78.13524 + postuninstall_cmds_CXX \
78.13525 + old_archive_from_expsyms_cmds_CXX \
78.13526 + allow_undefined_flag_CXX \
78.13527 + no_undefined_flag_CXX \
78.13528 + export_symbols_cmds_CXX \
78.13529 + hardcode_libdir_flag_spec_CXX \
78.13530 + hardcode_libdir_flag_spec_ld_CXX \
78.13531 + hardcode_libdir_separator_CXX \
78.13532 + hardcode_automatic_CXX \
78.13533 + module_cmds_CXX \
78.13534 + module_expsym_cmds_CXX \
78.13535 + lt_cv_prog_compiler_c_o_CXX \
78.13536 + exclude_expsyms_CXX \
78.13537 + include_expsyms_CXX; do
78.13538 +
78.13539 + case $var in
78.13540 + old_archive_cmds_CXX | \
78.13541 + old_archive_from_new_cmds_CXX | \
78.13542 + archive_cmds_CXX | \
78.13543 + archive_expsym_cmds_CXX | \
78.13544 + module_cmds_CXX | \
78.13545 + module_expsym_cmds_CXX | \
78.13546 + old_archive_from_expsyms_cmds_CXX | \
78.13547 + export_symbols_cmds_CXX | \
78.13548 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
78.13549 + postinstall_cmds | postuninstall_cmds | \
78.13550 + old_postinstall_cmds | old_postuninstall_cmds | \
78.13551 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
78.13552 + # Double-quote double-evaled strings.
78.13553 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
78.13554 + ;;
78.13555 + *)
78.13556 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
78.13557 + ;;
78.13558 + esac
78.13559 + done
78.13560 +
78.13561 + case $lt_echo in
78.13562 + *'\$0 --fallback-echo"')
78.13563 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
78.13564 + ;;
78.13565 + esac
78.13566 +
78.13567 +cfgfile="$ofile"
78.13568 +
78.13569 + cat <<__EOF__ >> "$cfgfile"
78.13570 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
78.13571 +
78.13572 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78.13573 +
78.13574 +# Shell to use when invoking shell scripts.
78.13575 +SHELL=$lt_SHELL
78.13576 +
78.13577 +# Whether or not to build shared libraries.
78.13578 +build_libtool_libs=$enable_shared
78.13579 +
78.13580 +# Whether or not to build static libraries.
78.13581 +build_old_libs=$enable_static
78.13582 +
78.13583 +# Whether or not to add -lc for building shared libraries.
78.13584 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
78.13585 +
78.13586 +# Whether or not to disallow shared libs when runtime libs are static
78.13587 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
78.13588 +
78.13589 +# Whether or not to optimize for fast installation.
78.13590 +fast_install=$enable_fast_install
78.13591 +
78.13592 +# The host system.
78.13593 +host_alias=$host_alias
78.13594 +host=$host
78.13595 +host_os=$host_os
78.13596 +
78.13597 +# The build system.
78.13598 +build_alias=$build_alias
78.13599 +build=$build
78.13600 +build_os=$build_os
78.13601 +
78.13602 +# An echo program that does not interpret backslashes.
78.13603 +echo=$lt_echo
78.13604 +
78.13605 +# The archiver.
78.13606 +AR=$lt_AR
78.13607 +AR_FLAGS=$lt_AR_FLAGS
78.13608 +
78.13609 +# A C compiler.
78.13610 +LTCC=$lt_LTCC
78.13611 +
78.13612 +# LTCC compiler flags.
78.13613 +LTCFLAGS=$lt_LTCFLAGS
78.13614 +
78.13615 +# A language-specific compiler.
78.13616 +CC=$lt_compiler_CXX
78.13617 +
78.13618 +# Is the compiler the GNU C compiler?
78.13619 +with_gcc=$GCC_CXX
78.13620 +
78.13621 +# An ERE matcher.
78.13622 +EGREP=$lt_EGREP
78.13623 +
78.13624 +# The linker used to build libraries.
78.13625 +LD=$lt_LD_CXX
78.13626 +
78.13627 +# Whether we need hard or soft links.
78.13628 +LN_S=$lt_LN_S
78.13629 +
78.13630 +# A BSD-compatible nm program.
78.13631 +NM=$lt_NM
78.13632 +
78.13633 +# A symbol stripping program
78.13634 +STRIP=$lt_STRIP
78.13635 +
78.13636 +# Used to examine libraries when file_magic_cmd begins "file"
78.13637 +MAGIC_CMD=$MAGIC_CMD
78.13638 +
78.13639 +# Used on cygwin: DLL creation program.
78.13640 +DLLTOOL="$DLLTOOL"
78.13641 +
78.13642 +# Used on cygwin: object dumper.
78.13643 +OBJDUMP="$OBJDUMP"
78.13644 +
78.13645 +# Used on cygwin: assembler.
78.13646 +AS="$AS"
78.13647 +
78.13648 +# The name of the directory that contains temporary libtool files.
78.13649 +objdir=$objdir
78.13650 +
78.13651 +# How to create reloadable object files.
78.13652 +reload_flag=$lt_reload_flag
78.13653 +reload_cmds=$lt_reload_cmds
78.13654 +
78.13655 +# How to pass a linker flag through the compiler.
78.13656 +wl=$lt_lt_prog_compiler_wl_CXX
78.13657 +
78.13658 +# Object file suffix (normally "o").
78.13659 +objext="$ac_objext"
78.13660 +
78.13661 +# Old archive suffix (normally "a").
78.13662 +libext="$libext"
78.13663 +
78.13664 +# Shared library suffix (normally ".so").
78.13665 +shrext_cmds='$shrext_cmds'
78.13666 +
78.13667 +# Executable file suffix (normally "").
78.13668 +exeext="$exeext"
78.13669 +
78.13670 +# Additional compiler flags for building library objects.
78.13671 +pic_flag=$lt_lt_prog_compiler_pic_CXX
78.13672 +pic_mode=$pic_mode
78.13673 +
78.13674 +# What is the maximum length of a command?
78.13675 +max_cmd_len=$lt_cv_sys_max_cmd_len
78.13676 +
78.13677 +# Does compiler simultaneously support -c and -o options?
78.13678 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
78.13679 +
78.13680 +# Must we lock files when doing compilation?
78.13681 +need_locks=$lt_need_locks
78.13682 +
78.13683 +# Do we need the lib prefix for modules?
78.13684 +need_lib_prefix=$need_lib_prefix
78.13685 +
78.13686 +# Do we need a version for libraries?
78.13687 +need_version=$need_version
78.13688 +
78.13689 +# Whether dlopen is supported.
78.13690 +dlopen_support=$enable_dlopen
78.13691 +
78.13692 +# Whether dlopen of programs is supported.
78.13693 +dlopen_self=$enable_dlopen_self
78.13694 +
78.13695 +# Whether dlopen of statically linked programs is supported.
78.13696 +dlopen_self_static=$enable_dlopen_self_static
78.13697 +
78.13698 +# Compiler flag to prevent dynamic linking.
78.13699 +link_static_flag=$lt_lt_prog_compiler_static_CXX
78.13700 +
78.13701 +# Compiler flag to turn off builtin functions.
78.13702 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
78.13703 +
78.13704 +# Compiler flag to allow reflexive dlopens.
78.13705 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
78.13706 +
78.13707 +# Compiler flag to generate shared objects directly from archives.
78.13708 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
78.13709 +
78.13710 +# Compiler flag to generate thread-safe objects.
78.13711 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
78.13712 +
78.13713 +# Library versioning type.
78.13714 +version_type=$version_type
78.13715 +
78.13716 +# Format of library name prefix.
78.13717 +libname_spec=$lt_libname_spec
78.13718 +
78.13719 +# List of archive names. First name is the real one, the rest are links.
78.13720 +# The last name is the one that the linker finds with -lNAME.
78.13721 +library_names_spec=$lt_library_names_spec
78.13722 +
78.13723 +# The coded name of the library, if different from the real name.
78.13724 +soname_spec=$lt_soname_spec
78.13725 +
78.13726 +# Commands used to build and install an old-style archive.
78.13727 +RANLIB=$lt_RANLIB
78.13728 +old_archive_cmds=$lt_old_archive_cmds_CXX
78.13729 +old_postinstall_cmds=$lt_old_postinstall_cmds
78.13730 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
78.13731 +
78.13732 +# Create an old-style archive from a shared archive.
78.13733 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
78.13734 +
78.13735 +# Create a temporary old-style archive to link instead of a shared archive.
78.13736 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
78.13737 +
78.13738 +# Commands used to build and install a shared archive.
78.13739 +archive_cmds=$lt_archive_cmds_CXX
78.13740 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
78.13741 +postinstall_cmds=$lt_postinstall_cmds
78.13742 +postuninstall_cmds=$lt_postuninstall_cmds
78.13743 +
78.13744 +# Commands used to build a loadable module (assumed same as above if empty)
78.13745 +module_cmds=$lt_module_cmds_CXX
78.13746 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
78.13747 +
78.13748 +# Commands to strip libraries.
78.13749 +old_striplib=$lt_old_striplib
78.13750 +striplib=$lt_striplib
78.13751 +
78.13752 +# Dependencies to place before the objects being linked to create a
78.13753 +# shared library.
78.13754 +predep_objects=$lt_predep_objects_CXX
78.13755 +
78.13756 +# Dependencies to place after the objects being linked to create a
78.13757 +# shared library.
78.13758 +postdep_objects=$lt_postdep_objects_CXX
78.13759 +
78.13760 +# Dependencies to place before the objects being linked to create a
78.13761 +# shared library.
78.13762 +predeps=$lt_predeps_CXX
78.13763 +
78.13764 +# Dependencies to place after the objects being linked to create a
78.13765 +# shared library.
78.13766 +postdeps=$lt_postdeps_CXX
78.13767 +
78.13768 +# The library search path used internally by the compiler when linking
78.13769 +# a shared library.
78.13770 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
78.13771 +
78.13772 +# Method to check whether dependent libraries are shared objects.
78.13773 +deplibs_check_method=$lt_deplibs_check_method
78.13774 +
78.13775 +# Command to use when deplibs_check_method == file_magic.
78.13776 +file_magic_cmd=$lt_file_magic_cmd
78.13777 +
78.13778 +# Flag that allows shared libraries with undefined symbols to be built.
78.13779 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
78.13780 +
78.13781 +# Flag that forces no undefined symbols.
78.13782 +no_undefined_flag=$lt_no_undefined_flag_CXX
78.13783 +
78.13784 +# Commands used to finish a libtool library installation in a directory.
78.13785 +finish_cmds=$lt_finish_cmds
78.13786 +
78.13787 +# Same as above, but a single script fragment to be evaled but not shown.
78.13788 +finish_eval=$lt_finish_eval
78.13789 +
78.13790 +# Take the output of nm and produce a listing of raw symbols and C names.
78.13791 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78.13792 +
78.13793 +# Transform the output of nm in a proper C declaration
78.13794 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78.13795 +
78.13796 +# Transform the output of nm in a C name address pair
78.13797 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78.13798 +
78.13799 +# This is the shared library runtime path variable.
78.13800 +runpath_var=$runpath_var
78.13801 +
78.13802 +# This is the shared library path variable.
78.13803 +shlibpath_var=$shlibpath_var
78.13804 +
78.13805 +# Is shlibpath searched before the hard-coded library search path?
78.13806 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78.13807 +
78.13808 +# How to hardcode a shared library path into an executable.
78.13809 +hardcode_action=$hardcode_action_CXX
78.13810 +
78.13811 +# Whether we should hardcode library paths into libraries.
78.13812 +hardcode_into_libs=$hardcode_into_libs
78.13813 +
78.13814 +# Flag to hardcode \$libdir into a binary during linking.
78.13815 +# This must work even if \$libdir does not exist.
78.13816 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
78.13817 +
78.13818 +# If ld is used when linking, flag to hardcode \$libdir into
78.13819 +# a binary during linking. This must work even if \$libdir does
78.13820 +# not exist.
78.13821 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
78.13822 +
78.13823 +# Whether we need a single -rpath flag with a separated argument.
78.13824 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
78.13825 +
78.13826 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
78.13827 +# resulting binary.
78.13828 +hardcode_direct=$hardcode_direct_CXX
78.13829 +
78.13830 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
78.13831 +# resulting binary.
78.13832 +hardcode_minus_L=$hardcode_minus_L_CXX
78.13833 +
78.13834 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
78.13835 +# the resulting binary.
78.13836 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
78.13837 +
78.13838 +# Set to yes if building a shared library automatically hardcodes DIR into the library
78.13839 +# and all subsequent libraries and executables linked against it.
78.13840 +hardcode_automatic=$hardcode_automatic_CXX
78.13841 +
78.13842 +# Variables whose values should be saved in libtool wrapper scripts and
78.13843 +# restored at relink time.
78.13844 +variables_saved_for_relink="$variables_saved_for_relink"
78.13845 +
78.13846 +# Whether libtool must link a program against all its dependency libraries.
78.13847 +link_all_deplibs=$link_all_deplibs_CXX
78.13848 +
78.13849 +# Compile-time system search path for libraries
78.13850 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78.13851 +
78.13852 +# Run-time system search path for libraries
78.13853 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78.13854 +
78.13855 +# Fix the shell variable \$srcfile for the compiler.
78.13856 +fix_srcfile_path="$fix_srcfile_path_CXX"
78.13857 +
78.13858 +# Set to yes if exported symbols are required.
78.13859 +always_export_symbols=$always_export_symbols_CXX
78.13860 +
78.13861 +# The commands to list exported symbols.
78.13862 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
78.13863 +
78.13864 +# The commands to extract the exported symbol list from a shared archive.
78.13865 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
78.13866 +
78.13867 +# Symbols that should not be listed in the preloaded symbols.
78.13868 +exclude_expsyms=$lt_exclude_expsyms_CXX
78.13869 +
78.13870 +# Symbols that must always be exported.
78.13871 +include_expsyms=$lt_include_expsyms_CXX
78.13872 +
78.13873 +# ### END LIBTOOL TAG CONFIG: $tagname
78.13874 +
78.13875 +__EOF__
78.13876 +
78.13877 +
78.13878 +else
78.13879 + # If there is no Makefile yet, we rely on a make rule to execute
78.13880 + # `config.status --recheck' to rerun these tests and create the
78.13881 + # libtool script then.
78.13882 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
78.13883 + if test -f "$ltmain_in"; then
78.13884 + test -f Makefile && make "$ltmain"
78.13885 + fi
78.13886 +fi
78.13887 +
78.13888 +
78.13889 +ac_ext=cpp
78.13890 +ac_cpp='$CXXCPP $CPPFLAGS'
78.13891 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.13892 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.13893 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.13894 +
78.13895 +CC=$lt_save_CC
78.13896 +LDCXX=$LD
78.13897 +LD=$lt_save_LD
78.13898 +GCC=$lt_save_GCC
78.13899 +with_gnu_ldcxx=$with_gnu_ld
78.13900 +with_gnu_ld=$lt_save_with_gnu_ld
78.13901 +lt_cv_path_LDCXX=$lt_cv_path_LD
78.13902 +lt_cv_path_LD=$lt_save_path_LD
78.13903 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
78.13904 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
78.13905 +
78.13906 + else
78.13907 + tagname=""
78.13908 + fi
78.13909 + ;;
78.13910 +
78.13911 + F77)
78.13912 + if test -n "$F77" && test "X$F77" != "Xno"; then
78.13913 +
78.13914 +ac_ext=f
78.13915 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
78.13916 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.13917 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
78.13918 +
78.13919 +
78.13920 +archive_cmds_need_lc_F77=no
78.13921 +allow_undefined_flag_F77=
78.13922 +always_export_symbols_F77=no
78.13923 +archive_expsym_cmds_F77=
78.13924 +export_dynamic_flag_spec_F77=
78.13925 +hardcode_direct_F77=no
78.13926 +hardcode_libdir_flag_spec_F77=
78.13927 +hardcode_libdir_flag_spec_ld_F77=
78.13928 +hardcode_libdir_separator_F77=
78.13929 +hardcode_minus_L_F77=no
78.13930 +hardcode_automatic_F77=no
78.13931 +module_cmds_F77=
78.13932 +module_expsym_cmds_F77=
78.13933 +link_all_deplibs_F77=unknown
78.13934 +old_archive_cmds_F77=$old_archive_cmds
78.13935 +no_undefined_flag_F77=
78.13936 +whole_archive_flag_spec_F77=
78.13937 +enable_shared_with_static_runtimes_F77=no
78.13938 +
78.13939 +# Source file extension for f77 test sources.
78.13940 +ac_ext=f
78.13941 +
78.13942 +# Object file extension for compiled f77 test sources.
78.13943 +objext=o
78.13944 +objext_F77=$objext
78.13945 +
78.13946 +# Code to be used in simple compile tests
78.13947 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
78.13948 +
78.13949 +# Code to be used in simple link tests
78.13950 +lt_simple_link_test_code=" program t\n end\n"
78.13951 +
78.13952 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
78.13953 +
78.13954 +# If no C compiler was specified, use CC.
78.13955 +LTCC=${LTCC-"$CC"}
78.13956 +
78.13957 +# If no C compiler flags were specified, use CFLAGS.
78.13958 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.13959 +
78.13960 +# Allow CC to be a program name with arguments.
78.13961 +compiler=$CC
78.13962 +
78.13963 +
78.13964 +# save warnings/boilerplate of simple test code
78.13965 +ac_outfile=conftest.$ac_objext
78.13966 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
78.13967 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.13968 +_lt_compiler_boilerplate=`cat conftest.err`
78.13969 +$rm conftest*
78.13970 +
78.13971 +ac_outfile=conftest.$ac_objext
78.13972 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
78.13973 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.13974 +_lt_linker_boilerplate=`cat conftest.err`
78.13975 +$rm conftest*
78.13976 +
78.13977 +
78.13978 +# Allow CC to be a program name with arguments.
78.13979 +lt_save_CC="$CC"
78.13980 +CC=${F77-"f77"}
78.13981 +compiler=$CC
78.13982 +compiler_F77=$CC
78.13983 +for cc_temp in $compiler""; do
78.13984 + case $cc_temp in
78.13985 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.13986 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.13987 + \-*) ;;
78.13988 + *) break;;
78.13989 + esac
78.13990 +done
78.13991 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.13992 +
78.13993 +
78.13994 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
78.13995 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
78.13996 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
78.13997 +echo "${ECHO_T}$can_build_shared" >&6; }
78.13998 +
78.13999 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
78.14000 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
78.14001 +test "$can_build_shared" = "no" && enable_shared=no
78.14002 +
78.14003 +# On AIX, shared libraries and static libraries use the same namespace, and
78.14004 +# are all built from PIC.
78.14005 +case $host_os in
78.14006 +aix3*)
78.14007 + test "$enable_shared" = yes && enable_static=no
78.14008 + if test -n "$RANLIB"; then
78.14009 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
78.14010 + postinstall_cmds='$RANLIB $lib'
78.14011 + fi
78.14012 + ;;
78.14013 +aix4* | aix5*)
78.14014 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
78.14015 + test "$enable_shared" = yes && enable_static=no
78.14016 + fi
78.14017 + ;;
78.14018 +esac
78.14019 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
78.14020 +echo "${ECHO_T}$enable_shared" >&6; }
78.14021 +
78.14022 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
78.14023 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
78.14024 +# Make sure either enable_shared or enable_static is yes.
78.14025 +test "$enable_shared" = yes || enable_static=yes
78.14026 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
78.14027 +echo "${ECHO_T}$enable_static" >&6; }
78.14028 +
78.14029 +GCC_F77="$G77"
78.14030 +LD_F77="$LD"
78.14031 +
78.14032 +lt_prog_compiler_wl_F77=
78.14033 +lt_prog_compiler_pic_F77=
78.14034 +lt_prog_compiler_static_F77=
78.14035 +
78.14036 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
78.14037 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
78.14038 +
78.14039 + if test "$GCC" = yes; then
78.14040 + lt_prog_compiler_wl_F77='-Wl,'
78.14041 + lt_prog_compiler_static_F77='-static'
78.14042 +
78.14043 + case $host_os in
78.14044 + aix*)
78.14045 + # All AIX code is PIC.
78.14046 + if test "$host_cpu" = ia64; then
78.14047 + # AIX 5 now supports IA64 processor
78.14048 + lt_prog_compiler_static_F77='-Bstatic'
78.14049 + fi
78.14050 + ;;
78.14051 +
78.14052 + amigaos*)
78.14053 + # FIXME: we need at least 68020 code to build shared libraries, but
78.14054 + # adding the `-m68020' flag to GCC prevents building anything better,
78.14055 + # like `-m68040'.
78.14056 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
78.14057 + ;;
78.14058 +
78.14059 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
78.14060 + # PIC is the default for these OSes.
78.14061 + ;;
78.14062 +
78.14063 + mingw* | pw32* | os2*)
78.14064 + # This hack is so that the source file can tell whether it is being
78.14065 + # built for inclusion in a dll (and should export symbols for example).
78.14066 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
78.14067 + ;;
78.14068 +
78.14069 + darwin* | rhapsody*)
78.14070 + # PIC is the default on this platform
78.14071 + # Common symbols not allowed in MH_DYLIB files
78.14072 + lt_prog_compiler_pic_F77='-fno-common'
78.14073 + ;;
78.14074 +
78.14075 + interix3*)
78.14076 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
78.14077 + # Instead, we relocate shared libraries at runtime.
78.14078 + ;;
78.14079 +
78.14080 + msdosdjgpp*)
78.14081 + # Just because we use GCC doesn't mean we suddenly get shared libraries
78.14082 + # on systems that don't support them.
78.14083 + lt_prog_compiler_can_build_shared_F77=no
78.14084 + enable_shared=no
78.14085 + ;;
78.14086 +
78.14087 + sysv4*MP*)
78.14088 + if test -d /usr/nec; then
78.14089 + lt_prog_compiler_pic_F77=-Kconform_pic
78.14090 + fi
78.14091 + ;;
78.14092 +
78.14093 + hpux*)
78.14094 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.14095 + # not for PA HP-UX.
78.14096 + case $host_cpu in
78.14097 + hppa*64*|ia64*)
78.14098 + # +Z the default
78.14099 + ;;
78.14100 + *)
78.14101 + lt_prog_compiler_pic_F77='-fPIC'
78.14102 + ;;
78.14103 + esac
78.14104 + ;;
78.14105 +
78.14106 + *)
78.14107 + lt_prog_compiler_pic_F77='-fPIC'
78.14108 + ;;
78.14109 + esac
78.14110 + else
78.14111 + # PORTME Check for flag to pass linker flags through the system compiler.
78.14112 + case $host_os in
78.14113 + aix*)
78.14114 + lt_prog_compiler_wl_F77='-Wl,'
78.14115 + if test "$host_cpu" = ia64; then
78.14116 + # AIX 5 now supports IA64 processor
78.14117 + lt_prog_compiler_static_F77='-Bstatic'
78.14118 + else
78.14119 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
78.14120 + fi
78.14121 + ;;
78.14122 + darwin*)
78.14123 + # PIC is the default on this platform
78.14124 + # Common symbols not allowed in MH_DYLIB files
78.14125 + case $cc_basename in
78.14126 + xlc*)
78.14127 + lt_prog_compiler_pic_F77='-qnocommon'
78.14128 + lt_prog_compiler_wl_F77='-Wl,'
78.14129 + ;;
78.14130 + esac
78.14131 + ;;
78.14132 +
78.14133 + mingw* | pw32* | os2*)
78.14134 + # This hack is so that the source file can tell whether it is being
78.14135 + # built for inclusion in a dll (and should export symbols for example).
78.14136 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
78.14137 + ;;
78.14138 +
78.14139 + hpux9* | hpux10* | hpux11*)
78.14140 + lt_prog_compiler_wl_F77='-Wl,'
78.14141 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.14142 + # not for PA HP-UX.
78.14143 + case $host_cpu in
78.14144 + hppa*64*|ia64*)
78.14145 + # +Z the default
78.14146 + ;;
78.14147 + *)
78.14148 + lt_prog_compiler_pic_F77='+Z'
78.14149 + ;;
78.14150 + esac
78.14151 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
78.14152 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
78.14153 + ;;
78.14154 +
78.14155 + irix5* | irix6* | nonstopux*)
78.14156 + lt_prog_compiler_wl_F77='-Wl,'
78.14157 + # PIC (with -KPIC) is the default.
78.14158 + lt_prog_compiler_static_F77='-non_shared'
78.14159 + ;;
78.14160 +
78.14161 + newsos6)
78.14162 + lt_prog_compiler_pic_F77='-KPIC'
78.14163 + lt_prog_compiler_static_F77='-Bstatic'
78.14164 + ;;
78.14165 +
78.14166 + linux*)
78.14167 + case $cc_basename in
78.14168 + icc* | ecc*)
78.14169 + lt_prog_compiler_wl_F77='-Wl,'
78.14170 + lt_prog_compiler_pic_F77='-KPIC'
78.14171 + lt_prog_compiler_static_F77='-static'
78.14172 + ;;
78.14173 + pgcc* | pgf77* | pgf90* | pgf95*)
78.14174 + # Portland Group compilers (*not* the Pentium gcc compiler,
78.14175 + # which looks to be a dead project)
78.14176 + lt_prog_compiler_wl_F77='-Wl,'
78.14177 + lt_prog_compiler_pic_F77='-fpic'
78.14178 + lt_prog_compiler_static_F77='-Bstatic'
78.14179 + ;;
78.14180 + ccc*)
78.14181 + lt_prog_compiler_wl_F77='-Wl,'
78.14182 + # All Alpha code is PIC.
78.14183 + lt_prog_compiler_static_F77='-non_shared'
78.14184 + ;;
78.14185 + esac
78.14186 + ;;
78.14187 +
78.14188 + osf3* | osf4* | osf5*)
78.14189 + lt_prog_compiler_wl_F77='-Wl,'
78.14190 + # All OSF/1 code is PIC.
78.14191 + lt_prog_compiler_static_F77='-non_shared'
78.14192 + ;;
78.14193 +
78.14194 + solaris*)
78.14195 + lt_prog_compiler_pic_F77='-KPIC'
78.14196 + lt_prog_compiler_static_F77='-Bstatic'
78.14197 + case $cc_basename in
78.14198 + f77* | f90* | f95*)
78.14199 + lt_prog_compiler_wl_F77='-Qoption ld ';;
78.14200 + *)
78.14201 + lt_prog_compiler_wl_F77='-Wl,';;
78.14202 + esac
78.14203 + ;;
78.14204 +
78.14205 + sunos4*)
78.14206 + lt_prog_compiler_wl_F77='-Qoption ld '
78.14207 + lt_prog_compiler_pic_F77='-PIC'
78.14208 + lt_prog_compiler_static_F77='-Bstatic'
78.14209 + ;;
78.14210 +
78.14211 + sysv4 | sysv4.2uw2* | sysv4.3*)
78.14212 + lt_prog_compiler_wl_F77='-Wl,'
78.14213 + lt_prog_compiler_pic_F77='-KPIC'
78.14214 + lt_prog_compiler_static_F77='-Bstatic'
78.14215 + ;;
78.14216 +
78.14217 + sysv4*MP*)
78.14218 + if test -d /usr/nec ;then
78.14219 + lt_prog_compiler_pic_F77='-Kconform_pic'
78.14220 + lt_prog_compiler_static_F77='-Bstatic'
78.14221 + fi
78.14222 + ;;
78.14223 +
78.14224 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
78.14225 + lt_prog_compiler_wl_F77='-Wl,'
78.14226 + lt_prog_compiler_pic_F77='-KPIC'
78.14227 + lt_prog_compiler_static_F77='-Bstatic'
78.14228 + ;;
78.14229 +
78.14230 + unicos*)
78.14231 + lt_prog_compiler_wl_F77='-Wl,'
78.14232 + lt_prog_compiler_can_build_shared_F77=no
78.14233 + ;;
78.14234 +
78.14235 + uts4*)
78.14236 + lt_prog_compiler_pic_F77='-pic'
78.14237 + lt_prog_compiler_static_F77='-Bstatic'
78.14238 + ;;
78.14239 +
78.14240 + *)
78.14241 + lt_prog_compiler_can_build_shared_F77=no
78.14242 + ;;
78.14243 + esac
78.14244 + fi
78.14245 +
78.14246 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
78.14247 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
78.14248 +
78.14249 +#
78.14250 +# Check to make sure the PIC flag actually works.
78.14251 +#
78.14252 +if test -n "$lt_prog_compiler_pic_F77"; then
78.14253 +
78.14254 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
78.14255 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
78.14256 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
78.14257 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.14258 +else
78.14259 + lt_prog_compiler_pic_works_F77=no
78.14260 + ac_outfile=conftest.$ac_objext
78.14261 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.14262 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
78.14263 + # Insert the option either (1) after the last *FLAGS variable, or
78.14264 + # (2) before a word containing "conftest.", or (3) at the end.
78.14265 + # Note that $ac_compile itself does not contain backslashes and begins
78.14266 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.14267 + # The option is referenced via a variable to avoid confusing sed.
78.14268 + lt_compile=`echo "$ac_compile" | $SED \
78.14269 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.14270 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.14271 + -e 's:$: $lt_compiler_flag:'`
78.14272 + (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
78.14273 + (eval "$lt_compile" 2>conftest.err)
78.14274 + ac_status=$?
78.14275 + cat conftest.err >&5
78.14276 + echo "$as_me:14273: \$? = $ac_status" >&5
78.14277 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.14278 + # The compiler can only warn and ignore the option if not recognized
78.14279 + # So say no if there are warnings other than the usual output.
78.14280 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.14281 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.14282 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.14283 + lt_prog_compiler_pic_works_F77=yes
78.14284 + fi
78.14285 + fi
78.14286 + $rm conftest*
78.14287 +
78.14288 +fi
78.14289 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
78.14290 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
78.14291 +
78.14292 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
78.14293 + case $lt_prog_compiler_pic_F77 in
78.14294 + "" | " "*) ;;
78.14295 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
78.14296 + esac
78.14297 +else
78.14298 + lt_prog_compiler_pic_F77=
78.14299 + lt_prog_compiler_can_build_shared_F77=no
78.14300 +fi
78.14301 +
78.14302 +fi
78.14303 +case $host_os in
78.14304 + # For platforms which do not support PIC, -DPIC is meaningless:
78.14305 + *djgpp*)
78.14306 + lt_prog_compiler_pic_F77=
78.14307 + ;;
78.14308 + *)
78.14309 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
78.14310 + ;;
78.14311 +esac
78.14312 +
78.14313 +#
78.14314 +# Check to make sure the static flag actually works.
78.14315 +#
78.14316 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
78.14317 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
78.14318 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
78.14319 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
78.14320 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.14321 +else
78.14322 + lt_prog_compiler_static_works_F77=no
78.14323 + save_LDFLAGS="$LDFLAGS"
78.14324 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
78.14325 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
78.14326 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
78.14327 + # The linker can only warn and ignore the option if not recognized
78.14328 + # So say no if there are warnings
78.14329 + if test -s conftest.err; then
78.14330 + # Append any errors to the config.log.
78.14331 + cat conftest.err 1>&5
78.14332 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
78.14333 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.14334 + if diff conftest.exp conftest.er2 >/dev/null; then
78.14335 + lt_prog_compiler_static_works_F77=yes
78.14336 + fi
78.14337 + else
78.14338 + lt_prog_compiler_static_works_F77=yes
78.14339 + fi
78.14340 + fi
78.14341 + $rm conftest*
78.14342 + LDFLAGS="$save_LDFLAGS"
78.14343 +
78.14344 +fi
78.14345 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
78.14346 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
78.14347 +
78.14348 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
78.14349 + :
78.14350 +else
78.14351 + lt_prog_compiler_static_F77=
78.14352 +fi
78.14353 +
78.14354 +
78.14355 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
78.14356 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
78.14357 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
78.14358 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.14359 +else
78.14360 + lt_cv_prog_compiler_c_o_F77=no
78.14361 + $rm -r conftest 2>/dev/null
78.14362 + mkdir conftest
78.14363 + cd conftest
78.14364 + mkdir out
78.14365 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.14366 +
78.14367 + lt_compiler_flag="-o out/conftest2.$ac_objext"
78.14368 + # Insert the option either (1) after the last *FLAGS variable, or
78.14369 + # (2) before a word containing "conftest.", or (3) at the end.
78.14370 + # Note that $ac_compile itself does not contain backslashes and begins
78.14371 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.14372 + lt_compile=`echo "$ac_compile" | $SED \
78.14373 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.14374 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.14375 + -e 's:$: $lt_compiler_flag:'`
78.14376 + (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
78.14377 + (eval "$lt_compile" 2>out/conftest.err)
78.14378 + ac_status=$?
78.14379 + cat out/conftest.err >&5
78.14380 + echo "$as_me:14377: \$? = $ac_status" >&5
78.14381 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
78.14382 + then
78.14383 + # The compiler can only warn and ignore the option if not recognized
78.14384 + # So say no if there are warnings
78.14385 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
78.14386 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
78.14387 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
78.14388 + lt_cv_prog_compiler_c_o_F77=yes
78.14389 + fi
78.14390 + fi
78.14391 + chmod u+w . 2>&5
78.14392 + $rm conftest*
78.14393 + # SGI C++ compiler will create directory out/ii_files/ for
78.14394 + # template instantiation
78.14395 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
78.14396 + $rm out/* && rmdir out
78.14397 + cd ..
78.14398 + rmdir conftest
78.14399 + $rm conftest*
78.14400 +
78.14401 +fi
78.14402 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
78.14403 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
78.14404 +
78.14405 +
78.14406 +hard_links="nottested"
78.14407 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
78.14408 + # do not overwrite the value of need_locks provided by the user
78.14409 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
78.14410 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
78.14411 + hard_links=yes
78.14412 + $rm conftest*
78.14413 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.14414 + touch conftest.a
78.14415 + ln conftest.a conftest.b 2>&5 || hard_links=no
78.14416 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.14417 + { echo "$as_me:$LINENO: result: $hard_links" >&5
78.14418 +echo "${ECHO_T}$hard_links" >&6; }
78.14419 + if test "$hard_links" = no; then
78.14420 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
78.14421 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
78.14422 + need_locks=warn
78.14423 + fi
78.14424 +else
78.14425 + need_locks=no
78.14426 +fi
78.14427 +
78.14428 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
78.14429 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
78.14430 +
78.14431 + runpath_var=
78.14432 + allow_undefined_flag_F77=
78.14433 + enable_shared_with_static_runtimes_F77=no
78.14434 + archive_cmds_F77=
78.14435 + archive_expsym_cmds_F77=
78.14436 + old_archive_From_new_cmds_F77=
78.14437 + old_archive_from_expsyms_cmds_F77=
78.14438 + export_dynamic_flag_spec_F77=
78.14439 + whole_archive_flag_spec_F77=
78.14440 + thread_safe_flag_spec_F77=
78.14441 + hardcode_libdir_flag_spec_F77=
78.14442 + hardcode_libdir_flag_spec_ld_F77=
78.14443 + hardcode_libdir_separator_F77=
78.14444 + hardcode_direct_F77=no
78.14445 + hardcode_minus_L_F77=no
78.14446 + hardcode_shlibpath_var_F77=unsupported
78.14447 + link_all_deplibs_F77=unknown
78.14448 + hardcode_automatic_F77=no
78.14449 + module_cmds_F77=
78.14450 + module_expsym_cmds_F77=
78.14451 + always_export_symbols_F77=no
78.14452 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
78.14453 + # include_expsyms should be a list of space-separated symbols to be *always*
78.14454 + # included in the symbol list
78.14455 + include_expsyms_F77=
78.14456 + # exclude_expsyms can be an extended regexp of symbols to exclude
78.14457 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
78.14458 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
78.14459 + # as well as any symbol that contains `d'.
78.14460 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
78.14461 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
78.14462 + # platforms (ab)use it in PIC code, but their linkers get confused if
78.14463 + # the symbol is explicitly referenced. Since portable code cannot
78.14464 + # rely on this symbol name, it's probably fine to never include it in
78.14465 + # preloaded symbol tables.
78.14466 + extract_expsyms_cmds=
78.14467 + # Just being paranoid about ensuring that cc_basename is set.
78.14468 + for cc_temp in $compiler""; do
78.14469 + case $cc_temp in
78.14470 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.14471 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.14472 + \-*) ;;
78.14473 + *) break;;
78.14474 + esac
78.14475 +done
78.14476 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.14477 +
78.14478 + case $host_os in
78.14479 + cygwin* | mingw* | pw32*)
78.14480 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
78.14481 + # When not using gcc, we currently assume that we are using
78.14482 + # Microsoft Visual C++.
78.14483 + if test "$GCC" != yes; then
78.14484 + with_gnu_ld=no
78.14485 + fi
78.14486 + ;;
78.14487 + interix*)
78.14488 + # we just hope/assume this is gcc and not c89 (= MSVC++)
78.14489 + with_gnu_ld=yes
78.14490 + ;;
78.14491 + openbsd*)
78.14492 + with_gnu_ld=no
78.14493 + ;;
78.14494 + esac
78.14495 +
78.14496 + ld_shlibs_F77=yes
78.14497 + if test "$with_gnu_ld" = yes; then
78.14498 + # If archive_cmds runs LD, not CC, wlarc should be empty
78.14499 + wlarc='${wl}'
78.14500 +
78.14501 + # Set some defaults for GNU ld with shared library support. These
78.14502 + # are reset later if shared libraries are not supported. Putting them
78.14503 + # here allows them to be overridden if necessary.
78.14504 + runpath_var=LD_RUN_PATH
78.14505 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
78.14506 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
78.14507 + # ancient GNU ld didn't support --whole-archive et. al.
78.14508 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
78.14509 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
78.14510 + else
78.14511 + whole_archive_flag_spec_F77=
78.14512 + fi
78.14513 + supports_anon_versioning=no
78.14514 + case `$LD -v 2>/dev/null` in
78.14515 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
78.14516 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
78.14517 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
78.14518 + *\ 2.11.*) ;; # other 2.11 versions
78.14519 + *) supports_anon_versioning=yes ;;
78.14520 + esac
78.14521 +
78.14522 + # See if GNU ld supports shared libraries.
78.14523 + case $host_os in
78.14524 + aix3* | aix4* | aix5*)
78.14525 + # On AIX/PPC, the GNU linker is very broken
78.14526 + if test "$host_cpu" != ia64; then
78.14527 + ld_shlibs_F77=no
78.14528 + cat <<EOF 1>&2
78.14529 +
78.14530 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
78.14531 +*** to be unable to reliably create shared libraries on AIX.
78.14532 +*** Therefore, libtool is disabling shared libraries support. If you
78.14533 +*** really care for shared libraries, you may want to modify your PATH
78.14534 +*** so that a non-GNU linker is found, and then restart.
78.14535 +
78.14536 +EOF
78.14537 + fi
78.14538 + ;;
78.14539 +
78.14540 + amigaos*)
78.14541 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.14542 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.14543 + hardcode_minus_L_F77=yes
78.14544 +
78.14545 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
78.14546 + # that the semantics of dynamic libraries on AmigaOS, at least up
78.14547 + # to version 4, is to share data among multiple programs linked
78.14548 + # with the same dynamic library. Since this doesn't match the
78.14549 + # behavior of shared libraries on other platforms, we can't use
78.14550 + # them.
78.14551 + ld_shlibs_F77=no
78.14552 + ;;
78.14553 +
78.14554 + beos*)
78.14555 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.14556 + allow_undefined_flag_F77=unsupported
78.14557 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
78.14558 + # support --undefined. This deserves some investigation. FIXME
78.14559 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.14560 + else
78.14561 + ld_shlibs_F77=no
78.14562 + fi
78.14563 + ;;
78.14564 +
78.14565 + cygwin* | mingw* | pw32*)
78.14566 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
78.14567 + # as there is no search path for DLLs.
78.14568 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.14569 + allow_undefined_flag_F77=unsupported
78.14570 + always_export_symbols_F77=no
78.14571 + enable_shared_with_static_runtimes_F77=yes
78.14572 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
78.14573 +
78.14574 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
78.14575 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.14576 + # If the export-symbols file already is a .def file (1st line
78.14577 + # is EXPORTS), use it as is; otherwise, prepend...
78.14578 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
78.14579 + cp $export_symbols $output_objdir/$soname.def;
78.14580 + else
78.14581 + echo EXPORTS > $output_objdir/$soname.def;
78.14582 + cat $export_symbols >> $output_objdir/$soname.def;
78.14583 + fi~
78.14584 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.14585 + else
78.14586 + ld_shlibs_F77=no
78.14587 + fi
78.14588 + ;;
78.14589 +
78.14590 + interix3*)
78.14591 + hardcode_direct_F77=no
78.14592 + hardcode_shlibpath_var_F77=no
78.14593 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
78.14594 + export_dynamic_flag_spec_F77='${wl}-E'
78.14595 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
78.14596 + # Instead, shared libraries are loaded at an image base (0x10000000 by
78.14597 + # default) and relocated if they conflict, which is a slow very memory
78.14598 + # consuming and fragmenting process. To avoid this, we pick a random,
78.14599 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
78.14600 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
78.14601 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.14602 + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.14603 + ;;
78.14604 +
78.14605 + linux*)
78.14606 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.14607 + tmp_addflag=
78.14608 + case $cc_basename,$host_cpu in
78.14609 + pgcc*) # Portland Group C compiler
78.14610 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.14611 + tmp_addflag=' $pic_flag'
78.14612 + ;;
78.14613 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
78.14614 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.14615 + tmp_addflag=' $pic_flag -Mnomain' ;;
78.14616 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
78.14617 + tmp_addflag=' -i_dynamic' ;;
78.14618 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
78.14619 + tmp_addflag=' -i_dynamic -nofor_main' ;;
78.14620 + ifc* | ifort*) # Intel Fortran compiler
78.14621 + tmp_addflag=' -nofor_main' ;;
78.14622 + esac
78.14623 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.14624 +
78.14625 + if test $supports_anon_versioning = yes; then
78.14626 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
78.14627 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
78.14628 + $echo "local: *; };" >> $output_objdir/$libname.ver~
78.14629 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
78.14630 + fi
78.14631 + else
78.14632 + ld_shlibs_F77=no
78.14633 + fi
78.14634 + ;;
78.14635 +
78.14636 + netbsd*)
78.14637 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.14638 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
78.14639 + wlarc=
78.14640 + else
78.14641 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.14642 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.14643 + fi
78.14644 + ;;
78.14645 +
78.14646 + solaris*)
78.14647 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
78.14648 + ld_shlibs_F77=no
78.14649 + cat <<EOF 1>&2
78.14650 +
78.14651 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
78.14652 +*** create shared libraries on Solaris systems. Therefore, libtool
78.14653 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.14654 +*** binutils to release 2.9.1 or newer. Another option is to modify
78.14655 +*** your PATH or compiler configuration so that the native linker is
78.14656 +*** used, and then restart.
78.14657 +
78.14658 +EOF
78.14659 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.14660 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.14661 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.14662 + else
78.14663 + ld_shlibs_F77=no
78.14664 + fi
78.14665 + ;;
78.14666 +
78.14667 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
78.14668 + case `$LD -v 2>&1` in
78.14669 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
78.14670 + ld_shlibs_F77=no
78.14671 + cat <<_LT_EOF 1>&2
78.14672 +
78.14673 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
78.14674 +*** reliably create shared libraries on SCO systems. Therefore, libtool
78.14675 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.14676 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
78.14677 +*** your PATH or compiler configuration so that the native linker is
78.14678 +*** used, and then restart.
78.14679 +
78.14680 +_LT_EOF
78.14681 + ;;
78.14682 + *)
78.14683 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.14684 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
78.14685 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
78.14686 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
78.14687 + else
78.14688 + ld_shlibs_F77=no
78.14689 + fi
78.14690 + ;;
78.14691 + esac
78.14692 + ;;
78.14693 +
78.14694 + sunos4*)
78.14695 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.14696 + wlarc=
78.14697 + hardcode_direct_F77=yes
78.14698 + hardcode_shlibpath_var_F77=no
78.14699 + ;;
78.14700 +
78.14701 + *)
78.14702 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.14703 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.14704 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.14705 + else
78.14706 + ld_shlibs_F77=no
78.14707 + fi
78.14708 + ;;
78.14709 + esac
78.14710 +
78.14711 + if test "$ld_shlibs_F77" = no; then
78.14712 + runpath_var=
78.14713 + hardcode_libdir_flag_spec_F77=
78.14714 + export_dynamic_flag_spec_F77=
78.14715 + whole_archive_flag_spec_F77=
78.14716 + fi
78.14717 + else
78.14718 + # PORTME fill in a description of your system's linker (not GNU ld)
78.14719 + case $host_os in
78.14720 + aix3*)
78.14721 + allow_undefined_flag_F77=unsupported
78.14722 + always_export_symbols_F77=yes
78.14723 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
78.14724 + # Note: this linker hardcodes the directories in LIBPATH if there
78.14725 + # are no directories specified by -L.
78.14726 + hardcode_minus_L_F77=yes
78.14727 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
78.14728 + # Neither direct hardcoding nor static linking is supported with a
78.14729 + # broken collect2.
78.14730 + hardcode_direct_F77=unsupported
78.14731 + fi
78.14732 + ;;
78.14733 +
78.14734 + aix4* | aix5*)
78.14735 + if test "$host_cpu" = ia64; then
78.14736 + # On IA64, the linker does run time linking by default, so we don't
78.14737 + # have to do anything special.
78.14738 + aix_use_runtimelinking=no
78.14739 + exp_sym_flag='-Bexport'
78.14740 + no_entry_flag=""
78.14741 + else
78.14742 + # If we're using GNU nm, then we don't want the "-C" option.
78.14743 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
78.14744 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
78.14745 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.14746 + else
78.14747 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.14748 + fi
78.14749 + aix_use_runtimelinking=no
78.14750 +
78.14751 + # Test if we are trying to use run time linking or normal
78.14752 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
78.14753 + # need to do runtime linking.
78.14754 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
78.14755 + for ld_flag in $LDFLAGS; do
78.14756 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
78.14757 + aix_use_runtimelinking=yes
78.14758 + break
78.14759 + fi
78.14760 + done
78.14761 + ;;
78.14762 + esac
78.14763 +
78.14764 + exp_sym_flag='-bexport'
78.14765 + no_entry_flag='-bnoentry'
78.14766 + fi
78.14767 +
78.14768 + # When large executables or shared objects are built, AIX ld can
78.14769 + # have problems creating the table of contents. If linking a library
78.14770 + # or program results in "error TOC overflow" add -mminimal-toc to
78.14771 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
78.14772 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
78.14773 +
78.14774 + archive_cmds_F77=''
78.14775 + hardcode_direct_F77=yes
78.14776 + hardcode_libdir_separator_F77=':'
78.14777 + link_all_deplibs_F77=yes
78.14778 +
78.14779 + if test "$GCC" = yes; then
78.14780 + case $host_os in aix4.[012]|aix4.[012].*)
78.14781 + # We only want to do this on AIX 4.2 and lower, the check
78.14782 + # below for broken collect2 doesn't work under 4.3+
78.14783 + collect2name=`${CC} -print-prog-name=collect2`
78.14784 + if test -f "$collect2name" && \
78.14785 + strings "$collect2name" | grep resolve_lib_name >/dev/null
78.14786 + then
78.14787 + # We have reworked collect2
78.14788 + hardcode_direct_F77=yes
78.14789 + else
78.14790 + # We have old collect2
78.14791 + hardcode_direct_F77=unsupported
78.14792 + # It fails to find uninstalled libraries when the uninstalled
78.14793 + # path is not listed in the libpath. Setting hardcode_minus_L
78.14794 + # to unsupported forces relinking
78.14795 + hardcode_minus_L_F77=yes
78.14796 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.14797 + hardcode_libdir_separator_F77=
78.14798 + fi
78.14799 + ;;
78.14800 + esac
78.14801 + shared_flag='-shared'
78.14802 + if test "$aix_use_runtimelinking" = yes; then
78.14803 + shared_flag="$shared_flag "'${wl}-G'
78.14804 + fi
78.14805 + else
78.14806 + # not using gcc
78.14807 + if test "$host_cpu" = ia64; then
78.14808 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
78.14809 + # chokes on -Wl,-G. The following line is correct:
78.14810 + shared_flag='-G'
78.14811 + else
78.14812 + if test "$aix_use_runtimelinking" = yes; then
78.14813 + shared_flag='${wl}-G'
78.14814 + else
78.14815 + shared_flag='${wl}-bM:SRE'
78.14816 + fi
78.14817 + fi
78.14818 + fi
78.14819 +
78.14820 + # It seems that -bexpall does not export symbols beginning with
78.14821 + # underscore (_), so it is better to generate a list of symbols to export.
78.14822 + always_export_symbols_F77=yes
78.14823 + if test "$aix_use_runtimelinking" = yes; then
78.14824 + # Warning - without using the other runtime loading flags (-brtl),
78.14825 + # -berok will link without error, but may produce a broken library.
78.14826 + allow_undefined_flag_F77='-berok'
78.14827 + # Determine the default libpath from the value encoded in an empty executable.
78.14828 + cat >conftest.$ac_ext <<_ACEOF
78.14829 + program main
78.14830 +
78.14831 + end
78.14832 +_ACEOF
78.14833 +rm -f conftest.$ac_objext conftest$ac_exeext
78.14834 +if { (ac_try="$ac_link"
78.14835 +case "(($ac_try" in
78.14836 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14837 + *) ac_try_echo=$ac_try;;
78.14838 +esac
78.14839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14840 + (eval "$ac_link") 2>conftest.er1
78.14841 + ac_status=$?
78.14842 + grep -v '^ *+' conftest.er1 >conftest.err
78.14843 + rm -f conftest.er1
78.14844 + cat conftest.err >&5
78.14845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14846 + (exit $ac_status); } &&
78.14847 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
78.14848 + { (case "(($ac_try" in
78.14849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14850 + *) ac_try_echo=$ac_try;;
78.14851 +esac
78.14852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14853 + (eval "$ac_try") 2>&5
78.14854 + ac_status=$?
78.14855 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14856 + (exit $ac_status); }; } &&
78.14857 + { ac_try='test -s conftest$ac_exeext'
78.14858 + { (case "(($ac_try" in
78.14859 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14860 + *) ac_try_echo=$ac_try;;
78.14861 +esac
78.14862 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14863 + (eval "$ac_try") 2>&5
78.14864 + ac_status=$?
78.14865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14866 + (exit $ac_status); }; }; then
78.14867 +
78.14868 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.14869 +}'`
78.14870 +# Check for a 64-bit object if we didn't find anything.
78.14871 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.14872 +}'`; fi
78.14873 +else
78.14874 + echo "$as_me: failed program was:" >&5
78.14875 +sed 's/^/| /' conftest.$ac_ext >&5
78.14876 +
78.14877 +
78.14878 +fi
78.14879 +
78.14880 +rm -f core conftest.err conftest.$ac_objext \
78.14881 + conftest$ac_exeext conftest.$ac_ext
78.14882 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.14883 +
78.14884 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
78.14885 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
78.14886 + else
78.14887 + if test "$host_cpu" = ia64; then
78.14888 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
78.14889 + allow_undefined_flag_F77="-z nodefs"
78.14890 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
78.14891 + else
78.14892 + # Determine the default libpath from the value encoded in an empty executable.
78.14893 + cat >conftest.$ac_ext <<_ACEOF
78.14894 + program main
78.14895 +
78.14896 + end
78.14897 +_ACEOF
78.14898 +rm -f conftest.$ac_objext conftest$ac_exeext
78.14899 +if { (ac_try="$ac_link"
78.14900 +case "(($ac_try" in
78.14901 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14902 + *) ac_try_echo=$ac_try;;
78.14903 +esac
78.14904 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14905 + (eval "$ac_link") 2>conftest.er1
78.14906 + ac_status=$?
78.14907 + grep -v '^ *+' conftest.er1 >conftest.err
78.14908 + rm -f conftest.er1
78.14909 + cat conftest.err >&5
78.14910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14911 + (exit $ac_status); } &&
78.14912 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
78.14913 + { (case "(($ac_try" in
78.14914 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14915 + *) ac_try_echo=$ac_try;;
78.14916 +esac
78.14917 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14918 + (eval "$ac_try") 2>&5
78.14919 + ac_status=$?
78.14920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14921 + (exit $ac_status); }; } &&
78.14922 + { ac_try='test -s conftest$ac_exeext'
78.14923 + { (case "(($ac_try" in
78.14924 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.14925 + *) ac_try_echo=$ac_try;;
78.14926 +esac
78.14927 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.14928 + (eval "$ac_try") 2>&5
78.14929 + ac_status=$?
78.14930 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.14931 + (exit $ac_status); }; }; then
78.14932 +
78.14933 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.14934 +}'`
78.14935 +# Check for a 64-bit object if we didn't find anything.
78.14936 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.14937 +}'`; fi
78.14938 +else
78.14939 + echo "$as_me: failed program was:" >&5
78.14940 +sed 's/^/| /' conftest.$ac_ext >&5
78.14941 +
78.14942 +
78.14943 +fi
78.14944 +
78.14945 +rm -f core conftest.err conftest.$ac_objext \
78.14946 + conftest$ac_exeext conftest.$ac_ext
78.14947 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.14948 +
78.14949 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
78.14950 + # Warning - without using the other run time loading flags,
78.14951 + # -berok will link without error, but may produce a broken library.
78.14952 + no_undefined_flag_F77=' ${wl}-bernotok'
78.14953 + allow_undefined_flag_F77=' ${wl}-berok'
78.14954 + # Exported symbols can be pulled into shared objects from archives
78.14955 + whole_archive_flag_spec_F77='$convenience'
78.14956 + archive_cmds_need_lc_F77=yes
78.14957 + # This is similar to how AIX traditionally builds its shared libraries.
78.14958 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
78.14959 + fi
78.14960 + fi
78.14961 + ;;
78.14962 +
78.14963 + amigaos*)
78.14964 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.14965 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.14966 + hardcode_minus_L_F77=yes
78.14967 + # see comment about different semantics on the GNU ld section
78.14968 + ld_shlibs_F77=no
78.14969 + ;;
78.14970 +
78.14971 + bsdi[45]*)
78.14972 + export_dynamic_flag_spec_F77=-rdynamic
78.14973 + ;;
78.14974 +
78.14975 + cygwin* | mingw* | pw32*)
78.14976 + # When not using gcc, we currently assume that we are using
78.14977 + # Microsoft Visual C++.
78.14978 + # hardcode_libdir_flag_spec is actually meaningless, as there is
78.14979 + # no search path for DLLs.
78.14980 + hardcode_libdir_flag_spec_F77=' '
78.14981 + allow_undefined_flag_F77=unsupported
78.14982 + # Tell ltmain to make .lib files, not .a files.
78.14983 + libext=lib
78.14984 + # Tell ltmain to make .dll files, not .so files.
78.14985 + shrext_cmds=".dll"
78.14986 + # FIXME: Setting linknames here is a bad hack.
78.14987 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
78.14988 + # The linker will automatically build a .lib file if we build a DLL.
78.14989 + old_archive_From_new_cmds_F77='true'
78.14990 + # FIXME: Should let the user specify the lib program.
78.14991 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
78.14992 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
78.14993 + enable_shared_with_static_runtimes_F77=yes
78.14994 + ;;
78.14995 +
78.14996 + darwin* | rhapsody*)
78.14997 + case $host_os in
78.14998 + rhapsody* | darwin1.[012])
78.14999 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
78.15000 + ;;
78.15001 + *) # Darwin 1.3 on
78.15002 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
78.15003 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.15004 + else
78.15005 + case ${MACOSX_DEPLOYMENT_TARGET} in
78.15006 + 10.[012])
78.15007 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.15008 + ;;
78.15009 + 10.*)
78.15010 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
78.15011 + ;;
78.15012 + esac
78.15013 + fi
78.15014 + ;;
78.15015 + esac
78.15016 + archive_cmds_need_lc_F77=no
78.15017 + hardcode_direct_F77=no
78.15018 + hardcode_automatic_F77=yes
78.15019 + hardcode_shlibpath_var_F77=unsupported
78.15020 + whole_archive_flag_spec_F77=''
78.15021 + link_all_deplibs_F77=yes
78.15022 + if test "$GCC" = yes ; then
78.15023 + output_verbose_link_cmd='echo'
78.15024 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
78.15025 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.15026 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.15027 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.15028 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.15029 + else
78.15030 + case $cc_basename in
78.15031 + xlc*)
78.15032 + output_verbose_link_cmd='echo'
78.15033 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
78.15034 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.15035 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.15036 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.15037 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.15038 + ;;
78.15039 + *)
78.15040 + ld_shlibs_F77=no
78.15041 + ;;
78.15042 + esac
78.15043 + fi
78.15044 + ;;
78.15045 +
78.15046 + dgux*)
78.15047 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15048 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.15049 + hardcode_shlibpath_var_F77=no
78.15050 + ;;
78.15051 +
78.15052 + freebsd1*)
78.15053 + ld_shlibs_F77=no
78.15054 + ;;
78.15055 +
78.15056 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
78.15057 + # support. Future versions do this automatically, but an explicit c++rt0.o
78.15058 + # does not break anything, and helps significantly (at the cost of a little
78.15059 + # extra space).
78.15060 + freebsd2.2*)
78.15061 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
78.15062 + hardcode_libdir_flag_spec_F77='-R$libdir'
78.15063 + hardcode_direct_F77=yes
78.15064 + hardcode_shlibpath_var_F77=no
78.15065 + ;;
78.15066 +
78.15067 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
78.15068 + freebsd2*)
78.15069 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.15070 + hardcode_direct_F77=yes
78.15071 + hardcode_minus_L_F77=yes
78.15072 + hardcode_shlibpath_var_F77=no
78.15073 + ;;
78.15074 +
78.15075 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
78.15076 + freebsd* | kfreebsd*-gnu | dragonfly*)
78.15077 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
78.15078 + hardcode_libdir_flag_spec_F77='-R$libdir'
78.15079 + hardcode_direct_F77=yes
78.15080 + hardcode_shlibpath_var_F77=no
78.15081 + ;;
78.15082 +
78.15083 + hpux9*)
78.15084 + if test "$GCC" = yes; then
78.15085 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.15086 + else
78.15087 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.15088 + fi
78.15089 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
78.15090 + hardcode_libdir_separator_F77=:
78.15091 + hardcode_direct_F77=yes
78.15092 +
78.15093 + # hardcode_minus_L: Not really in the search PATH,
78.15094 + # but as the default location of the library.
78.15095 + hardcode_minus_L_F77=yes
78.15096 + export_dynamic_flag_spec_F77='${wl}-E'
78.15097 + ;;
78.15098 +
78.15099 + hpux10*)
78.15100 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.15101 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.15102 + else
78.15103 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
78.15104 + fi
78.15105 + if test "$with_gnu_ld" = no; then
78.15106 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
78.15107 + hardcode_libdir_separator_F77=:
78.15108 +
78.15109 + hardcode_direct_F77=yes
78.15110 + export_dynamic_flag_spec_F77='${wl}-E'
78.15111 +
78.15112 + # hardcode_minus_L: Not really in the search PATH,
78.15113 + # but as the default location of the library.
78.15114 + hardcode_minus_L_F77=yes
78.15115 + fi
78.15116 + ;;
78.15117 +
78.15118 + hpux11*)
78.15119 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.15120 + case $host_cpu in
78.15121 + hppa*64*)
78.15122 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15123 + ;;
78.15124 + ia64*)
78.15125 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.15126 + ;;
78.15127 + *)
78.15128 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.15129 + ;;
78.15130 + esac
78.15131 + else
78.15132 + case $host_cpu in
78.15133 + hppa*64*)
78.15134 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15135 + ;;
78.15136 + ia64*)
78.15137 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.15138 + ;;
78.15139 + *)
78.15140 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.15141 + ;;
78.15142 + esac
78.15143 + fi
78.15144 + if test "$with_gnu_ld" = no; then
78.15145 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
78.15146 + hardcode_libdir_separator_F77=:
78.15147 +
78.15148 + case $host_cpu in
78.15149 + hppa*64*|ia64*)
78.15150 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
78.15151 + hardcode_direct_F77=no
78.15152 + hardcode_shlibpath_var_F77=no
78.15153 + ;;
78.15154 + *)
78.15155 + hardcode_direct_F77=yes
78.15156 + export_dynamic_flag_spec_F77='${wl}-E'
78.15157 +
78.15158 + # hardcode_minus_L: Not really in the search PATH,
78.15159 + # but as the default location of the library.
78.15160 + hardcode_minus_L_F77=yes
78.15161 + ;;
78.15162 + esac
78.15163 + fi
78.15164 + ;;
78.15165 +
78.15166 + irix5* | irix6* | nonstopux*)
78.15167 + if test "$GCC" = yes; then
78.15168 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.15169 + else
78.15170 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.15171 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
78.15172 + fi
78.15173 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
78.15174 + hardcode_libdir_separator_F77=:
78.15175 + link_all_deplibs_F77=yes
78.15176 + ;;
78.15177 +
78.15178 + netbsd*)
78.15179 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.15180 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
78.15181 + else
78.15182 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
78.15183 + fi
78.15184 + hardcode_libdir_flag_spec_F77='-R$libdir'
78.15185 + hardcode_direct_F77=yes
78.15186 + hardcode_shlibpath_var_F77=no
78.15187 + ;;
78.15188 +
78.15189 + newsos6)
78.15190 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15191 + hardcode_direct_F77=yes
78.15192 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
78.15193 + hardcode_libdir_separator_F77=:
78.15194 + hardcode_shlibpath_var_F77=no
78.15195 + ;;
78.15196 +
78.15197 + openbsd*)
78.15198 + hardcode_direct_F77=yes
78.15199 + hardcode_shlibpath_var_F77=no
78.15200 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.15201 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.15202 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
78.15203 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
78.15204 + export_dynamic_flag_spec_F77='${wl}-E'
78.15205 + else
78.15206 + case $host_os in
78.15207 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
78.15208 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.15209 + hardcode_libdir_flag_spec_F77='-R$libdir'
78.15210 + ;;
78.15211 + *)
78.15212 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.15213 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
78.15214 + ;;
78.15215 + esac
78.15216 + fi
78.15217 + ;;
78.15218 +
78.15219 + os2*)
78.15220 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.15221 + hardcode_minus_L_F77=yes
78.15222 + allow_undefined_flag_F77=unsupported
78.15223 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
78.15224 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
78.15225 + ;;
78.15226 +
78.15227 + osf3*)
78.15228 + if test "$GCC" = yes; then
78.15229 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
78.15230 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.15231 + else
78.15232 + allow_undefined_flag_F77=' -expect_unresolved \*'
78.15233 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.15234 + fi
78.15235 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
78.15236 + hardcode_libdir_separator_F77=:
78.15237 + ;;
78.15238 +
78.15239 + osf4* | osf5*) # as osf3* with the addition of -msym flag
78.15240 + if test "$GCC" = yes; then
78.15241 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
78.15242 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.15243 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
78.15244 + else
78.15245 + allow_undefined_flag_F77=' -expect_unresolved \*'
78.15246 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.15247 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
78.15248 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
78.15249 +
78.15250 + # Both c and cxx compiler support -rpath directly
78.15251 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
78.15252 + fi
78.15253 + hardcode_libdir_separator_F77=:
78.15254 + ;;
78.15255 +
78.15256 + solaris*)
78.15257 + no_undefined_flag_F77=' -z text'
78.15258 + if test "$GCC" = yes; then
78.15259 + wlarc='${wl}'
78.15260 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15261 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.15262 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
78.15263 + else
78.15264 + wlarc=''
78.15265 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15266 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.15267 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
78.15268 + fi
78.15269 + hardcode_libdir_flag_spec_F77='-R$libdir'
78.15270 + hardcode_shlibpath_var_F77=no
78.15271 + case $host_os in
78.15272 + solaris2.[0-5] | solaris2.[0-5].*) ;;
78.15273 + *)
78.15274 + # The compiler driver will combine linker options so we
78.15275 + # cannot just pass the convience library names through
78.15276 + # without $wl, iff we do not link with $LD.
78.15277 + # Luckily, gcc supports the same syntax we need for Sun Studio.
78.15278 + # Supported since Solaris 2.6 (maybe 2.5.1?)
78.15279 + case $wlarc in
78.15280 + '')
78.15281 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
78.15282 + *)
78.15283 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
78.15284 + esac ;;
78.15285 + esac
78.15286 + link_all_deplibs_F77=yes
78.15287 + ;;
78.15288 +
78.15289 + sunos4*)
78.15290 + if test "x$host_vendor" = xsequent; then
78.15291 + # Use $CC to link under sequent, because it throws in some extra .o
78.15292 + # files that make .init and .fini sections work.
78.15293 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
78.15294 + else
78.15295 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
78.15296 + fi
78.15297 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.15298 + hardcode_direct_F77=yes
78.15299 + hardcode_minus_L_F77=yes
78.15300 + hardcode_shlibpath_var_F77=no
78.15301 + ;;
78.15302 +
78.15303 + sysv4)
78.15304 + case $host_vendor in
78.15305 + sni)
78.15306 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15307 + hardcode_direct_F77=yes # is this really true???
78.15308 + ;;
78.15309 + siemens)
78.15310 + ## LD is ld it makes a PLAMLIB
78.15311 + ## CC just makes a GrossModule.
78.15312 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
78.15313 + reload_cmds_F77='$CC -r -o $output$reload_objs'
78.15314 + hardcode_direct_F77=no
78.15315 + ;;
78.15316 + motorola)
78.15317 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15318 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
78.15319 + ;;
78.15320 + esac
78.15321 + runpath_var='LD_RUN_PATH'
78.15322 + hardcode_shlibpath_var_F77=no
78.15323 + ;;
78.15324 +
78.15325 + sysv4.3*)
78.15326 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15327 + hardcode_shlibpath_var_F77=no
78.15328 + export_dynamic_flag_spec_F77='-Bexport'
78.15329 + ;;
78.15330 +
78.15331 + sysv4*MP*)
78.15332 + if test -d /usr/nec; then
78.15333 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15334 + hardcode_shlibpath_var_F77=no
78.15335 + runpath_var=LD_RUN_PATH
78.15336 + hardcode_runpath_var=yes
78.15337 + ld_shlibs_F77=yes
78.15338 + fi
78.15339 + ;;
78.15340 +
78.15341 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
78.15342 + no_undefined_flag_F77='${wl}-z,text'
78.15343 + archive_cmds_need_lc_F77=no
78.15344 + hardcode_shlibpath_var_F77=no
78.15345 + runpath_var='LD_RUN_PATH'
78.15346 +
78.15347 + if test "$GCC" = yes; then
78.15348 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15349 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15350 + else
78.15351 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15352 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15353 + fi
78.15354 + ;;
78.15355 +
78.15356 + sysv5* | sco3.2v5* | sco5v6*)
78.15357 + # Note: We can NOT use -z defs as we might desire, because we do not
78.15358 + # link with -lc, and that would cause any symbols used from libc to
78.15359 + # always be unresolved, which means just about no library would
78.15360 + # ever link correctly. If we're not using GNU ld we use -z text
78.15361 + # though, which does catch some bad symbols but isn't as heavy-handed
78.15362 + # as -z defs.
78.15363 + no_undefined_flag_F77='${wl}-z,text'
78.15364 + allow_undefined_flag_F77='${wl}-z,nodefs'
78.15365 + archive_cmds_need_lc_F77=no
78.15366 + hardcode_shlibpath_var_F77=no
78.15367 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
78.15368 + hardcode_libdir_separator_F77=':'
78.15369 + link_all_deplibs_F77=yes
78.15370 + export_dynamic_flag_spec_F77='${wl}-Bexport'
78.15371 + runpath_var='LD_RUN_PATH'
78.15372 +
78.15373 + if test "$GCC" = yes; then
78.15374 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15375 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15376 + else
78.15377 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15378 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.15379 + fi
78.15380 + ;;
78.15381 +
78.15382 + uts4*)
78.15383 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.15384 + hardcode_libdir_flag_spec_F77='-L$libdir'
78.15385 + hardcode_shlibpath_var_F77=no
78.15386 + ;;
78.15387 +
78.15388 + *)
78.15389 + ld_shlibs_F77=no
78.15390 + ;;
78.15391 + esac
78.15392 + fi
78.15393 +
78.15394 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
78.15395 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
78.15396 +test "$ld_shlibs_F77" = no && can_build_shared=no
78.15397 +
78.15398 +#
78.15399 +# Do we need to explicitly link libc?
78.15400 +#
78.15401 +case "x$archive_cmds_need_lc_F77" in
78.15402 +x|xyes)
78.15403 + # Assume -lc should be added
78.15404 + archive_cmds_need_lc_F77=yes
78.15405 +
78.15406 + if test "$enable_shared" = yes && test "$GCC" = yes; then
78.15407 + case $archive_cmds_F77 in
78.15408 + *'~'*)
78.15409 + # FIXME: we may have to deal with multi-command sequences.
78.15410 + ;;
78.15411 + '$CC '*)
78.15412 + # Test whether the compiler implicitly links with -lc since on some
78.15413 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
78.15414 + # to ld, don't add -lc before -lgcc.
78.15415 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
78.15416 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
78.15417 + $rm conftest*
78.15418 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.15419 +
78.15420 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.15421 + (eval $ac_compile) 2>&5
78.15422 + ac_status=$?
78.15423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.15424 + (exit $ac_status); } 2>conftest.err; then
78.15425 + soname=conftest
78.15426 + lib=conftest
78.15427 + libobjs=conftest.$ac_objext
78.15428 + deplibs=
78.15429 + wl=$lt_prog_compiler_wl_F77
78.15430 + pic_flag=$lt_prog_compiler_pic_F77
78.15431 + compiler_flags=-v
78.15432 + linker_flags=-v
78.15433 + verstring=
78.15434 + output_objdir=.
78.15435 + libname=conftest
78.15436 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
78.15437 + allow_undefined_flag_F77=
78.15438 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
78.15439 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
78.15440 + ac_status=$?
78.15441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.15442 + (exit $ac_status); }
78.15443 + then
78.15444 + archive_cmds_need_lc_F77=no
78.15445 + else
78.15446 + archive_cmds_need_lc_F77=yes
78.15447 + fi
78.15448 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
78.15449 + else
78.15450 + cat conftest.err 1>&5
78.15451 + fi
78.15452 + $rm conftest*
78.15453 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
78.15454 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
78.15455 + ;;
78.15456 + esac
78.15457 + fi
78.15458 + ;;
78.15459 +esac
78.15460 +
78.15461 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
78.15462 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
78.15463 +library_names_spec=
78.15464 +libname_spec='lib$name'
78.15465 +soname_spec=
78.15466 +shrext_cmds=".so"
78.15467 +postinstall_cmds=
78.15468 +postuninstall_cmds=
78.15469 +finish_cmds=
78.15470 +finish_eval=
78.15471 +shlibpath_var=
78.15472 +shlibpath_overrides_runpath=unknown
78.15473 +version_type=none
78.15474 +dynamic_linker="$host_os ld.so"
78.15475 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
78.15476 +if test "$GCC" = yes; then
78.15477 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.15478 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
78.15479 + # if the path contains ";" then we assume it to be the separator
78.15480 + # otherwise default to the standard path separator (i.e. ":") - it is
78.15481 + # assumed that no part of a normal pathname contains ";" but that should
78.15482 + # okay in the real world where ";" in dirpaths is itself problematic.
78.15483 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.15484 + else
78.15485 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.15486 + fi
78.15487 +else
78.15488 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
78.15489 +fi
78.15490 +need_lib_prefix=unknown
78.15491 +hardcode_into_libs=no
78.15492 +
78.15493 +# when you set need_version to no, make sure it does not cause -set_version
78.15494 +# flags to be left without arguments
78.15495 +need_version=unknown
78.15496 +
78.15497 +case $host_os in
78.15498 +aix3*)
78.15499 + version_type=linux
78.15500 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
78.15501 + shlibpath_var=LIBPATH
78.15502 +
78.15503 + # AIX 3 has no versioning support, so we append a major version to the name.
78.15504 + soname_spec='${libname}${release}${shared_ext}$major'
78.15505 + ;;
78.15506 +
78.15507 +aix4* | aix5*)
78.15508 + version_type=linux
78.15509 + need_lib_prefix=no
78.15510 + need_version=no
78.15511 + hardcode_into_libs=yes
78.15512 + if test "$host_cpu" = ia64; then
78.15513 + # AIX 5 supports IA64
78.15514 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
78.15515 + shlibpath_var=LD_LIBRARY_PATH
78.15516 + else
78.15517 + # With GCC up to 2.95.x, collect2 would create an import file
78.15518 + # for dependence libraries. The import file would start with
78.15519 + # the line `#! .'. This would cause the generated library to
78.15520 + # depend on `.', always an invalid library. This was fixed in
78.15521 + # development snapshots of GCC prior to 3.0.
78.15522 + case $host_os in
78.15523 + aix4 | aix4.[01] | aix4.[01].*)
78.15524 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
78.15525 + echo ' yes '
78.15526 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
78.15527 + :
78.15528 + else
78.15529 + can_build_shared=no
78.15530 + fi
78.15531 + ;;
78.15532 + esac
78.15533 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
78.15534 + # soname into executable. Probably we can add versioning support to
78.15535 + # collect2, so additional links can be useful in future.
78.15536 + if test "$aix_use_runtimelinking" = yes; then
78.15537 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
78.15538 + # instead of lib<name>.a to let people know that these are not
78.15539 + # typical AIX shared libraries.
78.15540 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15541 + else
78.15542 + # We preserve .a as extension for shared libraries through AIX4.2
78.15543 + # and later when we are not doing run time linking.
78.15544 + library_names_spec='${libname}${release}.a $libname.a'
78.15545 + soname_spec='${libname}${release}${shared_ext}$major'
78.15546 + fi
78.15547 + shlibpath_var=LIBPATH
78.15548 + fi
78.15549 + ;;
78.15550 +
78.15551 +amigaos*)
78.15552 + library_names_spec='$libname.ixlibrary $libname.a'
78.15553 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
78.15554 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
78.15555 + ;;
78.15556 +
78.15557 +beos*)
78.15558 + library_names_spec='${libname}${shared_ext}'
78.15559 + dynamic_linker="$host_os ld.so"
78.15560 + shlibpath_var=LIBRARY_PATH
78.15561 + ;;
78.15562 +
78.15563 +bsdi[45]*)
78.15564 + version_type=linux
78.15565 + need_version=no
78.15566 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15567 + soname_spec='${libname}${release}${shared_ext}$major'
78.15568 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
78.15569 + shlibpath_var=LD_LIBRARY_PATH
78.15570 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
78.15571 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
78.15572 + # the default ld.so.conf also contains /usr/contrib/lib and
78.15573 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
78.15574 + # libtool to hard-code these into programs
78.15575 + ;;
78.15576 +
78.15577 +cygwin* | mingw* | pw32*)
78.15578 + version_type=windows
78.15579 + shrext_cmds=".dll"
78.15580 + need_version=no
78.15581 + need_lib_prefix=no
78.15582 +
78.15583 + case $GCC,$host_os in
78.15584 + yes,cygwin* | yes,mingw* | yes,pw32*)
78.15585 + library_names_spec='$libname.dll.a'
78.15586 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
78.15587 + postinstall_cmds='base_file=`basename \${file}`~
78.15588 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
78.15589 + dldir=$destdir/`dirname \$dlpath`~
78.15590 + test -d \$dldir || mkdir -p \$dldir~
78.15591 + $install_prog $dir/$dlname \$dldir/$dlname~
78.15592 + chmod a+x \$dldir/$dlname'
78.15593 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
78.15594 + dlpath=$dir/\$dldll~
78.15595 + $rm \$dlpath'
78.15596 + shlibpath_overrides_runpath=yes
78.15597 +
78.15598 + case $host_os in
78.15599 + cygwin*)
78.15600 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
78.15601 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.15602 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
78.15603 + ;;
78.15604 + mingw*)
78.15605 + # MinGW DLLs use traditional 'lib' prefix
78.15606 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.15607 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.15608 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
78.15609 + # It is most probably a Windows format PATH printed by
78.15610 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
78.15611 + # path with ; separators, and with drive letters. We can handle the
78.15612 + # drive letters (cygwin fileutils understands them), so leave them,
78.15613 + # especially as we might pass files found there to a mingw objdump,
78.15614 + # which wouldn't understand a cygwinified path. Ahh.
78.15615 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.15616 + else
78.15617 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.15618 + fi
78.15619 + ;;
78.15620 + pw32*)
78.15621 + # pw32 DLLs use 'pw' prefix rather than 'lib'
78.15622 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.15623 + ;;
78.15624 + esac
78.15625 + ;;
78.15626 +
78.15627 + *)
78.15628 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
78.15629 + ;;
78.15630 + esac
78.15631 + dynamic_linker='Win32 ld.exe'
78.15632 + # FIXME: first we should search . and the directory the executable is in
78.15633 + shlibpath_var=PATH
78.15634 + ;;
78.15635 +
78.15636 +darwin* | rhapsody*)
78.15637 + dynamic_linker="$host_os dyld"
78.15638 + version_type=darwin
78.15639 + need_lib_prefix=no
78.15640 + need_version=no
78.15641 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
78.15642 + soname_spec='${libname}${release}${major}$shared_ext'
78.15643 + shlibpath_overrides_runpath=yes
78.15644 + shlibpath_var=DYLD_LIBRARY_PATH
78.15645 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
78.15646 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
78.15647 + if test "$GCC" = yes; then
78.15648 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
78.15649 + else
78.15650 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
78.15651 + fi
78.15652 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
78.15653 + ;;
78.15654 +
78.15655 +dgux*)
78.15656 + version_type=linux
78.15657 + need_lib_prefix=no
78.15658 + need_version=no
78.15659 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
78.15660 + soname_spec='${libname}${release}${shared_ext}$major'
78.15661 + shlibpath_var=LD_LIBRARY_PATH
78.15662 + ;;
78.15663 +
78.15664 +freebsd1*)
78.15665 + dynamic_linker=no
78.15666 + ;;
78.15667 +
78.15668 +kfreebsd*-gnu)
78.15669 + version_type=linux
78.15670 + need_lib_prefix=no
78.15671 + need_version=no
78.15672 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.15673 + soname_spec='${libname}${release}${shared_ext}$major'
78.15674 + shlibpath_var=LD_LIBRARY_PATH
78.15675 + shlibpath_overrides_runpath=no
78.15676 + hardcode_into_libs=yes
78.15677 + dynamic_linker='GNU ld.so'
78.15678 + ;;
78.15679 +
78.15680 +freebsd* | dragonfly*)
78.15681 + # DragonFly does not have aout. When/if they implement a new
78.15682 + # versioning mechanism, adjust this.
78.15683 + if test -x /usr/bin/objformat; then
78.15684 + objformat=`/usr/bin/objformat`
78.15685 + else
78.15686 + case $host_os in
78.15687 + freebsd[123]*) objformat=aout ;;
78.15688 + *) objformat=elf ;;
78.15689 + esac
78.15690 + fi
78.15691 + version_type=freebsd-$objformat
78.15692 + case $version_type in
78.15693 + freebsd-elf*)
78.15694 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.15695 + need_version=no
78.15696 + need_lib_prefix=no
78.15697 + ;;
78.15698 + freebsd-*)
78.15699 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
78.15700 + need_version=yes
78.15701 + ;;
78.15702 + esac
78.15703 + shlibpath_var=LD_LIBRARY_PATH
78.15704 + case $host_os in
78.15705 + freebsd2*)
78.15706 + shlibpath_overrides_runpath=yes
78.15707 + ;;
78.15708 + freebsd3.[01]* | freebsdelf3.[01]*)
78.15709 + shlibpath_overrides_runpath=yes
78.15710 + hardcode_into_libs=yes
78.15711 + ;;
78.15712 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
78.15713 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
78.15714 + shlibpath_overrides_runpath=no
78.15715 + hardcode_into_libs=yes
78.15716 + ;;
78.15717 + freebsd*) # from 4.6 on
78.15718 + shlibpath_overrides_runpath=yes
78.15719 + hardcode_into_libs=yes
78.15720 + ;;
78.15721 + esac
78.15722 + ;;
78.15723 +
78.15724 +gnu*)
78.15725 + version_type=linux
78.15726 + need_lib_prefix=no
78.15727 + need_version=no
78.15728 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
78.15729 + soname_spec='${libname}${release}${shared_ext}$major'
78.15730 + shlibpath_var=LD_LIBRARY_PATH
78.15731 + hardcode_into_libs=yes
78.15732 + ;;
78.15733 +
78.15734 +hpux9* | hpux10* | hpux11*)
78.15735 + # Give a soname corresponding to the major version so that dld.sl refuses to
78.15736 + # link against other versions.
78.15737 + version_type=sunos
78.15738 + need_lib_prefix=no
78.15739 + need_version=no
78.15740 + case $host_cpu in
78.15741 + ia64*)
78.15742 + shrext_cmds='.so'
78.15743 + hardcode_into_libs=yes
78.15744 + dynamic_linker="$host_os dld.so"
78.15745 + shlibpath_var=LD_LIBRARY_PATH
78.15746 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.15747 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15748 + soname_spec='${libname}${release}${shared_ext}$major'
78.15749 + if test "X$HPUX_IA64_MODE" = X32; then
78.15750 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
78.15751 + else
78.15752 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
78.15753 + fi
78.15754 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.15755 + ;;
78.15756 + hppa*64*)
78.15757 + shrext_cmds='.sl'
78.15758 + hardcode_into_libs=yes
78.15759 + dynamic_linker="$host_os dld.sl"
78.15760 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
78.15761 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.15762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15763 + soname_spec='${libname}${release}${shared_ext}$major'
78.15764 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
78.15765 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.15766 + ;;
78.15767 + *)
78.15768 + shrext_cmds='.sl'
78.15769 + dynamic_linker="$host_os dld.sl"
78.15770 + shlibpath_var=SHLIB_PATH
78.15771 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
78.15772 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15773 + soname_spec='${libname}${release}${shared_ext}$major'
78.15774 + ;;
78.15775 + esac
78.15776 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
78.15777 + postinstall_cmds='chmod 555 $lib'
78.15778 + ;;
78.15779 +
78.15780 +interix3*)
78.15781 + version_type=linux
78.15782 + need_lib_prefix=no
78.15783 + need_version=no
78.15784 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.15785 + soname_spec='${libname}${release}${shared_ext}$major'
78.15786 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
78.15787 + shlibpath_var=LD_LIBRARY_PATH
78.15788 + shlibpath_overrides_runpath=no
78.15789 + hardcode_into_libs=yes
78.15790 + ;;
78.15791 +
78.15792 +irix5* | irix6* | nonstopux*)
78.15793 + case $host_os in
78.15794 + nonstopux*) version_type=nonstopux ;;
78.15795 + *)
78.15796 + if test "$lt_cv_prog_gnu_ld" = yes; then
78.15797 + version_type=linux
78.15798 + else
78.15799 + version_type=irix
78.15800 + fi ;;
78.15801 + esac
78.15802 + need_lib_prefix=no
78.15803 + need_version=no
78.15804 + soname_spec='${libname}${release}${shared_ext}$major'
78.15805 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
78.15806 + case $host_os in
78.15807 + irix5* | nonstopux*)
78.15808 + libsuff= shlibsuff=
78.15809 + ;;
78.15810 + *)
78.15811 + case $LD in # libtool.m4 will add one of these switches to LD
78.15812 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
78.15813 + libsuff= shlibsuff= libmagic=32-bit;;
78.15814 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
78.15815 + libsuff=32 shlibsuff=N32 libmagic=N32;;
78.15816 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
78.15817 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
78.15818 + *) libsuff= shlibsuff= libmagic=never-match;;
78.15819 + esac
78.15820 + ;;
78.15821 + esac
78.15822 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
78.15823 + shlibpath_overrides_runpath=no
78.15824 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
78.15825 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
78.15826 + hardcode_into_libs=yes
78.15827 + ;;
78.15828 +
78.15829 +# No shared lib support for Linux oldld, aout, or coff.
78.15830 +linux*oldld* | linux*aout* | linux*coff*)
78.15831 + dynamic_linker=no
78.15832 + ;;
78.15833 +
78.15834 +# This must be Linux ELF.
78.15835 +linux*)
78.15836 + version_type=linux
78.15837 + need_lib_prefix=no
78.15838 + need_version=no
78.15839 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15840 + soname_spec='${libname}${release}${shared_ext}$major'
78.15841 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
78.15842 + shlibpath_var=LD_LIBRARY_PATH
78.15843 + shlibpath_overrides_runpath=no
78.15844 + # This implies no fast_install, which is unacceptable.
78.15845 + # Some rework will be needed to allow for fast_install
78.15846 + # before this can be enabled.
78.15847 + hardcode_into_libs=yes
78.15848 +
78.15849 + # Append ld.so.conf contents to the search path
78.15850 + if test -f /etc/ld.so.conf; then
78.15851 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
78.15852 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
78.15853 + fi
78.15854 +
78.15855 + # We used to test for /lib/ld.so.1 and disable shared libraries on
78.15856 + # powerpc, because MkLinux only supported shared libraries with the
78.15857 + # GNU dynamic linker. Since this was broken with cross compilers,
78.15858 + # most powerpc-linux boxes support dynamic linking these days and
78.15859 + # people can always --disable-shared, the test was removed, and we
78.15860 + # assume the GNU/Linux dynamic linker is in use.
78.15861 + dynamic_linker='GNU/Linux ld.so'
78.15862 + ;;
78.15863 +
78.15864 +knetbsd*-gnu)
78.15865 + version_type=linux
78.15866 + need_lib_prefix=no
78.15867 + need_version=no
78.15868 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.15869 + soname_spec='${libname}${release}${shared_ext}$major'
78.15870 + shlibpath_var=LD_LIBRARY_PATH
78.15871 + shlibpath_overrides_runpath=no
78.15872 + hardcode_into_libs=yes
78.15873 + dynamic_linker='GNU ld.so'
78.15874 + ;;
78.15875 +
78.15876 +netbsd*)
78.15877 + version_type=sunos
78.15878 + need_lib_prefix=no
78.15879 + need_version=no
78.15880 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.15881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.15882 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.15883 + dynamic_linker='NetBSD (a.out) ld.so'
78.15884 + else
78.15885 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.15886 + soname_spec='${libname}${release}${shared_ext}$major'
78.15887 + dynamic_linker='NetBSD ld.elf_so'
78.15888 + fi
78.15889 + shlibpath_var=LD_LIBRARY_PATH
78.15890 + shlibpath_overrides_runpath=yes
78.15891 + hardcode_into_libs=yes
78.15892 + ;;
78.15893 +
78.15894 +newsos6)
78.15895 + version_type=linux
78.15896 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15897 + shlibpath_var=LD_LIBRARY_PATH
78.15898 + shlibpath_overrides_runpath=yes
78.15899 + ;;
78.15900 +
78.15901 +nto-qnx*)
78.15902 + version_type=linux
78.15903 + need_lib_prefix=no
78.15904 + need_version=no
78.15905 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15906 + soname_spec='${libname}${release}${shared_ext}$major'
78.15907 + shlibpath_var=LD_LIBRARY_PATH
78.15908 + shlibpath_overrides_runpath=yes
78.15909 + ;;
78.15910 +
78.15911 +openbsd*)
78.15912 + version_type=sunos
78.15913 + sys_lib_dlsearch_path_spec="/usr/lib"
78.15914 + need_lib_prefix=no
78.15915 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
78.15916 + case $host_os in
78.15917 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
78.15918 + *) need_version=no ;;
78.15919 + esac
78.15920 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.15921 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.15922 + shlibpath_var=LD_LIBRARY_PATH
78.15923 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.15924 + case $host_os in
78.15925 + openbsd2.[89] | openbsd2.[89].*)
78.15926 + shlibpath_overrides_runpath=no
78.15927 + ;;
78.15928 + *)
78.15929 + shlibpath_overrides_runpath=yes
78.15930 + ;;
78.15931 + esac
78.15932 + else
78.15933 + shlibpath_overrides_runpath=yes
78.15934 + fi
78.15935 + ;;
78.15936 +
78.15937 +os2*)
78.15938 + libname_spec='$name'
78.15939 + shrext_cmds=".dll"
78.15940 + need_lib_prefix=no
78.15941 + library_names_spec='$libname${shared_ext} $libname.a'
78.15942 + dynamic_linker='OS/2 ld.exe'
78.15943 + shlibpath_var=LIBPATH
78.15944 + ;;
78.15945 +
78.15946 +osf3* | osf4* | osf5*)
78.15947 + version_type=osf
78.15948 + need_lib_prefix=no
78.15949 + need_version=no
78.15950 + soname_spec='${libname}${release}${shared_ext}$major'
78.15951 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15952 + shlibpath_var=LD_LIBRARY_PATH
78.15953 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
78.15954 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
78.15955 + ;;
78.15956 +
78.15957 +solaris*)
78.15958 + version_type=linux
78.15959 + need_lib_prefix=no
78.15960 + need_version=no
78.15961 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15962 + soname_spec='${libname}${release}${shared_ext}$major'
78.15963 + shlibpath_var=LD_LIBRARY_PATH
78.15964 + shlibpath_overrides_runpath=yes
78.15965 + hardcode_into_libs=yes
78.15966 + # ldd complains unless libraries are executable
78.15967 + postinstall_cmds='chmod +x $lib'
78.15968 + ;;
78.15969 +
78.15970 +sunos4*)
78.15971 + version_type=sunos
78.15972 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.15973 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
78.15974 + shlibpath_var=LD_LIBRARY_PATH
78.15975 + shlibpath_overrides_runpath=yes
78.15976 + if test "$with_gnu_ld" = yes; then
78.15977 + need_lib_prefix=no
78.15978 + fi
78.15979 + need_version=yes
78.15980 + ;;
78.15981 +
78.15982 +sysv4 | sysv4.3*)
78.15983 + version_type=linux
78.15984 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.15985 + soname_spec='${libname}${release}${shared_ext}$major'
78.15986 + shlibpath_var=LD_LIBRARY_PATH
78.15987 + case $host_vendor in
78.15988 + sni)
78.15989 + shlibpath_overrides_runpath=no
78.15990 + need_lib_prefix=no
78.15991 + export_dynamic_flag_spec='${wl}-Blargedynsym'
78.15992 + runpath_var=LD_RUN_PATH
78.15993 + ;;
78.15994 + siemens)
78.15995 + need_lib_prefix=no
78.15996 + ;;
78.15997 + motorola)
78.15998 + need_lib_prefix=no
78.15999 + need_version=no
78.16000 + shlibpath_overrides_runpath=no
78.16001 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
78.16002 + ;;
78.16003 + esac
78.16004 + ;;
78.16005 +
78.16006 +sysv4*MP*)
78.16007 + if test -d /usr/nec ;then
78.16008 + version_type=linux
78.16009 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
78.16010 + soname_spec='$libname${shared_ext}.$major'
78.16011 + shlibpath_var=LD_LIBRARY_PATH
78.16012 + fi
78.16013 + ;;
78.16014 +
78.16015 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
78.16016 + version_type=freebsd-elf
78.16017 + need_lib_prefix=no
78.16018 + need_version=no
78.16019 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.16020 + soname_spec='${libname}${release}${shared_ext}$major'
78.16021 + shlibpath_var=LD_LIBRARY_PATH
78.16022 + hardcode_into_libs=yes
78.16023 + if test "$with_gnu_ld" = yes; then
78.16024 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
78.16025 + shlibpath_overrides_runpath=no
78.16026 + else
78.16027 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
78.16028 + shlibpath_overrides_runpath=yes
78.16029 + case $host_os in
78.16030 + sco3.2v5*)
78.16031 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
78.16032 + ;;
78.16033 + esac
78.16034 + fi
78.16035 + sys_lib_dlsearch_path_spec='/usr/lib'
78.16036 + ;;
78.16037 +
78.16038 +uts4*)
78.16039 + version_type=linux
78.16040 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.16041 + soname_spec='${libname}${release}${shared_ext}$major'
78.16042 + shlibpath_var=LD_LIBRARY_PATH
78.16043 + ;;
78.16044 +
78.16045 +*)
78.16046 + dynamic_linker=no
78.16047 + ;;
78.16048 +esac
78.16049 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
78.16050 +echo "${ECHO_T}$dynamic_linker" >&6; }
78.16051 +test "$dynamic_linker" = no && can_build_shared=no
78.16052 +
78.16053 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
78.16054 +if test "$GCC" = yes; then
78.16055 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
78.16056 +fi
78.16057 +
78.16058 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
78.16059 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
78.16060 +hardcode_action_F77=
78.16061 +if test -n "$hardcode_libdir_flag_spec_F77" || \
78.16062 + test -n "$runpath_var_F77" || \
78.16063 + test "X$hardcode_automatic_F77" = "Xyes" ; then
78.16064 +
78.16065 + # We can hardcode non-existant directories.
78.16066 + if test "$hardcode_direct_F77" != no &&
78.16067 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
78.16068 + # have to relink, otherwise we might link with an installed library
78.16069 + # when we should be linking with a yet-to-be-installed one
78.16070 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
78.16071 + test "$hardcode_minus_L_F77" != no; then
78.16072 + # Linking always hardcodes the temporary library directory.
78.16073 + hardcode_action_F77=relink
78.16074 + else
78.16075 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
78.16076 + hardcode_action_F77=immediate
78.16077 + fi
78.16078 +else
78.16079 + # We cannot hardcode anything, or else we can only hardcode existing
78.16080 + # directories.
78.16081 + hardcode_action_F77=unsupported
78.16082 +fi
78.16083 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
78.16084 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
78.16085 +
78.16086 +if test "$hardcode_action_F77" = relink; then
78.16087 + # Fast installation is not supported
78.16088 + enable_fast_install=no
78.16089 +elif test "$shlibpath_overrides_runpath" = yes ||
78.16090 + test "$enable_shared" = no; then
78.16091 + # Fast installation is not necessary
78.16092 + enable_fast_install=needless
78.16093 +fi
78.16094 +
78.16095 +
78.16096 +# The else clause should only fire when bootstrapping the
78.16097 +# libtool distribution, otherwise you forgot to ship ltmain.sh
78.16098 +# with your package, and you will get complaints that there are
78.16099 +# no rules to generate ltmain.sh.
78.16100 +if test -f "$ltmain"; then
78.16101 + # See if we are running on zsh, and set the options which allow our commands through
78.16102 + # without removal of \ escapes.
78.16103 + if test -n "${ZSH_VERSION+set}" ; then
78.16104 + setopt NO_GLOB_SUBST
78.16105 + fi
78.16106 + # Now quote all the things that may contain metacharacters while being
78.16107 + # careful not to overquote the AC_SUBSTed values. We take copies of the
78.16108 + # variables and quote the copies for generation of the libtool script.
78.16109 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
78.16110 + SED SHELL STRIP \
78.16111 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
78.16112 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
78.16113 + deplibs_check_method reload_flag reload_cmds need_locks \
78.16114 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
78.16115 + lt_cv_sys_global_symbol_to_c_name_address \
78.16116 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
78.16117 + old_postinstall_cmds old_postuninstall_cmds \
78.16118 + compiler_F77 \
78.16119 + CC_F77 \
78.16120 + LD_F77 \
78.16121 + lt_prog_compiler_wl_F77 \
78.16122 + lt_prog_compiler_pic_F77 \
78.16123 + lt_prog_compiler_static_F77 \
78.16124 + lt_prog_compiler_no_builtin_flag_F77 \
78.16125 + export_dynamic_flag_spec_F77 \
78.16126 + thread_safe_flag_spec_F77 \
78.16127 + whole_archive_flag_spec_F77 \
78.16128 + enable_shared_with_static_runtimes_F77 \
78.16129 + old_archive_cmds_F77 \
78.16130 + old_archive_from_new_cmds_F77 \
78.16131 + predep_objects_F77 \
78.16132 + postdep_objects_F77 \
78.16133 + predeps_F77 \
78.16134 + postdeps_F77 \
78.16135 + compiler_lib_search_path_F77 \
78.16136 + archive_cmds_F77 \
78.16137 + archive_expsym_cmds_F77 \
78.16138 + postinstall_cmds_F77 \
78.16139 + postuninstall_cmds_F77 \
78.16140 + old_archive_from_expsyms_cmds_F77 \
78.16141 + allow_undefined_flag_F77 \
78.16142 + no_undefined_flag_F77 \
78.16143 + export_symbols_cmds_F77 \
78.16144 + hardcode_libdir_flag_spec_F77 \
78.16145 + hardcode_libdir_flag_spec_ld_F77 \
78.16146 + hardcode_libdir_separator_F77 \
78.16147 + hardcode_automatic_F77 \
78.16148 + module_cmds_F77 \
78.16149 + module_expsym_cmds_F77 \
78.16150 + lt_cv_prog_compiler_c_o_F77 \
78.16151 + exclude_expsyms_F77 \
78.16152 + include_expsyms_F77; do
78.16153 +
78.16154 + case $var in
78.16155 + old_archive_cmds_F77 | \
78.16156 + old_archive_from_new_cmds_F77 | \
78.16157 + archive_cmds_F77 | \
78.16158 + archive_expsym_cmds_F77 | \
78.16159 + module_cmds_F77 | \
78.16160 + module_expsym_cmds_F77 | \
78.16161 + old_archive_from_expsyms_cmds_F77 | \
78.16162 + export_symbols_cmds_F77 | \
78.16163 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
78.16164 + postinstall_cmds | postuninstall_cmds | \
78.16165 + old_postinstall_cmds | old_postuninstall_cmds | \
78.16166 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
78.16167 + # Double-quote double-evaled strings.
78.16168 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
78.16169 + ;;
78.16170 + *)
78.16171 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
78.16172 + ;;
78.16173 + esac
78.16174 + done
78.16175 +
78.16176 + case $lt_echo in
78.16177 + *'\$0 --fallback-echo"')
78.16178 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
78.16179 + ;;
78.16180 + esac
78.16181 +
78.16182 +cfgfile="$ofile"
78.16183 +
78.16184 + cat <<__EOF__ >> "$cfgfile"
78.16185 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
78.16186 +
78.16187 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78.16188 +
78.16189 +# Shell to use when invoking shell scripts.
78.16190 +SHELL=$lt_SHELL
78.16191 +
78.16192 +# Whether or not to build shared libraries.
78.16193 +build_libtool_libs=$enable_shared
78.16194 +
78.16195 +# Whether or not to build static libraries.
78.16196 +build_old_libs=$enable_static
78.16197 +
78.16198 +# Whether or not to add -lc for building shared libraries.
78.16199 +build_libtool_need_lc=$archive_cmds_need_lc_F77
78.16200 +
78.16201 +# Whether or not to disallow shared libs when runtime libs are static
78.16202 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
78.16203 +
78.16204 +# Whether or not to optimize for fast installation.
78.16205 +fast_install=$enable_fast_install
78.16206 +
78.16207 +# The host system.
78.16208 +host_alias=$host_alias
78.16209 +host=$host
78.16210 +host_os=$host_os
78.16211 +
78.16212 +# The build system.
78.16213 +build_alias=$build_alias
78.16214 +build=$build
78.16215 +build_os=$build_os
78.16216 +
78.16217 +# An echo program that does not interpret backslashes.
78.16218 +echo=$lt_echo
78.16219 +
78.16220 +# The archiver.
78.16221 +AR=$lt_AR
78.16222 +AR_FLAGS=$lt_AR_FLAGS
78.16223 +
78.16224 +# A C compiler.
78.16225 +LTCC=$lt_LTCC
78.16226 +
78.16227 +# LTCC compiler flags.
78.16228 +LTCFLAGS=$lt_LTCFLAGS
78.16229 +
78.16230 +# A language-specific compiler.
78.16231 +CC=$lt_compiler_F77
78.16232 +
78.16233 +# Is the compiler the GNU C compiler?
78.16234 +with_gcc=$GCC_F77
78.16235 +
78.16236 +# An ERE matcher.
78.16237 +EGREP=$lt_EGREP
78.16238 +
78.16239 +# The linker used to build libraries.
78.16240 +LD=$lt_LD_F77
78.16241 +
78.16242 +# Whether we need hard or soft links.
78.16243 +LN_S=$lt_LN_S
78.16244 +
78.16245 +# A BSD-compatible nm program.
78.16246 +NM=$lt_NM
78.16247 +
78.16248 +# A symbol stripping program
78.16249 +STRIP=$lt_STRIP
78.16250 +
78.16251 +# Used to examine libraries when file_magic_cmd begins "file"
78.16252 +MAGIC_CMD=$MAGIC_CMD
78.16253 +
78.16254 +# Used on cygwin: DLL creation program.
78.16255 +DLLTOOL="$DLLTOOL"
78.16256 +
78.16257 +# Used on cygwin: object dumper.
78.16258 +OBJDUMP="$OBJDUMP"
78.16259 +
78.16260 +# Used on cygwin: assembler.
78.16261 +AS="$AS"
78.16262 +
78.16263 +# The name of the directory that contains temporary libtool files.
78.16264 +objdir=$objdir
78.16265 +
78.16266 +# How to create reloadable object files.
78.16267 +reload_flag=$lt_reload_flag
78.16268 +reload_cmds=$lt_reload_cmds
78.16269 +
78.16270 +# How to pass a linker flag through the compiler.
78.16271 +wl=$lt_lt_prog_compiler_wl_F77
78.16272 +
78.16273 +# Object file suffix (normally "o").
78.16274 +objext="$ac_objext"
78.16275 +
78.16276 +# Old archive suffix (normally "a").
78.16277 +libext="$libext"
78.16278 +
78.16279 +# Shared library suffix (normally ".so").
78.16280 +shrext_cmds='$shrext_cmds'
78.16281 +
78.16282 +# Executable file suffix (normally "").
78.16283 +exeext="$exeext"
78.16284 +
78.16285 +# Additional compiler flags for building library objects.
78.16286 +pic_flag=$lt_lt_prog_compiler_pic_F77
78.16287 +pic_mode=$pic_mode
78.16288 +
78.16289 +# What is the maximum length of a command?
78.16290 +max_cmd_len=$lt_cv_sys_max_cmd_len
78.16291 +
78.16292 +# Does compiler simultaneously support -c and -o options?
78.16293 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
78.16294 +
78.16295 +# Must we lock files when doing compilation?
78.16296 +need_locks=$lt_need_locks
78.16297 +
78.16298 +# Do we need the lib prefix for modules?
78.16299 +need_lib_prefix=$need_lib_prefix
78.16300 +
78.16301 +# Do we need a version for libraries?
78.16302 +need_version=$need_version
78.16303 +
78.16304 +# Whether dlopen is supported.
78.16305 +dlopen_support=$enable_dlopen
78.16306 +
78.16307 +# Whether dlopen of programs is supported.
78.16308 +dlopen_self=$enable_dlopen_self
78.16309 +
78.16310 +# Whether dlopen of statically linked programs is supported.
78.16311 +dlopen_self_static=$enable_dlopen_self_static
78.16312 +
78.16313 +# Compiler flag to prevent dynamic linking.
78.16314 +link_static_flag=$lt_lt_prog_compiler_static_F77
78.16315 +
78.16316 +# Compiler flag to turn off builtin functions.
78.16317 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
78.16318 +
78.16319 +# Compiler flag to allow reflexive dlopens.
78.16320 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
78.16321 +
78.16322 +# Compiler flag to generate shared objects directly from archives.
78.16323 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
78.16324 +
78.16325 +# Compiler flag to generate thread-safe objects.
78.16326 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
78.16327 +
78.16328 +# Library versioning type.
78.16329 +version_type=$version_type
78.16330 +
78.16331 +# Format of library name prefix.
78.16332 +libname_spec=$lt_libname_spec
78.16333 +
78.16334 +# List of archive names. First name is the real one, the rest are links.
78.16335 +# The last name is the one that the linker finds with -lNAME.
78.16336 +library_names_spec=$lt_library_names_spec
78.16337 +
78.16338 +# The coded name of the library, if different from the real name.
78.16339 +soname_spec=$lt_soname_spec
78.16340 +
78.16341 +# Commands used to build and install an old-style archive.
78.16342 +RANLIB=$lt_RANLIB
78.16343 +old_archive_cmds=$lt_old_archive_cmds_F77
78.16344 +old_postinstall_cmds=$lt_old_postinstall_cmds
78.16345 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
78.16346 +
78.16347 +# Create an old-style archive from a shared archive.
78.16348 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
78.16349 +
78.16350 +# Create a temporary old-style archive to link instead of a shared archive.
78.16351 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
78.16352 +
78.16353 +# Commands used to build and install a shared archive.
78.16354 +archive_cmds=$lt_archive_cmds_F77
78.16355 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
78.16356 +postinstall_cmds=$lt_postinstall_cmds
78.16357 +postuninstall_cmds=$lt_postuninstall_cmds
78.16358 +
78.16359 +# Commands used to build a loadable module (assumed same as above if empty)
78.16360 +module_cmds=$lt_module_cmds_F77
78.16361 +module_expsym_cmds=$lt_module_expsym_cmds_F77
78.16362 +
78.16363 +# Commands to strip libraries.
78.16364 +old_striplib=$lt_old_striplib
78.16365 +striplib=$lt_striplib
78.16366 +
78.16367 +# Dependencies to place before the objects being linked to create a
78.16368 +# shared library.
78.16369 +predep_objects=$lt_predep_objects_F77
78.16370 +
78.16371 +# Dependencies to place after the objects being linked to create a
78.16372 +# shared library.
78.16373 +postdep_objects=$lt_postdep_objects_F77
78.16374 +
78.16375 +# Dependencies to place before the objects being linked to create a
78.16376 +# shared library.
78.16377 +predeps=$lt_predeps_F77
78.16378 +
78.16379 +# Dependencies to place after the objects being linked to create a
78.16380 +# shared library.
78.16381 +postdeps=$lt_postdeps_F77
78.16382 +
78.16383 +# The library search path used internally by the compiler when linking
78.16384 +# a shared library.
78.16385 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
78.16386 +
78.16387 +# Method to check whether dependent libraries are shared objects.
78.16388 +deplibs_check_method=$lt_deplibs_check_method
78.16389 +
78.16390 +# Command to use when deplibs_check_method == file_magic.
78.16391 +file_magic_cmd=$lt_file_magic_cmd
78.16392 +
78.16393 +# Flag that allows shared libraries with undefined symbols to be built.
78.16394 +allow_undefined_flag=$lt_allow_undefined_flag_F77
78.16395 +
78.16396 +# Flag that forces no undefined symbols.
78.16397 +no_undefined_flag=$lt_no_undefined_flag_F77
78.16398 +
78.16399 +# Commands used to finish a libtool library installation in a directory.
78.16400 +finish_cmds=$lt_finish_cmds
78.16401 +
78.16402 +# Same as above, but a single script fragment to be evaled but not shown.
78.16403 +finish_eval=$lt_finish_eval
78.16404 +
78.16405 +# Take the output of nm and produce a listing of raw symbols and C names.
78.16406 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78.16407 +
78.16408 +# Transform the output of nm in a proper C declaration
78.16409 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78.16410 +
78.16411 +# Transform the output of nm in a C name address pair
78.16412 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78.16413 +
78.16414 +# This is the shared library runtime path variable.
78.16415 +runpath_var=$runpath_var
78.16416 +
78.16417 +# This is the shared library path variable.
78.16418 +shlibpath_var=$shlibpath_var
78.16419 +
78.16420 +# Is shlibpath searched before the hard-coded library search path?
78.16421 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78.16422 +
78.16423 +# How to hardcode a shared library path into an executable.
78.16424 +hardcode_action=$hardcode_action_F77
78.16425 +
78.16426 +# Whether we should hardcode library paths into libraries.
78.16427 +hardcode_into_libs=$hardcode_into_libs
78.16428 +
78.16429 +# Flag to hardcode \$libdir into a binary during linking.
78.16430 +# This must work even if \$libdir does not exist.
78.16431 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
78.16432 +
78.16433 +# If ld is used when linking, flag to hardcode \$libdir into
78.16434 +# a binary during linking. This must work even if \$libdir does
78.16435 +# not exist.
78.16436 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
78.16437 +
78.16438 +# Whether we need a single -rpath flag with a separated argument.
78.16439 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
78.16440 +
78.16441 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
78.16442 +# resulting binary.
78.16443 +hardcode_direct=$hardcode_direct_F77
78.16444 +
78.16445 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
78.16446 +# resulting binary.
78.16447 +hardcode_minus_L=$hardcode_minus_L_F77
78.16448 +
78.16449 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
78.16450 +# the resulting binary.
78.16451 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
78.16452 +
78.16453 +# Set to yes if building a shared library automatically hardcodes DIR into the library
78.16454 +# and all subsequent libraries and executables linked against it.
78.16455 +hardcode_automatic=$hardcode_automatic_F77
78.16456 +
78.16457 +# Variables whose values should be saved in libtool wrapper scripts and
78.16458 +# restored at relink time.
78.16459 +variables_saved_for_relink="$variables_saved_for_relink"
78.16460 +
78.16461 +# Whether libtool must link a program against all its dependency libraries.
78.16462 +link_all_deplibs=$link_all_deplibs_F77
78.16463 +
78.16464 +# Compile-time system search path for libraries
78.16465 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78.16466 +
78.16467 +# Run-time system search path for libraries
78.16468 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78.16469 +
78.16470 +# Fix the shell variable \$srcfile for the compiler.
78.16471 +fix_srcfile_path="$fix_srcfile_path_F77"
78.16472 +
78.16473 +# Set to yes if exported symbols are required.
78.16474 +always_export_symbols=$always_export_symbols_F77
78.16475 +
78.16476 +# The commands to list exported symbols.
78.16477 +export_symbols_cmds=$lt_export_symbols_cmds_F77
78.16478 +
78.16479 +# The commands to extract the exported symbol list from a shared archive.
78.16480 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
78.16481 +
78.16482 +# Symbols that should not be listed in the preloaded symbols.
78.16483 +exclude_expsyms=$lt_exclude_expsyms_F77
78.16484 +
78.16485 +# Symbols that must always be exported.
78.16486 +include_expsyms=$lt_include_expsyms_F77
78.16487 +
78.16488 +# ### END LIBTOOL TAG CONFIG: $tagname
78.16489 +
78.16490 +__EOF__
78.16491 +
78.16492 +
78.16493 +else
78.16494 + # If there is no Makefile yet, we rely on a make rule to execute
78.16495 + # `config.status --recheck' to rerun these tests and create the
78.16496 + # libtool script then.
78.16497 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
78.16498 + if test -f "$ltmain_in"; then
78.16499 + test -f Makefile && make "$ltmain"
78.16500 + fi
78.16501 +fi
78.16502 +
78.16503 +
78.16504 +ac_ext=cpp
78.16505 +ac_cpp='$CXXCPP $CPPFLAGS'
78.16506 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.16507 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.16508 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.16509 +
78.16510 +CC="$lt_save_CC"
78.16511 +
78.16512 + else
78.16513 + tagname=""
78.16514 + fi
78.16515 + ;;
78.16516 +
78.16517 + GCJ)
78.16518 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
78.16519 +
78.16520 +
78.16521 +# Source file extension for Java test sources.
78.16522 +ac_ext=java
78.16523 +
78.16524 +# Object file extension for compiled Java test sources.
78.16525 +objext=o
78.16526 +objext_GCJ=$objext
78.16527 +
78.16528 +# Code to be used in simple compile tests
78.16529 +lt_simple_compile_test_code="class foo {}\n"
78.16530 +
78.16531 +# Code to be used in simple link tests
78.16532 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
78.16533 +
78.16534 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
78.16535 +
78.16536 +# If no C compiler was specified, use CC.
78.16537 +LTCC=${LTCC-"$CC"}
78.16538 +
78.16539 +# If no C compiler flags were specified, use CFLAGS.
78.16540 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.16541 +
78.16542 +# Allow CC to be a program name with arguments.
78.16543 +compiler=$CC
78.16544 +
78.16545 +
78.16546 +# save warnings/boilerplate of simple test code
78.16547 +ac_outfile=conftest.$ac_objext
78.16548 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
78.16549 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.16550 +_lt_compiler_boilerplate=`cat conftest.err`
78.16551 +$rm conftest*
78.16552 +
78.16553 +ac_outfile=conftest.$ac_objext
78.16554 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
78.16555 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.16556 +_lt_linker_boilerplate=`cat conftest.err`
78.16557 +$rm conftest*
78.16558 +
78.16559 +
78.16560 +# Allow CC to be a program name with arguments.
78.16561 +lt_save_CC="$CC"
78.16562 +CC=${GCJ-"gcj"}
78.16563 +compiler=$CC
78.16564 +compiler_GCJ=$CC
78.16565 +for cc_temp in $compiler""; do
78.16566 + case $cc_temp in
78.16567 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.16568 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.16569 + \-*) ;;
78.16570 + *) break;;
78.16571 + esac
78.16572 +done
78.16573 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.16574 +
78.16575 +
78.16576 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
78.16577 +archive_cmds_need_lc_GCJ=no
78.16578 +
78.16579 +old_archive_cmds_GCJ=$old_archive_cmds
78.16580 +
78.16581 +
78.16582 +lt_prog_compiler_no_builtin_flag_GCJ=
78.16583 +
78.16584 +if test "$GCC" = yes; then
78.16585 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
78.16586 +
78.16587 +
78.16588 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
78.16589 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
78.16590 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
78.16591 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.16592 +else
78.16593 + lt_cv_prog_compiler_rtti_exceptions=no
78.16594 + ac_outfile=conftest.$ac_objext
78.16595 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.16596 + lt_compiler_flag="-fno-rtti -fno-exceptions"
78.16597 + # Insert the option either (1) after the last *FLAGS variable, or
78.16598 + # (2) before a word containing "conftest.", or (3) at the end.
78.16599 + # Note that $ac_compile itself does not contain backslashes and begins
78.16600 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.16601 + # The option is referenced via a variable to avoid confusing sed.
78.16602 + lt_compile=`echo "$ac_compile" | $SED \
78.16603 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.16604 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.16605 + -e 's:$: $lt_compiler_flag:'`
78.16606 + (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
78.16607 + (eval "$lt_compile" 2>conftest.err)
78.16608 + ac_status=$?
78.16609 + cat conftest.err >&5
78.16610 + echo "$as_me:16607: \$? = $ac_status" >&5
78.16611 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.16612 + # The compiler can only warn and ignore the option if not recognized
78.16613 + # So say no if there are warnings other than the usual output.
78.16614 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.16615 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.16616 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.16617 + lt_cv_prog_compiler_rtti_exceptions=yes
78.16618 + fi
78.16619 + fi
78.16620 + $rm conftest*
78.16621 +
78.16622 +fi
78.16623 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
78.16624 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
78.16625 +
78.16626 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
78.16627 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
78.16628 +else
78.16629 + :
78.16630 +fi
78.16631 +
78.16632 +fi
78.16633 +
78.16634 +lt_prog_compiler_wl_GCJ=
78.16635 +lt_prog_compiler_pic_GCJ=
78.16636 +lt_prog_compiler_static_GCJ=
78.16637 +
78.16638 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
78.16639 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
78.16640 +
78.16641 + if test "$GCC" = yes; then
78.16642 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16643 + lt_prog_compiler_static_GCJ='-static'
78.16644 +
78.16645 + case $host_os in
78.16646 + aix*)
78.16647 + # All AIX code is PIC.
78.16648 + if test "$host_cpu" = ia64; then
78.16649 + # AIX 5 now supports IA64 processor
78.16650 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16651 + fi
78.16652 + ;;
78.16653 +
78.16654 + amigaos*)
78.16655 + # FIXME: we need at least 68020 code to build shared libraries, but
78.16656 + # adding the `-m68020' flag to GCC prevents building anything better,
78.16657 + # like `-m68040'.
78.16658 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
78.16659 + ;;
78.16660 +
78.16661 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
78.16662 + # PIC is the default for these OSes.
78.16663 + ;;
78.16664 +
78.16665 + mingw* | pw32* | os2*)
78.16666 + # This hack is so that the source file can tell whether it is being
78.16667 + # built for inclusion in a dll (and should export symbols for example).
78.16668 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
78.16669 + ;;
78.16670 +
78.16671 + darwin* | rhapsody*)
78.16672 + # PIC is the default on this platform
78.16673 + # Common symbols not allowed in MH_DYLIB files
78.16674 + lt_prog_compiler_pic_GCJ='-fno-common'
78.16675 + ;;
78.16676 +
78.16677 + interix3*)
78.16678 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
78.16679 + # Instead, we relocate shared libraries at runtime.
78.16680 + ;;
78.16681 +
78.16682 + msdosdjgpp*)
78.16683 + # Just because we use GCC doesn't mean we suddenly get shared libraries
78.16684 + # on systems that don't support them.
78.16685 + lt_prog_compiler_can_build_shared_GCJ=no
78.16686 + enable_shared=no
78.16687 + ;;
78.16688 +
78.16689 + sysv4*MP*)
78.16690 + if test -d /usr/nec; then
78.16691 + lt_prog_compiler_pic_GCJ=-Kconform_pic
78.16692 + fi
78.16693 + ;;
78.16694 +
78.16695 + hpux*)
78.16696 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.16697 + # not for PA HP-UX.
78.16698 + case $host_cpu in
78.16699 + hppa*64*|ia64*)
78.16700 + # +Z the default
78.16701 + ;;
78.16702 + *)
78.16703 + lt_prog_compiler_pic_GCJ='-fPIC'
78.16704 + ;;
78.16705 + esac
78.16706 + ;;
78.16707 +
78.16708 + *)
78.16709 + lt_prog_compiler_pic_GCJ='-fPIC'
78.16710 + ;;
78.16711 + esac
78.16712 + else
78.16713 + # PORTME Check for flag to pass linker flags through the system compiler.
78.16714 + case $host_os in
78.16715 + aix*)
78.16716 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16717 + if test "$host_cpu" = ia64; then
78.16718 + # AIX 5 now supports IA64 processor
78.16719 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16720 + else
78.16721 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
78.16722 + fi
78.16723 + ;;
78.16724 + darwin*)
78.16725 + # PIC is the default on this platform
78.16726 + # Common symbols not allowed in MH_DYLIB files
78.16727 + case $cc_basename in
78.16728 + xlc*)
78.16729 + lt_prog_compiler_pic_GCJ='-qnocommon'
78.16730 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16731 + ;;
78.16732 + esac
78.16733 + ;;
78.16734 +
78.16735 + mingw* | pw32* | os2*)
78.16736 + # This hack is so that the source file can tell whether it is being
78.16737 + # built for inclusion in a dll (and should export symbols for example).
78.16738 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
78.16739 + ;;
78.16740 +
78.16741 + hpux9* | hpux10* | hpux11*)
78.16742 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16743 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
78.16744 + # not for PA HP-UX.
78.16745 + case $host_cpu in
78.16746 + hppa*64*|ia64*)
78.16747 + # +Z the default
78.16748 + ;;
78.16749 + *)
78.16750 + lt_prog_compiler_pic_GCJ='+Z'
78.16751 + ;;
78.16752 + esac
78.16753 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
78.16754 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
78.16755 + ;;
78.16756 +
78.16757 + irix5* | irix6* | nonstopux*)
78.16758 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16759 + # PIC (with -KPIC) is the default.
78.16760 + lt_prog_compiler_static_GCJ='-non_shared'
78.16761 + ;;
78.16762 +
78.16763 + newsos6)
78.16764 + lt_prog_compiler_pic_GCJ='-KPIC'
78.16765 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16766 + ;;
78.16767 +
78.16768 + linux*)
78.16769 + case $cc_basename in
78.16770 + icc* | ecc*)
78.16771 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16772 + lt_prog_compiler_pic_GCJ='-KPIC'
78.16773 + lt_prog_compiler_static_GCJ='-static'
78.16774 + ;;
78.16775 + pgcc* | pgf77* | pgf90* | pgf95*)
78.16776 + # Portland Group compilers (*not* the Pentium gcc compiler,
78.16777 + # which looks to be a dead project)
78.16778 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16779 + lt_prog_compiler_pic_GCJ='-fpic'
78.16780 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16781 + ;;
78.16782 + ccc*)
78.16783 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16784 + # All Alpha code is PIC.
78.16785 + lt_prog_compiler_static_GCJ='-non_shared'
78.16786 + ;;
78.16787 + esac
78.16788 + ;;
78.16789 +
78.16790 + osf3* | osf4* | osf5*)
78.16791 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16792 + # All OSF/1 code is PIC.
78.16793 + lt_prog_compiler_static_GCJ='-non_shared'
78.16794 + ;;
78.16795 +
78.16796 + solaris*)
78.16797 + lt_prog_compiler_pic_GCJ='-KPIC'
78.16798 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16799 + case $cc_basename in
78.16800 + f77* | f90* | f95*)
78.16801 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
78.16802 + *)
78.16803 + lt_prog_compiler_wl_GCJ='-Wl,';;
78.16804 + esac
78.16805 + ;;
78.16806 +
78.16807 + sunos4*)
78.16808 + lt_prog_compiler_wl_GCJ='-Qoption ld '
78.16809 + lt_prog_compiler_pic_GCJ='-PIC'
78.16810 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16811 + ;;
78.16812 +
78.16813 + sysv4 | sysv4.2uw2* | sysv4.3*)
78.16814 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16815 + lt_prog_compiler_pic_GCJ='-KPIC'
78.16816 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16817 + ;;
78.16818 +
78.16819 + sysv4*MP*)
78.16820 + if test -d /usr/nec ;then
78.16821 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
78.16822 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16823 + fi
78.16824 + ;;
78.16825 +
78.16826 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
78.16827 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16828 + lt_prog_compiler_pic_GCJ='-KPIC'
78.16829 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16830 + ;;
78.16831 +
78.16832 + unicos*)
78.16833 + lt_prog_compiler_wl_GCJ='-Wl,'
78.16834 + lt_prog_compiler_can_build_shared_GCJ=no
78.16835 + ;;
78.16836 +
78.16837 + uts4*)
78.16838 + lt_prog_compiler_pic_GCJ='-pic'
78.16839 + lt_prog_compiler_static_GCJ='-Bstatic'
78.16840 + ;;
78.16841 +
78.16842 + *)
78.16843 + lt_prog_compiler_can_build_shared_GCJ=no
78.16844 + ;;
78.16845 + esac
78.16846 + fi
78.16847 +
78.16848 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
78.16849 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
78.16850 +
78.16851 +#
78.16852 +# Check to make sure the PIC flag actually works.
78.16853 +#
78.16854 +if test -n "$lt_prog_compiler_pic_GCJ"; then
78.16855 +
78.16856 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
78.16857 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
78.16858 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
78.16859 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.16860 +else
78.16861 + lt_prog_compiler_pic_works_GCJ=no
78.16862 + ac_outfile=conftest.$ac_objext
78.16863 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.16864 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
78.16865 + # Insert the option either (1) after the last *FLAGS variable, or
78.16866 + # (2) before a word containing "conftest.", or (3) at the end.
78.16867 + # Note that $ac_compile itself does not contain backslashes and begins
78.16868 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.16869 + # The option is referenced via a variable to avoid confusing sed.
78.16870 + lt_compile=`echo "$ac_compile" | $SED \
78.16871 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.16872 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.16873 + -e 's:$: $lt_compiler_flag:'`
78.16874 + (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
78.16875 + (eval "$lt_compile" 2>conftest.err)
78.16876 + ac_status=$?
78.16877 + cat conftest.err >&5
78.16878 + echo "$as_me:16875: \$? = $ac_status" >&5
78.16879 + if (exit $ac_status) && test -s "$ac_outfile"; then
78.16880 + # The compiler can only warn and ignore the option if not recognized
78.16881 + # So say no if there are warnings other than the usual output.
78.16882 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
78.16883 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.16884 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78.16885 + lt_prog_compiler_pic_works_GCJ=yes
78.16886 + fi
78.16887 + fi
78.16888 + $rm conftest*
78.16889 +
78.16890 +fi
78.16891 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
78.16892 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
78.16893 +
78.16894 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
78.16895 + case $lt_prog_compiler_pic_GCJ in
78.16896 + "" | " "*) ;;
78.16897 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
78.16898 + esac
78.16899 +else
78.16900 + lt_prog_compiler_pic_GCJ=
78.16901 + lt_prog_compiler_can_build_shared_GCJ=no
78.16902 +fi
78.16903 +
78.16904 +fi
78.16905 +case $host_os in
78.16906 + # For platforms which do not support PIC, -DPIC is meaningless:
78.16907 + *djgpp*)
78.16908 + lt_prog_compiler_pic_GCJ=
78.16909 + ;;
78.16910 + *)
78.16911 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
78.16912 + ;;
78.16913 +esac
78.16914 +
78.16915 +#
78.16916 +# Check to make sure the static flag actually works.
78.16917 +#
78.16918 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
78.16919 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
78.16920 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
78.16921 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
78.16922 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.16923 +else
78.16924 + lt_prog_compiler_static_works_GCJ=no
78.16925 + save_LDFLAGS="$LDFLAGS"
78.16926 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
78.16927 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
78.16928 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
78.16929 + # The linker can only warn and ignore the option if not recognized
78.16930 + # So say no if there are warnings
78.16931 + if test -s conftest.err; then
78.16932 + # Append any errors to the config.log.
78.16933 + cat conftest.err 1>&5
78.16934 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
78.16935 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78.16936 + if diff conftest.exp conftest.er2 >/dev/null; then
78.16937 + lt_prog_compiler_static_works_GCJ=yes
78.16938 + fi
78.16939 + else
78.16940 + lt_prog_compiler_static_works_GCJ=yes
78.16941 + fi
78.16942 + fi
78.16943 + $rm conftest*
78.16944 + LDFLAGS="$save_LDFLAGS"
78.16945 +
78.16946 +fi
78.16947 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
78.16948 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
78.16949 +
78.16950 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
78.16951 + :
78.16952 +else
78.16953 + lt_prog_compiler_static_GCJ=
78.16954 +fi
78.16955 +
78.16956 +
78.16957 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
78.16958 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
78.16959 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
78.16960 + echo $ECHO_N "(cached) $ECHO_C" >&6
78.16961 +else
78.16962 + lt_cv_prog_compiler_c_o_GCJ=no
78.16963 + $rm -r conftest 2>/dev/null
78.16964 + mkdir conftest
78.16965 + cd conftest
78.16966 + mkdir out
78.16967 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.16968 +
78.16969 + lt_compiler_flag="-o out/conftest2.$ac_objext"
78.16970 + # Insert the option either (1) after the last *FLAGS variable, or
78.16971 + # (2) before a word containing "conftest.", or (3) at the end.
78.16972 + # Note that $ac_compile itself does not contain backslashes and begins
78.16973 + # with a dollar sign (not a hyphen), so the echo should work correctly.
78.16974 + lt_compile=`echo "$ac_compile" | $SED \
78.16975 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78.16976 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78.16977 + -e 's:$: $lt_compiler_flag:'`
78.16978 + (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
78.16979 + (eval "$lt_compile" 2>out/conftest.err)
78.16980 + ac_status=$?
78.16981 + cat out/conftest.err >&5
78.16982 + echo "$as_me:16979: \$? = $ac_status" >&5
78.16983 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
78.16984 + then
78.16985 + # The compiler can only warn and ignore the option if not recognized
78.16986 + # So say no if there are warnings
78.16987 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
78.16988 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
78.16989 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
78.16990 + lt_cv_prog_compiler_c_o_GCJ=yes
78.16991 + fi
78.16992 + fi
78.16993 + chmod u+w . 2>&5
78.16994 + $rm conftest*
78.16995 + # SGI C++ compiler will create directory out/ii_files/ for
78.16996 + # template instantiation
78.16997 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
78.16998 + $rm out/* && rmdir out
78.16999 + cd ..
78.17000 + rmdir conftest
78.17001 + $rm conftest*
78.17002 +
78.17003 +fi
78.17004 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
78.17005 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
78.17006 +
78.17007 +
78.17008 +hard_links="nottested"
78.17009 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
78.17010 + # do not overwrite the value of need_locks provided by the user
78.17011 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
78.17012 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
78.17013 + hard_links=yes
78.17014 + $rm conftest*
78.17015 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.17016 + touch conftest.a
78.17017 + ln conftest.a conftest.b 2>&5 || hard_links=no
78.17018 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
78.17019 + { echo "$as_me:$LINENO: result: $hard_links" >&5
78.17020 +echo "${ECHO_T}$hard_links" >&6; }
78.17021 + if test "$hard_links" = no; then
78.17022 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
78.17023 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
78.17024 + need_locks=warn
78.17025 + fi
78.17026 +else
78.17027 + need_locks=no
78.17028 +fi
78.17029 +
78.17030 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
78.17031 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
78.17032 +
78.17033 + runpath_var=
78.17034 + allow_undefined_flag_GCJ=
78.17035 + enable_shared_with_static_runtimes_GCJ=no
78.17036 + archive_cmds_GCJ=
78.17037 + archive_expsym_cmds_GCJ=
78.17038 + old_archive_From_new_cmds_GCJ=
78.17039 + old_archive_from_expsyms_cmds_GCJ=
78.17040 + export_dynamic_flag_spec_GCJ=
78.17041 + whole_archive_flag_spec_GCJ=
78.17042 + thread_safe_flag_spec_GCJ=
78.17043 + hardcode_libdir_flag_spec_GCJ=
78.17044 + hardcode_libdir_flag_spec_ld_GCJ=
78.17045 + hardcode_libdir_separator_GCJ=
78.17046 + hardcode_direct_GCJ=no
78.17047 + hardcode_minus_L_GCJ=no
78.17048 + hardcode_shlibpath_var_GCJ=unsupported
78.17049 + link_all_deplibs_GCJ=unknown
78.17050 + hardcode_automatic_GCJ=no
78.17051 + module_cmds_GCJ=
78.17052 + module_expsym_cmds_GCJ=
78.17053 + always_export_symbols_GCJ=no
78.17054 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
78.17055 + # include_expsyms should be a list of space-separated symbols to be *always*
78.17056 + # included in the symbol list
78.17057 + include_expsyms_GCJ=
78.17058 + # exclude_expsyms can be an extended regexp of symbols to exclude
78.17059 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
78.17060 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
78.17061 + # as well as any symbol that contains `d'.
78.17062 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
78.17063 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
78.17064 + # platforms (ab)use it in PIC code, but their linkers get confused if
78.17065 + # the symbol is explicitly referenced. Since portable code cannot
78.17066 + # rely on this symbol name, it's probably fine to never include it in
78.17067 + # preloaded symbol tables.
78.17068 + extract_expsyms_cmds=
78.17069 + # Just being paranoid about ensuring that cc_basename is set.
78.17070 + for cc_temp in $compiler""; do
78.17071 + case $cc_temp in
78.17072 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.17073 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.17074 + \-*) ;;
78.17075 + *) break;;
78.17076 + esac
78.17077 +done
78.17078 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.17079 +
78.17080 + case $host_os in
78.17081 + cygwin* | mingw* | pw32*)
78.17082 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
78.17083 + # When not using gcc, we currently assume that we are using
78.17084 + # Microsoft Visual C++.
78.17085 + if test "$GCC" != yes; then
78.17086 + with_gnu_ld=no
78.17087 + fi
78.17088 + ;;
78.17089 + interix*)
78.17090 + # we just hope/assume this is gcc and not c89 (= MSVC++)
78.17091 + with_gnu_ld=yes
78.17092 + ;;
78.17093 + openbsd*)
78.17094 + with_gnu_ld=no
78.17095 + ;;
78.17096 + esac
78.17097 +
78.17098 + ld_shlibs_GCJ=yes
78.17099 + if test "$with_gnu_ld" = yes; then
78.17100 + # If archive_cmds runs LD, not CC, wlarc should be empty
78.17101 + wlarc='${wl}'
78.17102 +
78.17103 + # Set some defaults for GNU ld with shared library support. These
78.17104 + # are reset later if shared libraries are not supported. Putting them
78.17105 + # here allows them to be overridden if necessary.
78.17106 + runpath_var=LD_RUN_PATH
78.17107 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
78.17108 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
78.17109 + # ancient GNU ld didn't support --whole-archive et. al.
78.17110 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
78.17111 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
78.17112 + else
78.17113 + whole_archive_flag_spec_GCJ=
78.17114 + fi
78.17115 + supports_anon_versioning=no
78.17116 + case `$LD -v 2>/dev/null` in
78.17117 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
78.17118 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
78.17119 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
78.17120 + *\ 2.11.*) ;; # other 2.11 versions
78.17121 + *) supports_anon_versioning=yes ;;
78.17122 + esac
78.17123 +
78.17124 + # See if GNU ld supports shared libraries.
78.17125 + case $host_os in
78.17126 + aix3* | aix4* | aix5*)
78.17127 + # On AIX/PPC, the GNU linker is very broken
78.17128 + if test "$host_cpu" != ia64; then
78.17129 + ld_shlibs_GCJ=no
78.17130 + cat <<EOF 1>&2
78.17131 +
78.17132 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
78.17133 +*** to be unable to reliably create shared libraries on AIX.
78.17134 +*** Therefore, libtool is disabling shared libraries support. If you
78.17135 +*** really care for shared libraries, you may want to modify your PATH
78.17136 +*** so that a non-GNU linker is found, and then restart.
78.17137 +
78.17138 +EOF
78.17139 + fi
78.17140 + ;;
78.17141 +
78.17142 + amigaos*)
78.17143 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.17144 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17145 + hardcode_minus_L_GCJ=yes
78.17146 +
78.17147 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
78.17148 + # that the semantics of dynamic libraries on AmigaOS, at least up
78.17149 + # to version 4, is to share data among multiple programs linked
78.17150 + # with the same dynamic library. Since this doesn't match the
78.17151 + # behavior of shared libraries on other platforms, we can't use
78.17152 + # them.
78.17153 + ld_shlibs_GCJ=no
78.17154 + ;;
78.17155 +
78.17156 + beos*)
78.17157 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.17158 + allow_undefined_flag_GCJ=unsupported
78.17159 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
78.17160 + # support --undefined. This deserves some investigation. FIXME
78.17161 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.17162 + else
78.17163 + ld_shlibs_GCJ=no
78.17164 + fi
78.17165 + ;;
78.17166 +
78.17167 + cygwin* | mingw* | pw32*)
78.17168 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
78.17169 + # as there is no search path for DLLs.
78.17170 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17171 + allow_undefined_flag_GCJ=unsupported
78.17172 + always_export_symbols_GCJ=no
78.17173 + enable_shared_with_static_runtimes_GCJ=yes
78.17174 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
78.17175 +
78.17176 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
78.17177 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.17178 + # If the export-symbols file already is a .def file (1st line
78.17179 + # is EXPORTS), use it as is; otherwise, prepend...
78.17180 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
78.17181 + cp $export_symbols $output_objdir/$soname.def;
78.17182 + else
78.17183 + echo EXPORTS > $output_objdir/$soname.def;
78.17184 + cat $export_symbols >> $output_objdir/$soname.def;
78.17185 + fi~
78.17186 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
78.17187 + else
78.17188 + ld_shlibs_GCJ=no
78.17189 + fi
78.17190 + ;;
78.17191 +
78.17192 + interix3*)
78.17193 + hardcode_direct_GCJ=no
78.17194 + hardcode_shlibpath_var_GCJ=no
78.17195 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
78.17196 + export_dynamic_flag_spec_GCJ='${wl}-E'
78.17197 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
78.17198 + # Instead, shared libraries are loaded at an image base (0x10000000 by
78.17199 + # default) and relocated if they conflict, which is a slow very memory
78.17200 + # consuming and fragmenting process. To avoid this, we pick a random,
78.17201 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
78.17202 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
78.17203 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.17204 + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
78.17205 + ;;
78.17206 +
78.17207 + linux*)
78.17208 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.17209 + tmp_addflag=
78.17210 + case $cc_basename,$host_cpu in
78.17211 + pgcc*) # Portland Group C compiler
78.17212 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.17213 + tmp_addflag=' $pic_flag'
78.17214 + ;;
78.17215 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
78.17216 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
78.17217 + tmp_addflag=' $pic_flag -Mnomain' ;;
78.17218 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
78.17219 + tmp_addflag=' -i_dynamic' ;;
78.17220 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
78.17221 + tmp_addflag=' -i_dynamic -nofor_main' ;;
78.17222 + ifc* | ifort*) # Intel Fortran compiler
78.17223 + tmp_addflag=' -nofor_main' ;;
78.17224 + esac
78.17225 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.17226 +
78.17227 + if test $supports_anon_versioning = yes; then
78.17228 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
78.17229 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
78.17230 + $echo "local: *; };" >> $output_objdir/$libname.ver~
78.17231 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
78.17232 + fi
78.17233 + else
78.17234 + ld_shlibs_GCJ=no
78.17235 + fi
78.17236 + ;;
78.17237 +
78.17238 + netbsd*)
78.17239 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.17240 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
78.17241 + wlarc=
78.17242 + else
78.17243 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.17244 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.17245 + fi
78.17246 + ;;
78.17247 +
78.17248 + solaris*)
78.17249 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
78.17250 + ld_shlibs_GCJ=no
78.17251 + cat <<EOF 1>&2
78.17252 +
78.17253 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
78.17254 +*** create shared libraries on Solaris systems. Therefore, libtool
78.17255 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.17256 +*** binutils to release 2.9.1 or newer. Another option is to modify
78.17257 +*** your PATH or compiler configuration so that the native linker is
78.17258 +*** used, and then restart.
78.17259 +
78.17260 +EOF
78.17261 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.17262 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.17263 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.17264 + else
78.17265 + ld_shlibs_GCJ=no
78.17266 + fi
78.17267 + ;;
78.17268 +
78.17269 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
78.17270 + case `$LD -v 2>&1` in
78.17271 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
78.17272 + ld_shlibs_GCJ=no
78.17273 + cat <<_LT_EOF 1>&2
78.17274 +
78.17275 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
78.17276 +*** reliably create shared libraries on SCO systems. Therefore, libtool
78.17277 +*** is disabling shared libraries support. We urge you to upgrade GNU
78.17278 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
78.17279 +*** your PATH or compiler configuration so that the native linker is
78.17280 +*** used, and then restart.
78.17281 +
78.17282 +_LT_EOF
78.17283 + ;;
78.17284 + *)
78.17285 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.17286 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
78.17287 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
78.17288 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
78.17289 + else
78.17290 + ld_shlibs_GCJ=no
78.17291 + fi
78.17292 + ;;
78.17293 + esac
78.17294 + ;;
78.17295 +
78.17296 + sunos4*)
78.17297 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.17298 + wlarc=
78.17299 + hardcode_direct_GCJ=yes
78.17300 + hardcode_shlibpath_var_GCJ=no
78.17301 + ;;
78.17302 +
78.17303 + *)
78.17304 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
78.17305 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
78.17306 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
78.17307 + else
78.17308 + ld_shlibs_GCJ=no
78.17309 + fi
78.17310 + ;;
78.17311 + esac
78.17312 +
78.17313 + if test "$ld_shlibs_GCJ" = no; then
78.17314 + runpath_var=
78.17315 + hardcode_libdir_flag_spec_GCJ=
78.17316 + export_dynamic_flag_spec_GCJ=
78.17317 + whole_archive_flag_spec_GCJ=
78.17318 + fi
78.17319 + else
78.17320 + # PORTME fill in a description of your system's linker (not GNU ld)
78.17321 + case $host_os in
78.17322 + aix3*)
78.17323 + allow_undefined_flag_GCJ=unsupported
78.17324 + always_export_symbols_GCJ=yes
78.17325 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
78.17326 + # Note: this linker hardcodes the directories in LIBPATH if there
78.17327 + # are no directories specified by -L.
78.17328 + hardcode_minus_L_GCJ=yes
78.17329 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
78.17330 + # Neither direct hardcoding nor static linking is supported with a
78.17331 + # broken collect2.
78.17332 + hardcode_direct_GCJ=unsupported
78.17333 + fi
78.17334 + ;;
78.17335 +
78.17336 + aix4* | aix5*)
78.17337 + if test "$host_cpu" = ia64; then
78.17338 + # On IA64, the linker does run time linking by default, so we don't
78.17339 + # have to do anything special.
78.17340 + aix_use_runtimelinking=no
78.17341 + exp_sym_flag='-Bexport'
78.17342 + no_entry_flag=""
78.17343 + else
78.17344 + # If we're using GNU nm, then we don't want the "-C" option.
78.17345 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
78.17346 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
78.17347 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.17348 + else
78.17349 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
78.17350 + fi
78.17351 + aix_use_runtimelinking=no
78.17352 +
78.17353 + # Test if we are trying to use run time linking or normal
78.17354 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
78.17355 + # need to do runtime linking.
78.17356 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
78.17357 + for ld_flag in $LDFLAGS; do
78.17358 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
78.17359 + aix_use_runtimelinking=yes
78.17360 + break
78.17361 + fi
78.17362 + done
78.17363 + ;;
78.17364 + esac
78.17365 +
78.17366 + exp_sym_flag='-bexport'
78.17367 + no_entry_flag='-bnoentry'
78.17368 + fi
78.17369 +
78.17370 + # When large executables or shared objects are built, AIX ld can
78.17371 + # have problems creating the table of contents. If linking a library
78.17372 + # or program results in "error TOC overflow" add -mminimal-toc to
78.17373 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
78.17374 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
78.17375 +
78.17376 + archive_cmds_GCJ=''
78.17377 + hardcode_direct_GCJ=yes
78.17378 + hardcode_libdir_separator_GCJ=':'
78.17379 + link_all_deplibs_GCJ=yes
78.17380 +
78.17381 + if test "$GCC" = yes; then
78.17382 + case $host_os in aix4.[012]|aix4.[012].*)
78.17383 + # We only want to do this on AIX 4.2 and lower, the check
78.17384 + # below for broken collect2 doesn't work under 4.3+
78.17385 + collect2name=`${CC} -print-prog-name=collect2`
78.17386 + if test -f "$collect2name" && \
78.17387 + strings "$collect2name" | grep resolve_lib_name >/dev/null
78.17388 + then
78.17389 + # We have reworked collect2
78.17390 + hardcode_direct_GCJ=yes
78.17391 + else
78.17392 + # We have old collect2
78.17393 + hardcode_direct_GCJ=unsupported
78.17394 + # It fails to find uninstalled libraries when the uninstalled
78.17395 + # path is not listed in the libpath. Setting hardcode_minus_L
78.17396 + # to unsupported forces relinking
78.17397 + hardcode_minus_L_GCJ=yes
78.17398 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17399 + hardcode_libdir_separator_GCJ=
78.17400 + fi
78.17401 + ;;
78.17402 + esac
78.17403 + shared_flag='-shared'
78.17404 + if test "$aix_use_runtimelinking" = yes; then
78.17405 + shared_flag="$shared_flag "'${wl}-G'
78.17406 + fi
78.17407 + else
78.17408 + # not using gcc
78.17409 + if test "$host_cpu" = ia64; then
78.17410 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
78.17411 + # chokes on -Wl,-G. The following line is correct:
78.17412 + shared_flag='-G'
78.17413 + else
78.17414 + if test "$aix_use_runtimelinking" = yes; then
78.17415 + shared_flag='${wl}-G'
78.17416 + else
78.17417 + shared_flag='${wl}-bM:SRE'
78.17418 + fi
78.17419 + fi
78.17420 + fi
78.17421 +
78.17422 + # It seems that -bexpall does not export symbols beginning with
78.17423 + # underscore (_), so it is better to generate a list of symbols to export.
78.17424 + always_export_symbols_GCJ=yes
78.17425 + if test "$aix_use_runtimelinking" = yes; then
78.17426 + # Warning - without using the other runtime loading flags (-brtl),
78.17427 + # -berok will link without error, but may produce a broken library.
78.17428 + allow_undefined_flag_GCJ='-berok'
78.17429 + # Determine the default libpath from the value encoded in an empty executable.
78.17430 + cat >conftest.$ac_ext <<_ACEOF
78.17431 +/* confdefs.h. */
78.17432 +_ACEOF
78.17433 +cat confdefs.h >>conftest.$ac_ext
78.17434 +cat >>conftest.$ac_ext <<_ACEOF
78.17435 +/* end confdefs.h. */
78.17436 +
78.17437 +int
78.17438 +main ()
78.17439 +{
78.17440 +
78.17441 + ;
78.17442 + return 0;
78.17443 +}
78.17444 +_ACEOF
78.17445 +rm -f conftest.$ac_objext conftest$ac_exeext
78.17446 +if { (ac_try="$ac_link"
78.17447 +case "(($ac_try" in
78.17448 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17449 + *) ac_try_echo=$ac_try;;
78.17450 +esac
78.17451 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17452 + (eval "$ac_link") 2>conftest.er1
78.17453 + ac_status=$?
78.17454 + grep -v '^ *+' conftest.er1 >conftest.err
78.17455 + rm -f conftest.er1
78.17456 + cat conftest.err >&5
78.17457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17458 + (exit $ac_status); } &&
78.17459 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.17460 + { (case "(($ac_try" in
78.17461 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17462 + *) ac_try_echo=$ac_try;;
78.17463 +esac
78.17464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17465 + (eval "$ac_try") 2>&5
78.17466 + ac_status=$?
78.17467 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17468 + (exit $ac_status); }; } &&
78.17469 + { ac_try='test -s conftest$ac_exeext'
78.17470 + { (case "(($ac_try" in
78.17471 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17472 + *) ac_try_echo=$ac_try;;
78.17473 +esac
78.17474 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17475 + (eval "$ac_try") 2>&5
78.17476 + ac_status=$?
78.17477 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17478 + (exit $ac_status); }; }; then
78.17479 +
78.17480 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.17481 +}'`
78.17482 +# Check for a 64-bit object if we didn't find anything.
78.17483 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.17484 +}'`; fi
78.17485 +else
78.17486 + echo "$as_me: failed program was:" >&5
78.17487 +sed 's/^/| /' conftest.$ac_ext >&5
78.17488 +
78.17489 +
78.17490 +fi
78.17491 +
78.17492 +rm -f core conftest.err conftest.$ac_objext \
78.17493 + conftest$ac_exeext conftest.$ac_ext
78.17494 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.17495 +
78.17496 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
78.17497 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
78.17498 + else
78.17499 + if test "$host_cpu" = ia64; then
78.17500 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
78.17501 + allow_undefined_flag_GCJ="-z nodefs"
78.17502 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
78.17503 + else
78.17504 + # Determine the default libpath from the value encoded in an empty executable.
78.17505 + cat >conftest.$ac_ext <<_ACEOF
78.17506 +/* confdefs.h. */
78.17507 +_ACEOF
78.17508 +cat confdefs.h >>conftest.$ac_ext
78.17509 +cat >>conftest.$ac_ext <<_ACEOF
78.17510 +/* end confdefs.h. */
78.17511 +
78.17512 +int
78.17513 +main ()
78.17514 +{
78.17515 +
78.17516 + ;
78.17517 + return 0;
78.17518 +}
78.17519 +_ACEOF
78.17520 +rm -f conftest.$ac_objext conftest$ac_exeext
78.17521 +if { (ac_try="$ac_link"
78.17522 +case "(($ac_try" in
78.17523 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17524 + *) ac_try_echo=$ac_try;;
78.17525 +esac
78.17526 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17527 + (eval "$ac_link") 2>conftest.er1
78.17528 + ac_status=$?
78.17529 + grep -v '^ *+' conftest.er1 >conftest.err
78.17530 + rm -f conftest.er1
78.17531 + cat conftest.err >&5
78.17532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17533 + (exit $ac_status); } &&
78.17534 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78.17535 + { (case "(($ac_try" in
78.17536 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17537 + *) ac_try_echo=$ac_try;;
78.17538 +esac
78.17539 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17540 + (eval "$ac_try") 2>&5
78.17541 + ac_status=$?
78.17542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17543 + (exit $ac_status); }; } &&
78.17544 + { ac_try='test -s conftest$ac_exeext'
78.17545 + { (case "(($ac_try" in
78.17546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78.17547 + *) ac_try_echo=$ac_try;;
78.17548 +esac
78.17549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78.17550 + (eval "$ac_try") 2>&5
78.17551 + ac_status=$?
78.17552 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.17553 + (exit $ac_status); }; }; then
78.17554 +
78.17555 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.17556 +}'`
78.17557 +# Check for a 64-bit object if we didn't find anything.
78.17558 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
78.17559 +}'`; fi
78.17560 +else
78.17561 + echo "$as_me: failed program was:" >&5
78.17562 +sed 's/^/| /' conftest.$ac_ext >&5
78.17563 +
78.17564 +
78.17565 +fi
78.17566 +
78.17567 +rm -f core conftest.err conftest.$ac_objext \
78.17568 + conftest$ac_exeext conftest.$ac_ext
78.17569 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
78.17570 +
78.17571 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
78.17572 + # Warning - without using the other run time loading flags,
78.17573 + # -berok will link without error, but may produce a broken library.
78.17574 + no_undefined_flag_GCJ=' ${wl}-bernotok'
78.17575 + allow_undefined_flag_GCJ=' ${wl}-berok'
78.17576 + # Exported symbols can be pulled into shared objects from archives
78.17577 + whole_archive_flag_spec_GCJ='$convenience'
78.17578 + archive_cmds_need_lc_GCJ=yes
78.17579 + # This is similar to how AIX traditionally builds its shared libraries.
78.17580 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
78.17581 + fi
78.17582 + fi
78.17583 + ;;
78.17584 +
78.17585 + amigaos*)
78.17586 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
78.17587 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17588 + hardcode_minus_L_GCJ=yes
78.17589 + # see comment about different semantics on the GNU ld section
78.17590 + ld_shlibs_GCJ=no
78.17591 + ;;
78.17592 +
78.17593 + bsdi[45]*)
78.17594 + export_dynamic_flag_spec_GCJ=-rdynamic
78.17595 + ;;
78.17596 +
78.17597 + cygwin* | mingw* | pw32*)
78.17598 + # When not using gcc, we currently assume that we are using
78.17599 + # Microsoft Visual C++.
78.17600 + # hardcode_libdir_flag_spec is actually meaningless, as there is
78.17601 + # no search path for DLLs.
78.17602 + hardcode_libdir_flag_spec_GCJ=' '
78.17603 + allow_undefined_flag_GCJ=unsupported
78.17604 + # Tell ltmain to make .lib files, not .a files.
78.17605 + libext=lib
78.17606 + # Tell ltmain to make .dll files, not .so files.
78.17607 + shrext_cmds=".dll"
78.17608 + # FIXME: Setting linknames here is a bad hack.
78.17609 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
78.17610 + # The linker will automatically build a .lib file if we build a DLL.
78.17611 + old_archive_From_new_cmds_GCJ='true'
78.17612 + # FIXME: Should let the user specify the lib program.
78.17613 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
78.17614 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
78.17615 + enable_shared_with_static_runtimes_GCJ=yes
78.17616 + ;;
78.17617 +
78.17618 + darwin* | rhapsody*)
78.17619 + case $host_os in
78.17620 + rhapsody* | darwin1.[012])
78.17621 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
78.17622 + ;;
78.17623 + *) # Darwin 1.3 on
78.17624 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
78.17625 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.17626 + else
78.17627 + case ${MACOSX_DEPLOYMENT_TARGET} in
78.17628 + 10.[012])
78.17629 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
78.17630 + ;;
78.17631 + 10.*)
78.17632 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
78.17633 + ;;
78.17634 + esac
78.17635 + fi
78.17636 + ;;
78.17637 + esac
78.17638 + archive_cmds_need_lc_GCJ=no
78.17639 + hardcode_direct_GCJ=no
78.17640 + hardcode_automatic_GCJ=yes
78.17641 + hardcode_shlibpath_var_GCJ=unsupported
78.17642 + whole_archive_flag_spec_GCJ=''
78.17643 + link_all_deplibs_GCJ=yes
78.17644 + if test "$GCC" = yes ; then
78.17645 + output_verbose_link_cmd='echo'
78.17646 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
78.17647 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.17648 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.17649 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.17650 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.17651 + else
78.17652 + case $cc_basename in
78.17653 + xlc*)
78.17654 + output_verbose_link_cmd='echo'
78.17655 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
78.17656 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
78.17657 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
78.17658 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.17659 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
78.17660 + ;;
78.17661 + *)
78.17662 + ld_shlibs_GCJ=no
78.17663 + ;;
78.17664 + esac
78.17665 + fi
78.17666 + ;;
78.17667 +
78.17668 + dgux*)
78.17669 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17670 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17671 + hardcode_shlibpath_var_GCJ=no
78.17672 + ;;
78.17673 +
78.17674 + freebsd1*)
78.17675 + ld_shlibs_GCJ=no
78.17676 + ;;
78.17677 +
78.17678 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
78.17679 + # support. Future versions do this automatically, but an explicit c++rt0.o
78.17680 + # does not break anything, and helps significantly (at the cost of a little
78.17681 + # extra space).
78.17682 + freebsd2.2*)
78.17683 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
78.17684 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
78.17685 + hardcode_direct_GCJ=yes
78.17686 + hardcode_shlibpath_var_GCJ=no
78.17687 + ;;
78.17688 +
78.17689 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
78.17690 + freebsd2*)
78.17691 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.17692 + hardcode_direct_GCJ=yes
78.17693 + hardcode_minus_L_GCJ=yes
78.17694 + hardcode_shlibpath_var_GCJ=no
78.17695 + ;;
78.17696 +
78.17697 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
78.17698 + freebsd* | kfreebsd*-gnu | dragonfly*)
78.17699 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
78.17700 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
78.17701 + hardcode_direct_GCJ=yes
78.17702 + hardcode_shlibpath_var_GCJ=no
78.17703 + ;;
78.17704 +
78.17705 + hpux9*)
78.17706 + if test "$GCC" = yes; then
78.17707 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.17708 + else
78.17709 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
78.17710 + fi
78.17711 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
78.17712 + hardcode_libdir_separator_GCJ=:
78.17713 + hardcode_direct_GCJ=yes
78.17714 +
78.17715 + # hardcode_minus_L: Not really in the search PATH,
78.17716 + # but as the default location of the library.
78.17717 + hardcode_minus_L_GCJ=yes
78.17718 + export_dynamic_flag_spec_GCJ='${wl}-E'
78.17719 + ;;
78.17720 +
78.17721 + hpux10*)
78.17722 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.17723 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.17724 + else
78.17725 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
78.17726 + fi
78.17727 + if test "$with_gnu_ld" = no; then
78.17728 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
78.17729 + hardcode_libdir_separator_GCJ=:
78.17730 +
78.17731 + hardcode_direct_GCJ=yes
78.17732 + export_dynamic_flag_spec_GCJ='${wl}-E'
78.17733 +
78.17734 + # hardcode_minus_L: Not really in the search PATH,
78.17735 + # but as the default location of the library.
78.17736 + hardcode_minus_L_GCJ=yes
78.17737 + fi
78.17738 + ;;
78.17739 +
78.17740 + hpux11*)
78.17741 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
78.17742 + case $host_cpu in
78.17743 + hppa*64*)
78.17744 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17745 + ;;
78.17746 + ia64*)
78.17747 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.17748 + ;;
78.17749 + *)
78.17750 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.17751 + ;;
78.17752 + esac
78.17753 + else
78.17754 + case $host_cpu in
78.17755 + hppa*64*)
78.17756 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17757 + ;;
78.17758 + ia64*)
78.17759 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
78.17760 + ;;
78.17761 + *)
78.17762 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
78.17763 + ;;
78.17764 + esac
78.17765 + fi
78.17766 + if test "$with_gnu_ld" = no; then
78.17767 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
78.17768 + hardcode_libdir_separator_GCJ=:
78.17769 +
78.17770 + case $host_cpu in
78.17771 + hppa*64*|ia64*)
78.17772 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
78.17773 + hardcode_direct_GCJ=no
78.17774 + hardcode_shlibpath_var_GCJ=no
78.17775 + ;;
78.17776 + *)
78.17777 + hardcode_direct_GCJ=yes
78.17778 + export_dynamic_flag_spec_GCJ='${wl}-E'
78.17779 +
78.17780 + # hardcode_minus_L: Not really in the search PATH,
78.17781 + # but as the default location of the library.
78.17782 + hardcode_minus_L_GCJ=yes
78.17783 + ;;
78.17784 + esac
78.17785 + fi
78.17786 + ;;
78.17787 +
78.17788 + irix5* | irix6* | nonstopux*)
78.17789 + if test "$GCC" = yes; then
78.17790 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.17791 + else
78.17792 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.17793 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
78.17794 + fi
78.17795 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
78.17796 + hardcode_libdir_separator_GCJ=:
78.17797 + link_all_deplibs_GCJ=yes
78.17798 + ;;
78.17799 +
78.17800 + netbsd*)
78.17801 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.17802 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
78.17803 + else
78.17804 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
78.17805 + fi
78.17806 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
78.17807 + hardcode_direct_GCJ=yes
78.17808 + hardcode_shlibpath_var_GCJ=no
78.17809 + ;;
78.17810 +
78.17811 + newsos6)
78.17812 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17813 + hardcode_direct_GCJ=yes
78.17814 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
78.17815 + hardcode_libdir_separator_GCJ=:
78.17816 + hardcode_shlibpath_var_GCJ=no
78.17817 + ;;
78.17818 +
78.17819 + openbsd*)
78.17820 + hardcode_direct_GCJ=yes
78.17821 + hardcode_shlibpath_var_GCJ=no
78.17822 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.17823 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.17824 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
78.17825 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
78.17826 + export_dynamic_flag_spec_GCJ='${wl}-E'
78.17827 + else
78.17828 + case $host_os in
78.17829 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
78.17830 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
78.17831 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
78.17832 + ;;
78.17833 + *)
78.17834 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
78.17835 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
78.17836 + ;;
78.17837 + esac
78.17838 + fi
78.17839 + ;;
78.17840 +
78.17841 + os2*)
78.17842 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17843 + hardcode_minus_L_GCJ=yes
78.17844 + allow_undefined_flag_GCJ=unsupported
78.17845 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
78.17846 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
78.17847 + ;;
78.17848 +
78.17849 + osf3*)
78.17850 + if test "$GCC" = yes; then
78.17851 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
78.17852 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.17853 + else
78.17854 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
78.17855 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.17856 + fi
78.17857 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
78.17858 + hardcode_libdir_separator_GCJ=:
78.17859 + ;;
78.17860 +
78.17861 + osf4* | osf5*) # as osf3* with the addition of -msym flag
78.17862 + if test "$GCC" = yes; then
78.17863 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
78.17864 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
78.17865 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
78.17866 + else
78.17867 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
78.17868 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
78.17869 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
78.17870 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
78.17871 +
78.17872 + # Both c and cxx compiler support -rpath directly
78.17873 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
78.17874 + fi
78.17875 + hardcode_libdir_separator_GCJ=:
78.17876 + ;;
78.17877 +
78.17878 + solaris*)
78.17879 + no_undefined_flag_GCJ=' -z text'
78.17880 + if test "$GCC" = yes; then
78.17881 + wlarc='${wl}'
78.17882 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17883 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.17884 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
78.17885 + else
78.17886 + wlarc=''
78.17887 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17888 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
78.17889 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
78.17890 + fi
78.17891 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
78.17892 + hardcode_shlibpath_var_GCJ=no
78.17893 + case $host_os in
78.17894 + solaris2.[0-5] | solaris2.[0-5].*) ;;
78.17895 + *)
78.17896 + # The compiler driver will combine linker options so we
78.17897 + # cannot just pass the convience library names through
78.17898 + # without $wl, iff we do not link with $LD.
78.17899 + # Luckily, gcc supports the same syntax we need for Sun Studio.
78.17900 + # Supported since Solaris 2.6 (maybe 2.5.1?)
78.17901 + case $wlarc in
78.17902 + '')
78.17903 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
78.17904 + *)
78.17905 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
78.17906 + esac ;;
78.17907 + esac
78.17908 + link_all_deplibs_GCJ=yes
78.17909 + ;;
78.17910 +
78.17911 + sunos4*)
78.17912 + if test "x$host_vendor" = xsequent; then
78.17913 + # Use $CC to link under sequent, because it throws in some extra .o
78.17914 + # files that make .init and .fini sections work.
78.17915 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
78.17916 + else
78.17917 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
78.17918 + fi
78.17919 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.17920 + hardcode_direct_GCJ=yes
78.17921 + hardcode_minus_L_GCJ=yes
78.17922 + hardcode_shlibpath_var_GCJ=no
78.17923 + ;;
78.17924 +
78.17925 + sysv4)
78.17926 + case $host_vendor in
78.17927 + sni)
78.17928 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17929 + hardcode_direct_GCJ=yes # is this really true???
78.17930 + ;;
78.17931 + siemens)
78.17932 + ## LD is ld it makes a PLAMLIB
78.17933 + ## CC just makes a GrossModule.
78.17934 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
78.17935 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
78.17936 + hardcode_direct_GCJ=no
78.17937 + ;;
78.17938 + motorola)
78.17939 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17940 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
78.17941 + ;;
78.17942 + esac
78.17943 + runpath_var='LD_RUN_PATH'
78.17944 + hardcode_shlibpath_var_GCJ=no
78.17945 + ;;
78.17946 +
78.17947 + sysv4.3*)
78.17948 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17949 + hardcode_shlibpath_var_GCJ=no
78.17950 + export_dynamic_flag_spec_GCJ='-Bexport'
78.17951 + ;;
78.17952 +
78.17953 + sysv4*MP*)
78.17954 + if test -d /usr/nec; then
78.17955 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.17956 + hardcode_shlibpath_var_GCJ=no
78.17957 + runpath_var=LD_RUN_PATH
78.17958 + hardcode_runpath_var=yes
78.17959 + ld_shlibs_GCJ=yes
78.17960 + fi
78.17961 + ;;
78.17962 +
78.17963 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
78.17964 + no_undefined_flag_GCJ='${wl}-z,text'
78.17965 + archive_cmds_need_lc_GCJ=no
78.17966 + hardcode_shlibpath_var_GCJ=no
78.17967 + runpath_var='LD_RUN_PATH'
78.17968 +
78.17969 + if test "$GCC" = yes; then
78.17970 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17971 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17972 + else
78.17973 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17974 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17975 + fi
78.17976 + ;;
78.17977 +
78.17978 + sysv5* | sco3.2v5* | sco5v6*)
78.17979 + # Note: We can NOT use -z defs as we might desire, because we do not
78.17980 + # link with -lc, and that would cause any symbols used from libc to
78.17981 + # always be unresolved, which means just about no library would
78.17982 + # ever link correctly. If we're not using GNU ld we use -z text
78.17983 + # though, which does catch some bad symbols but isn't as heavy-handed
78.17984 + # as -z defs.
78.17985 + no_undefined_flag_GCJ='${wl}-z,text'
78.17986 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
78.17987 + archive_cmds_need_lc_GCJ=no
78.17988 + hardcode_shlibpath_var_GCJ=no
78.17989 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
78.17990 + hardcode_libdir_separator_GCJ=':'
78.17991 + link_all_deplibs_GCJ=yes
78.17992 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
78.17993 + runpath_var='LD_RUN_PATH'
78.17994 +
78.17995 + if test "$GCC" = yes; then
78.17996 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17997 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.17998 + else
78.17999 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.18000 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
78.18001 + fi
78.18002 + ;;
78.18003 +
78.18004 + uts4*)
78.18005 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
78.18006 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
78.18007 + hardcode_shlibpath_var_GCJ=no
78.18008 + ;;
78.18009 +
78.18010 + *)
78.18011 + ld_shlibs_GCJ=no
78.18012 + ;;
78.18013 + esac
78.18014 + fi
78.18015 +
78.18016 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
78.18017 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
78.18018 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
78.18019 +
78.18020 +#
78.18021 +# Do we need to explicitly link libc?
78.18022 +#
78.18023 +case "x$archive_cmds_need_lc_GCJ" in
78.18024 +x|xyes)
78.18025 + # Assume -lc should be added
78.18026 + archive_cmds_need_lc_GCJ=yes
78.18027 +
78.18028 + if test "$enable_shared" = yes && test "$GCC" = yes; then
78.18029 + case $archive_cmds_GCJ in
78.18030 + *'~'*)
78.18031 + # FIXME: we may have to deal with multi-command sequences.
78.18032 + ;;
78.18033 + '$CC '*)
78.18034 + # Test whether the compiler implicitly links with -lc since on some
78.18035 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
78.18036 + # to ld, don't add -lc before -lgcc.
78.18037 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
78.18038 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
78.18039 + $rm conftest*
78.18040 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
78.18041 +
78.18042 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78.18043 + (eval $ac_compile) 2>&5
78.18044 + ac_status=$?
78.18045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.18046 + (exit $ac_status); } 2>conftest.err; then
78.18047 + soname=conftest
78.18048 + lib=conftest
78.18049 + libobjs=conftest.$ac_objext
78.18050 + deplibs=
78.18051 + wl=$lt_prog_compiler_wl_GCJ
78.18052 + pic_flag=$lt_prog_compiler_pic_GCJ
78.18053 + compiler_flags=-v
78.18054 + linker_flags=-v
78.18055 + verstring=
78.18056 + output_objdir=.
78.18057 + libname=conftest
78.18058 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
78.18059 + allow_undefined_flag_GCJ=
78.18060 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
78.18061 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
78.18062 + ac_status=$?
78.18063 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
78.18064 + (exit $ac_status); }
78.18065 + then
78.18066 + archive_cmds_need_lc_GCJ=no
78.18067 + else
78.18068 + archive_cmds_need_lc_GCJ=yes
78.18069 + fi
78.18070 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
78.18071 + else
78.18072 + cat conftest.err 1>&5
78.18073 + fi
78.18074 + $rm conftest*
78.18075 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
78.18076 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
78.18077 + ;;
78.18078 + esac
78.18079 + fi
78.18080 + ;;
78.18081 +esac
78.18082 +
78.18083 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
78.18084 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
78.18085 +library_names_spec=
78.18086 +libname_spec='lib$name'
78.18087 +soname_spec=
78.18088 +shrext_cmds=".so"
78.18089 +postinstall_cmds=
78.18090 +postuninstall_cmds=
78.18091 +finish_cmds=
78.18092 +finish_eval=
78.18093 +shlibpath_var=
78.18094 +shlibpath_overrides_runpath=unknown
78.18095 +version_type=none
78.18096 +dynamic_linker="$host_os ld.so"
78.18097 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
78.18098 +if test "$GCC" = yes; then
78.18099 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.18100 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
78.18101 + # if the path contains ";" then we assume it to be the separator
78.18102 + # otherwise default to the standard path separator (i.e. ":") - it is
78.18103 + # assumed that no part of a normal pathname contains ";" but that should
78.18104 + # okay in the real world where ";" in dirpaths is itself problematic.
78.18105 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.18106 + else
78.18107 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.18108 + fi
78.18109 +else
78.18110 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
78.18111 +fi
78.18112 +need_lib_prefix=unknown
78.18113 +hardcode_into_libs=no
78.18114 +
78.18115 +# when you set need_version to no, make sure it does not cause -set_version
78.18116 +# flags to be left without arguments
78.18117 +need_version=unknown
78.18118 +
78.18119 +case $host_os in
78.18120 +aix3*)
78.18121 + version_type=linux
78.18122 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
78.18123 + shlibpath_var=LIBPATH
78.18124 +
78.18125 + # AIX 3 has no versioning support, so we append a major version to the name.
78.18126 + soname_spec='${libname}${release}${shared_ext}$major'
78.18127 + ;;
78.18128 +
78.18129 +aix4* | aix5*)
78.18130 + version_type=linux
78.18131 + need_lib_prefix=no
78.18132 + need_version=no
78.18133 + hardcode_into_libs=yes
78.18134 + if test "$host_cpu" = ia64; then
78.18135 + # AIX 5 supports IA64
78.18136 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
78.18137 + shlibpath_var=LD_LIBRARY_PATH
78.18138 + else
78.18139 + # With GCC up to 2.95.x, collect2 would create an import file
78.18140 + # for dependence libraries. The import file would start with
78.18141 + # the line `#! .'. This would cause the generated library to
78.18142 + # depend on `.', always an invalid library. This was fixed in
78.18143 + # development snapshots of GCC prior to 3.0.
78.18144 + case $host_os in
78.18145 + aix4 | aix4.[01] | aix4.[01].*)
78.18146 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
78.18147 + echo ' yes '
78.18148 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
78.18149 + :
78.18150 + else
78.18151 + can_build_shared=no
78.18152 + fi
78.18153 + ;;
78.18154 + esac
78.18155 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
78.18156 + # soname into executable. Probably we can add versioning support to
78.18157 + # collect2, so additional links can be useful in future.
78.18158 + if test "$aix_use_runtimelinking" = yes; then
78.18159 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
78.18160 + # instead of lib<name>.a to let people know that these are not
78.18161 + # typical AIX shared libraries.
78.18162 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18163 + else
78.18164 + # We preserve .a as extension for shared libraries through AIX4.2
78.18165 + # and later when we are not doing run time linking.
78.18166 + library_names_spec='${libname}${release}.a $libname.a'
78.18167 + soname_spec='${libname}${release}${shared_ext}$major'
78.18168 + fi
78.18169 + shlibpath_var=LIBPATH
78.18170 + fi
78.18171 + ;;
78.18172 +
78.18173 +amigaos*)
78.18174 + library_names_spec='$libname.ixlibrary $libname.a'
78.18175 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
78.18176 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
78.18177 + ;;
78.18178 +
78.18179 +beos*)
78.18180 + library_names_spec='${libname}${shared_ext}'
78.18181 + dynamic_linker="$host_os ld.so"
78.18182 + shlibpath_var=LIBRARY_PATH
78.18183 + ;;
78.18184 +
78.18185 +bsdi[45]*)
78.18186 + version_type=linux
78.18187 + need_version=no
78.18188 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18189 + soname_spec='${libname}${release}${shared_ext}$major'
78.18190 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
78.18191 + shlibpath_var=LD_LIBRARY_PATH
78.18192 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
78.18193 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
78.18194 + # the default ld.so.conf also contains /usr/contrib/lib and
78.18195 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
78.18196 + # libtool to hard-code these into programs
78.18197 + ;;
78.18198 +
78.18199 +cygwin* | mingw* | pw32*)
78.18200 + version_type=windows
78.18201 + shrext_cmds=".dll"
78.18202 + need_version=no
78.18203 + need_lib_prefix=no
78.18204 +
78.18205 + case $GCC,$host_os in
78.18206 + yes,cygwin* | yes,mingw* | yes,pw32*)
78.18207 + library_names_spec='$libname.dll.a'
78.18208 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
78.18209 + postinstall_cmds='base_file=`basename \${file}`~
78.18210 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
78.18211 + dldir=$destdir/`dirname \$dlpath`~
78.18212 + test -d \$dldir || mkdir -p \$dldir~
78.18213 + $install_prog $dir/$dlname \$dldir/$dlname~
78.18214 + chmod a+x \$dldir/$dlname'
78.18215 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
78.18216 + dlpath=$dir/\$dldll~
78.18217 + $rm \$dlpath'
78.18218 + shlibpath_overrides_runpath=yes
78.18219 +
78.18220 + case $host_os in
78.18221 + cygwin*)
78.18222 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
78.18223 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.18224 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
78.18225 + ;;
78.18226 + mingw*)
78.18227 + # MinGW DLLs use traditional 'lib' prefix
78.18228 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.18229 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
78.18230 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
78.18231 + # It is most probably a Windows format PATH printed by
78.18232 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
78.18233 + # path with ; separators, and with drive letters. We can handle the
78.18234 + # drive letters (cygwin fileutils understands them), so leave them,
78.18235 + # especially as we might pass files found there to a mingw objdump,
78.18236 + # which wouldn't understand a cygwinified path. Ahh.
78.18237 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
78.18238 + else
78.18239 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
78.18240 + fi
78.18241 + ;;
78.18242 + pw32*)
78.18243 + # pw32 DLLs use 'pw' prefix rather than 'lib'
78.18244 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
78.18245 + ;;
78.18246 + esac
78.18247 + ;;
78.18248 +
78.18249 + *)
78.18250 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
78.18251 + ;;
78.18252 + esac
78.18253 + dynamic_linker='Win32 ld.exe'
78.18254 + # FIXME: first we should search . and the directory the executable is in
78.18255 + shlibpath_var=PATH
78.18256 + ;;
78.18257 +
78.18258 +darwin* | rhapsody*)
78.18259 + dynamic_linker="$host_os dyld"
78.18260 + version_type=darwin
78.18261 + need_lib_prefix=no
78.18262 + need_version=no
78.18263 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
78.18264 + soname_spec='${libname}${release}${major}$shared_ext'
78.18265 + shlibpath_overrides_runpath=yes
78.18266 + shlibpath_var=DYLD_LIBRARY_PATH
78.18267 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
78.18268 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
78.18269 + if test "$GCC" = yes; then
78.18270 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
78.18271 + else
78.18272 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
78.18273 + fi
78.18274 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
78.18275 + ;;
78.18276 +
78.18277 +dgux*)
78.18278 + version_type=linux
78.18279 + need_lib_prefix=no
78.18280 + need_version=no
78.18281 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
78.18282 + soname_spec='${libname}${release}${shared_ext}$major'
78.18283 + shlibpath_var=LD_LIBRARY_PATH
78.18284 + ;;
78.18285 +
78.18286 +freebsd1*)
78.18287 + dynamic_linker=no
78.18288 + ;;
78.18289 +
78.18290 +kfreebsd*-gnu)
78.18291 + version_type=linux
78.18292 + need_lib_prefix=no
78.18293 + need_version=no
78.18294 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.18295 + soname_spec='${libname}${release}${shared_ext}$major'
78.18296 + shlibpath_var=LD_LIBRARY_PATH
78.18297 + shlibpath_overrides_runpath=no
78.18298 + hardcode_into_libs=yes
78.18299 + dynamic_linker='GNU ld.so'
78.18300 + ;;
78.18301 +
78.18302 +freebsd* | dragonfly*)
78.18303 + # DragonFly does not have aout. When/if they implement a new
78.18304 + # versioning mechanism, adjust this.
78.18305 + if test -x /usr/bin/objformat; then
78.18306 + objformat=`/usr/bin/objformat`
78.18307 + else
78.18308 + case $host_os in
78.18309 + freebsd[123]*) objformat=aout ;;
78.18310 + *) objformat=elf ;;
78.18311 + esac
78.18312 + fi
78.18313 + version_type=freebsd-$objformat
78.18314 + case $version_type in
78.18315 + freebsd-elf*)
78.18316 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.18317 + need_version=no
78.18318 + need_lib_prefix=no
78.18319 + ;;
78.18320 + freebsd-*)
78.18321 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
78.18322 + need_version=yes
78.18323 + ;;
78.18324 + esac
78.18325 + shlibpath_var=LD_LIBRARY_PATH
78.18326 + case $host_os in
78.18327 + freebsd2*)
78.18328 + shlibpath_overrides_runpath=yes
78.18329 + ;;
78.18330 + freebsd3.[01]* | freebsdelf3.[01]*)
78.18331 + shlibpath_overrides_runpath=yes
78.18332 + hardcode_into_libs=yes
78.18333 + ;;
78.18334 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
78.18335 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
78.18336 + shlibpath_overrides_runpath=no
78.18337 + hardcode_into_libs=yes
78.18338 + ;;
78.18339 + freebsd*) # from 4.6 on
78.18340 + shlibpath_overrides_runpath=yes
78.18341 + hardcode_into_libs=yes
78.18342 + ;;
78.18343 + esac
78.18344 + ;;
78.18345 +
78.18346 +gnu*)
78.18347 + version_type=linux
78.18348 + need_lib_prefix=no
78.18349 + need_version=no
78.18350 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
78.18351 + soname_spec='${libname}${release}${shared_ext}$major'
78.18352 + shlibpath_var=LD_LIBRARY_PATH
78.18353 + hardcode_into_libs=yes
78.18354 + ;;
78.18355 +
78.18356 +hpux9* | hpux10* | hpux11*)
78.18357 + # Give a soname corresponding to the major version so that dld.sl refuses to
78.18358 + # link against other versions.
78.18359 + version_type=sunos
78.18360 + need_lib_prefix=no
78.18361 + need_version=no
78.18362 + case $host_cpu in
78.18363 + ia64*)
78.18364 + shrext_cmds='.so'
78.18365 + hardcode_into_libs=yes
78.18366 + dynamic_linker="$host_os dld.so"
78.18367 + shlibpath_var=LD_LIBRARY_PATH
78.18368 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.18369 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18370 + soname_spec='${libname}${release}${shared_ext}$major'
78.18371 + if test "X$HPUX_IA64_MODE" = X32; then
78.18372 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
78.18373 + else
78.18374 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
78.18375 + fi
78.18376 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.18377 + ;;
78.18378 + hppa*64*)
78.18379 + shrext_cmds='.sl'
78.18380 + hardcode_into_libs=yes
78.18381 + dynamic_linker="$host_os dld.sl"
78.18382 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
78.18383 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
78.18384 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18385 + soname_spec='${libname}${release}${shared_ext}$major'
78.18386 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
78.18387 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
78.18388 + ;;
78.18389 + *)
78.18390 + shrext_cmds='.sl'
78.18391 + dynamic_linker="$host_os dld.sl"
78.18392 + shlibpath_var=SHLIB_PATH
78.18393 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
78.18394 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18395 + soname_spec='${libname}${release}${shared_ext}$major'
78.18396 + ;;
78.18397 + esac
78.18398 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
78.18399 + postinstall_cmds='chmod 555 $lib'
78.18400 + ;;
78.18401 +
78.18402 +interix3*)
78.18403 + version_type=linux
78.18404 + need_lib_prefix=no
78.18405 + need_version=no
78.18406 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.18407 + soname_spec='${libname}${release}${shared_ext}$major'
78.18408 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
78.18409 + shlibpath_var=LD_LIBRARY_PATH
78.18410 + shlibpath_overrides_runpath=no
78.18411 + hardcode_into_libs=yes
78.18412 + ;;
78.18413 +
78.18414 +irix5* | irix6* | nonstopux*)
78.18415 + case $host_os in
78.18416 + nonstopux*) version_type=nonstopux ;;
78.18417 + *)
78.18418 + if test "$lt_cv_prog_gnu_ld" = yes; then
78.18419 + version_type=linux
78.18420 + else
78.18421 + version_type=irix
78.18422 + fi ;;
78.18423 + esac
78.18424 + need_lib_prefix=no
78.18425 + need_version=no
78.18426 + soname_spec='${libname}${release}${shared_ext}$major'
78.18427 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
78.18428 + case $host_os in
78.18429 + irix5* | nonstopux*)
78.18430 + libsuff= shlibsuff=
78.18431 + ;;
78.18432 + *)
78.18433 + case $LD in # libtool.m4 will add one of these switches to LD
78.18434 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
78.18435 + libsuff= shlibsuff= libmagic=32-bit;;
78.18436 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
78.18437 + libsuff=32 shlibsuff=N32 libmagic=N32;;
78.18438 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
78.18439 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
78.18440 + *) libsuff= shlibsuff= libmagic=never-match;;
78.18441 + esac
78.18442 + ;;
78.18443 + esac
78.18444 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
78.18445 + shlibpath_overrides_runpath=no
78.18446 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
78.18447 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
78.18448 + hardcode_into_libs=yes
78.18449 + ;;
78.18450 +
78.18451 +# No shared lib support for Linux oldld, aout, or coff.
78.18452 +linux*oldld* | linux*aout* | linux*coff*)
78.18453 + dynamic_linker=no
78.18454 + ;;
78.18455 +
78.18456 +# This must be Linux ELF.
78.18457 +linux*)
78.18458 + version_type=linux
78.18459 + need_lib_prefix=no
78.18460 + need_version=no
78.18461 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18462 + soname_spec='${libname}${release}${shared_ext}$major'
78.18463 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
78.18464 + shlibpath_var=LD_LIBRARY_PATH
78.18465 + shlibpath_overrides_runpath=no
78.18466 + # This implies no fast_install, which is unacceptable.
78.18467 + # Some rework will be needed to allow for fast_install
78.18468 + # before this can be enabled.
78.18469 + hardcode_into_libs=yes
78.18470 +
78.18471 + # Append ld.so.conf contents to the search path
78.18472 + if test -f /etc/ld.so.conf; then
78.18473 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
78.18474 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
78.18475 + fi
78.18476 +
78.18477 + # We used to test for /lib/ld.so.1 and disable shared libraries on
78.18478 + # powerpc, because MkLinux only supported shared libraries with the
78.18479 + # GNU dynamic linker. Since this was broken with cross compilers,
78.18480 + # most powerpc-linux boxes support dynamic linking these days and
78.18481 + # people can always --disable-shared, the test was removed, and we
78.18482 + # assume the GNU/Linux dynamic linker is in use.
78.18483 + dynamic_linker='GNU/Linux ld.so'
78.18484 + ;;
78.18485 +
78.18486 +knetbsd*-gnu)
78.18487 + version_type=linux
78.18488 + need_lib_prefix=no
78.18489 + need_version=no
78.18490 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.18491 + soname_spec='${libname}${release}${shared_ext}$major'
78.18492 + shlibpath_var=LD_LIBRARY_PATH
78.18493 + shlibpath_overrides_runpath=no
78.18494 + hardcode_into_libs=yes
78.18495 + dynamic_linker='GNU ld.so'
78.18496 + ;;
78.18497 +
78.18498 +netbsd*)
78.18499 + version_type=sunos
78.18500 + need_lib_prefix=no
78.18501 + need_version=no
78.18502 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
78.18503 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.18504 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.18505 + dynamic_linker='NetBSD (a.out) ld.so'
78.18506 + else
78.18507 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
78.18508 + soname_spec='${libname}${release}${shared_ext}$major'
78.18509 + dynamic_linker='NetBSD ld.elf_so'
78.18510 + fi
78.18511 + shlibpath_var=LD_LIBRARY_PATH
78.18512 + shlibpath_overrides_runpath=yes
78.18513 + hardcode_into_libs=yes
78.18514 + ;;
78.18515 +
78.18516 +newsos6)
78.18517 + version_type=linux
78.18518 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18519 + shlibpath_var=LD_LIBRARY_PATH
78.18520 + shlibpath_overrides_runpath=yes
78.18521 + ;;
78.18522 +
78.18523 +nto-qnx*)
78.18524 + version_type=linux
78.18525 + need_lib_prefix=no
78.18526 + need_version=no
78.18527 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18528 + soname_spec='${libname}${release}${shared_ext}$major'
78.18529 + shlibpath_var=LD_LIBRARY_PATH
78.18530 + shlibpath_overrides_runpath=yes
78.18531 + ;;
78.18532 +
78.18533 +openbsd*)
78.18534 + version_type=sunos
78.18535 + sys_lib_dlsearch_path_spec="/usr/lib"
78.18536 + need_lib_prefix=no
78.18537 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
78.18538 + case $host_os in
78.18539 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
78.18540 + *) need_version=no ;;
78.18541 + esac
78.18542 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.18543 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
78.18544 + shlibpath_var=LD_LIBRARY_PATH
78.18545 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
78.18546 + case $host_os in
78.18547 + openbsd2.[89] | openbsd2.[89].*)
78.18548 + shlibpath_overrides_runpath=no
78.18549 + ;;
78.18550 + *)
78.18551 + shlibpath_overrides_runpath=yes
78.18552 + ;;
78.18553 + esac
78.18554 + else
78.18555 + shlibpath_overrides_runpath=yes
78.18556 + fi
78.18557 + ;;
78.18558 +
78.18559 +os2*)
78.18560 + libname_spec='$name'
78.18561 + shrext_cmds=".dll"
78.18562 + need_lib_prefix=no
78.18563 + library_names_spec='$libname${shared_ext} $libname.a'
78.18564 + dynamic_linker='OS/2 ld.exe'
78.18565 + shlibpath_var=LIBPATH
78.18566 + ;;
78.18567 +
78.18568 +osf3* | osf4* | osf5*)
78.18569 + version_type=osf
78.18570 + need_lib_prefix=no
78.18571 + need_version=no
78.18572 + soname_spec='${libname}${release}${shared_ext}$major'
78.18573 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18574 + shlibpath_var=LD_LIBRARY_PATH
78.18575 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
78.18576 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
78.18577 + ;;
78.18578 +
78.18579 +solaris*)
78.18580 + version_type=linux
78.18581 + need_lib_prefix=no
78.18582 + need_version=no
78.18583 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18584 + soname_spec='${libname}${release}${shared_ext}$major'
78.18585 + shlibpath_var=LD_LIBRARY_PATH
78.18586 + shlibpath_overrides_runpath=yes
78.18587 + hardcode_into_libs=yes
78.18588 + # ldd complains unless libraries are executable
78.18589 + postinstall_cmds='chmod +x $lib'
78.18590 + ;;
78.18591 +
78.18592 +sunos4*)
78.18593 + version_type=sunos
78.18594 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
78.18595 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
78.18596 + shlibpath_var=LD_LIBRARY_PATH
78.18597 + shlibpath_overrides_runpath=yes
78.18598 + if test "$with_gnu_ld" = yes; then
78.18599 + need_lib_prefix=no
78.18600 + fi
78.18601 + need_version=yes
78.18602 + ;;
78.18603 +
78.18604 +sysv4 | sysv4.3*)
78.18605 + version_type=linux
78.18606 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18607 + soname_spec='${libname}${release}${shared_ext}$major'
78.18608 + shlibpath_var=LD_LIBRARY_PATH
78.18609 + case $host_vendor in
78.18610 + sni)
78.18611 + shlibpath_overrides_runpath=no
78.18612 + need_lib_prefix=no
78.18613 + export_dynamic_flag_spec='${wl}-Blargedynsym'
78.18614 + runpath_var=LD_RUN_PATH
78.18615 + ;;
78.18616 + siemens)
78.18617 + need_lib_prefix=no
78.18618 + ;;
78.18619 + motorola)
78.18620 + need_lib_prefix=no
78.18621 + need_version=no
78.18622 + shlibpath_overrides_runpath=no
78.18623 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
78.18624 + ;;
78.18625 + esac
78.18626 + ;;
78.18627 +
78.18628 +sysv4*MP*)
78.18629 + if test -d /usr/nec ;then
78.18630 + version_type=linux
78.18631 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
78.18632 + soname_spec='$libname${shared_ext}.$major'
78.18633 + shlibpath_var=LD_LIBRARY_PATH
78.18634 + fi
78.18635 + ;;
78.18636 +
78.18637 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
78.18638 + version_type=freebsd-elf
78.18639 + need_lib_prefix=no
78.18640 + need_version=no
78.18641 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
78.18642 + soname_spec='${libname}${release}${shared_ext}$major'
78.18643 + shlibpath_var=LD_LIBRARY_PATH
78.18644 + hardcode_into_libs=yes
78.18645 + if test "$with_gnu_ld" = yes; then
78.18646 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
78.18647 + shlibpath_overrides_runpath=no
78.18648 + else
78.18649 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
78.18650 + shlibpath_overrides_runpath=yes
78.18651 + case $host_os in
78.18652 + sco3.2v5*)
78.18653 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
78.18654 + ;;
78.18655 + esac
78.18656 + fi
78.18657 + sys_lib_dlsearch_path_spec='/usr/lib'
78.18658 + ;;
78.18659 +
78.18660 +uts4*)
78.18661 + version_type=linux
78.18662 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
78.18663 + soname_spec='${libname}${release}${shared_ext}$major'
78.18664 + shlibpath_var=LD_LIBRARY_PATH
78.18665 + ;;
78.18666 +
78.18667 +*)
78.18668 + dynamic_linker=no
78.18669 + ;;
78.18670 +esac
78.18671 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
78.18672 +echo "${ECHO_T}$dynamic_linker" >&6; }
78.18673 +test "$dynamic_linker" = no && can_build_shared=no
78.18674 +
78.18675 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
78.18676 +if test "$GCC" = yes; then
78.18677 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
78.18678 +fi
78.18679 +
78.18680 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
78.18681 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
78.18682 +hardcode_action_GCJ=
78.18683 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
78.18684 + test -n "$runpath_var_GCJ" || \
78.18685 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
78.18686 +
78.18687 + # We can hardcode non-existant directories.
78.18688 + if test "$hardcode_direct_GCJ" != no &&
78.18689 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
78.18690 + # have to relink, otherwise we might link with an installed library
78.18691 + # when we should be linking with a yet-to-be-installed one
78.18692 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
78.18693 + test "$hardcode_minus_L_GCJ" != no; then
78.18694 + # Linking always hardcodes the temporary library directory.
78.18695 + hardcode_action_GCJ=relink
78.18696 + else
78.18697 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
78.18698 + hardcode_action_GCJ=immediate
78.18699 + fi
78.18700 +else
78.18701 + # We cannot hardcode anything, or else we can only hardcode existing
78.18702 + # directories.
78.18703 + hardcode_action_GCJ=unsupported
78.18704 +fi
78.18705 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
78.18706 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
78.18707 +
78.18708 +if test "$hardcode_action_GCJ" = relink; then
78.18709 + # Fast installation is not supported
78.18710 + enable_fast_install=no
78.18711 +elif test "$shlibpath_overrides_runpath" = yes ||
78.18712 + test "$enable_shared" = no; then
78.18713 + # Fast installation is not necessary
78.18714 + enable_fast_install=needless
78.18715 +fi
78.18716 +
78.18717 +
78.18718 +# The else clause should only fire when bootstrapping the
78.18719 +# libtool distribution, otherwise you forgot to ship ltmain.sh
78.18720 +# with your package, and you will get complaints that there are
78.18721 +# no rules to generate ltmain.sh.
78.18722 +if test -f "$ltmain"; then
78.18723 + # See if we are running on zsh, and set the options which allow our commands through
78.18724 + # without removal of \ escapes.
78.18725 + if test -n "${ZSH_VERSION+set}" ; then
78.18726 + setopt NO_GLOB_SUBST
78.18727 + fi
78.18728 + # Now quote all the things that may contain metacharacters while being
78.18729 + # careful not to overquote the AC_SUBSTed values. We take copies of the
78.18730 + # variables and quote the copies for generation of the libtool script.
78.18731 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
78.18732 + SED SHELL STRIP \
78.18733 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
78.18734 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
78.18735 + deplibs_check_method reload_flag reload_cmds need_locks \
78.18736 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
78.18737 + lt_cv_sys_global_symbol_to_c_name_address \
78.18738 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
78.18739 + old_postinstall_cmds old_postuninstall_cmds \
78.18740 + compiler_GCJ \
78.18741 + CC_GCJ \
78.18742 + LD_GCJ \
78.18743 + lt_prog_compiler_wl_GCJ \
78.18744 + lt_prog_compiler_pic_GCJ \
78.18745 + lt_prog_compiler_static_GCJ \
78.18746 + lt_prog_compiler_no_builtin_flag_GCJ \
78.18747 + export_dynamic_flag_spec_GCJ \
78.18748 + thread_safe_flag_spec_GCJ \
78.18749 + whole_archive_flag_spec_GCJ \
78.18750 + enable_shared_with_static_runtimes_GCJ \
78.18751 + old_archive_cmds_GCJ \
78.18752 + old_archive_from_new_cmds_GCJ \
78.18753 + predep_objects_GCJ \
78.18754 + postdep_objects_GCJ \
78.18755 + predeps_GCJ \
78.18756 + postdeps_GCJ \
78.18757 + compiler_lib_search_path_GCJ \
78.18758 + archive_cmds_GCJ \
78.18759 + archive_expsym_cmds_GCJ \
78.18760 + postinstall_cmds_GCJ \
78.18761 + postuninstall_cmds_GCJ \
78.18762 + old_archive_from_expsyms_cmds_GCJ \
78.18763 + allow_undefined_flag_GCJ \
78.18764 + no_undefined_flag_GCJ \
78.18765 + export_symbols_cmds_GCJ \
78.18766 + hardcode_libdir_flag_spec_GCJ \
78.18767 + hardcode_libdir_flag_spec_ld_GCJ \
78.18768 + hardcode_libdir_separator_GCJ \
78.18769 + hardcode_automatic_GCJ \
78.18770 + module_cmds_GCJ \
78.18771 + module_expsym_cmds_GCJ \
78.18772 + lt_cv_prog_compiler_c_o_GCJ \
78.18773 + exclude_expsyms_GCJ \
78.18774 + include_expsyms_GCJ; do
78.18775 +
78.18776 + case $var in
78.18777 + old_archive_cmds_GCJ | \
78.18778 + old_archive_from_new_cmds_GCJ | \
78.18779 + archive_cmds_GCJ | \
78.18780 + archive_expsym_cmds_GCJ | \
78.18781 + module_cmds_GCJ | \
78.18782 + module_expsym_cmds_GCJ | \
78.18783 + old_archive_from_expsyms_cmds_GCJ | \
78.18784 + export_symbols_cmds_GCJ | \
78.18785 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
78.18786 + postinstall_cmds | postuninstall_cmds | \
78.18787 + old_postinstall_cmds | old_postuninstall_cmds | \
78.18788 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
78.18789 + # Double-quote double-evaled strings.
78.18790 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
78.18791 + ;;
78.18792 + *)
78.18793 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
78.18794 + ;;
78.18795 + esac
78.18796 + done
78.18797 +
78.18798 + case $lt_echo in
78.18799 + *'\$0 --fallback-echo"')
78.18800 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
78.18801 + ;;
78.18802 + esac
78.18803 +
78.18804 +cfgfile="$ofile"
78.18805 +
78.18806 + cat <<__EOF__ >> "$cfgfile"
78.18807 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
78.18808 +
78.18809 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78.18810 +
78.18811 +# Shell to use when invoking shell scripts.
78.18812 +SHELL=$lt_SHELL
78.18813 +
78.18814 +# Whether or not to build shared libraries.
78.18815 +build_libtool_libs=$enable_shared
78.18816 +
78.18817 +# Whether or not to build static libraries.
78.18818 +build_old_libs=$enable_static
78.18819 +
78.18820 +# Whether or not to add -lc for building shared libraries.
78.18821 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
78.18822 +
78.18823 +# Whether or not to disallow shared libs when runtime libs are static
78.18824 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
78.18825 +
78.18826 +# Whether or not to optimize for fast installation.
78.18827 +fast_install=$enable_fast_install
78.18828 +
78.18829 +# The host system.
78.18830 +host_alias=$host_alias
78.18831 +host=$host
78.18832 +host_os=$host_os
78.18833 +
78.18834 +# The build system.
78.18835 +build_alias=$build_alias
78.18836 +build=$build
78.18837 +build_os=$build_os
78.18838 +
78.18839 +# An echo program that does not interpret backslashes.
78.18840 +echo=$lt_echo
78.18841 +
78.18842 +# The archiver.
78.18843 +AR=$lt_AR
78.18844 +AR_FLAGS=$lt_AR_FLAGS
78.18845 +
78.18846 +# A C compiler.
78.18847 +LTCC=$lt_LTCC
78.18848 +
78.18849 +# LTCC compiler flags.
78.18850 +LTCFLAGS=$lt_LTCFLAGS
78.18851 +
78.18852 +# A language-specific compiler.
78.18853 +CC=$lt_compiler_GCJ
78.18854 +
78.18855 +# Is the compiler the GNU C compiler?
78.18856 +with_gcc=$GCC_GCJ
78.18857 +
78.18858 +# An ERE matcher.
78.18859 +EGREP=$lt_EGREP
78.18860 +
78.18861 +# The linker used to build libraries.
78.18862 +LD=$lt_LD_GCJ
78.18863 +
78.18864 +# Whether we need hard or soft links.
78.18865 +LN_S=$lt_LN_S
78.18866 +
78.18867 +# A BSD-compatible nm program.
78.18868 +NM=$lt_NM
78.18869 +
78.18870 +# A symbol stripping program
78.18871 +STRIP=$lt_STRIP
78.18872 +
78.18873 +# Used to examine libraries when file_magic_cmd begins "file"
78.18874 +MAGIC_CMD=$MAGIC_CMD
78.18875 +
78.18876 +# Used on cygwin: DLL creation program.
78.18877 +DLLTOOL="$DLLTOOL"
78.18878 +
78.18879 +# Used on cygwin: object dumper.
78.18880 +OBJDUMP="$OBJDUMP"
78.18881 +
78.18882 +# Used on cygwin: assembler.
78.18883 +AS="$AS"
78.18884 +
78.18885 +# The name of the directory that contains temporary libtool files.
78.18886 +objdir=$objdir
78.18887 +
78.18888 +# How to create reloadable object files.
78.18889 +reload_flag=$lt_reload_flag
78.18890 +reload_cmds=$lt_reload_cmds
78.18891 +
78.18892 +# How to pass a linker flag through the compiler.
78.18893 +wl=$lt_lt_prog_compiler_wl_GCJ
78.18894 +
78.18895 +# Object file suffix (normally "o").
78.18896 +objext="$ac_objext"
78.18897 +
78.18898 +# Old archive suffix (normally "a").
78.18899 +libext="$libext"
78.18900 +
78.18901 +# Shared library suffix (normally ".so").
78.18902 +shrext_cmds='$shrext_cmds'
78.18903 +
78.18904 +# Executable file suffix (normally "").
78.18905 +exeext="$exeext"
78.18906 +
78.18907 +# Additional compiler flags for building library objects.
78.18908 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
78.18909 +pic_mode=$pic_mode
78.18910 +
78.18911 +# What is the maximum length of a command?
78.18912 +max_cmd_len=$lt_cv_sys_max_cmd_len
78.18913 +
78.18914 +# Does compiler simultaneously support -c and -o options?
78.18915 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
78.18916 +
78.18917 +# Must we lock files when doing compilation?
78.18918 +need_locks=$lt_need_locks
78.18919 +
78.18920 +# Do we need the lib prefix for modules?
78.18921 +need_lib_prefix=$need_lib_prefix
78.18922 +
78.18923 +# Do we need a version for libraries?
78.18924 +need_version=$need_version
78.18925 +
78.18926 +# Whether dlopen is supported.
78.18927 +dlopen_support=$enable_dlopen
78.18928 +
78.18929 +# Whether dlopen of programs is supported.
78.18930 +dlopen_self=$enable_dlopen_self
78.18931 +
78.18932 +# Whether dlopen of statically linked programs is supported.
78.18933 +dlopen_self_static=$enable_dlopen_self_static
78.18934 +
78.18935 +# Compiler flag to prevent dynamic linking.
78.18936 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
78.18937 +
78.18938 +# Compiler flag to turn off builtin functions.
78.18939 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
78.18940 +
78.18941 +# Compiler flag to allow reflexive dlopens.
78.18942 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
78.18943 +
78.18944 +# Compiler flag to generate shared objects directly from archives.
78.18945 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
78.18946 +
78.18947 +# Compiler flag to generate thread-safe objects.
78.18948 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
78.18949 +
78.18950 +# Library versioning type.
78.18951 +version_type=$version_type
78.18952 +
78.18953 +# Format of library name prefix.
78.18954 +libname_spec=$lt_libname_spec
78.18955 +
78.18956 +# List of archive names. First name is the real one, the rest are links.
78.18957 +# The last name is the one that the linker finds with -lNAME.
78.18958 +library_names_spec=$lt_library_names_spec
78.18959 +
78.18960 +# The coded name of the library, if different from the real name.
78.18961 +soname_spec=$lt_soname_spec
78.18962 +
78.18963 +# Commands used to build and install an old-style archive.
78.18964 +RANLIB=$lt_RANLIB
78.18965 +old_archive_cmds=$lt_old_archive_cmds_GCJ
78.18966 +old_postinstall_cmds=$lt_old_postinstall_cmds
78.18967 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
78.18968 +
78.18969 +# Create an old-style archive from a shared archive.
78.18970 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
78.18971 +
78.18972 +# Create a temporary old-style archive to link instead of a shared archive.
78.18973 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
78.18974 +
78.18975 +# Commands used to build and install a shared archive.
78.18976 +archive_cmds=$lt_archive_cmds_GCJ
78.18977 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
78.18978 +postinstall_cmds=$lt_postinstall_cmds
78.18979 +postuninstall_cmds=$lt_postuninstall_cmds
78.18980 +
78.18981 +# Commands used to build a loadable module (assumed same as above if empty)
78.18982 +module_cmds=$lt_module_cmds_GCJ
78.18983 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
78.18984 +
78.18985 +# Commands to strip libraries.
78.18986 +old_striplib=$lt_old_striplib
78.18987 +striplib=$lt_striplib
78.18988 +
78.18989 +# Dependencies to place before the objects being linked to create a
78.18990 +# shared library.
78.18991 +predep_objects=$lt_predep_objects_GCJ
78.18992 +
78.18993 +# Dependencies to place after the objects being linked to create a
78.18994 +# shared library.
78.18995 +postdep_objects=$lt_postdep_objects_GCJ
78.18996 +
78.18997 +# Dependencies to place before the objects being linked to create a
78.18998 +# shared library.
78.18999 +predeps=$lt_predeps_GCJ
78.19000 +
78.19001 +# Dependencies to place after the objects being linked to create a
78.19002 +# shared library.
78.19003 +postdeps=$lt_postdeps_GCJ
78.19004 +
78.19005 +# The library search path used internally by the compiler when linking
78.19006 +# a shared library.
78.19007 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
78.19008 +
78.19009 +# Method to check whether dependent libraries are shared objects.
78.19010 +deplibs_check_method=$lt_deplibs_check_method
78.19011 +
78.19012 +# Command to use when deplibs_check_method == file_magic.
78.19013 +file_magic_cmd=$lt_file_magic_cmd
78.19014 +
78.19015 +# Flag that allows shared libraries with undefined symbols to be built.
78.19016 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
78.19017 +
78.19018 +# Flag that forces no undefined symbols.
78.19019 +no_undefined_flag=$lt_no_undefined_flag_GCJ
78.19020 +
78.19021 +# Commands used to finish a libtool library installation in a directory.
78.19022 +finish_cmds=$lt_finish_cmds
78.19023 +
78.19024 +# Same as above, but a single script fragment to be evaled but not shown.
78.19025 +finish_eval=$lt_finish_eval
78.19026 +
78.19027 +# Take the output of nm and produce a listing of raw symbols and C names.
78.19028 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78.19029 +
78.19030 +# Transform the output of nm in a proper C declaration
78.19031 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78.19032 +
78.19033 +# Transform the output of nm in a C name address pair
78.19034 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78.19035 +
78.19036 +# This is the shared library runtime path variable.
78.19037 +runpath_var=$runpath_var
78.19038 +
78.19039 +# This is the shared library path variable.
78.19040 +shlibpath_var=$shlibpath_var
78.19041 +
78.19042 +# Is shlibpath searched before the hard-coded library search path?
78.19043 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78.19044 +
78.19045 +# How to hardcode a shared library path into an executable.
78.19046 +hardcode_action=$hardcode_action_GCJ
78.19047 +
78.19048 +# Whether we should hardcode library paths into libraries.
78.19049 +hardcode_into_libs=$hardcode_into_libs
78.19050 +
78.19051 +# Flag to hardcode \$libdir into a binary during linking.
78.19052 +# This must work even if \$libdir does not exist.
78.19053 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
78.19054 +
78.19055 +# If ld is used when linking, flag to hardcode \$libdir into
78.19056 +# a binary during linking. This must work even if \$libdir does
78.19057 +# not exist.
78.19058 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
78.19059 +
78.19060 +# Whether we need a single -rpath flag with a separated argument.
78.19061 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
78.19062 +
78.19063 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
78.19064 +# resulting binary.
78.19065 +hardcode_direct=$hardcode_direct_GCJ
78.19066 +
78.19067 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
78.19068 +# resulting binary.
78.19069 +hardcode_minus_L=$hardcode_minus_L_GCJ
78.19070 +
78.19071 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
78.19072 +# the resulting binary.
78.19073 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
78.19074 +
78.19075 +# Set to yes if building a shared library automatically hardcodes DIR into the library
78.19076 +# and all subsequent libraries and executables linked against it.
78.19077 +hardcode_automatic=$hardcode_automatic_GCJ
78.19078 +
78.19079 +# Variables whose values should be saved in libtool wrapper scripts and
78.19080 +# restored at relink time.
78.19081 +variables_saved_for_relink="$variables_saved_for_relink"
78.19082 +
78.19083 +# Whether libtool must link a program against all its dependency libraries.
78.19084 +link_all_deplibs=$link_all_deplibs_GCJ
78.19085 +
78.19086 +# Compile-time system search path for libraries
78.19087 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78.19088 +
78.19089 +# Run-time system search path for libraries
78.19090 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78.19091 +
78.19092 +# Fix the shell variable \$srcfile for the compiler.
78.19093 +fix_srcfile_path="$fix_srcfile_path_GCJ"
78.19094 +
78.19095 +# Set to yes if exported symbols are required.
78.19096 +always_export_symbols=$always_export_symbols_GCJ
78.19097 +
78.19098 +# The commands to list exported symbols.
78.19099 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
78.19100 +
78.19101 +# The commands to extract the exported symbol list from a shared archive.
78.19102 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
78.19103 +
78.19104 +# Symbols that should not be listed in the preloaded symbols.
78.19105 +exclude_expsyms=$lt_exclude_expsyms_GCJ
78.19106 +
78.19107 +# Symbols that must always be exported.
78.19108 +include_expsyms=$lt_include_expsyms_GCJ
78.19109 +
78.19110 +# ### END LIBTOOL TAG CONFIG: $tagname
78.19111 +
78.19112 +__EOF__
78.19113 +
78.19114 +
78.19115 +else
78.19116 + # If there is no Makefile yet, we rely on a make rule to execute
78.19117 + # `config.status --recheck' to rerun these tests and create the
78.19118 + # libtool script then.
78.19119 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
78.19120 + if test -f "$ltmain_in"; then
78.19121 + test -f Makefile && make "$ltmain"
78.19122 + fi
78.19123 +fi
78.19124 +
78.19125 +
78.19126 +ac_ext=cpp
78.19127 +ac_cpp='$CXXCPP $CPPFLAGS'
78.19128 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.19129 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.19130 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.19131 +
78.19132 +CC="$lt_save_CC"
78.19133 +
78.19134 + else
78.19135 + tagname=""
78.19136 + fi
78.19137 + ;;
78.19138 +
78.19139 + RC)
78.19140 +
78.19141 +
78.19142 +# Source file extension for RC test sources.
78.19143 +ac_ext=rc
78.19144 +
78.19145 +# Object file extension for compiled RC test sources.
78.19146 +objext=o
78.19147 +objext_RC=$objext
78.19148 +
78.19149 +# Code to be used in simple compile tests
78.19150 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
78.19151 +
78.19152 +# Code to be used in simple link tests
78.19153 +lt_simple_link_test_code="$lt_simple_compile_test_code"
78.19154 +
78.19155 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
78.19156 +
78.19157 +# If no C compiler was specified, use CC.
78.19158 +LTCC=${LTCC-"$CC"}
78.19159 +
78.19160 +# If no C compiler flags were specified, use CFLAGS.
78.19161 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
78.19162 +
78.19163 +# Allow CC to be a program name with arguments.
78.19164 +compiler=$CC
78.19165 +
78.19166 +
78.19167 +# save warnings/boilerplate of simple test code
78.19168 +ac_outfile=conftest.$ac_objext
78.19169 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
78.19170 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.19171 +_lt_compiler_boilerplate=`cat conftest.err`
78.19172 +$rm conftest*
78.19173 +
78.19174 +ac_outfile=conftest.$ac_objext
78.19175 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
78.19176 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
78.19177 +_lt_linker_boilerplate=`cat conftest.err`
78.19178 +$rm conftest*
78.19179 +
78.19180 +
78.19181 +# Allow CC to be a program name with arguments.
78.19182 +lt_save_CC="$CC"
78.19183 +CC=${RC-"windres"}
78.19184 +compiler=$CC
78.19185 +compiler_RC=$CC
78.19186 +for cc_temp in $compiler""; do
78.19187 + case $cc_temp in
78.19188 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
78.19189 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
78.19190 + \-*) ;;
78.19191 + *) break;;
78.19192 + esac
78.19193 +done
78.19194 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
78.19195 +
78.19196 +lt_cv_prog_compiler_c_o_RC=yes
78.19197 +
78.19198 +# The else clause should only fire when bootstrapping the
78.19199 +# libtool distribution, otherwise you forgot to ship ltmain.sh
78.19200 +# with your package, and you will get complaints that there are
78.19201 +# no rules to generate ltmain.sh.
78.19202 +if test -f "$ltmain"; then
78.19203 + # See if we are running on zsh, and set the options which allow our commands through
78.19204 + # without removal of \ escapes.
78.19205 + if test -n "${ZSH_VERSION+set}" ; then
78.19206 + setopt NO_GLOB_SUBST
78.19207 + fi
78.19208 + # Now quote all the things that may contain metacharacters while being
78.19209 + # careful not to overquote the AC_SUBSTed values. We take copies of the
78.19210 + # variables and quote the copies for generation of the libtool script.
78.19211 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
78.19212 + SED SHELL STRIP \
78.19213 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
78.19214 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
78.19215 + deplibs_check_method reload_flag reload_cmds need_locks \
78.19216 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
78.19217 + lt_cv_sys_global_symbol_to_c_name_address \
78.19218 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
78.19219 + old_postinstall_cmds old_postuninstall_cmds \
78.19220 + compiler_RC \
78.19221 + CC_RC \
78.19222 + LD_RC \
78.19223 + lt_prog_compiler_wl_RC \
78.19224 + lt_prog_compiler_pic_RC \
78.19225 + lt_prog_compiler_static_RC \
78.19226 + lt_prog_compiler_no_builtin_flag_RC \
78.19227 + export_dynamic_flag_spec_RC \
78.19228 + thread_safe_flag_spec_RC \
78.19229 + whole_archive_flag_spec_RC \
78.19230 + enable_shared_with_static_runtimes_RC \
78.19231 + old_archive_cmds_RC \
78.19232 + old_archive_from_new_cmds_RC \
78.19233 + predep_objects_RC \
78.19234 + postdep_objects_RC \
78.19235 + predeps_RC \
78.19236 + postdeps_RC \
78.19237 + compiler_lib_search_path_RC \
78.19238 + archive_cmds_RC \
78.19239 + archive_expsym_cmds_RC \
78.19240 + postinstall_cmds_RC \
78.19241 + postuninstall_cmds_RC \
78.19242 + old_archive_from_expsyms_cmds_RC \
78.19243 + allow_undefined_flag_RC \
78.19244 + no_undefined_flag_RC \
78.19245 + export_symbols_cmds_RC \
78.19246 + hardcode_libdir_flag_spec_RC \
78.19247 + hardcode_libdir_flag_spec_ld_RC \
78.19248 + hardcode_libdir_separator_RC \
78.19249 + hardcode_automatic_RC \
78.19250 + module_cmds_RC \
78.19251 + module_expsym_cmds_RC \
78.19252 + lt_cv_prog_compiler_c_o_RC \
78.19253 + exclude_expsyms_RC \
78.19254 + include_expsyms_RC; do
78.19255 +
78.19256 + case $var in
78.19257 + old_archive_cmds_RC | \
78.19258 + old_archive_from_new_cmds_RC | \
78.19259 + archive_cmds_RC | \
78.19260 + archive_expsym_cmds_RC | \
78.19261 + module_cmds_RC | \
78.19262 + module_expsym_cmds_RC | \
78.19263 + old_archive_from_expsyms_cmds_RC | \
78.19264 + export_symbols_cmds_RC | \
78.19265 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
78.19266 + postinstall_cmds | postuninstall_cmds | \
78.19267 + old_postinstall_cmds | old_postuninstall_cmds | \
78.19268 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
78.19269 + # Double-quote double-evaled strings.
78.19270 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
78.19271 + ;;
78.19272 + *)
78.19273 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
78.19274 + ;;
78.19275 + esac
78.19276 + done
78.19277 +
78.19278 + case $lt_echo in
78.19279 + *'\$0 --fallback-echo"')
78.19280 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
78.19281 + ;;
78.19282 + esac
78.19283 +
78.19284 +cfgfile="$ofile"
78.19285 +
78.19286 + cat <<__EOF__ >> "$cfgfile"
78.19287 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
78.19288 +
78.19289 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
78.19290 +
78.19291 +# Shell to use when invoking shell scripts.
78.19292 +SHELL=$lt_SHELL
78.19293 +
78.19294 +# Whether or not to build shared libraries.
78.19295 +build_libtool_libs=$enable_shared
78.19296 +
78.19297 +# Whether or not to build static libraries.
78.19298 +build_old_libs=$enable_static
78.19299 +
78.19300 +# Whether or not to add -lc for building shared libraries.
78.19301 +build_libtool_need_lc=$archive_cmds_need_lc_RC
78.19302 +
78.19303 +# Whether or not to disallow shared libs when runtime libs are static
78.19304 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
78.19305 +
78.19306 +# Whether or not to optimize for fast installation.
78.19307 +fast_install=$enable_fast_install
78.19308 +
78.19309 +# The host system.
78.19310 +host_alias=$host_alias
78.19311 +host=$host
78.19312 +host_os=$host_os
78.19313 +
78.19314 +# The build system.
78.19315 +build_alias=$build_alias
78.19316 +build=$build
78.19317 +build_os=$build_os
78.19318 +
78.19319 +# An echo program that does not interpret backslashes.
78.19320 +echo=$lt_echo
78.19321 +
78.19322 +# The archiver.
78.19323 +AR=$lt_AR
78.19324 +AR_FLAGS=$lt_AR_FLAGS
78.19325 +
78.19326 +# A C compiler.
78.19327 +LTCC=$lt_LTCC
78.19328 +
78.19329 +# LTCC compiler flags.
78.19330 +LTCFLAGS=$lt_LTCFLAGS
78.19331 +
78.19332 +# A language-specific compiler.
78.19333 +CC=$lt_compiler_RC
78.19334 +
78.19335 +# Is the compiler the GNU C compiler?
78.19336 +with_gcc=$GCC_RC
78.19337 +
78.19338 +# An ERE matcher.
78.19339 +EGREP=$lt_EGREP
78.19340 +
78.19341 +# The linker used to build libraries.
78.19342 +LD=$lt_LD_RC
78.19343 +
78.19344 +# Whether we need hard or soft links.
78.19345 +LN_S=$lt_LN_S
78.19346 +
78.19347 +# A BSD-compatible nm program.
78.19348 +NM=$lt_NM
78.19349 +
78.19350 +# A symbol stripping program
78.19351 +STRIP=$lt_STRIP
78.19352 +
78.19353 +# Used to examine libraries when file_magic_cmd begins "file"
78.19354 +MAGIC_CMD=$MAGIC_CMD
78.19355 +
78.19356 +# Used on cygwin: DLL creation program.
78.19357 +DLLTOOL="$DLLTOOL"
78.19358 +
78.19359 +# Used on cygwin: object dumper.
78.19360 +OBJDUMP="$OBJDUMP"
78.19361 +
78.19362 +# Used on cygwin: assembler.
78.19363 +AS="$AS"
78.19364 +
78.19365 +# The name of the directory that contains temporary libtool files.
78.19366 +objdir=$objdir
78.19367 +
78.19368 +# How to create reloadable object files.
78.19369 +reload_flag=$lt_reload_flag
78.19370 +reload_cmds=$lt_reload_cmds
78.19371 +
78.19372 +# How to pass a linker flag through the compiler.
78.19373 +wl=$lt_lt_prog_compiler_wl_RC
78.19374 +
78.19375 +# Object file suffix (normally "o").
78.19376 +objext="$ac_objext"
78.19377 +
78.19378 +# Old archive suffix (normally "a").
78.19379 +libext="$libext"
78.19380 +
78.19381 +# Shared library suffix (normally ".so").
78.19382 +shrext_cmds='$shrext_cmds'
78.19383 +
78.19384 +# Executable file suffix (normally "").
78.19385 +exeext="$exeext"
78.19386 +
78.19387 +# Additional compiler flags for building library objects.
78.19388 +pic_flag=$lt_lt_prog_compiler_pic_RC
78.19389 +pic_mode=$pic_mode
78.19390 +
78.19391 +# What is the maximum length of a command?
78.19392 +max_cmd_len=$lt_cv_sys_max_cmd_len
78.19393 +
78.19394 +# Does compiler simultaneously support -c and -o options?
78.19395 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
78.19396 +
78.19397 +# Must we lock files when doing compilation?
78.19398 +need_locks=$lt_need_locks
78.19399 +
78.19400 +# Do we need the lib prefix for modules?
78.19401 +need_lib_prefix=$need_lib_prefix
78.19402 +
78.19403 +# Do we need a version for libraries?
78.19404 +need_version=$need_version
78.19405 +
78.19406 +# Whether dlopen is supported.
78.19407 +dlopen_support=$enable_dlopen
78.19408 +
78.19409 +# Whether dlopen of programs is supported.
78.19410 +dlopen_self=$enable_dlopen_self
78.19411 +
78.19412 +# Whether dlopen of statically linked programs is supported.
78.19413 +dlopen_self_static=$enable_dlopen_self_static
78.19414 +
78.19415 +# Compiler flag to prevent dynamic linking.
78.19416 +link_static_flag=$lt_lt_prog_compiler_static_RC
78.19417 +
78.19418 +# Compiler flag to turn off builtin functions.
78.19419 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
78.19420 +
78.19421 +# Compiler flag to allow reflexive dlopens.
78.19422 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
78.19423 +
78.19424 +# Compiler flag to generate shared objects directly from archives.
78.19425 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
78.19426 +
78.19427 +# Compiler flag to generate thread-safe objects.
78.19428 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
78.19429 +
78.19430 +# Library versioning type.
78.19431 +version_type=$version_type
78.19432 +
78.19433 +# Format of library name prefix.
78.19434 +libname_spec=$lt_libname_spec
78.19435 +
78.19436 +# List of archive names. First name is the real one, the rest are links.
78.19437 +# The last name is the one that the linker finds with -lNAME.
78.19438 +library_names_spec=$lt_library_names_spec
78.19439 +
78.19440 +# The coded name of the library, if different from the real name.
78.19441 +soname_spec=$lt_soname_spec
78.19442 +
78.19443 +# Commands used to build and install an old-style archive.
78.19444 +RANLIB=$lt_RANLIB
78.19445 +old_archive_cmds=$lt_old_archive_cmds_RC
78.19446 +old_postinstall_cmds=$lt_old_postinstall_cmds
78.19447 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
78.19448 +
78.19449 +# Create an old-style archive from a shared archive.
78.19450 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
78.19451 +
78.19452 +# Create a temporary old-style archive to link instead of a shared archive.
78.19453 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
78.19454 +
78.19455 +# Commands used to build and install a shared archive.
78.19456 +archive_cmds=$lt_archive_cmds_RC
78.19457 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
78.19458 +postinstall_cmds=$lt_postinstall_cmds
78.19459 +postuninstall_cmds=$lt_postuninstall_cmds
78.19460 +
78.19461 +# Commands used to build a loadable module (assumed same as above if empty)
78.19462 +module_cmds=$lt_module_cmds_RC
78.19463 +module_expsym_cmds=$lt_module_expsym_cmds_RC
78.19464 +
78.19465 +# Commands to strip libraries.
78.19466 +old_striplib=$lt_old_striplib
78.19467 +striplib=$lt_striplib
78.19468 +
78.19469 +# Dependencies to place before the objects being linked to create a
78.19470 +# shared library.
78.19471 +predep_objects=$lt_predep_objects_RC
78.19472 +
78.19473 +# Dependencies to place after the objects being linked to create a
78.19474 +# shared library.
78.19475 +postdep_objects=$lt_postdep_objects_RC
78.19476 +
78.19477 +# Dependencies to place before the objects being linked to create a
78.19478 +# shared library.
78.19479 +predeps=$lt_predeps_RC
78.19480 +
78.19481 +# Dependencies to place after the objects being linked to create a
78.19482 +# shared library.
78.19483 +postdeps=$lt_postdeps_RC
78.19484 +
78.19485 +# The library search path used internally by the compiler when linking
78.19486 +# a shared library.
78.19487 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
78.19488 +
78.19489 +# Method to check whether dependent libraries are shared objects.
78.19490 +deplibs_check_method=$lt_deplibs_check_method
78.19491 +
78.19492 +# Command to use when deplibs_check_method == file_magic.
78.19493 +file_magic_cmd=$lt_file_magic_cmd
78.19494 +
78.19495 +# Flag that allows shared libraries with undefined symbols to be built.
78.19496 +allow_undefined_flag=$lt_allow_undefined_flag_RC
78.19497 +
78.19498 +# Flag that forces no undefined symbols.
78.19499 +no_undefined_flag=$lt_no_undefined_flag_RC
78.19500 +
78.19501 +# Commands used to finish a libtool library installation in a directory.
78.19502 +finish_cmds=$lt_finish_cmds
78.19503 +
78.19504 +# Same as above, but a single script fragment to be evaled but not shown.
78.19505 +finish_eval=$lt_finish_eval
78.19506 +
78.19507 +# Take the output of nm and produce a listing of raw symbols and C names.
78.19508 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
78.19509 +
78.19510 +# Transform the output of nm in a proper C declaration
78.19511 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
78.19512 +
78.19513 +# Transform the output of nm in a C name address pair
78.19514 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
78.19515 +
78.19516 +# This is the shared library runtime path variable.
78.19517 +runpath_var=$runpath_var
78.19518 +
78.19519 +# This is the shared library path variable.
78.19520 +shlibpath_var=$shlibpath_var
78.19521 +
78.19522 +# Is shlibpath searched before the hard-coded library search path?
78.19523 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
78.19524 +
78.19525 +# How to hardcode a shared library path into an executable.
78.19526 +hardcode_action=$hardcode_action_RC
78.19527 +
78.19528 +# Whether we should hardcode library paths into libraries.
78.19529 +hardcode_into_libs=$hardcode_into_libs
78.19530 +
78.19531 +# Flag to hardcode \$libdir into a binary during linking.
78.19532 +# This must work even if \$libdir does not exist.
78.19533 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
78.19534 +
78.19535 +# If ld is used when linking, flag to hardcode \$libdir into
78.19536 +# a binary during linking. This must work even if \$libdir does
78.19537 +# not exist.
78.19538 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
78.19539 +
78.19540 +# Whether we need a single -rpath flag with a separated argument.
78.19541 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
78.19542 +
78.19543 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
78.19544 +# resulting binary.
78.19545 +hardcode_direct=$hardcode_direct_RC
78.19546 +
78.19547 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
78.19548 +# resulting binary.
78.19549 +hardcode_minus_L=$hardcode_minus_L_RC
78.19550 +
78.19551 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
78.19552 +# the resulting binary.
78.19553 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
78.19554 +
78.19555 +# Set to yes if building a shared library automatically hardcodes DIR into the library
78.19556 +# and all subsequent libraries and executables linked against it.
78.19557 +hardcode_automatic=$hardcode_automatic_RC
78.19558 +
78.19559 +# Variables whose values should be saved in libtool wrapper scripts and
78.19560 +# restored at relink time.
78.19561 +variables_saved_for_relink="$variables_saved_for_relink"
78.19562 +
78.19563 +# Whether libtool must link a program against all its dependency libraries.
78.19564 +link_all_deplibs=$link_all_deplibs_RC
78.19565 +
78.19566 +# Compile-time system search path for libraries
78.19567 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
78.19568 +
78.19569 +# Run-time system search path for libraries
78.19570 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
78.19571 +
78.19572 +# Fix the shell variable \$srcfile for the compiler.
78.19573 +fix_srcfile_path="$fix_srcfile_path_RC"
78.19574 +
78.19575 +# Set to yes if exported symbols are required.
78.19576 +always_export_symbols=$always_export_symbols_RC
78.19577 +
78.19578 +# The commands to list exported symbols.
78.19579 +export_symbols_cmds=$lt_export_symbols_cmds_RC
78.19580 +
78.19581 +# The commands to extract the exported symbol list from a shared archive.
78.19582 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
78.19583 +
78.19584 +# Symbols that should not be listed in the preloaded symbols.
78.19585 +exclude_expsyms=$lt_exclude_expsyms_RC
78.19586 +
78.19587 +# Symbols that must always be exported.
78.19588 +include_expsyms=$lt_include_expsyms_RC
78.19589 +
78.19590 +# ### END LIBTOOL TAG CONFIG: $tagname
78.19591 +
78.19592 +__EOF__
78.19593 +
78.19594 +
78.19595 +else
78.19596 + # If there is no Makefile yet, we rely on a make rule to execute
78.19597 + # `config.status --recheck' to rerun these tests and create the
78.19598 + # libtool script then.
78.19599 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
78.19600 + if test -f "$ltmain_in"; then
78.19601 + test -f Makefile && make "$ltmain"
78.19602 + fi
78.19603 +fi
78.19604 +
78.19605 +
78.19606 +ac_ext=cpp
78.19607 +ac_cpp='$CXXCPP $CPPFLAGS'
78.19608 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78.19609 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78.19610 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78.19611 +
78.19612 +CC="$lt_save_CC"
78.19613 +
78.19614 + ;;
78.19615 +
78.19616 + *)
78.19617 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
78.19618 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
78.19619 + { (exit 1); exit 1; }; }
78.19620 + ;;
78.19621 + esac
78.19622 +
78.19623 + # Append the new tag name to the list of available tags.
78.19624 + if test -n "$tagname" ; then
78.19625 + available_tags="$available_tags $tagname"
78.19626 + fi
78.19627 + fi
78.19628 + done
78.19629 + IFS="$lt_save_ifs"
78.19630 +
78.19631 + # Now substitute the updated list of available tags.
78.19632 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
78.19633 + mv "${ofile}T" "$ofile"
78.19634 + chmod +x "$ofile"
78.19635 + else
78.19636 + rm -f "${ofile}T"
78.19637 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
78.19638 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
78.19639 + { (exit 1); exit 1; }; }
78.19640 + fi
78.19641 +fi
78.19642 +
78.19643 +
78.19644 +
78.19645 +# This can be used to rebuild libtool when needed
78.19646 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
78.19647 +
78.19648 +# Always use our own libtool.
78.19649 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
78.19650 +
78.19651 +# Prevent multiple expansion
78.19652 +
78.19653 +
78.19654 +
78.19655 +
78.19656 +
78.19657 +
78.19658 +
78.19659 +
78.19660 +
78.19661 +
78.19662 +
78.19663 +
78.19664 +
78.19665 +
78.19666 +
78.19667 +
78.19668 +
78.19669 +
78.19670 +
78.19671 +
78.19672 +
78.19673 +ac_config_files="$ac_config_files Makefile src/Makefile"
78.19674 +
78.19675 +cat >confcache <<\_ACEOF
78.19676 +# This file is a shell script that caches the results of configure
78.19677 +# tests run on this system so they can be shared between configure
78.19678 +# scripts and configure runs, see configure's option --config-cache.
78.19679 +# It is not useful on other systems. If it contains results you don't
78.19680 +# want to keep, you may remove or edit it.
78.19681 +#
78.19682 +# config.status only pays attention to the cache file if you give it
78.19683 +# the --recheck option to rerun configure.
78.19684 +#
78.19685 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
78.19686 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
78.19687 +# following values.
78.19688 +
78.19689 +_ACEOF
78.19690 +
78.19691 +# The following way of writing the cache mishandles newlines in values,
78.19692 +# but we know of no workaround that is simple, portable, and efficient.
78.19693 +# So, we kill variables containing newlines.
78.19694 +# Ultrix sh set writes to stderr and can't be redirected directly,
78.19695 +# and sets the high bit in the cache file unless we assign to the vars.
78.19696 +(
78.19697 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78.19698 + eval ac_val=\$$ac_var
78.19699 + case $ac_val in #(
78.19700 + *${as_nl}*)
78.19701 + case $ac_var in #(
78.19702 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
78.19703 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
78.19704 + esac
78.19705 + case $ac_var in #(
78.19706 + _ | IFS | as_nl) ;; #(
78.19707 + *) $as_unset $ac_var ;;
78.19708 + esac ;;
78.19709 + esac
78.19710 + done
78.19711 +
78.19712 + (set) 2>&1 |
78.19713 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
78.19714 + *${as_nl}ac_space=\ *)
78.19715 + # `set' does not quote correctly, so add quotes (double-quote
78.19716 + # substitution turns \\\\ into \\, and sed turns \\ into \).
78.19717 + sed -n \
78.19718 + "s/'/'\\\\''/g;
78.19719 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78.19720 + ;; #(
78.19721 + *)
78.19722 + # `set' quotes correctly as required by POSIX, so do not add quotes.
78.19723 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78.19724 + ;;
78.19725 + esac |
78.19726 + sort
78.19727 +) |
78.19728 + sed '
78.19729 + /^ac_cv_env_/b end
78.19730 + t clear
78.19731 + :clear
78.19732 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78.19733 + t end
78.19734 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78.19735 + :end' >>confcache
78.19736 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78.19737 + if test -w "$cache_file"; then
78.19738 + test "x$cache_file" != "x/dev/null" &&
78.19739 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
78.19740 +echo "$as_me: updating cache $cache_file" >&6;}
78.19741 + cat confcache >$cache_file
78.19742 + else
78.19743 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
78.19744 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78.19745 + fi
78.19746 +fi
78.19747 +rm -f confcache
78.19748 +
78.19749 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
78.19750 +# Let make expand exec_prefix.
78.19751 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78.19752 +
78.19753 +DEFS=-DHAVE_CONFIG_H
78.19754 +
78.19755 +ac_libobjs=
78.19756 +ac_ltlibobjs=
78.19757 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78.19758 + # 1. Remove the extension, and $U if already installed.
78.19759 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78.19760 + ac_i=`echo "$ac_i" | sed "$ac_script"`
78.19761 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78.19762 + # will be set to the directory where LIBOBJS objects are built.
78.19763 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78.19764 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
78.19765 +done
78.19766 +LIBOBJS=$ac_libobjs
78.19767 +
78.19768 +LTLIBOBJS=$ac_ltlibobjs
78.19769 +
78.19770 +
78.19771 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
78.19772 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
78.19773 +Usually this means the macro was only invoked conditionally." >&5
78.19774 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
78.19775 +Usually this means the macro was only invoked conditionally." >&2;}
78.19776 + { (exit 1); exit 1; }; }
78.19777 +fi
78.19778 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
78.19779 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
78.19780 +Usually this means the macro was only invoked conditionally." >&5
78.19781 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
78.19782 +Usually this means the macro was only invoked conditionally." >&2;}
78.19783 + { (exit 1); exit 1; }; }
78.19784 +fi
78.19785 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
78.19786 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
78.19787 +Usually this means the macro was only invoked conditionally." >&5
78.19788 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
78.19789 +Usually this means the macro was only invoked conditionally." >&2;}
78.19790 + { (exit 1); exit 1; }; }
78.19791 +fi
78.19792 +
78.19793 +: ${CONFIG_STATUS=./config.status}
78.19794 +ac_clean_files_save=$ac_clean_files
78.19795 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78.19796 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
78.19797 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
78.19798 +cat >$CONFIG_STATUS <<_ACEOF
78.19799 +#! $SHELL
78.19800 +# Generated by $as_me.
78.19801 +# Run this file to recreate the current configuration.
78.19802 +# Compiler output produced by configure, useful for debugging
78.19803 +# configure, is in config.log if it exists.
78.19804 +
78.19805 +debug=false
78.19806 +ac_cs_recheck=false
78.19807 +ac_cs_silent=false
78.19808 +SHELL=\${CONFIG_SHELL-$SHELL}
78.19809 +_ACEOF
78.19810 +
78.19811 +cat >>$CONFIG_STATUS <<\_ACEOF
78.19812 +## --------------------- ##
78.19813 +## M4sh Initialization. ##
78.19814 +## --------------------- ##
78.19815 +
78.19816 +# Be Bourne compatible
78.19817 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
78.19818 + emulate sh
78.19819 + NULLCMD=:
78.19820 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
78.19821 + # is contrary to our usage. Disable this feature.
78.19822 + alias -g '${1+"$@"}'='"$@"'
78.19823 + setopt NO_GLOB_SUBST
78.19824 +else
78.19825 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
78.19826 +fi
78.19827 +BIN_SH=xpg4; export BIN_SH # for Tru64
78.19828 +DUALCASE=1; export DUALCASE # for MKS sh
78.19829 +
78.19830 +
78.19831 +# PATH needs CR
78.19832 +# Avoid depending upon Character Ranges.
78.19833 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78.19834 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78.19835 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78.19836 +as_cr_digits='0123456789'
78.19837 +as_cr_alnum=$as_cr_Letters$as_cr_digits
78.19838 +
78.19839 +# The user is always right.
78.19840 +if test "${PATH_SEPARATOR+set}" != set; then
78.19841 + echo "#! /bin/sh" >conf$$.sh
78.19842 + echo "exit 0" >>conf$$.sh
78.19843 + chmod +x conf$$.sh
78.19844 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
78.19845 + PATH_SEPARATOR=';'
78.19846 + else
78.19847 + PATH_SEPARATOR=:
78.19848 + fi
78.19849 + rm -f conf$$.sh
78.19850 +fi
78.19851 +
78.19852 +# Support unset when possible.
78.19853 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
78.19854 + as_unset=unset
78.19855 +else
78.19856 + as_unset=false
78.19857 +fi
78.19858 +
78.19859 +
78.19860 +# IFS
78.19861 +# We need space, tab and new line, in precisely that order. Quoting is
78.19862 +# there to prevent editors from complaining about space-tab.
78.19863 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
78.19864 +# splitting by setting IFS to empty value.)
78.19865 +as_nl='
78.19866 +'
78.19867 +IFS=" "" $as_nl"
78.19868 +
78.19869 +# Find who we are. Look in the path if we contain no directory separator.
78.19870 +case $0 in
78.19871 + *[\\/]* ) as_myself=$0 ;;
78.19872 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78.19873 +for as_dir in $PATH
78.19874 +do
78.19875 + IFS=$as_save_IFS
78.19876 + test -z "$as_dir" && as_dir=.
78.19877 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78.19878 +done
78.19879 +IFS=$as_save_IFS
78.19880 +
78.19881 + ;;
78.19882 +esac
78.19883 +# We did not find ourselves, most probably we were run as `sh COMMAND'
78.19884 +# in which case we are not to be found in the path.
78.19885 +if test "x$as_myself" = x; then
78.19886 + as_myself=$0
78.19887 +fi
78.19888 +if test ! -f "$as_myself"; then
78.19889 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78.19890 + { (exit 1); exit 1; }
78.19891 +fi
78.19892 +
78.19893 +# Work around bugs in pre-3.0 UWIN ksh.
78.19894 +for as_var in ENV MAIL MAILPATH
78.19895 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
78.19896 +done
78.19897 +PS1='$ '
78.19898 +PS2='> '
78.19899 +PS4='+ '
78.19900 +
78.19901 +# NLS nuisances.
78.19902 +for as_var in \
78.19903 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
78.19904 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
78.19905 + LC_TELEPHONE LC_TIME
78.19906 +do
78.19907 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
78.19908 + eval $as_var=C; export $as_var
78.19909 + else
78.19910 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
78.19911 + fi
78.19912 +done
78.19913 +
78.19914 +# Required to use basename.
78.19915 +if expr a : '\(a\)' >/dev/null 2>&1 &&
78.19916 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
78.19917 + as_expr=expr
78.19918 +else
78.19919 + as_expr=false
78.19920 +fi
78.19921 +
78.19922 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78.19923 + as_basename=basename
78.19924 +else
78.19925 + as_basename=false
78.19926 +fi
78.19927 +
78.19928 +
78.19929 +# Name of the executable.
78.19930 +as_me=`$as_basename -- "$0" ||
78.19931 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78.19932 + X"$0" : 'X\(//\)$' \| \
78.19933 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78.19934 +echo X/"$0" |
78.19935 + sed '/^.*\/\([^/][^/]*\)\/*$/{
78.19936 + s//\1/
78.19937 + q
78.19938 + }
78.19939 + /^X\/\(\/\/\)$/{
78.19940 + s//\1/
78.19941 + q
78.19942 + }
78.19943 + /^X\/\(\/\).*/{
78.19944 + s//\1/
78.19945 + q
78.19946 + }
78.19947 + s/.*/./; q'`
78.19948 +
78.19949 +# CDPATH.
78.19950 +$as_unset CDPATH
78.19951 +
78.19952 +
78.19953 +
78.19954 + as_lineno_1=$LINENO
78.19955 + as_lineno_2=$LINENO
78.19956 + test "x$as_lineno_1" != "x$as_lineno_2" &&
78.19957 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
78.19958 +
78.19959 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
78.19960 + # uniformly replaced by the line number. The first 'sed' inserts a
78.19961 + # line-number line after each line using $LINENO; the second 'sed'
78.19962 + # does the real work. The second script uses 'N' to pair each
78.19963 + # line-number line with the line containing $LINENO, and appends
78.19964 + # trailing '-' during substitution so that $LINENO is not a special
78.19965 + # case at line end.
78.19966 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
78.19967 + # scripts with optimization help from Paolo Bonzini. Blame Lee
78.19968 + # E. McMahon (1931-1989) for sed's syntax. :-)
78.19969 + sed -n '
78.19970 + p
78.19971 + /[$]LINENO/=
78.19972 + ' <$as_myself |
78.19973 + sed '
78.19974 + s/[$]LINENO.*/&-/
78.19975 + t lineno
78.19976 + b
78.19977 + :lineno
78.19978 + N
78.19979 + :loop
78.19980 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
78.19981 + t loop
78.19982 + s/-\n.*//
78.19983 + ' >$as_me.lineno &&
78.19984 + chmod +x "$as_me.lineno" ||
78.19985 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
78.19986 + { (exit 1); exit 1; }; }
78.19987 +
78.19988 + # Don't try to exec as it changes $[0], causing all sort of problems
78.19989 + # (the dirname of $[0] is not the place where we might find the
78.19990 + # original and so on. Autoconf is especially sensitive to this).
78.19991 + . "./$as_me.lineno"
78.19992 + # Exit status is that of the last command.
78.19993 + exit
78.19994 +}
78.19995 +
78.19996 +
78.19997 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78.19998 + as_dirname=dirname
78.19999 +else
78.20000 + as_dirname=false
78.20001 +fi
78.20002 +
78.20003 +ECHO_C= ECHO_N= ECHO_T=
78.20004 +case `echo -n x` in
78.20005 +-n*)
78.20006 + case `echo 'x\c'` in
78.20007 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78.20008 + *) ECHO_C='\c';;
78.20009 + esac;;
78.20010 +*)
78.20011 + ECHO_N='-n';;
78.20012 +esac
78.20013 +
78.20014 +if expr a : '\(a\)' >/dev/null 2>&1 &&
78.20015 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
78.20016 + as_expr=expr
78.20017 +else
78.20018 + as_expr=false
78.20019 +fi
78.20020 +
78.20021 +rm -f conf$$ conf$$.exe conf$$.file
78.20022 +if test -d conf$$.dir; then
78.20023 + rm -f conf$$.dir/conf$$.file
78.20024 +else
78.20025 + rm -f conf$$.dir
78.20026 + mkdir conf$$.dir
78.20027 +fi
78.20028 +echo >conf$$.file
78.20029 +if ln -s conf$$.file conf$$ 2>/dev/null; then
78.20030 + as_ln_s='ln -s'
78.20031 + # ... but there are two gotchas:
78.20032 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78.20033 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78.20034 + # In both cases, we have to default to `cp -p'.
78.20035 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78.20036 + as_ln_s='cp -p'
78.20037 +elif ln conf$$.file conf$$ 2>/dev/null; then
78.20038 + as_ln_s=ln
78.20039 +else
78.20040 + as_ln_s='cp -p'
78.20041 +fi
78.20042 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78.20043 +rmdir conf$$.dir 2>/dev/null
78.20044 +
78.20045 +if mkdir -p . 2>/dev/null; then
78.20046 + as_mkdir_p=:
78.20047 +else
78.20048 + test -d ./-p && rmdir ./-p
78.20049 + as_mkdir_p=false
78.20050 +fi
78.20051 +
78.20052 +# Find out whether ``test -x'' works. Don't use a zero-byte file, as
78.20053 +# systems may use methods other than mode bits to determine executability.
78.20054 +cat >conf$$.file <<_ASEOF
78.20055 +#! /bin/sh
78.20056 +exit 0
78.20057 +_ASEOF
78.20058 +chmod +x conf$$.file
78.20059 +if test -x conf$$.file >/dev/null 2>&1; then
78.20060 + as_executable_p="test -x"
78.20061 +else
78.20062 + as_executable_p=:
78.20063 +fi
78.20064 +rm -f conf$$.file
78.20065 +
78.20066 +# Sed expression to map a string onto a valid CPP name.
78.20067 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78.20068 +
78.20069 +# Sed expression to map a string onto a valid variable name.
78.20070 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78.20071 +
78.20072 +
78.20073 +exec 6>&1
78.20074 +
78.20075 +# Save the log message, to keep $[0] and so on meaningful, and to
78.20076 +# report actual input values of CONFIG_FILES etc. instead of their
78.20077 +# values after options handling.
78.20078 +ac_log="
78.20079 +This file was extended by $as_me, which was
78.20080 +generated by GNU Autoconf 2.60. Invocation command line was
78.20081 +
78.20082 + CONFIG_FILES = $CONFIG_FILES
78.20083 + CONFIG_HEADERS = $CONFIG_HEADERS
78.20084 + CONFIG_LINKS = $CONFIG_LINKS
78.20085 + CONFIG_COMMANDS = $CONFIG_COMMANDS
78.20086 + $ $0 $@
78.20087 +
78.20088 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
78.20089 +"
78.20090 +
78.20091 +_ACEOF
78.20092 +
78.20093 +cat >>$CONFIG_STATUS <<_ACEOF
78.20094 +# Files that config.status was made for.
78.20095 +config_files="$ac_config_files"
78.20096 +config_headers="$ac_config_headers"
78.20097 +config_commands="$ac_config_commands"
78.20098 +
78.20099 +_ACEOF
78.20100 +
78.20101 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20102 +ac_cs_usage="\
78.20103 +\`$as_me' instantiates files from templates according to the
78.20104 +current configuration.
78.20105 +
78.20106 +Usage: $0 [OPTIONS] [FILE]...
78.20107 +
78.20108 + -h, --help print this help, then exit
78.20109 + -V, --version print version number, then exit
78.20110 + -q, --quiet do not print progress messages
78.20111 + -d, --debug don't remove temporary files
78.20112 + --recheck update $as_me by reconfiguring in the same conditions
78.20113 + --file=FILE[:TEMPLATE]
78.20114 + instantiate the configuration file FILE
78.20115 + --header=FILE[:TEMPLATE]
78.20116 + instantiate the configuration header FILE
78.20117 +
78.20118 +Configuration files:
78.20119 +$config_files
78.20120 +
78.20121 +Configuration headers:
78.20122 +$config_headers
78.20123 +
78.20124 +Configuration commands:
78.20125 +$config_commands
78.20126 +
78.20127 +Report bugs to <bug-autoconf@gnu.org>."
78.20128 +
78.20129 +_ACEOF
78.20130 +cat >>$CONFIG_STATUS <<_ACEOF
78.20131 +ac_cs_version="\\
78.20132 +config.status
78.20133 +configured by $0, generated by GNU Autoconf 2.60,
78.20134 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
78.20135 +
78.20136 +Copyright (C) 2006 Free Software Foundation, Inc.
78.20137 +This config.status script is free software; the Free Software Foundation
78.20138 +gives unlimited permission to copy, distribute and modify it."
78.20139 +
78.20140 +ac_pwd='$ac_pwd'
78.20141 +srcdir='$srcdir'
78.20142 +INSTALL='$INSTALL'
78.20143 +_ACEOF
78.20144 +
78.20145 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20146 +# If no file are specified by the user, then we need to provide default
78.20147 +# value. By we need to know if files were specified by the user.
78.20148 +ac_need_defaults=:
78.20149 +while test $# != 0
78.20150 +do
78.20151 + case $1 in
78.20152 + --*=*)
78.20153 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
78.20154 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78.20155 + ac_shift=:
78.20156 + ;;
78.20157 + *)
78.20158 + ac_option=$1
78.20159 + ac_optarg=$2
78.20160 + ac_shift=shift
78.20161 + ;;
78.20162 + esac
78.20163 +
78.20164 + case $ac_option in
78.20165 + # Handling of the options.
78.20166 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78.20167 + ac_cs_recheck=: ;;
78.20168 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78.20169 + echo "$ac_cs_version"; exit ;;
78.20170 + --debug | --debu | --deb | --de | --d | -d )
78.20171 + debug=: ;;
78.20172 + --file | --fil | --fi | --f )
78.20173 + $ac_shift
78.20174 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
78.20175 + ac_need_defaults=false;;
78.20176 + --header | --heade | --head | --hea )
78.20177 + $ac_shift
78.20178 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
78.20179 + ac_need_defaults=false;;
78.20180 + --he | --h)
78.20181 + # Conflict between --help and --header
78.20182 + { echo "$as_me: error: ambiguous option: $1
78.20183 +Try \`$0 --help' for more information." >&2
78.20184 + { (exit 1); exit 1; }; };;
78.20185 + --help | --hel | -h )
78.20186 + echo "$ac_cs_usage"; exit ;;
78.20187 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78.20188 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
78.20189 + ac_cs_silent=: ;;
78.20190 +
78.20191 + # This is an error.
78.20192 + -*) { echo "$as_me: error: unrecognized option: $1
78.20193 +Try \`$0 --help' for more information." >&2
78.20194 + { (exit 1); exit 1; }; } ;;
78.20195 +
78.20196 + *) ac_config_targets="$ac_config_targets $1"
78.20197 + ac_need_defaults=false ;;
78.20198 +
78.20199 + esac
78.20200 + shift
78.20201 +done
78.20202 +
78.20203 +ac_configure_extra_args=
78.20204 +
78.20205 +if $ac_cs_silent; then
78.20206 + exec 6>/dev/null
78.20207 + ac_configure_extra_args="$ac_configure_extra_args --silent"
78.20208 +fi
78.20209 +
78.20210 +_ACEOF
78.20211 +cat >>$CONFIG_STATUS <<_ACEOF
78.20212 +if \$ac_cs_recheck; then
78.20213 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
78.20214 + CONFIG_SHELL=$SHELL
78.20215 + export CONFIG_SHELL
78.20216 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78.20217 +fi
78.20218 +
78.20219 +_ACEOF
78.20220 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20221 +exec 5>>config.log
78.20222 +{
78.20223 + echo
78.20224 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78.20225 +## Running $as_me. ##
78.20226 +_ASBOX
78.20227 + echo "$ac_log"
78.20228 +} >&5
78.20229 +
78.20230 +_ACEOF
78.20231 +cat >>$CONFIG_STATUS <<_ACEOF
78.20232 +#
78.20233 +# INIT-COMMANDS
78.20234 +#
78.20235 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
78.20236 +
78.20237 +_ACEOF
78.20238 +
78.20239 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20240 +
78.20241 +# Handling of arguments.
78.20242 +for ac_config_target in $ac_config_targets
78.20243 +do
78.20244 + case $ac_config_target in
78.20245 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
78.20246 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
78.20247 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
78.20248 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
78.20249 +
78.20250 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
78.20251 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
78.20252 + { (exit 1); exit 1; }; };;
78.20253 + esac
78.20254 +done
78.20255 +
78.20256 +
78.20257 +# If the user did not use the arguments to specify the items to instantiate,
78.20258 +# then the envvar interface is used. Set only those that are not.
78.20259 +# We use the long form for the default assignment because of an extremely
78.20260 +# bizarre bug on SunOS 4.1.3.
78.20261 +if $ac_need_defaults; then
78.20262 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
78.20263 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
78.20264 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
78.20265 +fi
78.20266 +
78.20267 +# Have a temporary directory for convenience. Make it in the build tree
78.20268 +# simply because there is no reason against having it here, and in addition,
78.20269 +# creating and moving files from /tmp can sometimes cause problems.
78.20270 +# Hook for its removal unless debugging.
78.20271 +# Note that there is a small window in which the directory will not be cleaned:
78.20272 +# after its creation but before its name has been assigned to `$tmp'.
78.20273 +$debug ||
78.20274 +{
78.20275 + tmp=
78.20276 + trap 'exit_status=$?
78.20277 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
78.20278 +' 0
78.20279 + trap '{ (exit 1); exit 1; }' 1 2 13 15
78.20280 +}
78.20281 +# Create a (secure) tmp directory for tmp files.
78.20282 +
78.20283 +{
78.20284 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
78.20285 + test -n "$tmp" && test -d "$tmp"
78.20286 +} ||
78.20287 +{
78.20288 + tmp=./conf$$-$RANDOM
78.20289 + (umask 077 && mkdir "$tmp")
78.20290 +} ||
78.20291 +{
78.20292 + echo "$me: cannot create a temporary directory in ." >&2
78.20293 + { (exit 1); exit 1; }
78.20294 +}
78.20295 +
78.20296 +#
78.20297 +# Set up the sed scripts for CONFIG_FILES section.
78.20298 +#
78.20299 +
78.20300 +# No need to generate the scripts if there are no CONFIG_FILES.
78.20301 +# This happens for instance when ./config.status config.h
78.20302 +if test -n "$CONFIG_FILES"; then
78.20303 +
78.20304 +_ACEOF
78.20305 +
78.20306 +
78.20307 +
78.20308 +ac_delim='%!_!# '
78.20309 +for ac_last_try in false false false false false :; do
78.20310 + cat >conf$$subs.sed <<_ACEOF
78.20311 +SHELL!$SHELL$ac_delim
78.20312 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
78.20313 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
78.20314 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
78.20315 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
78.20316 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
78.20317 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
78.20318 +exec_prefix!$exec_prefix$ac_delim
78.20319 +prefix!$prefix$ac_delim
78.20320 +program_transform_name!$program_transform_name$ac_delim
78.20321 +bindir!$bindir$ac_delim
78.20322 +sbindir!$sbindir$ac_delim
78.20323 +libexecdir!$libexecdir$ac_delim
78.20324 +datarootdir!$datarootdir$ac_delim
78.20325 +datadir!$datadir$ac_delim
78.20326 +sysconfdir!$sysconfdir$ac_delim
78.20327 +sharedstatedir!$sharedstatedir$ac_delim
78.20328 +localstatedir!$localstatedir$ac_delim
78.20329 +includedir!$includedir$ac_delim
78.20330 +oldincludedir!$oldincludedir$ac_delim
78.20331 +docdir!$docdir$ac_delim
78.20332 +infodir!$infodir$ac_delim
78.20333 +htmldir!$htmldir$ac_delim
78.20334 +dvidir!$dvidir$ac_delim
78.20335 +pdfdir!$pdfdir$ac_delim
78.20336 +psdir!$psdir$ac_delim
78.20337 +libdir!$libdir$ac_delim
78.20338 +localedir!$localedir$ac_delim
78.20339 +mandir!$mandir$ac_delim
78.20340 +DEFS!$DEFS$ac_delim
78.20341 +ECHO_C!$ECHO_C$ac_delim
78.20342 +ECHO_N!$ECHO_N$ac_delim
78.20343 +ECHO_T!$ECHO_T$ac_delim
78.20344 +LIBS!$LIBS$ac_delim
78.20345 +build_alias!$build_alias$ac_delim
78.20346 +host_alias!$host_alias$ac_delim
78.20347 +target_alias!$target_alias$ac_delim
78.20348 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
78.20349 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
78.20350 +INSTALL_DATA!$INSTALL_DATA$ac_delim
78.20351 +CYGPATH_W!$CYGPATH_W$ac_delim
78.20352 +PACKAGE!$PACKAGE$ac_delim
78.20353 +VERSION!$VERSION$ac_delim
78.20354 +ACLOCAL!$ACLOCAL$ac_delim
78.20355 +AUTOCONF!$AUTOCONF$ac_delim
78.20356 +AUTOMAKE!$AUTOMAKE$ac_delim
78.20357 +AUTOHEADER!$AUTOHEADER$ac_delim
78.20358 +MAKEINFO!$MAKEINFO$ac_delim
78.20359 +install_sh!$install_sh$ac_delim
78.20360 +STRIP!$STRIP$ac_delim
78.20361 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
78.20362 +mkdir_p!$mkdir_p$ac_delim
78.20363 +AWK!$AWK$ac_delim
78.20364 +SET_MAKE!$SET_MAKE$ac_delim
78.20365 +am__leading_dot!$am__leading_dot$ac_delim
78.20366 +AMTAR!$AMTAR$ac_delim
78.20367 +am__tar!$am__tar$ac_delim
78.20368 +am__untar!$am__untar$ac_delim
78.20369 +CXX!$CXX$ac_delim
78.20370 +CXXFLAGS!$CXXFLAGS$ac_delim
78.20371 +LDFLAGS!$LDFLAGS$ac_delim
78.20372 +CPPFLAGS!$CPPFLAGS$ac_delim
78.20373 +ac_ct_CXX!$ac_ct_CXX$ac_delim
78.20374 +EXEEXT!$EXEEXT$ac_delim
78.20375 +OBJEXT!$OBJEXT$ac_delim
78.20376 +DEPDIR!$DEPDIR$ac_delim
78.20377 +am__include!$am__include$ac_delim
78.20378 +am__quote!$am__quote$ac_delim
78.20379 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
78.20380 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
78.20381 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
78.20382 +CXXDEPMODE!$CXXDEPMODE$ac_delim
78.20383 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
78.20384 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
78.20385 +build!$build$ac_delim
78.20386 +build_cpu!$build_cpu$ac_delim
78.20387 +build_vendor!$build_vendor$ac_delim
78.20388 +build_os!$build_os$ac_delim
78.20389 +host!$host$ac_delim
78.20390 +host_cpu!$host_cpu$ac_delim
78.20391 +host_vendor!$host_vendor$ac_delim
78.20392 +host_os!$host_os$ac_delim
78.20393 +CC!$CC$ac_delim
78.20394 +CFLAGS!$CFLAGS$ac_delim
78.20395 +ac_ct_CC!$ac_ct_CC$ac_delim
78.20396 +CCDEPMODE!$CCDEPMODE$ac_delim
78.20397 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
78.20398 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
78.20399 +GREP!$GREP$ac_delim
78.20400 +EGREP!$EGREP$ac_delim
78.20401 +LN_S!$LN_S$ac_delim
78.20402 +ECHO!$ECHO$ac_delim
78.20403 +AR!$AR$ac_delim
78.20404 +RANLIB!$RANLIB$ac_delim
78.20405 +CPP!$CPP$ac_delim
78.20406 +CXXCPP!$CXXCPP$ac_delim
78.20407 +F77!$F77$ac_delim
78.20408 +_ACEOF
78.20409 +
78.20410 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
78.20411 + break
78.20412 + elif $ac_last_try; then
78.20413 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
78.20414 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
78.20415 + { (exit 1); exit 1; }; }
78.20416 + else
78.20417 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
78.20418 + fi
78.20419 +done
78.20420 +
78.20421 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
78.20422 +if test -n "$ac_eof"; then
78.20423 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
78.20424 + ac_eof=`expr $ac_eof + 1`
78.20425 +fi
78.20426 +
78.20427 +cat >>$CONFIG_STATUS <<_ACEOF
78.20428 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
78.20429 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
78.20430 +_ACEOF
78.20431 +sed '
78.20432 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
78.20433 +s/^/s,@/; s/!/@,|#_!!_#|/
78.20434 +:n
78.20435 +t n
78.20436 +s/'"$ac_delim"'$/,g/; t
78.20437 +s/$/\\/; p
78.20438 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
78.20439 +' >>$CONFIG_STATUS <conf$$subs.sed
78.20440 +rm -f conf$$subs.sed
78.20441 +cat >>$CONFIG_STATUS <<_ACEOF
78.20442 +CEOF$ac_eof
78.20443 +_ACEOF
78.20444 +
78.20445 +
78.20446 +ac_delim='%!_!# '
78.20447 +for ac_last_try in false false false false false :; do
78.20448 + cat >conf$$subs.sed <<_ACEOF
78.20449 +FFLAGS!$FFLAGS$ac_delim
78.20450 +ac_ct_F77!$ac_ct_F77$ac_delim
78.20451 +LIBTOOL!$LIBTOOL$ac_delim
78.20452 +LIBOBJS!$LIBOBJS$ac_delim
78.20453 +LTLIBOBJS!$LTLIBOBJS$ac_delim
78.20454 +_ACEOF
78.20455 +
78.20456 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
78.20457 + break
78.20458 + elif $ac_last_try; then
78.20459 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
78.20460 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
78.20461 + { (exit 1); exit 1; }; }
78.20462 + else
78.20463 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
78.20464 + fi
78.20465 +done
78.20466 +
78.20467 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
78.20468 +if test -n "$ac_eof"; then
78.20469 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
78.20470 + ac_eof=`expr $ac_eof + 1`
78.20471 +fi
78.20472 +
78.20473 +cat >>$CONFIG_STATUS <<_ACEOF
78.20474 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
78.20475 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
78.20476 +_ACEOF
78.20477 +sed '
78.20478 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
78.20479 +s/^/s,@/; s/!/@,|#_!!_#|/
78.20480 +:n
78.20481 +t n
78.20482 +s/'"$ac_delim"'$/,g/; t
78.20483 +s/$/\\/; p
78.20484 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
78.20485 +' >>$CONFIG_STATUS <conf$$subs.sed
78.20486 +rm -f conf$$subs.sed
78.20487 +cat >>$CONFIG_STATUS <<_ACEOF
78.20488 +:end
78.20489 +s/|#_!!_#|//g
78.20490 +CEOF$ac_eof
78.20491 +_ACEOF
78.20492 +
78.20493 +
78.20494 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
78.20495 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
78.20496 +# trailing colons and then remove the whole line if VPATH becomes empty
78.20497 +# (actually we leave an empty line to preserve line numbers).
78.20498 +if test "x$srcdir" = x.; then
78.20499 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
78.20500 +s/:*\$(srcdir):*/:/
78.20501 +s/:*\${srcdir}:*/:/
78.20502 +s/:*@srcdir@:*/:/
78.20503 +s/^\([^=]*=[ ]*\):*/\1/
78.20504 +s/:*$//
78.20505 +s/^[^=]*=[ ]*$//
78.20506 +}'
78.20507 +fi
78.20508 +
78.20509 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20510 +fi # test -n "$CONFIG_FILES"
78.20511 +
78.20512 +
78.20513 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
78.20514 +do
78.20515 + case $ac_tag in
78.20516 + :[FHLC]) ac_mode=$ac_tag; continue;;
78.20517 + esac
78.20518 + case $ac_mode$ac_tag in
78.20519 + :[FHL]*:*);;
78.20520 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
78.20521 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
78.20522 + { (exit 1); exit 1; }; };;
78.20523 + :[FH]-) ac_tag=-:-;;
78.20524 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
78.20525 + esac
78.20526 + ac_save_IFS=$IFS
78.20527 + IFS=:
78.20528 + set x $ac_tag
78.20529 + IFS=$ac_save_IFS
78.20530 + shift
78.20531 + ac_file=$1
78.20532 + shift
78.20533 +
78.20534 + case $ac_mode in
78.20535 + :L) ac_source=$1;;
78.20536 + :[FH])
78.20537 + ac_file_inputs=
78.20538 + for ac_f
78.20539 + do
78.20540 + case $ac_f in
78.20541 + -) ac_f="$tmp/stdin";;
78.20542 + *) # Look for the file first in the build tree, then in the source tree
78.20543 + # (if the path is not absolute). The absolute path cannot be DOS-style,
78.20544 + # because $ac_f cannot contain `:'.
78.20545 + test -f "$ac_f" ||
78.20546 + case $ac_f in
78.20547 + [\\/$]*) false;;
78.20548 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
78.20549 + esac ||
78.20550 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
78.20551 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
78.20552 + { (exit 1); exit 1; }; };;
78.20553 + esac
78.20554 + ac_file_inputs="$ac_file_inputs $ac_f"
78.20555 + done
78.20556 +
78.20557 + # Let's still pretend it is `configure' which instantiates (i.e., don't
78.20558 + # use $as_me), people would be surprised to read:
78.20559 + # /* config.h. Generated by config.status. */
78.20560 + configure_input="Generated from "`IFS=:
78.20561 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
78.20562 + if test x"$ac_file" != x-; then
78.20563 + configure_input="$ac_file. $configure_input"
78.20564 + { echo "$as_me:$LINENO: creating $ac_file" >&5
78.20565 +echo "$as_me: creating $ac_file" >&6;}
78.20566 + fi
78.20567 +
78.20568 + case $ac_tag in
78.20569 + *:-:* | *:-) cat >"$tmp/stdin";;
78.20570 + esac
78.20571 + ;;
78.20572 + esac
78.20573 +
78.20574 + ac_dir=`$as_dirname -- "$ac_file" ||
78.20575 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20576 + X"$ac_file" : 'X\(//\)[^/]' \| \
78.20577 + X"$ac_file" : 'X\(//\)$' \| \
78.20578 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
78.20579 +echo X"$ac_file" |
78.20580 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20581 + s//\1/
78.20582 + q
78.20583 + }
78.20584 + /^X\(\/\/\)[^/].*/{
78.20585 + s//\1/
78.20586 + q
78.20587 + }
78.20588 + /^X\(\/\/\)$/{
78.20589 + s//\1/
78.20590 + q
78.20591 + }
78.20592 + /^X\(\/\).*/{
78.20593 + s//\1/
78.20594 + q
78.20595 + }
78.20596 + s/.*/./; q'`
78.20597 + { as_dir="$ac_dir"
78.20598 + case $as_dir in #(
78.20599 + -*) as_dir=./$as_dir;;
78.20600 + esac
78.20601 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78.20602 + as_dirs=
78.20603 + while :; do
78.20604 + case $as_dir in #(
78.20605 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78.20606 + *) as_qdir=$as_dir;;
78.20607 + esac
78.20608 + as_dirs="'$as_qdir' $as_dirs"
78.20609 + as_dir=`$as_dirname -- "$as_dir" ||
78.20610 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20611 + X"$as_dir" : 'X\(//\)[^/]' \| \
78.20612 + X"$as_dir" : 'X\(//\)$' \| \
78.20613 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78.20614 +echo X"$as_dir" |
78.20615 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20616 + s//\1/
78.20617 + q
78.20618 + }
78.20619 + /^X\(\/\/\)[^/].*/{
78.20620 + s//\1/
78.20621 + q
78.20622 + }
78.20623 + /^X\(\/\/\)$/{
78.20624 + s//\1/
78.20625 + q
78.20626 + }
78.20627 + /^X\(\/\).*/{
78.20628 + s//\1/
78.20629 + q
78.20630 + }
78.20631 + s/.*/./; q'`
78.20632 + test -d "$as_dir" && break
78.20633 + done
78.20634 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78.20635 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78.20636 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78.20637 + { (exit 1); exit 1; }; }; }
78.20638 + ac_builddir=.
78.20639 +
78.20640 +case "$ac_dir" in
78.20641 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
78.20642 +*)
78.20643 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
78.20644 + # A ".." for each directory in $ac_dir_suffix.
78.20645 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
78.20646 + case $ac_top_builddir_sub in
78.20647 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
78.20648 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
78.20649 + esac ;;
78.20650 +esac
78.20651 +ac_abs_top_builddir=$ac_pwd
78.20652 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
78.20653 +# for backward compatibility:
78.20654 +ac_top_builddir=$ac_top_build_prefix
78.20655 +
78.20656 +case $srcdir in
78.20657 + .) # We are building in place.
78.20658 + ac_srcdir=.
78.20659 + ac_top_srcdir=$ac_top_builddir_sub
78.20660 + ac_abs_top_srcdir=$ac_pwd ;;
78.20661 + [\\/]* | ?:[\\/]* ) # Absolute name.
78.20662 + ac_srcdir=$srcdir$ac_dir_suffix;
78.20663 + ac_top_srcdir=$srcdir
78.20664 + ac_abs_top_srcdir=$srcdir ;;
78.20665 + *) # Relative name.
78.20666 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
78.20667 + ac_top_srcdir=$ac_top_build_prefix$srcdir
78.20668 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
78.20669 +esac
78.20670 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
78.20671 +
78.20672 +
78.20673 + case $ac_mode in
78.20674 + :F)
78.20675 + #
78.20676 + # CONFIG_FILE
78.20677 + #
78.20678 +
78.20679 + case $INSTALL in
78.20680 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
78.20681 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
78.20682 + esac
78.20683 +_ACEOF
78.20684 +
78.20685 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20686 +# If the template does not know about datarootdir, expand it.
78.20687 +# FIXME: This hack should be removed a few years after 2.60.
78.20688 +ac_datarootdir_hack=; ac_datarootdir_seen=
78.20689 +
78.20690 +case `sed -n '/datarootdir/ {
78.20691 + p
78.20692 + q
78.20693 +}
78.20694 +/@datadir@/p
78.20695 +/@docdir@/p
78.20696 +/@infodir@/p
78.20697 +/@localedir@/p
78.20698 +/@mandir@/p
78.20699 +' $ac_file_inputs` in
78.20700 +*datarootdir*) ac_datarootdir_seen=yes;;
78.20701 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
78.20702 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
78.20703 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
78.20704 +_ACEOF
78.20705 +cat >>$CONFIG_STATUS <<_ACEOF
78.20706 + ac_datarootdir_hack='
78.20707 + s&@datadir@&$datadir&g
78.20708 + s&@docdir@&$docdir&g
78.20709 + s&@infodir@&$infodir&g
78.20710 + s&@localedir@&$localedir&g
78.20711 + s&@mandir@&$mandir&g
78.20712 + s&\\\${datarootdir}&$datarootdir&g' ;;
78.20713 +esac
78.20714 +_ACEOF
78.20715 +
78.20716 +# Neutralize VPATH when `$srcdir' = `.'.
78.20717 +# Shell code in configure.ac might set extrasub.
78.20718 +# FIXME: do we really want to maintain this feature?
78.20719 +cat >>$CONFIG_STATUS <<_ACEOF
78.20720 + sed "$ac_vpsub
78.20721 +$extrasub
78.20722 +_ACEOF
78.20723 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20724 +:t
78.20725 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
78.20726 +s&@configure_input@&$configure_input&;t t
78.20727 +s&@top_builddir@&$ac_top_builddir_sub&;t t
78.20728 +s&@srcdir@&$ac_srcdir&;t t
78.20729 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
78.20730 +s&@top_srcdir@&$ac_top_srcdir&;t t
78.20731 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
78.20732 +s&@builddir@&$ac_builddir&;t t
78.20733 +s&@abs_builddir@&$ac_abs_builddir&;t t
78.20734 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
78.20735 +s&@INSTALL@&$ac_INSTALL&;t t
78.20736 +$ac_datarootdir_hack
78.20737 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
78.20738 +
78.20739 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
78.20740 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
78.20741 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
78.20742 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78.20743 +which seems to be undefined. Please make sure it is defined." >&5
78.20744 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
78.20745 +which seems to be undefined. Please make sure it is defined." >&2;}
78.20746 +
78.20747 + rm -f "$tmp/stdin"
78.20748 + case $ac_file in
78.20749 + -) cat "$tmp/out"; rm -f "$tmp/out";;
78.20750 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
78.20751 + esac
78.20752 + ;;
78.20753 + :H)
78.20754 + #
78.20755 + # CONFIG_HEADER
78.20756 + #
78.20757 +_ACEOF
78.20758 +
78.20759 +# Transform confdefs.h into a sed script `conftest.defines', that
78.20760 +# substitutes the proper values into config.h.in to produce config.h.
78.20761 +rm -f conftest.defines conftest.tail
78.20762 +# First, append a space to every undef/define line, to ease matching.
78.20763 +echo 's/$/ /' >conftest.defines
78.20764 +# Then, protect against being on the right side of a sed subst, or in
78.20765 +# an unquoted here document, in config.status. If some macros were
78.20766 +# called several times there might be several #defines for the same
78.20767 +# symbol, which is useless. But do not sort them, since the last
78.20768 +# AC_DEFINE must be honored.
78.20769 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
78.20770 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
78.20771 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
78.20772 +# PARAMS is the parameter list in the macro definition--in most cases, it's
78.20773 +# just an empty string.
78.20774 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
78.20775 +ac_dB='\\)[ (].*,\\1define\\2'
78.20776 +ac_dC=' '
78.20777 +ac_dD=' ,'
78.20778 +
78.20779 +uniq confdefs.h |
78.20780 + sed -n '
78.20781 + t rset
78.20782 + :rset
78.20783 + s/^[ ]*#[ ]*define[ ][ ]*//
78.20784 + t ok
78.20785 + d
78.20786 + :ok
78.20787 + s/[\\&,]/\\&/g
78.20788 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
78.20789 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
78.20790 + ' >>conftest.defines
78.20791 +
78.20792 +# Remove the space that was appended to ease matching.
78.20793 +# Then replace #undef with comments. This is necessary, for
78.20794 +# example, in the case of _POSIX_SOURCE, which is predefined and required
78.20795 +# on some systems where configure will not decide to define it.
78.20796 +# (The regexp can be short, since the line contains either #define or #undef.)
78.20797 +echo 's/ $//
78.20798 +s,^[ #]*u.*,/* & */,' >>conftest.defines
78.20799 +
78.20800 +# Break up conftest.defines:
78.20801 +ac_max_sed_lines=50
78.20802 +
78.20803 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
78.20804 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
78.20805 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
78.20806 +# et cetera.
78.20807 +ac_in='$ac_file_inputs'
78.20808 +ac_out='"$tmp/out1"'
78.20809 +ac_nxt='"$tmp/out2"'
78.20810 +
78.20811 +while :
78.20812 +do
78.20813 + # Write a here document:
78.20814 + cat >>$CONFIG_STATUS <<_ACEOF
78.20815 + # First, check the format of the line:
78.20816 + cat >"\$tmp/defines.sed" <<\\CEOF
78.20817 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
78.20818 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
78.20819 +b
78.20820 +:def
78.20821 +_ACEOF
78.20822 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
78.20823 + echo 'CEOF
78.20824 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
78.20825 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
78.20826 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
78.20827 + grep . conftest.tail >/dev/null || break
78.20828 + rm -f conftest.defines
78.20829 + mv conftest.tail conftest.defines
78.20830 +done
78.20831 +rm -f conftest.defines conftest.tail
78.20832 +
78.20833 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
78.20834 +cat >>$CONFIG_STATUS <<\_ACEOF
78.20835 + if test x"$ac_file" != x-; then
78.20836 + echo "/* $configure_input */" >"$tmp/config.h"
78.20837 + cat "$ac_result" >>"$tmp/config.h"
78.20838 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
78.20839 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
78.20840 +echo "$as_me: $ac_file is unchanged" >&6;}
78.20841 + else
78.20842 + rm -f $ac_file
78.20843 + mv "$tmp/config.h" $ac_file
78.20844 + fi
78.20845 + else
78.20846 + echo "/* $configure_input */"
78.20847 + cat "$ac_result"
78.20848 + fi
78.20849 + rm -f "$tmp/out12"
78.20850 +# Compute $ac_file's index in $config_headers.
78.20851 +_am_stamp_count=1
78.20852 +for _am_header in $config_headers :; do
78.20853 + case $_am_header in
78.20854 + $ac_file | $ac_file:* )
78.20855 + break ;;
78.20856 + * )
78.20857 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
78.20858 + esac
78.20859 +done
78.20860 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
78.20861 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20862 + X$ac_file : 'X\(//\)[^/]' \| \
78.20863 + X$ac_file : 'X\(//\)$' \| \
78.20864 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
78.20865 +echo X$ac_file |
78.20866 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20867 + s//\1/
78.20868 + q
78.20869 + }
78.20870 + /^X\(\/\/\)[^/].*/{
78.20871 + s//\1/
78.20872 + q
78.20873 + }
78.20874 + /^X\(\/\/\)$/{
78.20875 + s//\1/
78.20876 + q
78.20877 + }
78.20878 + /^X\(\/\).*/{
78.20879 + s//\1/
78.20880 + q
78.20881 + }
78.20882 + s/.*/./; q'`/stamp-h$_am_stamp_count
78.20883 + ;;
78.20884 +
78.20885 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
78.20886 +echo "$as_me: executing $ac_file commands" >&6;}
78.20887 + ;;
78.20888 + esac
78.20889 +
78.20890 +
78.20891 + case $ac_file$ac_mode in
78.20892 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
78.20893 + # Strip MF so we end up with the name of the file.
78.20894 + mf=`echo "$mf" | sed -e 's/:.*$//'`
78.20895 + # Check whether this is an Automake generated Makefile or not.
78.20896 + # We used to match only the files named `Makefile.in', but
78.20897 + # some people rename them; so instead we look at the file content.
78.20898 + # Grep'ing the first line is not enough: some people post-process
78.20899 + # each Makefile.in and add a new line on top of each file to say so.
78.20900 + # So let's grep whole file.
78.20901 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
78.20902 + dirpart=`$as_dirname -- "$mf" ||
78.20903 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20904 + X"$mf" : 'X\(//\)[^/]' \| \
78.20905 + X"$mf" : 'X\(//\)$' \| \
78.20906 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
78.20907 +echo X"$mf" |
78.20908 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20909 + s//\1/
78.20910 + q
78.20911 + }
78.20912 + /^X\(\/\/\)[^/].*/{
78.20913 + s//\1/
78.20914 + q
78.20915 + }
78.20916 + /^X\(\/\/\)$/{
78.20917 + s//\1/
78.20918 + q
78.20919 + }
78.20920 + /^X\(\/\).*/{
78.20921 + s//\1/
78.20922 + q
78.20923 + }
78.20924 + s/.*/./; q'`
78.20925 + else
78.20926 + continue
78.20927 + fi
78.20928 + # Extract the definition of DEPDIR, am__include, and am__quote
78.20929 + # from the Makefile without running `make'.
78.20930 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
78.20931 + test -z "$DEPDIR" && continue
78.20932 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
78.20933 + test -z "am__include" && continue
78.20934 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
78.20935 + # When using ansi2knr, U may be empty or an underscore; expand it
78.20936 + U=`sed -n 's/^U = //p' < "$mf"`
78.20937 + # Find all dependency output files, they are included files with
78.20938 + # $(DEPDIR) in their names. We invoke sed twice because it is the
78.20939 + # simplest approach to changing $(DEPDIR) to its actual value in the
78.20940 + # expansion.
78.20941 + for file in `sed -n "
78.20942 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
78.20943 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
78.20944 + # Make sure the directory exists.
78.20945 + test -f "$dirpart/$file" && continue
78.20946 + fdir=`$as_dirname -- "$file" ||
78.20947 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20948 + X"$file" : 'X\(//\)[^/]' \| \
78.20949 + X"$file" : 'X\(//\)$' \| \
78.20950 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
78.20951 +echo X"$file" |
78.20952 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20953 + s//\1/
78.20954 + q
78.20955 + }
78.20956 + /^X\(\/\/\)[^/].*/{
78.20957 + s//\1/
78.20958 + q
78.20959 + }
78.20960 + /^X\(\/\/\)$/{
78.20961 + s//\1/
78.20962 + q
78.20963 + }
78.20964 + /^X\(\/\).*/{
78.20965 + s//\1/
78.20966 + q
78.20967 + }
78.20968 + s/.*/./; q'`
78.20969 + { as_dir=$dirpart/$fdir
78.20970 + case $as_dir in #(
78.20971 + -*) as_dir=./$as_dir;;
78.20972 + esac
78.20973 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
78.20974 + as_dirs=
78.20975 + while :; do
78.20976 + case $as_dir in #(
78.20977 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
78.20978 + *) as_qdir=$as_dir;;
78.20979 + esac
78.20980 + as_dirs="'$as_qdir' $as_dirs"
78.20981 + as_dir=`$as_dirname -- "$as_dir" ||
78.20982 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78.20983 + X"$as_dir" : 'X\(//\)[^/]' \| \
78.20984 + X"$as_dir" : 'X\(//\)$' \| \
78.20985 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78.20986 +echo X"$as_dir" |
78.20987 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78.20988 + s//\1/
78.20989 + q
78.20990 + }
78.20991 + /^X\(\/\/\)[^/].*/{
78.20992 + s//\1/
78.20993 + q
78.20994 + }
78.20995 + /^X\(\/\/\)$/{
78.20996 + s//\1/
78.20997 + q
78.20998 + }
78.20999 + /^X\(\/\).*/{
78.21000 + s//\1/
78.21001 + q
78.21002 + }
78.21003 + s/.*/./; q'`
78.21004 + test -d "$as_dir" && break
78.21005 + done
78.21006 + test -z "$as_dirs" || eval "mkdir $as_dirs"
78.21007 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
78.21008 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
78.21009 + { (exit 1); exit 1; }; }; }
78.21010 + # echo "creating $dirpart/$file"
78.21011 + echo '# dummy' > "$dirpart/$file"
78.21012 + done
78.21013 +done
78.21014 + ;;
78.21015 +
78.21016 + esac
78.21017 +done # for ac_tag
78.21018 +
78.21019 +
78.21020 +{ (exit 0); exit 0; }
78.21021 +_ACEOF
78.21022 +chmod +x $CONFIG_STATUS
78.21023 +ac_clean_files=$ac_clean_files_save
78.21024 +
78.21025 +
78.21026 +# configure is writing to config.log, and then calls config.status.
78.21027 +# config.status does its own redirection, appending to config.log.
78.21028 +# Unfortunately, on DOS this fails, as config.log is still kept open
78.21029 +# by configure, so config.status won't be able to write to it; its
78.21030 +# output is simply discarded. So we exec the FD to /dev/null,
78.21031 +# effectively closing config.log, so it can be properly (re)opened and
78.21032 +# appended to by config.status. When coming back to configure, we
78.21033 +# need to make the FD available again.
78.21034 +if test "$no_create" != yes; then
78.21035 + ac_cs_success=:
78.21036 + ac_config_status_args=
78.21037 + test "$silent" = yes &&
78.21038 + ac_config_status_args="$ac_config_status_args --quiet"
78.21039 + exec 5>/dev/null
78.21040 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
78.21041 + exec 5>>config.log
78.21042 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
78.21043 + # would make configure fail if this is the last instruction.
78.21044 + $ac_cs_success || { (exit 1); exit 1; }
78.21045 +fi
78.21046 +
79.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
79.2 +++ b/tools/picctldisplaytest/configure.in Tue Jan 29 22:31:52 2008 +0100
79.3 @@ -0,0 +1,10 @@
79.4 +AC_INIT(configure.in)
79.5 +
79.6 +AM_CONFIG_HEADER(config.h)
79.7 +AM_INIT_AUTOMAKE(picctldisplaytest, 0.1)
79.8 +
79.9 +AC_LANG_CPLUSPLUS
79.10 +AC_PROG_CXX
79.11 +AM_PROG_LIBTOOL
79.12 +
79.13 +AC_OUTPUT(Makefile src/Makefile)
80.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
80.2 +++ b/tools/picctldisplaytest/depcomp Tue Jan 29 22:31:52 2008 +0100
80.3 @@ -0,0 +1,441 @@
80.4 +#! /bin/sh
80.5 +
80.6 +# depcomp - compile a program generating dependencies as side-effects
80.7 +# Copyright 1999, 2000 Free Software Foundation, Inc.
80.8 +
80.9 +# This program is free software; you can redistribute it and/or modify
80.10 +# it under the terms of the GNU General Public License as published by
80.11 +# the Free Software Foundation; either version 2, or (at your option)
80.12 +# any later version.
80.13 +
80.14 +# This program is distributed in the hope that it will be useful,
80.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
80.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80.17 +# GNU General Public License for more details.
80.18 +
80.19 +# You should have received a copy of the GNU General Public License
80.20 +# along with this program; if not, write to the Free Software
80.21 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
80.22 +# 02111-1307, USA.
80.23 +
80.24 +# As a special exception to the GNU General Public License, if you
80.25 +# distribute this file as part of a program that contains a
80.26 +# configuration script generated by Autoconf, you may include it under
80.27 +# the same distribution terms that you use for the rest of that program.
80.28 +
80.29 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
80.30 +
80.31 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
80.32 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
80.33 + exit 1
80.34 +fi
80.35 +# `libtool' can also be set to `yes' or `no'.
80.36 +
80.37 +depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
80.38 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
80.39 +
80.40 +rm -f "$tmpdepfile"
80.41 +
80.42 +# Some modes work just like other modes, but use different flags. We
80.43 +# parameterize here, but still list the modes in the big case below,
80.44 +# to make depend.m4 easier to write. Note that we *cannot* use a case
80.45 +# here, because this file can only contain one case statement.
80.46 +if test "$depmode" = hp; then
80.47 + # HP compiler uses -M and no extra arg.
80.48 + gccflag=-M
80.49 + depmode=gcc
80.50 +fi
80.51 +
80.52 +if test "$depmode" = dashXmstdout; then
80.53 + # This is just like dashmstdout with a different argument.
80.54 + dashmflag=-xM
80.55 + depmode=dashmstdout
80.56 +fi
80.57 +
80.58 +case "$depmode" in
80.59 +gcc3)
80.60 +## gcc 3 implements dependency tracking that does exactly what
80.61 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
80.62 +## it if -MD -MP comes after the -MF stuff. Hmm.
80.63 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
80.64 + stat=$?
80.65 + if test $stat -eq 0; then :
80.66 + else
80.67 + rm -f "$tmpdepfile"
80.68 + exit $stat
80.69 + fi
80.70 + mv "$tmpdepfile" "$depfile"
80.71 + ;;
80.72 +
80.73 +gcc)
80.74 +## There are various ways to get dependency output from gcc. Here's
80.75 +## why we pick this rather obscure method:
80.76 +## - Don't want to use -MD because we'd like the dependencies to end
80.77 +## up in a subdir. Having to rename by hand is ugly.
80.78 +## (We might end up doing this anyway to support other compilers.)
80.79 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
80.80 +## -MM, not -M (despite what the docs say).
80.81 +## - Using -M directly means running the compiler twice (even worse
80.82 +## than renaming).
80.83 + if test -z "$gccflag"; then
80.84 + gccflag=-MD,
80.85 + fi
80.86 + "$@" -Wp,"$gccflag$tmpdepfile"
80.87 + stat=$?
80.88 + if test $stat -eq 0; then :
80.89 + else
80.90 + rm -f "$tmpdepfile"
80.91 + exit $stat
80.92 + fi
80.93 + rm -f "$depfile"
80.94 + echo "$object : \\" > "$depfile"
80.95 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
80.96 +## The second -e expression handles DOS-style file names with drive letters.
80.97 + sed -e 's/^[^:]*: / /' \
80.98 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
80.99 +## This next piece of magic avoids the `deleted header file' problem.
80.100 +## The problem is that when a header file which appears in a .P file
80.101 +## is deleted, the dependency causes make to die (because there is
80.102 +## typically no way to rebuild the header). We avoid this by adding
80.103 +## dummy dependencies for each header file. Too bad gcc doesn't do
80.104 +## this for us directly.
80.105 + tr ' ' '
80.106 +' < "$tmpdepfile" |
80.107 +## Some versions of gcc put a space before the `:'. On the theory
80.108 +## that the space means something, we add a space to the output as
80.109 +## well.
80.110 +## Some versions of the HPUX 10.20 sed can't process this invocation
80.111 +## correctly. Breaking it into two sed invocations is a workaround.
80.112 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
80.113 + rm -f "$tmpdepfile"
80.114 + ;;
80.115 +
80.116 +hp)
80.117 + # This case exists only to let depend.m4 do its work. It works by
80.118 + # looking at the text of this script. This case will never be run,
80.119 + # since it is checked for above.
80.120 + exit 1
80.121 + ;;
80.122 +
80.123 +sgi)
80.124 + if test "$libtool" = yes; then
80.125 + "$@" "-Wp,-MDupdate,$tmpdepfile"
80.126 + else
80.127 + "$@" -MDupdate "$tmpdepfile"
80.128 + fi
80.129 + stat=$?
80.130 + if test $stat -eq 0; then :
80.131 + else
80.132 + rm -f "$tmpdepfile"
80.133 + exit $stat
80.134 + fi
80.135 + rm -f "$depfile"
80.136 +
80.137 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
80.138 + echo "$object : \\" > "$depfile"
80.139 +
80.140 + # Clip off the initial element (the dependent). Don't try to be
80.141 + # clever and replace this with sed code, as IRIX sed won't handle
80.142 + # lines with more than a fixed number of characters (4096 in
80.143 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
80.144 + # the IRIX cc adds comments like `#:fec' to the end of the
80.145 + # dependency line.
80.146 + tr ' ' '
80.147 +' < "$tmpdepfile" \
80.148 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
80.149 + tr '
80.150 +' ' ' >> $depfile
80.151 + echo >> $depfile
80.152 +
80.153 + # The second pass generates a dummy entry for each header file.
80.154 + tr ' ' '
80.155 +' < "$tmpdepfile" \
80.156 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
80.157 + >> $depfile
80.158 + else
80.159 + # The sourcefile does not contain any dependencies, so just
80.160 + # store a dummy comment line, to avoid errors with the Makefile
80.161 + # "include basename.Plo" scheme.
80.162 + echo "#dummy" > "$depfile"
80.163 + fi
80.164 + rm -f "$tmpdepfile"
80.165 + ;;
80.166 +
80.167 +aix)
80.168 + # The C for AIX Compiler uses -M and outputs the dependencies
80.169 + # in a .u file. This file always lives in the current directory.
80.170 + # Also, the AIX compiler puts `$object:' at the start of each line;
80.171 + # $object doesn't have directory information.
80.172 + stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
80.173 + tmpdepfile="$stripped.u"
80.174 + outname="$stripped.o"
80.175 + if test "$libtool" = yes; then
80.176 + "$@" -Wc,-M
80.177 + else
80.178 + "$@" -M
80.179 + fi
80.180 +
80.181 + stat=$?
80.182 + if test $stat -eq 0; then :
80.183 + else
80.184 + rm -f "$tmpdepfile"
80.185 + exit $stat
80.186 + fi
80.187 +
80.188 + if test -f "$tmpdepfile"; then
80.189 + # Each line is of the form `foo.o: dependent.h'.
80.190 + # Do two passes, one to just change these to
80.191 + # `$object: dependent.h' and one to simply `dependent.h:'.
80.192 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
80.193 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
80.194 + else
80.195 + # The sourcefile does not contain any dependencies, so just
80.196 + # store a dummy comment line, to avoid errors with the Makefile
80.197 + # "include basename.Plo" scheme.
80.198 + echo "#dummy" > "$depfile"
80.199 + fi
80.200 + rm -f "$tmpdepfile"
80.201 + ;;
80.202 +
80.203 +icc)
80.204 + # Must come before tru64.
80.205 +
80.206 + # Intel's C compiler understands `-MD -MF file'. However
80.207 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
80.208 + # will fill foo.d with something like
80.209 + # foo.o: sub/foo.c
80.210 + # foo.o: sub/foo.h
80.211 + # which is wrong. We want:
80.212 + # sub/foo.o: sub/foo.c
80.213 + # sub/foo.o: sub/foo.h
80.214 + # sub/foo.c:
80.215 + # sub/foo.h:
80.216 +
80.217 + "$@" -MD -MF "$tmpdepfile"
80.218 + stat=$?
80.219 + if test $stat -eq 0; then :
80.220 + else
80.221 + rm -f "$tmpdepfile"
80.222 + exit $stat
80.223 + fi
80.224 + rm -f "$depfile"
80.225 + # Each line is of the form `foo.o: dependent.h'.
80.226 + # Do two passes, one to just change these to
80.227 + # `$object: dependent.h' and one to simply `dependent.h:'.
80.228 + sed -e "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
80.229 + sed -e "s,^[^:]*: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
80.230 + rm -f "$tmpdepfile"
80.231 + ;;
80.232 +
80.233 +tru64)
80.234 + # The Tru64 AIX compiler uses -MD to generate dependencies as a side
80.235 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
80.236 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
80.237 + # dependencies in `foo.d' instead, so we check for that too.
80.238 + # Subdirectories are respected.
80.239 +
80.240 + tmpdepfile1="$object.d"
80.241 + tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
80.242 + if test "$libtool" = yes; then
80.243 + "$@" -Wc,-MD
80.244 + else
80.245 + "$@" -MD
80.246 + fi
80.247 +
80.248 + stat=$?
80.249 + if test $stat -eq 0; then :
80.250 + else
80.251 + rm -f "$tmpdepfile1" "$tmpdepfile2"
80.252 + exit $stat
80.253 + fi
80.254 +
80.255 + if test -f "$tmpdepfile1"; then
80.256 + tmpdepfile="$tmpdepfile1"
80.257 + else
80.258 + tmpdepfile="$tmpdepfile2"
80.259 + fi
80.260 + if test -f "$tmpdepfile"; then
80.261 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
80.262 + # That's a space and a tab in the [].
80.263 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
80.264 + else
80.265 + echo "#dummy" > "$depfile"
80.266 + fi
80.267 + rm -f "$tmpdepfile"
80.268 + ;;
80.269 +
80.270 +#nosideeffect)
80.271 + # This comment above is used by automake to tell side-effect
80.272 + # dependency tracking mechanisms from slower ones.
80.273 +
80.274 +dashmstdout)
80.275 + # Important note: in order to support this mode, a compiler *must*
80.276 + # always write the proprocessed file to stdout, regardless of -o,
80.277 + # because we must use -o when running libtool.
80.278 + test -z "$dashmflag" && dashmflag=-M
80.279 + ( IFS=" "
80.280 + case " $* " in
80.281 + *" --mode=compile "*) # this is libtool, let us make it quiet
80.282 + for arg
80.283 + do # cycle over the arguments
80.284 + case "$arg" in
80.285 + "--mode=compile")
80.286 + # insert --quiet before "--mode=compile"
80.287 + set fnord "$@" --quiet
80.288 + shift # fnord
80.289 + ;;
80.290 + esac
80.291 + set fnord "$@" "$arg"
80.292 + shift # fnord
80.293 + shift # "$arg"
80.294 + done
80.295 + ;;
80.296 + esac
80.297 + "$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
80.298 + ) &
80.299 + proc=$!
80.300 + "$@"
80.301 + stat=$?
80.302 + wait "$proc"
80.303 + if test "$stat" != 0; then exit $stat; fi
80.304 + rm -f "$depfile"
80.305 + cat < "$tmpdepfile" > "$depfile"
80.306 + tr ' ' '
80.307 +' < "$tmpdepfile" | \
80.308 +## Some versions of the HPUX 10.20 sed can't process this invocation
80.309 +## correctly. Breaking it into two sed invocations is a workaround.
80.310 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
80.311 + rm -f "$tmpdepfile"
80.312 + ;;
80.313 +
80.314 +dashXmstdout)
80.315 + # This case only exists to satisfy depend.m4. It is never actually
80.316 + # run, as this mode is specially recognized in the preamble.
80.317 + exit 1
80.318 + ;;
80.319 +
80.320 +makedepend)
80.321 + # X makedepend
80.322 + (
80.323 + shift
80.324 + cleared=no
80.325 + for arg in "$@"; do
80.326 + case $cleared in no)
80.327 + set ""; shift
80.328 + cleared=yes
80.329 + esac
80.330 + case "$arg" in
80.331 + -D*|-I*)
80.332 + set fnord "$@" "$arg"; shift;;
80.333 + -*)
80.334 + ;;
80.335 + *)
80.336 + set fnord "$@" "$arg"; shift;;
80.337 + esac
80.338 + done
80.339 + obj_suffix="`echo $object | sed 's/^.*\././'`"
80.340 + touch "$tmpdepfile"
80.341 + ${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
80.342 + ) &
80.343 + proc=$!
80.344 + "$@"
80.345 + stat=$?
80.346 + wait "$proc"
80.347 + if test "$stat" != 0; then exit $stat; fi
80.348 + rm -f "$depfile"
80.349 + cat < "$tmpdepfile" > "$depfile"
80.350 + tail +3 "$tmpdepfile" | tr ' ' '
80.351 +' | \
80.352 +## Some versions of the HPUX 10.20 sed can't process this invocation
80.353 +## correctly. Breaking it into two sed invocations is a workaround.
80.354 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
80.355 + rm -f "$tmpdepfile" "$tmpdepfile".bak
80.356 + ;;
80.357 +
80.358 +cpp)
80.359 + # Important note: in order to support this mode, a compiler *must*
80.360 + # always write the proprocessed file to stdout, regardless of -o,
80.361 + # because we must use -o when running libtool.
80.362 + ( IFS=" "
80.363 + case " $* " in
80.364 + *" --mode=compile "*)
80.365 + for arg
80.366 + do # cycle over the arguments
80.367 + case $arg in
80.368 + "--mode=compile")
80.369 + # insert --quiet before "--mode=compile"
80.370 + set fnord "$@" --quiet
80.371 + shift # fnord
80.372 + ;;
80.373 + esac
80.374 + set fnord "$@" "$arg"
80.375 + shift # fnord
80.376 + shift # "$arg"
80.377 + done
80.378 + ;;
80.379 + esac
80.380 + "$@" -E |
80.381 + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
80.382 + sed '$ s: \\$::' > "$tmpdepfile"
80.383 + ) &
80.384 + proc=$!
80.385 + "$@"
80.386 + stat=$?
80.387 + wait "$proc"
80.388 + if test "$stat" != 0; then exit $stat; fi
80.389 + rm -f "$depfile"
80.390 + echo "$object : \\" > "$depfile"
80.391 + cat < "$tmpdepfile" >> "$depfile"
80.392 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
80.393 + rm -f "$tmpdepfile"
80.394 + ;;
80.395 +
80.396 +msvisualcpp)
80.397 + # Important note: in order to support this mode, a compiler *must*
80.398 + # always write the proprocessed file to stdout, regardless of -o,
80.399 + # because we must use -o when running libtool.
80.400 + ( IFS=" "
80.401 + case " $* " in
80.402 + *" --mode=compile "*)
80.403 + for arg
80.404 + do # cycle over the arguments
80.405 + case $arg in
80.406 + "--mode=compile")
80.407 + # insert --quiet before "--mode=compile"
80.408 + set fnord "$@" --quiet
80.409 + shift # fnord
80.410 + ;;
80.411 + esac
80.412 + set fnord "$@" "$arg"
80.413 + shift # fnord
80.414 + shift # "$arg"
80.415 + done
80.416 + ;;
80.417 + esac
80.418 + "$@" -E |
80.419 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
80.420 + ) &
80.421 + proc=$!
80.422 + "$@"
80.423 + stat=$?
80.424 + wait "$proc"
80.425 + if test "$stat" != 0; then exit $stat; fi
80.426 + rm -f "$depfile"
80.427 + echo "$object : \\" > "$depfile"
80.428 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
80.429 + echo " " >> "$depfile"
80.430 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
80.431 + rm -f "$tmpdepfile"
80.432 + ;;
80.433 +
80.434 +none)
80.435 + exec "$@"
80.436 + ;;
80.437 +
80.438 +*)
80.439 + echo "Unknown depmode $depmode" 1>&2
80.440 + exit 1
80.441 + ;;
80.442 +esac
80.443 +
80.444 +exit 0
81.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
81.2 +++ b/tools/picctldisplaytest/install-sh Tue Jan 29 22:31:52 2008 +0100
81.3 @@ -0,0 +1,276 @@
81.4 +#!/bin/sh
81.5 +#
81.6 +# install - install a program, script, or datafile
81.7 +# This comes from X11R5 (mit/util/scripts/install.sh).
81.8 +#
81.9 +# Copyright 1991 by the Massachusetts Institute of Technology
81.10 +#
81.11 +# Permission to use, copy, modify, distribute, and sell this software and its
81.12 +# documentation for any purpose is hereby granted without fee, provided that
81.13 +# the above copyright notice appear in all copies and that both that
81.14 +# copyright notice and this permission notice appear in supporting
81.15 +# documentation, and that the name of M.I.T. not be used in advertising or
81.16 +# publicity pertaining to distribution of the software without specific,
81.17 +# written prior permission. M.I.T. makes no representations about the
81.18 +# suitability of this software for any purpose. It is provided "as is"
81.19 +# without express or implied warranty.
81.20 +#
81.21 +# Calling this script install-sh is preferred over install.sh, to prevent
81.22 +# `make' implicit rules from creating a file called install from it
81.23 +# when there is no Makefile.
81.24 +#
81.25 +# This script is compatible with the BSD install script, but was written
81.26 +# from scratch. It can only install one file at a time, a restriction
81.27 +# shared with many OS's install programs.
81.28 +
81.29 +
81.30 +# set DOITPROG to echo to test this script
81.31 +
81.32 +# Don't use :- since 4.3BSD and earlier shells don't like it.
81.33 +doit="${DOITPROG-}"
81.34 +
81.35 +
81.36 +# put in absolute paths if you don't have them in your path; or use env. vars.
81.37 +
81.38 +mvprog="${MVPROG-mv}"
81.39 +cpprog="${CPPROG-cp}"
81.40 +chmodprog="${CHMODPROG-chmod}"
81.41 +chownprog="${CHOWNPROG-chown}"
81.42 +chgrpprog="${CHGRPPROG-chgrp}"
81.43 +stripprog="${STRIPPROG-strip}"
81.44 +rmprog="${RMPROG-rm}"
81.45 +mkdirprog="${MKDIRPROG-mkdir}"
81.46 +
81.47 +transformbasename=""
81.48 +transform_arg=""
81.49 +instcmd="$mvprog"
81.50 +chmodcmd="$chmodprog 0755"
81.51 +chowncmd=""
81.52 +chgrpcmd=""
81.53 +stripcmd=""
81.54 +rmcmd="$rmprog -f"
81.55 +mvcmd="$mvprog"
81.56 +src=""
81.57 +dst=""
81.58 +dir_arg=""
81.59 +
81.60 +while [ x"$1" != x ]; do
81.61 + case $1 in
81.62 + -c) instcmd=$cpprog
81.63 + shift
81.64 + continue;;
81.65 +
81.66 + -d) dir_arg=true
81.67 + shift
81.68 + continue;;
81.69 +
81.70 + -m) chmodcmd="$chmodprog $2"
81.71 + shift
81.72 + shift
81.73 + continue;;
81.74 +
81.75 + -o) chowncmd="$chownprog $2"
81.76 + shift
81.77 + shift
81.78 + continue;;
81.79 +
81.80 + -g) chgrpcmd="$chgrpprog $2"
81.81 + shift
81.82 + shift
81.83 + continue;;
81.84 +
81.85 + -s) stripcmd=$stripprog
81.86 + shift
81.87 + continue;;
81.88 +
81.89 + -t=*) transformarg=`echo $1 | sed 's/-t=//'`
81.90 + shift
81.91 + continue;;
81.92 +
81.93 + -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
81.94 + shift
81.95 + continue;;
81.96 +
81.97 + *) if [ x"$src" = x ]
81.98 + then
81.99 + src=$1
81.100 + else
81.101 + # this colon is to work around a 386BSD /bin/sh bug
81.102 + :
81.103 + dst=$1
81.104 + fi
81.105 + shift
81.106 + continue;;
81.107 + esac
81.108 +done
81.109 +
81.110 +if [ x"$src" = x ]
81.111 +then
81.112 + echo "$0: no input file specified" >&2
81.113 + exit 1
81.114 +else
81.115 + :
81.116 +fi
81.117 +
81.118 +if [ x"$dir_arg" != x ]; then
81.119 + dst=$src
81.120 + src=""
81.121 +
81.122 + if [ -d "$dst" ]; then
81.123 + instcmd=:
81.124 + chmodcmd=""
81.125 + else
81.126 + instcmd=$mkdirprog
81.127 + fi
81.128 +else
81.129 +
81.130 +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
81.131 +# might cause directories to be created, which would be especially bad
81.132 +# if $src (and thus $dsttmp) contains '*'.
81.133 +
81.134 + if [ -f "$src" ] || [ -d "$src" ]
81.135 + then
81.136 + :
81.137 + else
81.138 + echo "$0: $src does not exist" >&2
81.139 + exit 1
81.140 + fi
81.141 +
81.142 + if [ x"$dst" = x ]
81.143 + then
81.144 + echo "$0: no destination specified" >&2
81.145 + exit 1
81.146 + else
81.147 + :
81.148 + fi
81.149 +
81.150 +# If destination is a directory, append the input filename; if your system
81.151 +# does not like double slashes in filenames, you may need to add some logic
81.152 +
81.153 + if [ -d "$dst" ]
81.154 + then
81.155 + dst=$dst/`basename "$src"`
81.156 + else
81.157 + :
81.158 + fi
81.159 +fi
81.160 +
81.161 +## this sed command emulates the dirname command
81.162 +dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
81.163 +
81.164 +# Make sure that the destination directory exists.
81.165 +# this part is taken from Noah Friedman's mkinstalldirs script
81.166 +
81.167 +# Skip lots of stat calls in the usual case.
81.168 +if [ ! -d "$dstdir" ]; then
81.169 +defaultIFS='
81.170 + '
81.171 +IFS="${IFS-$defaultIFS}"
81.172 +
81.173 +oIFS=$IFS
81.174 +# Some sh's can't handle IFS=/ for some reason.
81.175 +IFS='%'
81.176 +set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
81.177 +IFS=$oIFS
81.178 +
81.179 +pathcomp=''
81.180 +
81.181 +while [ $# -ne 0 ] ; do
81.182 + pathcomp=$pathcomp$1
81.183 + shift
81.184 +
81.185 + if [ ! -d "$pathcomp" ] ;
81.186 + then
81.187 + $mkdirprog "$pathcomp"
81.188 + else
81.189 + :
81.190 + fi
81.191 +
81.192 + pathcomp=$pathcomp/
81.193 +done
81.194 +fi
81.195 +
81.196 +if [ x"$dir_arg" != x ]
81.197 +then
81.198 + $doit $instcmd "$dst" &&
81.199 +
81.200 + if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
81.201 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
81.202 + if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
81.203 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
81.204 +else
81.205 +
81.206 +# If we're going to rename the final executable, determine the name now.
81.207 +
81.208 + if [ x"$transformarg" = x ]
81.209 + then
81.210 + dstfile=`basename "$dst"`
81.211 + else
81.212 + dstfile=`basename "$dst" $transformbasename |
81.213 + sed $transformarg`$transformbasename
81.214 + fi
81.215 +
81.216 +# don't allow the sed command to completely eliminate the filename
81.217 +
81.218 + if [ x"$dstfile" = x ]
81.219 + then
81.220 + dstfile=`basename "$dst"`
81.221 + else
81.222 + :
81.223 + fi
81.224 +
81.225 +# Make a couple of temp file names in the proper directory.
81.226 +
81.227 + dsttmp=$dstdir/#inst.$$#
81.228 + rmtmp=$dstdir/#rm.$$#
81.229 +
81.230 +# Trap to clean up temp files at exit.
81.231 +
81.232 + trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
81.233 + trap '(exit $?); exit' 1 2 13 15
81.234 +
81.235 +# Move or copy the file name to the temp name
81.236 +
81.237 + $doit $instcmd "$src" "$dsttmp" &&
81.238 +
81.239 +# and set any options; do chmod last to preserve setuid bits
81.240 +
81.241 +# If any of these fail, we abort the whole thing. If we want to
81.242 +# ignore errors from any of these, just make sure not to ignore
81.243 +# errors from the above "$doit $instcmd $src $dsttmp" command.
81.244 +
81.245 + if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
81.246 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
81.247 + if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
81.248 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
81.249 +
81.250 +# Now remove or move aside any old file at destination location. We try this
81.251 +# two ways since rm can't unlink itself on some systems and the destination
81.252 +# file might be busy for other reasons. In this case, the final cleanup
81.253 +# might fail but the new file should still install successfully.
81.254 +
81.255 +{
81.256 + if [ -f "$dstdir/$dstfile" ]
81.257 + then
81.258 + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
81.259 + $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
81.260 + {
81.261 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
81.262 + (exit 1); exit
81.263 + }
81.264 + else
81.265 + :
81.266 + fi
81.267 +} &&
81.268 +
81.269 +# Now rename the file to the real destination.
81.270 +
81.271 + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
81.272 +
81.273 +fi &&
81.274 +
81.275 +# The final little trick to "correctly" pass the exit status to the exit trap.
81.276 +
81.277 +{
81.278 + (exit 0); exit
81.279 +}
82.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
82.2 +++ b/tools/picctldisplaytest/ltmain.sh Tue Jan 29 22:31:52 2008 +0100
82.3 @@ -0,0 +1,6343 @@
82.4 +# ltmain.sh - Provide generalized library-building support services.
82.5 +# NOTE: Changing this file will not affect anything until you rerun configure.
82.6 +#
82.7 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
82.8 +# Free Software Foundation, Inc.
82.9 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
82.10 +#
82.11 +# This program is free software; you can redistribute it and/or modify
82.12 +# it under the terms of the GNU General Public License as published by
82.13 +# the Free Software Foundation; either version 2 of the License, or
82.14 +# (at your option) any later version.
82.15 +#
82.16 +# This program is distributed in the hope that it will be useful, but
82.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
82.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
82.19 +# General Public License for more details.
82.20 +#
82.21 +# You should have received a copy of the GNU General Public License
82.22 +# along with this program; if not, write to the Free Software
82.23 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
82.24 +#
82.25 +# As a special exception to the GNU General Public License, if you
82.26 +# distribute this file as part of a program that contains a
82.27 +# configuration script generated by Autoconf, you may include it under
82.28 +# the same distribution terms that you use for the rest of that program.
82.29 +
82.30 +# Check that we have a working $echo.
82.31 +if test "X$1" = X--no-reexec; then
82.32 + # Discard the --no-reexec flag, and continue.
82.33 + shift
82.34 +elif test "X$1" = X--fallback-echo; then
82.35 + # Avoid inline document here, it may be left over
82.36 + :
82.37 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
82.38 + # Yippee, $echo works!
82.39 + :
82.40 +else
82.41 + # Restart under the correct shell, and then maybe $echo will work.
82.42 + exec $SHELL "$0" --no-reexec ${1+"$@"}
82.43 +fi
82.44 +
82.45 +if test "X$1" = X--fallback-echo; then
82.46 + # used as fallback echo
82.47 + shift
82.48 + cat <<EOF
82.49 +$*
82.50 +EOF
82.51 + exit 0
82.52 +fi
82.53 +
82.54 +# The name of this program.
82.55 +progname=`$echo "$0" | ${SED} 's%^.*/%%'`
82.56 +modename="$progname"
82.57 +
82.58 +# Constants.
82.59 +PROGRAM=ltmain.sh
82.60 +PACKAGE=libtool
82.61 +VERSION=1.5a
82.62 +TIMESTAMP=" (1.1240 2003/06/26 06:55:19)"
82.63 +
82.64 +default_mode=
82.65 +help="Try \`$progname --help' for more information."
82.66 +magic="%%%MAGIC variable%%%"
82.67 +mkdir="mkdir"
82.68 +mv="mv -f"
82.69 +rm="rm -f"
82.70 +
82.71 +# Sed substitution that helps us do robust quoting. It backslashifies
82.72 +# metacharacters that are still active within double-quoted strings.
82.73 +Xsed="${SED}"' -e 1s/^X//'
82.74 +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
82.75 +# test EBCDIC or ASCII
82.76 +case `echo A|tr A '\301'` in
82.77 + A) # EBCDIC based system
82.78 + SP2NL="tr '\100' '\n'"
82.79 + NL2SP="tr '\r\n' '\100\100'"
82.80 + ;;
82.81 + *) # Assume ASCII based system
82.82 + SP2NL="tr '\040' '\012'"
82.83 + NL2SP="tr '\015\012' '\040\040'"
82.84 + ;;
82.85 +esac
82.86 +
82.87 +# NLS nuisances.
82.88 +# Only set LANG and LC_ALL to C if already set.
82.89 +# These must not be set unconditionally because not all systems understand
82.90 +# e.g. LANG=C (notably SCO).
82.91 +# We save the old values to restore during execute mode.
82.92 +if test "${LC_ALL+set}" = set; then
82.93 + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
82.94 +fi
82.95 +if test "${LANG+set}" = set; then
82.96 + save_LANG="$LANG"; LANG=C; export LANG
82.97 +fi
82.98 +
82.99 +# Make sure IFS has a sensible default
82.100 +: ${IFS=" "}
82.101 +
82.102 +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
82.103 + $echo "$modename: not configured to build any kind of library" 1>&2
82.104 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
82.105 + exit 1
82.106 +fi
82.107 +
82.108 +# Global variables.
82.109 +mode=$default_mode
82.110 +nonopt=
82.111 +prev=
82.112 +prevopt=
82.113 +run=
82.114 +show="$echo"
82.115 +show_help=
82.116 +execute_dlfiles=
82.117 +lo2o="s/\\.lo\$/.${objext}/"
82.118 +o2lo="s/\\.${objext}\$/.lo/"
82.119 +
82.120 +#####################################
82.121 +# Shell function definitions:
82.122 +# This seems to be the best place for them
82.123 +
82.124 +# Need a lot of goo to handle *both* DLLs and import libs
82.125 +# Has to be a shell function in order to 'eat' the argument
82.126 +# that is supplied when $file_magic_command is called.
82.127 +win32_libid () {
82.128 + win32_libid_type="unknown"
82.129 + win32_fileres=`file -L $1 2>/dev/null`
82.130 + case $win32_fileres in
82.131 + *ar\ archive\ import\ library*) # definitely import
82.132 + win32_libid_type="x86 archive import"
82.133 + ;;
82.134 + *ar\ archive*) # could be an import, or static
82.135 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
82.136 + grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
82.137 + win32_nmres=`eval $NM -f posix -A $1 | \
82.138 + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
82.139 + if test "X$win32_nmres" = "Ximport" ; then
82.140 + win32_libid_type="x86 archive import"
82.141 + else
82.142 + win32_libid_type="x86 archive static"
82.143 + fi
82.144 + fi
82.145 + ;;
82.146 + *DLL*)
82.147 + win32_libid_type="x86 DLL"
82.148 + ;;
82.149 + *executable*) # but shell scripts are "executable" too...
82.150 + case $win32_fileres in
82.151 + *MS\ Windows\ PE\ Intel*)
82.152 + win32_libid_type="x86 DLL"
82.153 + ;;
82.154 + esac
82.155 + ;;
82.156 + esac
82.157 + $echo $win32_libid_type
82.158 +}
82.159 +
82.160 +# End of Shell function definitions
82.161 +#####################################
82.162 +
82.163 +# Parse our command line options once, thoroughly.
82.164 +while test "$#" -gt 0
82.165 +do
82.166 + arg="$1"
82.167 + shift
82.168 +
82.169 + case $arg in
82.170 + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
82.171 + *) optarg= ;;
82.172 + esac
82.173 +
82.174 + # If the previous option needs an argument, assign it.
82.175 + if test -n "$prev"; then
82.176 + case $prev in
82.177 + execute_dlfiles)
82.178 + execute_dlfiles="$execute_dlfiles $arg"
82.179 + ;;
82.180 + tag)
82.181 + tagname="$arg"
82.182 +
82.183 + # Check whether tagname contains only valid characters
82.184 + case $tagname in
82.185 + *[!-_A-Za-z0-9,/]*)
82.186 + $echo "$progname: invalid tag name: $tagname" 1>&2
82.187 + exit 1
82.188 + ;;
82.189 + esac
82.190 +
82.191 + case $tagname in
82.192 + CC)
82.193 + # Don't test for the "default" C tag, as we know, it's there, but
82.194 + # not specially marked.
82.195 + ;;
82.196 + *)
82.197 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
82.198 + taglist="$taglist $tagname"
82.199 + # Evaluate the configuration.
82.200 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
82.201 + else
82.202 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
82.203 + fi
82.204 + ;;
82.205 + esac
82.206 + ;;
82.207 + *)
82.208 + eval "$prev=\$arg"
82.209 + ;;
82.210 + esac
82.211 +
82.212 + prev=
82.213 + prevopt=
82.214 + continue
82.215 + fi
82.216 +
82.217 + # Have we seen a non-optional argument yet?
82.218 + case $arg in
82.219 + --help)
82.220 + show_help=yes
82.221 + ;;
82.222 +
82.223 + --version)
82.224 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
82.225 + $echo
82.226 + $echo "Copyright (C) 2003 Free Software Foundation, Inc."
82.227 + $echo "This is free software; see the source for copying conditions. There is NO"
82.228 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
82.229 + exit 0
82.230 + ;;
82.231 +
82.232 + --config)
82.233 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
82.234 + # Now print the configurations for the tags.
82.235 + for tagname in $taglist; do
82.236 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
82.237 + done
82.238 + exit 0
82.239 + ;;
82.240 +
82.241 + --debug)
82.242 + $echo "$progname: enabling shell trace mode"
82.243 + set -x
82.244 + ;;
82.245 +
82.246 + --dry-run | -n)
82.247 + run=:
82.248 + ;;
82.249 +
82.250 + --features)
82.251 + $echo "host: $host"
82.252 + if test "$build_libtool_libs" = yes; then
82.253 + $echo "enable shared libraries"
82.254 + else
82.255 + $echo "disable shared libraries"
82.256 + fi
82.257 + if test "$build_old_libs" = yes; then
82.258 + $echo "enable static libraries"
82.259 + else
82.260 + $echo "disable static libraries"
82.261 + fi
82.262 + exit 0
82.263 + ;;
82.264 +
82.265 + --finish) mode="finish" ;;
82.266 +
82.267 + --mode) prevopt="--mode" prev=mode ;;
82.268 + --mode=*) mode="$optarg" ;;
82.269 +
82.270 + --preserve-dup-deps) duplicate_deps="yes" ;;
82.271 +
82.272 + --quiet | --silent)
82.273 + show=:
82.274 + ;;
82.275 +
82.276 + --tag) prevopt="--tag" prev=tag ;;
82.277 + --tag=*)
82.278 + set tag "$optarg" ${1+"$@"}
82.279 + shift
82.280 + prev=tag
82.281 + ;;
82.282 +
82.283 + -dlopen)
82.284 + prevopt="-dlopen"
82.285 + prev=execute_dlfiles
82.286 + ;;
82.287 +
82.288 + -*)
82.289 + $echo "$modename: unrecognized option \`$arg'" 1>&2
82.290 + $echo "$help" 1>&2
82.291 + exit 1
82.292 + ;;
82.293 +
82.294 + *)
82.295 + nonopt="$arg"
82.296 + break
82.297 + ;;
82.298 + esac
82.299 +done
82.300 +
82.301 +if test -n "$prevopt"; then
82.302 + $echo "$modename: option \`$prevopt' requires an argument" 1>&2
82.303 + $echo "$help" 1>&2
82.304 + exit 1
82.305 +fi
82.306 +
82.307 +# If this variable is set in any of the actions, the command in it
82.308 +# will be execed at the end. This prevents here-documents from being
82.309 +# left over by shells.
82.310 +exec_cmd=
82.311 +
82.312 +if test -z "$show_help"; then
82.313 +
82.314 + # Infer the operation mode.
82.315 + if test -z "$mode"; then
82.316 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
82.317 + $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
82.318 + case $nonopt in
82.319 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
82.320 + mode=link
82.321 + for arg
82.322 + do
82.323 + case $arg in
82.324 + -c)
82.325 + mode=compile
82.326 + break
82.327 + ;;
82.328 + esac
82.329 + done
82.330 + ;;
82.331 + *db | *dbx | *strace | *truss)
82.332 + mode=execute
82.333 + ;;
82.334 + *install*|cp|mv)
82.335 + mode=install
82.336 + ;;
82.337 + *rm)
82.338 + mode=uninstall
82.339 + ;;
82.340 + *)
82.341 + # If we have no mode, but dlfiles were specified, then do execute mode.
82.342 + test -n "$execute_dlfiles" && mode=execute
82.343 +
82.344 + # Just use the default operation mode.
82.345 + if test -z "$mode"; then
82.346 + if test -n "$nonopt"; then
82.347 + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
82.348 + else
82.349 + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
82.350 + fi
82.351 + fi
82.352 + ;;
82.353 + esac
82.354 + fi
82.355 +
82.356 + # Only execute mode is allowed to have -dlopen flags.
82.357 + if test -n "$execute_dlfiles" && test "$mode" != execute; then
82.358 + $echo "$modename: unrecognized option \`-dlopen'" 1>&2
82.359 + $echo "$help" 1>&2
82.360 + exit 1
82.361 + fi
82.362 +
82.363 + # Change the help message to a mode-specific one.
82.364 + generic_help="$help"
82.365 + help="Try \`$modename --help --mode=$mode' for more information."
82.366 +
82.367 + # These modes are in order of execution frequency so that they run quickly.
82.368 + case $mode in
82.369 + # libtool compile mode
82.370 + compile)
82.371 + modename="$modename: compile"
82.372 + # Get the compilation command and the source file.
82.373 + base_compile=
82.374 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
82.375 + suppress_output=
82.376 + arg_mode=normal
82.377 + libobj=
82.378 +
82.379 + for arg
82.380 + do
82.381 + case "$arg_mode" in
82.382 + arg )
82.383 + # do not "continue". Instead, add this to base_compile
82.384 + lastarg="$arg"
82.385 + arg_mode=normal
82.386 + ;;
82.387 +
82.388 + target )
82.389 + libobj="$arg"
82.390 + arg_mode=normal
82.391 + continue
82.392 + ;;
82.393 +
82.394 + normal )
82.395 + # Accept any command-line options.
82.396 + case $arg in
82.397 + -o)
82.398 + if test -n "$libobj" ; then
82.399 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
82.400 + exit 1
82.401 + fi
82.402 + arg_mode=target
82.403 + continue
82.404 + ;;
82.405 +
82.406 + -static)
82.407 + build_old_libs=yes
82.408 + continue
82.409 + ;;
82.410 +
82.411 + -prefer-pic)
82.412 + pic_mode=yes
82.413 + continue
82.414 + ;;
82.415 +
82.416 + -prefer-non-pic)
82.417 + pic_mode=no
82.418 + continue
82.419 + ;;
82.420 +
82.421 + -Xcompiler)
82.422 + arg_mode=arg # the next one goes into the "base_compile" arg list
82.423 + continue # The current "srcfile" will either be retained or
82.424 + ;; # replaced later. I would guess that would be a bug.
82.425 +
82.426 + -Wc,*)
82.427 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
82.428 + lastarg=
82.429 + save_ifs="$IFS"; IFS=','
82.430 + for arg in $args; do
82.431 + IFS="$save_ifs"
82.432 +
82.433 + # Double-quote args containing other shell metacharacters.
82.434 + # Many Bourne shells cannot handle close brackets correctly
82.435 + # in scan sets, so we specify it separately.
82.436 + case $arg in
82.437 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.438 + arg="\"$arg\""
82.439 + ;;
82.440 + esac
82.441 + lastarg="$lastarg $arg"
82.442 + done
82.443 + IFS="$save_ifs"
82.444 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
82.445 +
82.446 + # Add the arguments to base_compile.
82.447 + base_compile="$base_compile $lastarg"
82.448 + continue
82.449 + ;;
82.450 +
82.451 + * )
82.452 + # Accept the current argument as the source file.
82.453 + # The previous "srcfile" becomes the current argument.
82.454 + #
82.455 + lastarg="$srcfile"
82.456 + srcfile="$arg"
82.457 + ;;
82.458 + esac # case $arg
82.459 + ;;
82.460 + esac # case $arg_mode
82.461 +
82.462 + # Aesthetically quote the previous argument.
82.463 + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
82.464 +
82.465 + case $lastarg in
82.466 + # Double-quote args containing other shell metacharacters.
82.467 + # Many Bourne shells cannot handle close brackets correctly
82.468 + # in scan sets, so we specify it separately.
82.469 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.470 + lastarg="\"$lastarg\""
82.471 + ;;
82.472 + esac
82.473 +
82.474 + base_compile="$base_compile $lastarg"
82.475 + done # for arg
82.476 +
82.477 + case $arg_mode in
82.478 + arg)
82.479 + $echo "$modename: you must specify an argument for -Xcompile"
82.480 + exit 1
82.481 + ;;
82.482 + target)
82.483 + $echo "$modename: you must specify a target with \`-o'" 1>&2
82.484 + exit 1
82.485 + ;;
82.486 + *)
82.487 + # Get the name of the library object.
82.488 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
82.489 + ;;
82.490 + esac
82.491 +
82.492 + # Recognize several different file suffixes.
82.493 + # If the user specifies -o file.o, it is replaced with file.lo
82.494 + xform='[cCFSifmso]'
82.495 + case $libobj in
82.496 + *.ada) xform=ada ;;
82.497 + *.adb) xform=adb ;;
82.498 + *.ads) xform=ads ;;
82.499 + *.asm) xform=asm ;;
82.500 + *.c++) xform=c++ ;;
82.501 + *.cc) xform=cc ;;
82.502 + *.ii) xform=ii ;;
82.503 + *.class) xform=class ;;
82.504 + *.cpp) xform=cpp ;;
82.505 + *.cxx) xform=cxx ;;
82.506 + *.f90) xform=f90 ;;
82.507 + *.for) xform=for ;;
82.508 + *.java) xform=java ;;
82.509 + esac
82.510 +
82.511 + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
82.512 +
82.513 + case $libobj in
82.514 + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
82.515 + *)
82.516 + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
82.517 + exit 1
82.518 + ;;
82.519 + esac
82.520 +
82.521 + # Infer tagged configuration to use if any are available and
82.522 + # if one wasn't chosen via the "--tag" command line option.
82.523 + # Only attempt this if the compiler in the base compile
82.524 + # command doesn't match the default compiler.
82.525 + if test -n "$available_tags" && test -z "$tagname"; then
82.526 + case $base_compile in
82.527 + # Blanks in the command may have been stripped by the calling shell,
82.528 + # but not from the CC environment variable when configure was run.
82.529 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
82.530 + # Blanks at the start of $base_compile will cause this to fail
82.531 + # if we don't check for them as well.
82.532 + *)
82.533 + for z in $available_tags; do
82.534 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
82.535 + # Evaluate the configuration.
82.536 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
82.537 + case "$base_compile " in
82.538 + "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
82.539 + # The compiler in the base compile command matches
82.540 + # the one in the tagged configuration.
82.541 + # Assume this is the tagged configuration we want.
82.542 + tagname=$z
82.543 + break
82.544 + ;;
82.545 + esac
82.546 + fi
82.547 + done
82.548 + # If $tagname still isn't set, then no tagged configuration
82.549 + # was found and let the user know that the "--tag" command
82.550 + # line option must be used.
82.551 + if test -z "$tagname"; then
82.552 + $echo "$modename: unable to infer tagged configuration"
82.553 + $echo "$modename: specify a tag with \`--tag'" 1>&2
82.554 + exit 1
82.555 +# else
82.556 +# $echo "$modename: using $tagname tagged configuration"
82.557 + fi
82.558 + ;;
82.559 + esac
82.560 + fi
82.561 +
82.562 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
82.563 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
82.564 + if test "X$xdir" = "X$obj"; then
82.565 + xdir=
82.566 + else
82.567 + xdir=$xdir/
82.568 + fi
82.569 + lobj=${xdir}$objdir/$objname
82.570 +
82.571 + if test -z "$base_compile"; then
82.572 + $echo "$modename: you must specify a compilation command" 1>&2
82.573 + $echo "$help" 1>&2
82.574 + exit 1
82.575 + fi
82.576 +
82.577 + # Delete any leftover library objects.
82.578 + if test "$build_old_libs" = yes; then
82.579 + removelist="$obj $lobj $libobj ${libobj}T"
82.580 + else
82.581 + removelist="$lobj $libobj ${libobj}T"
82.582 + fi
82.583 +
82.584 + $run $rm $removelist
82.585 + trap "$run $rm $removelist; exit 1" 1 2 15
82.586 +
82.587 + # On Cygwin there's no "real" PIC flag so we must build both object types
82.588 + case $host_os in
82.589 + cygwin* | mingw* | pw32* | os2*)
82.590 + pic_mode=default
82.591 + ;;
82.592 + esac
82.593 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
82.594 + # non-PIC code in shared libraries is not supported
82.595 + pic_mode=default
82.596 + fi
82.597 +
82.598 + # Calculate the filename of the output object if compiler does
82.599 + # not support -o with -c
82.600 + if test "$compiler_c_o" = no; then
82.601 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
82.602 + lockfile="$output_obj.lock"
82.603 + removelist="$removelist $output_obj $lockfile"
82.604 + trap "$run $rm $removelist; exit 1" 1 2 15
82.605 + else
82.606 + output_obj=
82.607 + need_locks=no
82.608 + lockfile=
82.609 + fi
82.610 +
82.611 + # Lock this critical section if it is needed
82.612 + # We use this script file to make the link, it avoids creating a new file
82.613 + if test "$need_locks" = yes; then
82.614 + until $run ln "$0" "$lockfile" 2>/dev/null; do
82.615 + $show "Waiting for $lockfile to be removed"
82.616 + sleep 2
82.617 + done
82.618 + elif test "$need_locks" = warn; then
82.619 + if test -f "$lockfile"; then
82.620 + $echo "\
82.621 +*** ERROR, $lockfile exists and contains:
82.622 +`cat $lockfile 2>/dev/null`
82.623 +
82.624 +This indicates that another process is trying to use the same
82.625 +temporary object file, and libtool could not work around it because
82.626 +your compiler does not support \`-c' and \`-o' together. If you
82.627 +repeat this compilation, it may succeed, by chance, but you had better
82.628 +avoid parallel builds (make -j) in this platform, or get a better
82.629 +compiler."
82.630 +
82.631 + $run $rm $removelist
82.632 + exit 1
82.633 + fi
82.634 + $echo $srcfile > "$lockfile"
82.635 + fi
82.636 +
82.637 + if test -n "$fix_srcfile_path"; then
82.638 + eval srcfile=\"$fix_srcfile_path\"
82.639 + fi
82.640 +
82.641 + $run $rm "$libobj" "${libobj}T"
82.642 +
82.643 + # Create a libtool object file (analogous to a ".la" file),
82.644 + # but don't create it if we're doing a dry run.
82.645 + test -z "$run" && cat > ${libobj}T <<EOF
82.646 +# $libobj - a libtool object file
82.647 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
82.648 +#
82.649 +# Please DO NOT delete this file!
82.650 +# It is necessary for linking the library.
82.651 +
82.652 +# Name of the PIC object.
82.653 +EOF
82.654 +
82.655 + # Only build a PIC object if we are building libtool libraries.
82.656 + if test "$build_libtool_libs" = yes; then
82.657 + # Without this assignment, base_compile gets emptied.
82.658 + fbsd_hideous_sh_bug=$base_compile
82.659 +
82.660 + if test "$pic_mode" != no; then
82.661 + command="$base_compile $srcfile $pic_flag"
82.662 + else
82.663 + # Don't build PIC code
82.664 + command="$base_compile $srcfile"
82.665 + fi
82.666 +
82.667 + if test ! -d "${xdir}$objdir"; then
82.668 + $show "$mkdir ${xdir}$objdir"
82.669 + $run $mkdir ${xdir}$objdir
82.670 + status=$?
82.671 + if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
82.672 + exit $status
82.673 + fi
82.674 + fi
82.675 +
82.676 + if test -z "$output_obj"; then
82.677 + # Place PIC objects in $objdir
82.678 + command="$command -o $lobj"
82.679 + fi
82.680 +
82.681 + $run $rm "$lobj" "$output_obj"
82.682 +
82.683 + $show "$command"
82.684 + if $run eval "$command"; then :
82.685 + else
82.686 + test -n "$output_obj" && $run $rm $removelist
82.687 + exit 1
82.688 + fi
82.689 +
82.690 + if test "$need_locks" = warn &&
82.691 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
82.692 + $echo "\
82.693 +*** ERROR, $lockfile contains:
82.694 +`cat $lockfile 2>/dev/null`
82.695 +
82.696 +but it should contain:
82.697 +$srcfile
82.698 +
82.699 +This indicates that another process is trying to use the same
82.700 +temporary object file, and libtool could not work around it because
82.701 +your compiler does not support \`-c' and \`-o' together. If you
82.702 +repeat this compilation, it may succeed, by chance, but you had better
82.703 +avoid parallel builds (make -j) in this platform, or get a better
82.704 +compiler."
82.705 +
82.706 + $run $rm $removelist
82.707 + exit 1
82.708 + fi
82.709 +
82.710 + # Just move the object if needed, then go on to compile the next one
82.711 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
82.712 + $show "$mv $output_obj $lobj"
82.713 + if $run $mv $output_obj $lobj; then :
82.714 + else
82.715 + error=$?
82.716 + $run $rm $removelist
82.717 + exit $error
82.718 + fi
82.719 + fi
82.720 +
82.721 + # Append the name of the PIC object to the libtool object file.
82.722 + test -z "$run" && cat >> ${libobj}T <<EOF
82.723 +pic_object='$objdir/$objname'
82.724 +
82.725 +EOF
82.726 +
82.727 + # Allow error messages only from the first compilation.
82.728 + suppress_output=' >/dev/null 2>&1'
82.729 + else
82.730 + # No PIC object so indicate it doesn't exist in the libtool
82.731 + # object file.
82.732 + test -z "$run" && cat >> ${libobj}T <<EOF
82.733 +pic_object=none
82.734 +
82.735 +EOF
82.736 + fi
82.737 +
82.738 + # Only build a position-dependent object if we build old libraries.
82.739 + if test "$build_old_libs" = yes; then
82.740 + if test "$pic_mode" != yes; then
82.741 + # Don't build PIC code
82.742 + command="$base_compile $srcfile"
82.743 + else
82.744 + command="$base_compile $srcfile $pic_flag"
82.745 + fi
82.746 + if test "$compiler_c_o" = yes; then
82.747 + command="$command -o $obj"
82.748 + fi
82.749 +
82.750 + # Suppress compiler output if we already did a PIC compilation.
82.751 + command="$command$suppress_output"
82.752 + $run $rm "$obj" "$output_obj"
82.753 + $show "$command"
82.754 + if $run eval "$command"; then :
82.755 + else
82.756 + $run $rm $removelist
82.757 + exit 1
82.758 + fi
82.759 +
82.760 + if test "$need_locks" = warn &&
82.761 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
82.762 + $echo "\
82.763 +*** ERROR, $lockfile contains:
82.764 +`cat $lockfile 2>/dev/null`
82.765 +
82.766 +but it should contain:
82.767 +$srcfile
82.768 +
82.769 +This indicates that another process is trying to use the same
82.770 +temporary object file, and libtool could not work around it because
82.771 +your compiler does not support \`-c' and \`-o' together. If you
82.772 +repeat this compilation, it may succeed, by chance, but you had better
82.773 +avoid parallel builds (make -j) in this platform, or get a better
82.774 +compiler."
82.775 +
82.776 + $run $rm $removelist
82.777 + exit 1
82.778 + fi
82.779 +
82.780 + # Just move the object if needed
82.781 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
82.782 + $show "$mv $output_obj $obj"
82.783 + if $run $mv $output_obj $obj; then :
82.784 + else
82.785 + error=$?
82.786 + $run $rm $removelist
82.787 + exit $error
82.788 + fi
82.789 + fi
82.790 +
82.791 + # Append the name of the non-PIC object the libtool object file.
82.792 + # Only append if the libtool object file exists.
82.793 + test -z "$run" && cat >> ${libobj}T <<EOF
82.794 +# Name of the non-PIC object.
82.795 +non_pic_object='$objname'
82.796 +
82.797 +EOF
82.798 + else
82.799 + # Append the name of the non-PIC object the libtool object file.
82.800 + # Only append if the libtool object file exists.
82.801 + test -z "$run" && cat >> ${libobj}T <<EOF
82.802 +# Name of the non-PIC object.
82.803 +non_pic_object=none
82.804 +
82.805 +EOF
82.806 + fi
82.807 +
82.808 + $run $mv "${libobj}T" "${libobj}"
82.809 +
82.810 + # Unlock the critical section if it was locked
82.811 + if test "$need_locks" != no; then
82.812 + $run $rm "$lockfile"
82.813 + fi
82.814 +
82.815 + exit 0
82.816 + ;;
82.817 +
82.818 + # libtool link mode
82.819 + link | relink)
82.820 + modename="$modename: link"
82.821 + case $host in
82.822 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
82.823 + # It is impossible to link a dll without this setting, and
82.824 + # we shouldn't force the makefile maintainer to figure out
82.825 + # which system we are compiling for in order to pass an extra
82.826 + # flag for every libtool invocation.
82.827 + # allow_undefined=no
82.828 +
82.829 + # FIXME: Unfortunately, there are problems with the above when trying
82.830 + # to make a dll which has undefined symbols, in which case not
82.831 + # even a static library is built. For now, we need to specify
82.832 + # -no-undefined on the libtool link line when we can be certain
82.833 + # that all symbols are satisfied, otherwise we get a static library.
82.834 + allow_undefined=yes
82.835 + ;;
82.836 + *)
82.837 + allow_undefined=yes
82.838 + ;;
82.839 + esac
82.840 + libtool_args="$nonopt"
82.841 + base_compile="$nonopt"
82.842 + compile_command="$nonopt"
82.843 + finalize_command="$nonopt"
82.844 +
82.845 + compile_rpath=
82.846 + finalize_rpath=
82.847 + compile_shlibpath=
82.848 + finalize_shlibpath=
82.849 + convenience=
82.850 + old_convenience=
82.851 + deplibs=
82.852 + old_deplibs=
82.853 + add_flags=
82.854 + compiler_flags=
82.855 + linker_flags=
82.856 + dllsearchpath=
82.857 + lib_search_path=`pwd`
82.858 + inst_prefix_dir=
82.859 +
82.860 + avoid_version=no
82.861 + dlfiles=
82.862 + dlprefiles=
82.863 + dlself=no
82.864 + export_dynamic=no
82.865 + export_symbols=
82.866 + export_symbols_regex=
82.867 + generated=
82.868 + libobjs=
82.869 + ltlibs=
82.870 + module=no
82.871 + no_install=no
82.872 + objs=
82.873 + non_pic_objects=
82.874 + prefer_static_libs=no
82.875 + preload=no
82.876 + prev=
82.877 + prevarg=
82.878 + release=
82.879 + rpath=
82.880 + xrpath=
82.881 + perm_rpath=
82.882 + temp_rpath=
82.883 + thread_safe=no
82.884 + vinfo=
82.885 + vinfo_number=no
82.886 +
82.887 + # We need to know -static, to get the right output filenames.
82.888 + for arg
82.889 + do
82.890 + case $arg in
82.891 + -all-static | -static)
82.892 + if test "X$arg" = "X-all-static"; then
82.893 + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
82.894 + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
82.895 + fi
82.896 + if test -n "$link_static_flag"; then
82.897 + dlopen_self=$dlopen_self_static
82.898 + fi
82.899 + else
82.900 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
82.901 + dlopen_self=$dlopen_self_static
82.902 + fi
82.903 + fi
82.904 + build_libtool_libs=no
82.905 + build_old_libs=yes
82.906 + prefer_static_libs=yes
82.907 + break
82.908 + ;;
82.909 + esac
82.910 + done
82.911 +
82.912 + # See if our shared archives depend on static archives.
82.913 + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
82.914 +
82.915 + # Go through the arguments, transforming them on the way.
82.916 + while test "$#" -gt 0; do
82.917 + arg="$1"
82.918 + base_compile="$base_compile $arg"
82.919 + shift
82.920 + case $arg in
82.921 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.922 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
82.923 + ;;
82.924 + *) qarg=$arg ;;
82.925 + esac
82.926 + libtool_args="$libtool_args $qarg"
82.927 +
82.928 + # If the previous option needs an argument, assign it.
82.929 + if test -n "$prev"; then
82.930 + case $prev in
82.931 + output)
82.932 + compile_command="$compile_command @OUTPUT@"
82.933 + finalize_command="$finalize_command @OUTPUT@"
82.934 + ;;
82.935 + esac
82.936 +
82.937 + case $prev in
82.938 + dlfiles|dlprefiles)
82.939 + if test "$preload" = no; then
82.940 + # Add the symbol object into the linking commands.
82.941 + compile_command="$compile_command @SYMFILE@"
82.942 + finalize_command="$finalize_command @SYMFILE@"
82.943 + preload=yes
82.944 + fi
82.945 + case $arg in
82.946 + *.la | *.lo) ;; # We handle these cases below.
82.947 + force)
82.948 + if test "$dlself" = no; then
82.949 + dlself=needless
82.950 + export_dynamic=yes
82.951 + fi
82.952 + prev=
82.953 + continue
82.954 + ;;
82.955 + self)
82.956 + if test "$prev" = dlprefiles; then
82.957 + dlself=yes
82.958 + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
82.959 + dlself=yes
82.960 + else
82.961 + dlself=needless
82.962 + export_dynamic=yes
82.963 + fi
82.964 + prev=
82.965 + continue
82.966 + ;;
82.967 + *)
82.968 + if test "$prev" = dlfiles; then
82.969 + dlfiles="$dlfiles $arg"
82.970 + else
82.971 + dlprefiles="$dlprefiles $arg"
82.972 + fi
82.973 + prev=
82.974 + continue
82.975 + ;;
82.976 + esac
82.977 + ;;
82.978 + expsyms)
82.979 + export_symbols="$arg"
82.980 + if test ! -f "$arg"; then
82.981 + $echo "$modename: symbol file \`$arg' does not exist"
82.982 + exit 1
82.983 + fi
82.984 + prev=
82.985 + continue
82.986 + ;;
82.987 + expsyms_regex)
82.988 + export_symbols_regex="$arg"
82.989 + prev=
82.990 + continue
82.991 + ;;
82.992 + inst_prefix)
82.993 + inst_prefix_dir="$arg"
82.994 + prev=
82.995 + continue
82.996 + ;;
82.997 + release)
82.998 + release="-$arg"
82.999 + prev=
82.1000 + continue
82.1001 + ;;
82.1002 + objectlist)
82.1003 + if test -f "$arg"; then
82.1004 + save_arg=$arg
82.1005 + moreargs=
82.1006 + for fil in `cat $save_arg`
82.1007 + do
82.1008 +# moreargs="$moreargs $fil"
82.1009 + arg=$fil
82.1010 + # A libtool-controlled object.
82.1011 +
82.1012 + # Check to see that this really is a libtool object.
82.1013 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.1014 + pic_object=
82.1015 + non_pic_object=
82.1016 +
82.1017 + # Read the .lo file
82.1018 + # If there is no directory component, then add one.
82.1019 + case $arg in
82.1020 + */* | *\\*) . $arg ;;
82.1021 + *) . ./$arg ;;
82.1022 + esac
82.1023 +
82.1024 + if test -z "$pic_object" || \
82.1025 + test -z "$non_pic_object" ||
82.1026 + test "$pic_object" = none && \
82.1027 + test "$non_pic_object" = none; then
82.1028 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
82.1029 + exit 1
82.1030 + fi
82.1031 +
82.1032 + # Extract subdirectory from the argument.
82.1033 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
82.1034 + if test "X$xdir" = "X$arg"; then
82.1035 + xdir=
82.1036 + else
82.1037 + xdir="$xdir/"
82.1038 + fi
82.1039 +
82.1040 + if test "$pic_object" != none; then
82.1041 + # Prepend the subdirectory the object is found in.
82.1042 + pic_object="$xdir$pic_object"
82.1043 +
82.1044 + if test "$prev" = dlfiles; then
82.1045 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
82.1046 + dlfiles="$dlfiles $pic_object"
82.1047 + prev=
82.1048 + continue
82.1049 + else
82.1050 + # If libtool objects are unsupported, then we need to preload.
82.1051 + prev=dlprefiles
82.1052 + fi
82.1053 + fi
82.1054 +
82.1055 + # CHECK ME: I think I busted this. -Ossama
82.1056 + if test "$prev" = dlprefiles; then
82.1057 + # Preload the old-style object.
82.1058 + dlprefiles="$dlprefiles $pic_object"
82.1059 + prev=
82.1060 + fi
82.1061 +
82.1062 + # A PIC object.
82.1063 + libobjs="$libobjs $pic_object"
82.1064 + arg="$pic_object"
82.1065 + fi
82.1066 +
82.1067 + # Non-PIC object.
82.1068 + if test "$non_pic_object" != none; then
82.1069 + # Prepend the subdirectory the object is found in.
82.1070 + non_pic_object="$xdir$non_pic_object"
82.1071 +
82.1072 + # A standard non-PIC object
82.1073 + non_pic_objects="$non_pic_objects $non_pic_object"
82.1074 + if test -z "$pic_object" || test "$pic_object" = none ; then
82.1075 + arg="$non_pic_object"
82.1076 + fi
82.1077 + fi
82.1078 + else
82.1079 + # Only an error if not doing a dry-run.
82.1080 + if test -z "$run"; then
82.1081 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
82.1082 + exit 1
82.1083 + else
82.1084 + # Dry-run case.
82.1085 +
82.1086 + # Extract subdirectory from the argument.
82.1087 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
82.1088 + if test "X$xdir" = "X$arg"; then
82.1089 + xdir=
82.1090 + else
82.1091 + xdir="$xdir/"
82.1092 + fi
82.1093 +
82.1094 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
82.1095 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
82.1096 + libobjs="$libobjs $pic_object"
82.1097 + non_pic_objects="$non_pic_objects $non_pic_object"
82.1098 + fi
82.1099 + fi
82.1100 + done
82.1101 + else
82.1102 + $echo "$modename: link input file \`$save_arg' does not exist"
82.1103 + exit 1
82.1104 + fi
82.1105 + arg=$save_arg
82.1106 + prev=
82.1107 + continue
82.1108 + ;;
82.1109 + rpath | xrpath)
82.1110 + # We need an absolute path.
82.1111 + case $arg in
82.1112 + [\\/]* | [A-Za-z]:[\\/]*) ;;
82.1113 + *)
82.1114 + $echo "$modename: only absolute run-paths are allowed" 1>&2
82.1115 + exit 1
82.1116 + ;;
82.1117 + esac
82.1118 + if test "$prev" = rpath; then
82.1119 + case "$rpath " in
82.1120 + *" $arg "*) ;;
82.1121 + *) rpath="$rpath $arg" ;;
82.1122 + esac
82.1123 + else
82.1124 + case "$xrpath " in
82.1125 + *" $arg "*) ;;
82.1126 + *) xrpath="$xrpath $arg" ;;
82.1127 + esac
82.1128 + fi
82.1129 + prev=
82.1130 + continue
82.1131 + ;;
82.1132 + xcompiler)
82.1133 + compiler_flags="$compiler_flags $qarg"
82.1134 + prev=
82.1135 + compile_command="$compile_command $qarg"
82.1136 + finalize_command="$finalize_command $qarg"
82.1137 + continue
82.1138 + ;;
82.1139 + xlinker)
82.1140 + linker_flags="$linker_flags $qarg"
82.1141 + compiler_flags="$compiler_flags $wl$qarg"
82.1142 + prev=
82.1143 + compile_command="$compile_command $wl$qarg"
82.1144 + finalize_command="$finalize_command $wl$qarg"
82.1145 + continue
82.1146 + ;;
82.1147 + xcclinker)
82.1148 + linker_flags="$linker_flags $qarg"
82.1149 + compiler_flags="$compiler_flags $qarg"
82.1150 + prev=
82.1151 + compile_command="$compile_command $qarg"
82.1152 + finalize_command="$finalize_command $qarg"
82.1153 + continue
82.1154 + ;;
82.1155 + *)
82.1156 + eval "$prev=\"\$arg\""
82.1157 + prev=
82.1158 + continue
82.1159 + ;;
82.1160 + esac
82.1161 + fi # test -n "$prev"
82.1162 +
82.1163 + prevarg="$arg"
82.1164 +
82.1165 + case $arg in
82.1166 + -all-static)
82.1167 + if test -n "$link_static_flag"; then
82.1168 + compile_command="$compile_command $link_static_flag"
82.1169 + finalize_command="$finalize_command $link_static_flag"
82.1170 + fi
82.1171 + continue
82.1172 + ;;
82.1173 +
82.1174 + -allow-undefined)
82.1175 + # FIXME: remove this flag sometime in the future.
82.1176 + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
82.1177 + continue
82.1178 + ;;
82.1179 +
82.1180 + -avoid-version)
82.1181 + avoid_version=yes
82.1182 + continue
82.1183 + ;;
82.1184 +
82.1185 + -dlopen)
82.1186 + prev=dlfiles
82.1187 + continue
82.1188 + ;;
82.1189 +
82.1190 + -dlpreopen)
82.1191 + prev=dlprefiles
82.1192 + continue
82.1193 + ;;
82.1194 +
82.1195 + -export-dynamic)
82.1196 + export_dynamic=yes
82.1197 + continue
82.1198 + ;;
82.1199 +
82.1200 + -export-symbols | -export-symbols-regex)
82.1201 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
82.1202 + $echo "$modename: more than one -exported-symbols argument is not allowed"
82.1203 + exit 1
82.1204 + fi
82.1205 + if test "X$arg" = "X-export-symbols"; then
82.1206 + prev=expsyms
82.1207 + else
82.1208 + prev=expsyms_regex
82.1209 + fi
82.1210 + continue
82.1211 + ;;
82.1212 +
82.1213 + -inst-prefix-dir)
82.1214 + prev=inst_prefix
82.1215 + continue
82.1216 + ;;
82.1217 +
82.1218 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
82.1219 + # so, if we see these flags be careful not to treat them like -L
82.1220 + -L[A-Z][A-Z]*:*)
82.1221 + case $with_gcc/$host in
82.1222 + no/*-*-irix* | /*-*-irix*)
82.1223 + compile_command="$compile_command $arg"
82.1224 + finalize_command="$finalize_command $arg"
82.1225 + ;;
82.1226 + esac
82.1227 + continue
82.1228 + ;;
82.1229 +
82.1230 + -L*)
82.1231 + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
82.1232 + # We need an absolute path.
82.1233 + case $dir in
82.1234 + [\\/]* | [A-Za-z]:[\\/]*) ;;
82.1235 + *)
82.1236 + absdir=`cd "$dir" && pwd`
82.1237 + if test -z "$absdir"; then
82.1238 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
82.1239 + exit 1
82.1240 + fi
82.1241 + dir="$absdir"
82.1242 + ;;
82.1243 + esac
82.1244 + case "$deplibs " in
82.1245 + *" -L$dir "*) ;;
82.1246 + *)
82.1247 + deplibs="$deplibs -L$dir"
82.1248 + lib_search_path="$lib_search_path $dir"
82.1249 + ;;
82.1250 + esac
82.1251 + case $host in
82.1252 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
82.1253 + case :$dllsearchpath: in
82.1254 + *":$dir:"*) ;;
82.1255 + *) dllsearchpath="$dllsearchpath:$dir";;
82.1256 + esac
82.1257 + ;;
82.1258 + esac
82.1259 + continue
82.1260 + ;;
82.1261 +
82.1262 + -l*)
82.1263 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
82.1264 + case $host in
82.1265 + *-*-cygwin* | *-*-pw32* | *-*-beos*)
82.1266 + # These systems don't actually have a C or math library (as such)
82.1267 + continue
82.1268 + ;;
82.1269 + *-*-freebsd*-gnu*)
82.1270 + # prevent being parsed by the freebsd regexp below
82.1271 + ;;
82.1272 + *-*-mingw* | *-*-os2*)
82.1273 + # These systems don't actually have a C library (as such)
82.1274 + test "X$arg" = "X-lc" && continue
82.1275 + ;;
82.1276 + *-*-openbsd* | *-*-freebsd*)
82.1277 + # Do not include libc due to us having libc/libc_r.
82.1278 + test "X$arg" = "X-lc" && continue
82.1279 + ;;
82.1280 + *-*-rhapsody* | *-*-darwin1.[012])
82.1281 + # Rhapsody C and math libraries are in the System framework
82.1282 + deplibs="$deplibs -framework System"
82.1283 + continue
82.1284 + esac
82.1285 + elif test "X$arg" = "X-lc_r"; then
82.1286 + case $host in
82.1287 + *-*-freebsd*-gnu*)
82.1288 + # prevent being parsed by the freebsd regexp below
82.1289 + ;;
82.1290 + *-*-openbsd*)
82.1291 + # Do not include libc_r directly, use -pthread flag.
82.1292 + continue
82.1293 + ;;
82.1294 + esac
82.1295 + fi
82.1296 + deplibs="$deplibs $arg"
82.1297 + continue
82.1298 + ;;
82.1299 +
82.1300 + -module)
82.1301 + module=yes
82.1302 + continue
82.1303 + ;;
82.1304 +
82.1305 + # gcc -m* arguments should be passed to the linker via $compiler_flags
82.1306 + # in order to pass architecture information to the linker
82.1307 + # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
82.1308 + # but this is not reliable with gcc because gcc may use -mfoo to
82.1309 + # select a different linker, different libraries, etc, while
82.1310 + # -Wl,-mfoo simply passes -mfoo to the linker.
82.1311 + -m*)
82.1312 + # Unknown arguments in both finalize_command and compile_command need
82.1313 + # to be aesthetically quoted because they are evaled later.
82.1314 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
82.1315 + case $arg in
82.1316 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.1317 + arg="\"$arg\""
82.1318 + ;;
82.1319 + esac
82.1320 + compile_command="$compile_command $arg"
82.1321 + finalize_command="$finalize_command $arg"
82.1322 + if test "$with_gcc" = "yes" ; then
82.1323 + compiler_flags="$compiler_flags $arg"
82.1324 + fi
82.1325 + continue
82.1326 + ;;
82.1327 +
82.1328 + -shrext)
82.1329 + prev=shrext
82.1330 + continue
82.1331 + ;;
82.1332 +
82.1333 + -no-fast-install)
82.1334 + fast_install=no
82.1335 + continue
82.1336 + ;;
82.1337 +
82.1338 + -no-install)
82.1339 + case $host in
82.1340 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
82.1341 + # The PATH hackery in wrapper scripts is required on Windows
82.1342 + # in order for the loader to find any dlls it needs.
82.1343 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
82.1344 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
82.1345 + fast_install=no
82.1346 + ;;
82.1347 + *) no_install=yes ;;
82.1348 + esac
82.1349 + continue
82.1350 + ;;
82.1351 +
82.1352 + -no-undefined)
82.1353 + allow_undefined=no
82.1354 + continue
82.1355 + ;;
82.1356 +
82.1357 + -objectlist)
82.1358 + prev=objectlist
82.1359 + continue
82.1360 + ;;
82.1361 +
82.1362 + -o) prev=output ;;
82.1363 +
82.1364 + -release)
82.1365 + prev=release
82.1366 + continue
82.1367 + ;;
82.1368 +
82.1369 + -rpath)
82.1370 + prev=rpath
82.1371 + continue
82.1372 + ;;
82.1373 +
82.1374 + -R)
82.1375 + prev=xrpath
82.1376 + continue
82.1377 + ;;
82.1378 +
82.1379 + -R*)
82.1380 + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
82.1381 + # We need an absolute path.
82.1382 + case $dir in
82.1383 + [\\/]* | [A-Za-z]:[\\/]*) ;;
82.1384 + *)
82.1385 + $echo "$modename: only absolute run-paths are allowed" 1>&2
82.1386 + exit 1
82.1387 + ;;
82.1388 + esac
82.1389 + case "$xrpath " in
82.1390 + *" $dir "*) ;;
82.1391 + *) xrpath="$xrpath $dir" ;;
82.1392 + esac
82.1393 + continue
82.1394 + ;;
82.1395 +
82.1396 + -static)
82.1397 + # The effects of -static are defined in a previous loop.
82.1398 + # We used to do the same as -all-static on platforms that
82.1399 + # didn't have a PIC flag, but the assumption that the effects
82.1400 + # would be equivalent was wrong. It would break on at least
82.1401 + # Digital Unix and AIX.
82.1402 + continue
82.1403 + ;;
82.1404 +
82.1405 + -thread-safe)
82.1406 + thread_safe=yes
82.1407 + continue
82.1408 + ;;
82.1409 +
82.1410 + -version-info)
82.1411 + prev=vinfo
82.1412 + continue
82.1413 + ;;
82.1414 + -version-number)
82.1415 + prev=vinfo
82.1416 + vinfo_number=yes
82.1417 + continue
82.1418 + ;;
82.1419 +
82.1420 + -Wc,*)
82.1421 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
82.1422 + arg=
82.1423 + save_ifs="$IFS"; IFS=','
82.1424 + for flag in $args; do
82.1425 + IFS="$save_ifs"
82.1426 + case $flag in
82.1427 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.1428 + flag="\"$flag\""
82.1429 + ;;
82.1430 + esac
82.1431 + arg="$arg $wl$flag"
82.1432 + compiler_flags="$compiler_flags $flag"
82.1433 + done
82.1434 + IFS="$save_ifs"
82.1435 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
82.1436 + ;;
82.1437 +
82.1438 + -Wl,*)
82.1439 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
82.1440 + arg=
82.1441 + save_ifs="$IFS"; IFS=','
82.1442 + for flag in $args; do
82.1443 + IFS="$save_ifs"
82.1444 + case $flag in
82.1445 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.1446 + flag="\"$flag\""
82.1447 + ;;
82.1448 + esac
82.1449 + arg="$arg $wl$flag"
82.1450 + compiler_flags="$compiler_flags $wl$flag"
82.1451 + linker_flags="$linker_flags $flag"
82.1452 + done
82.1453 + IFS="$save_ifs"
82.1454 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
82.1455 + ;;
82.1456 +
82.1457 + -Xcompiler)
82.1458 + prev=xcompiler
82.1459 + continue
82.1460 + ;;
82.1461 +
82.1462 + -Xlinker)
82.1463 + prev=xlinker
82.1464 + continue
82.1465 + ;;
82.1466 +
82.1467 + -XCClinker)
82.1468 + prev=xcclinker
82.1469 + continue
82.1470 + ;;
82.1471 +
82.1472 + # Some other compiler flag.
82.1473 + -* | +*)
82.1474 + # Unknown arguments in both finalize_command and compile_command need
82.1475 + # to be aesthetically quoted because they are evaled later.
82.1476 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
82.1477 + case $arg in
82.1478 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.1479 + arg="\"$arg\""
82.1480 + ;;
82.1481 + esac
82.1482 + add_flags="$add_flags $arg"
82.1483 + ;;
82.1484 +
82.1485 + *.$objext)
82.1486 + # A standard object.
82.1487 + objs="$objs $arg"
82.1488 + ;;
82.1489 +
82.1490 + *.lo)
82.1491 + # A libtool-controlled object.
82.1492 +
82.1493 + # Check to see that this really is a libtool object.
82.1494 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.1495 + pic_object=
82.1496 + non_pic_object=
82.1497 +
82.1498 + # Read the .lo file
82.1499 + # If there is no directory component, then add one.
82.1500 + case $arg in
82.1501 + */* | *\\*) . $arg ;;
82.1502 + *) . ./$arg ;;
82.1503 + esac
82.1504 +
82.1505 + if test -z "$pic_object" || \
82.1506 + test -z "$non_pic_object" ||
82.1507 + test "$pic_object" = none && \
82.1508 + test "$non_pic_object" = none; then
82.1509 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
82.1510 + exit 1
82.1511 + fi
82.1512 +
82.1513 + # Extract subdirectory from the argument.
82.1514 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
82.1515 + if test "X$xdir" = "X$arg"; then
82.1516 + xdir=
82.1517 + else
82.1518 + xdir="$xdir/"
82.1519 + fi
82.1520 +
82.1521 + if test "$pic_object" != none; then
82.1522 + # Prepend the subdirectory the object is found in.
82.1523 + pic_object="$xdir$pic_object"
82.1524 +
82.1525 + if test "$prev" = dlfiles; then
82.1526 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
82.1527 + dlfiles="$dlfiles $pic_object"
82.1528 + prev=
82.1529 + continue
82.1530 + else
82.1531 + # If libtool objects are unsupported, then we need to preload.
82.1532 + prev=dlprefiles
82.1533 + fi
82.1534 + fi
82.1535 +
82.1536 + # CHECK ME: I think I busted this. -Ossama
82.1537 + if test "$prev" = dlprefiles; then
82.1538 + # Preload the old-style object.
82.1539 + dlprefiles="$dlprefiles $pic_object"
82.1540 + prev=
82.1541 + fi
82.1542 +
82.1543 + # A PIC object.
82.1544 + libobjs="$libobjs $pic_object"
82.1545 + arg="$pic_object"
82.1546 + fi
82.1547 +
82.1548 + # Non-PIC object.
82.1549 + if test "$non_pic_object" != none; then
82.1550 + # Prepend the subdirectory the object is found in.
82.1551 + non_pic_object="$xdir$non_pic_object"
82.1552 +
82.1553 + # A standard non-PIC object
82.1554 + non_pic_objects="$non_pic_objects $non_pic_object"
82.1555 + if test -z "$pic_object" || test "$pic_object" = none ; then
82.1556 + arg="$non_pic_object"
82.1557 + fi
82.1558 + fi
82.1559 + else
82.1560 + # Only an error if not doing a dry-run.
82.1561 + if test -z "$run"; then
82.1562 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
82.1563 + exit 1
82.1564 + else
82.1565 + # Dry-run case.
82.1566 +
82.1567 + # Extract subdirectory from the argument.
82.1568 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
82.1569 + if test "X$xdir" = "X$arg"; then
82.1570 + xdir=
82.1571 + else
82.1572 + xdir="$xdir/"
82.1573 + fi
82.1574 +
82.1575 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
82.1576 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
82.1577 + libobjs="$libobjs $pic_object"
82.1578 + non_pic_objects="$non_pic_objects $non_pic_object"
82.1579 + fi
82.1580 + fi
82.1581 + ;;
82.1582 +
82.1583 + *.$libext)
82.1584 + # An archive.
82.1585 + deplibs="$deplibs $arg"
82.1586 + old_deplibs="$old_deplibs $arg"
82.1587 + continue
82.1588 + ;;
82.1589 +
82.1590 + *.la)
82.1591 + # A libtool-controlled library.
82.1592 +
82.1593 + if test "$prev" = dlfiles; then
82.1594 + # This library was specified with -dlopen.
82.1595 + dlfiles="$dlfiles $arg"
82.1596 + prev=
82.1597 + elif test "$prev" = dlprefiles; then
82.1598 + # The library was specified with -dlpreopen.
82.1599 + dlprefiles="$dlprefiles $arg"
82.1600 + prev=
82.1601 + else
82.1602 + deplibs="$deplibs $arg"
82.1603 + fi
82.1604 + continue
82.1605 + ;;
82.1606 +
82.1607 + # Some other compiler argument.
82.1608 + *)
82.1609 + # Unknown arguments in both finalize_command and compile_command need
82.1610 + # to be aesthetically quoted because they are evaled later.
82.1611 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
82.1612 + case $arg in
82.1613 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
82.1614 + arg="\"$arg\""
82.1615 + ;;
82.1616 + esac
82.1617 + add_flags="$add_flags $arg"
82.1618 + ;;
82.1619 + esac # arg
82.1620 +
82.1621 + # Now actually substitute the argument into the commands.
82.1622 + if test -n "$arg"; then
82.1623 + compile_command="$compile_command $arg"
82.1624 + finalize_command="$finalize_command $arg"
82.1625 + fi
82.1626 + done # argument parsing loop
82.1627 +
82.1628 + if test -n "$prev"; then
82.1629 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
82.1630 + $echo "$help" 1>&2
82.1631 + exit 1
82.1632 + fi
82.1633 +
82.1634 + # Infer tagged configuration to use if any are available and
82.1635 + # if one wasn't chosen via the "--tag" command line option.
82.1636 + # Only attempt this if the compiler in the base link
82.1637 + # command doesn't match the default compiler.
82.1638 + if test -n "$available_tags" && test -z "$tagname"; then
82.1639 + case $base_compile in
82.1640 + # Blanks in the command may have been stripped by the calling shell,
82.1641 + # but not from the CC environment variable when configure was run.
82.1642 + "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
82.1643 + # Blanks at the start of $base_compile will cause this to fail
82.1644 + # if we don't check for them as well.
82.1645 + *)
82.1646 + for z in $available_tags; do
82.1647 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
82.1648 + # Evaluate the configuration.
82.1649 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
82.1650 + case $base_compile in
82.1651 + "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
82.1652 + # The compiler in $compile_command matches
82.1653 + # the one in the tagged configuration.
82.1654 + # Assume this is the tagged configuration we want.
82.1655 + tagname=$z
82.1656 + break
82.1657 + ;;
82.1658 + esac
82.1659 + fi
82.1660 + done
82.1661 + # If $tagname still isn't set, then no tagged configuration
82.1662 + # was found and let the user know that the "--tag" command
82.1663 + # line option must be used.
82.1664 + if test -z "$tagname"; then
82.1665 + $echo "$modename: unable to infer tagged configuration"
82.1666 + $echo "$modename: specify a tag with \`--tag'" 1>&2
82.1667 + exit 1
82.1668 +# else
82.1669 +# $echo "$modename: using $tagname tagged configuration"
82.1670 + fi
82.1671 + ;;
82.1672 + esac
82.1673 + fi
82.1674 +
82.1675 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
82.1676 + eval arg=\"$export_dynamic_flag_spec\"
82.1677 + compile_command="$compile_command $arg"
82.1678 + finalize_command="$finalize_command $arg"
82.1679 + fi
82.1680 +
82.1681 + oldlibs=
82.1682 + # calculate the name of the file, without its directory
82.1683 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
82.1684 + libobjs_save="$libobjs"
82.1685 +
82.1686 + if test -n "$shlibpath_var"; then
82.1687 + # get the directories listed in $shlibpath_var
82.1688 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
82.1689 + else
82.1690 + shlib_search_path=
82.1691 + fi
82.1692 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
82.1693 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
82.1694 +
82.1695 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
82.1696 + if test "X$output_objdir" = "X$output"; then
82.1697 + output_objdir="$objdir"
82.1698 + else
82.1699 + output_objdir="$output_objdir/$objdir"
82.1700 + fi
82.1701 + # Create the object directory.
82.1702 + if test ! -d "$output_objdir"; then
82.1703 + $show "$mkdir $output_objdir"
82.1704 + $run $mkdir $output_objdir
82.1705 + status=$?
82.1706 + if test "$status" -ne 0 && test ! -d "$output_objdir"; then
82.1707 + exit $status
82.1708 + fi
82.1709 + fi
82.1710 +
82.1711 + # Determine the type of output
82.1712 + case $output in
82.1713 + "")
82.1714 + $echo "$modename: you must specify an output file" 1>&2
82.1715 + $echo "$help" 1>&2
82.1716 + exit 1
82.1717 + ;;
82.1718 + *.$libext) linkmode=oldlib ;;
82.1719 + *.lo | *.$objext) linkmode=obj ;;
82.1720 + *.la) linkmode=lib ;;
82.1721 + *) linkmode=prog ;; # Anything else should be a program.
82.1722 + esac
82.1723 +
82.1724 + case $host in
82.1725 + *cygwin* | *mingw* | *pw32*)
82.1726 + # don't eliminate duplcations in $postdeps and $predeps
82.1727 + duplicate_compiler_generated_deps=yes
82.1728 + ;;
82.1729 + *)
82.1730 + duplicate_compiler_generated_deps=$duplicate_deps
82.1731 + ;;
82.1732 + esac
82.1733 + specialdeplibs=
82.1734 +
82.1735 + libs=
82.1736 + # Find all interdependent deplibs by searching for libraries
82.1737 + # that are linked more than once (e.g. -la -lb -la)
82.1738 + for deplib in $deplibs; do
82.1739 + if test "X$duplicate_deps" = "Xyes" ; then
82.1740 + case "$libs " in
82.1741 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
82.1742 + esac
82.1743 + fi
82.1744 + libs="$libs $deplib"
82.1745 + done
82.1746 +
82.1747 + if test "$linkmode" = lib; then
82.1748 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
82.1749 +
82.1750 + # Compute libraries that are listed more than once in $predeps
82.1751 + # $postdeps and mark them as special (i.e., whose duplicates are
82.1752 + # not to be eliminated).
82.1753 + pre_post_deps=
82.1754 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
82.1755 + for pre_post_dep in $predeps $postdeps; do
82.1756 + case "$pre_post_deps " in
82.1757 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
82.1758 + esac
82.1759 + pre_post_deps="$pre_post_deps $pre_post_dep"
82.1760 + done
82.1761 + fi
82.1762 + pre_post_deps=
82.1763 + fi
82.1764 +
82.1765 + deplibs=
82.1766 + newdependency_libs=
82.1767 + newlib_search_path=
82.1768 + need_relink=no # whether we're linking any uninstalled libtool libraries
82.1769 + notinst_deplibs= # not-installed libtool libraries
82.1770 + notinst_path= # paths that contain not-installed libtool libraries
82.1771 + case $linkmode in
82.1772 + lib)
82.1773 + passes="conv link"
82.1774 + for file in $dlfiles $dlprefiles; do
82.1775 + case $file in
82.1776 + *.la) ;;
82.1777 + *)
82.1778 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
82.1779 + exit 1
82.1780 + ;;
82.1781 + esac
82.1782 + done
82.1783 + ;;
82.1784 + prog)
82.1785 + compile_deplibs=
82.1786 + finalize_deplibs=
82.1787 + alldeplibs=no
82.1788 + newdlfiles=
82.1789 + newdlprefiles=
82.1790 + passes="conv scan dlopen dlpreopen link"
82.1791 + ;;
82.1792 + *) passes="conv"
82.1793 + ;;
82.1794 + esac
82.1795 + for pass in $passes; do
82.1796 + if test "$linkmode,$pass" = "lib,link" ||
82.1797 + test "$linkmode,$pass" = "prog,scan"; then
82.1798 + libs="$deplibs"
82.1799 + deplibs=
82.1800 + fi
82.1801 + if test "$linkmode" = prog; then
82.1802 + case $pass in
82.1803 + dlopen) libs="$dlfiles" ;;
82.1804 + dlpreopen) libs="$dlprefiles" ;;
82.1805 + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
82.1806 + esac
82.1807 + fi
82.1808 + if test "$pass" = dlopen; then
82.1809 + # Collect dlpreopened libraries
82.1810 + save_deplibs="$deplibs"
82.1811 + deplibs=
82.1812 + fi
82.1813 + for deplib in $libs; do
82.1814 + lib=
82.1815 + found=no
82.1816 + case $deplib in
82.1817 + -l*)
82.1818 + if test "$linkmode" != lib && test "$linkmode" != prog; then
82.1819 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
82.1820 + continue
82.1821 + fi
82.1822 + if test "$pass" = conv && test "$allow_undefined" = yes; then
82.1823 + deplibs="$deplib $deplibs"
82.1824 + continue
82.1825 + fi
82.1826 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
82.1827 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
82.1828 + for search_ext in .la $shrext .so .a; do
82.1829 + # Search the libtool library
82.1830 + lib="$searchdir/lib${name}${search_ext}"
82.1831 + if test -f "$lib"; then
82.1832 + if test "$search_ext" = ".la"; then
82.1833 + found=yes
82.1834 + else
82.1835 + found=no
82.1836 + fi
82.1837 + break 2
82.1838 + fi
82.1839 + done
82.1840 + done
82.1841 + if test "$found" != yes; then
82.1842 + # deplib doesn't seem to be a libtool library
82.1843 + if test "$linkmode,$pass" = "prog,link"; then
82.1844 + compile_deplibs="$deplib $compile_deplibs"
82.1845 + finalize_deplibs="$deplib $finalize_deplibs"
82.1846 + else
82.1847 + deplibs="$deplib $deplibs"
82.1848 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
82.1849 + fi
82.1850 + continue
82.1851 + else # deplib is a libtool library
82.1852 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
82.1853 + # We need to do some special things here, and not later.
82.1854 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.1855 + case " $predeps $postdeps " in
82.1856 + *" $deplib "*)
82.1857 + if (${SED} -e '2q' $lib |
82.1858 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.1859 + library_names=
82.1860 + old_library=
82.1861 + case $lib in
82.1862 + */* | *\\*) . $lib ;;
82.1863 + *) . ./$lib ;;
82.1864 + esac
82.1865 + for l in $old_library $library_names; do
82.1866 + ll="$l"
82.1867 + done
82.1868 + if test "X$ll" = "X$old_library" ; then # only static version available
82.1869 + found=no
82.1870 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
82.1871 + test "X$ladir" = "X$lib" && ladir="."
82.1872 + lib=$ladir/$old_library
82.1873 + if test "$linkmode,$pass" = "prog,link"; then
82.1874 + compile_deplibs="$deplib $compile_deplibs"
82.1875 + finalize_deplibs="$deplib $finalize_deplibs"
82.1876 + else
82.1877 + deplibs="$deplib $deplibs"
82.1878 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
82.1879 + fi
82.1880 + continue
82.1881 + fi
82.1882 + fi
82.1883 + ;;
82.1884 + *) ;;
82.1885 + esac
82.1886 + fi
82.1887 + fi
82.1888 + ;; # -l
82.1889 + -L*)
82.1890 + case $linkmode in
82.1891 + lib)
82.1892 + deplibs="$deplib $deplibs"
82.1893 + test "$pass" = conv && continue
82.1894 + newdependency_libs="$deplib $newdependency_libs"
82.1895 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
82.1896 + ;;
82.1897 + prog)
82.1898 + if test "$pass" = conv; then
82.1899 + deplibs="$deplib $deplibs"
82.1900 + continue
82.1901 + fi
82.1902 + if test "$pass" = scan; then
82.1903 + deplibs="$deplib $deplibs"
82.1904 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
82.1905 + else
82.1906 + compile_deplibs="$deplib $compile_deplibs"
82.1907 + finalize_deplibs="$deplib $finalize_deplibs"
82.1908 + fi
82.1909 + ;;
82.1910 + *)
82.1911 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
82.1912 + ;;
82.1913 + esac # linkmode
82.1914 + continue
82.1915 + ;; # -L
82.1916 + -R*)
82.1917 + if test "$pass" = link; then
82.1918 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
82.1919 + # Make sure the xrpath contains only unique directories.
82.1920 + case "$xrpath " in
82.1921 + *" $dir "*) ;;
82.1922 + *) xrpath="$xrpath $dir" ;;
82.1923 + esac
82.1924 + fi
82.1925 + deplibs="$deplib $deplibs"
82.1926 + continue
82.1927 + ;;
82.1928 + *.la) lib="$deplib" ;;
82.1929 + *.$libext)
82.1930 + if test "$pass" = conv; then
82.1931 + deplibs="$deplib $deplibs"
82.1932 + continue
82.1933 + fi
82.1934 + case $linkmode in
82.1935 + lib)
82.1936 + if test "$deplibs_check_method" != pass_all; then
82.1937 + $echo
82.1938 + $echo "*** Warning: Trying to link with static lib archive $deplib."
82.1939 + $echo "*** I have the capability to make that library automatically link in when"
82.1940 + $echo "*** you link to this library. But I can only do this if you have a"
82.1941 + $echo "*** shared version of the library, which you do not appear to have"
82.1942 + $echo "*** because the file extensions .$libext of this argument makes me believe"
82.1943 + $echo "*** that it is just a static archive that I should not used here."
82.1944 + else
82.1945 + $echo
82.1946 + $echo "*** Warning: Linking the shared library $output against the"
82.1947 + $echo "*** static library $deplib is not portable!"
82.1948 + deplibs="$deplib $deplibs"
82.1949 + fi
82.1950 + continue
82.1951 + ;;
82.1952 + prog)
82.1953 + if test "$pass" != link; then
82.1954 + deplibs="$deplib $deplibs"
82.1955 + else
82.1956 + compile_deplibs="$deplib $compile_deplibs"
82.1957 + finalize_deplibs="$deplib $finalize_deplibs"
82.1958 + fi
82.1959 + continue
82.1960 + ;;
82.1961 + esac # linkmode
82.1962 + ;; # *.$libext
82.1963 + *.lo | *.$objext)
82.1964 + if test "$pass" = conv; then
82.1965 + deplibs="$deplib $deplibs"
82.1966 + elif test "$linkmode" = prog; then
82.1967 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
82.1968 + # If there is no dlopen support or we're linking statically,
82.1969 + # we need to preload.
82.1970 + newdlprefiles="$newdlprefiles $deplib"
82.1971 + compile_deplibs="$deplib $compile_deplibs"
82.1972 + finalize_deplibs="$deplib $finalize_deplibs"
82.1973 + else
82.1974 + newdlfiles="$newdlfiles $deplib"
82.1975 + fi
82.1976 + fi
82.1977 + continue
82.1978 + ;;
82.1979 + %DEPLIBS%)
82.1980 + alldeplibs=yes
82.1981 + continue
82.1982 + ;;
82.1983 + esac # case $deplib
82.1984 + if test "$found" = yes || test -f "$lib"; then :
82.1985 + else
82.1986 + $echo "$modename: cannot find the library \`$lib'" 1>&2
82.1987 + exit 1
82.1988 + fi
82.1989 +
82.1990 + # Check to see that this really is a libtool archive.
82.1991 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
82.1992 + else
82.1993 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
82.1994 + exit 1
82.1995 + fi
82.1996 +
82.1997 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
82.1998 + test "X$ladir" = "X$lib" && ladir="."
82.1999 +
82.2000 + dlname=
82.2001 + dlopen=
82.2002 + dlpreopen=
82.2003 + libdir=
82.2004 + library_names=
82.2005 + old_library=
82.2006 + # If the library was installed with an old release of libtool,
82.2007 + # it will not redefine variables installed, or shouldnotlink
82.2008 + installed=yes
82.2009 + shouldnotlink=no
82.2010 +
82.2011 + # Read the .la file
82.2012 + case $lib in
82.2013 + */* | *\\*) . $lib ;;
82.2014 + *) . ./$lib ;;
82.2015 + esac
82.2016 +
82.2017 + if test "$linkmode,$pass" = "lib,link" ||
82.2018 + test "$linkmode,$pass" = "prog,scan" ||
82.2019 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
82.2020 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
82.2021 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
82.2022 + fi
82.2023 +
82.2024 + if test "$pass" = conv; then
82.2025 + # Only check for convenience libraries
82.2026 + deplibs="$lib $deplibs"
82.2027 + tmp_libs=
82.2028 + for deplib in $dependency_libs; do
82.2029 + #echo "Adding $deplib to \$deplibs"
82.2030 + deplibs="$deplib $deplibs"
82.2031 + if test "X$duplicate_deps" = "Xyes" ; then
82.2032 + case "$tmp_libs " in
82.2033 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
82.2034 + esac
82.2035 + fi
82.2036 + tmp_libs="$tmp_libs $deplib"
82.2037 + done
82.2038 + if test -z "$libdir"; then
82.2039 + if test -z "$old_library"; then
82.2040 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
82.2041 + exit 1
82.2042 + fi
82.2043 + # It is a libtool convenience library, so add in its objects.
82.2044 + convenience="$convenience $ladir/$objdir/$old_library"
82.2045 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
82.2046 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
82.2047 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
82.2048 + exit 1
82.2049 + fi
82.2050 + continue
82.2051 + fi # $pass = conv
82.2052 +
82.2053 +
82.2054 + # Get the name of the library we link against.
82.2055 + linklib=
82.2056 + for l in $old_library $library_names; do
82.2057 + linklib="$l"
82.2058 + done
82.2059 + if test -z "$linklib"; then
82.2060 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
82.2061 + exit 1
82.2062 + fi
82.2063 +
82.2064 + # This library was specified with -dlopen.
82.2065 + if test "$pass" = dlopen; then
82.2066 + if test -z "$libdir"; then
82.2067 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
82.2068 + exit 1
82.2069 + fi
82.2070 + if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
82.2071 + # If there is no dlname, no dlopen support or we're linking
82.2072 + # statically, we need to preload. We also need to preload any
82.2073 + # dependent libraries so libltdl's deplib preloader doesn't
82.2074 + # bomb out in the load deplibs phase.
82.2075 + dlprefiles="$dlprefiles $lib $dependency_libs"
82.2076 + else
82.2077 + newdlfiles="$newdlfiles $lib"
82.2078 + fi
82.2079 + continue
82.2080 + fi # $pass = dlopen
82.2081 +
82.2082 + # We need an absolute path.
82.2083 + case $ladir in
82.2084 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
82.2085 + *)
82.2086 + abs_ladir=`cd "$ladir" && pwd`
82.2087 + if test -z "$abs_ladir"; then
82.2088 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
82.2089 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
82.2090 + abs_ladir="$ladir"
82.2091 + fi
82.2092 + ;;
82.2093 + esac
82.2094 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
82.2095 +
82.2096 + # Find the relevant object directory and library name.
82.2097 + if test "X$installed" = Xyes; then
82.2098 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
82.2099 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
82.2100 + dir="$ladir"
82.2101 + absdir="$abs_ladir"
82.2102 + libdir="$abs_ladir"
82.2103 + else
82.2104 + dir="$libdir"
82.2105 + absdir="$libdir"
82.2106 + fi
82.2107 + else
82.2108 + dir="$ladir/$objdir"
82.2109 + absdir="$abs_ladir/$objdir"
82.2110 + # Remove this search path later
82.2111 + notinst_path="$notinst_path $abs_ladir"
82.2112 + fi # $installed = yes
82.2113 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
82.2114 +
82.2115 + # This library was specified with -dlpreopen.
82.2116 + if test "$pass" = dlpreopen; then
82.2117 + if test -z "$libdir"; then
82.2118 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
82.2119 + exit 1
82.2120 + fi
82.2121 + # Prefer using a static library (so that no silly _DYNAMIC symbols
82.2122 + # are required to link).
82.2123 + if test -n "$old_library"; then
82.2124 + newdlprefiles="$newdlprefiles $dir/$old_library"
82.2125 + # Otherwise, use the dlname, so that lt_dlopen finds it.
82.2126 + elif test -n "$dlname"; then
82.2127 + newdlprefiles="$newdlprefiles $dir/$dlname"
82.2128 + else
82.2129 + newdlprefiles="$newdlprefiles $dir/$linklib"
82.2130 + fi
82.2131 + fi # $pass = dlpreopen
82.2132 +
82.2133 + if test -z "$libdir"; then
82.2134 + # Link the convenience library
82.2135 + if test "$linkmode" = lib; then
82.2136 + deplibs="$dir/$old_library $deplibs"
82.2137 + elif test "$linkmode,$pass" = "prog,link"; then
82.2138 + compile_deplibs="$dir/$old_library $compile_deplibs"
82.2139 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
82.2140 + else
82.2141 + deplibs="$lib $deplibs" # used for prog,scan pass
82.2142 + fi
82.2143 + continue
82.2144 + fi
82.2145 +
82.2146 +
82.2147 + if test "$linkmode" = prog && test "$pass" != link; then
82.2148 + newlib_search_path="$newlib_search_path $ladir"
82.2149 + deplibs="$lib $deplibs"
82.2150 +
82.2151 + linkalldeplibs=no
82.2152 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
82.2153 + test "$build_libtool_libs" = no; then
82.2154 + linkalldeplibs=yes
82.2155 + fi
82.2156 +
82.2157 + tmp_libs=
82.2158 + for deplib in $dependency_libs; do
82.2159 + case $deplib in
82.2160 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
82.2161 + esac
82.2162 + # Need to link against all dependency_libs?
82.2163 + if test "$linkalldeplibs" = yes; then
82.2164 + deplibs="$deplib $deplibs"
82.2165 + else
82.2166 + # Need to hardcode shared library paths
82.2167 + # or/and link against static libraries
82.2168 + newdependency_libs="$deplib $newdependency_libs"
82.2169 + fi
82.2170 + if test "X$duplicate_deps" = "Xyes" ; then
82.2171 + case "$tmp_libs " in
82.2172 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
82.2173 + esac
82.2174 + fi
82.2175 + tmp_libs="$tmp_libs $deplib"
82.2176 + done # for deplib
82.2177 + continue
82.2178 + fi # $linkmode = prog...
82.2179 +
82.2180 + if test "$linkmode,$pass" = "prog,link"; then
82.2181 + if test -n "$library_names" &&
82.2182 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
82.2183 + # We need to hardcode the library path
82.2184 + if test -n "$shlibpath_var"; then
82.2185 + # Make sure the rpath contains only unique directories.
82.2186 + case "$temp_rpath " in
82.2187 + *" $dir "*) ;;
82.2188 + *" $absdir "*) ;;
82.2189 + *) temp_rpath="$temp_rpath $dir" ;;
82.2190 + esac
82.2191 + fi
82.2192 +
82.2193 + # Hardcode the library path.
82.2194 + # Skip directories that are in the system default run-time
82.2195 + # search path.
82.2196 + case " $sys_lib_dlsearch_path " in
82.2197 + *" $absdir "*) ;;
82.2198 + *)
82.2199 + case "$compile_rpath " in
82.2200 + *" $absdir "*) ;;
82.2201 + *) compile_rpath="$compile_rpath $absdir"
82.2202 + esac
82.2203 + ;;
82.2204 + esac
82.2205 + case " $sys_lib_dlsearch_path " in
82.2206 + *" $libdir "*) ;;
82.2207 + *)
82.2208 + case "$finalize_rpath " in
82.2209 + *" $libdir "*) ;;
82.2210 + *) finalize_rpath="$finalize_rpath $libdir"
82.2211 + esac
82.2212 + ;;
82.2213 + esac
82.2214 + fi # $linkmode,$pass = prog,link...
82.2215 +
82.2216 + if test "$alldeplibs" = yes &&
82.2217 + { test "$deplibs_check_method" = pass_all ||
82.2218 + { test "$build_libtool_libs" = yes &&
82.2219 + test -n "$library_names"; }; }; then
82.2220 + # We only need to search for static libraries
82.2221 + continue
82.2222 + fi
82.2223 + fi
82.2224 +
82.2225 + link_static=no # Whether the deplib will be linked statically
82.2226 + if test -n "$library_names" &&
82.2227 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
82.2228 + if test "$installed" = no; then
82.2229 + notinst_deplibs="$notinst_deplibs $lib"
82.2230 + need_relink=yes
82.2231 + fi
82.2232 + # This is a shared library
82.2233 +
82.2234 + # Warn about portability, can't link against -module's on some systems (darwin)
82.2235 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
82.2236 + $echo
82.2237 + if test "$linkmode" = prog; then
82.2238 + $echo "*** Warning: Linking the executable $output against the loadable module"
82.2239 + else
82.2240 + $echo "*** Warning: Linking the shared library $output against the loadable module"
82.2241 + fi
82.2242 + $echo "*** $linklib is not portable!"
82.2243 + fi
82.2244 + if test "$linkmode" = lib &&
82.2245 + test "$hardcode_into_libs" = yes; then
82.2246 + # Hardcode the library path.
82.2247 + # Skip directories that are in the system default run-time
82.2248 + # search path.
82.2249 + case " $sys_lib_dlsearch_path " in
82.2250 + *" $absdir "*) ;;
82.2251 + *)
82.2252 + case "$compile_rpath " in
82.2253 + *" $absdir "*) ;;
82.2254 + *) compile_rpath="$compile_rpath $absdir"
82.2255 + esac
82.2256 + ;;
82.2257 + esac
82.2258 + case " $sys_lib_dlsearch_path " in
82.2259 + *" $libdir "*) ;;
82.2260 + *)
82.2261 + case "$finalize_rpath " in
82.2262 + *" $libdir "*) ;;
82.2263 + *) finalize_rpath="$finalize_rpath $libdir"
82.2264 + esac
82.2265 + ;;
82.2266 + esac
82.2267 + fi
82.2268 +
82.2269 + if test -n "$old_archive_from_expsyms_cmds"; then
82.2270 + # figure out the soname
82.2271 + set dummy $library_names
82.2272 + realname="$2"
82.2273 + shift; shift
82.2274 + libname=`eval \\$echo \"$libname_spec\"`
82.2275 + # use dlname if we got it. it's perfectly good, no?
82.2276 + if test -n "$dlname"; then
82.2277 + soname="$dlname"
82.2278 + elif test -n "$soname_spec"; then
82.2279 + # bleh windows
82.2280 + case $host in
82.2281 + *cygwin* | mingw*)
82.2282 + major=`expr $current - $age`
82.2283 + versuffix="-$major"
82.2284 + ;;
82.2285 + esac
82.2286 + eval soname=\"$soname_spec\"
82.2287 + else
82.2288 + soname="$realname"
82.2289 + fi
82.2290 +
82.2291 + # Make a new name for the extract_expsyms_cmds to use
82.2292 + soroot="$soname"
82.2293 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
82.2294 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
82.2295 +
82.2296 + # If the library has no export list, then create one now
82.2297 + if test -f "$output_objdir/$soname-def"; then :
82.2298 + else
82.2299 + $show "extracting exported symbol list from \`$soname'"
82.2300 + save_ifs="$IFS"; IFS='~'
82.2301 + eval cmds=\"$extract_expsyms_cmds\"
82.2302 + for cmd in $cmds; do
82.2303 + IFS="$save_ifs"
82.2304 + $show "$cmd"
82.2305 + $run eval "$cmd" || exit $?
82.2306 + done
82.2307 + IFS="$save_ifs"
82.2308 + fi
82.2309 +
82.2310 + # Create $newlib
82.2311 + if test -f "$output_objdir/$newlib"; then :; else
82.2312 + $show "generating import library for \`$soname'"
82.2313 + save_ifs="$IFS"; IFS='~'
82.2314 + eval cmds=\"$old_archive_from_expsyms_cmds\"
82.2315 + for cmd in $cmds; do
82.2316 + IFS="$save_ifs"
82.2317 + $show "$cmd"
82.2318 + $run eval "$cmd" || exit $?
82.2319 + done
82.2320 + IFS="$save_ifs"
82.2321 + fi
82.2322 + # make sure the library variables are pointing to the new library
82.2323 + dir=$output_objdir
82.2324 + linklib=$newlib
82.2325 + fi # test -n "$old_archive_from_expsyms_cmds"
82.2326 +
82.2327 + if test "$linkmode" = prog || test "$mode" != relink; then
82.2328 + add_shlibpath=
82.2329 + add_dir=
82.2330 + add=
82.2331 + lib_linked=yes
82.2332 + case $hardcode_action in
82.2333 + immediate | unsupported)
82.2334 + if test "$hardcode_direct" = no; then
82.2335 + add="$dir/$linklib"
82.2336 + case $host in
82.2337 + *-*-sco3.2v5* ) add_dir="-L$dir" ;;
82.2338 + *-*-darwin* )
82.2339 + # if the lib is a module then we can not link against it, someone
82.2340 + # is ignoring the new warnings I added
82.2341 + if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
82.2342 + $echo "** Warning, lib $linklib is a module, not a shared library"
82.2343 + if test -z "$old_library" ; then
82.2344 + $echo
82.2345 + $echo "** And there doesn't seem to be a static archive available"
82.2346 + $echo "** The link will probably fail, sorry"
82.2347 + else
82.2348 + add="$dir/$old_library"
82.2349 + fi
82.2350 + fi
82.2351 + esac
82.2352 + elif test "$hardcode_minus_L" = no; then
82.2353 + case $host in
82.2354 + *-*-sunos*) add_shlibpath="$dir" ;;
82.2355 + esac
82.2356 + add_dir="-L$dir"
82.2357 + add="-l$name"
82.2358 + elif test "$hardcode_shlibpath_var" = no; then
82.2359 + add_shlibpath="$dir"
82.2360 + add="-l$name"
82.2361 + else
82.2362 + lib_linked=no
82.2363 + fi
82.2364 + ;;
82.2365 + relink)
82.2366 + if test "$hardcode_direct" = yes; then
82.2367 + add="$dir/$linklib"
82.2368 + elif test "$hardcode_minus_L" = yes; then
82.2369 + add_dir="-L$dir"
82.2370 + # Try looking first in the location we're being installed to.
82.2371 + if test -n "$inst_prefix_dir"; then
82.2372 + case "$libdir" in
82.2373 + [\\/]*)
82.2374 + add_dir="-L$inst_prefix_dir$libdir $add_dir"
82.2375 + ;;
82.2376 + esac
82.2377 + fi
82.2378 + add="-l$name"
82.2379 + elif test "$hardcode_shlibpath_var" = yes; then
82.2380 + add_shlibpath="$dir"
82.2381 + add="-l$name"
82.2382 + else
82.2383 + lib_linked=no
82.2384 + fi
82.2385 + ;;
82.2386 + *) lib_linked=no ;;
82.2387 + esac
82.2388 +
82.2389 + if test "$lib_linked" != yes; then
82.2390 + $echo "$modename: configuration error: unsupported hardcode properties"
82.2391 + exit 1
82.2392 + fi
82.2393 +
82.2394 + if test -n "$add_shlibpath"; then
82.2395 + case :$compile_shlibpath: in
82.2396 + *":$add_shlibpath:"*) ;;
82.2397 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
82.2398 + esac
82.2399 + fi
82.2400 + if test "$linkmode" = prog; then
82.2401 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
82.2402 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
82.2403 + else
82.2404 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
82.2405 + test -n "$add" && deplibs="$add $deplibs"
82.2406 + if test "$hardcode_direct" != yes && \
82.2407 + test "$hardcode_minus_L" != yes && \
82.2408 + test "$hardcode_shlibpath_var" = yes; then
82.2409 + case :$finalize_shlibpath: in
82.2410 + *":$libdir:"*) ;;
82.2411 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
82.2412 + esac
82.2413 + fi
82.2414 + fi
82.2415 + fi
82.2416 +
82.2417 + if test "$linkmode" = prog || test "$mode" = relink; then
82.2418 + add_shlibpath=
82.2419 + add_dir=
82.2420 + add=
82.2421 + # Finalize command for both is simple: just hardcode it.
82.2422 + if test "$hardcode_direct" = yes; then
82.2423 + add="$libdir/$linklib"
82.2424 + elif test "$hardcode_minus_L" = yes; then
82.2425 + add_dir="-L$libdir"
82.2426 + add="-l$name"
82.2427 + elif test "$hardcode_shlibpath_var" = yes; then
82.2428 + case :$finalize_shlibpath: in
82.2429 + *":$libdir:"*) ;;
82.2430 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
82.2431 + esac
82.2432 + add="-l$name"
82.2433 + elif test "$hardcode_automatic" = yes; then
82.2434 + if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
82.2435 + add="$inst_prefix_dir$libdir/$linklib"
82.2436 + else
82.2437 + add="$libdir/$linklib"
82.2438 + fi
82.2439 + else
82.2440 + # We cannot seem to hardcode it, guess we'll fake it.
82.2441 + add_dir="-L$libdir"
82.2442 + # Try looking first in the location we're being installed to.
82.2443 + if test -n "$inst_prefix_dir"; then
82.2444 + case "$libdir" in
82.2445 + [\\/]*)
82.2446 + add_dir="-L$inst_prefix_dir$libdir $add_dir"
82.2447 + ;;
82.2448 + esac
82.2449 + fi
82.2450 + add="-l$name"
82.2451 + fi
82.2452 +
82.2453 + if test "$linkmode" = prog; then
82.2454 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
82.2455 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
82.2456 + else
82.2457 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
82.2458 + test -n "$add" && deplibs="$add $deplibs"
82.2459 + fi
82.2460 + fi
82.2461 + elif test "$linkmode" = prog; then
82.2462 + # Here we assume that one of hardcode_direct or hardcode_minus_L
82.2463 + # is not unsupported. This is valid on all known static and
82.2464 + # shared platforms.
82.2465 + if test "$hardcode_direct" != unsupported; then
82.2466 + test -n "$old_library" && linklib="$old_library"
82.2467 + compile_deplibs="$dir/$linklib $compile_deplibs"
82.2468 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
82.2469 + else
82.2470 + compile_deplibs="-l$name -L$dir $compile_deplibs"
82.2471 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
82.2472 + fi
82.2473 + elif test "$build_libtool_libs" = yes; then
82.2474 + # Not a shared library
82.2475 + if test "$deplibs_check_method" != pass_all; then
82.2476 + # We're trying link a shared library against a static one
82.2477 + # but the system doesn't support it.
82.2478 +
82.2479 + # Just print a warning and add the library to dependency_libs so
82.2480 + # that the program can be linked against the static library.
82.2481 + $echo
82.2482 + $echo "*** Warning: This system can not link to static lib archive $lib."
82.2483 + $echo "*** I have the capability to make that library automatically link in when"
82.2484 + $echo "*** you link to this library. But I can only do this if you have a"
82.2485 + $echo "*** shared version of the library, which you do not appear to have."
82.2486 + if test "$module" = yes; then
82.2487 + $echo "*** But as you try to build a module library, libtool will still create "
82.2488 + $echo "*** a static module, that should work as long as the dlopening application"
82.2489 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
82.2490 + if test -z "$global_symbol_pipe"; then
82.2491 + $echo
82.2492 + $echo "*** However, this would only work if libtool was able to extract symbol"
82.2493 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
82.2494 + $echo "*** not find such a program. So, this module is probably useless."
82.2495 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
82.2496 + fi
82.2497 + if test "$build_old_libs" = no; then
82.2498 + build_libtool_libs=module
82.2499 + build_old_libs=yes
82.2500 + else
82.2501 + build_libtool_libs=no
82.2502 + fi
82.2503 + fi
82.2504 + else
82.2505 + convenience="$convenience $dir/$old_library"
82.2506 + old_convenience="$old_convenience $dir/$old_library"
82.2507 + deplibs="$dir/$old_library $deplibs"
82.2508 + link_static=yes
82.2509 + fi
82.2510 + fi # link shared/static library?
82.2511 +
82.2512 + if test "$linkmode" = lib; then
82.2513 + #if test -n "$dependency_libs" &&
82.2514 + # { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
82.2515 + # test "$link_static" = yes; }; then
82.2516 + # Extract -R from dependency_libs
82.2517 + temp_deplibs=
82.2518 + for libdir in $dependency_libs; do
82.2519 + case $libdir in
82.2520 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
82.2521 + case " $xrpath " in
82.2522 + *" $temp_xrpath "*) ;;
82.2523 + *) xrpath="$xrpath $temp_xrpath";;
82.2524 + esac;;
82.2525 + *) temp_deplibs="$temp_deplibs $libdir";;
82.2526 + esac
82.2527 + done
82.2528 + dependency_libs="$temp_deplibs"
82.2529 + #fi
82.2530 +
82.2531 + newlib_search_path="$newlib_search_path $absdir"
82.2532 + # Link against this library
82.2533 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
82.2534 + # ... and its dependency_libs
82.2535 + tmp_libs=
82.2536 + for deplib in $dependency_libs; do
82.2537 + newdependency_libs="$deplib $newdependency_libs"
82.2538 + if test "X$duplicate_deps" = "Xyes" ; then
82.2539 + case "$tmp_libs " in
82.2540 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
82.2541 + esac
82.2542 + fi
82.2543 + tmp_libs="$tmp_libs $deplib"
82.2544 + done
82.2545 +
82.2546 + if test "$link_all_deplibs" != no; then
82.2547 + # Add the search paths of all dependency libraries
82.2548 + for deplib in $dependency_libs; do
82.2549 + case $deplib in
82.2550 + -L*) path="$deplib" ;;
82.2551 + *.la)
82.2552 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
82.2553 + test "X$dir" = "X$deplib" && dir="."
82.2554 + # We need an absolute path.
82.2555 + case $dir in
82.2556 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
82.2557 + *)
82.2558 + absdir=`cd "$dir" && pwd`
82.2559 + if test -z "$absdir"; then
82.2560 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
82.2561 + absdir="$dir"
82.2562 + fi
82.2563 + ;;
82.2564 + esac
82.2565 + if grep "^installed=no" $deplib > /dev/null; then
82.2566 + path="$absdir/$objdir"
82.2567 + else
82.2568 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
82.2569 + if test -z "$libdir"; then
82.2570 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
82.2571 + exit 1
82.2572 + fi
82.2573 + if test "$absdir" != "$libdir"; then
82.2574 + # Sure, some shells/systems don't implement the -ef.
82.2575 + # Those will have to live with the warning.
82.2576 + test "$absdir" -ef "$libdir" > /dev/null 2>&1 ||
82.2577 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
82.2578 + fi
82.2579 + path="$absdir"
82.2580 + fi
82.2581 + depdepl=
82.2582 + case $host in
82.2583 + *-*-darwin*)
82.2584 + # we do not want to link against static libs, but need to link against shared
82.2585 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
82.2586 + if test -n "$deplibrary_names" ; then
82.2587 + for tmp in $deplibrary_names ; do
82.2588 + depdepl=$tmp
82.2589 + done
82.2590 + if test -f "$path/$depdepl" ; then
82.2591 + depdepl="$path/$depdepl"
82.2592 + fi
82.2593 + # do not add paths which are already there
82.2594 + case " $newlib_search_path " in
82.2595 + *" $path "*) ;;
82.2596 + *) newlib_search_path="$newlib_search_path $path";;
82.2597 + esac
82.2598 + path=""
82.2599 + fi
82.2600 + ;;
82.2601 + *)
82.2602 + path="-L$path"
82.2603 + ;;
82.2604 + esac
82.2605 +
82.2606 + ;;
82.2607 + -l*)
82.2608 + case $host in
82.2609 + *-*-darwin*)
82.2610 + # Again, we only want to link against shared libraries
82.2611 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
82.2612 + for tmp in $newlib_search_path ; do
82.2613 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
82.2614 + eval depdepl="$tmp/lib$tmp_libs.dylib"
82.2615 + break
82.2616 + fi
82.2617 + done
82.2618 + path=""
82.2619 + ;;
82.2620 + *) continue ;;
82.2621 + esac
82.2622 + ;;
82.2623 + *) continue ;;
82.2624 + esac
82.2625 + case " $deplibs " in
82.2626 + *" $depdepl "*) ;;
82.2627 + *) deplibs="$deplibs $depdepl" ;;
82.2628 + esac
82.2629 + case " $deplibs " in
82.2630 + *" $path "*) ;;
82.2631 + *) deplibs="$deplibs $path" ;;
82.2632 + esac
82.2633 + done
82.2634 + fi # link_all_deplibs != no
82.2635 + fi # linkmode = lib
82.2636 + done # for deplib in $libs
82.2637 + dependency_libs="$newdependency_libs"
82.2638 + if test "$pass" = dlpreopen; then
82.2639 + # Link the dlpreopened libraries before other libraries
82.2640 + for deplib in $save_deplibs; do
82.2641 + deplibs="$deplib $deplibs"
82.2642 + done
82.2643 + fi
82.2644 + if test "$pass" != dlopen; then
82.2645 + if test "$pass" != conv; then
82.2646 + # Make sure lib_search_path contains only unique directories.
82.2647 + lib_search_path=
82.2648 + for dir in $newlib_search_path; do
82.2649 + case "$lib_search_path " in
82.2650 + *" $dir "*) ;;
82.2651 + *) lib_search_path="$lib_search_path $dir" ;;
82.2652 + esac
82.2653 + done
82.2654 + newlib_search_path=
82.2655 + fi
82.2656 +
82.2657 + if test "$linkmode,$pass" != "prog,link"; then
82.2658 + vars="deplibs"
82.2659 + else
82.2660 + vars="compile_deplibs finalize_deplibs"
82.2661 + fi
82.2662 + for var in $vars dependency_libs; do
82.2663 + # Add libraries to $var in reverse order
82.2664 + eval tmp_libs=\"\$$var\"
82.2665 + new_libs=
82.2666 + for deplib in $tmp_libs; do
82.2667 + # FIXME: Pedantically, this is the right thing to do, so
82.2668 + # that some nasty dependency loop isn't accidentally
82.2669 + # broken:
82.2670 + #new_libs="$deplib $new_libs"
82.2671 + # Pragmatically, this seems to cause very few problems in
82.2672 + # practice:
82.2673 + case $deplib in
82.2674 + -L*) new_libs="$deplib $new_libs" ;;
82.2675 + -R*) ;;
82.2676 + *)
82.2677 + # And here is the reason: when a library appears more
82.2678 + # than once as an explicit dependence of a library, or
82.2679 + # is implicitly linked in more than once by the
82.2680 + # compiler, it is considered special, and multiple
82.2681 + # occurrences thereof are not removed. Compare this
82.2682 + # with having the same library being listed as a
82.2683 + # dependency of multiple other libraries: in this case,
82.2684 + # we know (pedantically, we assume) the library does not
82.2685 + # need to be listed more than once, so we keep only the
82.2686 + # last copy. This is not always right, but it is rare
82.2687 + # enough that we require users that really mean to play
82.2688 + # such unportable linking tricks to link the library
82.2689 + # using -Wl,-lname, so that libtool does not consider it
82.2690 + # for duplicate removal.
82.2691 + case " $specialdeplibs " in
82.2692 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
82.2693 + *)
82.2694 + case " $new_libs " in
82.2695 + *" $deplib "*) ;;
82.2696 + *) new_libs="$deplib $new_libs" ;;
82.2697 + esac
82.2698 + ;;
82.2699 + esac
82.2700 + ;;
82.2701 + esac
82.2702 + done
82.2703 + tmp_libs=
82.2704 + for deplib in $new_libs; do
82.2705 + case $deplib in
82.2706 + -L*)
82.2707 + case " $tmp_libs " in
82.2708 + *" $deplib "*) ;;
82.2709 + *) tmp_libs="$tmp_libs $deplib" ;;
82.2710 + esac
82.2711 + ;;
82.2712 + *) tmp_libs="$tmp_libs $deplib" ;;
82.2713 + esac
82.2714 + done
82.2715 + eval $var=\"$tmp_libs\"
82.2716 + done # for var
82.2717 + fi
82.2718 + # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
82.2719 + tmp_libs=
82.2720 + for i in $dependency_libs ; do
82.2721 + case " $predeps $postdeps $compiler_lib_search_path " in
82.2722 + *" $i "*)
82.2723 + i=""
82.2724 + ;;
82.2725 + esac
82.2726 + if test -n "$i" ; then
82.2727 + tmp_libs="$tmp_libs $i"
82.2728 + fi
82.2729 + done
82.2730 + dependency_libs=$tmp_libs
82.2731 + done # for pass
82.2732 + if test "$linkmode" = prog; then
82.2733 + dlfiles="$newdlfiles"
82.2734 + dlprefiles="$newdlprefiles"
82.2735 + fi
82.2736 +
82.2737 + case $linkmode in
82.2738 + oldlib)
82.2739 + if test -n "$deplibs"; then
82.2740 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
82.2741 + fi
82.2742 +
82.2743 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
82.2744 + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
82.2745 + fi
82.2746 +
82.2747 + if test -n "$rpath"; then
82.2748 + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
82.2749 + fi
82.2750 +
82.2751 + if test -n "$xrpath"; then
82.2752 + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
82.2753 + fi
82.2754 +
82.2755 + if test -n "$vinfo"; then
82.2756 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
82.2757 + fi
82.2758 +
82.2759 + if test -n "$release"; then
82.2760 + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
82.2761 + fi
82.2762 +
82.2763 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
82.2764 + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
82.2765 + fi
82.2766 +
82.2767 + # Now set the variables for building old libraries.
82.2768 + build_libtool_libs=no
82.2769 + oldlibs="$output"
82.2770 + objs="$objs$old_deplibs"
82.2771 + ;;
82.2772 +
82.2773 + lib)
82.2774 + # Make sure we only generate libraries of the form `libNAME.la'.
82.2775 + case $outputname in
82.2776 + lib*)
82.2777 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
82.2778 + eval shared_ext=\"$shrext\"
82.2779 + eval libname=\"$libname_spec\"
82.2780 + ;;
82.2781 + *)
82.2782 + if test "$module" = no; then
82.2783 + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
82.2784 + $echo "$help" 1>&2
82.2785 + exit 1
82.2786 + fi
82.2787 + if test "$need_lib_prefix" != no; then
82.2788 + # Add the "lib" prefix for modules if required
82.2789 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
82.2790 + eval shared_ext=\"$shrext\"
82.2791 + eval libname=\"$libname_spec\"
82.2792 + else
82.2793 + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
82.2794 + fi
82.2795 + ;;
82.2796 + esac
82.2797 +
82.2798 + if test -n "$objs"; then
82.2799 + if test "$deplibs_check_method" != pass_all; then
82.2800 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
82.2801 + exit 1
82.2802 + else
82.2803 + $echo
82.2804 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
82.2805 + $echo "*** objects $objs is not portable!"
82.2806 + libobjs="$libobjs $objs"
82.2807 + fi
82.2808 + fi
82.2809 +
82.2810 + if test "$dlself" != no; then
82.2811 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
82.2812 + fi
82.2813 +
82.2814 + set dummy $rpath
82.2815 + if test "$#" -gt 2; then
82.2816 + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
82.2817 + fi
82.2818 + install_libdir="$2"
82.2819 +
82.2820 + oldlibs=
82.2821 + if test -z "$rpath"; then
82.2822 + if test "$build_libtool_libs" = yes; then
82.2823 + # Building a libtool convenience library.
82.2824 + # Some compilers have problems with a `.al' extension so
82.2825 + # convenience libraries should have the same extension an
82.2826 + # archive normally would.
82.2827 + oldlibs="$output_objdir/$libname.$libext $oldlibs"
82.2828 + build_libtool_libs=convenience
82.2829 + build_old_libs=yes
82.2830 + fi
82.2831 +
82.2832 + if test -n "$vinfo"; then
82.2833 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
82.2834 + fi
82.2835 +
82.2836 + if test -n "$release"; then
82.2837 + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
82.2838 + fi
82.2839 + else
82.2840 +
82.2841 + # Parse the version information argument.
82.2842 + save_ifs="$IFS"; IFS=':'
82.2843 + set dummy $vinfo 0 0 0
82.2844 + IFS="$save_ifs"
82.2845 +
82.2846 + if test -n "$8"; then
82.2847 + $echo "$modename: too many parameters to \`-version-info'" 1>&2
82.2848 + $echo "$help" 1>&2
82.2849 + exit 1
82.2850 + fi
82.2851 +
82.2852 + # convert absolute version numbers to libtool ages
82.2853 + # this retains compatibility with .la files and attempts
82.2854 + # to make the code below a bit more comprehensible
82.2855 +
82.2856 + case $vinfo_number in
82.2857 + yes)
82.2858 + number_major="$2"
82.2859 + number_minor="$3"
82.2860 + number_revision="$4"
82.2861 + #
82.2862 + # There are really only two kinds -- those that
82.2863 + # use the current revision as the major version
82.2864 + # and those that subtract age and use age as
82.2865 + # a minor version. But, then there is irix
82.2866 + # which has an extra 1 added just for fun
82.2867 + #
82.2868 + case $version_type in
82.2869 + darwin|linux|osf|windows)
82.2870 + current=`expr $number_major + $number_minor`
82.2871 + age="$number_minor"
82.2872 + revision="$number_revision"
82.2873 + ;;
82.2874 + freebsd-aout|freebsd-elf|sunos)
82.2875 + current="$number_major"
82.2876 + revision="$number_minor"
82.2877 + age="0"
82.2878 + ;;
82.2879 + irix|nonstopux)
82.2880 + current=`expr $number_major + $number_minor - 1`
82.2881 + age="$number_minor"
82.2882 + revision="$number_minor"
82.2883 + ;;
82.2884 + esac
82.2885 + ;;
82.2886 + no)
82.2887 + current="$2"
82.2888 + revision="$3"
82.2889 + age="$4"
82.2890 + ;;
82.2891 + esac
82.2892 +
82.2893 + # Check that each of the things are valid numbers.
82.2894 + case $current in
82.2895 + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
82.2896 + *)
82.2897 + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
82.2898 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
82.2899 + exit 1
82.2900 + ;;
82.2901 + esac
82.2902 +
82.2903 + case $revision in
82.2904 + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
82.2905 + *)
82.2906 + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
82.2907 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
82.2908 + exit 1
82.2909 + ;;
82.2910 + esac
82.2911 +
82.2912 + case $age in
82.2913 + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
82.2914 + *)
82.2915 + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
82.2916 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
82.2917 + exit 1
82.2918 + ;;
82.2919 + esac
82.2920 +
82.2921 + if test "$age" -gt "$current"; then
82.2922 + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
82.2923 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
82.2924 + exit 1
82.2925 + fi
82.2926 +
82.2927 + # Calculate the version variables.
82.2928 + major=
82.2929 + versuffix=
82.2930 + verstring=
82.2931 + case $version_type in
82.2932 + none) ;;
82.2933 +
82.2934 + darwin)
82.2935 + # Like Linux, but with the current version available in
82.2936 + # verstring for coding it into the library header
82.2937 + major=.`expr $current - $age`
82.2938 + versuffix="$major.$age.$revision"
82.2939 + # Darwin ld doesn't like 0 for these options...
82.2940 + minor_current=`expr $current + 1`
82.2941 + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
82.2942 + ;;
82.2943 +
82.2944 + freebsd-aout)
82.2945 + major=".$current"
82.2946 + versuffix=".$current.$revision";
82.2947 + ;;
82.2948 +
82.2949 + freebsd-elf)
82.2950 + major=".$current"
82.2951 + versuffix=".$current";
82.2952 + ;;
82.2953 +
82.2954 + irix | nonstopux)
82.2955 + major=`expr $current - $age + 1`
82.2956 +
82.2957 + case $version_type in
82.2958 + nonstopux) verstring_prefix=nonstopux ;;
82.2959 + *) verstring_prefix=sgi ;;
82.2960 + esac
82.2961 + verstring="$verstring_prefix$major.$revision"
82.2962 +
82.2963 + # Add in all the interfaces that we are compatible with.
82.2964 + loop=$revision
82.2965 + while test "$loop" -ne 0; do
82.2966 + iface=`expr $revision - $loop`
82.2967 + loop=`expr $loop - 1`
82.2968 + verstring="$verstring_prefix$major.$iface:$verstring"
82.2969 + done
82.2970 +
82.2971 + # Before this point, $major must not contain `.'.
82.2972 + major=.$major
82.2973 + versuffix="$major.$revision"
82.2974 + ;;
82.2975 +
82.2976 + linux)
82.2977 + major=.`expr $current - $age`
82.2978 + versuffix="$major.$age.$revision"
82.2979 + ;;
82.2980 +
82.2981 + osf)
82.2982 + major=.`expr $current - $age`
82.2983 + versuffix=".$current.$age.$revision"
82.2984 + verstring="$current.$age.$revision"
82.2985 +
82.2986 + # Add in all the interfaces that we are compatible with.
82.2987 + loop=$age
82.2988 + while test "$loop" -ne 0; do
82.2989 + iface=`expr $current - $loop`
82.2990 + loop=`expr $loop - 1`
82.2991 + verstring="$verstring:${iface}.0"
82.2992 + done
82.2993 +
82.2994 + # Make executables depend on our current version.
82.2995 + verstring="$verstring:${current}.0"
82.2996 + ;;
82.2997 +
82.2998 + sunos)
82.2999 + major=".$current"
82.3000 + versuffix=".$current.$revision"
82.3001 + ;;
82.3002 +
82.3003 + windows)
82.3004 + # Use '-' rather than '.', since we only want one
82.3005 + # extension on DOS 8.3 filesystems.
82.3006 + major=`expr $current - $age`
82.3007 + versuffix="-$major"
82.3008 + ;;
82.3009 +
82.3010 + *)
82.3011 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
82.3012 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
82.3013 + exit 1
82.3014 + ;;
82.3015 + esac
82.3016 +
82.3017 + # Clear the version info if we defaulted, and they specified a release.
82.3018 + if test -z "$vinfo" && test -n "$release"; then
82.3019 + major=
82.3020 + case $version_type in
82.3021 + darwin)
82.3022 + # we can't check for "0.0" in archive_cmds due to quoting
82.3023 + # problems, so we reset it completely
82.3024 + verstring=
82.3025 + ;;
82.3026 + *)
82.3027 + verstring="0.0"
82.3028 + ;;
82.3029 + esac
82.3030 + if test "$need_version" = no; then
82.3031 + versuffix=
82.3032 + else
82.3033 + versuffix=".0.0"
82.3034 + fi
82.3035 + fi
82.3036 +
82.3037 + # Remove version info from name if versioning should be avoided
82.3038 + if test "$avoid_version" = yes && test "$need_version" = no; then
82.3039 + major=
82.3040 + versuffix=
82.3041 + verstring=""
82.3042 + fi
82.3043 +
82.3044 + # Check to see if the archive will have undefined symbols.
82.3045 + if test "$allow_undefined" = yes; then
82.3046 + if test "$allow_undefined_flag" = unsupported; then
82.3047 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
82.3048 + build_libtool_libs=no
82.3049 + build_old_libs=yes
82.3050 + fi
82.3051 + else
82.3052 + # Don't allow undefined symbols.
82.3053 + allow_undefined_flag="$no_undefined_flag"
82.3054 + fi
82.3055 + fi
82.3056 +
82.3057 + if test "$mode" != relink; then
82.3058 + # Remove our outputs, but don't remove object files since they
82.3059 + # may have been created when compiling PIC objects.
82.3060 + removelist=
82.3061 + tempremovelist=`$echo "$output_objdir/*"`
82.3062 + for p in $tempremovelist; do
82.3063 + case $p in
82.3064 + *.$objext)
82.3065 + ;;
82.3066 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
82.3067 + removelist="$removelist $p"
82.3068 + ;;
82.3069 + *) ;;
82.3070 + esac
82.3071 + done
82.3072 + if test -n "$removelist"; then
82.3073 + $show "${rm}r $removelist"
82.3074 + $run ${rm}r $removelist
82.3075 + fi
82.3076 + fi
82.3077 +
82.3078 + # Now set the variables for building old libraries.
82.3079 + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
82.3080 + oldlibs="$oldlibs $output_objdir/$libname.$libext"
82.3081 +
82.3082 + # Transform .lo files to .o files.
82.3083 + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
82.3084 + fi
82.3085 +
82.3086 + # Eliminate all temporary directories.
82.3087 + for path in $notinst_path; do
82.3088 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
82.3089 + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
82.3090 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
82.3091 + done
82.3092 +
82.3093 + if test -n "$xrpath"; then
82.3094 + # If the user specified any rpath flags, then add them.
82.3095 + temp_xrpath=
82.3096 + for libdir in $xrpath; do
82.3097 + temp_xrpath="$temp_xrpath -R$libdir"
82.3098 + case "$finalize_rpath " in
82.3099 + *" $libdir "*) ;;
82.3100 + *) finalize_rpath="$finalize_rpath $libdir" ;;
82.3101 + esac
82.3102 + done
82.3103 + if true || test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
82.3104 + dependency_libs="$temp_xrpath $dependency_libs"
82.3105 + fi
82.3106 + fi
82.3107 +
82.3108 + # Make sure dlfiles contains only unique files that won't be dlpreopened
82.3109 + old_dlfiles="$dlfiles"
82.3110 + dlfiles=
82.3111 + for lib in $old_dlfiles; do
82.3112 + case " $dlprefiles $dlfiles " in
82.3113 + *" $lib "*) ;;
82.3114 + *) dlfiles="$dlfiles $lib" ;;
82.3115 + esac
82.3116 + done
82.3117 +
82.3118 + # Make sure dlprefiles contains only unique files
82.3119 + old_dlprefiles="$dlprefiles"
82.3120 + dlprefiles=
82.3121 + for lib in $old_dlprefiles; do
82.3122 + case "$dlprefiles " in
82.3123 + *" $lib "*) ;;
82.3124 + *) dlprefiles="$dlprefiles $lib" ;;
82.3125 + esac
82.3126 + done
82.3127 +
82.3128 + if test "$build_libtool_libs" = yes; then
82.3129 + if test -n "$rpath"; then
82.3130 + case $host in
82.3131 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
82.3132 + # these systems don't actually have a c library (as such)!
82.3133 + ;;
82.3134 + *-*-rhapsody* | *-*-darwin1.[012])
82.3135 + # Rhapsody C library is in the System framework
82.3136 + deplibs="$deplibs -framework System"
82.3137 + ;;
82.3138 + *-*-netbsd*)
82.3139 + # Don't link with libc until the a.out ld.so is fixed.
82.3140 + ;;
82.3141 + *-*-freebsd*-gnu*)
82.3142 + # Prevent $arg from being parsed by the freebsd regexp below.
82.3143 + if test "$build_libtool_need_lc" = "yes"; then
82.3144 + deplibs="$deplibs -lc"
82.3145 + fi
82.3146 + ;;
82.3147 + *-*-openbsd* | *-*-freebsd*)
82.3148 + # Do not include libc due to us having libc/libc_r.
82.3149 + test "X$arg" = "X-lc" && continue
82.3150 + ;;
82.3151 + *)
82.3152 + # Add libc to deplibs on all other systems if necessary.
82.3153 + if test "$build_libtool_need_lc" = "yes"; then
82.3154 + deplibs="$deplibs -lc"
82.3155 + fi
82.3156 + ;;
82.3157 + esac
82.3158 + fi
82.3159 +
82.3160 + # Transform deplibs into only deplibs that can be linked in shared.
82.3161 + name_save=$name
82.3162 + libname_save=$libname
82.3163 + release_save=$release
82.3164 + versuffix_save=$versuffix
82.3165 + major_save=$major
82.3166 + # I'm not sure if I'm treating the release correctly. I think
82.3167 + # release should show up in the -l (ie -lgmp5) so we don't want to
82.3168 + # add it in twice. Is that correct?
82.3169 + release=""
82.3170 + versuffix=""
82.3171 + major=""
82.3172 + newdeplibs=
82.3173 + droppeddeps=no
82.3174 + case $deplibs_check_method in
82.3175 + pass_all)
82.3176 + # Don't check for shared/static. Everything works.
82.3177 + # This might be a little naive. We might want to check
82.3178 + # whether the library exists or not. But this is on
82.3179 + # osf3 & osf4 and I'm not really sure... Just
82.3180 + # implementing what was already the behavior.
82.3181 + newdeplibs=$deplibs
82.3182 + ;;
82.3183 + test_compile)
82.3184 + # This code stresses the "libraries are programs" paradigm to its
82.3185 + # limits. Maybe even breaks it. We compile a program, linking it
82.3186 + # against the deplibs as a proxy for the library. Then we can check
82.3187 + # whether they linked in statically or dynamically with ldd.
82.3188 + $rm conftest.c
82.3189 + cat > conftest.c <<EOF
82.3190 + int main() { return 0; }
82.3191 +EOF
82.3192 + $rm conftest
82.3193 + $LTCC -o conftest conftest.c $deplibs
82.3194 + if test "$?" -eq 0 ; then
82.3195 + ldd_output=`ldd conftest`
82.3196 + for i in $deplibs; do
82.3197 + name="`expr $i : '-l\(.*\)'`"
82.3198 + # If $name is empty we are operating on a -L argument.
82.3199 + if test "$name" != "" && test "$name" -ne "0"; then
82.3200 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.3201 + case " $predeps $postdeps " in
82.3202 + *" $i "*)
82.3203 + newdeplibs="$newdeplibs $i"
82.3204 + i=""
82.3205 + ;;
82.3206 + esac
82.3207 + fi
82.3208 + if test -n "$i" ; then
82.3209 + libname=`eval \\$echo \"$libname_spec\"`
82.3210 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
82.3211 + set dummy $deplib_matches
82.3212 + deplib_match=$2
82.3213 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
82.3214 + newdeplibs="$newdeplibs $i"
82.3215 + else
82.3216 + droppeddeps=yes
82.3217 + $echo
82.3218 + $echo "*** Warning: dynamic linker does not accept needed library $i."
82.3219 + $echo "*** I have the capability to make that library automatically link in when"
82.3220 + $echo "*** you link to this library. But I can only do this if you have a"
82.3221 + $echo "*** shared version of the library, which I believe you do not have"
82.3222 + $echo "*** because a test_compile did reveal that the linker did not use it for"
82.3223 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
82.3224 + fi
82.3225 + fi
82.3226 + else
82.3227 + newdeplibs="$newdeplibs $i"
82.3228 + fi
82.3229 + done
82.3230 + else
82.3231 + # Error occurred in the first compile. Let's try to salvage
82.3232 + # the situation: Compile a separate program for each library.
82.3233 + for i in $deplibs; do
82.3234 + name="`expr $i : '-l\(.*\)'`"
82.3235 + # If $name is empty we are operating on a -L argument.
82.3236 + if test "$name" != "" && test "$name" != "0"; then
82.3237 + $rm conftest
82.3238 + $LTCC -o conftest conftest.c $i
82.3239 + # Did it work?
82.3240 + if test "$?" -eq 0 ; then
82.3241 + ldd_output=`ldd conftest`
82.3242 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.3243 + case " $predeps $postdeps " in
82.3244 + *" $i "*)
82.3245 + newdeplibs="$newdeplibs $i"
82.3246 + i=""
82.3247 + ;;
82.3248 + esac
82.3249 + fi
82.3250 + if test -n "$i" ; then
82.3251 + libname=`eval \\$echo \"$libname_spec\"`
82.3252 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
82.3253 + set dummy $deplib_matches
82.3254 + deplib_match=$2
82.3255 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
82.3256 + newdeplibs="$newdeplibs $i"
82.3257 + else
82.3258 + droppeddeps=yes
82.3259 + $echo
82.3260 + $echo "*** Warning: dynamic linker does not accept needed library $i."
82.3261 + $echo "*** I have the capability to make that library automatically link in when"
82.3262 + $echo "*** you link to this library. But I can only do this if you have a"
82.3263 + $echo "*** shared version of the library, which you do not appear to have"
82.3264 + $echo "*** because a test_compile did reveal that the linker did not use this one"
82.3265 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
82.3266 + fi
82.3267 + fi
82.3268 + else
82.3269 + droppeddeps=yes
82.3270 + $echo
82.3271 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
82.3272 + $echo "*** make it link in! You will probably need to install it or some"
82.3273 + $echo "*** library that it depends on before this library will be fully"
82.3274 + $echo "*** functional. Installing it before continuing would be even better."
82.3275 + fi
82.3276 + else
82.3277 + newdeplibs="$newdeplibs $i"
82.3278 + fi
82.3279 + done
82.3280 + fi
82.3281 + ;;
82.3282 + file_magic*)
82.3283 + set dummy $deplibs_check_method
82.3284 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
82.3285 + for a_deplib in $deplibs; do
82.3286 + name="`expr $a_deplib : '-l\(.*\)'`"
82.3287 + # If $name is empty we are operating on a -L argument.
82.3288 + if test "$name" != "" && test "$name" != "0"; then
82.3289 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.3290 + case " $predeps $postdeps " in
82.3291 + *" $a_deplib "*)
82.3292 + newdeplibs="$newdeplibs $a_deplib"
82.3293 + a_deplib=""
82.3294 + ;;
82.3295 + esac
82.3296 + fi
82.3297 + if test -n "$a_deplib" ; then
82.3298 + libname=`eval \\$echo \"$libname_spec\"`
82.3299 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
82.3300 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
82.3301 + for potent_lib in $potential_libs; do
82.3302 + # Follow soft links.
82.3303 + if ls -lLd "$potent_lib" 2>/dev/null \
82.3304 + | grep " -> " >/dev/null; then
82.3305 + continue
82.3306 + fi
82.3307 + # The statement above tries to avoid entering an
82.3308 + # endless loop below, in case of cyclic links.
82.3309 + # We might still enter an endless loop, since a link
82.3310 + # loop can be closed while we follow links,
82.3311 + # but so what?
82.3312 + potlib="$potent_lib"
82.3313 + while test -h "$potlib" 2>/dev/null; do
82.3314 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
82.3315 + case $potliblink in
82.3316 + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
82.3317 + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
82.3318 + esac
82.3319 + done
82.3320 + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
82.3321 + | ${SED} 10q \
82.3322 + | $EGREP "$file_magic_regex" > /dev/null; then
82.3323 + newdeplibs="$newdeplibs $a_deplib"
82.3324 + a_deplib=""
82.3325 + break 2
82.3326 + fi
82.3327 + done
82.3328 + done
82.3329 + fi
82.3330 + if test -n "$a_deplib" ; then
82.3331 + droppeddeps=yes
82.3332 + $echo
82.3333 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
82.3334 + $echo "*** I have the capability to make that library automatically link in when"
82.3335 + $echo "*** you link to this library. But I can only do this if you have a"
82.3336 + $echo "*** shared version of the library, which you do not appear to have"
82.3337 + $echo "*** because I did check the linker path looking for a file starting"
82.3338 + if test -z "$potlib" ; then
82.3339 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
82.3340 + else
82.3341 + $echo "*** with $libname and none of the candidates passed a file format test"
82.3342 + $echo "*** using a file magic. Last file checked: $potlib"
82.3343 + fi
82.3344 + fi
82.3345 + else
82.3346 + # Add a -L argument.
82.3347 + newdeplibs="$newdeplibs $a_deplib"
82.3348 + fi
82.3349 + done # Gone through all deplibs.
82.3350 + ;;
82.3351 + match_pattern*)
82.3352 + set dummy $deplibs_check_method
82.3353 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
82.3354 + for a_deplib in $deplibs; do
82.3355 + name="`expr $a_deplib : '-l\(.*\)'`"
82.3356 + # If $name is empty we are operating on a -L argument.
82.3357 + if test -n "$name" && test "$name" != "0"; then
82.3358 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.3359 + case " $predeps $postdeps " in
82.3360 + *" $a_deplib "*)
82.3361 + newdeplibs="$newdeplibs $a_deplib"
82.3362 + a_deplib=""
82.3363 + ;;
82.3364 + esac
82.3365 + fi
82.3366 + if test -n "$a_deplib" ; then
82.3367 + libname=`eval \\$echo \"$libname_spec\"`
82.3368 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
82.3369 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
82.3370 + for potent_lib in $potential_libs; do
82.3371 + potlib="$potent_lib" # see symlink-check above in file_magic test
82.3372 + if eval $echo \"$potent_lib\" 2>/dev/null \
82.3373 + | ${SED} 10q \
82.3374 + | $EGREP "$match_pattern_regex" > /dev/null; then
82.3375 + newdeplibs="$newdeplibs $a_deplib"
82.3376 + a_deplib=""
82.3377 + break 2
82.3378 + fi
82.3379 + done
82.3380 + done
82.3381 + fi
82.3382 + if test -n "$a_deplib" ; then
82.3383 + droppeddeps=yes
82.3384 + $echo
82.3385 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
82.3386 + $echo "*** I have the capability to make that library automatically link in when"
82.3387 + $echo "*** you link to this library. But I can only do this if you have a"
82.3388 + $echo "*** shared version of the library, which you do not appear to have"
82.3389 + $echo "*** because I did check the linker path looking for a file starting"
82.3390 + if test -z "$potlib" ; then
82.3391 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
82.3392 + else
82.3393 + $echo "*** with $libname and none of the candidates passed a file format test"
82.3394 + $echo "*** using a regex pattern. Last file checked: $potlib"
82.3395 + fi
82.3396 + fi
82.3397 + else
82.3398 + # Add a -L argument.
82.3399 + newdeplibs="$newdeplibs $a_deplib"
82.3400 + fi
82.3401 + done # Gone through all deplibs.
82.3402 + ;;
82.3403 + none | unknown | *)
82.3404 + newdeplibs=""
82.3405 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
82.3406 + -e 's/ -[LR][^ ]*//g'`
82.3407 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
82.3408 + for i in $predeps $postdeps ; do
82.3409 + # can't use Xsed below, because $i might contain '/'
82.3410 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
82.3411 + done
82.3412 + fi
82.3413 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
82.3414 + | grep . >/dev/null; then
82.3415 + $echo
82.3416 + if test "X$deplibs_check_method" = "Xnone"; then
82.3417 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
82.3418 + else
82.3419 + $echo "*** Warning: inter-library dependencies are not known to be supported."
82.3420 + fi
82.3421 + $echo "*** All declared inter-library dependencies are being dropped."
82.3422 + droppeddeps=yes
82.3423 + fi
82.3424 + ;;
82.3425 + esac
82.3426 + versuffix=$versuffix_save
82.3427 + major=$major_save
82.3428 + release=$release_save
82.3429 + libname=$libname_save
82.3430 + name=$name_save
82.3431 +
82.3432 + case $host in
82.3433 + *-*-rhapsody* | *-*-darwin1.[012])
82.3434 + # On Rhapsody replace the C library is the System framework
82.3435 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
82.3436 + ;;
82.3437 + esac
82.3438 +
82.3439 + if test "$droppeddeps" = yes; then
82.3440 + if test "$module" = yes; then
82.3441 + $echo
82.3442 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
82.3443 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
82.3444 + $echo "*** a static module, that should work as long as the dlopening"
82.3445 + $echo "*** application is linked with the -dlopen flag."
82.3446 + if test -z "$global_symbol_pipe"; then
82.3447 + $echo
82.3448 + $echo "*** However, this would only work if libtool was able to extract symbol"
82.3449 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
82.3450 + $echo "*** not find such a program. So, this module is probably useless."
82.3451 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
82.3452 + fi
82.3453 + if test "$build_old_libs" = no; then
82.3454 + oldlibs="$output_objdir/$libname.$libext"
82.3455 + build_libtool_libs=module
82.3456 + build_old_libs=yes
82.3457 + else
82.3458 + build_libtool_libs=no
82.3459 + fi
82.3460 + else
82.3461 + $echo "*** The inter-library dependencies that have been dropped here will be"
82.3462 + $echo "*** automatically added whenever a program is linked with this library"
82.3463 + $echo "*** or is declared to -dlopen it."
82.3464 +
82.3465 + if test "$allow_undefined" = no; then
82.3466 + $echo
82.3467 + $echo "*** Since this library must not contain undefined symbols,"
82.3468 + $echo "*** because either the platform does not support them or"
82.3469 + $echo "*** it was explicitly requested with -no-undefined,"
82.3470 + $echo "*** libtool will only create a static version of it."
82.3471 + if test "$build_old_libs" = no; then
82.3472 + oldlibs="$output_objdir/$libname.$libext"
82.3473 + build_libtool_libs=module
82.3474 + build_old_libs=yes
82.3475 + else
82.3476 + build_libtool_libs=no
82.3477 + fi
82.3478 + fi
82.3479 + fi
82.3480 + fi
82.3481 + # Done checking deplibs!
82.3482 + deplibs=$newdeplibs
82.3483 + fi
82.3484 +
82.3485 + # All the library-specific variables (install_libdir is set above).
82.3486 + library_names=
82.3487 + old_library=
82.3488 + dlname=
82.3489 +
82.3490 + # Test again, we may have decided not to build it any more
82.3491 + if test "$build_libtool_libs" = yes; then
82.3492 + if test "$hardcode_into_libs" = yes; then
82.3493 + # Hardcode the library paths
82.3494 + hardcode_libdirs=
82.3495 + dep_rpath=
82.3496 + rpath="$finalize_rpath"
82.3497 + test "$mode" != relink && test "$fast_install" = no && rpath="$compile_rpath$rpath"
82.3498 + for libdir in $rpath; do
82.3499 + if test -n "$hardcode_libdir_flag_spec"; then
82.3500 + if test -n "$hardcode_libdir_separator"; then
82.3501 + if test -z "$hardcode_libdirs"; then
82.3502 + hardcode_libdirs="$libdir"
82.3503 + else
82.3504 + # Just accumulate the unique libdirs.
82.3505 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
82.3506 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
82.3507 + ;;
82.3508 + *)
82.3509 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
82.3510 + ;;
82.3511 + esac
82.3512 + fi
82.3513 + else
82.3514 + eval flag=\"$hardcode_libdir_flag_spec\"
82.3515 + dep_rpath="$dep_rpath $flag"
82.3516 + fi
82.3517 + elif test -n "$runpath_var"; then
82.3518 + case "$perm_rpath " in
82.3519 + *" $libdir "*) ;;
82.3520 + *) perm_rpath="$perm_rpath $libdir" ;;
82.3521 + esac
82.3522 + fi
82.3523 + done
82.3524 + # Substitute the hardcoded libdirs into the rpath.
82.3525 + if test -n "$hardcode_libdir_separator" &&
82.3526 + test -n "$hardcode_libdirs"; then
82.3527 + libdir="$hardcode_libdirs"
82.3528 + if test -n "$hardcode_libdir_flag_spec_ld"; then
82.3529 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
82.3530 + else
82.3531 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
82.3532 + fi
82.3533 + fi
82.3534 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
82.3535 + # We should set the runpath_var.
82.3536 + rpath=
82.3537 + for dir in $perm_rpath; do
82.3538 + rpath="$rpath$dir:"
82.3539 + done
82.3540 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
82.3541 + fi
82.3542 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
82.3543 + fi
82.3544 +
82.3545 + shlibpath="$finalize_shlibpath"
82.3546 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
82.3547 + if test -n "$shlibpath"; then
82.3548 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
82.3549 + fi
82.3550 +
82.3551 + # Get the real and link names of the library.
82.3552 + eval shared_ext=\"$shrext\"
82.3553 + eval library_names=\"$library_names_spec\"
82.3554 + set dummy $library_names
82.3555 + realname="$2"
82.3556 + shift; shift
82.3557 +
82.3558 + if test -n "$soname_spec"; then
82.3559 + eval soname=\"$soname_spec\"
82.3560 + else
82.3561 + soname="$realname"
82.3562 + fi
82.3563 + if test -z "$dlname"; then
82.3564 + dlname=$soname
82.3565 + fi
82.3566 +
82.3567 + lib="$output_objdir/$realname"
82.3568 + for link
82.3569 + do
82.3570 + linknames="$linknames $link"
82.3571 + done
82.3572 +
82.3573 + # Use standard objects if they are pic
82.3574 + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
82.3575 +
82.3576 + # Prepare the list of exported symbols
82.3577 + if test -z "$export_symbols"; then
82.3578 + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
82.3579 + $show "generating symbol list for \`$libname.la'"
82.3580 + export_symbols="$output_objdir/$libname.exp"
82.3581 + $run $rm $export_symbols
82.3582 + eval cmds=\"$export_symbols_cmds\"
82.3583 + save_ifs="$IFS"; IFS='~'
82.3584 + for cmd in $cmds; do
82.3585 + IFS="$save_ifs"
82.3586 + if len=`expr "X$cmd" : ".*"` &&
82.3587 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
82.3588 + $show "$cmd"
82.3589 + $run eval "$cmd" || exit $?
82.3590 + skipped_export=false
82.3591 + else
82.3592 + # The command line is too long to execute in one step.
82.3593 + $show "using reloadable object file for export list..."
82.3594 + skipped_export=:
82.3595 + fi
82.3596 + done
82.3597 + IFS="$save_ifs"
82.3598 + if test -n "$export_symbols_regex"; then
82.3599 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
82.3600 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
82.3601 + $show "$mv \"${export_symbols}T\" \"$export_symbols\""
82.3602 + $run eval '$mv "${export_symbols}T" "$export_symbols"'
82.3603 + fi
82.3604 + fi
82.3605 + fi
82.3606 +
82.3607 + if test -n "$export_symbols" && test -n "$include_expsyms"; then
82.3608 + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
82.3609 + fi
82.3610 +
82.3611 + tmp_deplibs=
82.3612 + for test_deplib in $deplibs; do
82.3613 + case " $convenience " in
82.3614 + *" $test_deplib "*) ;;
82.3615 + *)
82.3616 + tmp_deplibs="$tmp_deplibs $test_deplib"
82.3617 + ;;
82.3618 + esac
82.3619 + done
82.3620 + deplibs="$tmp_deplibs"
82.3621 +
82.3622 + if test -n "$convenience"; then
82.3623 + if test -n "$whole_archive_flag_spec"; then
82.3624 + save_libobjs=$libobjs
82.3625 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
82.3626 + else
82.3627 + gentop="$output_objdir/${outputname}x"
82.3628 + $show "${rm}r $gentop"
82.3629 + $run ${rm}r "$gentop"
82.3630 + $show "$mkdir $gentop"
82.3631 + $run $mkdir "$gentop"
82.3632 + status=$?
82.3633 + if test "$status" -ne 0 && test ! -d "$gentop"; then
82.3634 + exit $status
82.3635 + fi
82.3636 + generated="$generated $gentop"
82.3637 +
82.3638 + for xlib in $convenience; do
82.3639 + # Extract the objects.
82.3640 + case $xlib in
82.3641 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
82.3642 + *) xabs=`pwd`"/$xlib" ;;
82.3643 + esac
82.3644 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
82.3645 + xdir="$gentop/$xlib"
82.3646 +
82.3647 + $show "${rm}r $xdir"
82.3648 + $run ${rm}r "$xdir"
82.3649 + $show "$mkdir $xdir"
82.3650 + $run $mkdir "$xdir"
82.3651 + status=$?
82.3652 + if test "$status" -ne 0 && test ! -d "$xdir"; then
82.3653 + exit $status
82.3654 + fi
82.3655 + # We will extract separately just the conflicting names and we will no
82.3656 + # longer touch any unique names. It is faster to leave these extract
82.3657 + # automatically by $AR in one run.
82.3658 + $show "(cd $xdir && $AR x $xabs)"
82.3659 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
82.3660 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
82.3661 + :
82.3662 + else
82.3663 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
82.3664 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
82.3665 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
82.3666 + do
82.3667 + i=1
82.3668 + while test "$i" -le "$count"
82.3669 + do
82.3670 + # Put our $i before any first dot (extension)
82.3671 + # Never overwrite any file
82.3672 + name_to="$name"
82.3673 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
82.3674 + do
82.3675 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
82.3676 + done
82.3677 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
82.3678 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
82.3679 + i=`expr $i + 1`
82.3680 + done
82.3681 + done
82.3682 + fi
82.3683 +
82.3684 + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
82.3685 + done
82.3686 + fi
82.3687 + fi
82.3688 +
82.3689 + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
82.3690 + eval flag=\"$thread_safe_flag_spec\"
82.3691 + linker_flags="$linker_flags $flag"
82.3692 + fi
82.3693 +
82.3694 + # Make a backup of the uninstalled library when relinking
82.3695 + if test "$mode" = relink; then
82.3696 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
82.3697 + fi
82.3698 +
82.3699 + # Add all flags from the command line. We here create a library,
82.3700 + # but those flags were only added to compile_command and
82.3701 + # finalize_command, which are only used when creating executables.
82.3702 + # So do it by hand here.
82.3703 + compiler_flags="$compiler_flags $add_flags"
82.3704 + # Only add it to commands which use CC, instead of LD, i.e.
82.3705 + # only to $compiler_flags
82.3706 + #linker_flags="$linker_flags $add_flags"
82.3707 +
82.3708 + # Do each of the archive commands.
82.3709 + if test "$module" = yes && test -n "$module_cmds" ; then
82.3710 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
82.3711 + eval cmds=\"$module_expsym_cmds\"
82.3712 + else
82.3713 + eval cmds=\"$module_cmds\"
82.3714 + fi
82.3715 + else
82.3716 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
82.3717 + eval cmds=\"$archive_expsym_cmds\"
82.3718 + else
82.3719 + eval cmds=\"$archive_cmds\"
82.3720 + fi
82.3721 + fi
82.3722 +
82.3723 + if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
82.3724 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
82.3725 + :
82.3726 + else
82.3727 + # The command line is too long to link in one step, link piecewise.
82.3728 + $echo "creating reloadable object files..."
82.3729 +
82.3730 + # Save the value of $output and $libobjs because we want to
82.3731 + # use them later. If we have whole_archive_flag_spec, we
82.3732 + # want to use save_libobjs as it was before
82.3733 + # whole_archive_flag_spec was expanded, because we can't
82.3734 + # assume the linker understands whole_archive_flag_spec.
82.3735 + # This may have to be revisited, in case too many
82.3736 + # convenience libraries get linked in and end up exceeding
82.3737 + # the spec.
82.3738 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
82.3739 + save_libobjs=$libobjs
82.3740 + fi
82.3741 + save_output=$output
82.3742 +
82.3743 + # Clear the reloadable object creation command queue and
82.3744 + # initialize k to one.
82.3745 + test_cmds=
82.3746 + concat_cmds=
82.3747 + objlist=
82.3748 + delfiles=
82.3749 + last_robj=
82.3750 + k=1
82.3751 + output=$output_objdir/$save_output-${k}.$objext
82.3752 + # Loop over the list of objects to be linked.
82.3753 + for obj in $save_libobjs
82.3754 + do
82.3755 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
82.3756 + if test "X$objlist" = X ||
82.3757 + { len=`expr "X$test_cmds" : ".*"` &&
82.3758 + test "$len" -le "$max_cmd_len"; }; then
82.3759 + objlist="$objlist $obj"
82.3760 + else
82.3761 + # The command $test_cmds is almost too long, add a
82.3762 + # command to the queue.
82.3763 + if test "$k" -eq 1 ; then
82.3764 + # The first file doesn't have a previous command to add.
82.3765 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
82.3766 + else
82.3767 + # All subsequent reloadable object files will link in
82.3768 + # the last one created.
82.3769 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
82.3770 + fi
82.3771 + last_robj=$output_objdir/$save_output-${k}.$objext
82.3772 + k=`expr $k + 1`
82.3773 + output=$output_objdir/$save_output-${k}.$objext
82.3774 + objlist=$obj
82.3775 + len=1
82.3776 + fi
82.3777 + done
82.3778 + # Handle the remaining objects by creating one last
82.3779 + # reloadable object file. All subsequent reloadable object
82.3780 + # files will link in the last one created.
82.3781 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
82.3782 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
82.3783 +
82.3784 + if ${skipped_export-false}; then
82.3785 + $show "generating symbol list for \`$libname.la'"
82.3786 + export_symbols="$output_objdir/$libname.exp"
82.3787 + $run $rm $export_symbols
82.3788 + libobjs=$output
82.3789 + # Append the command to create the export file.
82.3790 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
82.3791 + fi
82.3792 +
82.3793 + # Set up a command to remove the reloadale object files
82.3794 + # after they are used.
82.3795 + i=0
82.3796 + while test "$i" -lt "$k"
82.3797 + do
82.3798 + i=`expr $i + 1`
82.3799 + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
82.3800 + done
82.3801 +
82.3802 + $echo "creating a temporary reloadable object file: $output"
82.3803 +
82.3804 + # Loop through the commands generated above and execute them.
82.3805 + save_ifs="$IFS"; IFS='~'
82.3806 + for cmd in $concat_cmds; do
82.3807 + IFS="$save_ifs"
82.3808 + $show "$cmd"
82.3809 + $run eval "$cmd" || exit $?
82.3810 + done
82.3811 + IFS="$save_ifs"
82.3812 +
82.3813 + libobjs=$output
82.3814 + # Restore the value of output.
82.3815 + output=$save_output
82.3816 +
82.3817 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
82.3818 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
82.3819 + fi
82.3820 + # Expand the library linking commands again to reset the
82.3821 + # value of $libobjs for piecewise linking.
82.3822 +
82.3823 + # Do each of the archive commands.
82.3824 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
82.3825 + eval cmds=\"$archive_expsym_cmds\"
82.3826 + else
82.3827 + eval cmds=\"$archive_cmds\"
82.3828 + fi
82.3829 +
82.3830 + # Append the command to remove the reloadable object files
82.3831 + # to the just-reset $cmds.
82.3832 + eval cmds=\"\$cmds~$rm $delfiles\"
82.3833 + fi
82.3834 + save_ifs="$IFS"; IFS='~'
82.3835 + for cmd in $cmds; do
82.3836 + IFS="$save_ifs"
82.3837 + $show "$cmd"
82.3838 + $run eval "$cmd" || exit $?
82.3839 + done
82.3840 + IFS="$save_ifs"
82.3841 +
82.3842 + # Restore the uninstalled library and exit
82.3843 + if test "$mode" = relink; then
82.3844 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
82.3845 + exit 0
82.3846 + fi
82.3847 +
82.3848 + # Create links to the real library.
82.3849 + for linkname in $linknames; do
82.3850 + if test "$realname" != "$linkname"; then
82.3851 + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
82.3852 + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
82.3853 + fi
82.3854 + done
82.3855 +
82.3856 + # If -module or -export-dynamic was specified, set the dlname.
82.3857 + if test "$module" = yes || test "$export_dynamic" = yes; then
82.3858 + # On all known operating systems, these are identical.
82.3859 + dlname="$soname"
82.3860 + fi
82.3861 + fi
82.3862 + ;;
82.3863 +
82.3864 + obj)
82.3865 + if test -n "$deplibs"; then
82.3866 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
82.3867 + fi
82.3868 +
82.3869 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
82.3870 + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
82.3871 + fi
82.3872 +
82.3873 + if test -n "$rpath"; then
82.3874 + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
82.3875 + fi
82.3876 +
82.3877 + if test -n "$xrpath"; then
82.3878 + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
82.3879 + fi
82.3880 +
82.3881 + if test -n "$vinfo"; then
82.3882 + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
82.3883 + fi
82.3884 +
82.3885 + if test -n "$release"; then
82.3886 + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
82.3887 + fi
82.3888 +
82.3889 + case $output in
82.3890 + *.lo)
82.3891 + if test -n "$objs$old_deplibs"; then
82.3892 + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
82.3893 + exit 1
82.3894 + fi
82.3895 + libobj="$output"
82.3896 + obj=`$echo "X$output" | $Xsed -e "$lo2o"`
82.3897 + ;;
82.3898 + *)
82.3899 + libobj=
82.3900 + obj="$output"
82.3901 + ;;
82.3902 + esac
82.3903 +
82.3904 + # Delete the old objects.
82.3905 + $run $rm $obj $libobj
82.3906 +
82.3907 + # Objects from convenience libraries. This assumes
82.3908 + # single-version convenience libraries. Whenever we create
82.3909 + # different ones for PIC/non-PIC, this we'll have to duplicate
82.3910 + # the extraction.
82.3911 + reload_conv_objs=
82.3912 + gentop=
82.3913 + # reload_cmds runs $LD directly, so let us get rid of
82.3914 + # -Wl from whole_archive_flag_spec
82.3915 + wl=
82.3916 +
82.3917 + if test -n "$convenience"; then
82.3918 + if test -n "$whole_archive_flag_spec"; then
82.3919 + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
82.3920 + else
82.3921 + gentop="$output_objdir/${obj}x"
82.3922 + $show "${rm}r $gentop"
82.3923 + $run ${rm}r "$gentop"
82.3924 + $show "$mkdir $gentop"
82.3925 + $run $mkdir "$gentop"
82.3926 + status=$?
82.3927 + if test "$status" -ne 0 && test ! -d "$gentop"; then
82.3928 + exit $status
82.3929 + fi
82.3930 + generated="$generated $gentop"
82.3931 +
82.3932 + for xlib in $convenience; do
82.3933 + # Extract the objects.
82.3934 + case $xlib in
82.3935 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
82.3936 + *) xabs=`pwd`"/$xlib" ;;
82.3937 + esac
82.3938 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
82.3939 + xdir="$gentop/$xlib"
82.3940 +
82.3941 + $show "${rm}r $xdir"
82.3942 + $run ${rm}r "$xdir"
82.3943 + $show "$mkdir $xdir"
82.3944 + $run $mkdir "$xdir"
82.3945 + status=$?
82.3946 + if test "$status" -ne 0 && test ! -d "$xdir"; then
82.3947 + exit $status
82.3948 + fi
82.3949 + # We will extract separately just the conflicting names and we will no
82.3950 + # longer touch any unique names. It is faster to leave these extract
82.3951 + # automatically by $AR in one run.
82.3952 + $show "(cd $xdir && $AR x $xabs)"
82.3953 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
82.3954 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
82.3955 + :
82.3956 + else
82.3957 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
82.3958 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
82.3959 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
82.3960 + do
82.3961 + i=1
82.3962 + while test "$i" -le "$count"
82.3963 + do
82.3964 + # Put our $i before any first dot (extension)
82.3965 + # Never overwrite any file
82.3966 + name_to="$name"
82.3967 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
82.3968 + do
82.3969 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
82.3970 + done
82.3971 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
82.3972 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
82.3973 + i=`expr $i + 1`
82.3974 + done
82.3975 + done
82.3976 + fi
82.3977 +
82.3978 + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
82.3979 + done
82.3980 + fi
82.3981 + fi
82.3982 +
82.3983 + # Create the old-style object.
82.3984 + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
82.3985 +
82.3986 + output="$obj"
82.3987 + eval cmds=\"$reload_cmds\"
82.3988 + save_ifs="$IFS"; IFS='~'
82.3989 + for cmd in $cmds; do
82.3990 + IFS="$save_ifs"
82.3991 + $show "$cmd"
82.3992 + $run eval "$cmd" || exit $?
82.3993 + done
82.3994 + IFS="$save_ifs"
82.3995 +
82.3996 + # Exit if we aren't doing a library object file.
82.3997 + if test -z "$libobj"; then
82.3998 + if test -n "$gentop"; then
82.3999 + $show "${rm}r $gentop"
82.4000 + $run ${rm}r $gentop
82.4001 + fi
82.4002 +
82.4003 + exit 0
82.4004 + fi
82.4005 +
82.4006 + if test "$build_libtool_libs" != yes; then
82.4007 + if test -n "$gentop"; then
82.4008 + $show "${rm}r $gentop"
82.4009 + $run ${rm}r $gentop
82.4010 + fi
82.4011 +
82.4012 + # Create an invalid libtool object if no PIC, so that we don't
82.4013 + # accidentally link it into a program.
82.4014 + # $show "echo timestamp > $libobj"
82.4015 + # $run eval "echo timestamp > $libobj" || exit $?
82.4016 + exit 0
82.4017 + fi
82.4018 +
82.4019 + if test -n "$pic_flag" || test "$pic_mode" != default; then
82.4020 + # Only do commands if we really have different PIC objects.
82.4021 + reload_objs="$libobjs $reload_conv_objs"
82.4022 + output="$libobj"
82.4023 + eval cmds=\"$reload_cmds\"
82.4024 + save_ifs="$IFS"; IFS='~'
82.4025 + for cmd in $cmds; do
82.4026 + IFS="$save_ifs"
82.4027 + $show "$cmd"
82.4028 + $run eval "$cmd" || exit $?
82.4029 + done
82.4030 + IFS="$save_ifs"
82.4031 + fi
82.4032 +
82.4033 + if test -n "$gentop"; then
82.4034 + $show "${rm}r $gentop"
82.4035 + $run ${rm}r $gentop
82.4036 + fi
82.4037 +
82.4038 + exit 0
82.4039 + ;;
82.4040 +
82.4041 + prog)
82.4042 + case $host in
82.4043 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
82.4044 + esac
82.4045 + if test -n "$vinfo"; then
82.4046 + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
82.4047 + fi
82.4048 +
82.4049 + if test -n "$release"; then
82.4050 + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
82.4051 + fi
82.4052 +
82.4053 + if test "$preload" = yes; then
82.4054 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
82.4055 + test "$dlopen_self_static" = unknown; then
82.4056 + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
82.4057 + fi
82.4058 + fi
82.4059 +
82.4060 + case $host in
82.4061 + *-*-rhapsody* | *-*-darwin1.[012])
82.4062 + # On Rhapsody replace the C library is the System framework
82.4063 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
82.4064 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
82.4065 + ;;
82.4066 + esac
82.4067 +
82.4068 + case $host in
82.4069 + *darwin*)
82.4070 + # Don't allow lazy linking, it breaks C++ global constructors
82.4071 + if test "$tagname" = CXX ; then
82.4072 + compile_command="$compile_command ${wl}-bind_at_load"
82.4073 + finalize_command="$finalize_command ${wl}-bind_at_load"
82.4074 + fi
82.4075 + ;;
82.4076 + esac
82.4077 +
82.4078 + compile_command="$compile_command $compile_deplibs"
82.4079 + finalize_command="$finalize_command $finalize_deplibs"
82.4080 +
82.4081 + if test -n "$rpath$xrpath"; then
82.4082 + # If the user specified any rpath flags, then add them.
82.4083 + for libdir in $rpath $xrpath; do
82.4084 + # This is the magic to use -rpath.
82.4085 + case "$finalize_rpath " in
82.4086 + *" $libdir "*) ;;
82.4087 + *) finalize_rpath="$finalize_rpath $libdir" ;;
82.4088 + esac
82.4089 + done
82.4090 + fi
82.4091 +
82.4092 + # Now hardcode the library paths
82.4093 + rpath=
82.4094 + hardcode_libdirs=
82.4095 + for libdir in $compile_rpath $finalize_rpath; do
82.4096 + if test -n "$hardcode_libdir_flag_spec"; then
82.4097 + if test -n "$hardcode_libdir_separator"; then
82.4098 + if test -z "$hardcode_libdirs"; then
82.4099 + hardcode_libdirs="$libdir"
82.4100 + else
82.4101 + # Just accumulate the unique libdirs.
82.4102 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
82.4103 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
82.4104 + ;;
82.4105 + *)
82.4106 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
82.4107 + ;;
82.4108 + esac
82.4109 + fi
82.4110 + else
82.4111 + eval flag=\"$hardcode_libdir_flag_spec\"
82.4112 + rpath="$rpath $flag"
82.4113 + fi
82.4114 + elif test -n "$runpath_var"; then
82.4115 + case "$perm_rpath " in
82.4116 + *" $libdir "*) ;;
82.4117 + *) perm_rpath="$perm_rpath $libdir" ;;
82.4118 + esac
82.4119 + fi
82.4120 + case $host in
82.4121 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
82.4122 + case :$dllsearchpath: in
82.4123 + *":$libdir:"*) ;;
82.4124 + *) dllsearchpath="$dllsearchpath:$libdir";;
82.4125 + esac
82.4126 + ;;
82.4127 + esac
82.4128 + done
82.4129 + # Substitute the hardcoded libdirs into the rpath.
82.4130 + if test -n "$hardcode_libdir_separator" &&
82.4131 + test -n "$hardcode_libdirs"; then
82.4132 + libdir="$hardcode_libdirs"
82.4133 + eval rpath=\" $hardcode_libdir_flag_spec\"
82.4134 + fi
82.4135 + compile_rpath="$rpath"
82.4136 +
82.4137 + rpath=
82.4138 + hardcode_libdirs=
82.4139 + for libdir in $finalize_rpath; do
82.4140 + if test -n "$hardcode_libdir_flag_spec"; then
82.4141 + if test -n "$hardcode_libdir_separator"; then
82.4142 + if test -z "$hardcode_libdirs"; then
82.4143 + hardcode_libdirs="$libdir"
82.4144 + else
82.4145 + # Just accumulate the unique libdirs.
82.4146 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
82.4147 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
82.4148 + ;;
82.4149 + *)
82.4150 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
82.4151 + ;;
82.4152 + esac
82.4153 + fi
82.4154 + else
82.4155 + eval flag=\"$hardcode_libdir_flag_spec\"
82.4156 + rpath="$rpath $flag"
82.4157 + fi
82.4158 + elif test -n "$runpath_var"; then
82.4159 + case "$finalize_perm_rpath " in
82.4160 + *" $libdir "*) ;;
82.4161 + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
82.4162 + esac
82.4163 + fi
82.4164 + done
82.4165 + # Substitute the hardcoded libdirs into the rpath.
82.4166 + if test -n "$hardcode_libdir_separator" &&
82.4167 + test -n "$hardcode_libdirs"; then
82.4168 + libdir="$hardcode_libdirs"
82.4169 + eval rpath=\" $hardcode_libdir_flag_spec\"
82.4170 + fi
82.4171 + finalize_rpath="$rpath"
82.4172 +
82.4173 + if test -n "$libobjs" && test "$build_old_libs" = yes; then
82.4174 + # Transform all the library objects into standard objects.
82.4175 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
82.4176 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
82.4177 + fi
82.4178 +
82.4179 + dlsyms=
82.4180 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
82.4181 + if test -n "$NM" && test -n "$global_symbol_pipe"; then
82.4182 + dlsyms="${outputname}S.c"
82.4183 + else
82.4184 + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
82.4185 + fi
82.4186 + fi
82.4187 +
82.4188 + if test -n "$dlsyms"; then
82.4189 + case $dlsyms in
82.4190 + "") ;;
82.4191 + *.c)
82.4192 + # Discover the nlist of each of the dlfiles.
82.4193 + nlist="$output_objdir/${outputname}.nm"
82.4194 +
82.4195 + $show "$rm $nlist ${nlist}S ${nlist}T"
82.4196 + $run $rm "$nlist" "${nlist}S" "${nlist}T"
82.4197 +
82.4198 + # Parse the name list into a source file.
82.4199 + $show "creating $output_objdir/$dlsyms"
82.4200 +
82.4201 + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
82.4202 +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
82.4203 +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
82.4204 +
82.4205 +#ifdef __cplusplus
82.4206 +extern \"C\" {
82.4207 +#endif
82.4208 +
82.4209 +/* Prevent the only kind of declaration conflicts we can make. */
82.4210 +#define lt_preloaded_symbols some_other_symbol
82.4211 +
82.4212 +/* External symbol declarations for the compiler. */\
82.4213 +"
82.4214 +
82.4215 + if test "$dlself" = yes; then
82.4216 + $show "generating symbol list for \`$output'"
82.4217 +
82.4218 + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
82.4219 +
82.4220 + # Add our own program objects to the symbol list.
82.4221 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
82.4222 + for arg in $progfiles; do
82.4223 + $show "extracting global C symbols from \`$arg'"
82.4224 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
82.4225 + done
82.4226 +
82.4227 + if test -n "$exclude_expsyms"; then
82.4228 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
82.4229 + $run eval '$mv "$nlist"T "$nlist"'
82.4230 + fi
82.4231 +
82.4232 + if test -n "$export_symbols_regex"; then
82.4233 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
82.4234 + $run eval '$mv "$nlist"T "$nlist"'
82.4235 + fi
82.4236 +
82.4237 + # Prepare the list of exported symbols
82.4238 + if test -z "$export_symbols"; then
82.4239 + export_symbols="$output_objdir/$output.exp"
82.4240 + $run $rm $export_symbols
82.4241 + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
82.4242 + else
82.4243 + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
82.4244 + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
82.4245 + $run eval 'mv "$nlist"T "$nlist"'
82.4246 + fi
82.4247 + fi
82.4248 +
82.4249 + for arg in $dlprefiles; do
82.4250 + $show "extracting global C symbols from \`$arg'"
82.4251 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
82.4252 + $run eval '$echo ": $name " >> "$nlist"'
82.4253 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
82.4254 + done
82.4255 +
82.4256 + if test -z "$run"; then
82.4257 + # Make sure we have at least an empty file.
82.4258 + test -f "$nlist" || : > "$nlist"
82.4259 +
82.4260 + if test -n "$exclude_expsyms"; then
82.4261 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
82.4262 + $mv "$nlist"T "$nlist"
82.4263 + fi
82.4264 +
82.4265 + # Try sorting and uniquifying the output.
82.4266 + if grep -v "^: " < "$nlist" |
82.4267 + if sort -k 3 </dev/null >/dev/null 2>&1; then
82.4268 + sort -k 3
82.4269 + else
82.4270 + sort +2
82.4271 + fi |
82.4272 + uniq > "$nlist"S; then
82.4273 + :
82.4274 + else
82.4275 + grep -v "^: " < "$nlist" > "$nlist"S
82.4276 + fi
82.4277 +
82.4278 + if test -f "$nlist"S; then
82.4279 + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
82.4280 + else
82.4281 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
82.4282 + fi
82.4283 +
82.4284 + $echo >> "$output_objdir/$dlsyms" "\
82.4285 +
82.4286 +#undef lt_preloaded_symbols
82.4287 +
82.4288 +#if defined (__STDC__) && __STDC__
82.4289 +# define lt_ptr void *
82.4290 +#else
82.4291 +# define lt_ptr char *
82.4292 +# define const
82.4293 +#endif
82.4294 +
82.4295 +/* The mapping between symbol names and symbols. */
82.4296 +const struct {
82.4297 + const char *name;
82.4298 + lt_ptr address;
82.4299 +}
82.4300 +lt_preloaded_symbols[] =
82.4301 +{\
82.4302 +"
82.4303 +
82.4304 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
82.4305 +
82.4306 + $echo >> "$output_objdir/$dlsyms" "\
82.4307 + {0, (lt_ptr) 0}
82.4308 +};
82.4309 +
82.4310 +/* This works around a problem in FreeBSD linker */
82.4311 +#ifdef FREEBSD_WORKAROUND
82.4312 +static const void *lt_preloaded_setup() {
82.4313 + return lt_preloaded_symbols;
82.4314 +}
82.4315 +#endif
82.4316 +
82.4317 +#ifdef __cplusplus
82.4318 +}
82.4319 +#endif\
82.4320 +"
82.4321 + fi
82.4322 +
82.4323 + pic_flag_for_symtable=
82.4324 + case $host in
82.4325 + # compiling the symbol table file with pic_flag works around
82.4326 + # a FreeBSD bug that causes programs to crash when -lm is
82.4327 + # linked before any other PIC object. But we must not use
82.4328 + # pic_flag when linking with -static. The problem exists in
82.4329 + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
82.4330 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
82.4331 + case "$compile_command " in
82.4332 + *" -static "*) ;;
82.4333 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
82.4334 + esac;;
82.4335 + *-*-hpux*)
82.4336 + case "$compile_command " in
82.4337 + *" -static "*) ;;
82.4338 + *) pic_flag_for_symtable=" $pic_flag";;
82.4339 + esac
82.4340 + esac
82.4341 +
82.4342 + # Now compile the dynamic symbol file.
82.4343 + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
82.4344 + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
82.4345 +
82.4346 + # Clean up the generated files.
82.4347 + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
82.4348 + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
82.4349 +
82.4350 + # Transform the symbol file into the correct name.
82.4351 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
82.4352 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
82.4353 + ;;
82.4354 + *)
82.4355 + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
82.4356 + exit 1
82.4357 + ;;
82.4358 + esac
82.4359 + else
82.4360 + # We keep going just in case the user didn't refer to
82.4361 + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
82.4362 + # really was required.
82.4363 +
82.4364 + # Nullify the symbol file.
82.4365 + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
82.4366 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
82.4367 + fi
82.4368 +
82.4369 + # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G
82.4370 + # Also add -bnolibpath to the beginning of the link line, to clear the hardcoded runpath.
82.4371 + # Otherwise, things like the -L path to libgcc.a are accidentally hardcoded by ld.
82.4372 + # This does not apply on AIX for ia64, which uses a SysV linker.
82.4373 + case "$host" in
82.4374 + ia64-*-aix5*) ;;
82.4375 + *-*-aix4* | *-*-aix5*)
82.4376 + compile_command=`$echo "X$compile_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"`
82.4377 + finalize_command=`$echo "X$finalize_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;;
82.4378 + esac
82.4379 +
82.4380 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
82.4381 + # Replace the output file specification.
82.4382 + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
82.4383 + link_command="$compile_command$compile_rpath"
82.4384 +
82.4385 + # We have no uninstalled library dependencies, so finalize right now.
82.4386 + $show "$link_command"
82.4387 + $run eval "$link_command"
82.4388 + status=$?
82.4389 +
82.4390 + # Delete the generated files.
82.4391 + if test -n "$dlsyms"; then
82.4392 + $show "$rm $output_objdir/${outputname}S.${objext}"
82.4393 + $run $rm "$output_objdir/${outputname}S.${objext}"
82.4394 + fi
82.4395 +
82.4396 + exit $status
82.4397 + fi
82.4398 +
82.4399 + if test -n "$shlibpath_var"; then
82.4400 + # We should set the shlibpath_var
82.4401 + rpath=
82.4402 + for dir in $temp_rpath; do
82.4403 + case $dir in
82.4404 + [\\/]* | [A-Za-z]:[\\/]*)
82.4405 + # Absolute path.
82.4406 + rpath="$rpath$dir:"
82.4407 + ;;
82.4408 + *)
82.4409 + # Relative path: add a thisdir entry.
82.4410 + rpath="$rpath\$thisdir/$dir:"
82.4411 + ;;
82.4412 + esac
82.4413 + done
82.4414 + temp_rpath="$rpath"
82.4415 + fi
82.4416 +
82.4417 + if test -n "$compile_shlibpath$finalize_shlibpath"; then
82.4418 + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
82.4419 + fi
82.4420 + if test -n "$finalize_shlibpath"; then
82.4421 + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
82.4422 + fi
82.4423 +
82.4424 + compile_var=
82.4425 + finalize_var=
82.4426 + if test -n "$runpath_var"; then
82.4427 + if test -n "$perm_rpath"; then
82.4428 + # We should set the runpath_var.
82.4429 + rpath=
82.4430 + for dir in $perm_rpath; do
82.4431 + rpath="$rpath$dir:"
82.4432 + done
82.4433 + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
82.4434 + fi
82.4435 + if test -n "$finalize_perm_rpath"; then
82.4436 + # We should set the runpath_var.
82.4437 + rpath=
82.4438 + for dir in $finalize_perm_rpath; do
82.4439 + rpath="$rpath$dir:"
82.4440 + done
82.4441 + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
82.4442 + fi
82.4443 + fi
82.4444 +
82.4445 + if test "$no_install" = yes; then
82.4446 + # We don't need to create a wrapper script.
82.4447 + link_command="$compile_var$compile_command$compile_rpath"
82.4448 + # Replace the output file specification.
82.4449 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
82.4450 + # Delete the old output file.
82.4451 + $run $rm $output
82.4452 + # Link the executable and exit
82.4453 + $show "$link_command"
82.4454 + $run eval "$link_command" || exit $?
82.4455 + exit 0
82.4456 + fi
82.4457 +
82.4458 + if test "$hardcode_action" = relink; then
82.4459 + # Fast installation is not supported
82.4460 + link_command="$compile_var$compile_command$compile_rpath"
82.4461 + relink_command="$finalize_var$finalize_command$finalize_rpath"
82.4462 +
82.4463 + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
82.4464 + $echo "$modename: \`$output' will be relinked during installation" 1>&2
82.4465 + else
82.4466 + if test "$fast_install" != no; then
82.4467 + link_command="$finalize_var$compile_command$finalize_rpath"
82.4468 + if test "$fast_install" = yes; then
82.4469 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
82.4470 + else
82.4471 + # fast_install is set to needless
82.4472 + relink_command=
82.4473 + fi
82.4474 + else
82.4475 + link_command="$compile_var$compile_command$compile_rpath"
82.4476 + relink_command="$finalize_var$finalize_command$finalize_rpath"
82.4477 + fi
82.4478 + fi
82.4479 +
82.4480 + # Replace the output file specification.
82.4481 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
82.4482 +
82.4483 + # Delete the old output files.
82.4484 + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
82.4485 +
82.4486 + $show "$link_command"
82.4487 + $run eval "$link_command" || exit $?
82.4488 +
82.4489 + # Now create the wrapper script.
82.4490 + $show "creating $output"
82.4491 +
82.4492 + # Quote the relink command for shipping.
82.4493 + if test -n "$relink_command"; then
82.4494 + # Preserve any variables that may affect compiler behavior
82.4495 + for var in $variables_saved_for_relink; do
82.4496 + if eval test -z \"\${$var+set}\"; then
82.4497 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
82.4498 + elif eval var_value=\$$var; test -z "$var_value"; then
82.4499 + relink_command="$var=; export $var; $relink_command"
82.4500 + else
82.4501 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
82.4502 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
82.4503 + fi
82.4504 + done
82.4505 + relink_command="(cd `pwd`; $relink_command)"
82.4506 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
82.4507 + fi
82.4508 +
82.4509 + # Quote $echo for shipping.
82.4510 + if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
82.4511 + case $0 in
82.4512 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
82.4513 + *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
82.4514 + esac
82.4515 + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
82.4516 + else
82.4517 + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
82.4518 + fi
82.4519 +
82.4520 + # Only actually do things if our run command is non-null.
82.4521 + if test -z "$run"; then
82.4522 + # win32 will think the script is a binary if it has
82.4523 + # a .exe suffix, so we strip it off here.
82.4524 + case $output in
82.4525 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
82.4526 + esac
82.4527 + # test for cygwin because mv fails w/o .exe extensions
82.4528 + case $host in
82.4529 + *cygwin*)
82.4530 + exeext=.exe
82.4531 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
82.4532 + *) exeext= ;;
82.4533 + esac
82.4534 + case $host in
82.4535 + *cygwin* | *mingw* )
82.4536 + cwrappersource=`$echo ${objdir}/lt-${output}.c`
82.4537 + cwrapper=`$echo ${output}.exe`
82.4538 + $rm $cwrappersource $cwrapper
82.4539 + trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
82.4540 +
82.4541 + cat > $cwrappersource <<EOF
82.4542 +
82.4543 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
82.4544 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
82.4545 +
82.4546 + The $output program cannot be directly executed until all the libtool
82.4547 + libraries that it depends on are installed.
82.4548 +
82.4549 + This wrapper executable should never be moved out of the build directory.
82.4550 + If it is, it will not operate correctly.
82.4551 +
82.4552 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
82.4553 + but could eventually absorb all of the scripts functionality and
82.4554 + exec $objdir/$outputname directly.
82.4555 +*/
82.4556 +EOF
82.4557 + cat >> $cwrappersource<<"EOF"
82.4558 +#include <stdio.h>
82.4559 +#include <stdlib.h>
82.4560 +#include <unistd.h>
82.4561 +#include <malloc.h>
82.4562 +#include <stdarg.h>
82.4563 +#include <assert.h>
82.4564 +
82.4565 +#if defined(PATH_MAX)
82.4566 +# define LT_PATHMAX PATH_MAX
82.4567 +#elif defined(MAXPATHLEN)
82.4568 +# define LT_PATHMAX MAXPATHLEN
82.4569 +#else
82.4570 +# define LT_PATHMAX 1024
82.4571 +#endif
82.4572 +
82.4573 +#ifndef DIR_SEPARATOR
82.4574 +#define DIR_SEPARATOR '/'
82.4575 +#endif
82.4576 +
82.4577 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
82.4578 + defined (__OS2__)
82.4579 +#define HAVE_DOS_BASED_FILE_SYSTEM
82.4580 +#ifndef DIR_SEPARATOR_2
82.4581 +#define DIR_SEPARATOR_2 '\\'
82.4582 +#endif
82.4583 +#endif
82.4584 +
82.4585 +#ifndef DIR_SEPARATOR_2
82.4586 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
82.4587 +#else /* DIR_SEPARATOR_2 */
82.4588 +# define IS_DIR_SEPARATOR(ch) \
82.4589 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
82.4590 +#endif /* DIR_SEPARATOR_2 */
82.4591 +
82.4592 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
82.4593 +#define XFREE(stale) do { \
82.4594 + if (stale) { free ((void *) stale); stale = 0; } \
82.4595 +} while (0)
82.4596 +
82.4597 +const char *program_name = NULL;
82.4598 +
82.4599 +void * xmalloc (size_t num);
82.4600 +char * xstrdup (const char *string);
82.4601 +char * basename (const char *name);
82.4602 +char * fnqualify(const char *path);
82.4603 +char * strendzap(char *str, const char *pat);
82.4604 +void lt_fatal (const char *message, ...);
82.4605 +
82.4606 +int
82.4607 +main (int argc, char *argv[])
82.4608 +{
82.4609 + char **newargz;
82.4610 + int i;
82.4611 +
82.4612 + program_name = (char *) xstrdup ((char *) basename (argv[0]));
82.4613 + newargz = XMALLOC(char *, argc+2);
82.4614 +EOF
82.4615 +
82.4616 + cat >> $cwrappersource <<EOF
82.4617 + newargz[0] = "$SHELL";
82.4618 +EOF
82.4619 +
82.4620 + cat >> $cwrappersource <<"EOF"
82.4621 + newargz[1] = fnqualify(argv[0]);
82.4622 + /* we know the script has the same name, without the .exe */
82.4623 + /* so make sure newargz[1] doesn't end in .exe */
82.4624 + strendzap(newargz[1],".exe");
82.4625 + for (i = 1; i < argc; i++)
82.4626 + newargz[i+1] = xstrdup(argv[i]);
82.4627 + newargz[argc+1] = NULL;
82.4628 +EOF
82.4629 +
82.4630 + cat >> $cwrappersource <<EOF
82.4631 + execv("$SHELL",newargz);
82.4632 +EOF
82.4633 +
82.4634 + cat >> $cwrappersource <<"EOF"
82.4635 +}
82.4636 +
82.4637 +void *
82.4638 +xmalloc (size_t num)
82.4639 +{
82.4640 + void * p = (void *) malloc (num);
82.4641 + if (!p)
82.4642 + lt_fatal ("Memory exhausted");
82.4643 +
82.4644 + return p;
82.4645 +}
82.4646 +
82.4647 +char *
82.4648 +xstrdup (const char *string)
82.4649 +{
82.4650 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
82.4651 +;
82.4652 +}
82.4653 +
82.4654 +char *
82.4655 +basename (const char *name)
82.4656 +{
82.4657 + const char *base;
82.4658 +
82.4659 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
82.4660 + /* Skip over the disk name in MSDOS pathnames. */
82.4661 + if (isalpha (name[0]) && name[1] == ':')
82.4662 + name += 2;
82.4663 +#endif
82.4664 +
82.4665 + for (base = name; *name; name++)
82.4666 + if (IS_DIR_SEPARATOR (*name))
82.4667 + base = name + 1;
82.4668 + return (char *) base;
82.4669 +}
82.4670 +
82.4671 +char *
82.4672 +fnqualify(const char *path)
82.4673 +{
82.4674 + size_t size;
82.4675 + char *p;
82.4676 + char tmp[LT_PATHMAX + 1];
82.4677 +
82.4678 + assert(path != NULL);
82.4679 +
82.4680 + /* Is it qualified already? */
82.4681 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
82.4682 + if (isalpha (path[0]) && path[1] == ':')
82.4683 + return xstrdup (path);
82.4684 +#endif
82.4685 + if (IS_DIR_SEPARATOR (path[0]))
82.4686 + return xstrdup (path);
82.4687 +
82.4688 + /* prepend the current directory */
82.4689 + /* doesn't handle '~' */
82.4690 + if (getcwd (tmp, LT_PATHMAX) == NULL)
82.4691 + lt_fatal ("getcwd failed");
82.4692 + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
82.4693 + p = XMALLOC(char, size);
82.4694 + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
82.4695 + return p;
82.4696 +}
82.4697 +
82.4698 +char *
82.4699 +strendzap(char *str, const char *pat)
82.4700 +{
82.4701 + size_t len, patlen;
82.4702 +
82.4703 + assert(str != NULL);
82.4704 + assert(pat != NULL);
82.4705 +
82.4706 + len = strlen(str);
82.4707 + patlen = strlen(pat);
82.4708 +
82.4709 + if (patlen <= len)
82.4710 + {
82.4711 + str += len - patlen;
82.4712 + if (strcmp(str, pat) == 0)
82.4713 + *str = '\0';
82.4714 + }
82.4715 + return str;
82.4716 +}
82.4717 +
82.4718 +static void
82.4719 +lt_error_core (int exit_status, const char * mode,
82.4720 + const char * message, va_list ap)
82.4721 +{
82.4722 + fprintf (stderr, "%s: %s: ", program_name, mode);
82.4723 + vfprintf (stderr, message, ap);
82.4724 + fprintf (stderr, ".\n");
82.4725 +
82.4726 + if (exit_status >= 0)
82.4727 + exit (exit_status);
82.4728 +}
82.4729 +
82.4730 +void
82.4731 +lt_fatal (const char *message, ...)
82.4732 +{
82.4733 + va_list ap;
82.4734 + va_start (ap, message);
82.4735 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
82.4736 + va_end (ap);
82.4737 +}
82.4738 +EOF
82.4739 + # we should really use a build-platform specific compiler
82.4740 + # here, but OTOH, the wrappers (shell script and this C one)
82.4741 + # are only useful if you want to execute the "real" binary.
82.4742 + # Since the "real" binary is built for $host, then this
82.4743 + # wrapper might as well be built for $host, too.
82.4744 + $run $LTCC -s -o $cwrapper $cwrappersource
82.4745 + ;;
82.4746 + esac
82.4747 + $rm $output
82.4748 + trap "$rm $output; exit 1" 1 2 15
82.4749 +
82.4750 + $echo > $output "\
82.4751 +#! $SHELL
82.4752 +
82.4753 +# $output - temporary wrapper script for $objdir/$outputname
82.4754 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
82.4755 +#
82.4756 +# The $output program cannot be directly executed until all the libtool
82.4757 +# libraries that it depends on are installed.
82.4758 +#
82.4759 +# This wrapper script should never be moved out of the build directory.
82.4760 +# If it is, it will not operate correctly.
82.4761 +
82.4762 +# Sed substitution that helps us do robust quoting. It backslashifies
82.4763 +# metacharacters that are still active within double-quoted strings.
82.4764 +Xsed='${SED} -e 1s/^X//'
82.4765 +sed_quote_subst='$sed_quote_subst'
82.4766 +
82.4767 +# The HP-UX ksh and POSIX shell print the target directory to stdout
82.4768 +# if CDPATH is set.
82.4769 +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
82.4770 +
82.4771 +relink_command=\"$relink_command\"
82.4772 +
82.4773 +# This environment variable determines our operation mode.
82.4774 +if test \"\$libtool_install_magic\" = \"$magic\"; then
82.4775 + # install mode needs the following variable:
82.4776 + notinst_deplibs='$notinst_deplibs'
82.4777 +else
82.4778 + # When we are sourced in execute mode, \$file and \$echo are already set.
82.4779 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
82.4780 + echo=\"$qecho\"
82.4781 + file=\"\$0\"
82.4782 + # Make sure echo works.
82.4783 + if test \"X\$1\" = X--no-reexec; then
82.4784 + # Discard the --no-reexec flag, and continue.
82.4785 + shift
82.4786 + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
82.4787 + # Yippee, \$echo works!
82.4788 + :
82.4789 + else
82.4790 + # Restart under the correct shell, and then maybe \$echo will work.
82.4791 + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
82.4792 + fi
82.4793 + fi\
82.4794 +"
82.4795 + $echo >> $output "\
82.4796 +
82.4797 + # Find the directory that this script lives in.
82.4798 + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
82.4799 + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
82.4800 +
82.4801 + # Follow symbolic links until we get to the real thisdir.
82.4802 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
82.4803 + while test -n \"\$file\"; do
82.4804 + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
82.4805 +
82.4806 + # If there was a directory component, then change thisdir.
82.4807 + if test \"x\$destdir\" != \"x\$file\"; then
82.4808 + case \"\$destdir\" in
82.4809 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
82.4810 + *) thisdir=\"\$thisdir/\$destdir\" ;;
82.4811 + esac
82.4812 + fi
82.4813 +
82.4814 + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
82.4815 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
82.4816 + done
82.4817 +
82.4818 + # Try to get the absolute directory name.
82.4819 + absdir=\`cd \"\$thisdir\" && pwd\`
82.4820 + test -n \"\$absdir\" && thisdir=\"\$absdir\"
82.4821 +"
82.4822 +
82.4823 + if test "$fast_install" = yes; then
82.4824 + $echo >> $output "\
82.4825 + program=lt-'$outputname'$exeext
82.4826 + progdir=\"\$thisdir/$objdir\"
82.4827 +
82.4828 + if test ! -f \"\$progdir/\$program\" || \\
82.4829 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
82.4830 + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
82.4831 +
82.4832 + file=\"\$\$-\$program\"
82.4833 +
82.4834 + if test ! -d \"\$progdir\"; then
82.4835 + $mkdir \"\$progdir\"
82.4836 + else
82.4837 + $rm \"\$progdir/\$file\"
82.4838 + fi"
82.4839 +
82.4840 + $echo >> $output "\
82.4841 +
82.4842 + # relink executable if necessary
82.4843 + if test -n \"\$relink_command\"; then
82.4844 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
82.4845 + else
82.4846 + $echo \"\$relink_command_output\" >&2
82.4847 + $rm \"\$progdir/\$file\"
82.4848 + exit 1
82.4849 + fi
82.4850 + fi
82.4851 +
82.4852 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
82.4853 + { $rm \"\$progdir/\$program\";
82.4854 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
82.4855 + $rm \"\$progdir/\$file\"
82.4856 + fi"
82.4857 + else
82.4858 + $echo >> $output "\
82.4859 + program='$outputname'
82.4860 + progdir=\"\$thisdir/$objdir\"
82.4861 +"
82.4862 + fi
82.4863 +
82.4864 + $echo >> $output "\
82.4865 +
82.4866 + if test -f \"\$progdir/\$program\"; then"
82.4867 +
82.4868 + # Export our shlibpath_var if we have one.
82.4869 + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
82.4870 + $echo >> $output "\
82.4871 + # Add our own library path to $shlibpath_var
82.4872 + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
82.4873 +
82.4874 + # Some systems cannot cope with colon-terminated $shlibpath_var
82.4875 + # The second colon is a workaround for a bug in BeOS R4 sed
82.4876 + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
82.4877 +
82.4878 + export $shlibpath_var
82.4879 +"
82.4880 + fi
82.4881 +
82.4882 + # fixup the dll searchpath if we need to.
82.4883 + if test -n "$dllsearchpath"; then
82.4884 + $echo >> $output "\
82.4885 + # Add the dll search path components to the executable PATH
82.4886 + PATH=$dllsearchpath:\$PATH
82.4887 +"
82.4888 + fi
82.4889 +
82.4890 + $echo >> $output "\
82.4891 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
82.4892 + # Run the actual program with our arguments.
82.4893 +"
82.4894 + case $host in
82.4895 + # Backslashes separate directories on plain windows
82.4896 + *-*-mingw | *-*-os2*)
82.4897 + $echo >> $output "\
82.4898 + exec \$progdir\\\\\$program \${1+\"\$@\"}
82.4899 +"
82.4900 + ;;
82.4901 +
82.4902 + *)
82.4903 + $echo >> $output "\
82.4904 + exec \$progdir/\$program \${1+\"\$@\"}
82.4905 +"
82.4906 + ;;
82.4907 + esac
82.4908 + $echo >> $output "\
82.4909 + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
82.4910 + exit 1
82.4911 + fi
82.4912 + else
82.4913 + # The program doesn't exist.
82.4914 + \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
82.4915 + \$echo \"This script is just a wrapper for \$program.\" 1>&2
82.4916 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
82.4917 + exit 1
82.4918 + fi
82.4919 +fi\
82.4920 +"
82.4921 + chmod +x $output
82.4922 + fi
82.4923 + exit 0
82.4924 + ;;
82.4925 + esac
82.4926 +
82.4927 + # See if we need to build an old-fashioned archive.
82.4928 + for oldlib in $oldlibs; do
82.4929 +
82.4930 + if test "$build_libtool_libs" = convenience; then
82.4931 + oldobjs="$libobjs_save"
82.4932 + addlibs="$convenience"
82.4933 + build_libtool_libs=no
82.4934 + else
82.4935 + if test "$build_libtool_libs" = module; then
82.4936 + oldobjs="$libobjs_save"
82.4937 + build_libtool_libs=no
82.4938 + else
82.4939 + oldobjs="$old_deplibs $non_pic_objects"
82.4940 + fi
82.4941 + addlibs="$old_convenience"
82.4942 + fi
82.4943 +
82.4944 + if test -n "$addlibs"; then
82.4945 + gentop="$output_objdir/${outputname}x"
82.4946 + $show "${rm}r $gentop"
82.4947 + $run ${rm}r "$gentop"
82.4948 + $show "$mkdir $gentop"
82.4949 + $run $mkdir "$gentop"
82.4950 + status=$?
82.4951 + if test "$status" -ne 0 && test ! -d "$gentop"; then
82.4952 + exit $status
82.4953 + fi
82.4954 + generated="$generated $gentop"
82.4955 +
82.4956 + # Add in members from convenience archives.
82.4957 + for xlib in $addlibs; do
82.4958 + # Extract the objects.
82.4959 + case $xlib in
82.4960 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
82.4961 + *) xabs=`pwd`"/$xlib" ;;
82.4962 + esac
82.4963 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
82.4964 + xdir="$gentop/$xlib"
82.4965 +
82.4966 + $show "${rm}r $xdir"
82.4967 + $run ${rm}r "$xdir"
82.4968 + $show "$mkdir $xdir"
82.4969 + $run $mkdir "$xdir"
82.4970 + status=$?
82.4971 + if test "$status" -ne 0 && test ! -d "$xdir"; then
82.4972 + exit $status
82.4973 + fi
82.4974 + # We will extract separately just the conflicting names and we will no
82.4975 + # longer touch any unique names. It is faster to leave these extract
82.4976 + # automatically by $AR in one run.
82.4977 + $show "(cd $xdir && $AR x $xabs)"
82.4978 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
82.4979 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
82.4980 + :
82.4981 + else
82.4982 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
82.4983 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
82.4984 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
82.4985 + do
82.4986 + i=1
82.4987 + while test "$i" -le "$count"
82.4988 + do
82.4989 + # Put our $i before any first dot (extension)
82.4990 + # Never overwrite any file
82.4991 + name_to="$name"
82.4992 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
82.4993 + do
82.4994 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
82.4995 + done
82.4996 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
82.4997 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
82.4998 + i=`expr $i + 1`
82.4999 + done
82.5000 + done
82.5001 + fi
82.5002 +
82.5003 + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
82.5004 + done
82.5005 + fi
82.5006 +
82.5007 + compiler_flags="$compiler_flags $add_flags"
82.5008 +
82.5009 + # Do each command in the archive commands.
82.5010 + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
82.5011 + eval cmds=\"$old_archive_from_new_cmds\"
82.5012 + else
82.5013 + eval cmds=\"$old_archive_cmds\"
82.5014 +
82.5015 + if len=`expr "X$cmds" : ".*"` &&
82.5016 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
82.5017 + :
82.5018 + else
82.5019 + # the command line is too long to link in one step, link in parts
82.5020 + $echo "using piecewise archive linking..."
82.5021 + save_RANLIB=$RANLIB
82.5022 + RANLIB=:
82.5023 + objlist=
82.5024 + concat_cmds=
82.5025 + save_oldobjs=$oldobjs
82.5026 + # GNU ar 2.10+ was changed to match POSIX; thus no paths are
82.5027 + # encoded into archives. This makes 'ar r' malfunction in
82.5028 + # this piecewise linking case whenever conflicting object
82.5029 + # names appear in distinct ar calls; check, warn and compensate.
82.5030 + if (for obj in $save_oldobjs
82.5031 + do
82.5032 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
82.5033 + done | sort | sort -uc >/dev/null 2>&1); then
82.5034 + :
82.5035 + else
82.5036 + $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
82.5037 + $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
82.5038 + AR_FLAGS=cq
82.5039 + fi
82.5040 + # Is there a better way of finding the last object in the list?
82.5041 + for obj in $save_oldobjs
82.5042 + do
82.5043 + last_oldobj=$obj
82.5044 + done
82.5045 + for obj in $save_oldobjs
82.5046 + do
82.5047 + oldobjs="$objlist $obj"
82.5048 + objlist="$objlist $obj"
82.5049 + eval test_cmds=\"$old_archive_cmds\"
82.5050 + if len=`expr "X$test_cmds" : ".*"` &&
82.5051 + test "$len" -le "$max_cmd_len"; then
82.5052 + :
82.5053 + else
82.5054 + # the above command should be used before it gets too long
82.5055 + oldobjs=$objlist
82.5056 + if test "$obj" = "$last_oldobj" ; then
82.5057 + RANLIB=$save_RANLIB
82.5058 + fi
82.5059 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
82.5060 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
82.5061 + objlist=
82.5062 + fi
82.5063 + done
82.5064 + RANLIB=$save_RANLIB
82.5065 + oldobjs=$objlist
82.5066 + if test "X$oldobjs" = "X" ; then
82.5067 + eval cmds=\"\$concat_cmds\"
82.5068 + else
82.5069 + eval cmds=\"\$concat_cmds~$old_archive_cmds\"
82.5070 + fi
82.5071 + fi
82.5072 + fi
82.5073 + save_ifs="$IFS"; IFS='~'
82.5074 + for cmd in $cmds; do
82.5075 + IFS="$save_ifs"
82.5076 + $show "$cmd"
82.5077 + $run eval "$cmd" || exit $?
82.5078 + done
82.5079 + IFS="$save_ifs"
82.5080 + done
82.5081 +
82.5082 + if test -n "$generated"; then
82.5083 + $show "${rm}r$generated"
82.5084 + $run ${rm}r$generated
82.5085 + fi
82.5086 +
82.5087 + # Now create the libtool archive.
82.5088 + case $output in
82.5089 + *.la)
82.5090 + old_library=
82.5091 + test "$build_old_libs" = yes && old_library="$libname.$libext"
82.5092 + $show "creating $output"
82.5093 +
82.5094 + # Preserve any variables that may affect compiler behavior
82.5095 + for var in $variables_saved_for_relink; do
82.5096 + if eval test -z \"\${$var+set}\"; then
82.5097 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
82.5098 + elif eval var_value=\$$var; test -z "$var_value"; then
82.5099 + relink_command="$var=; export $var; $relink_command"
82.5100 + else
82.5101 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
82.5102 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
82.5103 + fi
82.5104 + done
82.5105 + # Quote the link command for shipping.
82.5106 + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
82.5107 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
82.5108 + if test "$hardcode_automatic" = yes ; then
82.5109 + relink_command=
82.5110 + fi
82.5111 + # Only create the output if not a dry run.
82.5112 + if test -z "$run"; then
82.5113 + for installed in no yes; do
82.5114 + if test "$installed" = yes; then
82.5115 + if test -z "$install_libdir"; then
82.5116 + break
82.5117 + fi
82.5118 + output="$output_objdir/$outputname"i
82.5119 + # Replace all uninstalled libtool libraries with the installed ones
82.5120 + newdependency_libs=
82.5121 + for deplib in $dependency_libs; do
82.5122 + case $deplib in
82.5123 + *.la)
82.5124 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
82.5125 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
82.5126 + if test -z "$libdir"; then
82.5127 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
82.5128 + exit 1
82.5129 + fi
82.5130 + newdependency_libs="$newdependency_libs $libdir/$name"
82.5131 + ;;
82.5132 + *) newdependency_libs="$newdependency_libs $deplib" ;;
82.5133 + esac
82.5134 + done
82.5135 + dependency_libs="$newdependency_libs"
82.5136 + newdlfiles=
82.5137 + for lib in $dlfiles; do
82.5138 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
82.5139 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
82.5140 + if test -z "$libdir"; then
82.5141 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
82.5142 + exit 1
82.5143 + fi
82.5144 + newdlfiles="$newdlfiles $libdir/$name"
82.5145 + done
82.5146 + dlfiles="$newdlfiles"
82.5147 + newdlprefiles=
82.5148 + for lib in $dlprefiles; do
82.5149 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
82.5150 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
82.5151 + if test -z "$libdir"; then
82.5152 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
82.5153 + exit 1
82.5154 + fi
82.5155 + newdlprefiles="$newdlprefiles $libdir/$name"
82.5156 + done
82.5157 + dlprefiles="$newdlprefiles"
82.5158 + fi
82.5159 + $rm $output
82.5160 + # place dlname in correct position for cygwin
82.5161 + tdlname=$dlname
82.5162 + case $host,$output,$installed,$module,$dlname in
82.5163 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
82.5164 + esac
82.5165 + $echo > $output "\
82.5166 +# $outputname - a libtool library file
82.5167 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
82.5168 +#
82.5169 +# Please DO NOT delete this file!
82.5170 +# It is necessary for linking the library.
82.5171 +
82.5172 +# The name that we can dlopen(3).
82.5173 +dlname='$tdlname'
82.5174 +
82.5175 +# Names of this library.
82.5176 +library_names='$library_names'
82.5177 +
82.5178 +# The name of the static archive.
82.5179 +old_library='$old_library'
82.5180 +
82.5181 +# Libraries that this one depends upon.
82.5182 +dependency_libs='$dependency_libs'
82.5183 +
82.5184 +# Version information for $libname.
82.5185 +current=$current
82.5186 +age=$age
82.5187 +revision=$revision
82.5188 +
82.5189 +# Is this an already installed library?
82.5190 +installed=$installed
82.5191 +
82.5192 +# Should we warn about portability when linking against -modules?
82.5193 +shouldnotlink=$module
82.5194 +
82.5195 +# Files to dlopen/dlpreopen
82.5196 +dlopen='$dlfiles'
82.5197 +dlpreopen='$dlprefiles'
82.5198 +
82.5199 +# Directory that this library needs to be installed in:
82.5200 +libdir='$install_libdir'"
82.5201 + if test "$installed" = no && test "$need_relink" = yes && test "$fast_install" = no; then
82.5202 + $echo >> $output "\
82.5203 +relink_command=\"$relink_command\""
82.5204 + fi
82.5205 + done
82.5206 + fi
82.5207 +
82.5208 + # Do a symbolic link so that the libtool archive can be found in
82.5209 + # LD_LIBRARY_PATH before the program is installed.
82.5210 + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
82.5211 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
82.5212 + ;;
82.5213 + esac
82.5214 + exit 0
82.5215 + ;;
82.5216 +
82.5217 + # libtool install mode
82.5218 + install)
82.5219 + modename="$modename: install"
82.5220 +
82.5221 + # There may be an optional sh(1) argument at the beginning of
82.5222 + # install_prog (especially on Windows NT).
82.5223 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
82.5224 + # Allow the use of GNU shtool's install command.
82.5225 + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
82.5226 + # Aesthetically quote it.
82.5227 + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
82.5228 + case $arg in
82.5229 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
82.5230 + arg="\"$arg\""
82.5231 + ;;
82.5232 + esac
82.5233 + install_prog="$arg "
82.5234 + arg="$1"
82.5235 + shift
82.5236 + else
82.5237 + install_prog=
82.5238 + arg="$nonopt"
82.5239 + fi
82.5240 +
82.5241 + # The real first argument should be the name of the installation program.
82.5242 + # Aesthetically quote it.
82.5243 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
82.5244 + case $arg in
82.5245 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
82.5246 + arg="\"$arg\""
82.5247 + ;;
82.5248 + esac
82.5249 + install_prog="$install_prog$arg"
82.5250 +
82.5251 + # We need to accept at least all the BSD install flags.
82.5252 + dest=
82.5253 + files=
82.5254 + opts=
82.5255 + prev=
82.5256 + install_type=
82.5257 + isdir=no
82.5258 + stripme=
82.5259 + for arg
82.5260 + do
82.5261 + if test -n "$dest"; then
82.5262 + files="$files $dest"
82.5263 + dest="$arg"
82.5264 + continue
82.5265 + fi
82.5266 +
82.5267 + case $arg in
82.5268 + -d) isdir=yes ;;
82.5269 + -f) prev="-f" ;;
82.5270 + -g) prev="-g" ;;
82.5271 + -m) prev="-m" ;;
82.5272 + -o) prev="-o" ;;
82.5273 + -s)
82.5274 + stripme=" -s"
82.5275 + continue
82.5276 + ;;
82.5277 + -*) ;;
82.5278 +
82.5279 + *)
82.5280 + # If the previous option needed an argument, then skip it.
82.5281 + if test -n "$prev"; then
82.5282 + prev=
82.5283 + else
82.5284 + dest="$arg"
82.5285 + continue
82.5286 + fi
82.5287 + ;;
82.5288 + esac
82.5289 +
82.5290 + # Aesthetically quote the argument.
82.5291 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
82.5292 + case $arg in
82.5293 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
82.5294 + arg="\"$arg\""
82.5295 + ;;
82.5296 + esac
82.5297 + install_prog="$install_prog $arg"
82.5298 + done
82.5299 +
82.5300 + if test -z "$install_prog"; then
82.5301 + $echo "$modename: you must specify an install program" 1>&2
82.5302 + $echo "$help" 1>&2
82.5303 + exit 1
82.5304 + fi
82.5305 +
82.5306 + if test -n "$prev"; then
82.5307 + $echo "$modename: the \`$prev' option requires an argument" 1>&2
82.5308 + $echo "$help" 1>&2
82.5309 + exit 1
82.5310 + fi
82.5311 +
82.5312 + if test -z "$files"; then
82.5313 + if test -z "$dest"; then
82.5314 + $echo "$modename: no file or destination specified" 1>&2
82.5315 + else
82.5316 + $echo "$modename: you must specify a destination" 1>&2
82.5317 + fi
82.5318 + $echo "$help" 1>&2
82.5319 + exit 1
82.5320 + fi
82.5321 +
82.5322 + # Strip any trailing slash from the destination.
82.5323 + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
82.5324 +
82.5325 + # Check to see that the destination is a directory.
82.5326 + test -d "$dest" && isdir=yes
82.5327 + if test "$isdir" = yes; then
82.5328 + destdir="$dest"
82.5329 + destname=
82.5330 + else
82.5331 + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
82.5332 + test "X$destdir" = "X$dest" && destdir=.
82.5333 + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
82.5334 +
82.5335 + # Not a directory, so check to see that there is only one file specified.
82.5336 + set dummy $files
82.5337 + if test "$#" -gt 2; then
82.5338 + $echo "$modename: \`$dest' is not a directory" 1>&2
82.5339 + $echo "$help" 1>&2
82.5340 + exit 1
82.5341 + fi
82.5342 + fi
82.5343 + case $destdir in
82.5344 + [\\/]* | [A-Za-z]:[\\/]*) ;;
82.5345 + *)
82.5346 + for file in $files; do
82.5347 + case $file in
82.5348 + *.lo) ;;
82.5349 + *)
82.5350 + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
82.5351 + $echo "$help" 1>&2
82.5352 + exit 1
82.5353 + ;;
82.5354 + esac
82.5355 + done
82.5356 + ;;
82.5357 + esac
82.5358 +
82.5359 + # This variable tells wrapper scripts just to set variables rather
82.5360 + # than running their programs.
82.5361 + libtool_install_magic="$magic"
82.5362 +
82.5363 + staticlibs=
82.5364 + future_libdirs=
82.5365 + current_libdirs=
82.5366 + for file in $files; do
82.5367 +
82.5368 + # Do each installation.
82.5369 + case $file in
82.5370 + *.$libext)
82.5371 + # Do the static libraries later.
82.5372 + staticlibs="$staticlibs $file"
82.5373 + ;;
82.5374 +
82.5375 + *.la)
82.5376 + # Check to see that this really is a libtool archive.
82.5377 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
82.5378 + else
82.5379 + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
82.5380 + $echo "$help" 1>&2
82.5381 + exit 1
82.5382 + fi
82.5383 +
82.5384 + library_names=
82.5385 + old_library=
82.5386 + relink_command=
82.5387 + # If there is no directory component, then add one.
82.5388 + case $file in
82.5389 + */* | *\\*) . $file ;;
82.5390 + *) . ./$file ;;
82.5391 + esac
82.5392 +
82.5393 + # Add the libdir to current_libdirs if it is the destination.
82.5394 + if test "X$destdir" = "X$libdir"; then
82.5395 + case "$current_libdirs " in
82.5396 + *" $libdir "*) ;;
82.5397 + *) current_libdirs="$current_libdirs $libdir" ;;
82.5398 + esac
82.5399 + else
82.5400 + # Note the libdir as a future libdir.
82.5401 + case "$future_libdirs " in
82.5402 + *" $libdir "*) ;;
82.5403 + *) future_libdirs="$future_libdirs $libdir" ;;
82.5404 + esac
82.5405 + fi
82.5406 +
82.5407 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
82.5408 + test "X$dir" = "X$file/" && dir=
82.5409 + dir="$dir$objdir"
82.5410 +
82.5411 + if test -n "$relink_command"; then
82.5412 + # Determine the prefix the user has applied to our future dir.
82.5413 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
82.5414 +
82.5415 + # Don't allow the user to place us outside of our expected
82.5416 + # location b/c this prevents finding dependent libraries that
82.5417 + # are installed to the same prefix.
82.5418 + # At present, this check doesn't affect windows .dll's that
82.5419 + # are installed into $libdir/../bin (currently, that works fine)
82.5420 + # but it's something to keep an eye on.
82.5421 + if test "$inst_prefix_dir" = "$destdir"; then
82.5422 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
82.5423 + exit 1
82.5424 + fi
82.5425 +
82.5426 + if test -n "$inst_prefix_dir"; then
82.5427 + # Stick the inst_prefix_dir data into the link command.
82.5428 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
82.5429 + else
82.5430 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
82.5431 + fi
82.5432 +
82.5433 + $echo "$modename: warning: relinking \`$file'" 1>&2
82.5434 + $show "$relink_command"
82.5435 + if $run eval "$relink_command"; then :
82.5436 + else
82.5437 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
82.5438 + exit 1
82.5439 + fi
82.5440 + fi
82.5441 +
82.5442 + # See the names of the shared library.
82.5443 + set dummy $library_names
82.5444 + if test -n "$2"; then
82.5445 + realname="$2"
82.5446 + shift
82.5447 + shift
82.5448 +
82.5449 + srcname="$realname"
82.5450 + test -n "$relink_command" && srcname="$realname"T
82.5451 +
82.5452 + # Install the shared library and build the symlinks.
82.5453 + $show "$install_prog $dir/$srcname $destdir/$realname"
82.5454 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
82.5455 + if test -n "$stripme" && test -n "$striplib"; then
82.5456 + $show "$striplib $destdir/$realname"
82.5457 + $run eval "$striplib $destdir/$realname" || exit $?
82.5458 + fi
82.5459 +
82.5460 + if test "$#" -gt 0; then
82.5461 + # Delete the old symlinks, and create new ones.
82.5462 + for linkname
82.5463 + do
82.5464 + if test "$linkname" != "$realname"; then
82.5465 + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
82.5466 + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
82.5467 + fi
82.5468 + done
82.5469 + fi
82.5470 +
82.5471 + # Do each command in the postinstall commands.
82.5472 + lib="$destdir/$realname"
82.5473 + eval cmds=\"$postinstall_cmds\"
82.5474 + save_ifs="$IFS"; IFS='~'
82.5475 + for cmd in $cmds; do
82.5476 + IFS="$save_ifs"
82.5477 + $show "$cmd"
82.5478 + $run eval "$cmd" || exit $?
82.5479 + done
82.5480 + IFS="$save_ifs"
82.5481 + fi
82.5482 +
82.5483 + # Install the pseudo-library for information purposes.
82.5484 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
82.5485 + instname="$dir/$name"i
82.5486 + $show "$install_prog $instname $destdir/$name"
82.5487 + $run eval "$install_prog $instname $destdir/$name" || exit $?
82.5488 +
82.5489 + # Maybe install the static library, too.
82.5490 + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
82.5491 + ;;
82.5492 +
82.5493 + *.lo)
82.5494 + # Install (i.e. copy) a libtool object.
82.5495 +
82.5496 + # Figure out destination file name, if it wasn't already specified.
82.5497 + if test -n "$destname"; then
82.5498 + destfile="$destdir/$destname"
82.5499 + else
82.5500 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
82.5501 + destfile="$destdir/$destfile"
82.5502 + fi
82.5503 +
82.5504 + # Deduce the name of the destination old-style object file.
82.5505 + case $destfile in
82.5506 + *.lo)
82.5507 + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
82.5508 + ;;
82.5509 + *.$objext)
82.5510 + staticdest="$destfile"
82.5511 + destfile=
82.5512 + ;;
82.5513 + *)
82.5514 + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
82.5515 + $echo "$help" 1>&2
82.5516 + exit 1
82.5517 + ;;
82.5518 + esac
82.5519 +
82.5520 + # Install the libtool object if requested.
82.5521 + if test -n "$destfile"; then
82.5522 + $show "$install_prog $file $destfile"
82.5523 + $run eval "$install_prog $file $destfile" || exit $?
82.5524 + fi
82.5525 +
82.5526 + # Install the old object if enabled.
82.5527 + if test "$build_old_libs" = yes; then
82.5528 + # Deduce the name of the old-style object file.
82.5529 + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
82.5530 +
82.5531 + $show "$install_prog $staticobj $staticdest"
82.5532 + $run eval "$install_prog \$staticobj \$staticdest" || exit $?
82.5533 + fi
82.5534 + exit 0
82.5535 + ;;
82.5536 +
82.5537 + *)
82.5538 + # Figure out destination file name, if it wasn't already specified.
82.5539 + if test -n "$destname"; then
82.5540 + destfile="$destdir/$destname"
82.5541 + else
82.5542 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
82.5543 + destfile="$destdir/$destfile"
82.5544 + fi
82.5545 +
82.5546 + # If the file is missing, and there is a .exe on the end, strip it
82.5547 + # because it is most likely a libtool script we actually want to
82.5548 + # install
82.5549 + stripped_ext=""
82.5550 + case $file in
82.5551 + *.exe)
82.5552 + if test ! -f "$file"; then
82.5553 + file=`$echo $file|${SED} 's,.exe$,,'`
82.5554 + stripped_ext=".exe"
82.5555 + fi
82.5556 + ;;
82.5557 + esac
82.5558 +
82.5559 + # Do a test to see if this is really a libtool program.
82.5560 + case $host in
82.5561 + *cygwin*|*mingw*)
82.5562 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
82.5563 + ;;
82.5564 + *)
82.5565 + wrapper=$file
82.5566 + ;;
82.5567 + esac
82.5568 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
82.5569 + notinst_deplibs=
82.5570 + relink_command=
82.5571 +
82.5572 + # To insure that "foo" is sourced, and not "foo.exe",
82.5573 + # finese the cygwin/MSYS system by explicitly sourcing "foo."
82.5574 + # which disallows the automatic-append-.exe behavior.
82.5575 + case $build in
82.5576 + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
82.5577 + *) wrapperdot=${wrapper} ;;
82.5578 + esac
82.5579 + # If there is no directory component, then add one.
82.5580 + case $file in
82.5581 + */* | *\\*) . ${wrapperdot} ;;
82.5582 + *) . ./${wrapperdot} ;;
82.5583 + esac
82.5584 +
82.5585 + # Check the variables that should have been set.
82.5586 + if test -z "$notinst_deplibs"; then
82.5587 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
82.5588 + exit 1
82.5589 + fi
82.5590 +
82.5591 + finalize=yes
82.5592 + for lib in $notinst_deplibs; do
82.5593 + # Check to see that each library is installed.
82.5594 + libdir=
82.5595 + if test -f "$lib"; then
82.5596 + # If there is no directory component, then add one.
82.5597 + case $lib in
82.5598 + */* | *\\*) . $lib ;;
82.5599 + *) . ./$lib ;;
82.5600 + esac
82.5601 + fi
82.5602 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
82.5603 + if test -n "$libdir" && test ! -f "$libfile"; then
82.5604 + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
82.5605 + finalize=no
82.5606 + fi
82.5607 + done
82.5608 +
82.5609 + relink_command=
82.5610 + # To insure that "foo" is sourced, and not "foo.exe",
82.5611 + # finese the cygwin/MSYS system by explicitly sourcing "foo."
82.5612 + # which disallows the automatic-append-.exe behavior.
82.5613 + case $build in
82.5614 + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
82.5615 + *) wrapperdot=${wrapper} ;;
82.5616 + esac
82.5617 + # If there is no directory component, then add one.
82.5618 + case $file in
82.5619 + */* | *\\*) . ${wrapperdot} ;;
82.5620 + *) . ./${wrapperdot} ;;
82.5621 + esac
82.5622 +
82.5623 + outputname=
82.5624 + if test "$fast_install" = no && test -n "$relink_command"; then
82.5625 + if test "$finalize" = yes && test -z "$run"; then
82.5626 + tmpdir="/tmp"
82.5627 + test -n "$TMPDIR" && tmpdir="$TMPDIR"
82.5628 + tmpdir="$tmpdir/libtool-$$"
82.5629 + if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
82.5630 + else
82.5631 + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
82.5632 + continue
82.5633 + fi
82.5634 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
82.5635 + outputname="$tmpdir/$file"
82.5636 + # Replace the output file specification.
82.5637 + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
82.5638 +
82.5639 + $show "$relink_command"
82.5640 + if $run eval "$relink_command"; then :
82.5641 + else
82.5642 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
82.5643 + ${rm}r "$tmpdir"
82.5644 + continue
82.5645 + fi
82.5646 + file="$outputname"
82.5647 + else
82.5648 + $echo "$modename: warning: cannot relink \`$file'" 1>&2
82.5649 + fi
82.5650 + else
82.5651 + # Install the binary that we compiled earlier.
82.5652 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
82.5653 + fi
82.5654 + fi
82.5655 +
82.5656 + # remove .exe since cygwin /usr/bin/install will append another
82.5657 + # one anyways
82.5658 + case $install_prog,$host in
82.5659 + */usr/bin/install*,*cygwin*)
82.5660 + case $file:$destfile in
82.5661 + *.exe:*.exe)
82.5662 + # this is ok
82.5663 + ;;
82.5664 + *.exe:*)
82.5665 + destfile=$destfile.exe
82.5666 + ;;
82.5667 + *:*.exe)
82.5668 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
82.5669 + ;;
82.5670 + esac
82.5671 + ;;
82.5672 + esac
82.5673 + $show "$install_prog$stripme $file $destfile"
82.5674 + $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
82.5675 + test -n "$outputname" && ${rm}r "$tmpdir"
82.5676 + ;;
82.5677 + esac
82.5678 + done
82.5679 +
82.5680 + for file in $staticlibs; do
82.5681 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
82.5682 +
82.5683 + # Set up the ranlib parameters.
82.5684 + oldlib="$destdir/$name"
82.5685 +
82.5686 + $show "$install_prog $file $oldlib"
82.5687 + $run eval "$install_prog \$file \$oldlib" || exit $?
82.5688 +
82.5689 + if test -n "$stripme" && test -n "$striplib"; then
82.5690 + $show "$old_striplib $oldlib"
82.5691 + $run eval "$old_striplib $oldlib" || exit $?
82.5692 + fi
82.5693 +
82.5694 + # Do each command in the postinstall commands.
82.5695 + eval cmds=\"$old_postinstall_cmds\"
82.5696 + save_ifs="$IFS"; IFS='~'
82.5697 + for cmd in $cmds; do
82.5698 + IFS="$save_ifs"
82.5699 + $show "$cmd"
82.5700 + $run eval "$cmd" || exit $?
82.5701 + done
82.5702 + IFS="$save_ifs"
82.5703 + done
82.5704 +
82.5705 + if test -n "$future_libdirs"; then
82.5706 + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
82.5707 + fi
82.5708 +
82.5709 + if test -n "$current_libdirs"; then
82.5710 + # Maybe just do a dry run.
82.5711 + test -n "$run" && current_libdirs=" -n$current_libdirs"
82.5712 + exec_cmd='$SHELL $0 --finish$current_libdirs'
82.5713 + else
82.5714 + exit 0
82.5715 + fi
82.5716 + ;;
82.5717 +
82.5718 + # libtool finish mode
82.5719 + finish)
82.5720 + modename="$modename: finish"
82.5721 + libdirs="$nonopt"
82.5722 + admincmds=
82.5723 +
82.5724 + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
82.5725 + for dir
82.5726 + do
82.5727 + libdirs="$libdirs $dir"
82.5728 + done
82.5729 +
82.5730 + for libdir in $libdirs; do
82.5731 + if test -n "$finish_cmds"; then
82.5732 + # Do each command in the finish commands.
82.5733 + eval cmds=\"$finish_cmds\"
82.5734 + save_ifs="$IFS"; IFS='~'
82.5735 + for cmd in $cmds; do
82.5736 + IFS="$save_ifs"
82.5737 + $show "$cmd"
82.5738 + $run eval "$cmd" || admincmds="$admincmds
82.5739 + $cmd"
82.5740 + done
82.5741 + IFS="$save_ifs"
82.5742 + fi
82.5743 + if test -n "$finish_eval"; then
82.5744 + # Do the single finish_eval.
82.5745 + eval cmds=\"$finish_eval\"
82.5746 + $run eval "$cmds" || admincmds="$admincmds
82.5747 + $cmds"
82.5748 + fi
82.5749 + done
82.5750 + fi
82.5751 +
82.5752 + # Exit here if they wanted silent mode.
82.5753 + exit 0
82.5754 +
82.5755 + $echo "----------------------------------------------------------------------"
82.5756 + $echo "Libraries have been installed in:"
82.5757 + for libdir in $libdirs; do
82.5758 + $echo " $libdir"
82.5759 + done
82.5760 + $echo
82.5761 + $echo "If you ever happen to want to link against installed libraries"
82.5762 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
82.5763 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
82.5764 + $echo "flag during linking and do at least one of the following:"
82.5765 + if test -n "$shlibpath_var"; then
82.5766 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
82.5767 + $echo " during execution"
82.5768 + fi
82.5769 + if test -n "$runpath_var"; then
82.5770 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
82.5771 + $echo " during linking"
82.5772 + fi
82.5773 + if test -n "$hardcode_libdir_flag_spec"; then
82.5774 + libdir=LIBDIR
82.5775 + eval flag=\"$hardcode_libdir_flag_spec\"
82.5776 +
82.5777 + $echo " - use the \`$flag' linker flag"
82.5778 + fi
82.5779 + if test -n "$admincmds"; then
82.5780 + $echo " - have your system administrator run these commands:$admincmds"
82.5781 + fi
82.5782 + if test -f /etc/ld.so.conf; then
82.5783 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
82.5784 + fi
82.5785 + $echo
82.5786 + $echo "See any operating system documentation about shared libraries for"
82.5787 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
82.5788 + $echo "----------------------------------------------------------------------"
82.5789 + exit 0
82.5790 + ;;
82.5791 +
82.5792 + # libtool execute mode
82.5793 + execute)
82.5794 + modename="$modename: execute"
82.5795 +
82.5796 + # The first argument is the command name.
82.5797 + cmd="$nonopt"
82.5798 + if test -z "$cmd"; then
82.5799 + $echo "$modename: you must specify a COMMAND" 1>&2
82.5800 + $echo "$help"
82.5801 + exit 1
82.5802 + fi
82.5803 +
82.5804 + # Handle -dlopen flags immediately.
82.5805 + for file in $execute_dlfiles; do
82.5806 + if test ! -f "$file"; then
82.5807 + $echo "$modename: \`$file' is not a file" 1>&2
82.5808 + $echo "$help" 1>&2
82.5809 + exit 1
82.5810 + fi
82.5811 +
82.5812 + dir=
82.5813 + case $file in
82.5814 + *.la)
82.5815 + # Check to see that this really is a libtool archive.
82.5816 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
82.5817 + else
82.5818 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
82.5819 + $echo "$help" 1>&2
82.5820 + exit 1
82.5821 + fi
82.5822 +
82.5823 + # Read the libtool library.
82.5824 + dlname=
82.5825 + library_names=
82.5826 +
82.5827 + # If there is no directory component, then add one.
82.5828 + case $file in
82.5829 + */* | *\\*) . $file ;;
82.5830 + *) . ./$file ;;
82.5831 + esac
82.5832 +
82.5833 + # Skip this library if it cannot be dlopened.
82.5834 + if test -z "$dlname"; then
82.5835 + # Warn if it was a shared library.
82.5836 + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
82.5837 + continue
82.5838 + fi
82.5839 +
82.5840 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
82.5841 + test "X$dir" = "X$file" && dir=.
82.5842 +
82.5843 + if test -f "$dir/$objdir/$dlname"; then
82.5844 + dir="$dir/$objdir"
82.5845 + else
82.5846 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
82.5847 + exit 1
82.5848 + fi
82.5849 + ;;
82.5850 +
82.5851 + *.lo)
82.5852 + # Just add the directory containing the .lo file.
82.5853 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
82.5854 + test "X$dir" = "X$file" && dir=.
82.5855 + ;;
82.5856 +
82.5857 + *)
82.5858 + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
82.5859 + continue
82.5860 + ;;
82.5861 + esac
82.5862 +
82.5863 + # Get the absolute pathname.
82.5864 + absdir=`cd "$dir" && pwd`
82.5865 + test -n "$absdir" && dir="$absdir"
82.5866 +
82.5867 + # Now add the directory to shlibpath_var.
82.5868 + if eval "test -z \"\$$shlibpath_var\""; then
82.5869 + eval "$shlibpath_var=\"\$dir\""
82.5870 + else
82.5871 + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
82.5872 + fi
82.5873 + done
82.5874 +
82.5875 + # This variable tells wrapper scripts just to set shlibpath_var
82.5876 + # rather than running their programs.
82.5877 + libtool_execute_magic="$magic"
82.5878 +
82.5879 + # Check if any of the arguments is a wrapper script.
82.5880 + args=
82.5881 + for file
82.5882 + do
82.5883 + case $file in
82.5884 + -*) ;;
82.5885 + *)
82.5886 + # Do a test to see if this is really a libtool program.
82.5887 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.5888 + # If there is no directory component, then add one.
82.5889 + case $file in
82.5890 + */* | *\\*) . $file ;;
82.5891 + *) . ./$file ;;
82.5892 + esac
82.5893 +
82.5894 + # Transform arg to wrapped name.
82.5895 + file="$progdir/$program"
82.5896 + fi
82.5897 + ;;
82.5898 + esac
82.5899 + # Quote arguments (to preserve shell metacharacters).
82.5900 + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
82.5901 + args="$args \"$file\""
82.5902 + done
82.5903 +
82.5904 + if test -z "$run"; then
82.5905 + if test -n "$shlibpath_var"; then
82.5906 + # Export the shlibpath_var.
82.5907 + eval "export $shlibpath_var"
82.5908 + fi
82.5909 +
82.5910 + # Restore saved environment variables
82.5911 + if test "${save_LC_ALL+set}" = set; then
82.5912 + LC_ALL="$save_LC_ALL"; export LC_ALL
82.5913 + fi
82.5914 + if test "${save_LANG+set}" = set; then
82.5915 + LANG="$save_LANG"; export LANG
82.5916 + fi
82.5917 +
82.5918 + # Now prepare to actually exec the command.
82.5919 + exec_cmd="\$cmd$args"
82.5920 + else
82.5921 + # Display what would be done.
82.5922 + if test -n "$shlibpath_var"; then
82.5923 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
82.5924 + $echo "export $shlibpath_var"
82.5925 + fi
82.5926 + $echo "$cmd$args"
82.5927 + exit 0
82.5928 + fi
82.5929 + ;;
82.5930 +
82.5931 + # libtool clean and uninstall mode
82.5932 + clean | uninstall)
82.5933 + modename="$modename: $mode"
82.5934 + rm="$nonopt"
82.5935 + files=
82.5936 + rmforce=
82.5937 + exit_status=0
82.5938 +
82.5939 + # This variable tells wrapper scripts just to set variables rather
82.5940 + # than running their programs.
82.5941 + libtool_install_magic="$magic"
82.5942 +
82.5943 + for arg
82.5944 + do
82.5945 + case $arg in
82.5946 + -f) rm="$rm $arg"; rmforce=yes ;;
82.5947 + -*) rm="$rm $arg" ;;
82.5948 + *) files="$files $arg" ;;
82.5949 + esac
82.5950 + done
82.5951 +
82.5952 + if test -z "$rm"; then
82.5953 + $echo "$modename: you must specify an RM program" 1>&2
82.5954 + $echo "$help" 1>&2
82.5955 + exit 1
82.5956 + fi
82.5957 +
82.5958 + rmdirs=
82.5959 +
82.5960 + origobjdir="$objdir"
82.5961 + for file in $files; do
82.5962 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
82.5963 + if test "X$dir" = "X$file"; then
82.5964 + dir=.
82.5965 + objdir="$origobjdir"
82.5966 + else
82.5967 + objdir="$dir/$origobjdir"
82.5968 + fi
82.5969 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
82.5970 + test "$mode" = uninstall && objdir="$dir"
82.5971 +
82.5972 + # Remember objdir for removal later, being careful to avoid duplicates
82.5973 + if test "$mode" = clean; then
82.5974 + case " $rmdirs " in
82.5975 + *" $objdir "*) ;;
82.5976 + *) rmdirs="$rmdirs $objdir" ;;
82.5977 + esac
82.5978 + fi
82.5979 +
82.5980 + # Don't error if the file doesn't exist and rm -f was used.
82.5981 + if (test -L "$file") >/dev/null 2>&1 \
82.5982 + || (test -h "$file") >/dev/null 2>&1 \
82.5983 + || test -f "$file"; then
82.5984 + :
82.5985 + elif test -d "$file"; then
82.5986 + exit_status=1
82.5987 + continue
82.5988 + elif test "$rmforce" = yes; then
82.5989 + continue
82.5990 + fi
82.5991 +
82.5992 + rmfiles="$file"
82.5993 +
82.5994 + case $name in
82.5995 + *.la)
82.5996 + # Possibly a libtool archive, so verify it.
82.5997 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.5998 + . $dir/$name
82.5999 +
82.6000 + # Delete the libtool libraries and symlinks.
82.6001 + for n in $library_names; do
82.6002 + rmfiles="$rmfiles $objdir/$n"
82.6003 + done
82.6004 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
82.6005 + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
82.6006 +
82.6007 + if test "$mode" = uninstall; then
82.6008 + if test -n "$library_names"; then
82.6009 + # Do each command in the postuninstall commands.
82.6010 + eval cmds=\"$postuninstall_cmds\"
82.6011 + save_ifs="$IFS"; IFS='~'
82.6012 + for cmd in $cmds; do
82.6013 + IFS="$save_ifs"
82.6014 + $show "$cmd"
82.6015 + $run eval "$cmd"
82.6016 + if test "$?" -ne 0 && test "$rmforce" != yes; then
82.6017 + exit_status=1
82.6018 + fi
82.6019 + done
82.6020 + IFS="$save_ifs"
82.6021 + fi
82.6022 +
82.6023 + if test -n "$old_library"; then
82.6024 + # Do each command in the old_postuninstall commands.
82.6025 + eval cmds=\"$old_postuninstall_cmds\"
82.6026 + save_ifs="$IFS"; IFS='~'
82.6027 + for cmd in $cmds; do
82.6028 + IFS="$save_ifs"
82.6029 + $show "$cmd"
82.6030 + $run eval "$cmd"
82.6031 + if test "$?" -ne 0 && test "$rmforce" != yes; then
82.6032 + exit_status=1
82.6033 + fi
82.6034 + done
82.6035 + IFS="$save_ifs"
82.6036 + fi
82.6037 + # FIXME: should reinstall the best remaining shared library.
82.6038 + fi
82.6039 + fi
82.6040 + ;;
82.6041 +
82.6042 + *.lo)
82.6043 + # Possibly a libtool object, so verify it.
82.6044 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.6045 +
82.6046 + # Read the .lo file
82.6047 + . $dir/$name
82.6048 +
82.6049 + # Add PIC object to the list of files to remove.
82.6050 + if test -n "$pic_object" \
82.6051 + && test "$pic_object" != none; then
82.6052 + rmfiles="$rmfiles $dir/$pic_object"
82.6053 + fi
82.6054 +
82.6055 + # Add non-PIC object to the list of files to remove.
82.6056 + if test -n "$non_pic_object" \
82.6057 + && test "$non_pic_object" != none; then
82.6058 + rmfiles="$rmfiles $dir/$non_pic_object"
82.6059 + fi
82.6060 + fi
82.6061 + ;;
82.6062 +
82.6063 + *)
82.6064 + if test "$mode" = clean ; then
82.6065 + noexename=$name
82.6066 + case $file in
82.6067 + *.exe)
82.6068 + file=`$echo $file|${SED} 's,.exe$,,'`
82.6069 + noexename=`$echo $name|${SED} 's,.exe$,,'`
82.6070 + # $file with .exe has already been added to rmfiles,
82.6071 + # add $file without .exe
82.6072 + rmfiles="$rmfiles $file"
82.6073 + ;;
82.6074 + esac
82.6075 + # Do a test to see if this is a libtool program.
82.6076 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
82.6077 + relink_command=
82.6078 + . $dir/$noexename
82.6079 +
82.6080 + # note $name still contains .exe if it was in $file originally
82.6081 + # as does the version of $file that was added into $rmfiles
82.6082 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
82.6083 + if test "$fast_install" = yes && test -n "$relink_command"; then
82.6084 + rmfiles="$rmfiles $objdir/lt-$name"
82.6085 + fi
82.6086 + if test "X$noexename" != "X$name" ; then
82.6087 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
82.6088 + fi
82.6089 + fi
82.6090 + fi
82.6091 + ;;
82.6092 + esac
82.6093 + $show "$rm $rmfiles"
82.6094 + $run $rm $rmfiles || exit_status=1
82.6095 + done
82.6096 + objdir="$origobjdir"
82.6097 +
82.6098 + # Try to remove the ${objdir}s in the directories where we deleted files
82.6099 + for dir in $rmdirs; do
82.6100 + if test -d "$dir"; then
82.6101 + $show "rmdir $dir"
82.6102 + $run rmdir $dir >/dev/null 2>&1
82.6103 + fi
82.6104 + done
82.6105 +
82.6106 + exit $exit_status
82.6107 + ;;
82.6108 +
82.6109 + "")
82.6110 + $echo "$modename: you must specify a MODE" 1>&2
82.6111 + $echo "$generic_help" 1>&2
82.6112 + exit 1
82.6113 + ;;
82.6114 + esac
82.6115 +
82.6116 + if test -z "$exec_cmd"; then
82.6117 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
82.6118 + $echo "$generic_help" 1>&2
82.6119 + exit 1
82.6120 + fi
82.6121 +fi # test -z "$show_help"
82.6122 +
82.6123 +if test -n "$exec_cmd"; then
82.6124 + eval exec $exec_cmd
82.6125 + exit 1
82.6126 +fi
82.6127 +
82.6128 +# We need to display help for each of the modes.
82.6129 +case $mode in
82.6130 +"") $echo \
82.6131 +"Usage: $modename [OPTION]... [MODE-ARG]...
82.6132 +
82.6133 +Provide generalized library-building support services.
82.6134 +
82.6135 + --config show all configuration variables
82.6136 + --debug enable verbose shell tracing
82.6137 +-n, --dry-run display commands without modifying any files
82.6138 + --features display basic configuration information and exit
82.6139 + --finish same as \`--mode=finish'
82.6140 + --help display this help message and exit
82.6141 + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
82.6142 + --quiet same as \`--silent'
82.6143 + --silent don't print informational messages
82.6144 + --tag=TAG use configuration variables from tag TAG
82.6145 + --version print version information
82.6146 +
82.6147 +MODE must be one of the following:
82.6148 +
82.6149 + clean remove files from the build directory
82.6150 + compile compile a source file into a libtool object
82.6151 + execute automatically set library path, then run a program
82.6152 + finish complete the installation of libtool libraries
82.6153 + install install libraries or executables
82.6154 + link create a library or an executable
82.6155 + uninstall remove libraries from an installed directory
82.6156 +
82.6157 +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
82.6158 +a more detailed description of MODE.
82.6159 +
82.6160 +Report bugs to <bug-libtool@gnu.org>."
82.6161 + exit 0
82.6162 + ;;
82.6163 +
82.6164 +clean)
82.6165 + $echo \
82.6166 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
82.6167 +
82.6168 +Remove files from the build directory.
82.6169 +
82.6170 +RM is the name of the program to use to delete files associated with each FILE
82.6171 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
82.6172 +to RM.
82.6173 +
82.6174 +If FILE is a libtool library, object or program, all the files associated
82.6175 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
82.6176 + ;;
82.6177 +
82.6178 +compile)
82.6179 + $echo \
82.6180 +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
82.6181 +
82.6182 +Compile a source file into a libtool library object.
82.6183 +
82.6184 +This mode accepts the following additional options:
82.6185 +
82.6186 + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
82.6187 + -prefer-pic try to building PIC objects only
82.6188 + -prefer-non-pic try to building non-PIC objects only
82.6189 + -static always build a \`.o' file suitable for static linking
82.6190 +
82.6191 +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
82.6192 +from the given SOURCEFILE.
82.6193 +
82.6194 +The output file name is determined by removing the directory component from
82.6195 +SOURCEFILE, then substituting the C source code suffix \`.c' with the
82.6196 +library object suffix, \`.lo'."
82.6197 + ;;
82.6198 +
82.6199 +execute)
82.6200 + $echo \
82.6201 +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
82.6202 +
82.6203 +Automatically set library path, then run a program.
82.6204 +
82.6205 +This mode accepts the following additional options:
82.6206 +
82.6207 + -dlopen FILE add the directory containing FILE to the library path
82.6208 +
82.6209 +This mode sets the library path environment variable according to \`-dlopen'
82.6210 +flags.
82.6211 +
82.6212 +If any of the ARGS are libtool executable wrappers, then they are translated
82.6213 +into their corresponding uninstalled binary, and any of their required library
82.6214 +directories are added to the library path.
82.6215 +
82.6216 +Then, COMMAND is executed, with ARGS as arguments."
82.6217 + ;;
82.6218 +
82.6219 +finish)
82.6220 + $echo \
82.6221 +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
82.6222 +
82.6223 +Complete the installation of libtool libraries.
82.6224 +
82.6225 +Each LIBDIR is a directory that contains libtool libraries.
82.6226 +
82.6227 +The commands that this mode executes may require superuser privileges. Use
82.6228 +the \`--dry-run' option if you just want to see what would be executed."
82.6229 + ;;
82.6230 +
82.6231 +install)
82.6232 + $echo \
82.6233 +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
82.6234 +
82.6235 +Install executables or libraries.
82.6236 +
82.6237 +INSTALL-COMMAND is the installation command. The first component should be
82.6238 +either the \`install' or \`cp' program.
82.6239 +
82.6240 +The rest of the components are interpreted as arguments to that command (only
82.6241 +BSD-compatible install options are recognized)."
82.6242 + ;;
82.6243 +
82.6244 +link)
82.6245 + $echo \
82.6246 +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
82.6247 +
82.6248 +Link object files or libraries together to form another library, or to
82.6249 +create an executable program.
82.6250 +
82.6251 +LINK-COMMAND is a command using the C compiler that you would use to create
82.6252 +a program from several object files.
82.6253 +
82.6254 +The following components of LINK-COMMAND are treated specially:
82.6255 +
82.6256 + -all-static do not do any dynamic linking at all
82.6257 + -avoid-version do not add a version suffix if possible
82.6258 + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
82.6259 + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
82.6260 + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
82.6261 + -export-symbols SYMFILE
82.6262 + try to export only the symbols listed in SYMFILE
82.6263 + -export-symbols-regex REGEX
82.6264 + try to export only the symbols matching REGEX
82.6265 + -LLIBDIR search LIBDIR for required installed libraries
82.6266 + -lNAME OUTPUT-FILE requires the installed library libNAME
82.6267 + -module build a library that can dlopened
82.6268 + -no-fast-install disable the fast-install mode
82.6269 + -no-install link a not-installable executable
82.6270 + -no-undefined declare that a library does not refer to external symbols
82.6271 + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
82.6272 + -objectlist FILE Use a list of object files found in FILE to specify objects
82.6273 + -release RELEASE specify package release information
82.6274 + -rpath LIBDIR the created library will eventually be installed in LIBDIR
82.6275 + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
82.6276 + -static do not do any dynamic linking of libtool libraries
82.6277 + -version-info CURRENT[:REVISION[:AGE]]
82.6278 + specify library version info [each variable defaults to 0]
82.6279 +
82.6280 +All other options (arguments beginning with \`-') are ignored.
82.6281 +
82.6282 +Every other argument is treated as a filename. Files ending in \`.la' are
82.6283 +treated as uninstalled libtool libraries, other files are standard or library
82.6284 +object files.
82.6285 +
82.6286 +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
82.6287 +only library objects (\`.lo' files) may be specified, and \`-rpath' is
82.6288 +required, except when creating a convenience library.
82.6289 +
82.6290 +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
82.6291 +using \`ar' and \`ranlib', or on Windows using \`lib'.
82.6292 +
82.6293 +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
82.6294 +is created, otherwise an executable program is created."
82.6295 + ;;
82.6296 +
82.6297 +uninstall)
82.6298 + $echo \
82.6299 +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
82.6300 +
82.6301 +Remove libraries from an installation directory.
82.6302 +
82.6303 +RM is the name of the program to use to delete files associated with each FILE
82.6304 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
82.6305 +to RM.
82.6306 +
82.6307 +If FILE is a libtool library, all the files associated with it are deleted.
82.6308 +Otherwise, only FILE itself is deleted using RM."
82.6309 + ;;
82.6310 +
82.6311 +*)
82.6312 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
82.6313 + $echo "$help" 1>&2
82.6314 + exit 1
82.6315 + ;;
82.6316 +esac
82.6317 +
82.6318 +$echo
82.6319 +$echo "Try \`$modename --help' for more information about other modes."
82.6320 +
82.6321 +exit 0
82.6322 +
82.6323 +# The TAGs below are defined such that we never get into a situation
82.6324 +# in which we disable both kinds of libraries. Given conflicting
82.6325 +# choices, we go for a static library, that is the most portable,
82.6326 +# since we can't tell whether shared libraries were disabled because
82.6327 +# the user asked for that or because the platform doesn't support
82.6328 +# them. This is particularly important on AIX, because we don't
82.6329 +# support having both static and shared libraries enabled at the same
82.6330 +# time on that platform, so we default to a shared-only configuration.
82.6331 +# If a disable-shared tag is given, we'll fallback to a static-only
82.6332 +# configuration. But we'll never go from static-only to shared-only.
82.6333 +
82.6334 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
82.6335 +build_libtool_libs=no
82.6336 +build_old_libs=yes
82.6337 +# ### END LIBTOOL TAG CONFIG: disable-shared
82.6338 +
82.6339 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
82.6340 +build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
82.6341 +# ### END LIBTOOL TAG CONFIG: disable-static
82.6342 +
82.6343 +# Local Variables:
82.6344 +# mode:shell-script
82.6345 +# sh-indentation:2
82.6346 +# End:
83.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
83.2 +++ b/tools/picctldisplaytest/missing Tue Jan 29 22:31:52 2008 +0100
83.3 @@ -0,0 +1,336 @@
83.4 +#! /bin/sh
83.5 +# Common stub for a few missing GNU programs while installing.
83.6 +# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
83.7 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
83.8 +
83.9 +# This program is free software; you can redistribute it and/or modify
83.10 +# it under the terms of the GNU General Public License as published by
83.11 +# the Free Software Foundation; either version 2, or (at your option)
83.12 +# any later version.
83.13 +
83.14 +# This program is distributed in the hope that it will be useful,
83.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
83.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83.17 +# GNU General Public License for more details.
83.18 +
83.19 +# You should have received a copy of the GNU General Public License
83.20 +# along with this program; if not, write to the Free Software
83.21 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
83.22 +# 02111-1307, USA.
83.23 +
83.24 +# As a special exception to the GNU General Public License, if you
83.25 +# distribute this file as part of a program that contains a
83.26 +# configuration script generated by Autoconf, you may include it under
83.27 +# the same distribution terms that you use for the rest of that program.
83.28 +
83.29 +if test $# -eq 0; then
83.30 + echo 1>&2 "Try \`$0 --help' for more information"
83.31 + exit 1
83.32 +fi
83.33 +
83.34 +run=:
83.35 +
83.36 +# In the cases where this matters, `missing' is being run in the
83.37 +# srcdir already.
83.38 +if test -f configure.ac; then
83.39 + configure_ac=configure.ac
83.40 +else
83.41 + configure_ac=configure.in
83.42 +fi
83.43 +
83.44 +case "$1" in
83.45 +--run)
83.46 + # Try to run requested program, and just exit if it succeeds.
83.47 + run=
83.48 + shift
83.49 + "$@" && exit 0
83.50 + ;;
83.51 +esac
83.52 +
83.53 +# If it does not exist, or fails to run (possibly an outdated version),
83.54 +# try to emulate it.
83.55 +case "$1" in
83.56 +
83.57 + -h|--h|--he|--hel|--help)
83.58 + echo "\
83.59 +$0 [OPTION]... PROGRAM [ARGUMENT]...
83.60 +
83.61 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
83.62 +error status if there is no known handling for PROGRAM.
83.63 +
83.64 +Options:
83.65 + -h, --help display this help and exit
83.66 + -v, --version output version information and exit
83.67 + --run try to run the given command, and emulate it if it fails
83.68 +
83.69 +Supported PROGRAM values:
83.70 + aclocal touch file \`aclocal.m4'
83.71 + autoconf touch file \`configure'
83.72 + autoheader touch file \`config.h.in'
83.73 + automake touch all \`Makefile.in' files
83.74 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
83.75 + flex create \`lex.yy.c', if possible, from existing .c
83.76 + help2man touch the output file
83.77 + lex create \`lex.yy.c', if possible, from existing .c
83.78 + makeinfo touch the output file
83.79 + tar try tar, gnutar, gtar, then tar without non-portable flags
83.80 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
83.81 + ;;
83.82 +
83.83 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
83.84 + echo "missing 0.4 - GNU automake"
83.85 + ;;
83.86 +
83.87 + -*)
83.88 + echo 1>&2 "$0: Unknown \`$1' option"
83.89 + echo 1>&2 "Try \`$0 --help' for more information"
83.90 + exit 1
83.91 + ;;
83.92 +
83.93 + aclocal*)
83.94 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.95 + # We have it, but it failed.
83.96 + exit 1
83.97 + fi
83.98 +
83.99 + echo 1>&2 "\
83.100 +WARNING: \`$1' is missing on your system. You should only need it if
83.101 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
83.102 + to install the \`Automake' and \`Perl' packages. Grab them from
83.103 + any GNU archive site."
83.104 + touch aclocal.m4
83.105 + ;;
83.106 +
83.107 + autoconf)
83.108 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.109 + # We have it, but it failed.
83.110 + exit 1
83.111 + fi
83.112 +
83.113 + echo 1>&2 "\
83.114 +WARNING: \`$1' is missing on your system. You should only need it if
83.115 + you modified \`${configure_ac}'. You might want to install the
83.116 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
83.117 + archive site."
83.118 + touch configure
83.119 + ;;
83.120 +
83.121 + autoheader)
83.122 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.123 + # We have it, but it failed.
83.124 + exit 1
83.125 + fi
83.126 +
83.127 + echo 1>&2 "\
83.128 +WARNING: \`$1' is missing on your system. You should only need it if
83.129 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
83.130 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
83.131 + from any GNU archive site."
83.132 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
83.133 + test -z "$files" && files="config.h"
83.134 + touch_files=
83.135 + for f in $files; do
83.136 + case "$f" in
83.137 + *:*) touch_files="$touch_files "`echo "$f" |
83.138 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
83.139 + *) touch_files="$touch_files $f.in";;
83.140 + esac
83.141 + done
83.142 + touch $touch_files
83.143 + ;;
83.144 +
83.145 + automake*)
83.146 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.147 + # We have it, but it failed.
83.148 + exit 1
83.149 + fi
83.150 +
83.151 + echo 1>&2 "\
83.152 +WARNING: \`$1' is missing on your system. You should only need it if
83.153 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
83.154 + You might want to install the \`Automake' and \`Perl' packages.
83.155 + Grab them from any GNU archive site."
83.156 + find . -type f -name Makefile.am -print |
83.157 + sed 's/\.am$/.in/' |
83.158 + while read f; do touch "$f"; done
83.159 + ;;
83.160 +
83.161 + autom4te)
83.162 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.163 + # We have it, but it failed.
83.164 + exit 1
83.165 + fi
83.166 +
83.167 + echo 1>&2 "\
83.168 +WARNING: \`$1' is needed, and you do not seem to have it handy on your
83.169 + system. You might have modified some files without having the
83.170 + proper tools for further handling them.
83.171 + You can get \`$1Help2man' as part of \`Autoconf' from any GNU
83.172 + archive site."
83.173 +
83.174 + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
83.175 + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
83.176 + if test -f "$file"; then
83.177 + touch $file
83.178 + else
83.179 + test -z "$file" || exec >$file
83.180 + echo "#! /bin/sh"
83.181 + echo "# Created by GNU Automake missing as a replacement of"
83.182 + echo "# $ $@"
83.183 + echo "exit 0"
83.184 + chmod +x $file
83.185 + exit 1
83.186 + fi
83.187 + ;;
83.188 +
83.189 + bison|yacc)
83.190 + echo 1>&2 "\
83.191 +WARNING: \`$1' is missing on your system. You should only need it if
83.192 + you modified a \`.y' file. You may need the \`Bison' package
83.193 + in order for those modifications to take effect. You can get
83.194 + \`Bison' from any GNU archive site."
83.195 + rm -f y.tab.c y.tab.h
83.196 + if [ $# -ne 1 ]; then
83.197 + eval LASTARG="\${$#}"
83.198 + case "$LASTARG" in
83.199 + *.y)
83.200 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
83.201 + if [ -f "$SRCFILE" ]; then
83.202 + cp "$SRCFILE" y.tab.c
83.203 + fi
83.204 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
83.205 + if [ -f "$SRCFILE" ]; then
83.206 + cp "$SRCFILE" y.tab.h
83.207 + fi
83.208 + ;;
83.209 + esac
83.210 + fi
83.211 + if [ ! -f y.tab.h ]; then
83.212 + echo >y.tab.h
83.213 + fi
83.214 + if [ ! -f y.tab.c ]; then
83.215 + echo 'main() { return 0; }' >y.tab.c
83.216 + fi
83.217 + ;;
83.218 +
83.219 + lex|flex)
83.220 + echo 1>&2 "\
83.221 +WARNING: \`$1' is missing on your system. You should only need it if
83.222 + you modified a \`.l' file. You may need the \`Flex' package
83.223 + in order for those modifications to take effect. You can get
83.224 + \`Flex' from any GNU archive site."
83.225 + rm -f lex.yy.c
83.226 + if [ $# -ne 1 ]; then
83.227 + eval LASTARG="\${$#}"
83.228 + case "$LASTARG" in
83.229 + *.l)
83.230 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
83.231 + if [ -f "$SRCFILE" ]; then
83.232 + cp "$SRCFILE" lex.yy.c
83.233 + fi
83.234 + ;;
83.235 + esac
83.236 + fi
83.237 + if [ ! -f lex.yy.c ]; then
83.238 + echo 'main() { return 0; }' >lex.yy.c
83.239 + fi
83.240 + ;;
83.241 +
83.242 + help2man)
83.243 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
83.244 + # We have it, but it failed.
83.245 + exit 1
83.246 + fi
83.247 +
83.248 + echo 1>&2 "\
83.249 +WARNING: \`$1' is missing on your system. You should only need it if
83.250 + you modified a dependency of a manual page. You may need the
83.251 + \`Help2man' package in order for those modifications to take
83.252 + effect. You can get \`Help2man' from any GNU archive site."
83.253 +
83.254 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
83.255 + if test -z "$file"; then
83.256 + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
83.257 + fi
83.258 + if [ -f "$file" ]; then
83.259 + touch $file
83.260 + else
83.261 + test -z "$file" || exec >$file
83.262 + echo ".ab help2man is required to generate this page"
83.263 + exit 1
83.264 + fi
83.265 + ;;
83.266 +
83.267 + makeinfo)
83.268 + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
83.269 + # We have makeinfo, but it failed.
83.270 + exit 1
83.271 + fi
83.272 +
83.273 + echo 1>&2 "\
83.274 +WARNING: \`$1' is missing on your system. You should only need it if
83.275 + you modified a \`.texi' or \`.texinfo' file, or any other file
83.276 + indirectly affecting the aspect of the manual. The spurious
83.277 + call might also be the consequence of using a buggy \`make' (AIX,
83.278 + DU, IRIX). You might want to install the \`Texinfo' package or
83.279 + the \`GNU make' package. Grab either from any GNU archive site."
83.280 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
83.281 + if test -z "$file"; then
83.282 + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
83.283 + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
83.284 + fi
83.285 + touch $file
83.286 + ;;
83.287 +
83.288 + tar)
83.289 + shift
83.290 + if test -n "$run"; then
83.291 + echo 1>&2 "ERROR: \`tar' requires --run"
83.292 + exit 1
83.293 + fi
83.294 +
83.295 + # We have already tried tar in the generic part.
83.296 + # Look for gnutar/gtar before invocation to avoid ugly error
83.297 + # messages.
83.298 + if (gnutar --version > /dev/null 2>&1); then
83.299 + gnutar "$@" && exit 0
83.300 + fi
83.301 + if (gtar --version > /dev/null 2>&1); then
83.302 + gtar "$@" && exit 0
83.303 + fi
83.304 + firstarg="$1"
83.305 + if shift; then
83.306 + case "$firstarg" in
83.307 + *o*)
83.308 + firstarg=`echo "$firstarg" | sed s/o//`
83.309 + tar "$firstarg" "$@" && exit 0
83.310 + ;;
83.311 + esac
83.312 + case "$firstarg" in
83.313 + *h*)
83.314 + firstarg=`echo "$firstarg" | sed s/h//`
83.315 + tar "$firstarg" "$@" && exit 0
83.316 + ;;
83.317 + esac
83.318 + fi
83.319 +
83.320 + echo 1>&2 "\
83.321 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
83.322 + You may want to install GNU tar or Free paxutils, or check the
83.323 + command line arguments."
83.324 + exit 1
83.325 + ;;
83.326 +
83.327 + *)
83.328 + echo 1>&2 "\
83.329 +WARNING: \`$1' is needed, and you do not seem to have it handy on your
83.330 + system. You might have modified some files without having the
83.331 + proper tools for further handling them. Check the \`README' file,
83.332 + it often tells you about the needed prerequirements for installing
83.333 + this package. You may also peek at any GNU archive site, in case
83.334 + some other package would contain this missing \`$1' program."
83.335 + exit 1
83.336 + ;;
83.337 +esac
83.338 +
83.339 +exit 0
84.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
84.2 +++ b/tools/picctldisplaytest/mkinstalldirs Tue Jan 29 22:31:52 2008 +0100
84.3 @@ -0,0 +1,111 @@
84.4 +#! /bin/sh
84.5 +# mkinstalldirs --- make directory hierarchy
84.6 +# Author: Noah Friedman <friedman@prep.ai.mit.edu>
84.7 +# Created: 1993-05-16
84.8 +# Public domain
84.9 +
84.10 +errstatus=0
84.11 +dirmode=""
84.12 +
84.13 +usage="\
84.14 +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
84.15 +
84.16 +# process command line arguments
84.17 +while test $# -gt 0 ; do
84.18 + case $1 in
84.19 + -h | --help | --h*) # -h for help
84.20 + echo "$usage" 1>&2
84.21 + exit 0
84.22 + ;;
84.23 + -m) # -m PERM arg
84.24 + shift
84.25 + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
84.26 + dirmode=$1
84.27 + shift
84.28 + ;;
84.29 + --) # stop option processing
84.30 + shift
84.31 + break
84.32 + ;;
84.33 + -*) # unknown option
84.34 + echo "$usage" 1>&2
84.35 + exit 1
84.36 + ;;
84.37 + *) # first non-opt arg
84.38 + break
84.39 + ;;
84.40 + esac
84.41 +done
84.42 +
84.43 +for file
84.44 +do
84.45 + if test -d "$file"; then
84.46 + shift
84.47 + else
84.48 + break
84.49 + fi
84.50 +done
84.51 +
84.52 +case $# in
84.53 + 0) exit 0 ;;
84.54 +esac
84.55 +
84.56 +case $dirmode in
84.57 + '')
84.58 + if mkdir -p -- . 2>/dev/null; then
84.59 + echo "mkdir -p -- $*"
84.60 + exec mkdir -p -- "$@"
84.61 + fi
84.62 + ;;
84.63 + *)
84.64 + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
84.65 + echo "mkdir -m $dirmode -p -- $*"
84.66 + exec mkdir -m "$dirmode" -p -- "$@"
84.67 + fi
84.68 + ;;
84.69 +esac
84.70 +
84.71 +for file
84.72 +do
84.73 + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
84.74 + shift
84.75 +
84.76 + pathcomp=
84.77 + for d
84.78 + do
84.79 + pathcomp="$pathcomp$d"
84.80 + case $pathcomp in
84.81 + -*) pathcomp=./$pathcomp ;;
84.82 + esac
84.83 +
84.84 + if test ! -d "$pathcomp"; then
84.85 + echo "mkdir $pathcomp"
84.86 +
84.87 + mkdir "$pathcomp" || lasterr=$?
84.88 +
84.89 + if test ! -d "$pathcomp"; then
84.90 + errstatus=$lasterr
84.91 + else
84.92 + if test ! -z "$dirmode"; then
84.93 + echo "chmod $dirmode $pathcomp"
84.94 + lasterr=""
84.95 + chmod "$dirmode" "$pathcomp" || lasterr=$?
84.96 +
84.97 + if test ! -z "$lasterr"; then
84.98 + errstatus=$lasterr
84.99 + fi
84.100 + fi
84.101 + fi
84.102 + fi
84.103 +
84.104 + pathcomp="$pathcomp/"
84.105 + done
84.106 +done
84.107 +
84.108 +exit $errstatus
84.109 +
84.110 +# Local Variables:
84.111 +# mode: shell-script
84.112 +# sh-indentation: 2
84.113 +# End:
84.114 +# mkinstalldirs ends here
85.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
85.2 +++ b/tools/picctldisplaytest/picctldisplaytest.kdevelop Tue Jan 29 22:31:52 2008 +0100
85.3 @@ -0,0 +1,190 @@
85.4 +<?xml version = '1.0'?>
85.5 +<kdevelop>
85.6 + <general>
85.7 + <author>Peter Marquardt</author>
85.8 + <email>p_marquardt@users.sourceforge.net</email>
85.9 + <version>0.1</version>
85.10 + <projectmanagement>KDevAutoProject</projectmanagement>
85.11 + <primarylanguage>C++</primarylanguage>
85.12 + <keywords>
85.13 + <keyword>C++</keyword>
85.14 + <keyword>Code</keyword>
85.15 + </keywords>
85.16 + <ignoreparts/>
85.17 + <projectdirectory>.</projectdirectory>
85.18 + <absoluteprojectpath>false</absoluteprojectpath>
85.19 + <description/>
85.20 + </general>
85.21 + <kdevautoproject>
85.22 + <general>
85.23 + <activetarget>src/picctldisplaytest</activetarget>
85.24 + <useconfiguration>debug</useconfiguration>
85.25 + </general>
85.26 + <run>
85.27 + <mainprogram>src/picctldisplaytest</mainprogram>
85.28 + <terminal>true</terminal>
85.29 + <directoryradio>executable</directoryradio>
85.30 + </run>
85.31 + <configurations>
85.32 + <optimized>
85.33 + <builddir>optimized</builddir>
85.34 + <ccompiler>kdevgccoptions</ccompiler>
85.35 + <cxxcompiler>kdevgppoptions</cxxcompiler>
85.36 + <f77compiler>kdevg77options</f77compiler>
85.37 + <cxxflags>-O2 -g0</cxxflags>
85.38 + </optimized>
85.39 + <debug>
85.40 + <configargs>--enable-debug=full</configargs>
85.41 + <builddir>debug</builddir>
85.42 + <ccompiler>kdevgccoptions</ccompiler>
85.43 + <cxxcompiler>kdevgppoptions</cxxcompiler>
85.44 + <f77compiler>kdevg77options</f77compiler>
85.45 + <cxxflags>-O0 -g3</cxxflags>
85.46 + </debug>
85.47 + </configurations>
85.48 + <make>
85.49 + <envvars>
85.50 + <envvar value="1" name="WANT_AUTOCONF_2_5" />
85.51 + <envvar value="1" name="WANT_AUTOMAKE_1_6" />
85.52 + </envvars>
85.53 + </make>
85.54 + </kdevautoproject>
85.55 + <kdevdoctreeview>
85.56 + <ignoretocs>
85.57 + <toc>ada</toc>
85.58 + <toc>ada_bugs_gcc</toc>
85.59 + <toc>bash</toc>
85.60 + <toc>bash_bugs</toc>
85.61 + <toc>clanlib</toc>
85.62 + <toc>w3c-dom-level2-html</toc>
85.63 + <toc>fortran_bugs_gcc</toc>
85.64 + <toc>gnome1</toc>
85.65 + <toc>gnustep</toc>
85.66 + <toc>gtk</toc>
85.67 + <toc>gtk_bugs</toc>
85.68 + <toc>haskell</toc>
85.69 + <toc>haskell_bugs_ghc</toc>
85.70 + <toc>java_bugs_gcc</toc>
85.71 + <toc>java_bugs_sun</toc>
85.72 + <toc>kde2book</toc>
85.73 + <toc>opengl</toc>
85.74 + <toc>pascal_bugs_fp</toc>
85.75 + <toc>php</toc>
85.76 + <toc>php_bugs</toc>
85.77 + <toc>perl</toc>
85.78 + <toc>perl_bugs</toc>
85.79 + <toc>python</toc>
85.80 + <toc>python_bugs</toc>
85.81 + <toc>qt-kdev3</toc>
85.82 + <toc>ruby</toc>
85.83 + <toc>ruby_bugs</toc>
85.84 + <toc>sdl</toc>
85.85 + <toc>w3c-svg</toc>
85.86 + <toc>sw</toc>
85.87 + <toc>w3c-uaag10</toc>
85.88 + <toc>wxwidgets_bugs</toc>
85.89 + </ignoretocs>
85.90 + <ignoreqt_xml>
85.91 + <toc>Guide to the Qt Translation Tools</toc>
85.92 + <toc>Qt Assistant Manual</toc>
85.93 + <toc>Qt Designer Manual</toc>
85.94 + <toc>Qt Reference Documentation</toc>
85.95 + <toc>qmake User Guide</toc>
85.96 + </ignoreqt_xml>
85.97 + <ignoredoxygen>
85.98 + <toc>KDE Libraries (Doxygen)</toc>
85.99 + </ignoredoxygen>
85.100 + </kdevdoctreeview>
85.101 + <kdevfilecreate>
85.102 + <useglobaltypes>
85.103 + <type ext="cpp" />
85.104 + <type ext="h" />
85.105 + </useglobaltypes>
85.106 + </kdevfilecreate>
85.107 + <kdevfileview>
85.108 + <groups>
85.109 + <group pattern="*.h" name="Header files" />
85.110 + <group pattern="*.cpp" name="Source files" />
85.111 + <hidenonprojectfiles>false</hidenonprojectfiles>
85.112 + <hidenonlocation>false</hidenonlocation>
85.113 + </groups>
85.114 + <tree>
85.115 + <hidepatterns>*.o,*.lo,CVS</hidepatterns>
85.116 + <hidenonprojectfiles>false</hidenonprojectfiles>
85.117 + </tree>
85.118 + </kdevfileview>
85.119 + <kdevdocumentation>
85.120 + <projectdoc>
85.121 + <docsystem>Doxygen Documentation Collection</docsystem>
85.122 + <docurl>picctldisplaytest.tag</docurl>
85.123 + </projectdoc>
85.124 + </kdevdocumentation>
85.125 + <substmap>
85.126 + <APPNAME>picctldisplaytest</APPNAME>
85.127 + <APPNAMELC>picctldisplaytest</APPNAMELC>
85.128 + <APPNAMESC>Picctldisplaytest</APPNAMESC>
85.129 + <APPNAMEUC>PICCTLDISPLAYTEST</APPNAMEUC>
85.130 + <AUTHOR>Peter Marquardt</AUTHOR>
85.131 + <EMAIL>p_marquardt@users.sourceforge.net</EMAIL>
85.132 + <LICENSE>GPL</LICENSE>
85.133 + <LICENSEFILE>COPYING</LICENSEFILE>
85.134 + <VERSION>0.1</VERSION>
85.135 + <YEAR>2008</YEAR>
85.136 + <dest>/home/pm/Documents/Projekte/vdr/picctldisplaytest</dest>
85.137 + </substmap>
85.138 + <cppsupportpart>
85.139 + <filetemplates>
85.140 + <interfacesuffix>.h</interfacesuffix>
85.141 + <implementationsuffix>.cpp</implementationsuffix>
85.142 + </filetemplates>
85.143 + </cppsupportpart>
85.144 + <kdevcppsupport>
85.145 + <qt>
85.146 + <used>false</used>
85.147 + <version>3</version>
85.148 + <root>/usr/lib/qt3</root>
85.149 + </qt>
85.150 + <codecompletion>
85.151 + <includeGlobalFunctions>true</includeGlobalFunctions>
85.152 + <includeTypes>true</includeTypes>
85.153 + <includeEnums>true</includeEnums>
85.154 + <includeTypedefs>false</includeTypedefs>
85.155 + <automaticCodeCompletion>true</automaticCodeCompletion>
85.156 + <automaticArgumentsHint>true</automaticArgumentsHint>
85.157 + <automaticHeaderCompletion>true</automaticHeaderCompletion>
85.158 + <codeCompletionDelay>250</codeCompletionDelay>
85.159 + <argumentsHintDelay>400</argumentsHintDelay>
85.160 + <headerCompletionDelay>250</headerCompletionDelay>
85.161 + </codecompletion>
85.162 + <creategettersetter>
85.163 + <prefixGet/>
85.164 + <prefixSet>set</prefixSet>
85.165 + <prefixVariable>m_,_</prefixVariable>
85.166 + <parameterName>theValue</parameterName>
85.167 + <inlineGet>true</inlineGet>
85.168 + <inlineSet>true</inlineSet>
85.169 + </creategettersetter>
85.170 + <references>
85.171 + <pcs>wxWidgets 2</pcs>
85.172 + <pcs>wxWidgets280</pcs>
85.173 + </references>
85.174 + </kdevcppsupport>
85.175 + <kdevdebugger>
85.176 + <general>
85.177 + <programargs/>
85.178 + <gdbpath/>
85.179 + <dbgshell/>
85.180 + <configGdbScript/>
85.181 + <runShellScript/>
85.182 + <runGdbScript/>
85.183 + <breakonloadinglibs>true</breakonloadinglibs>
85.184 + <separatetty>false</separatetty>
85.185 + <floatingtoolbar>false</floatingtoolbar>
85.186 + </general>
85.187 + <display>
85.188 + <staticmembers>false</staticmembers>
85.189 + <demanglenames>true</demanglenames>
85.190 + <outputradix>10</outputradix>
85.191 + </display>
85.192 + </kdevdebugger>
85.193 +</kdevelop>
86.1 Binary file tools/picctldisplaytest/picctldisplaytest.kdevelop.pcs has changed
87.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
87.2 +++ b/tools/picctldisplaytest/picctldisplaytest.kdevses Tue Jan 29 22:31:52 2008 +0100
87.3 @@ -0,0 +1,23 @@
87.4 +<?xml version = '1.0' encoding = 'UTF-8'?>
87.5 +<!DOCTYPE KDevPrjSession>
87.6 +<KDevPrjSession>
87.7 + <DocsAndViews NumberOfDocuments="1" >
87.8 + <Doc0 NumberOfViews="1" URL="file:///home/pm/Documents/Projekte/vdr/picctldisplaytest/src/picctldisplaytest.cpp" >
87.9 + <View0 line="59" Type="Source" />
87.10 + </Doc0>
87.11 + </DocsAndViews>
87.12 + <pluginList>
87.13 + <kdevdebugger>
87.14 + <breakpointList/>
87.15 + </kdevdebugger>
87.16 + <kdevbookmarks>
87.17 + <bookmarks/>
87.18 + </kdevbookmarks>
87.19 + <kdevvalgrind>
87.20 + <executable path="" params="" />
87.21 + <valgrind path="/usr/bin/valgrind" params="--tool=memcheck --tool=memcheck --tool=memcheck --leak-check=yes" />
87.22 + <calltree path="calltree" params="" />
87.23 + <kcachegrind path="kcachegrind" />
87.24 + </kdevvalgrind>
87.25 + </pluginList>
87.26 +</KDevPrjSession>
88.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
88.2 +++ b/tools/picctldisplaytest/src/Makefile.am Tue Jan 29 22:31:52 2008 +0100
88.3 @@ -0,0 +1,9 @@
88.4 +bin_PROGRAMS = picctldisplaytest
88.5 +picctldisplaytest_SOURCES = picctldisplaytest.cpp
88.6 +
88.7 +# set the include path found by configure
88.8 +INCLUDES= $(all_includes)
88.9 +
88.10 +# the library search path.
88.11 +picctldisplaytest_LDFLAGS = $(all_libraries)
88.12 +noinst_HEADERS = picctldisplaytest.h
89.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
89.2 +++ b/tools/picctldisplaytest/src/Makefile.in Tue Jan 29 22:31:52 2008 +0100
89.3 @@ -0,0 +1,482 @@
89.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
89.5 +# @configure_input@
89.6 +
89.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
89.8 +# 2003, 2004, 2005 Free Software Foundation, Inc.
89.9 +# This Makefile.in is free software; the Free Software Foundation
89.10 +# gives unlimited permission to copy and/or distribute it,
89.11 +# with or without modifications, as long as this notice is preserved.
89.12 +
89.13 +# This program is distributed in the hope that it will be useful,
89.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
89.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
89.16 +# PARTICULAR PURPOSE.
89.17 +
89.18 +@SET_MAKE@
89.19 +
89.20 +
89.21 +srcdir = @srcdir@
89.22 +top_srcdir = @top_srcdir@
89.23 +VPATH = @srcdir@
89.24 +pkgdatadir = $(datadir)/@PACKAGE@
89.25 +pkglibdir = $(libdir)/@PACKAGE@
89.26 +pkgincludedir = $(includedir)/@PACKAGE@
89.27 +top_builddir = ..
89.28 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
89.29 +INSTALL = @INSTALL@
89.30 +install_sh_DATA = $(install_sh) -c -m 644
89.31 +install_sh_PROGRAM = $(install_sh) -c
89.32 +install_sh_SCRIPT = $(install_sh) -c
89.33 +INSTALL_HEADER = $(INSTALL_DATA)
89.34 +transform = $(program_transform_name)
89.35 +NORMAL_INSTALL = :
89.36 +PRE_INSTALL = :
89.37 +POST_INSTALL = :
89.38 +NORMAL_UNINSTALL = :
89.39 +PRE_UNINSTALL = :
89.40 +POST_UNINSTALL = :
89.41 +build_triplet = @build@
89.42 +host_triplet = @host@
89.43 +bin_PROGRAMS = picctldisplaytest$(EXEEXT)
89.44 +subdir = src
89.45 +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
89.46 + $(srcdir)/Makefile.in
89.47 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
89.48 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
89.49 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89.50 + $(ACLOCAL_M4)
89.51 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
89.52 +CONFIG_HEADER = $(top_builddir)/config.h
89.53 +CONFIG_CLEAN_FILES =
89.54 +am__installdirs = "$(DESTDIR)$(bindir)"
89.55 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
89.56 +PROGRAMS = $(bin_PROGRAMS)
89.57 +am_picctldisplaytest_OBJECTS = picctldisplaytest.$(OBJEXT)
89.58 +picctldisplaytest_OBJECTS = $(am_picctldisplaytest_OBJECTS)
89.59 +picctldisplaytest_LDADD = $(LDADD)
89.60 +AM_LIBTOOL_SILENT = $(if $(V),,--silent)
89.61 +AM_VERBOSE_CC = $(if $(V),,@echo " CC " $@;)
89.62 +AM_VERBOSE_CCLD = $(if $(V),,@echo " CCLD " $@;)
89.63 +AM_VERBOSE_CXX = $(if $(V),,@echo " CXX " $@;)
89.64 +AM_VERBOSE_CXXLD = $(if $(V),,@echo " CXXLD " $@;)
89.65 +AM_VERBOSE_OBJC = $(if $(V),,@echo " OBJC " $@;)
89.66 +AM_VERBOSE_OBJCLD = $(if $(V),,@echo " OBJCLD " $@;)
89.67 +AM_VERBOSE_YACC = $(if $(V),,@echo " YACC " $@;)
89.68 +AM_VERBOSE_LEX = $(if $(V),,@echo " LEX " $@;)
89.69 +AM_VERBOSE_AS = $(if $(V),,@echo " AS " $@;)
89.70 +AM_VERBOSE_F77 = $(if $(V),,@echo " F77 " $@;)
89.71 +AM_VERBOSE_F77LD = $(if $(V),,@echo " F77LD " $@;)
89.72 +AM_VERBOSE_FC = $(if $(V),,@echo " FC " $@;)
89.73 +AM_VERBOSE_FCLD = $(if $(V),,@echo " FCLD " $@;)
89.74 +AM_VERBOSE_GCJ = $(if $(V),,@echo " GCJ " $@;)
89.75 +AM_VERBOSE_GCJLD = $(if $(V),,@echo " GCJLD " $@;)
89.76 +AM_VERBOSE_GEN = $(if $(V),,@echo " GEN " $@;)
89.77 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
89.78 +depcomp = $(SHELL) $(top_srcdir)/depcomp
89.79 +am__depfiles_maybe = depfiles
89.80 +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
89.81 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
89.82 +LTCXXCOMPILE = $(LIBTOOL) $(AM_LIBTOOL_SILENT) --tag=CXX \
89.83 + --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
89.84 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
89.85 +CXXLD = $(CXX)
89.86 +CXXLINK = $(LIBTOOL) $(AM_LIBTOOL_SILENT) --tag=CXX --mode=link \
89.87 + $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
89.88 + -o $@
89.89 +SOURCES = $(picctldisplaytest_SOURCES)
89.90 +DIST_SOURCES = $(picctldisplaytest_SOURCES)
89.91 +HEADERS = $(noinst_HEADERS)
89.92 +ETAGS = etags
89.93 +CTAGS = ctags
89.94 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
89.95 +ACLOCAL = @ACLOCAL@
89.96 +AMDEP_FALSE = @AMDEP_FALSE@
89.97 +AMDEP_TRUE = @AMDEP_TRUE@
89.98 +AMTAR = @AMTAR@
89.99 +AR = @AR@
89.100 +AUTOCONF = @AUTOCONF@
89.101 +AUTOHEADER = @AUTOHEADER@
89.102 +AUTOMAKE = @AUTOMAKE@
89.103 +AWK = @AWK@
89.104 +CC = @CC@
89.105 +CCDEPMODE = @CCDEPMODE@
89.106 +CFLAGS = @CFLAGS@
89.107 +CPP = @CPP@
89.108 +CPPFLAGS = @CPPFLAGS@
89.109 +CXX = @CXX@
89.110 +CXXCPP = @CXXCPP@
89.111 +CXXDEPMODE = @CXXDEPMODE@
89.112 +CXXFLAGS = @CXXFLAGS@
89.113 +CYGPATH_W = @CYGPATH_W@
89.114 +DEFS = @DEFS@
89.115 +DEPDIR = @DEPDIR@
89.116 +ECHO = @ECHO@
89.117 +ECHO_C = @ECHO_C@
89.118 +ECHO_N = @ECHO_N@
89.119 +ECHO_T = @ECHO_T@
89.120 +EGREP = @EGREP@
89.121 +EXEEXT = @EXEEXT@
89.122 +F77 = @F77@
89.123 +FFLAGS = @FFLAGS@
89.124 +GREP = @GREP@
89.125 +INSTALL_DATA = @INSTALL_DATA@
89.126 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
89.127 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
89.128 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
89.129 +LDFLAGS = @LDFLAGS@
89.130 +LIBOBJS = @LIBOBJS@
89.131 +LIBS = @LIBS@
89.132 +LIBTOOL = @LIBTOOL@
89.133 +LN_S = @LN_S@
89.134 +LTLIBOBJS = @LTLIBOBJS@
89.135 +MAKEINFO = @MAKEINFO@
89.136 +OBJEXT = @OBJEXT@
89.137 +PACKAGE = @PACKAGE@
89.138 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
89.139 +PACKAGE_NAME = @PACKAGE_NAME@
89.140 +PACKAGE_STRING = @PACKAGE_STRING@
89.141 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
89.142 +PACKAGE_VERSION = @PACKAGE_VERSION@
89.143 +PATH_SEPARATOR = @PATH_SEPARATOR@
89.144 +RANLIB = @RANLIB@
89.145 +SET_MAKE = @SET_MAKE@
89.146 +SHELL = @SHELL@
89.147 +STRIP = @STRIP@
89.148 +VERSION = @VERSION@
89.149 +ac_ct_CC = @ac_ct_CC@
89.150 +ac_ct_CXX = @ac_ct_CXX@
89.151 +ac_ct_F77 = @ac_ct_F77@
89.152 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
89.153 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
89.154 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
89.155 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
89.156 +am__include = @am__include@
89.157 +am__leading_dot = @am__leading_dot@
89.158 +am__quote = @am__quote@
89.159 +am__tar = @am__tar@
89.160 +am__untar = @am__untar@
89.161 +bindir = @bindir@
89.162 +build = @build@
89.163 +build_alias = @build_alias@
89.164 +build_cpu = @build_cpu@
89.165 +build_os = @build_os@
89.166 +build_vendor = @build_vendor@
89.167 +datadir = @datadir@
89.168 +datarootdir = @datarootdir@
89.169 +docdir = @docdir@
89.170 +dvidir = @dvidir@
89.171 +exec_prefix = @exec_prefix@
89.172 +host = @host@
89.173 +host_alias = @host_alias@
89.174 +host_cpu = @host_cpu@
89.175 +host_os = @host_os@
89.176 +host_vendor = @host_vendor@
89.177 +htmldir = @htmldir@
89.178 +includedir = @includedir@
89.179 +infodir = @infodir@
89.180 +install_sh = @install_sh@
89.181 +libdir = @libdir@
89.182 +libexecdir = @libexecdir@
89.183 +localedir = @localedir@
89.184 +localstatedir = @localstatedir@
89.185 +mandir = @mandir@
89.186 +mkdir_p = @mkdir_p@
89.187 +oldincludedir = @oldincludedir@
89.188 +pdfdir = @pdfdir@
89.189 +prefix = @prefix@
89.190 +program_transform_name = @program_transform_name@
89.191 +psdir = @psdir@
89.192 +sbindir = @sbindir@
89.193 +sharedstatedir = @sharedstatedir@
89.194 +sysconfdir = @sysconfdir@
89.195 +target_alias = @target_alias@
89.196 +picctldisplaytest_SOURCES = picctldisplaytest.cpp
89.197 +
89.198 +# set the include path found by configure
89.199 +INCLUDES = $(all_includes)
89.200 +
89.201 +# the library search path.
89.202 +picctldisplaytest_LDFLAGS = $(all_libraries)
89.203 +noinst_HEADERS = picctldisplaytest.h
89.204 +all: all-am
89.205 +
89.206 +.SUFFIXES:
89.207 +.SUFFIXES: .cpp .lo .o .obj
89.208 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
89.209 + @for dep in $?; do \
89.210 + case '$(am__configure_deps)' in \
89.211 + *$$dep*) \
89.212 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
89.213 + && exit 0; \
89.214 + exit 1;; \
89.215 + esac; \
89.216 + done; \
89.217 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
89.218 + cd $(top_srcdir) && \
89.219 + $(AUTOMAKE) --gnu src/Makefile
89.220 +.PRECIOUS: Makefile
89.221 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
89.222 + @case '$?' in \
89.223 + *config.status*) \
89.224 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
89.225 + *) \
89.226 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
89.227 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
89.228 + esac;
89.229 +
89.230 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
89.231 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
89.232 +
89.233 +$(top_srcdir)/configure: $(am__configure_deps)
89.234 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
89.235 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
89.236 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
89.237 +install-binPROGRAMS: $(bin_PROGRAMS)
89.238 + @$(NORMAL_INSTALL)
89.239 + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
89.240 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
89.241 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
89.242 + if test -f $$p \
89.243 + || test -f $$p1 \
89.244 + ; then \
89.245 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
89.246 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
89.247 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
89.248 + else :; fi; \
89.249 + done
89.250 +
89.251 +uninstall-binPROGRAMS:
89.252 + @$(NORMAL_UNINSTALL)
89.253 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
89.254 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
89.255 + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
89.256 + rm -f "$(DESTDIR)$(bindir)/$$f"; \
89.257 + done
89.258 +
89.259 +clean-binPROGRAMS:
89.260 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
89.261 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
89.262 + echo " rm -f $$p $$f"; \
89.263 + rm -f $$p $$f ; \
89.264 + done
89.265 +picctldisplaytest$(EXEEXT): $(picctldisplaytest_OBJECTS) $(picctldisplaytest_DEPENDENCIES)
89.266 + @rm -f picctldisplaytest$(EXEEXT)
89.267 + $(AM_VERBOSE_CXXLD) \
89.268 + $(CXXLINK) $(picctldisplaytest_LDFLAGS) $(picctldisplaytest_OBJECTS) $(picctldisplaytest_LDADD) $(LIBS)
89.269 +
89.270 +mostlyclean-compile:
89.271 + -rm -f *.$(OBJEXT)
89.272 +
89.273 +distclean-compile:
89.274 + -rm -f *.tab.c
89.275 +
89.276 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/picctldisplaytest.Po@am__quote@
89.277 +
89.278 +.cpp.o:
89.279 +@am__fastdepCXX_TRUE@ $(AM_VERBOSE_CXX) \
89.280 +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
89.281 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
89.282 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
89.283 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
89.284 +@am__fastdepCXX_FALSE@ $(AM_VERBOSE_CXX) \
89.285 +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
89.286 +
89.287 +.cpp.obj:
89.288 +@am__fastdepCXX_TRUE@ $(AM_VERBOSE_CXX) \
89.289 +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
89.290 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
89.291 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
89.292 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
89.293 +@am__fastdepCXX_FALSE@ $(AM_VERBOSE_CXX) \
89.294 +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
89.295 +
89.296 +.cpp.lo:
89.297 +@am__fastdepCXX_TRUE@ $(AM_VERBOSE_CXX) \
89.298 +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
89.299 +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
89.300 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
89.301 +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
89.302 +@am__fastdepCXX_FALSE@ $(AM_VERBOSE_CXX) \
89.303 +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
89.304 +
89.305 +mostlyclean-libtool:
89.306 + -rm -f *.lo
89.307 +
89.308 +clean-libtool:
89.309 + -rm -rf .libs _libs
89.310 +
89.311 +distclean-libtool:
89.312 + -rm -f libtool
89.313 +uninstall-info-am:
89.314 +
89.315 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
89.316 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
89.317 + unique=`for i in $$list; do \
89.318 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
89.319 + done | \
89.320 + $(AWK) ' { files[$$0] = 1; } \
89.321 + END { for (i in files) print i; }'`; \
89.322 + mkid -fID $$unique
89.323 +tags: TAGS
89.324 +
89.325 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
89.326 + $(TAGS_FILES) $(LISP)
89.327 + tags=; \
89.328 + here=`pwd`; \
89.329 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
89.330 + unique=`for i in $$list; do \
89.331 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
89.332 + done | \
89.333 + $(AWK) ' { files[$$0] = 1; } \
89.334 + END { for (i in files) print i; }'`; \
89.335 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
89.336 + test -n "$$unique" || unique=$$empty_fix; \
89.337 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
89.338 + $$tags $$unique; \
89.339 + fi
89.340 +ctags: CTAGS
89.341 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
89.342 + $(TAGS_FILES) $(LISP)
89.343 + tags=; \
89.344 + here=`pwd`; \
89.345 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
89.346 + unique=`for i in $$list; do \
89.347 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
89.348 + done | \
89.349 + $(AWK) ' { files[$$0] = 1; } \
89.350 + END { for (i in files) print i; }'`; \
89.351 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
89.352 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
89.353 + $$tags $$unique
89.354 +
89.355 +GTAGS:
89.356 + here=`$(am__cd) $(top_builddir) && pwd` \
89.357 + && cd $(top_srcdir) \
89.358 + && gtags -i $(GTAGS_ARGS) $$here
89.359 +
89.360 +distclean-tags:
89.361 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
89.362 +
89.363 +distdir: $(DISTFILES)
89.364 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
89.365 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
89.366 + list='$(DISTFILES)'; for file in $$list; do \
89.367 + case $$file in \
89.368 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
89.369 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
89.370 + esac; \
89.371 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
89.372 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
89.373 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
89.374 + dir="/$$dir"; \
89.375 + $(mkdir_p) "$(distdir)$$dir"; \
89.376 + else \
89.377 + dir=''; \
89.378 + fi; \
89.379 + if test -d $$d/$$file; then \
89.380 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
89.381 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
89.382 + fi; \
89.383 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
89.384 + else \
89.385 + test -f $(distdir)/$$file \
89.386 + || cp -p $$d/$$file $(distdir)/$$file \
89.387 + || exit 1; \
89.388 + fi; \
89.389 + done
89.390 +check-am: all-am
89.391 +check: check-am
89.392 +all-am: Makefile $(PROGRAMS) $(HEADERS)
89.393 +installdirs:
89.394 + for dir in "$(DESTDIR)$(bindir)"; do \
89.395 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
89.396 + done
89.397 +install: install-am
89.398 +install-exec: install-exec-am
89.399 +install-data: install-data-am
89.400 +uninstall: uninstall-am
89.401 +
89.402 +install-am: all-am
89.403 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
89.404 +
89.405 +installcheck: installcheck-am
89.406 +install-strip:
89.407 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
89.408 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
89.409 + `test -z '$(STRIP)' || \
89.410 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
89.411 +mostlyclean-generic:
89.412 +
89.413 +clean-generic:
89.414 +
89.415 +distclean-generic:
89.416 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
89.417 +
89.418 +maintainer-clean-generic:
89.419 + @echo "This command is intended for maintainers to use"
89.420 + @echo "it deletes files that may require special tools to rebuild."
89.421 +clean: clean-am
89.422 +
89.423 +clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
89.424 +
89.425 +distclean: distclean-am
89.426 + -rm -rf ./$(DEPDIR)
89.427 + -rm -f Makefile
89.428 +distclean-am: clean-am distclean-compile distclean-generic \
89.429 + distclean-libtool distclean-tags
89.430 +
89.431 +dvi: dvi-am
89.432 +
89.433 +dvi-am:
89.434 +
89.435 +html: html-am
89.436 +
89.437 +info: info-am
89.438 +
89.439 +info-am:
89.440 +
89.441 +install-data-am:
89.442 +
89.443 +install-exec-am: install-binPROGRAMS
89.444 +
89.445 +install-info: install-info-am
89.446 +
89.447 +install-man:
89.448 +
89.449 +installcheck-am:
89.450 +
89.451 +maintainer-clean: maintainer-clean-am
89.452 + -rm -rf ./$(DEPDIR)
89.453 + -rm -f Makefile
89.454 +maintainer-clean-am: distclean-am maintainer-clean-generic
89.455 +
89.456 +mostlyclean: mostlyclean-am
89.457 +
89.458 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
89.459 + mostlyclean-libtool
89.460 +
89.461 +pdf: pdf-am
89.462 +
89.463 +pdf-am:
89.464 +
89.465 +ps: ps-am
89.466 +
89.467 +ps-am:
89.468 +
89.469 +uninstall-am: uninstall-binPROGRAMS uninstall-info-am
89.470 +
89.471 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
89.472 + clean-generic clean-libtool ctags distclean distclean-compile \
89.473 + distclean-generic distclean-libtool distclean-tags distdir dvi \
89.474 + dvi-am html html-am info info-am install install-am \
89.475 + install-binPROGRAMS install-data install-data-am install-exec \
89.476 + install-exec-am install-info install-info-am install-man \
89.477 + install-strip installcheck installcheck-am installdirs \
89.478 + maintainer-clean maintainer-clean-generic mostlyclean \
89.479 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
89.480 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
89.481 + uninstall-binPROGRAMS uninstall-info-am
89.482 +
89.483 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
89.484 +# Otherwise a system limit (for SysV at least) may be exceeded.
89.485 +.NOEXPORT:
90.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
90.2 +++ b/tools/picctldisplaytest/src/picctldisplaytest.cpp Tue Jan 29 22:31:52 2008 +0100
90.3 @@ -0,0 +1,541 @@
90.4 +/***************************************************************************
90.5 + * Copyright (C) 2008 by Peter Marquardt *
90.6 + * p_marquardt@users.sourceforge.net *
90.7 + * code base Copyright (C) 2007 by Carsten Presser *
90.8 + * *
90.9 + * This program is free software; you can redistribute it and/or modify *
90.10 + * it under the terms of the GNU General Public License as published by *
90.11 + * the Free Software Foundation; either version 2 of the License, or *
90.12 + * (at your option) any later version. *
90.13 + * *
90.14 + * This program is distributed in the hope that it will be useful, *
90.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of *
90.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
90.17 + * GNU General Public License for more details. *
90.18 + * *
90.19 + * You should have received a copy of the GNU General Public License *
90.20 + * along with this program; if not, write to the *
90.21 + * Free Software Foundation, Inc., *
90.22 + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
90.23 + ***************************************************************************/
90.24 +
90.25 +/*! \file pcctldisplaytest.cpp
90.26 +\brief A utility to test the picctl lcd display and interface
90.27 +\author Peter Marquardt p_marquardt@users.sourceforge.net
90.28 +\author Carsten Presser
90.29 +\todo sanitize command line argument parsing
90.30 +*/
90.31 +
90.32 +#ifdef HAVE_CONFIG_H
90.33 +#include <config.h>
90.34 +#endif
90.35 +#include <iostream>
90.36 +#include <cstdlib>
90.37 +#include <termios.h>
90.38 +#include <signal.h>
90.39 +#include <fcntl.h>
90.40 +#include "picctldisplaytest.h"
90.41 +
90.42 +using namespace std;
90.43 +config myconfig;
90.44 +runtime_flags myflags;
90.45 +int fd;
90.46 +
90.47 +int main(int argc, char *argv[])
90.48 +{
90.49 + bool kill_flag = false;
90.50 + struct termios options;
90.51 + struct sigaction saio;
90.52 + char key;
90.53 +
90.54 + cout << "** picctldisplaytest - simple test utility for picctl lcd displays **" << endl
90.55 + << ">";
90.56 +
90.57 + // setting defaults
90.58 + myconfig.debug = false;
90.59 + myconfig.verbosity = 0;
90.60 + myconfig.modem_device = "/dev/ttyACM0";
90.61 + myflags.parse_return_clockram = false;
90.62 +
90.63 + // parsing arguments
90.64 + for (int i = 1; i < argc; i++) {
90.65 + if (*argv[i] == 'd') {
90.66 + i++;
90.67 + myconfig.modem_device = argv[i];
90.68 + }
90.69 + else if (*argv[i] == 'v') {
90.70 + i++;
90.71 + myconfig.verbosity = atoi(argv[i]);
90.72 + }
90.73 + else if (*argv[i] == 'D') {
90.74 + myconfig.debug =true;
90.75 + }
90.76 + }
90.77 +
90.78 + if (myconfig.verbosity > 0 || myconfig.debug) {
90.79 + cout << "picctldisplaytest called with\n"
90.80 + << "device: " << myconfig.modem_device << endl
90.81 + << "verbosity: " << myconfig.verbosity << endl
90.82 + << "debug mode:" << boolalpha << myconfig.debug << endl;
90.83 + }
90.84 +
90.85 + /* open the device to be non-blocking (read will return immediatly) */
90.86 + fd = open(myconfig.modem_device, O_RDWR | O_NOCTTY | O_NONBLOCK);
90.87 + if (fd <0) {perror(myconfig.modem_device); exit(-1); }
90.88 +
90.89 + /* install the signal handler before making the device asynchronous */
90.90 + saio.sa_handler = signal_handler_IO;
90.91 + sigemptyset (&saio.sa_mask);
90.92 + saio.sa_flags = 0;
90.93 + saio.sa_restorer = NULL;
90.94 + sigaction(SIGIO,&saio,NULL);
90.95 + // allow the process to receive SIGIO
90.96 + fcntl(fd, F_SETOWN, getpid());
90.97 + // Make the file descriptor asynchronous
90.98 + fcntl(fd, F_SETFL, FASYNC);
90.99 +
90.100 + tcgetattr(fd, &options);
90.101 +
90.102 + cfsetispeed(&options, BAUDRATE);
90.103 + cfsetospeed(&options, BAUDRATE);
90.104 +
90.105 + options.c_cflag &= ~PARENB;
90.106 + options.c_cflag &= ~CSTOPB;
90.107 + options.c_cflag &= ~CSIZE;
90.108 + options.c_cflag |= CS8;
90.109 +
90.110 + options.c_cflag &= ~CRTSCTS;
90.111 + options.c_cflag |= (CLOCAL | CREAD);
90.112 + options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
90.113 + options.c_iflag &= ~(IXON | IXOFF | IXANY);
90.114 + options.c_oflag &= ~OPOST;
90.115 + tcsetattr(fd, TCSANOW, &options);
90.116 +
90.117 + if (myconfig.debug || myconfig.verbosity > 0) print_help();
90.118 +
90.119 + while ( cin.get(key)) {
90.120 + switch(key) {
90.121 + case 'q':
90.122 + cout << "Exiting." << endl;
90.123 + return EXIT_SUCCESS;
90.124 + break;
90.125 + case 'u':
90.126 + cout << "Switching to unmanaged mode..." << endl;
90.127 + send_data(CMD_SET_MODE_UNMANAGED,(sizeof(CMD_SET_MODE_UNMANAGED)/sizeof(char)));
90.128 + break;
90.129 + case 'm':
90.130 + cout << "Switching to managed mode..." << endl;
90.131 + send_data(CMD_SET_MODE_MANAGED,(sizeof(CMD_SET_MODE_MANAGED)/sizeof(char)));
90.132 + break;
90.133 + case 'c':
90.134 + cout << "Sending Clear Display..." << endl;
90.135 + send_data(CMD_DISP_CLEAR_SCREEN,(sizeof(CMD_DISP_CLEAR_SCREEN)/sizeof(char)));
90.136 + break;
90.137 + case 'h':
90.138 + print_help();
90.139 + break;
90.140 + case 'j':
90.141 + print_cli_options();
90.142 + break;
90.143 + case '1':
90.144 + cout << "Display CG ROM charset..." << endl;
90.145 + send_data(TEST_STRING_1,(sizeof(TEST_STRING_1)/sizeof(char)));
90.146 + send_data(TEST_STRING_2,(sizeof(TEST_STRING_2)/sizeof(char)));
90.147 + send_data(TEST_STRING_3,(sizeof(TEST_STRING_3)/sizeof(char)));
90.148 + break;
90.149 + case '2':
90.150 + cout << "Filling the Display with CG ROM charset..." << endl;
90.151 + send_data(TEST_STRING_1,(sizeof(TEST_STRING_1)/sizeof(char)));
90.152 + send_data(TEST_STRING_2,(sizeof(TEST_STRING_2)/sizeof(char)));
90.153 + send_data(TEST_STRING_3,(sizeof(TEST_STRING_3)/sizeof(char)));
90.154 + send_data(TEST_STRING_4,(sizeof(TEST_STRING_4)/sizeof(char)));
90.155 + send_data(TEST_STRING_5,(sizeof(TEST_STRING_5)/sizeof(char)));
90.156 + break;
90.157 + case '3': {
90.158 + cout << "Sending Test String... one line per packet, 8 lines of 30 chars" << endl;
90.159 + for (int j = 0; j < 8; j++) {
90.160 + const unsigned char cmd[] = {0xAA,0x14,0x00,32,((j*30)),0x08,
90.161 + 16,17,18,19,20,21,22,23,24,25,
90.162 + 16,17,18,19,20,21,22,23,24,25,
90.163 + 16,17,18,19,20,21,22,23,24,25};
90.164 + send_data(cmd,(sizeof(cmd)/sizeof(char)));
90.165 + }
90.166 + }
90.167 + break;
90.168 + case '4':
90.169 + cout << "Sending Test String.. one char per packet,8 lines of 30 chars" << endl;
90.170 + for (int j = 0; j < 8; j++) {
90.171 + for (int k = 0; k < 30; k++) {
90.172 + const unsigned char cmd[] = {0xAA,0x14,0x00,3,k+(j*30),0x08,
90.173 + (16+k)};
90.174 + send_data(cmd,(sizeof(cmd)/sizeof(char)));
90.175 + }
90.176 + }
90.177 + break;
90.178 +
90.179 + case 'a':
90.180 + cout << "Set PWM1 0%..." << endl;
90.181 + CMD_SET_PWM1[4] = 0x00;
90.182 + send_data(CMD_SET_PWM1,(sizeof(CMD_SET_PWM1)/sizeof(char)));
90.183 + break;
90.184 + case 's':
90.185 + cout << "SetPWM1 25%..." << endl;
90.186 + CMD_SET_PWM1[4] = 0x40;
90.187 + send_data(CMD_SET_PWM1,(sizeof(CMD_SET_PWM1)/sizeof(char)));
90.188 + break;
90.189 + case 'd':
90.190 + cout << "Set PWM1 50%..." << endl;
90.191 + CMD_SET_PWM1[4] = 0x80;
90.192 + send_data(CMD_SET_PWM1,(sizeof(CMD_SET_PWM1)/sizeof(char)));
90.193 + break;
90.194 + case 'f':
90.195 + cout << "Set PWM1 75%..." << endl;
90.196 + CMD_SET_PWM1[4] = 0xC0;
90.197 + send_data(CMD_SET_PWM1,(sizeof(CMD_SET_PWM1)/sizeof(char)));
90.198 + break;
90.199 + case 'g':
90.200 + cout << "Set PWM1 100%..." << endl;
90.201 + CMD_SET_PWM1[4] = 0xFF;
90.202 + send_data(CMD_SET_PWM1,(sizeof(CMD_SET_PWM1)/sizeof(char)));
90.203 + break;
90.204 + case 'A':
90.205 + cout << "Set PWM2 0%..." << endl;
90.206 + CMD_SET_PWM2[4] = 0x00;
90.207 + send_data(CMD_SET_PWM2,(sizeof(CMD_SET_PWM2)/sizeof(char)));
90.208 + break;
90.209 + case 'S':
90.210 + cout << "SetPWM2 25%..." << endl;
90.211 + CMD_SET_PWM2[4] = 0x40;
90.212 + send_data(CMD_SET_PWM2,(sizeof(CMD_SET_PWM2)/sizeof(char)));
90.213 + break;
90.214 + case 'D':
90.215 + cout << "Set PWM2 50%..." << endl;
90.216 + CMD_SET_PWM2[4] = 0x80;
90.217 + send_data(CMD_SET_PWM2,(sizeof(CMD_SET_PWM2)/sizeof(char)));
90.218 + break;
90.219 + case 'F':
90.220 + cout << "Set PWM2 75%..." << endl;
90.221 + CMD_SET_PWM2[4] = 0xC0;
90.222 + send_data(CMD_SET_PWM2,(sizeof(CMD_SET_PWM2)/sizeof(char)));
90.223 + break;
90.224 + case 'G':
90.225 + cout << "Set PWM2 100%..." << endl;
90.226 + CMD_SET_PWM2[4] = 0xFF;
90.227 + send_data(CMD_SET_PWM2,(sizeof(CMD_SET_PWM2)/sizeof(char)));
90.228 + break;
90.229 + case 'T': {
90.230 + cout << "Setting pcf8583 clock memory..." << endl;
90.231 + time_t mytime = time(NULL);
90.232 + tm * myltime = localtime( &mytime);
90.233 + if (myconfig.debug || myconfig.verbosity > 0) cout << "Local Time is: " << myltime->tm_hour << ":" << myltime->tm_min << ":" << myltime->tm_sec << " " << myltime->tm_mday << "." << myltime->tm_mon+1 << endl;
90.234 + const unsigned char tcmd[] = {0xAA,0x41,0x00,0x10,
90.235 + 0x04,0x00,dec2bcd(myltime->tm_sec),dec2bcd(myltime->tm_min),dec2bcd(myltime->tm_hour),dec2bcd(myltime->tm_mday),
90.236 + (dec2bcd(myltime->tm_mon+1)),0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
90.237 + send_data(tcmd,(sizeof(tcmd)/sizeof(char)));
90.238 + }
90.239 + break;
90.240 + case 't' : {
90.241 + cout << "Dumping pcf8583 clock memory..." << endl;
90.242 + int oldverbosity = myconfig.verbosity;
90.243 + myflags.parse_return_clockram = true;
90.244 + if (myconfig.verbosity < 2) {
90.245 + myconfig.verbosity = 2;
90.246 + }
90.247 + send_data(CMD_GET_CLOCK_MEMORY,(sizeof(CMD_GET_CLOCK_MEMORY)/sizeof(char)));
90.248 + myconfig.verbosity = oldverbosity;
90.249 + myflags.parse_return_clockram = false;
90.250 + }
90.251 + break;
90.252 + case '5': {
90.253 + cout << "Showing test picture 1..."<< endl;
90.254 + write_gfx_ram( TEST_PICTURE_1,(sizeof(TEST_PICTURE_1)/sizeof(char)));
90.255 + }
90.256 + break;
90.257 + case '6': {
90.258 + cout << "Showing test picture 2 - horizontal lines..."<< endl;
90.259 + unsigned char mycmd[36] = {0xAA,0x14,0x00,0x20,0x00,0x00,
90.260 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
90.261 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
90.262 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
90.263 + } ;
90.264 + for (int i = 0; i <64;i+=2) {
90.265 + mycmd[5] = (i*30) / 256;
90.266 + mycmd[4] = (i*30) - (256 * mycmd[5]);
90.267 + send_data(mycmd, (sizeof(mycmd)/sizeof(char)));
90.268 + }
90.269 + }
90.270 + break;
90.271 + case '7': {
90.272 + cout << "Showing test picture 3 - vertical lines..."<< endl;
90.273 + unsigned char mycmd[36] = {0xAA,0x14,0x00,0x20,0x00,0x00,
90.274 + 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,
90.275 + 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,
90.276 + 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa
90.277 + } ;
90.278 + for (int i = 0; i <64;i++) {
90.279 + mycmd[5] = (i*30) / 256;
90.280 + mycmd[4] = (i*30) - (256 * mycmd[5]);
90.281 + send_data(mycmd, (sizeof(mycmd)/sizeof(char)));
90.282 + }
90.283 + }
90.284 + break;
90.285 + case '8': {
90.286 + cout << "Showing test picture 4...Boxes"<< endl;
90.287 + write_gfx_ram(TEST_PICTURE_2,(sizeof(TEST_PICTURE_2)/sizeof(char)));
90.288 + }
90.289 + break;
90.290 + case '9': {
90.291 + cout << "Showing test picture 5 - outline + center cross..."<< endl;
90.292 + unsigned char mycmd_1[36] = {0xAA,0x14,0x00,0x20,0x00,0x00,
90.293 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
90.294 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
90.295 + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
90.296 + } ;
90.297 + unsigned char mycmd_2[36] = {0xAA,0x14,0x00,0x20,0x00,0x00,
90.298 + 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
90.299 + 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
90.300 + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01
90.301 + } ;
90.302 + int i = 1;
90.303 + for (int j = 0;j<2;j++) {
90.304 + send_data(mycmd_1, (sizeof(mycmd_1)/sizeof(char)));
90.305 + for ( i = 1; i <31;i++) {
90.306 + mycmd_2[5] = ((i*30) + (j*960)) / 256;
90.307 + mycmd_2[4] = ((i*30) + (j*960)) - (256 * mycmd_2[5]);
90.308 + send_data(mycmd_2, (sizeof(mycmd_2)/sizeof(char)));
90.309 + }
90.310 + mycmd_1[5] = ((i*30) + (j*960)) / 256;
90.311 + mycmd_1[4] = ((i*30) + (j*960)) - (256 * mycmd_1[5]);
90.312 + }
90.313 + send_data(mycmd_1, (sizeof(mycmd_1)/sizeof(char)));
90.314 + }
90.315 + break;
90.316 +
90.317 + default:
90.318 + break;
90.319 + }
90.320 + sleep(1);
90.321 + if (key != 0x13 && key != '\n') cout << ">";
90.322 + }
90.323 + close(fd);
90.324 + return EXIT_SUCCESS;
90.325 +}
90.326 +
90.327 +unsigned char bitendian (unsigned char in)
90.328 +{
90.329 + unsigned char ret = 0x00;
90.330 + if (in & 0x01) ret+=0x80;
90.331 + if (in & 0x02) ret+=0x40;
90.332 + if (in & 0x04) ret+=0x20;
90.333 + if (in & 0x08) ret+=0x10;
90.334 + if (in & 0x10) ret+=0x08;
90.335 + if (in & 0x20) ret+=0x04;
90.336 + if (in & 0x40) ret+=0x02;
90.337 + if (in & 0x80) ret+=0x01;
90.338 +
90.339 + return (ret);
90.340 +}
90.341 +
90.342 +
90.343 +bool write_gfx_ram(const unsigned char * buffer, int numbytes) {
90.344 + if (numbytes > 1920) {
90.345 + cout << "Too much data for gfx RAM, ignoring..." << endl;
90.346 + return false;
90.347 + }
90.348 + int i = 0, offset = 6, memaddr = 0;
90.349 + bool all_sent = false;
90.350 + unsigned char mycmd[63] = {0xAA,0x14,0x00,0x02,0x00,0x00};
90.351 + while (i <numbytes) {
90.352 + all_sent = false;
90.353 + mycmd[offset] = bitendian(buffer[i]);
90.354 + i++;
90.355 + offset++;
90.356 + if (offset == 63) {
90.357 + mycmd[3] = 59;
90.358 + send_data(mycmd,63);
90.359 + memaddr += 57;
90.360 + mycmd[5] = (memaddr / 256);
90.361 + mycmd[4] = (memaddr - (mycmd[5]*256));
90.362 + offset = 6;
90.363 + all_sent = true;
90.364 + }
90.365 + }
90.366 + if (!all_sent) {
90.367 + mycmd[3] = (offset-4);
90.368 + send_data(mycmd,offset);
90.369 + }
90.370 + return true;
90.371 +}
90.372 +
90.373 +/*! \brief sends size bytes of buffer data to the display
90.374 +
90.375 +\warning send_data doesn't check if buffer really is numbytes big. Expect all kind of weirdness if abused.
90.376 +\param buffer pointer to a char buffer conatining the data
90.377 +\param numbytes Number of bytes in buffer
90.378 +*/
90.379 +bool send_data(const unsigned char * buffer, int numbytes) {
90.380 + if (numbytes > 64 ) {
90.381 + cout << "Buffer size exceeds 64 Bytes, send_data aborted." << endl;
90.382 + return false;
90.383 + }
90.384 + write(fd,buffer,numbytes);
90.385 + if (myconfig.debug || myconfig.verbosity > 0) cout << numbytes <<" bytes sent.";
90.386 + if (myconfig.debug || myconfig.verbosity > 1) {
90.387 + cout <<" Data: " << endl ;
90.388 + for ( int i = 0; i <numbytes; i++) {
90.389 + cout << " 0x" << ((int) buffer[i] < 10 ? "0" : "") << hex << (int) buffer[i] << dec;
90.390 + if (i > 0 && ((i-3)%8 ==0 || i == 3)) cout << endl;
90.391 + }
90.392 + }
90.393 + if (myconfig.debug || myconfig.verbosity > 0) cout << endl;
90.394 + usleep(100000);
90.395 + return true;
90.396 +}
90.397 +
90.398 +/*! \brief prints some help
90.399 +*/
90.400 +void print_help() {
90.401 + cout << endl;
90.402 + cout << "Usage:" << endl;
90.403 + cout << "u\tset unmanaged mode" << endl;
90.404 + cout << "m\tset managed mode" << endl;
90.405 + cout << endl;
90.406 + cout << "T\tset pcf8583 clock to system time" << endl;
90.407 + cout << "t\tdump pcf8583 clock memory" << endl;
90.408 + cout << endl;
90.409 + cout << "Set PWM:" << endl;
90.410 + cout << "PWM1\ta 0%\ts 25%\td 50%\tf 75%\tg 100%" << endl;
90.411 + cout << "PWM2\tA 0%\tS 25%\tD 50%\tF 75%\tG 100%" << endl;
90.412 + cout << endl;
90.413 + cout << "1\tshow ROM charset" << endl;
90.414 + cout << "2\tfill Text area with ROM charset" << endl;
90.415 + cout << "3\tfill Text area (8 lines / 30 chars, one line per packet)" << endl;
90.416 + cout << "4\tfill Text area (8 lines / 30 chars, one char per packet)" << endl;
90.417 + cout << endl;
90.418 + cout << "5\tshow test picture 1 (240x64px)" << endl;
90.419 + cout << "6\tshow test picture 2 - horizontal lines (240x64px)" << endl;
90.420 + cout << "7\tshow test picture 3 - vertical lines (240x64px)" << endl;
90.421 + cout << "8\tshow test picture 4 - Boxes (240x64px)" << endl;
90.422 + cout << "9\tshow test picture 5 - outline + center cross (240x64px)" << endl;
90.423 + cout << endl;
90.424 + cout << "c\tclear display" << endl;
90.425 + cout << endl;
90.426 + cout << "h\tprint this help" << endl;
90.427 + cout << "j\tprint command line options" << endl;
90.428 + cout << "q\tquit" << endl;
90.429 + cout << ">";
90.430 +}
90.431 +
90.432 +/*! \brief prints command line options
90.433 +*/
90.434 +void print_cli_options() {
90.435 + cout << endl
90.436 + << " Command line options:\n"
90.437 + << endl;
90.438 + cout << "d DEVICE\n"
90.439 + << "\tSets the display device to DEVICE, default value is /dev/ttyACM0\n"
90.440 + << "\tExample:\n"
90.441 + << "\tpicctldisplaytest d /dev/ttyACM0\n"
90.442 + << endl;
90.443 + cout << "v VERBOSITY\n"
90.444 + << "\tSets verbosity to level VERBOSITY ( Range: 0-2, default 0 )\n"
90.445 + << "\tExample:\n"
90.446 + << "\tpicctldisplaytest v 1\n"
90.447 + << endl;
90.448 + cout << "D\n"
90.449 + << "\tRun in debugging mode (aka. very verbose)\n"
90.450 + << "\tExample:\n"
90.451 + << "\tpicctldisplaytest D\n"
90.452 + << endl;
90.453 + cout << "Combining command line options\n"
90.454 + << "\tAll command line options can be combined (though some combinations might not prove useful).\n"
90.455 + << "\tExample:\n"
90.456 + << "\tpicctldisplaytest D d /dev/ttyACM0\n"
90.457 + << endl;
90.458 +}
90.459 +
90.460 +/*! \brief encodes an integer to a BCD value
90.461 + */
90.462 +int dec2bcd(int decimal) {
90.463 + return (decimal > 99 ? false : ((decimal/10)<<4)+(decimal%10));
90.464 +}
90.465 +
90.466 +/*! \brief decodes a BCD value and returns it as integer
90.467 + */
90.468 +int bcd2dec(int bcd) {
90.469 + return (((bcd>>4)*10)+bcd%16);
90.470 +}
90.471 +
90.472 +/*! \brief handles SIGIO
90.473 + */
90.474 +void signal_handler_IO (int status) {
90.475 +
90.476 + unsigned char buf[255];
90.477 + int res = read(fd,buf,255);
90.478 +
90.479 + if (myconfig.debug || myconfig.verbosity > 0) {
90.480 + //cout << "Received Data\n";
90.481 + if (buf[0] == 0x55) {
90.482 + switch (buf[1]) {
90.483 + case 0x01:
90.484 + cout << "Received an ACK packet, payload: " << (int) buf[3] << " bytes." << endl;
90.485 + break;
90.486 + case 0x02:
90.487 + cout << "Received a NACK packet." << endl;
90.488 + break;
90.489 + case 0xFF:
90.490 + cout << "Received COMMAND NOT IMPLEMENTED." << endl;
90.491 + break;
90.492 + case 0x10:
90.493 + cout << "Received IR/Key data." << endl;
90.494 + break;
90.495 + default:
90.496 + cout <<"Unknown Response code 0x" << hex << buf[1] << endl;
90.497 + break;
90.498 + }
90.499 + }
90.500 +
90.501 + }
90.502 + if (myflags.parse_return_clockram || myconfig.debug || myconfig.verbosity > 1) {
90.503 + for (int i=0; i<res; i++) {
90.504 + cout << "0x" << ((int) buf[i] < 10 ? "0" : "") << hex << (int) buf[i] << " ";
90.505 + if (myflags.parse_return_clockram && i > 3) {
90.506 + switch (i) {
90.507 + case 4:
90.508 + cout << "(ctrl: " << dec << bcd2dec((int) buf[i]) << ") ";
90.509 + break;
90.510 + case 5:
90.511 + cout << "(1/100s: " << dec << bcd2dec((int) buf[i]) << ") ";
90.512 + break;
90.513 + case 6:
90.514 + cout << "(sec: " << dec << bcd2dec((int) buf[i]) << ") ";
90.515 + break;
90.516 + case 7:
90.517 + cout << "(min: " << dec << bcd2dec((int) buf[i]) << ") ";
90.518 + break;
90.519 + case 8:
90.520 + cout << "(hours: " << dec << bcd2dec((int) buf[i]) << ") ";
90.521 + break;
90.522 + case 9:
90.523 + cout << "(year/date: " << dec << bcd2dec((int) buf[i]) << ") ";
90.524 + break;
90.525 + case 10:
90.526 + cout << "(wday/month: " << dec << bcd2dec((int) buf[i]) << ") ";
90.527 + break;
90.528 + case 11:
90.529 + cout << "(timer day: " << dec << bcd2dec((int) buf[i]) << ") ";
90.530 + break;
90.531 + case 12:
90.532 + cout << "(alarm ctrl: " << dec << bcd2dec((int) buf[i]) << ") ";
90.533 + break;
90.534 + default:
90.535 + cout << "(bcd2int: " << dec << bcd2dec((int) buf[i]) << ") ";
90.536 + break;
90.537 + }
90.538 + }
90.539 + if (i == 3 || (i+3)%8==0) cout << endl;
90.540 + }
90.541 + cout << endl;
90.542 + }
90.543 + if (myconfig.debug || myconfig.verbosity > 0) cout << dec << res << " bytes received.\n";
90.544 +}
91.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
91.2 +++ b/tools/picctldisplaytest/src/picctldisplaytest.h Tue Jan 29 22:31:52 2008 +0100
91.3 @@ -0,0 +1,454 @@
91.4 +#ifndef PICCTLDISPLAYTEST_H
91.5 +#define PICCTLDISPLAYTEST_H
91.6 +/***************************************************************************
91.7 + * Copyright (C) 2008 by Peter Marquardt *
91.8 + * p_marquardt@users.sourceforge.net *
91.9 + * code base Copyright (C) 2007 by Carsten Presser *
91.10 + * *
91.11 + * This program is free software; you can redistribute it and/or modify *
91.12 + * it under the terms of the GNU General Public License as published by *
91.13 + * the Free Software Foundation; either version 2 of the License, or *
91.14 + * (at your option) any later version. *
91.15 + * *
91.16 + * This program is distributed in the hope that it will be useful, *
91.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of *
91.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
91.19 + * GNU General Public License for more details. *
91.20 + * *
91.21 + * You should have received a copy of the GNU General Public License *
91.22 + * along with this program; if not, write to the *
91.23 + * Free Software Foundation, Inc., *
91.24 + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
91.25 + ***************************************************************************/
91.26 +
91.27 +/*! \file picctldisplaytest.h
91.28 +\brief Header file for picctldisplaytest
91.29 +\author Peter Marquardt p_marquardt@users.sourceforge.net
91.30 +\author Carsten Presser
91.31 +*/
91.32 +
91.33 +bool send_data(const unsigned char * buffer, int numbytes);
91.34 +void print_help();
91.35 +void print_cli_options();
91.36 +int dec2bcd(int decimal);
91.37 +int bcd2dec(int bcd);
91.38 +void signal_handler_IO (int status);
91.39 +bool write_gfx_ram(const unsigned char * buffer, int numbytes);
91.40 +
91.41 +static const unsigned char CMD_DISP_CLEAR_SCREEN[] = {0xAA,0x10,0x00,0x00};
91.42 +static const unsigned char CMD_SET_MODE_MANAGED[] = {0xAA,0x70,0x00,0x00};
91.43 +static const unsigned char CMD_SET_MODE_UNMANAGED[] = {0xAA,0x71,0x00,0x00};
91.44 +static const unsigned char CMD_GET_CLOCK_MEMORY[] = {0xAA,0x40,0x00,0x00};
91.45 +static unsigned char CMD_SET_PWM1[] = {0xAA,0x45,0x00,0x01,0x00};
91.46 +static unsigned char CMD_SET_PWM2[] = {0xAA,0x46,0x00,0x01,0x00};
91.47 +#define BAUDRATE B921600
91.48 +
91.49 +/*! \brief configuration set by command line */
91.50 +struct config {
91.51 + bool debug;
91.52 + int verbosity;
91.53 + char * modem_device;
91.54 +};
91.55 +
91.56 +/*! \brief configuration set during runtime */
91.57 +struct runtime_flags {
91.58 + bool parse_return_clockram;
91.59 +};
91.60 +
91.61 +/*! \brief char table display, showing almost the lower half of the display charset
91.62 +
91.63 +TEST_STRING_1 contains the command to show the first 57 characters from the
91.64 +display rom charset. It starts with a space in the upper left corner (0x0800),
91.65 + */
91.66 +static const unsigned char TEST_STRING_1[] = {0xAA,0x14,0x00,59,0x00,0x08,
91.67 + 0,1,2,3,4,5,6,7,8,9,
91.68 + 10,11,12,13,14,15,16,17,18,19,
91.69 + 20,21,22,23,24,25,26,27,28,29,
91.70 + 30,31,32,33,34,35,36,37,38,39,
91.71 + 40,41,42,43,44,45,46,47,48,49,
91.72 + 50,51,52,53,54,55,56
91.73 +};
91.74 +
91.75 +/*! \brief char table display, showing almost all characters not in TEST_STRING_1
91.76 +
91.77 +TEST_STRING_2 contains the command to show characters 58 to 114 from the
91.78 +display rom charset. The characters are displayed from adress 0x0839 upwards
91.79 +adjacent to TEST_STRING_1.
91.80 + */
91.81 +static const unsigned char TEST_STRING_2[] = {0xAA,0x14,0x00,59,0x39,0x08,
91.82 + 57,58,59,
91.83 + 60,61,62,63,64,65,66,67,68,69,
91.84 + 70,71,72,73,74,75,76,77,78,79,
91.85 + 80,81,82,83,84,85,86,87,88,89,
91.86 + 90,91,92,93,94,95,96,97,98,99,
91.87 + 100,101,102,103,104,105,106,107,108,109,
91.88 + 110,111,112,113
91.89 +};
91.90 +
91.91 +/*! \brief char table display,showing the remaining 14 characters of the display rom charset
91.92 +TEST_STRING_3 contains the command to show characters 114 to 127 from the
91.93 +display rom charset. The characters are displayed from adress 0x0868 upwards
91.94 +adjacent to TEST_STRING_2.
91.95 + */
91.96 +static const unsigned char TEST_STRING_3[] = {0xAA,0x14,0x00,16,0x72,0x08,
91.97 + 114,115,116,117,118,119,120,121,122,123,
91.98 + 124,125,126,127
91.99 +};
91.100 +
91.101 +/*! \brief char table display, showing almost the lower half of the display charset
91.102 +
91.103 +TEST_STRING_4 contains the command to show the first 57 characters from the
91.104 +display rom charset. It starts with a space adjacent to TEST_STRING_3 (0x0880),
91.105 + */
91.106 + static const unsigned char TEST_STRING_4[] = {0xAA,0x14,0x00,59,0x80,0x08,
91.107 + 0,1,2,3,4,5,6,7,8,9,
91.108 + 10,11,12,13,14,15,16,17,18,19,
91.109 + 20,21,22,23,24,25,26,27,28,29,
91.110 + 30,31,32,33,34,35,36,37,38,39,
91.111 + 40,41,42,43,44,45,46,47,48,49,
91.112 + 50,51,52,53,54,55,56
91.113 + };
91.114 +
91.115 +/*! \brief char table display, showing almost all characters not in TEST_STRING_1
91.116 +
91.117 + TEST_STRING_5 contains the command to show characters 58 to 112 from the
91.118 + display rom charset. The characters are displayed from adress 0x08B9 upwards
91.119 + adjacent to TEST_STRING_4.
91.120 + */
91.121 +static const unsigned char TEST_STRING_5[] = {0xAA,0x14,0x00,57,0xB9,0x08,
91.122 + 57,58,59,
91.123 + 60,61,62,63,64,65,66,67,68,69,
91.124 + 70,71,72,73,74,75,76,77,78,79,
91.125 + 80,81,82,83,84,85,86,87,88,89,
91.126 + 90,91,92,93,94,95,96,97,98,99,
91.127 + 100,101,102,103,104,105,106,107,108,109,
91.128 + 110,111
91.129 +};
91.130 +
91.131 +/*! \brief a test picture, 240x64px in XBIM-Format
91.132 +*/
91.133 +static const unsigned char TEST_PICTURE_1[] = {
91.134 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.135 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.136 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.137 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.138 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.139 + 0xfd, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.140 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.141 + 0x00, 0x00, 0x00, 0x00, 0xc0, 0xbf, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00,
91.142 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.143 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0,
91.144 + 0xf5, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.145 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.146 + 0x00, 0x00, 0x00, 0x00, 0xc0, 0xaf, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00,
91.147 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.148 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa8,
91.149 + 0xd5, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.150 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.151 + 0x00, 0x00, 0x00, 0x00, 0xc0, 0xab, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00,
91.152 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.153 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa,
91.154 + 0x55, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.155 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.156 + 0x00, 0x00, 0x00, 0x00, 0xc0, 0xaa, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00,
91.157 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.158 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xaa,
91.159 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.160 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.161 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.162 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.163 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.164 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.165 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.166 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.167 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.168 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.169 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.170 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.171 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.172 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.173 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.174 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.175 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.176 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.177 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.178 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.179 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.180 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.181 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.182 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.183 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.184 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00,
91.185 + 0x07, 0x98, 0x01, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.186 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.187 + 0x00, 0x00, 0x60, 0x00, 0x00, 0x18, 0x06, 0x98, 0x01, 0x00, 0xc0, 0x00,
91.188 + 0x00, 0x60, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.189 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18,
91.190 + 0x06, 0x18, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x60, 0x00, 0x00, 0x0c, 0x00,
91.191 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.192 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x06, 0x18, 0x00, 0x00, 0xc0, 0x00,
91.193 + 0x00, 0x60, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.194 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x73, 0xe0, 0xe0, 0x7c,
91.195 + 0x06, 0xdf, 0xe1, 0xb7, 0xc3, 0xf0, 0x18, 0xf6, 0xf1, 0xf8, 0x3e, 0x00,
91.196 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.197 + 0x00, 0x70, 0x66, 0x08, 0x09, 0x19, 0x46, 0x98, 0x31, 0x76, 0xc6, 0xc8,
91.198 + 0x18, 0x62, 0x88, 0x8d, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.199 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x6c, 0x0c, 0x0c, 0x18,
91.200 + 0x66, 0x98, 0x31, 0x30, 0xcc, 0x80, 0x11, 0x60, 0x8c, 0x0d, 0x0c, 0x00,
91.201 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.202 + 0x00, 0x30, 0x6c, 0x0c, 0x0c, 0x18, 0x66, 0x98, 0xf1, 0x31, 0xcc, 0xf0,
91.203 + 0x31, 0x61, 0xfc, 0x7d, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.204 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x6c, 0x0c, 0x0c, 0x18,
91.205 + 0x66, 0x98, 0x81, 0x33, 0xcc, 0x88, 0x21, 0x61, 0x0c, 0xe0, 0x0c, 0x00,
91.206 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.207 + 0x00, 0x30, 0x64, 0x0c, 0x0c, 0x18, 0x66, 0x98, 0x11, 0x36, 0xc4, 0x8c,
91.208 + 0xe1, 0x60, 0x0c, 0x84, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.209 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x62, 0x18, 0x18, 0x18,
91.210 + 0xc6, 0x98, 0x31, 0x32, 0xc2, 0xcc, 0xe1, 0x60, 0x18, 0x8c, 0x0c, 0x00,
91.211 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.212 + 0x00, 0xf0, 0xf1, 0xf0, 0xf0, 0x30, 0x8f, 0xfb, 0xf3, 0xf1, 0xe1, 0x99,
91.213 + 0x41, 0xc0, 0xf0, 0x7c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.214 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
91.215 + 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
91.216 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.217 + 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
91.218 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.219 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
91.220 + 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00,
91.221 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.222 + 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
91.223 + 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.224 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x00,
91.225 + 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00,
91.226 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.227 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.228 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.229 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.230 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.231 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.232 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.233 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.234 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.235 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.236 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.237 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.238 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.239 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.240 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.241 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.242 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.243 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.244 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.245 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.246 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.247 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.248 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.249 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.250 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.251 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.252 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.253 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.254 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.255 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.256 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.257 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.258 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.259 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.260 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.261 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.262 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.263 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.264 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.265 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.266 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.267 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.268 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.269 + 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.270 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.271 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xaa, 0x55, 0x03, 0x00, 0x00, 0x00, 0x00,
91.272 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.273 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xaa,
91.274 + 0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.275 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.276 + 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa, 0xd5, 0x03, 0x00, 0x00, 0x00, 0x00,
91.277 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.278 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xab,
91.279 + 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.280 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.281 + 0x00, 0x00, 0x00, 0x00, 0x00, 0xa8, 0xf5, 0x03, 0x00, 0x00, 0x00, 0x00,
91.282 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.283 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xaf,
91.284 + 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.285 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.286 + 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0xfd, 0x03, 0x00, 0x00, 0x00, 0x00,
91.287 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.288 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xbf,
91.289 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.290 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91.291 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.292 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.293 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
91.294 +
91.295 + static unsigned char TEST_PICTURE_2[] = {
91.296 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.297 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.298 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.299 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.300 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.301 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.302 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.303 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.304 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.305 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.306 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.307 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.308 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.309 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.310 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.311 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.312 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.313 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.314 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.315 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.316 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.317 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.318 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.319 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.320 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.321 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.322 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.323 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.324 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.325 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.326 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.327 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.328 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.329 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.330 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.331 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.332 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.333 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.334 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.335 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.336 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.337 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.338 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.339 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.340 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.341 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.342 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.343 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.344 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.345 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.346 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.347 + 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.348 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.349 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00,
91.350 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.351 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.352 + 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.353 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.354 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00,
91.355 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.356 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.357 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.358 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.359 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.360 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.361 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.362 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.363 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.364 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.365 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.366 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.367 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.368 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.369 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.370 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.371 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.372 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.373 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.374 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.375 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.376 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.377 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.378 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.379 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.380 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.381 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.382 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.383 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.384 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.385 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.386 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.387 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.388 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.389 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00,
91.390 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.391 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.392 + 0x00, 0xe0, 0x01, 0x01, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.393 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.394 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00,
91.395 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.396 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.397 + 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.398 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.399 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00,
91.400 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.401 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.402 + 0x00, 0xe0, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.403 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.404 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.405 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.406 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.407 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.408 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.409 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.410 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.411 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.412 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.413 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.414 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.415 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.416 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.417 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.418 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.419 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.420 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.421 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.422 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.423 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.424 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.425 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.426 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.427 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.428 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
91.429 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.430 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
91.431 + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.432 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.433 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.434 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.435 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.436 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.437 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.438 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.439 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.440 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.441 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.442 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.443 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.444 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.445 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.446 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.447 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.448 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
91.449 + 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
91.450 + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff,
91.451 + 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
91.452 + 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00,
91.453 + 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.454 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
91.455 + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
91.456 +
91.457 +#endif // PICCTLDISPLAYTEST_H
92.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
92.2 +++ b/tools/picctldisplaytest/templates/cpp Tue Jan 29 22:31:52 2008 +0100
92.3 @@ -0,0 +1,26 @@
92.4 +/***************************************************************************
92.5 + * Copyright (C) 2008 by Peter Marquardt *
92.6 + * p_marquardt@users.sourceforge.net *
92.7 + * *
92.8 + * This program is free software; you can redistribute it and/or modify *
92.9 + * it under the terms of the GNU General Public License as published by *
92.10 + * the Free Software Foundation; either version 2 of the License, or *
92.11 + * (at your option) any later version. *
92.12 + * *
92.13 + * This program is distributed in the hope that it will be useful, *
92.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of *
92.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
92.16 + * GNU General Public License for more details. *
92.17 + * *
92.18 + * You should have received a copy of the GNU General Public License *
92.19 + * along with this program; if not, write to the *
92.20 + * Free Software Foundation, Inc., *
92.21 + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
92.22 + ***************************************************************************/
92.23 +
92.24 +/*! \file $FILENAME$
92.25 +\file $FILE$
92.26 +
92.27 +\brief
92.28 +
92.29 +*/
93.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
93.2 +++ b/tools/picctldisplaytest/templates/h Tue Jan 29 22:31:52 2008 +0100
93.3 @@ -0,0 +1,26 @@
93.4 +/***************************************************************************
93.5 + * Copyright (C) 2008 by Peter Marquardt *
93.6 + * p_marquardt@users.sourceforge.net *
93.7 + * *
93.8 + * This program is free software; you can redistribute it and/or modify *
93.9 + * it under the terms of the GNU General Public License as published by *
93.10 + * the Free Software Foundation; either version 2 of the License, or *
93.11 + * (at your option) any later version. *
93.12 + * *
93.13 + * This program is distributed in the hope that it will be useful, *
93.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of *
93.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
93.16 + * GNU General Public License for more details. *
93.17 + * *
93.18 + * You should have received a copy of the GNU General Public License *
93.19 + * along with this program; if not, write to the *
93.20 + * Free Software Foundation, Inc., *
93.21 + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
93.22 + ***************************************************************************/
93.23 +
93.24 +/*! \file $FILENAME$
93.25 +\file $FILE$
93.26 +
93.27 +\brief
93.28 +
93.29 +*/