>
diff --git a/library/ecasound/Documentation/ecalength_manpage.html b/library/ecasound/Documentation/ecalength_manpage.html
deleted file mode 100644
index d765a3534..000000000
--- a/library/ecasound/Documentation/ecalength_manpage.html
+++ /dev/null
@@ -1,95 +0,0 @@
-
-ecalength
-
-
-
-
-ecalength
-18.04.2004
-
-
-
-
-
-
-
-
-
-ecalength(1)
-
-
-
-
-ecalength(1)
- Multimedia software
-18.04.2004
-
-
-
-
NAME ecalength - prints audio file lenght and other information
-
-
SYNOPSIS
- ecalength [-ahtsfmbcr] FILE1 [FILE2] [FILEn]
-
-
DESCRIPTION
-
-This is ecalength, a few lines of code pompously named so because they
-let one retrieve the length of an audio file from the command line
-using ecasound's engine.
-
-Limitations:
-
-
- With files without header information (raw files), ecalength will only work
- correctly if the audio file is at a sampling rate of 44100 hz.
- (Addressed with the -a switch.)
-
- It is not foolproof, feeding it with something other than an audio
- file WILL result in ugly things being spewed back.
- (A bit better)
-
- A thousand more that I haven't thought of.
-
-
-
OPTIONS
-
-
-
-h
-Prints this usage message. (help)
-
-
-a[:]bits,channels,rate
-Changes the format assumed by default for headerless data. (adjust)
-
-
-t
-Prints the summed length of all the files processed. (total)
-(Ignored if with -s)
-
-
-s
-Enables script mode: One info type per file per line. (script)
-(Defaults to length in secs.)
-
-
-f
-With -s will return the format string as info, alone it will
-add it to the main display. (format)
-
-
-b
-If -s and -f are enabled with this the info printed will be
-the sample's bitwidth. (bits)
-
-
-c
-If -s and -f are enabled with this the info printed will be
-the channel count. (channel count)
-
-
-r
-If -s and -f are enabled with this the info printed will be
-the sampling rate. (rate)
-
-
-m
-Will print human computable time as in main display but in
-batch fashion. (minutes) (Only with -s)
-
-
-
SEE ALSO
-
-ecasound(1), ecatools(1)
-
-
AUTHOR
-
-S.Massy, <observer |at| colba.net >
diff --git a/library/ecasound/Documentation/ecamonitor.1 b/library/ecasound/Documentation/ecamonitor.1
deleted file mode 100644
index 824dc5713..000000000
--- a/library/ecasound/Documentation/ecamonitor.1
+++ /dev/null
@@ -1,220 +0,0 @@
-.TH "ecatools" "1" "12\&.11\&.2005" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecatools \- audio processing utils based on ecasound
-.PP
-.SH "SYNOPSIS"
-\fBecaconvert\fP \&.extension file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecafixdc\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecalength\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecamonitor\fP [host][:port]
-.PP
-\fBecanormalize\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecaplay\fP [-dfhklopq] [ file1 file2 \&.\&.\&. fileN ]
-.PP
-\fBecasignalview\fP [ options ] [ input ] [ output ]
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecatools are simple command line utils for audio file processing\&.
-Each tool is designed to perform one specific operation\&. Most of
-the tools also support batch processing\&.
-.PP
-\fBECACONVERT\fP
-.PP
-A tool for converting a set of files to a common target format\&.
-This target format is given as the first command line
-argument, and its syntax is \fI\&.ext\fP\&.
-.PP
-\fBECAFIXDC\fP
-.PP
-A simple command-line tool for fixing DC-offset\&.
-.PP
-\fBECALENGTH\fP
-.PP
-See the separate ecalength(1) man page\&.
-.PP
-\fBECAMONITOR\fP
-.PP
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session\&. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things\&.
-.PP
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868"\&.
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo\&.mynetwork\&.com" or
-"ecamonitor foo\&.mynetwork\&.com:4500"\&.
-.PP
-To enable inbound connections, ecasound has to be
-started with the \fI--daemon\fP option\&. Ecamonitor is
-implemented in Python using the NetECI API\&.
-.PP
-\fBECANORMALIZE\fP
-.PP
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution\&. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file\&.
-.PP
-\fBECAPLAY\fP
-.PP
-Ecaplay is a command-line tool for playing audio files\&. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library\&.
-.PP
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism\&. In playlist mode, files can be added to the playlist
-using the \fI-q\fP option\&. The \fI-p\fP option can then be used
-to play all tracks on the playlist\&. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C)\&.
-Playlist can be flushed with \fI-f\fP and its contents listed
-with \fI-l\fP option\&.
-.PP
-If not otherwise specified, ecaplay will use the audio output device
-specified in \fI~/\&.ecasound/ecasoundrc\fP for playback\&. A different
-output device can be selected with \fIECAPLAY_OUTPUT_DEVICE\fP shell
-environment variable or with the \fI-o:output_device\fP command-line
-option\&.
-.PP
-Playback can be stopped at any time with Ctrl-C\&. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one\&. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit\&.
-.PP
-.IP "-d:debuglevel"
-Set libecasound debug level\&. See ecasound(1)\&.
-.IP
-.IP "-f"
-Flush the playlist contents\&. See also
-options \fI-l, -p and -q\fP\&.
-.IP
-.IP "-h"
-Print usage information and exit\&.
-.IP
-.IP "-k:number"
-Skip \&'number\&' of files\&.
-.IP
-.IP "-l"
-List the current playlist contents to stdout\&. See also
-options \fI-f, -p and -q\fP\&.
-.IP
-.IP "-o:output_device"
-Use \&'output_device\&' instead of the default output device
-(as specified in \fI~/\&.ecasound/ecasoundrc\fP)\&. Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page)\&.
-This option overrides the \fIECAPLAY_OUTPUT_DEVICE\fP environment
-variable (more info below)\&.
-.IP
-.IP "-p"
-Play tracks in the playlist (in looped mode)\&. See also
-options \fI-f, -l and -q\fP\&.
-.IP
-.IP "-q"
-Queue new tracks to the playlist\&. All filenames given on
-the command-line will be added to the the playlist\&. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist\&. See also options \fI-f, -l
-and -p\fP\&.
-.IP
-\fBECASIGNALVIEW\fP
-.PP
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics\&. It accepts the following options:
-.PP
-.IP "input"
-The first option not starting with a \&'-\&' is interpreted
-as an input string\&. This can be a device or a filename\&. All formats
-supported by libecasound are accepted\&. Defaults to \&'/dev/dsp\&'\&.
-.IP
-.IP "output"
-Similarly to input, second option not starting with a \&'-\&'
-is interpreted as output\&. Defaults to \&'null\&'\&.
-.IP
-.IP "-b:buffersize"
-Buffersize in sample frames\&. Defaults to 128\&.
-.IP
-.IP "-c"
-Enable cumulative mode\&. Counters are not reseted after refresh\&.
-\fI*deprecated*\fP
-.IP
-.IP "-d"
-Enable debug mode\&.
-.IP
-.IP "-f:format_string"
-Specify default audio format\&. See ecasound(1) for details\&.
-.IP
-.IP "-r:rate_msec"
-Specify screen refresh rate in milliseconds\&.
-.IP
-.IP "-I"
-Use linear scale for showing audio sample amplitude\&.
-.IP
-.IP "-L"
-Use logarithmic scale for showing audio sample amplitude\&.
-.IP
-.IP "-G, -B, -M*, -r, -z"
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details\&.
-.IP
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-.PP
-.IP "spacebar"
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count)\&.
-.IP
-.IP "q or Q or Esc"
-Quit ecasignalview\&.
-.IP
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i\&.e\&.
-from another console: "killall -v -HUP ecasignalview")\&.
-.PP
-More complete documentation for ecasignalview can be found
-from "Ecasound User\&'s Guide" (see \&'\&'http://www\&.eca\&.cx/ecasound
--> Documentation\&'\&')\&.
-.PP
-.SH "ENVIRONMENT"
-
-.PP
-\fIECASOUND\fP
-Path to the ecasound executable\&. Used by many ecatools\&.
-.PP
-\fIECAPLAY_OUTPUT_DEVICE\fP
-Device ecaplay should use for audio output\&. Same syntax
-as for ecaplay/ecasound "-o" option\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound/ecasoundrc\fP
-The default ecasound resource file\&. See ecasoundrc(5)
-for details\&.
-.PP
-\fI~/\&.ecasound/ecaplay_queue\fP
-File used to store the ecaplay playlist (one track per
-line with full path)\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecanormalize.1 b/library/ecasound/Documentation/ecanormalize.1
deleted file mode 100644
index 824dc5713..000000000
--- a/library/ecasound/Documentation/ecanormalize.1
+++ /dev/null
@@ -1,220 +0,0 @@
-.TH "ecatools" "1" "12\&.11\&.2005" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecatools \- audio processing utils based on ecasound
-.PP
-.SH "SYNOPSIS"
-\fBecaconvert\fP \&.extension file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecafixdc\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecalength\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecamonitor\fP [host][:port]
-.PP
-\fBecanormalize\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecaplay\fP [-dfhklopq] [ file1 file2 \&.\&.\&. fileN ]
-.PP
-\fBecasignalview\fP [ options ] [ input ] [ output ]
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecatools are simple command line utils for audio file processing\&.
-Each tool is designed to perform one specific operation\&. Most of
-the tools also support batch processing\&.
-.PP
-\fBECACONVERT\fP
-.PP
-A tool for converting a set of files to a common target format\&.
-This target format is given as the first command line
-argument, and its syntax is \fI\&.ext\fP\&.
-.PP
-\fBECAFIXDC\fP
-.PP
-A simple command-line tool for fixing DC-offset\&.
-.PP
-\fBECALENGTH\fP
-.PP
-See the separate ecalength(1) man page\&.
-.PP
-\fBECAMONITOR\fP
-.PP
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session\&. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things\&.
-.PP
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868"\&.
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo\&.mynetwork\&.com" or
-"ecamonitor foo\&.mynetwork\&.com:4500"\&.
-.PP
-To enable inbound connections, ecasound has to be
-started with the \fI--daemon\fP option\&. Ecamonitor is
-implemented in Python using the NetECI API\&.
-.PP
-\fBECANORMALIZE\fP
-.PP
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution\&. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file\&.
-.PP
-\fBECAPLAY\fP
-.PP
-Ecaplay is a command-line tool for playing audio files\&. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library\&.
-.PP
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism\&. In playlist mode, files can be added to the playlist
-using the \fI-q\fP option\&. The \fI-p\fP option can then be used
-to play all tracks on the playlist\&. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C)\&.
-Playlist can be flushed with \fI-f\fP and its contents listed
-with \fI-l\fP option\&.
-.PP
-If not otherwise specified, ecaplay will use the audio output device
-specified in \fI~/\&.ecasound/ecasoundrc\fP for playback\&. A different
-output device can be selected with \fIECAPLAY_OUTPUT_DEVICE\fP shell
-environment variable or with the \fI-o:output_device\fP command-line
-option\&.
-.PP
-Playback can be stopped at any time with Ctrl-C\&. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one\&. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit\&.
-.PP
-.IP "-d:debuglevel"
-Set libecasound debug level\&. See ecasound(1)\&.
-.IP
-.IP "-f"
-Flush the playlist contents\&. See also
-options \fI-l, -p and -q\fP\&.
-.IP
-.IP "-h"
-Print usage information and exit\&.
-.IP
-.IP "-k:number"
-Skip \&'number\&' of files\&.
-.IP
-.IP "-l"
-List the current playlist contents to stdout\&. See also
-options \fI-f, -p and -q\fP\&.
-.IP
-.IP "-o:output_device"
-Use \&'output_device\&' instead of the default output device
-(as specified in \fI~/\&.ecasound/ecasoundrc\fP)\&. Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page)\&.
-This option overrides the \fIECAPLAY_OUTPUT_DEVICE\fP environment
-variable (more info below)\&.
-.IP
-.IP "-p"
-Play tracks in the playlist (in looped mode)\&. See also
-options \fI-f, -l and -q\fP\&.
-.IP
-.IP "-q"
-Queue new tracks to the playlist\&. All filenames given on
-the command-line will be added to the the playlist\&. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist\&. See also options \fI-f, -l
-and -p\fP\&.
-.IP
-\fBECASIGNALVIEW\fP
-.PP
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics\&. It accepts the following options:
-.PP
-.IP "input"
-The first option not starting with a \&'-\&' is interpreted
-as an input string\&. This can be a device or a filename\&. All formats
-supported by libecasound are accepted\&. Defaults to \&'/dev/dsp\&'\&.
-.IP
-.IP "output"
-Similarly to input, second option not starting with a \&'-\&'
-is interpreted as output\&. Defaults to \&'null\&'\&.
-.IP
-.IP "-b:buffersize"
-Buffersize in sample frames\&. Defaults to 128\&.
-.IP
-.IP "-c"
-Enable cumulative mode\&. Counters are not reseted after refresh\&.
-\fI*deprecated*\fP
-.IP
-.IP "-d"
-Enable debug mode\&.
-.IP
-.IP "-f:format_string"
-Specify default audio format\&. See ecasound(1) for details\&.
-.IP
-.IP "-r:rate_msec"
-Specify screen refresh rate in milliseconds\&.
-.IP
-.IP "-I"
-Use linear scale for showing audio sample amplitude\&.
-.IP
-.IP "-L"
-Use logarithmic scale for showing audio sample amplitude\&.
-.IP
-.IP "-G, -B, -M*, -r, -z"
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details\&.
-.IP
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-.PP
-.IP "spacebar"
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count)\&.
-.IP
-.IP "q or Q or Esc"
-Quit ecasignalview\&.
-.IP
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i\&.e\&.
-from another console: "killall -v -HUP ecasignalview")\&.
-.PP
-More complete documentation for ecasignalview can be found
-from "Ecasound User\&'s Guide" (see \&'\&'http://www\&.eca\&.cx/ecasound
--> Documentation\&'\&')\&.
-.PP
-.SH "ENVIRONMENT"
-
-.PP
-\fIECASOUND\fP
-Path to the ecasound executable\&. Used by many ecatools\&.
-.PP
-\fIECAPLAY_OUTPUT_DEVICE\fP
-Device ecaplay should use for audio output\&. Same syntax
-as for ecaplay/ecasound "-o" option\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound/ecasoundrc\fP
-The default ecasound resource file\&. See ecasoundrc(5)
-for details\&.
-.PP
-\fI~/\&.ecasound/ecaplay_queue\fP
-File used to store the ecaplay playlist (one track per
-line with full path)\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecaplay.1 b/library/ecasound/Documentation/ecaplay.1
deleted file mode 100644
index 824dc5713..000000000
--- a/library/ecasound/Documentation/ecaplay.1
+++ /dev/null
@@ -1,220 +0,0 @@
-.TH "ecatools" "1" "12\&.11\&.2005" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecatools \- audio processing utils based on ecasound
-.PP
-.SH "SYNOPSIS"
-\fBecaconvert\fP \&.extension file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecafixdc\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecalength\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecamonitor\fP [host][:port]
-.PP
-\fBecanormalize\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecaplay\fP [-dfhklopq] [ file1 file2 \&.\&.\&. fileN ]
-.PP
-\fBecasignalview\fP [ options ] [ input ] [ output ]
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecatools are simple command line utils for audio file processing\&.
-Each tool is designed to perform one specific operation\&. Most of
-the tools also support batch processing\&.
-.PP
-\fBECACONVERT\fP
-.PP
-A tool for converting a set of files to a common target format\&.
-This target format is given as the first command line
-argument, and its syntax is \fI\&.ext\fP\&.
-.PP
-\fBECAFIXDC\fP
-.PP
-A simple command-line tool for fixing DC-offset\&.
-.PP
-\fBECALENGTH\fP
-.PP
-See the separate ecalength(1) man page\&.
-.PP
-\fBECAMONITOR\fP
-.PP
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session\&. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things\&.
-.PP
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868"\&.
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo\&.mynetwork\&.com" or
-"ecamonitor foo\&.mynetwork\&.com:4500"\&.
-.PP
-To enable inbound connections, ecasound has to be
-started with the \fI--daemon\fP option\&. Ecamonitor is
-implemented in Python using the NetECI API\&.
-.PP
-\fBECANORMALIZE\fP
-.PP
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution\&. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file\&.
-.PP
-\fBECAPLAY\fP
-.PP
-Ecaplay is a command-line tool for playing audio files\&. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library\&.
-.PP
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism\&. In playlist mode, files can be added to the playlist
-using the \fI-q\fP option\&. The \fI-p\fP option can then be used
-to play all tracks on the playlist\&. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C)\&.
-Playlist can be flushed with \fI-f\fP and its contents listed
-with \fI-l\fP option\&.
-.PP
-If not otherwise specified, ecaplay will use the audio output device
-specified in \fI~/\&.ecasound/ecasoundrc\fP for playback\&. A different
-output device can be selected with \fIECAPLAY_OUTPUT_DEVICE\fP shell
-environment variable or with the \fI-o:output_device\fP command-line
-option\&.
-.PP
-Playback can be stopped at any time with Ctrl-C\&. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one\&. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit\&.
-.PP
-.IP "-d:debuglevel"
-Set libecasound debug level\&. See ecasound(1)\&.
-.IP
-.IP "-f"
-Flush the playlist contents\&. See also
-options \fI-l, -p and -q\fP\&.
-.IP
-.IP "-h"
-Print usage information and exit\&.
-.IP
-.IP "-k:number"
-Skip \&'number\&' of files\&.
-.IP
-.IP "-l"
-List the current playlist contents to stdout\&. See also
-options \fI-f, -p and -q\fP\&.
-.IP
-.IP "-o:output_device"
-Use \&'output_device\&' instead of the default output device
-(as specified in \fI~/\&.ecasound/ecasoundrc\fP)\&. Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page)\&.
-This option overrides the \fIECAPLAY_OUTPUT_DEVICE\fP environment
-variable (more info below)\&.
-.IP
-.IP "-p"
-Play tracks in the playlist (in looped mode)\&. See also
-options \fI-f, -l and -q\fP\&.
-.IP
-.IP "-q"
-Queue new tracks to the playlist\&. All filenames given on
-the command-line will be added to the the playlist\&. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist\&. See also options \fI-f, -l
-and -p\fP\&.
-.IP
-\fBECASIGNALVIEW\fP
-.PP
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics\&. It accepts the following options:
-.PP
-.IP "input"
-The first option not starting with a \&'-\&' is interpreted
-as an input string\&. This can be a device or a filename\&. All formats
-supported by libecasound are accepted\&. Defaults to \&'/dev/dsp\&'\&.
-.IP
-.IP "output"
-Similarly to input, second option not starting with a \&'-\&'
-is interpreted as output\&. Defaults to \&'null\&'\&.
-.IP
-.IP "-b:buffersize"
-Buffersize in sample frames\&. Defaults to 128\&.
-.IP
-.IP "-c"
-Enable cumulative mode\&. Counters are not reseted after refresh\&.
-\fI*deprecated*\fP
-.IP
-.IP "-d"
-Enable debug mode\&.
-.IP
-.IP "-f:format_string"
-Specify default audio format\&. See ecasound(1) for details\&.
-.IP
-.IP "-r:rate_msec"
-Specify screen refresh rate in milliseconds\&.
-.IP
-.IP "-I"
-Use linear scale for showing audio sample amplitude\&.
-.IP
-.IP "-L"
-Use logarithmic scale for showing audio sample amplitude\&.
-.IP
-.IP "-G, -B, -M*, -r, -z"
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details\&.
-.IP
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-.PP
-.IP "spacebar"
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count)\&.
-.IP
-.IP "q or Q or Esc"
-Quit ecasignalview\&.
-.IP
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i\&.e\&.
-from another console: "killall -v -HUP ecasignalview")\&.
-.PP
-More complete documentation for ecasignalview can be found
-from "Ecasound User\&'s Guide" (see \&'\&'http://www\&.eca\&.cx/ecasound
--> Documentation\&'\&')\&.
-.PP
-.SH "ENVIRONMENT"
-
-.PP
-\fIECASOUND\fP
-Path to the ecasound executable\&. Used by many ecatools\&.
-.PP
-\fIECAPLAY_OUTPUT_DEVICE\fP
-Device ecaplay should use for audio output\&. Same syntax
-as for ecaplay/ecasound "-o" option\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound/ecasoundrc\fP
-The default ecasound resource file\&. See ecasoundrc(5)
-for details\&.
-.PP
-\fI~/\&.ecasound/ecaplay_queue\fP
-File used to store the ecaplay playlist (one track per
-line with full path)\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecasignalview.1 b/library/ecasound/Documentation/ecasignalview.1
deleted file mode 100644
index 824dc5713..000000000
--- a/library/ecasound/Documentation/ecasignalview.1
+++ /dev/null
@@ -1,220 +0,0 @@
-.TH "ecatools" "1" "12\&.11\&.2005" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecatools \- audio processing utils based on ecasound
-.PP
-.SH "SYNOPSIS"
-\fBecaconvert\fP \&.extension file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecafixdc\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecalength\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecamonitor\fP [host][:port]
-.PP
-\fBecanormalize\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecaplay\fP [-dfhklopq] [ file1 file2 \&.\&.\&. fileN ]
-.PP
-\fBecasignalview\fP [ options ] [ input ] [ output ]
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecatools are simple command line utils for audio file processing\&.
-Each tool is designed to perform one specific operation\&. Most of
-the tools also support batch processing\&.
-.PP
-\fBECACONVERT\fP
-.PP
-A tool for converting a set of files to a common target format\&.
-This target format is given as the first command line
-argument, and its syntax is \fI\&.ext\fP\&.
-.PP
-\fBECAFIXDC\fP
-.PP
-A simple command-line tool for fixing DC-offset\&.
-.PP
-\fBECALENGTH\fP
-.PP
-See the separate ecalength(1) man page\&.
-.PP
-\fBECAMONITOR\fP
-.PP
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session\&. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things\&.
-.PP
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868"\&.
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo\&.mynetwork\&.com" or
-"ecamonitor foo\&.mynetwork\&.com:4500"\&.
-.PP
-To enable inbound connections, ecasound has to be
-started with the \fI--daemon\fP option\&. Ecamonitor is
-implemented in Python using the NetECI API\&.
-.PP
-\fBECANORMALIZE\fP
-.PP
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution\&. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file\&.
-.PP
-\fBECAPLAY\fP
-.PP
-Ecaplay is a command-line tool for playing audio files\&. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library\&.
-.PP
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism\&. In playlist mode, files can be added to the playlist
-using the \fI-q\fP option\&. The \fI-p\fP option can then be used
-to play all tracks on the playlist\&. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C)\&.
-Playlist can be flushed with \fI-f\fP and its contents listed
-with \fI-l\fP option\&.
-.PP
-If not otherwise specified, ecaplay will use the audio output device
-specified in \fI~/\&.ecasound/ecasoundrc\fP for playback\&. A different
-output device can be selected with \fIECAPLAY_OUTPUT_DEVICE\fP shell
-environment variable or with the \fI-o:output_device\fP command-line
-option\&.
-.PP
-Playback can be stopped at any time with Ctrl-C\&. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one\&. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit\&.
-.PP
-.IP "-d:debuglevel"
-Set libecasound debug level\&. See ecasound(1)\&.
-.IP
-.IP "-f"
-Flush the playlist contents\&. See also
-options \fI-l, -p and -q\fP\&.
-.IP
-.IP "-h"
-Print usage information and exit\&.
-.IP
-.IP "-k:number"
-Skip \&'number\&' of files\&.
-.IP
-.IP "-l"
-List the current playlist contents to stdout\&. See also
-options \fI-f, -p and -q\fP\&.
-.IP
-.IP "-o:output_device"
-Use \&'output_device\&' instead of the default output device
-(as specified in \fI~/\&.ecasound/ecasoundrc\fP)\&. Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page)\&.
-This option overrides the \fIECAPLAY_OUTPUT_DEVICE\fP environment
-variable (more info below)\&.
-.IP
-.IP "-p"
-Play tracks in the playlist (in looped mode)\&. See also
-options \fI-f, -l and -q\fP\&.
-.IP
-.IP "-q"
-Queue new tracks to the playlist\&. All filenames given on
-the command-line will be added to the the playlist\&. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist\&. See also options \fI-f, -l
-and -p\fP\&.
-.IP
-\fBECASIGNALVIEW\fP
-.PP
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics\&. It accepts the following options:
-.PP
-.IP "input"
-The first option not starting with a \&'-\&' is interpreted
-as an input string\&. This can be a device or a filename\&. All formats
-supported by libecasound are accepted\&. Defaults to \&'/dev/dsp\&'\&.
-.IP
-.IP "output"
-Similarly to input, second option not starting with a \&'-\&'
-is interpreted as output\&. Defaults to \&'null\&'\&.
-.IP
-.IP "-b:buffersize"
-Buffersize in sample frames\&. Defaults to 128\&.
-.IP
-.IP "-c"
-Enable cumulative mode\&. Counters are not reseted after refresh\&.
-\fI*deprecated*\fP
-.IP
-.IP "-d"
-Enable debug mode\&.
-.IP
-.IP "-f:format_string"
-Specify default audio format\&. See ecasound(1) for details\&.
-.IP
-.IP "-r:rate_msec"
-Specify screen refresh rate in milliseconds\&.
-.IP
-.IP "-I"
-Use linear scale for showing audio sample amplitude\&.
-.IP
-.IP "-L"
-Use logarithmic scale for showing audio sample amplitude\&.
-.IP
-.IP "-G, -B, -M*, -r, -z"
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details\&.
-.IP
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-.PP
-.IP "spacebar"
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count)\&.
-.IP
-.IP "q or Q or Esc"
-Quit ecasignalview\&.
-.IP
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i\&.e\&.
-from another console: "killall -v -HUP ecasignalview")\&.
-.PP
-More complete documentation for ecasignalview can be found
-from "Ecasound User\&'s Guide" (see \&'\&'http://www\&.eca\&.cx/ecasound
--> Documentation\&'\&')\&.
-.PP
-.SH "ENVIRONMENT"
-
-.PP
-\fIECASOUND\fP
-Path to the ecasound executable\&. Used by many ecatools\&.
-.PP
-\fIECAPLAY_OUTPUT_DEVICE\fP
-Device ecaplay should use for audio output\&. Same syntax
-as for ecaplay/ecasound "-o" option\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound/ecasoundrc\fP
-The default ecasound resource file\&. See ecasoundrc(5)
-for details\&.
-.PP
-\fI~/\&.ecasound/ecaplay_queue\fP
-File used to store the ecaplay playlist (one track per
-line with full path)\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecasound-iam.1 b/library/ecasound/Documentation/ecasound-iam.1
deleted file mode 100644
index badac29ac..000000000
--- a/library/ecasound/Documentation/ecasound-iam.1
+++ /dev/null
@@ -1,722 +0,0 @@
-.TH "ecasound-iam" "1" "11\&.10\&.2009" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecasound-iam \- ecasound interactive mode
-.SH "SYNOPSIS"
-
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecasound library contains an interpreter module that understands
-a set of commands aimed at controlling various library services\&.
-This is called the ecasound interactive mode (EIAM)\&. All programs
-linked to ecasound library can use this facility\&.
-.PP
-.SH "ECI API and return types"
-A special case of interactive mode use is ecasound\&'s control interface (ECI),
-which is a small library providing easy access to the interactive
-mode commands from outside of libecasound\&. When issuing inter commands using
-the control interface, it\&'s possible that commands also return information\&.
-Currently supported return value types are: string [s], list of strings [S]
-(elements separated by commas; escaped if necessary), integer [i],
-long integer [li] and floating-point number [f]\&. These definitions are
-used throughout this document\&. Commands that return nothing (void) are
-marked with [-]\&. Additionally, return type [e] marks an error condition\&.
-When an interactive mode command results in an error, an error string
-explaining the condition is returned\&.
-.PP
-.SH "Real-time commands"
-It\&'s not possible to use all interactive mode commands to modify and
-control objects that belong to a connected chainsetup\&. Commands that
-do NOT support this are:
-.PP
-.RS
-cs-remove, cs-set-length, cs-set-length-samples, cs-toggle-loop,
-cs-set-param, cs-option,
-c-add, c-remove, c-rename, c-clear,
-ai-add, ai-remove, ai-attach, ai-forward, ai-rewind, ai-set-position,
-ai-set-position-samples,
-ao-add, ao-add-default, ao-remove, ao-attach, ao-forward, ao-rewind,
-ao-set-position, ao-set-position-samples\&.
-.RE
-
-.PP
-If one of these commands is issued when a chainsetup is connected,
-ecasound will first stop and disconnect the chainsetup, process
-the command, and the reconnect\&.
-.PP
-In addition, most non-modifying (const) commands work with
-connected setups\&.
-.PP
-.SH "GENERAL"
-.IP "quit, q"
-Quit ecasound session\&. What this means in practice depends on the
-client implementation\&. In ecasound interactive mode, \&'quit\&' terminates
-the ecasound process\&. When sent over ecasound server connection (aka
-NetECI), \&'quit\&' terminates the active network connection, but does not
-terminate the ecasound server process\&. \fI[-]\fP
-.IP
-.IP "start, t"
-Processing is started (play)\&. Error string is return if any errors upon
-startup are encountered\&. \fI[e]\fP
-.IP
-.IP "stop, s"
-Stop processing\&. \fI[-]\fP
-.IP
-.IP "run"
-Like \&'start\&' but blocks until processing is finished\&. Error string
-is return if any errors upon startup, or during process, are
-encountered\&. \fI[e]\fP
-.IP
-.IP "debug \&'debug-level\&'"
-Set debug level to \&'debug-level\&'\&. Notice that client programs can
-reimplement the debug routines\&. \fI[-]\fP
-
-.PP
-.IP "resource-file \&'path-to-file\&'"
-Overrides the global and user resource files\&. Does not affect
-already created objects\&. This command is equivalent to \&'-R\&' ecasound
-option (see ecasound (1) man page)\&.
-.PP
-.IP "-prefix:arg1,\&.\&.\&.,argN"
-Equivalent to issuing \&'cs-option -prefix:arg1,\&.\&.\&.,argN)\&. See documentation
-for \&'cs-option\&'\&.
-.PP
-.IP "help\&', \&'h\&'"
-Help! \fI[-]\fP
-.PP
-.SH "GLOBAL"
-
-.IP
-.IP "engine-status"
-Returns a string describing the engine status (running, stopped,
-finished, error, not ready)\&. See also \fIcs-status\fP\&. \fI[s]\fP
-.PP
-.IP "engine-launch"
-Starts the real-time engine\&. Engine will execute the currently
-connected chainsetup (see \&'cs-connect)\&. This action does not yet
-start actual processing (see \fIstart\fP and \fIstop\fP)\&. When
-ecasound is used as a JACK client, issuing \fIengine-launch\fP
-makes ecasound an active JACK client (i\&.e\&. ecasound\&'s ports
-can be connected to other JACK clients)\&. \fI[-]\fP
-.PP
-.IP "engine-halt"
-Stops the engine\&. Does not disconnect the chainsetup that
-was running\&. See also \fIcs-disconnet\fP and \fIstop\fP\&. When
-ecasound is used as a JACK client, \fIengine-halt\fP will
-cause ecasound to become a deactivated client (all JACK
-connections are torn down)\&. \fI[-]\fP
-.PP
-.SH "CHAINSETUPS"
-Chainsetup is the central data object\&. All other objects (inputs,
-outputs, chains, etc) are connected to some chainsetup\&. There can be
-many chainsetups but only one can be connected\&. Similarly only
-one chainsetup can be selected\&. If not otherwise specified operations
-are done on the selected chainsetup\&. Some operations also require
-that selected chainsetup is not connected\&.
-.IP
-.IP "cs-add \&'name\&'"
-Adds a new chainsetup with name \&'name\&'\&. \&'name\&' is now
-the selected chainsetup\&. \fI[-]\fP
-.PP
-.IP "cs-remove"
-Removes currently selected chainsetup\&. \fI[-]\fP
-.PP
-.IP "cs-list"
-Returns a list of all chainsetups\&. \fI[S]\fP
-.PP
-.IP "cs-select \&'name\&'"
-Selects chainsetup \&'name\&'\&. \fI[-]\fP
-.PP
-.IP "cs-selected"
-Returns the name of currently selected chainsetup\&. \fI[s]\fP
-.PP
-.IP "cs-index-select \&'cs_index\&', cs-iselect \&'cs_index\&'"
-Selects a chainsetup based on a short index string\&. Chainsetup names
-can be rather long\&. This command can be used to avoid typing
-these long names\&. \&'cs_index\&' is an integer value, where \&'1\&' refers to
-the first audio input/output\&. You can use \&'cs-list\&' and \&'cs-status\&'
-to get a full list of currently available chainsetups\&. \fI[-]\fP
-.PP
-.IP "cs-load \&'filename\&'"
-Adds a new chainsetup by loading it from file \&'filename\&'\&.
-\&'filename\&' is now the selected chainsetup\&. \fI[-]\fP
-.PP
-.IP "cs-save"
-Saves the currently selected chainsetup to file\&. If chainsetup was loaded
-from a file, the saved version will replace the original\&. If it doesn\&'t
-have a default filename, it\&'s saved to "chainsetup_name\&.ecs"\&. \fI[-]\fP
-.PP
-.IP "cs-save-as \&'filename\&'"
-Saves currently selected chainsetup to file \&'filename\&'\&. \fI[-]\fP
-.PP
-.IP "cs-edit"
-Currently selected chainsetup is saved to a temporary file\&. This
-file is loaded to an external editor (see ecasoundrc (5))\&. After
-editing, the chainsetup is loaded back to ecasound\&. \fI[-]\fP
-.PP
-.IP "cs-is-valid"
-Whether currently selected chainsetup is valid (=can be connected)? \fI[i]\fP
-.PP
-.IP "cs-connect"
-Connect currently selected chainsetup to engine\&. When connecting,
-all resources (e\&.g\&. files, soundcard devices, external programs) needed
-to execute the chainsetup are reserved\&. Only one chainsetup can be connected
-at a time\&. Error string is returned if connection fails (for instance
-due to error in allocating the resources)\&. \fI[e]\fP
-.PP
-.IP "cs-disconnect"
-Disconnect currently connected chainsetup\&. This action will free
-all external resources needed by the chainsetup\&. \fI[-]\fP
-.PP
-.IP "cs-connected"
-Returns the name of currently connected chainsetup\&. \fI[s]\fP
-.PP
-.IP "cs-rewind \&'time-in-seconds\&', rewind \&'time-in-seconds\&', rw \&'time-in-seconds\&'"
-Rewinds the current chainsetup position by \&'time-in-seconds\&' seconds\&.
-Position of all inputs and outputs attached to the selected chainsetup
-is also affected\&. \fI[-]\fP
-.PP
-.IP "cs-forward \&'time-in-seconds\&', forward \&'time-in-seconds\&', fw \&'ttime-in-seconds\&'"
-The current chainsetup position is forwarded by \&'time-in-seconds\&'
-seconds\&. Position of all inputs and outputs attached to the selected chainsetup
-is also affected\&. \fI[-]\fP
-.PP
-.IP "cs-set-position \&'time-in-seconds\&', cs-setpos \&'time-in-seconds\&', setpos \&'time-in-seconds\&', set-position \&'time-in-seconds\&'"
-Sets the chainsetup position to \&'time-in-seconds\&' seconds from the
-beginning\&. Position of all inputs and outputs attached to the selected
-chainsetup is also affected\&. \fI[-]\fP
-.PP
-.IP "cs-set-position-samples \&'time-in-samples\&'"
-Sets the chainsetup position to \&'time-in-samples\&' samples from the
-beginning\&. Position of all inputs and outputs attached to the selected
-chainsetup is also affected\&. \fI[-]\fP
-.PP
-.IP "cs-get-position, cs-getpos, getpos, get-position"
-Returns the current chainsetup position in seconds\&. \fI[f]\fP
-.PP
-.IP "cs-get-position-samples"
-Returns the current chainsetup position in samples\&. \fI[li]\fP
-.PP
-.IP "cs-get-length, get-length"
-Returns the chainsetup length in seconds (if known)\&. \fI[f]\fP
-.PP
-.IP "cs-get-length-samples, get-length-samples"
-Returns the chainsetup length in samples (if known)\&. \fI[li]\fP
-.PP
-.IP "cs-set-length \&'seconds\&'"
-Sets processing time in seconds (doesn\&'t have to be an integer value)\&.
-A special-case value of \&'-1\&' will set the chainsetup length
-according to the longest input object\&. \fI[-]\fP
-.PP
-.IP "cs-set-length-samples \&'samples\&'"
-Sets processing time in samples\&. \fI[-]\fP
-.PP
-.IP "cs-toggle-loop"
-Toggle looping\&. When processing is finished, engine will start
-again from the initial position\&. It\&'s not always possible to enable looping
-(for instance all inputs and outputs have infinite length and
-chainsetup length is not explicitly set with \&'cs-set-length\&')\&. \fI[-]\fP
-.PP
-.IP "cs-set-param"
-Interpret general chainsetup parameters like for example
-"-b" (buffersize), "-n" (name), etc\&. See ecasound (1) for
-more info\&. \fI[-]\fP
-.PP
-.IP "cs-set-audio-format \&'bits,channels,sample_rate\&'"
-Set the default sample parameters for currently selected chainsetup\&.
-For example cd-quality audio would be "16,2,44100"\&. This does the
-same as command-line argument "-f" (see ecasound (1))\&. \fI[-]\fP
-.PP
-.IP "cs-status, status, st"
-Prints out status information about available chainsetup\&.
-Detailed information is printed out for connected (=available
-for running) nd selected (=available for editing) chainsetups\&.
-Other chainsetups are listed, but further details are
-suppressed\&. To get full details of a specific chainsetup,
-select it with \&'cs-select\&' or \&'cs-iselect\&', and then
-issue \&'cs-select\&'\&. \fI[s]\fP
-.PP
-.IP "cs-option \&'-prefix:arg1,\&.\&.\&.,argN\&'"
-One powerful feature of the interactive-mode is that it
-provides full access to ecasound\&'s command-line syntax\&.
-For instance, command "cs-option -efb:400,200" means that
-a bandpass filter is added to the currently selected
-chain, with initial parameters 400 (center frequency)
-and 200 (width in Hz)\&.
-.PP
-Note that session level options (such as setting debug level)
-can not be used with \&'cs-option\&' (i\&.e\&. only options that modify
-chainsetups)\&.
-.PP
-Note! Ecasound interactive mode implicitly interprets all strings
-beginning with a \&'-\&' as "cs-option string"\&.
-
-.IP
-.SH "CHAINS"
-Chain is a simple signal flow abstraction\&. Every chain has one input
-and one output\&. All chain operators and their controllers are attached
-to chains\&. Chains can be muted, unmuted and be bypassed\&. If not
-otherwise stated, all operations are done to currently selected
-chainsetup\&.
-.IP
-.IP "c-add \&'cname1,\&.\&.\&.,cnameN\&'"
-Adds a set of chains\&. Added chains are automatically selected\&. Note
-that commas in chain names are not allowed\&. \fI[-]\fP
-.PP
-.IP "c-remove"
-Removes selected chains\&. \fI[-]\fP
-.PP
-.IP "c-list"
-Returns a list of all chains\&. \fI[S]\fP
-.PP
-.IP "c-select \&'cname1,\&.\&.\&.,cnameN\&'"
-Selects chains\&. Other chains are automatically deselected\&. \fI[-]\fP
-.PP
-.IP "c-index-select \&'index1,\&.\&.\&.,indexN\&', c-iselect \&'index1,\&.\&.\&.,indexN\&'"
-Selects a set of chains based on the list of indixes\&. Each index is
-an integer value, where \&'1\&' refers to the first chain\&. You can use
-\&'c-list\&' and \&'c-status\&' to get a full list of currently available
-chains\&. \fI[-]\fP
-.PP
-.IP "c-select-all"
-Selects all chains\&. \fI[-]\fP
-.PP
-.IP "c-select-add \&'cname1,\&.\&.\&.,cnameN\&'"
-Selects more chains\&. \fI[-]\fP
-.PP
-.IP "c-deselect \&'cname1,\&.\&.\&.,cnameN\&'"
-Deselects chains\&. \fI[-]\fP
-.PP
-.IP "c-selected"
-Returns a list of selected chains\&. \fI[S]\fP
-.PP
-.IP "c-clear"
-Clear selected chains by removing all chain operators and controllers\&.
-Doesn\&'t change how chains are connected to inputs and outputs\&. \fI[-]\fP
-.PP
-.IP "c-rename \&'new_name\&'"
-Renames the selected chain\&. When using this command, exactly one chain must
-be selected\&. \fI[-]\fP
-.PP
-.IP "c-muting, c-mute"
-Toggle chain muting\&. When chain is muted, all data that goes through
-is muted\&. \fI[-]\fP
-.PP
-.IP "c-bypass"
-Toggle chain bypassing\&. When chain is bypassed, sample data is passed
-through unprocessed (all chain operators are disabled for the given
-chain)\&. \fI[-]\fP
-.PP
-.IP "c-status, cs"
-Print status info about all chains\&. \fI[s]\fP
-.PP
-.SH "AUDIO INPUT/OUTPUT OBJECTS"
-If not otherwise stated, all operations are done to currently selected
-object\&. All commands with \fIai-\fP prefix operate on audio inputs,
-while commands with \fIao-\fP operate on outputs\&.
-.IP
-.IP "ai-add \&'input_format_string\&'"
-Adds a new input object\&. See ecasound (1) man page for more info about
-the argument format (\&'-i\&' option)\&. Note on syntax: if any of
-the parameters (such as a filename) contains commas, the parameter
-should be enclosed in double-quotes\&. \fI[-]\fP
-.PP
-.IP "ao-add \&'output_format_string\&'"
-Adds a new output object\&. See ecasound (1) man page for more info about
-the argument format (\&'-o\&' option)\&. If argument is omitted,
-a default output device is added (see ecasoundrc (5))\&. Note on syntax: if any
-of the parameters (such as a filename) contains commas, the parameter
-should be enclosed in double-quotes\&. \fI[-]\fP
-.PP
-.IP "ao-add-default"
-Adds the default output device (see ecasoundrc (5))\&. \fI[-]\fP
-.PP
-.IP "ai-describe, ao-describe"
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the input/output\&. See the Ecasound User\&'s Guide
-for more information about EOS\&. This command was introduced in
-ecasound 2\&.4\&.4\&. \fI[s]\fP
-.PP
-.IP "ai-select \&'aobject_name\&', ao-select \&'aobject_name\&'"
-Selects an audio object\&. \&'aobject_name\&' refers to the string
-used when creating the object (the first argument given to ai-add/ao-add)\&.
-Note that as a important difference to ai-add/ao-add, one should not
-enclose the object name in double quotes for ai-select/ao-select\&. In the
-case a chainsetup contains multiple inputs, or outputs, with
-identical name, \&'ai-select\&' and \&'ao-select\&' will select
-the first matching instance\&. In order to select a specific
-instance, the \&'ai-iselect\&' and \&'ao-iselect\&' commands need to
-be used\&. \fI[-]\fP
-.PP
-.IP "ai-index-select \&'aobject_index\&', ai-iselect \&'aobject_index\&', ao-index-select \&'aobject_index\&', ao-iselect \&'aobject_index\&'"
-Select some audio object based on a short index string\&. Especially file
-names can be rather long\&. This command can be used to avoid typing
-these long names when selecting audio objects\&. \&'aobject_index\&' is
-an integer value, where \&'1\&' refers to the first audio input/output\&.
-You can use \&'ai-list\&' and \&'ao-list\&' to get a full list of currently
-available inputs/outputs\&. \fI[-]\fP
-.PP
-.IP "ai-selected, ao-selected"
-Returns the name of the currently selected audio object\&. \fI[s]\fP
-.PP
-.IP "ai-attach, ao-attach"
-Attaches the currently selected audio object to all selected chains\&. \fI[-]\fP
-.PP
-.IP "ai-remove, ao-remove"
-Removes the currently selected audio object from the chainsetup\&. \fI[-]\fP
-.PP
-.IP "ai-forward \&'time_in_seconds\&', ai-fw \&'time_in_seconds\&', ao-forward \&'time_in_seconds\&', ao-fw \&'time_in_seconds\&'"
-Selected audio object is forwarded by \&'time-in-seconds\&' seconds\&.
-Time should be given as a floating point value (eg\&. 0\&.001 is the
-same as 1ms)\&. \fI[-]\fP
-.PP
-.IP "ai-rewind \&'time_in_seconds\&', ai-rw \&'time_in_seconds\&', ao-rewind \&'time_in_seconds\&', ao-rw \&'time_in_seconds\&'"
-Selected audio object is rewinded by \&'time-in-seconds\&' seconds\&.
-Time should be given as a floating point value (eg\&. 0\&.001 is the
-same as 1ms)\&. \fI[-]\fP
-.PP
-.IP "ai-setpos \&'time_in_seconds\&', ai-set-position \&'time_in_seconds\&', ao-setpos \&'time_in_seconds\&', ao-set-position \&'time_in_seconds\&'"
-Set audio object position to \&'time_in_seconds\&'\&. \fI[-]\fP
-.PP
-.IP "ai-set-position-samples \&'time_in_samples\&', ao-set-position-samples \&'time_in_samples\&'"
-Set audio object position to \&'time_in_samples\&'\&. \fI[-]\fP
-.PP
-.IP "ai-getpos, ai-get-position, ao-getpos, ao-get-position"
-Returns the audio object position in seconds\&. \fI[f]\fP
-.PP
-.IP "ai-get-position-samples, ao-get-position-samples"
-Returns the audio object position in samples\&. \fI[li]\fP
-.PP
-.IP "ai-get-length, ao-get-length"
-Returns the audio object length in seconds\&. \fI[f]\fP
-.PP
-.IP "ai-get-length-samples, ao-get-length-samples"
-Returns the audio object length in samples\&. \fI[li]\fP
-.PP
-.IP "ai-get-format, ao-get-format"
-Returns the audio format of the selected audio input/output as a
-formatted string\&. See documentation for \&'-f\&' command-line option\&. \fI[s]\fP
-.PP
-.IP "ai-list, ao-list"
-Returns a list of all input/output objects\&. \fI[S]\fP
-.PP
-.IP "aio-register"
-Prints a list of registered audio object types\&. \fI[s]\fP
-.PP
-.IP "aio-status"
-Audio object status (index strings, position, length, etc)\&. \fI[s]\fP
-.PP
-.SH "CHAIN OPERATORS"
-Chain operators are used to process and analyze sample data\&.
-They are attached to chains\&. If not otherwise stated,
-currently selected chainsetup and chain are used\&. Also,
-\&'chainop_id\&' and \&'param_id\&' are used to select chain operators
-and their parameters\&. First valid value for these parameters
-is 1\&.
-.IP
-.IP "cop-add \&'cop_format_string\&'"
-Adds a new chain operator\&. In addition to normal chain operators,
-this commmand can also be used to add effect presets and various
-plugins\&. Note; it is not possible to add operators to multiple
-chains at once\&. In other words only one chain should be selected
-when issuing \&'cop-add\&'\&. See ecasound (1) man page for more info\&. \fI[-]\fP
-.PP
-.IP "cop-describe"
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the chain operator\&. See the Ecasound User\&'s Guide
-for more information about EOS\&. This command was introduced in
-ecasound 2\&.4\&.4\&. \fI[s]\fP
-.PP
-.IP "cop-remove"
-Removes the selected chain operator\&. \fI[-]\fP
-.PP
-.IP "cop-list"
-Returns a list of all chain operators attached to the currently
-selected chain\&. \fI[S]\fP
-.PP
-.IP "cop-select \&'param_id\&', cop-index-select \&'param_id\&', cop-iselect \&'param_id\&'"
-Selects a chain operator\&. \fI[-]\fP
-.PP
-.IP "cop-selected"
-Returns the index number of currently selected chain operator\&. \fI[i]\fP
-.PP
-.IP "cop-set \&'chainop_id,param_id,value\&'"
-Changes the value of a single chain operator parameter\&. Unlike other
-chain operator commands, this can also be used during processing\&.
-See also \&'cop-get\&'\&. \fI[-]\fP
-.PP
-.IP "cop-get \&'chainop_id,param_id\&'"
-Returns the current value of chain operator parameter identified by
-\&'chainop_id\&' and \&'param_id\&'\&. This command is a shorthand for
-\&'cop-select chainop_id ; copp-iselect param_id ; copp-get\&'\&. \fI[f]\fP
-.PP
-.IP "cop-status"
-Returns info about chain operator status\&. \fI[s]\fP
-.PP
-.IP "copp-list"
-Returns a list of selected chain operator\&'s parameters\&. \fI[S]\fP
-.PP
-.IP "copp-select \&'param_id\&', copp-index-select \&'param_id\&', copp-iselect \&'param_id\&'"
-Selects a chain operator parameter\&. \fI[-]\fP
-.PP
-.IP "copp-selected"
-Returns the index number of currently selected chain operator parameter\&. \fI[i]\fP
-.PP
-.IP "copp-set \&'value\&'"
-Sets the selected parameter value to \&'value\&'\&. \fI[-]\fP
-.PP
-.IP "copp-get"
-Returns the selected parameter value\&. See also \&'cop-get\&'\&. \fI[f]\fP
-.PP
-.IP "cop-register"
-Prints a list of registered chain operators\&. \fI[s]\fP
-.PP
-.IP "preset-register"
-Prints a list of registered effect presets\&. \fI[s]\fP
-.PP
-.IP "ladspa-register"
-Prints a list of registered LADSPA plugins\&. \fI[s]\fP
-.PP
-.SH "CONTROLLERS"
-Controllers are used to control individual chain operator parameters\&.
-They are attached to chains\&. If not otherwise stated, currently
-selected chainsetup and chains are used\&.
-.IP
-.IP "ctrl-add \&'copc_format_string\&'"
-Adds a new controller and attach it to currently selected chain
-operator\&. The argument syntax is either "-:par1,\&.\&.\&.,parN"
-or just ":par1,\&.\&.\&.,parN"\&. If parameter itself contains
-commas, the parameter should be enclosed in double-quotes\&.
-See ecasound (1) man page for more info\&. \fI[-]\fP
-.IP
-.IP "ctrl-describe"
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the controller\&. See the Ecasound User\&'s Guide
-for more information about EOS\&. This command was introduced in
-ecasound 2\&.4\&.4\&. \fI[s]\fP
-.IP
-.IP "ctrl-remove"
-Removes the selected controller\&. \fI[-]\fP
-.IP
-.IP "ctrl-list"
-Returns a list of all controllers attached to the currently
-selected chain\&. \fI[S]\fP
-.IP
-.IP "ctrl-select \&'param_id\&', ctrl-index-select \&'param_id\&', ctrl-iselect \&'param_id\&'"
-Selects a controller\&. \fI[-]\fP
-.IP
-.IP "ctrl-selected"
-Returns the index number of currently selected controller\&. \fI[i]\fP
-.IP
-.IP "ctrl-status"
-Returns info about controller status\&. \fI[s]\fP
-.IP
-.IP "ctrl-register"
-Prints a list of registered controllers\&. \fI[s]\fP
-.IP
-.IP "ctrl-get-target"
-Returns the index number of the chain operator that is
-connected to the selected controller\&. The returned index
-refers to the currently selected chain (see \&'cop-list\&')\&. \fI[i]\fP
-.IP
-.IP "ctrlp-list"
-Returns a list of all controller parameters\&. This command was introduced in
-ecasound 2\&.4\&.2\&. \fI[S]\fP
-.IP
-.IP "ctrlp-select"
-Selects a controller parameter\&. This command was introduced in
-ecasound 2\&.4\&.2\&. \fI[-]\fP
-.IP
-.IP "ctrlp-selected"
-Returns the index number of currently selected controller parameter\&. This command
-was introduced in ecasound 2\&.4\&.2\&. \fI[i]\fP
-.IP
-.IP "ctrlp-get"
-Returns the selected controller parameter value\&. This command was introduced in
-ecasound 2\&.4\&.2\&. \fI[f]\fP
-.IP
-.IP "ctrlp-set"
-Sets the selected controller parameter value to \&'value\&'\&. This command was introduced in
-ecasound 2\&.4\&.2\&. \fI[-]\fP
-.IP
-.SH "JACK CONNECTION MANAGEMENT"
-If Ecasound is compiled with support for JACK audio server,
-the following set of commands is provided for controlling connections
-between JACK ports\&.
-.IP
-.IP "jack-connect \&'src-port\&' \&'dest-port\&'"
-Make a connection between the two ports given as parameters\&. This command
-is similar to the \&'jack_connect\&' command line tool that is distributed
-with JACK package\&. \fI[-]\fP
-.IP
-.IP "jack-disconnect \&'src-port\&' \&'dest-port\&'"
-Disconnect the two ports given as parameters\&. This command is similar
-to the \&'jack_disconnect\&' command line tool that is distributed
-with JACK package\&. \fI[-]\fP
-.IP
-.IP "jack-list-connections"
-Returns a list of all JACK ports and a list of connections
-for each port\&. This command is similar to the \&'jack_lsp\&' command
-line tool (e\&.g\&. \&'jack_lsp -c\&') that is distributed with JACK package\&. \fI[s]\fP
-.IP
-.SH "INTERNAL COMMANDS"
-Internal commands are not directly aimed at normal use\&. They
-are primarily meant for use in scripting and frontends\&.
-.IP
-.IP "int-cmd-list"
-Returns a list of all registered interactive mode commands\&. \fI[S]\fP
-.IP
-.IP "int-log-history"
-Returns recent log messages sent by libecasound modules\&. This
-is a good tool for debugging ECI/EIAM scripts and applications\&. This
-command was introduced in ecasound 2\&.4\&.0\&. \fI[s]\fP
-.IP
-.IP "int-output-mode-wellformed"
-Select the well-format output format for log messages\&. \fI[-]\fP
-.IP
-.IP "int-set-float-to-string-precision"
-Sets precision used in float to text conversions\&. Note that
-this can be used to control the precision of float return values
-for ECI commands\&. \fI[-]\fP
-.IP
-.IP "int-set-log-history-length"
-Sets the log history length\&. Defaults to 0 items\&.
-This command was introduced in ecasound 2\&.4\&.0\&. \fI[-]\fP
-.IP
-.IP "int-cmd-version-string"
-Returns ecasound interactive mode parser version string\&. \fI[s]\fP
-.IP
-.IP "int-cmd-version-lib-current"
-Returns ecasound interactive mode library interface version (libtool)\&. \fI[i]\fP
-.IP
-.IP "int-cmd-version-lib-revision"
-Returns ecasound interactive mode library interface revision (libtool)\&. \fI[i]\fP
-.IP
-.IP "int-cmd-version-lib-age"
-Returns ecasound interactive mode library interface age (libtool)\&. \fI[i]\fP
-.IP
-.SH "OBJECT MAPS"
-Object maps are central repositories for commonly used object types\&.
-By querying the maps, applications can get a list of all registered
-object types and their properties\&.
-.IP
-.IP "map-cop-list"
-Prints a list of registered chain operators using
-the format specified in section \fIOPERATOR DESCRIPTIONS\fP\&. \fI[s]\fP
-.IP
-.IP "map-preset-list"
-Prints a list of registered effect presets using
-the format specified in section \fIOPERATOR DESCRIPTIONS\fP\&. \fI[s]\fP
-.IP
-.IP "map-ladspa-list"
-Prints a list of registered LADSPA plugins using
-the format specified in section \fIOPERATOR DESCRIPTIONS\fP\&. \fI[s]\fP
-.IP
-.IP "map-ladspa-id-list"
-Prints a list of registered LADSPA plugins using
-the format specified in section \fIOPERATOR DESCRIPTIONS\fP\&.
-Numerical LADPSA plugin identifiers are used\&. \fI[s]\fP
-.IP
-.IP "map-ctrl-list"
-Prints a list of registered controllers using
-the format specified in section \fIOPERATOR DESCRIPTIONS\fP\&. \fI[s]\fP
-.IP
-.SH "DUMP COMMANDS"
-The following dump commands are not meant for normal use\&.
-Their primary purpose is to provide an easy way to get
-internal state information from libecasound\&. All dump
-commands output a single line with syntax "key value"
-to the selected output stream (defaults to stdout)\&.
-.IP
-.IP "dump-target \&'filename\&'"
-Set target stream for dumping\&. \fI[-]\fP
-.IP
-.IP "dump-status"
-Dumps engine status - \&'running\&', \&'stopped\&', \&'finished\&' or \&'notready\&'\&. \fI[-]\fP
-.IP
-.IP "dump-position"
-Dumps the global position\&. Printed in seconds using a floating-point
-representation\&. \fI[-]\fP
-.IP
-.IP "dump-length"
-Dumps the overall processing length\&. Printed in seconds using a floating-point
-representation\&. \fI[-]\fP
-.IP
-.IP "dump-cs-status"
-Dumps status string for the currently selected chainsetup - \&'connected\&',
-\&'selected\&' or an empty string\&. \fI[-]\fP
-.IP
-.IP "dump-c-selected"
-Dumps the name of currently selected chain\&. \fI[-]\fP
-.IP
-.IP "dump-ai-selected"
-Dumps label of currently selected audio input\&. If no input is
-selected, dumps an empty string\&. \fI[-]\fP
-.IP
-.IP "dump-ai-position"
-Dumps position of currently selected audio inputs\&. Printed in
-seconds, using a floating-point representation\&. \fI[-]\fP
-.IP
-.IP "dump-ai-length"
-Dumps length of currently selected audio input\&. Printed in seconds,
-using a floating-point representation\&. \fI[-]\fP
-.IP
-.IP "dump-ai-open-state"
-Dumps audio input state info\&. Either \&'open\&' or \&'closed\&'\&. \fI[-]\fP
-.IP
-.IP "dump-ao-selected"
-Dumps label of currently selected audio output\&. If no output is
-selected, dumps an empty string\&. \fI[-]\fP
-.IP
-.IP "dump-ao-position"
-Dumps position of currently selected audio outputs\&. Printed in
-seconds, using a floating-point representation\&. \fI[-]\fP
-.IP
-.IP "dump-ao-length"
-Dumps length of currently selected audio output\&. Printed in seconds,
-using a floating-point representation\&. \fI[-]\fP
-.IP
-.IP "dump-ao-open-state"
-Dumps audio output state info\&. Either \&'open\&' or \&'closed\&'\&. \fI[-]\fP
-.IP
-.IP "dump-cop-value \&'chainop,param\&'"
-Dumps chain operator parameter value\&. \&'chainop\&' and \&'param\&' are
-operator and parameter index values (1\&.\&.\&.n)\&. \fI[-]\fP
-.IP
-.SH "OPERATOR DESCRIPTIONS"
-The \fImap-xxx-list\fP commands return a string containing all registered
-objects of the given type \fIxxx\fP\&. Each line of the output describes
-one registered type\&. The used syntax is:
-.IP
-\&'keyword,name,description,num_of_params,par1_def,par2_def,\&.\&.\&.\&'
-.IP
-\fIparX_def\fP describes one object parameter\&. This definition
-is present for all parameters of the described object type\&.
-The used syntax is:
-.IP
-\&'name,description,defaultvalue,upper_bound_flag,upper_bound,
-lower_bound_flag,lower_bound,toggled_flag,integer_flag,
-logarithmic_flag,output_flag\&'
-.IP
-For exact descriptions of these fields, please see
-the header file \fIecasound/libecasound/eca-operator\&.h\fP\&.
-.IP
-.SH "DEPRECATED COMMANDS"
-Use of following commands is deprecated\&. They still work in
-current version of Ecasound, but will be dropped in
-the future:
-.IP
-.RS
-ai-wave-edit, ao-wave-edit
-.RE
-
-.IP
-.SH "SEE ALSO"
-ecasound (1), ecatools (1), ecasoundrc (5)
-.IP
-.SH "AUTHOR"
-
- Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecasound-iam_manpage.html b/library/ecasound/Documentation/ecasound-iam_manpage.html
deleted file mode 100644
index c6b93aa08..000000000
--- a/library/ecasound/Documentation/ecasound-iam_manpage.html
+++ /dev/null
@@ -1,775 +0,0 @@
-
-ecasound-iam
-
-
-
-
-ecasound-iam
-11.10.2009
-
-
-
-
-
-
-
-
-
-ecasound-iam(1)
-
-
-
-
-ecasound-iam(1)
- Multimedia software
-11.10.2009
-
-
-
-
NAME ecasound-iam - ecasound interactive mode
-SYNOPSIS
-
-
DESCRIPTION
-
-Ecasound library contains an interpreter module that understands
-a set of commands aimed at controlling various library services.
-This is called the ecasound interactive mode (EIAM). All programs
-linked to ecasound library can use this facility.
-
-
ECI API and return types
-A special case of interactive mode use is ecasound's control interface (ECI),
-which is a small library providing easy access to the interactive
-mode commands from outside of libecasound. When issuing inter commands using
-the control interface, it's possible that commands also return information.
-Currently supported return value types are: string [s], list of strings [S]
-(elements separated by commas; escaped if necessary), integer [i],
-long integer [li] and floating-point number [f]. These definitions are
-used throughout this document. Commands that return nothing (void) are
-marked with [-]. Additionally, return type [e] marks an error condition.
-When an interactive mode command results in an error, an error string
-explaining the condition is returned.
-
-
Real-time commands
-It's not possible to use all interactive mode commands to modify and
-control objects that belong to a connected chainsetup. Commands that
-do NOT support this are:
-
-
- cs-remove, cs-set-length, cs-set-length-samples, cs-toggle-loop,
- cs-set-param, cs-option,
- c-add, c-remove, c-rename, c-clear,
- ai-add, ai-remove, ai-attach, ai-forward, ai-rewind, ai-set-position,
- ai-set-position-samples,
- ao-add, ao-add-default, ao-remove, ao-attach, ao-forward, ao-rewind,
- ao-set-position, ao-set-position-samples.
-
-
-If one of these commands is issued when a chainsetup is connected,
-ecasound will first stop and disconnect the chainsetup, process
-the command, and the reconnect.
-
-In addition, most non-modifying (const) commands work with
-connected setups.
-
-
GENERAL
-
-
quit, q
-Quit ecasound session. What this means in practice depends on the
-client implementation. In ecasound interactive mode, 'quit' terminates
-the ecasound process. When sent over ecasound server connection (aka
-NetECI), 'quit' terminates the active network connection, but does not
-terminate the ecasound server process. [-]
-
-
start, t
-Processing is started (play). Error string is return if any errors upon
-startup are encountered. [e]
-
-
stop, s
-Stop processing. [-]
-
-
run
-Like 'start' but blocks until processing is finished. Error string
-is return if any errors upon startup, or during process, are
-encountered. [e]
-
-
debug 'debug-level'
-Set debug level to 'debug-level'. Notice that client programs can
-reimplement the debug routines. [-]
-
-
-
resource-file 'path-to-file'
-Overrides the global and user resource files. Does not affect
-already created objects. This command is equivalent to '-R' ecasound
-option (see ecasound (1) man page).
-
-
-prefix:arg1,...,argN
-Equivalent to issuing 'cs-option -prefix:arg1,...,argN). See documentation
-for 'cs-option'.
-
-
help', 'h'
-Help! [-]
-
-
-
-
GLOBAL
-
-
-
-
engine-status
-Returns a string describing the engine status (running, stopped,
-finished, error, not ready). See also cs-status . [s]
-
-
engine-launch
-Starts the real-time engine. Engine will execute the currently
-connected chainsetup (see 'cs-connect). This action does not yet
-start actual processing (see start and stop ). When
-ecasound is used as a JACK client, issuing engine-launch
-makes ecasound an active JACK client (i.e. ecasound's ports
-can be connected to other JACK clients). [-]
-
-
engine-halt
-Stops the engine. Does not disconnect the chainsetup that
-was running. See also cs-disconnet and stop . When
-ecasound is used as a JACK client, engine-halt will
-cause ecasound to become a deactivated client (all JACK
-connections are torn down). [-]
-
-
-
-
CHAINSETUPS
-Chainsetup is the central data object. All other objects (inputs,
-outputs, chains, etc) are connected to some chainsetup. There can be
-many chainsetups but only one can be connected. Similarly only
-one chainsetup can be selected. If not otherwise specified operations
-are done on the selected chainsetup. Some operations also require
-that selected chainsetup is not connected.
-
-
-
cs-add 'name'
-Adds a new chainsetup with name 'name'. 'name' is now
-the selected chainsetup. [-]
-
-
cs-remove
-Removes currently selected chainsetup. [-]
-
-
cs-list
-Returns a list of all chainsetups. [S]
-
-
cs-select 'name'
-Selects chainsetup 'name'. [-]
-
-
cs-selected
-Returns the name of currently selected chainsetup. [s]
-
-
cs-index-select 'cs_index', cs-iselect 'cs_index'
-Selects a chainsetup based on a short index string. Chainsetup names
-can be rather long. This command can be used to avoid typing
-these long names. 'cs_index' is an integer value, where '1' refers to
-the first audio input/output. You can use 'cs-list' and 'cs-status'
-to get a full list of currently available chainsetups. [-]
-
-
cs-load 'filename'
-Adds a new chainsetup by loading it from file 'filename'.
-'filename' is now the selected chainsetup. [-]
-
-
cs-save
-Saves the currently selected chainsetup to file. If chainsetup was loaded
-from a file, the saved version will replace the original. If it doesn't
-have a default filename, it's saved to "chainsetup_name.ecs". [-]
-
-
cs-save-as 'filename'
-Saves currently selected chainsetup to file 'filename'. [-]
-
-
cs-edit
-Currently selected chainsetup is saved to a temporary file. This
-file is loaded to an external editor (see ecasoundrc (5)). After
-editing, the chainsetup is loaded back to ecasound. [-]
-
-
cs-is-valid
-Whether currently selected chainsetup is valid (=can be connected)? [i]
-
-
cs-connect
-Connect currently selected chainsetup to engine. When connecting,
-all resources (e.g. files, soundcard devices, external programs) needed
-to execute the chainsetup are reserved. Only one chainsetup can be connected
-at a time. Error string is returned if connection fails (for instance
-due to error in allocating the resources). [e]
-
-
cs-disconnect
-Disconnect currently connected chainsetup. This action will free
-all external resources needed by the chainsetup. [-]
-
-
cs-connected
-Returns the name of currently connected chainsetup. [s]
-
-
cs-rewind 'time-in-seconds', rewind 'time-in-seconds', rw 'time-in-seconds'
-Rewinds the current chainsetup position by 'time-in-seconds' seconds.
-Position of all inputs and outputs attached to the selected chainsetup
-is also affected. [-]
-
-
cs-forward 'time-in-seconds', forward 'time-in-seconds', fw 'ttime-in-seconds'
-The current chainsetup position is forwarded by 'time-in-seconds'
-seconds. Position of all inputs and outputs attached to the selected chainsetup
-is also affected. [-]
-
-
cs-set-position 'time-in-seconds', cs-setpos 'time-in-seconds', setpos 'time-in-seconds', set-position 'time-in-seconds'
-Sets the chainsetup position to 'time-in-seconds' seconds from the
-beginning. Position of all inputs and outputs attached to the selected
-chainsetup is also affected. [-]
-
-
cs-set-position-samples 'time-in-samples'
-Sets the chainsetup position to 'time-in-samples' samples from the
-beginning. Position of all inputs and outputs attached to the selected
-chainsetup is also affected. [-]
-
-
cs-get-position, cs-getpos, getpos, get-position
-Returns the current chainsetup position in seconds. [f]
-
-
cs-get-position-samples
-Returns the current chainsetup position in samples. [li]
-
-
cs-get-length, get-length
-Returns the chainsetup length in seconds (if known). [f]
-
-
cs-get-length-samples, get-length-samples
-Returns the chainsetup length in samples (if known). [li]
-
-
cs-set-length 'seconds'
-Sets processing time in seconds (doesn't have to be an integer value).
-A special-case value of '-1' will set the chainsetup length
-according to the longest input object. [-]
-
-
cs-set-length-samples 'samples'
-Sets processing time in samples. [-]
-
-
cs-toggle-loop
-Toggle looping. When processing is finished, engine will start
-again from the initial position. It's not always possible to enable looping
-(for instance all inputs and outputs have infinite length and
-chainsetup length is not explicitly set with 'cs-set-length'). [-]
-
-
cs-set-param
-Interpret general chainsetup parameters like for example
-"-b" (buffersize), "-n" (name), etc. See ecasound (1) for
-more info. [-]
-
-
cs-set-audio-format 'bits,channels,sample_rate'
-Set the default sample parameters for currently selected chainsetup.
-For example cd-quality audio would be "16,2,44100". This does the
-same as command-line argument "-f" (see ecasound (1)). [-]
-
-
cs-status, status, st
-Prints out status information about available chainsetup.
-Detailed information is printed out for connected (=available
-for running) nd selected (=available for editing) chainsetups.
-Other chainsetups are listed, but further details are
-suppressed. To get full details of a specific chainsetup,
-select it with 'cs-select' or 'cs-iselect', and then
-issue 'cs-select'. [s]
-
-
cs-option '-prefix:arg1,...,argN'
-One powerful feature of the interactive-mode is that it
-provides full access to ecasound's command-line syntax.
-For instance, command "cs-option -efb:400,200" means that
-a bandpass filter is added to the currently selected
-chain, with initial parameters 400 (center frequency)
-and 200 (width in Hz).
-
-Note that session level options (such as setting debug level)
-can not be used with 'cs-option' (i.e. only options that modify
-chainsetups).
-
-Note! Ecasound interactive mode implicitly interprets all strings
-beginning with a '-' as "cs-option string".
-
-
-
CHAINS
-Chain is a simple signal flow abstraction. Every chain has one input
-and one output. All chain operators and their controllers are attached
-to chains. Chains can be muted, unmuted and be bypassed. If not
-otherwise stated, all operations are done to currently selected
-chainsetup.
-
-
-
c-add 'cname1,...,cnameN'
-Adds a set of chains. Added chains are automatically selected. Note
-that commas in chain names are not allowed. [-]
-
-
c-remove
-Removes selected chains. [-]
-
-
c-list
-Returns a list of all chains. [S]
-
-
c-select 'cname1,...,cnameN'
-Selects chains. Other chains are automatically deselected. [-]
-
-
c-index-select 'index1,...,indexN', c-iselect 'index1,...,indexN'
-Selects a set of chains based on the list of indixes. Each index is
-an integer value, where '1' refers to the first chain. You can use
-'c-list' and 'c-status' to get a full list of currently available
-chains. [-]
-
-
c-select-all
-Selects all chains. [-]
-
-
c-select-add 'cname1,...,cnameN'
-Selects more chains. [-]
-
-
c-deselect 'cname1,...,cnameN'
-Deselects chains. [-]
-
-
c-selected
-Returns a list of selected chains. [S]
-
-
c-clear
-Clear selected chains by removing all chain operators and controllers.
-Doesn't change how chains are connected to inputs and outputs. [-]
-
-
c-rename 'new_name'
-Renames the selected chain. When using this command, exactly one chain must
-be selected. [-]
-
-
c-muting, c-mute
-Toggle chain muting. When chain is muted, all data that goes through
-is muted. [-]
-
-
c-bypass
-Toggle chain bypassing. When chain is bypassed, sample data is passed
-through unprocessed (all chain operators are disabled for the given
-chain). [-]
-
-
c-status, cs
-Print status info about all chains. [s]
-
-
-
-
AUDIO INPUT/OUTPUT OBJECTS
-If not otherwise stated, all operations are done to currently selected
-object. All commands with ai- prefix operate on audio inputs,
-while commands with ao- operate on outputs.
-
-
-
-
ai-add 'input_format_string'
-Adds a new input object. See ecasound (1) man page for more info about
-the argument format ('-i' option). Note on syntax: if any of
-the parameters (such as a filename) contains commas, the parameter
-should be enclosed in double-quotes. [-]
-
-
ao-add 'output_format_string'
-Adds a new output object. See ecasound (1) man page for more info about
-the argument format ('-o' option). If argument is omitted,
-a default output device is added (see ecasoundrc (5)). Note on syntax: if any
-of the parameters (such as a filename) contains commas, the parameter
-should be enclosed in double-quotes. [-]
-
-
ao-add-default
-Adds the default output device (see ecasoundrc (5)). [-]
-
-
ai-describe, ao-describe
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the input/output. See the Ecasound User's Guide
-for more information about EOS. This command was introduced in
-ecasound 2.4.4. [s]
-
-
ai-select 'aobject_name', ao-select 'aobject_name'
-Selects an audio object. 'aobject_name' refers to the string
-used when creating the object (the first argument given to ai-add/ao-add).
-Note that as a important difference to ai-add/ao-add, one should not
-enclose the object name in double quotes for ai-select/ao-select. In the
-case a chainsetup contains multiple inputs, or outputs, with
-identical name, 'ai-select' and 'ao-select' will select
-the first matching instance. In order to select a specific
-instance, the 'ai-iselect' and 'ao-iselect' commands need to
-be used. [-]
-
-
ai-index-select 'aobject_index', ai-iselect 'aobject_index', ao-index-select 'aobject_index', ao-iselect 'aobject_index'
-Select some audio object based on a short index string. Especially file
-names can be rather long. This command can be used to avoid typing
-these long names when selecting audio objects. 'aobject_index' is
-an integer value, where '1' refers to the first audio input/output.
-You can use 'ai-list' and 'ao-list' to get a full list of currently
-available inputs/outputs. [-]
-
-
ai-selected, ao-selected
-Returns the name of the currently selected audio object. [s]
-
-
ai-attach, ao-attach
-Attaches the currently selected audio object to all selected chains. [-]
-
-
ai-remove, ao-remove
-Removes the currently selected audio object from the chainsetup. [-]
-
-
ai-forward 'time_in_seconds', ai-fw 'time_in_seconds', ao-forward 'time_in_seconds', ao-fw 'time_in_seconds'
-Selected audio object is forwarded by 'time-in-seconds' seconds.
-Time should be given as a floating point value (eg. 0.001 is the
-same as 1ms). [-]
-
-
ai-rewind 'time_in_seconds', ai-rw 'time_in_seconds', ao-rewind 'time_in_seconds', ao-rw 'time_in_seconds'
-Selected audio object is rewinded by 'time-in-seconds' seconds.
-Time should be given as a floating point value (eg. 0.001 is the
-same as 1ms). [-]
-
-
ai-setpos 'time_in_seconds', ai-set-position 'time_in_seconds', ao-setpos 'time_in_seconds', ao-set-position 'time_in_seconds'
-Set audio object position to 'time_in_seconds'. [-]
-
-
ai-set-position-samples 'time_in_samples', ao-set-position-samples 'time_in_samples'
-Set audio object position to 'time_in_samples'. [-]
-
-
ai-getpos, ai-get-position, ao-getpos, ao-get-position
-Returns the audio object position in seconds. [f]
-
-
ai-get-position-samples, ao-get-position-samples
-Returns the audio object position in samples. [li]
-
-
ai-get-length, ao-get-length
-Returns the audio object length in seconds. [f]
-
-
ai-get-length-samples, ao-get-length-samples
-Returns the audio object length in samples. [li]
-
-
ai-get-format, ao-get-format
-Returns the audio format of the selected audio input/output as a
-formatted string. See documentation for '-f' command-line option. [s]
-
-
ai-list, ao-list
-Returns a list of all input/output objects. [S]
-
-
aio-register
-Prints a list of registered audio object types. [s]
-
-
aio-status
-Audio object status (index strings, position, length, etc). [s]
-
-
-
-
CHAIN OPERATORS
-Chain operators are used to process and analyze sample data.
-They are attached to chains. If not otherwise stated,
-currently selected chainsetup and chain are used. Also,
-'chainop_id' and 'param_id' are used to select chain operators
-and their parameters. First valid value for these parameters
-is 1.
-
-
-
cop-add 'cop_format_string'
-Adds a new chain operator. In addition to normal chain operators,
-this commmand can also be used to add effect presets and various
-plugins. Note; it is not possible to add operators to multiple
-chains at once. In other words only one chain should be selected
-when issuing 'cop-add'. See ecasound (1) man page for more info. [-]
-
-
cop-describe
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the chain operator. See the Ecasound User's Guide
-for more information about EOS. This command was introduced in
-ecasound 2.4.4. [s]
-
-
cop-remove
-Removes the selected chain operator. [-]
-
-
cop-list
-Returns a list of all chain operators attached to the currently
-selected chain. [S]
-
-
cop-select 'param_id', cop-index-select 'param_id', cop-iselect 'param_id'
-Selects a chain operator. [-]
-
-
cop-selected
-Returns the index number of currently selected chain operator. [i]
-
-
cop-set 'chainop_id,param_id,value'
-Changes the value of a single chain operator parameter. Unlike other
-chain operator commands, this can also be used during processing.
-See also 'cop-get'. [-]
-
-
cop-get 'chainop_id,param_id'
-Returns the current value of chain operator parameter identified by
-'chainop_id' and 'param_id'. This command is a shorthand for
-'cop-select chainop_id ; copp-iselect param_id ; copp-get'. [f]
-
-
cop-status
-Returns info about chain operator status. [s]
-
-
copp-list
-Returns a list of selected chain operator's parameters. [S]
-
-
copp-select 'param_id', copp-index-select 'param_id', copp-iselect 'param_id'
-Selects a chain operator parameter. [-]
-
-
copp-selected
-Returns the index number of currently selected chain operator parameter. [i]
-
-
copp-set 'value'
-Sets the selected parameter value to 'value'. [-]
-
-
copp-get
-Returns the selected parameter value. See also 'cop-get'. [f]
-
-
cop-register
-Prints a list of registered chain operators. [s]
-
-
preset-register
-Prints a list of registered effect presets. [s]
-
-
ladspa-register
-Prints a list of registered LADSPA plugins. [s]
-
-
-
-
CONTROLLERS
-Controllers are used to control individual chain operator parameters.
-They are attached to chains. If not otherwise stated, currently
-selected chainsetup and chains are used.
-
-
ctrl-add 'copc_format_string'
-Adds a new controller and attach it to currently selected chain
-operator. The argument syntax is either "-<id_string>:par1,...,parN"
-or just "<id_string>:par1,...,parN". If parameter itself contains
-commas, the parameter should be enclosed in double-quotes.
-See ecasound (1) man page for more info. [-]
-
-
ctrl-describe
-Returns a Ecasound Option Syntax (EOS) compliant string
-describing the controller. See the Ecasound User's Guide
-for more information about EOS. This command was introduced in
-ecasound 2.4.4. [s]
-
-
ctrl-remove
-Removes the selected controller. [-]
-
-
ctrl-list
-Returns a list of all controllers attached to the currently
-selected chain. [S]
-
-
ctrl-select 'param_id', ctrl-index-select 'param_id', ctrl-iselect 'param_id'
-Selects a controller. [-]
-
-
ctrl-selected
-Returns the index number of currently selected controller. [i]
-
-
ctrl-status
-Returns info about controller status. [s]
-
-
ctrl-register
-Prints a list of registered controllers. [s]
-
-
ctrl-get-target
-Returns the index number of the chain operator that is
-connected to the selected controller. The returned index
-refers to the currently selected chain (see 'cop-list'). [i]
-
-
ctrlp-list
-Returns a list of all controller parameters. This command was introduced in
-ecasound 2.4.2. [S]
-
-
ctrlp-select
-Selects a controller parameter. This command was introduced in
-ecasound 2.4.2. [-]
-
-
ctrlp-selected
-Returns the index number of currently selected controller parameter. This command
-was introduced in ecasound 2.4.2. [i]
-
-
ctrlp-get
-Returns the selected controller parameter value. This command was introduced in
-ecasound 2.4.2. [f]
-
-
ctrlp-set
-Sets the selected controller parameter value to 'value'. This command was introduced in
-ecasound 2.4.2. [-]
-
-
-
-
JACK CONNECTION MANAGEMENT
-If Ecasound is compiled with support for JACK audio server ,
-the following set of commands is provided for controlling connections
-between JACK ports.
-
-
-
-
jack-connect 'src-port' 'dest-port'
-Make a connection between the two ports given as parameters. This command
-is similar to the 'jack_connect' command line tool that is distributed
-with JACK package. [-]
-
-
jack-disconnect 'src-port' 'dest-port'
-Disconnect the two ports given as parameters. This command is similar
-to the 'jack_disconnect' command line tool that is distributed
-with JACK package. [-]
-
-
jack-list-connections
-Returns a list of all JACK ports and a list of connections
-for each port. This command is similar to the 'jack_lsp' command
-line tool (e.g. 'jack_lsp -c') that is distributed with JACK package. [s]
-
-
-
-
INTERNAL COMMANDS
-Internal commands are not directly aimed at normal use. They
-are primarily meant for use in scripting and frontends.
-
-
-
int-cmd-list
-Returns a list of all registered interactive mode commands. [S]
-
-
int-log-history
-Returns recent log messages sent by libecasound modules. This
-is a good tool for debugging ECI/EIAM scripts and applications. This
-command was introduced in ecasound 2.4.0. [s]
-
-
int-output-mode-wellformed
-Select the well-format output format for log messages. [-]
-
-
int-set-float-to-string-precision
-Sets precision used in float to text conversions. Note that
-this can be used to control the precision of float return values
-for ECI commands. [-]
-
-
int-set-log-history-length
-Sets the log history length. Defaults to 0 items.
-This command was introduced in ecasound 2.4.0. [-]
-
-
int-cmd-version-string
-Returns ecasound interactive mode parser version string. [s]
-
-
int-cmd-version-lib-current
-Returns ecasound interactive mode library interface version (libtool). [i]
-
-
int-cmd-version-lib-revision
-Returns ecasound interactive mode library interface revision (libtool). [i]
-
-
int-cmd-version-lib-age
-Returns ecasound interactive mode library interface age (libtool). [i]
-
-
-
-
OBJECT MAPS
-Object maps are central repositories for commonly used object types.
-By querying the maps, applications can get a list of all registered
-object types and their properties.
-
-
-
-
map-cop-list
-Prints a list of registered chain operators using
-the format specified in section OPERATOR DESCRIPTIONS . [s]
-
-
map-preset-list
-Prints a list of registered effect presets using
-the format specified in section OPERATOR DESCRIPTIONS . [s]
-
-
map-ladspa-list
-Prints a list of registered LADSPA plugins using
-the format specified in section OPERATOR DESCRIPTIONS . [s]
-
-
map-ladspa-id-list
-Prints a list of registered LADSPA plugins using
-the format specified in section OPERATOR DESCRIPTIONS .
-Numerical LADPSA plugin identifiers are used. [s]
-
-
map-ctrl-list
-Prints a list of registered controllers using
-the format specified in section OPERATOR DESCRIPTIONS . [s]
-
-
-
-
DUMP COMMANDS
-The following dump commands are not meant for normal use.
-Their primary purpose is to provide an easy way to get
-internal state information from libecasound. All dump
-commands output a single line with syntax "key value"
-to the selected output stream (defaults to stdout).
-
-
-
-
dump-target 'filename'
-Set target stream for dumping. [-]
-
-
dump-status
-Dumps engine status - 'running', 'stopped', 'finished' or 'notready'. [-]
-
-
dump-position
-Dumps the global position. Printed in seconds using a floating-point
-representation. [-]
-
-
dump-length
-Dumps the overall processing length. Printed in seconds using a floating-point
-representation. [-]
-
-
dump-cs-status
-Dumps status string for the currently selected chainsetup - 'connected',
-'selected' or an empty string. [-]
-
-
dump-c-selected
-Dumps the name of currently selected chain. [-]
-
-
dump-ai-selected
-Dumps label of currently selected audio input. If no input is
-selected, dumps an empty string. [-]
-
-
dump-ai-position
-Dumps position of currently selected audio inputs. Printed in
-seconds, using a floating-point representation. [-]
-
-
dump-ai-length
-Dumps length of currently selected audio input. Printed in seconds,
-using a floating-point representation. [-]
-
-
dump-ai-open-state
-Dumps audio input state info. Either 'open' or 'closed'. [-]
-
-
dump-ao-selected
-Dumps label of currently selected audio output. If no output is
-selected, dumps an empty string. [-]
-
-
dump-ao-position
-Dumps position of currently selected audio outputs. Printed in
-seconds, using a floating-point representation. [-]
-
-
dump-ao-length
-Dumps length of currently selected audio output. Printed in seconds,
-using a floating-point representation. [-]
-
-
dump-ao-open-state
-Dumps audio output state info. Either 'open' or 'closed'. [-]
-
-
dump-cop-value 'chainop,param'
-Dumps chain operator parameter value. 'chainop' and 'param' are
-operator and parameter index values (1...n). [-]
-
-
-
-
OPERATOR DESCRIPTIONS
-The map-xxx-list commands return a string containing all registered
-objects of the given type xxx . Each line of the output describes
-one registered type. The used syntax is:
-
-'keyword,name,description,num_of_params,par1_def,par2_def,...'
-
-parX_def describes one object parameter. This definition
-is present for all parameters of the described object type.
-The used syntax is:
-
-'name,description,defaultvalue,upper_bound_flag,upper_bound,
-lower_bound_flag,lower_bound,toggled_flag,integer_flag,
-logarithmic_flag,output_flag'
-
-For exact descriptions of these fields, please see
-the header file ecasound/libecasound/eca-operator.h .
-
-
DEPRECATED COMMANDS
-Use of following commands is deprecated. They still work in
-current version of Ecasound, but will be dropped in
-the future:
-
-
- ai-wave-edit, ao-wave-edit
-
-
-
SEE ALSO
- ecasound (1), ecatools (1), ecasoundrc (5)
-
-
AUTHOR
- Kai Vehmanen, <kvehmanen -at- eca -dot- cx >
diff --git a/library/ecasound/Documentation/ecasound.1 b/library/ecasound/Documentation/ecasound.1
deleted file mode 100644
index 1dfd0ff2c..000000000
--- a/library/ecasound/Documentation/ecasound.1
+++ /dev/null
@@ -1,1110 +0,0 @@
-.TH "ecasound" "1" "18\&.08\&.2010" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecasound \- sample editor, multitrack recorder, fx-processor, etc\&.
-.PP
-.SH "SYNOPSIS"
-\fBecasound\fP [ general_options ] { [ chain_setup ] [ effect_setup ] [ input_setup ] [ output_setup ] }
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecasound is a software package designed for multitrack audio
-processing\&. It can be used for simple tasks like audio playback,
-recording and format conversions, as well as for multitrack effect
-processing, mixing, recording and signal recycling\&. Ecasound supports
-a wide range of audio inputs, outputs and effect algorithms\&.
-Effects and audio objects can be combined in various ways, and their
-parameters can be controlled by operator objects like oscillators
-and MIDI-CCs\&. A versatile console mode user-interface is included
-in the package\&.
-.PP
-.SH "OPTIONS"
-
-.PP
-Note! All options except those mentioned in \fIecasound options\fP and
-\fIGlobal options\fP, can be used in ecasound chainsetup files (\&.ecs)\&.
-.PP
-\fBECASOUND OPTIONS\fP
-.IP
-These options are parsed and handled by the ecasound frontend binary and
-are not passed to backend library\&. This means that these options may
-not work in other applications that use ecasound libraries for their
-functionality\&.
-.IP
-.IP "-c"
-Starts ecasound in interactive mode\&. In interactive mode you can
-control ecasound with simple commands ("start", "stop", "pause",
-etc\&.)\&. See ecasound-iam \&.
-.IP
-.IP "-C"
-Disables ecasound\&'s interactive mode (see \&'-c\&' and \&'-K\&')\&.
-
-.IP
-.IP "-D"
-Print all debug information to stderr (unbuffered, plain output
-without ncurses)\&.
-.IP
-.IP "-s[:]chainsetup-file"
-Create a new chainsetup from file \&'chainsetup-file\&' and add
-it to the current session\&. Chainsetup files commonly have
-a filename ending to the \&'\&.ecs\&' extension\&. A chainsetup can
-contain inputs, outputs, chains, effects, controllers -- i\&.e\&.
-objects one one specific configuration of audio processing
-elements\&. A session, on the other hand, is a collection of
-one or more chainsetups\&. Only one of the chainsetups may be
-connected (i\&.e\&. it can be run/processed)\&. But it is possible
-to have another chainsetup select (i\&.e\&. can be configured)
-while other one is current connteced (i\&.e\&. running)\&.
-.IP
-.IP "-E "cmd1 [[args] ; cmd2 args ; \&.\&.\&. ; cmdN]""
-Execute a set of Ecasound Interactive mode (EIAM) commands
-at launch\&. These commands are executed immediately after
-ecasound is started\&. If the command line contains sufficient
-options to create a valid chainsetup that will be executed,
-the launch commands are executed after the other command
-line options are parsed, but before the processing engine
-is started\&. Note that this command is a feature of
-the ecasound frontend binary and not supported by
-the library backend\&. This means that other clients may
-not support the \&'-E\&' option, and also that the launch
-commands are not saved as part of chainsetup or session
-state\&.
-.IP
-.IP "--server"
-Enables the so called NetECI mode, in which ecasound can
-be controlled remotely over a socket connection\&. When
-activated, clients can connect to the running ecasound
-session, and use interactive mode commands to control and
-observe ecasound processing\&.
-.IP
-The NetECI protocol is defined in
-Ecasound\&'s Programmer Guide
-.IP
-One example client using this feature is ecamonitor(1)\&. This
-utility is included in the Ecasound distribution package (requires
-a working Python environment)\&.
-.IP
-\fIWarning!\fP If the machine running ecasound, is connected to
-a public network, be sure to block ecasound\&'s port in your
-firewall! As there is no access control implemented for incoming
-connections, anyone can otherwise connect, control and observe your
-ecasound sessions\&.
-This option replaces \&'--daemon\&' (deprecated in 2\&.6\&.0)\&.
-.IP
-.IP "--server-tcp-port=NNN"
-Set the TCP port used by the daemon mode\&. By default
-ecasound will use port number \fI2868\fP\&.
-This option replaces \&'--daemon-port\&' (deprecated in 2\&.6\&.0)\&.
-.IP
-.IP "--no-server"
-Disable ecasound\&'s daemon mode\&. This is the default\&.
-This option replaces \&'--nodaemon\&' (deprecated in 2\&.6\&.0)\&.
-.IP
-.IP "--osc-udp-port=NNN"
-Enables support for Open Source Control (OSC)\&. Ecasound will listen
-for incoming OSC messages on UDP port NNN\&. Ecasound\&'s OSC interface
-is documented at:
-
-.IP
-Note that OSC support is still experimental and the interface
-might change in later versions of Ecasound\&.
-.IP
-This option was added to ecasound 2\&.7\&.0\&.
-.IP
-.IP "--keep-running,-K"
-Do not exit when processing is finished/stopped\&. Only affects
-non-interactive operating mode (see -c/-C)\&.
-Option added to ecasound 2\&.4\&.2\&.
-.IP
-.IP "--help,-h"
-Show this help\&.
-.IP
-.IP "--version"
-Print version info\&.
-.IP
-\fBGLOBAL OPTIONS\fP
-.PP
-.IP "-d, -dd, -ddd"
-Increase the amount of printed debug messages\&. \fI-d\fP adds
-some verbosity, while \fI-ddd\fP results in very detailed
-output\&.
-.IP
-.IP "-d:debug_level"
-Set the debug level mask to \&'debug_level\&'\&. This a bitmasked value with
-the following classes: errors (1), info (2), subsystems (4), module_names (8),
-user_objects (16), system_objects 32, functions (64), continuous (128) and
-eiam_return_values (256)\&. Default is 271 (1+2+4+8+256)\&. See sourcode
-documentation for the ECA_LOGGER class for more detailed information\&.
-.IP
-.IP "-R[:]path-to-file"
-Use ecasound resource file (see ecasoundrc man page) \&'path-to-file\&' as
-the only source of setting resource value\&. Specifying this option
-will disable the normal policy of querying both global and user (if exists)
-resource files\&.
-.IP
-.IP "-q"
-Quiet mode, no output\&. Same as \fI-d:0\fP\&.
-.IP
-\fBGENERAL CHAINSETUP OPTIONS\fP
-
-.IP
-.IP "-a:chainname1, chainname2, \&.\&.\&."
-Selects active signal chains\&. All inputs and outputs following
-this \&'-a\&' option are assigned to selected chains (until a new -a
-option is specified)\&. When adding effects, controllers and other
-chain operators, only one chain can be selected at a time\&. If no -a option
-has been given, chain \&'default\&' is used instead when adding objects\&.
-Chain name \&'all\&' is also reserved\&. It will cause all existing chains
-to be selected\&. By giving multiple -a options, you can control to which
-chains effects, inputs and outputs are assigned to\&. Look at the \fBEXAMPLES\fP
-section for more detailed info about the usage of this option\&.
-.IP
-.IP "-n:name"
-Sets the name of chainsetup to \&'name\&'\&. If not specified, defaults
-either to "command-line-setup" or to the file name from which
-chainsetup was loaded\&. Whitespaces are not allowed\&.
-.IP
-.IP "-x"
-Truncate outputs\&. All output object are opened in overwrite mode\&.
-Any existing files will be truncated\&.
-.IP
-.IP "-X"
-Open outputs for updating\&. Ecasound opens all outputs - if target
-format allows it - in readwrite mode\&.
-.IP
-.IP "-z:feature"
-Enables \&'feature\&'\&. Most features can be disabled using notation
-\fI-z:nofeature\fP\&. \&'-z:db,dbsize\&' enables double-buffering for audio
-objects that support it (dbsize=0 for default, otherwise buffer
-size in sample frames)\&. \&'-z:nodb\&' disables double-buffering\&.
-\&'-z:intbuf\&' and \&'-z:nointbuf\&' control whether extra internal buffering
-is allowed for realtime devices\&. Disabling this can reduce
-latency times in some situations\&. With \&'-z:xruns\&', processing will be
-halted if an under/overrun occurs\&. \&'-z:multitrack\&' and
-\&'z:nomultitrack\&' can be used to force ecasound to enable or disable
-multitrack-mode\&. In rare cases you may want to explicitly specify
-the recording offset with \&'-z:multitrack,offset-in-samples\&'\&. The
-offset is the amount of samples skipped when recording from
-real-time inputs\&. \&'-z:psr\&' enables the \fIprecise-sample-rates\fP mode
-for OSS-devices\&. \&'-z:mixmode,sum\&' enables mixing mode where channels
-are mixed by summing all channels\&. The default is \&'-z:mixmode,avg\&',
-in which channels are mixed by averaging\&. Mixmode selection was first
-added to ecasound 2\&.4\&.0\&.
-See ecasoundrc man page\&.
-.IP
-\fBCHAINSETUP BUFFERING AND PERFORMANCE OPTIONS\fP
-
-.IP
-.IP "-B:buffering_mode"
-Selects the default buffering mode\&. Mode is one of: \&'auto\&' (default),
-\&'nonrt\&', \&'rt\&', \&'rtlowlatency\&'\&.
-.IP
-.IP "-b:buffer size"
-Sets the size of buffer in samples (must be an exponent of 2)\&. This
-is quite an important option\&. For real-time processing, you should
-set this as low as possible to reduce the processing delay\&. Some
-machines can handle buffer values as low as 64 and 128\&. In some
-circumstances (for instance when using oscillator envelopes) small
-buffer sizes will make envelopes act more smoothly\&. When not processing
-in real-time (all inputs and outputs are normal files), values between
-512 - 4096 often give better results\&. Default is 1024\&.
-.IP
-.IP "-r:sched_priority"
-Use realtime scheduling policy (SCHED_FIFO)\&. This is impossible if
-ecasound doesn\&'t have root priviledges\&. Beware! This gives better
-performance, but can cause total lock-ups if something goes wrong\&.
-The \&'sched_priority\&' can be omitted (0=omitted)\&. If given,
-this is the static priority to the highest priority ecasound thread\&.
-Other ecasound threads run with priority \&'sched_priority-1\&.\&.\&.n\&'\&.
-Value \&'-1\&' can be used to disable raised-priority mode\&.
-.IP
-.IP "-z:feature"
-Relevant features are -z:db,xxx (-z:nodb) and -z:intbuf (-z:nointbuf)\&.
-See section \fIGeneral chainsetup options\fP for details\&.
-.IP
-\fBPROCESSING CONTROL\fP
-.IP "-t:seconds"
-Sets processing time in seconds (doesn\&'t have to be an integer value)\&.
-If processing time isn\&'t set, engine stops when all inputs are
-finished\&. This option is equivalent to the \&'cs-set-length\&' EIAM
-command\&. A special-case value of \&'-1\&' will set the chainsetup length
-according to the longest input object\&.
-.IP
-.IP "-tl"
-Enables looping\&. When processing is finished, engine will start
-again from beginning\&. This option is equivalent to the \&'cs-loop\&'
-EIAM command\&.
-.IP
-\fBINPUT/OUTPUT SETUP\fP
-.PP
-See ecasound user\&'s guide for
-more detailed documentation\&.
-.PP
-.IP "-G:mgrtype,optstring"
-Sets options for audio object manager type \&'mgrtype\&'\&.
-For available options, see "OBJECT TYPE SPECIFIC NOTES" below\&.
-.IP
-.IP "-f:sample_format,channel,sample-rate,interleaving"
-Sets the audio stream parameters for subsequent audio objects\&.
-To set different parameters for different audio objects, multiple
-\&'-f\&' options have to be specified (note the ordering, the \&'-f\&'
-options should precede the audio objects for them to have any
-effect)\&. See documentation for \&'-i\&' and \&'-o\&' options\&.
-.IP
-When an audio object is opened (e\&.g\&. a file or sound device
-is opened, or connection is made to a sound server), the audio
-stream parameters are passed to the object\&. It should be noted that
-not all audio objects allow to set any or all of the parameters\&.
-For instance when opening existing audio files, many file formats
-have a header describing the file audio parameters\&. In
-these cases the audio file header overrides the parameters
-passed with \&'-f\&' option\&. Similarly when creating JACK inputs and
-outputs, the JACK server mandates the sampling rate and sample
-format\&.
-.IP
-If no \&'-f\&' option is specified, or some of the argument fields
-are left empty (e\&.g\&. \&'-f:,2,44100\&'), ecasound will use default values\&. These
-default values are defined in ecasoundrc configuration file\&. See
-ecasoundrc(5) manual page\&.
-.IP
-Note that ecasound opens out files by default in update mode\&.
-Unless option \&'-x\&' (overwrite outputs) option is given,
-audio parameters of an existing audio file take preference over
-the params set with \&'-f\&'\&.
-.IP
-Sample format is given as a formatted string\&. The first letter is
-either "u", "s" and "f" (unsigned, signed, floating point)\&. The
-following number specifies sample size in bits\&. If sample is
-little endian, "_le" is added to the end\&. Similarly if big endian,
-"_be" is added\&. If endianess is not specified, host byte-order is used\&.
-Currently supported formats are "u8" (same as "8"), "s16_le" (same
-as "16"), "s16_be", "s24_le", "s24_be", "s32_le", "s32_be", "f32_le"
-and "f32_be"\&. An empty string "" picks the system default sample
-format\&.
-.IP
-The 4th parameter defines the channel layout\&. The available
-options are \&'i\&' (interleaved\&' and \&'n\&' (noninterleaved)\&. With
-the noninterleaved setting, ecasound will process samples
-one channel at a time, and the blocksize is set with \&'-b\&'\&.
-The default setting is \&'i\&'\&.
-.IP
-.IP "-y:seconds"
-Sets starting position for last specified input/output\&. If
-you need more flexible control over audio objects, you should
-use the \fI\&.ewf\fP format\&.
-.IP
-.IP "-i[:]input-file-or-device[,params]"
-Specifies a new input source that is connected to all selected chains (chains
-are selected with \&'-a:\&.\&.\&.\&')\&. Connecting multiple inputs to the same chain is
-not possible, but one input can be connected to multiple chains\&. Input can be
-a a file, device or some other audio object (see below)\&. If the input is
-a file, its type is determined using the file name extension\&. If the object
-name contains any commas, the name must be enclosed in backquotes to avoid
-confusing the parser\&. Currently supported formats are RIFF WAVE files (\&.wav),
-audio-cd tracks (\&.cdr), ecasound EWF files (\&.ewf), RAW audio data (\&.raw) and
-MPEG audio files (\&.mp2,\&.mp3)\&. More audio formats are supported via libaudiofile
-and libsndfile libraries (see documentation below)\&. MikMod is also supported (\&.xm,
-\&.mod, \&.s3m, \&.it, etc)\&. MIDI files (\&.mid) are supported using Timidity++\&.
-Similarly Ogg Vorbis (\&.ogg) can be read, and written if ogg123 and vorbize tools
-are installed; FLAC files (\&.flac) with flac command-line tools or using
-libsndfile; and AAC files (\&.aac/\&.m4a/\&.mp4) with faad2/faac tools\&. Supported
-realtime devices are OSS audio devices (/dev/dsp*), ALSA audio and loopback
-devices and JACK audio subsystem\&. If no inputs are specified, the first
-non-option (doesn\&'t start with \&'-\&') command line argument is considered
-to be an input\&.
-.IP
-.IP "-o[:]output-file-or-device[,params]"
-Works in the same way as the -i option\&. If no outputs are specified,
-the default output device is used (see ~/\&.ecasoundrc)\&. If the object
-name contains any commas, the name must be enclosed in backquotes to
-avoid confusing the parser\&. Note, many object types do not support
-output (e\&.g\&. MikMod, MIDI and many others)\&.
-.IP
-\fIOBJECT TYPE SPECIFIC NOTES\fP
-.IP "ALSA devices - \&'alsa\&'"
-When using ALSA drivers, instead of a device filename, you need to
-use the following option syntax: \fB-i[:]alsa,pcm_device_name\fP\&.
-.IP
-.IP "ALSA direct-hw and plugin access - \&'alsahw\&', \&'alsaplugin\&'"
-It\&'s also possible to use a specific card and device combination
-using the following notation: \fB-i[:]alsahw,card_number,device_number,subdevice_number\fP\&.
-Another option is the ALSA PCM plugin layer\&. It works just like
-the normal ALSA pcm-devices, but with automatic channel count and
-sample format conversions\&. Option syntax is
-\fB-i[:]alsaplugin,card_number,device_number,subdevice_number\fP\&.
-.IP
-.IP "aRts input/output - \&'arts\&'"
-If enabled at compile-time, ecasound supports audio input and
-output using aRts audio server\&. Option syntax is \fB-i:arts\fP,
-\fB-o:arts\fP\&.
-.IP
-.IP "Audio file sequencing - \&'audioloop\&', \&'select\&', \&'playat\&'"
-Ecasound provides a set of special audio object types that
-can be used for temporal sequencing of audio files - i\&.e\&. looping,
-playing only a select portion of a file, playing file at a spefific
-time, and other such operation\&.
-.IP
-Looping is possible with \fB-i:audioloop,file\&.ext,params\fP\&. The
-file name (or any object type understood by Ecasound) given
-as the second parameter is played back continuously looping
-back to the beginning when the end of file is reached\&. Any additional
-parameters given are passed unaltered to the file object\&.
-Parameters 3\&.\&.\&.N are passed as is to the child object (i\&.e\&.
-"-i audioloop,foo\&.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo\&.wav" object\&.
-.IP
-To select and use only a specific segment of an audio object,
-the \fB-i:select,start-time,duration,file\&.ext,params\fP can
-be used\&. This will play "duration" of "file\&.ext", starting at
-"start-time"\&. The time values should be given as seconds (e\&.g\&.
-"2\&.25", or as samples (e\&.g\&. "25000sa")\&. Parameters 4\&.\&.\&.N are
-passed as is to the child object\&.
-.IP
-To play an audio object at a given moment in time,
-the \fB-i:playat,play-at-time,file\&.ext,params\fP can be
-used\&. This will play "file\&.ext" after position reaches
-"play-at-time"\&. The time values should be given as seconds (e\&.g\&.
-"2\&.25", or as samples (e\&.g\&. "25000sa")\&. Parameters 2\&.\&.\&.N are
-passed as is to the child object\&.
-.IP
-.IP "Ecasound Wave Files (EWF) - \&'*\&.ewf\&'"
-A special file format that allows to slice and loop full (or segments)
-of audio files\&. This format is specific to Ecasound\&.
-See ecasound user\&'s guide for more
-detailed information\&.
-.IP
-See also audio object types \&'audioloop\&', \&'select\&' and \&'playat\&'\&.
-.IP
-.IP "JACK input/outputs - Overview"
-JACK is a low-latency audio server that can be used to connect
-multiple independent audio application to each other\&.
-It is different from other audio server efforts in that
-it has been designed from the ground up to be suitable for low-latency
-professional audio work\&.
-.IP
-.IP "JACK input/outputs - \&'jack\&'"
-Ecasound provides multiple ways to communicate with JACK
-servers\&. To create a JACK input or output object, one should use \fB-i jack\fP and
-\fB-o jack\fP\&. These create JACK client ports "ecasound:in_N" and
-"ecasound:out_n" respectively (\&'N\&' is replaced by the channel number)\&.
-Ecasound automatically creates one JACK port for each channel (number
-of channels is set with \fB-f:bits,channels,rate\fP option)\&.
-.IP
-It is important to note that by default JACK ports are not connected
-anywhere (e\&.g\&. to soundcard input/outputs, or to other apps)\&. One thus
-has to connect the ports with an external program (e\&.g\&. "QJackCtl"
-or "jack_connect")\&.
-.IP
-.IP "JACK input/outputs - \&'jack,clientname,portprefix\&'"
-\fB"jack,clientname"\fP For simple use scanerios, ecasound provides a way to autoconnect
-the ecasound ports\&. This can be done with by giving the peer client
-name as the second parameter to the "jack" object, e\&.g\&. \fB-o jack,clientname\fP\&.
-As an example, \fB-o jack,system\fP will create an output that is
-automatically connected to outputs of the default system soundcard\&.
-The client parameter can be omitted, in which case no automatic
-connections are made\&.
-.IP
-If one needs to change the port prefix (e\&.g\&. "in" in client name
-"ecasound:in_N"), the prefix can be specified as the third parameter to
-"jack" object, e\&.g\&. \fB-o jack,,fxout\fP\&. Also the third parameter can be
-omitted, in which case the default prefixes "in" and "out" are used\&.
-.IP
-.IP "JACK input/outputs - \&'jack_multi\&'"
-A variant of \&'jack\&' object type is \&'jack_multi\&'\&. The full object syntax
-is \fBjack_multi,destport1,\&.\&.\&.,destportN\fP\&. When a \&'jack_multi\&' object
-is connected to a JACK server, first channel of the object is connected
-to JACK port \&'destport1\&', second to \&'destport2\&' and so forth\&. For
-instance "-f:32,2,44100 -o jack_multi,foo:in,bar:in"
-creates a stereo ecasound output object, with its left and right
-channels routed to two difference JACK clients\&. The destination ports
-must be active when the ecasound engine is launched, or otherwise
-the connections cannot be established\&. If destination ports are not
-specified for all channels, or zero length strings are given, those
-ports are not connected at launch by ecasound\&.
-.IP
-.IP "JACK input/outputs - \&'jack_alsa\&', \&'jack_auto\&', \&'jack_generic\&' (**deprecated since 2\&.6\&.0**)"
-Ecasound 2\&.5 and older supported "jack_alsa", "jack_auto" and "jack_generic" object
-types, but these are now replaced by a more generic "jack" interface, and thus are
-now deprecated (they work but are no longer documented)\&.
-.IP
-.IP "JACK input/outputs - client options"
-Additionally global JACK options can be set using
-\fB-G:jack,client_name,operation_mode\fP option\&. \&'client_name\&'
-is the name used when registering ecasound to the JACK system\&.
-If \&'operation_mode\&' is "notransport", ecasound will ignore
-any transport state changes in the JACK-system; in mode
-"send" it will send all start, stop and position-change events to
-other JACK clients; in mode "recv" ecasound will follow JACK start,
-stop and position-change events; and mode "sendrecv" (the default)
-which is a combination of the two previous modes\&.
-.IP
-More details about ecasound\&'s JACK support can be found
-from Ecasound User\&'s Guide\&.
-.IP
-.IP "Libaudiofile - \&'audiofile\&'"
-If libaudiofile support was enabled at compile-time, this
-option allows you to force Ecasound to use libaudiofile
-for reading/writing a certain audio file\&. Option syntax
-is \fB-i:audiofile,foobar\&.ext\fP (same for \fB-o\fP)\&.
-.IP
-.IP "Libsndfile - \&'sndfile\&'"
-If libsndfile support was enabled at compile-time, this
-option allows you to force Ecasound to use libsndfile
-for reading/writing a certain audio file\&. Option syntax
-is \fB-i:sndfile,foobar\&.ext[,\&.format-ext]\fP (same for \fB-o\fP)\&.
-The optional third parameter "format" can be used to
-override the audio format (for example you can create an
-AIFF file with filename "foo\&.wav")\&.
-.IP
-.IP "Loop device - \&'loop\&'"
-Loop devices make it possible to route (loop back) data between
-chains\&. Option syntax is \fB-[io][:]loop,tag\fP\&. If you add
-a loop output with tag \&'1\&', all data written to this output is routed
-to any loop input with tag \&'1\&'\&. The tag can be either numerical
-(e\&.g\&. \&'-i:loop,1\&') or a string (e\&.g\&. "-i:loop,vocals")\&. Like
-with other input/output objects, you can attach the same loop
-device to multiple chains and this way split/mix the signal\&.
-.IP
-Note: this \&'loop\&' device is different from \&'audioloop\&' (latter
-added to ecasound v2\&.5\&.0)\&.
-.IP
-.IP "Mikmod - \&'mikmod\&'"
-If mikmod support was enabled at compile-time, this
-option allows you to force Ecasound to use Mikmod
-for reading/writing a certain module file\&. Option syntax
-is \fB-i:mikmod,foobar\&.ext\fP\&.
-.IP
-.IP "Null inputs/outputs - \&'null\&'"
-If you specify "null" or "/dev/null" as the input or output,
-a null audio device is created\&. This is useful if you just want
-to analyze sample data without writing it to a file\&. There\&'s
-also a realtime variant, "rtnull", which behaves just like "null"
-objects, except all i/o is done at realtime speed\&.
-.IP
-.IP "Resample - \&'resample\&'"
-Object type \&'resample\&' can be used to resample audio
-object\&'s audio data to match the sampling rate used
-in the active chainsetup\&. For example,
-\fBecasound -f:16,2,44100 -i resample,22050,foo\&.wav -o /dev/dsp\fP,
-will resample file from 22\&.05kHz to 44\&.1kHz and write the
-result to the soundcard device\&. Child sampling rate can be
-replaced with keyword \&'auto\&'\&. In this case ecasound will try
-to query the child object for its sampling rate\&. This works with
-files formats such as \&.wav which store meta information about
-the audio file format\&. To use \&'auto\&' in the previous example,
-\fBecasound -f:16,2,44100 -i resample,auto,foo\&.wav -o /dev/dsp\fP\&.
-.IP
-Parameters 4\&.\&.\&.N are passed as is to the child object (i\&.e\&.
-"-i resample,22050,foo\&.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo\&.wav" object\&.
-.IP
-If ecasound was compiled with support for libsamplerate, you can
-use \&'resample-hq\&' to use the highest quality resampling algorithm
-available\&. To force ecasound to use the internal resampler,
-\&'resampler-lq\&' (low-quality) can be used\&.
-.IP
-.IP "Reverse - \&'reverse\&'"
-Object type \&'reverse\&' can be used to reverse audio
-data coming from an audio object\&. As an example,
-\fBecasound -i reverse,foo\&.wav -o /dev/dsp\fP will play
-\&'foo\&.wav\&' backwards\&. Reversing output objects is not
-supported\&. Note! Trying to reverse audio object types with really
-slow seek operation (like mp3), works extremely badly\&.
-Try converting to an uncompressed format (wav or raw)
-first, and then do reversation\&.
-.IP
-Parameters 3\&.\&.\&.N are passed as is to the child object (i\&.e\&.
-"-i reverse,foo\&.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo\&.wav" object\&.
-.IP
-.IP "System standard streams and named pipes - \&'stdin\&', \&'stdout\&'"
-You can use standard streams (stdin and stdout) by giving \fBstdin\fP
-or \fBstdout\fP as the file name\&. Audio data is assumed to be in
-raw/headerless (\&.raw) format\&. If you want to use named pipes,
-create them with the proper file name extension before use\&.
-.IP
-.IP "Tone generator - \&'tone\&'"
-To generate a test tone, input \fB-i:tone,type,freq,duration-secs\fP
-can be used\&. Parameter \&'type\&' specifies the tone type: currently
-only \&'sine\&' is supported\&. The \&'freq\&' parameter sets the frequency
-of the generated tone and \&'duration-secs\&' the length of the generated
-stream\&. Specifying zero, or a negative value, as the duration will
-produce an infinite stream\&. This feature was first added to Ecasound
-2\&.4\&.7\&.
-.IP
-.IP "Typeselect - \&'typeselect\&'"
-The special \&'typeselect\&' object type can be used to override
-how ecasound maps filename extensions and object types\&. For
-instance \fBecasound -i typeselect,\&.mp3,an_mp3_file\&.wav -o /dev/dsp\fP\&.
-would play the file \&'an_mp3_file\&.wav\&' as an mp3-file and not
-as an wav-file as would happen without typeselect\&.
-.IP
-Parameters 4\&.\&.\&.N are passed as is to the child object (i\&.e\&.
-"-i typeselect,\&.au,foo\&.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo\&.wav" object\&.
-.IP
-\fBMIDI SETUP\fP
-.PP
-.IP "MIDI I/O devices - general"
-If no MIDI-device is specified, the default MIDI-device is
-used (see ecasoundrc(5))\&.
-.IP
-.IP "-Md:rawmidi,device_name"
-Add a rawmidi MIDI I/O device to the setup\&. \&'device_name\&' can be anything
-that can be accessed using the normal UNIX file operations and
-produces raw MIDI bytes\&. Valid devices are for example OSS rawmidi
-devices (/dev/midi00), ALSA rawmidi devices (/dev/snd/midiC2D0), named
-pipes (see mkfifo man page), and normal files\&.
-.IP
-.IP "-Md:alsaseq,sequencer-port"
-Adds a ALSA MIDI sequencer port to the setup\&. \&'sequencer-port\&' identifies
-a port to connect to\&. It can be numerical (e\&.g\&. 128:1), or a client
-name (e\&.g\&. "KMidimon")\&.
-.IP
-.IP "-Mms:device_id"
-Sends MMC start ("Deferred Play") and stop ("Stop") with
-device ID \&'device_id\&'\&.
-.IP
-While Ecasound does not directly support syncing transport state
-to incoming MMC messages, this can be achieved by connecting Ecasound
-to JACK input/outputs, and using a tool such as JackMMC and JackCtlMMC (
-see ) to convert MMC messages
-into JACK transport change events\&.
-.IP
-.IP "-Mss"
-Sends MIDI-sync (i\&.e\&. "MIDI Start" and "MIDI Stop" system realtime
-messages) \&.to the selected MIDI-device\&. Notice that as Ecasound will
-not send \fIMIDI-clock\fP, but only the \fIstart\fP and \fIstop\fP messages\&.
-.IP
-\fBEFFECT SETUP\fP
-.PP
-\fIPRESETS\fP
-.PP
-Ecasound has a powerful effect preset system that allows you create
-new effects by combining basic effects and controllers\&. See
-ecasound user\&'s guide for more
-detailed information\&.
-.PP
-.IP "-pf:preset_file\&.eep"
-Uses the first preset found from file \&'preset_file\&.eep\&' as
-a chain operator\&.
-.IP
-.IP "-pn:preset_name"
-Find preset \&'preset_name\&' from global preset database and use
-it as a chain operator\&. See ecasoundrc man page for info about the
-preset database\&.
-.IP
-\fISIGNAL ANALYSIS\fP
-.PP
-.IP "-ev"
-Analyzes sample data to find out how much the signal can
-be amplified without clipping\&. The resulting percent value
-can be used as a parameter to \&'-ea\&' (amplify)\&. A statistical
-summary, containing info about the stereo-image and
-distribution of sample values, is printed out at the end
-of processing\&.
-.IP
-.IP "-evp"
-Peak amplitude watcher\&. Maintains peak information for
-each processed channels\&. Peak information is resetted
-on every read\&.
-.IP
-.IP "-ezf"
-Finds the optimal value for DC-adjusting\&. You can use the result
-as a parameter to -ezx effect\&.
-.IP
-\fIGENERAL SIGNAL PROCESSING ALGORITHMS\fP
-.IP "-eS:stamp-id"
-Audio stamp\&. Takes a snapshot of passing audio data and stores
-it using id \&'stamp-id\&' (integer number)\&. This data can later be
-used by controllers and other operators\&.
-.IP
-.IP "-ea:amplify%"
-Adjusts the signal amplitude to \&'amplify%\&' percent (linear scale, i\&.e\&.
-individual samples are multiplied by \&'amplify%/100\&')\&. See also
-\&'-eadb\&'\&.
-.IP
-.IP "-eac:amplify%,channel"
-Amplifies signal of channel \&'channel\&' by amplify-% percent (linear
-scale, i\&.e\&. individual samples are multiplied by \&'amplify%/100\&')\&.
-\&'channel\&' ranges from 1\&.\&.\&.n where n is the total number of channels\&.
-See also \&'-eadb\&'\&.
-.IP
-.IP "-eadb:gain-dB[,channel]"
-Adjusts signal level by \&'gain-dB\&', with a gain of 0dB having no effect
-to the signal, negative gains attenuating the signal and positive
-gain values amplifying it\&. The \&'channel\&' parameter (1\&.\&.\&.n) is optional\&.
-If \&'channel\&' parameter is specified, and its value is nonzero, gain is
-only applied to the given channel (1\&.\&.\&.n)\&.
-.IP
-.IP "-eaw:amplify%,max-clipped-samples"
-Amplifies signal by amplify-% percent (linear scale, i\&.e\&. individual
-samples are multiplied by \&'amplify%/100\&')\&. If number of consecutive
-clipped samples (resulting sample value is outside the nominal
-[-1,1] range), a warning will be issued\&.
-.IP
-.IP "-eal:limit-%"
-Limiter effect\&. Limits audio level to \&'limit-%\&' (linear scale) with
-values equal or greater than 100% resulting in no change to
-the signal\&.
-.IP
-.IP "-ec:rate,threshold-%"
-Compressor (a simple one)\&. \&'rate\&' is the compression rate in
-decibels (\&'rate\&' dB change in input signal causes 1dB change
-in output)\&. \&'threshold\&' varies between 0\&.0 (silence) and
-1\&.0 (max amplitude)\&.
-.IP
-.IP "-eca:peak-level-%, release-time-sec, fast-crate, crate"
-A more advanced compressor (original algorithm by John S\&. Dyson)\&.
-If you give a value of 0 to any parameter, the default is used\&.
-\&'peak-level-%\&' essentially specifies how hard the peak limiter
-is pushed\&. The default of 69% is good\&. \&'release_time\&' is given
-in seconds\&. This compressor is very sophisticated, and actually
-the release time is complex\&. This is one of the dominant release
-time controls, but the actual release time is dependent on a lot of
-factors regarding the dynamics of the audio in\&. \&'fastrate\&' is the
-compression ratio for the fast compressor\&. This is not really
-the compression ratio\&. Value of 1\&.0 is infinity to one, while the
-default 0\&.50 is 2:1\&. Another really good value is special cased in
-the code: 0\&.25 is somewhat less than 2:1, and sounds super smooth\&.
-\&'rate\&' is the compression ratio for the entire compressor chain\&.
-The default is 1\&.0, and holds the volume very constant without many nasty
-side effects\&. However the dynamics in music are severely restricted,
-and a value of 0\&.5 might keep the music more intact\&.
-.IP
-.IP "-enm:threshold-level-%,pre-hold-time-msec,attack-time-msec,post-hold-time-msec,release-time-msec"
-Noise gate\&. Supports multichannel processing (each channel
-processed separately)\&. When signal amplitude falls below
-\&'threshold_level_%\&' percent (100% means maximum amplitude), gate
-is activated\&. If the signal stays below the threshold for
-\&'th_time\&' ms, it\&'s faded out during the attack phase of
-\&'attack\&' ms\&. If the signal raises above the \&'threshold_level\&'
-and stays there over \&'hold\&' ms the gate is released during
-\&'release\&' ms\&.
-.IP
-.IP "-ei:pitch-shift-%"
-Pitch shifter\&. Modifies audio pitch by altering its length\&.
-.IP
-.IP "-epp:right-%"
-Stereo panner\&. Changes the relative balance between the first
-two channels\&. When \&'right-%\&' is 0, only signal on the left
-(1st) channel is passed through\&. Similarly if it is \&'100\&',
-only right (2nd) channel is let through\&.
-.IP
-.IP "-ezx:channel-count,delta-ch1,\&.\&.\&.,delta-chN"
-Adjusts the signal DC by \&'delta-chX\&', where X is the
-channel number\&. Use -ezf to find the optimal delta
-values\&.
-.IP
-\fIENVELOPE MODULATION\fP
-
-.IP
-.IP "-eemb:bpm,on-time-%"
-Pulse gate (pulse frequency given as beats-per-minute)\&.
-.IP
-.IP "-eemp:freq-Hz,on-time-%"
-Pulse gate\&.
-.IP
-.IP "-eemt:bpm,depth-%"
-Tremolo effect (tremolo speed given as beats-per-minute)\&.
-.IP
-\fIFILTER EFFECTS\fP
-.IP "-ef1:center_freq, width"
-Resonant bandpass filter\&. \&'center_freq\&' is the center frequency\&. Width
-is specified in Hz\&.
-.IP
-.IP "-ef3:cutoff_freq, reso, gain"
-Resonant lowpass filter\&. \&'cutoffr_freq\&' is the filter cutoff
-frequency\&. \&'reso\&' means resonance\&. Usually the best values for
-resonance are between 1\&.0 and 2\&.0, but you can use even bigger values\&.
-\&'gain\&' is the overall gain-factor\&. It\&'s a simple multiplier (1\&.0
-is the normal level)\&. With high resonance values it often is useful
-to reduce the gain value\&.
-.IP
-.IP "-ef4:cutoff, resonance"
-Resonant lowpass filter (3rd-order, 36dB, original algorithm by Stefan
-M\&. Fendt)\&. Simulates an analog active RC-lowpass design\&. Cutoff is a
-value between [0,1], while resonance is between [0,infinity)\&.
-.IP
-.IP "-efa:delay-samples,feedback-%"
-Allpass filter\&. Passes all frequencies with no change in amplitude\&.
-However, at the same time it imposes a frequency-dependent
-phase-shift\&.
-.IP
-.IP "-efc:delay-samples,radius"
-Comb filter\&. Allows the spikes of the comb to pass through\&.
-Value of \&'radius\&' should be between [0, 1\&.0)\&.
-.IP
-.IP "-efb:center-freq,width"
-Bandpass filter\&. \&'center_freq\&' is the center frequency\&. Width
-is specified in Hz\&.
-.IP
-.IP "-efh:cutoff-freq"
-Highpass filter\&. Only frequencies above \&'cutoff_freq\&' are passed
-through\&.
-.IP
-.IP "-efi:delay-samples,radius"
-Inverse comb filter\&. Filters out the spikes of the comb\&. There
-are \&'delay_in_samples-2\&' spikes\&. Value of \&'radius\&' should be
-between [0, 1\&.0)\&. The closer it is to the maximum value,
-the deeper the dips of the comb are\&.
-.IP
-.IP "-efl:cutoff-freq"
-Lowpass filter\&. Only frequencies below \&'cutoff_freq\&' are passed
-through\&.
-.IP
-.IP "-efr:center-freq,width"
-Bandreject filter\&. \&'center_freq\&' is the center frequency\&. Width
-is specified in Hz\&.
-.IP
-.IP "-efs:center-freq,width"
-Resonator\&. \&'center_freq\&' is the center frequency\&. Width is specified
-in Hz\&. Basicly just another resonating bandpass filter\&.
-.IP
-\fICHANNEL MIXING / ROUTING\fP
-
-.IP
-.IP "-chcopy:from-channel, to-channel"
-Copy channel \&'from_channel\&' to \&'to_channel\&'\&. If \&'to_channel\&'
-doesn\&'t exist, it is created\&. Channel indexing starts from 1\&.
-Option added to ecasound 2\&.4\&.5\&.
-.IP
-.IP "-chmove:from-channel, to-channel"
-Copy channel \&'from_channel\&' to \&'to_channel\&', and mutes the source
-channel \&'from_channel\&'\&. Channel indexing starts from 1\&.
-Option added to ecasound 2\&.4\&.5\&.
-.IP
-.IP "-chorder:ch1,\&.\&.\&.,chN"
-Reorder, omit and/r duplicate chain channels\&. The resulting
-audio stream has total of \&'N\&' channels\&. Each parameter specifies
-the source channel to use for given output channel\&. As an
-example, \&'-chorder:2,1\&' would reverse the channels of
-a stereo stream (\&'out1,out2\&' = \&'in2,in1\&')\&. Specifying the same
-source channel multiple times is allowed\&. For example, \&'-chorder:2,2\&'
-would route the second channel to both two output channels
-(\&'out1,out2\&' = \&'in2,in2\&')\&. If \&'chX\&' is zero, the given channel \&'X\&'
-will be muted in the output stream\&. Option added to ecasound 2\&.7\&.0\&.
-.IP
-.IP "-chmix:to-channel"
-Mix all source channels to channel \&'to_channel\&'\&. If \&'to_channel\&'
-doesn\&'t exist, it is created\&. Channel indexing starts from 1\&.
-Option added to ecasound 2\&.4\&.5\&.
-.IP
-.IP "-chmute:channel"
-Mutes the channel \&'channel\&'\&. Channel indexing starts from 1\&.
-Option added to ecasound 2\&.4\&.5\&.
-.IP
-.IP "-erc:from-channel,to-channel"
-Deprecated, see \fI-chcopy\fP\&.
-.IP
-.IP "-erm:to-channel"
-Deprecated, see \fI-chmix\fP\&.
-.IP
-\fITIME-BASED EFFECTS\fP
-
-.IP
-.IP "-etc:delay-time-msec,variance-time-samples,feedback-%,lfo-freq"
-Chorus\&.
-.IP
-.IP "-etd:delay-time-msec,surround-mode,number-of-delays,mix-%,feedback-%"
-Delay effect\&. \&'delay time\&' is the delay time in milliseconds\&.
-\&'surround-mode\&' is a integer with following meanings: 0 = normal,
-1 = surround, 2 = stereo-spread\&. \&'number_of_delays\&' should be
-obvious\&. Beware that large number of delays and huge delay times
-need a lot of CPU power\&. \&'mix-%\&' determines how much effected (wet)
-signal is mixed to the original\&. \&'feedback-%\&' represents how much of
-the signal is recycled in each delay or, if you prefer, at what rate
-the repeated snippet of delayed audio fades\&. Note that sufficiently
-low feedback values may result in a number of audible repetitions
-lesser than what you have specified for \&'number_of_delays\&', especially
-if you have set a low value for \&'mix-%\&'\&. By default the value for this
-parameter is 100% (No signal loss\&.)\&.
-.IP
-.IP "-ete:room_size,feedback-%,wet-%"
-A more advanced reverb effect (original algorithm by Stefan M\&. Fendt)\&.
-\&'room_size\&' is given in meters, \&'feedback-%\&' is the feedback level
-given in percents and \&'wet-%\&' is the amount of reverbed signal added
-to the original signal\&.
-.IP
-.IP "-etf:delay-time-msec"
-Fake-stereo effect\&. The input signal is summed to mono\&. The
-original signal goes to the left channels while a delayed
-version (with delay of \&'delay time\&' milliseconds) is goes to
-the right\&. With a delay time of 1-40 milliseconds this
-adds a stereo-feel to mono-signals\&.
-.IP
-.IP "-etl:delay-time-msec,variance-time-samples,feedback-%,lfo-freq"
-Flanger\&.
-.IP
-.IP "-etm:delay-time-msec,number-of-delays,mix-%"
-Multitap delay\&. \&'delay time\&' is the delay time in milliseconds\&.
-\&'number_of_delays\&' should be obvious\&. \&'mix-%\&' determines how much
-effected (wet) signal is mixed to the original\&.
-.IP
-.IP "-etp:delay-time-msec,variance-time-samples,feedback-%,lfo-freq"
-Phaser\&.
-.IP
-.IP "-etr:delay-time,surround-mode,feedback-%"
-Reverb effect\&. \&'delay time\&' is the delay time in milliseconds\&.
-If \&'surround-mode\&' is \&'surround\&', reverbed signal moves around the
-stereo image\&. \&'feedback-%\&' determines how much effected (wet)
-signal is fed back to the reverb\&.
-.IP
-\fILADSPA-PLUGINS\fP
-.IP "-el:plugin_unique_name,param-1,\&.\&.\&.,param-N"
-Ecasound supports LADSPA-effect plugins (Linux Audio Developer\&'s Simple
-Plugin API)\&. Plugins are located in shared library (\&.so) files in
-/usr/local/share/ladspa (configured in ecasoundrc man page)\&. One shared
-library file can contain multiple plugin objects, but every plugin
-has a unique plugin name\&. This name is used for selecting plugins\&.
-See LAD mailing list web site for
-more info about LADSPA\&. Other useful sites are LADSPA home
-page and LADSPA
-documentation\&.
-.IP
-.IP "-eli:plugin_unique_number,param-1,\&.\&.\&.,param-N"
-Same as above expect plugin\&'s unique id-number is used\&. It
-is guaranteed that these id-numbers are unique among all
-LADSPA plugins\&.
-.IP
-\fIGATE SETUP\fP
-.PP
-.IP "-gc:start-time,len"
-Time crop gate\&. Initially gate is closed\&. After \&'start-time\&' seconds
-has elapsed, gate opens and remains open for \&'len\&' seconds\&. When
-closed, passing audio buffers are trucated to zero length\&.
-.IP
-.IP "-ge:open-threshold-%,close-thold-%,volume-mode,reopen-count"
-Threshold gate\&. Initially gate is closed\&. It is opened when volume
-goes over \&'othreshold\&' percent\&. After this, if volume drops below
-\&'cthold\&' percent, gate is closed and won\&'t be opened again, unless the
-\&'reopen-count\&' is set to anything other than zero\&.
-If \&'value_mode\&' is \&'rms\&', average RMS volume is used\&. Otherwise
-peak average is used\&. When closed, passing audio buffers are trucated
-to zero length\&.
-If the \&'reopen-count\&' is set to a positive number, then the gate will
-restart its operation that many times\&. So for example, a reopen count
-of 1 will cause up to 2 openings of the gate\&. A negative value for \&'reopen-count\&'
-will result in the gate reopening indefinitely\&. The \&'reopen-count\&' is invaluable
-in recording vinyl and tapes, where you can set things up and then recording
-starts whenever the needle is on the vinyl, and stops when it\&'s off\&. As many sides
-as you like can be recorded in one session\&. You will need to experiment with
-buffer lengths and start/stop levels to get reliable settings for your equipment\&.
-.IP
-.IP "-gm:state"
-Manual gate\&. If \&'state\&' is 1, gate is open and all samples are
-passed through\&. If \&'state\&' is zero, gate is closed an no samples are
-let through\&. This chain operator is useful when writing to an output
-needs to be stopped dynamically (without stopping the whole engine)\&.
-.IP
-\fICONTROL ENVELOPE SETUP\fP
-
-.IP
-Controllers can be used to dynamically change effect parameters
-during processing\&. All controllers are attached to the selected
-(=usually the last specified effect/controller) effect\&. The first
-three parameters are common for all controllers\&. \&'fx_param\&'
-specifies the parameter to be controlled\&. Value \&'1\&' means
-the first parameter, \&'2\&' the second and so on\&. \&'start_value\&'
-and \&'end_value\&' set the value range\&. For examples, look at the
-the \fBEXAMPLES\fP section\&.
-.IP
-.IP "-kos:fx-param,start-value,end-value,freq,i-phase"
-Sine oscillator with frequency of \&'freq\&' Hz and initial phase
-of \&'i_phase\&' times pi\&.
-.IP
-.IP "-kog:fx-param,freq,mode,point-pairs,start-value,end-value,pos1,value1,\&.\&.\&."
-Generic oscillator\&. Frequency \&'freq\&' Hz, mode either \&'0\&' for
-static values or \&'1\&' for linear interpolation\&. \&'point-pairs\&'
-specifies the number of \&'posN\&' - \&'valueN\&' pairs to include\&.
-\&'start-value\&' and \&'end-value\&' are used as border values\&.
-All \&'posN\&' and \&'valueN\&' must be between 0\&.0 and 1\&.0\&. Also,
-for all \&'posN\&' values \&'pos1 < pos2 < \&.\&.\&. < posN\&' must be true\&.
-.IP
-.IP "-kf:fx-param,start-value,end-value,freq,mode,genosc-number"
-Generic oscillator\&. \&'genosc_number\&' is the number of the
-oscillator preset to be loaded\&. Mode is either \&'0\&' for
-static values or \&'1\&' for linear interpolation\&. The location for
-the preset file is taken from \&./ecasoundrc (see \fIecasoundrc man page\fP)\&.
-.IP
-.IP "-kl:fx-param,start-value,end-value,time-seconds"
-Linear envelope that starts from \&'start_value\&' and linearly
-changes to \&'end_value\&' during \&'time_in_seconds\&'\&. Can
-be used for fadeins and fadeouts\&.
-.IP
-.IP "-kl2:fx-param,start-value,end-value,1st-stage-length-sec,2nd-stage-length-sec"
-Two-stage linear envelope, a more versatile tool for doing fade-ins
-and fade-outs\&. Stays at \&'start_value\&' for \&'1st_stage_length\&' seconds
-and then linearly changes towards \&'end_value\&' during
-\&'2nd_stage_length\&' seconds\&.
-.IP
-.IP "-klg:fx-param,low-value,high-value,point_count,pos1,value1,\&.\&.\&.,posN,valueN"
-Generic linear envelope\&. This controller source can be
-used to map custom envelopes to chain operator parameters\&. Number of
-envelope points is specified in \&'point_count\&'\&. Each envelope point
-consists of a position and a matching value\&. Number of pairs must
-match \&'point_count\&' (i\&.e\&. \&'N==point_count\&')\&. The \&'posX\&' parameters are given
-as seconds (from start of the stream)\&. The envelope points are specified as
-float values in range \&'[0,1]\&'\&. Before envelope values are mapped to operator
-parameters, they are mapped to the target range of \&'[low-value,high-value]\&'\&. E\&.g\&.
-a value of \&'0\&' will set operator parameter to \&'low-value\&' and a value of
-\&'1\&' will set it to \&'high-value\&'\&. For the initial segment \&'[0,pos1]\&', the envelope
-will output value of \&'value1\&' (e\&.g\&. \&'low-value\&')\&.
-.IP
-.IP "-km:fx-param,start-value,end-value,controller,channel"
-MIDI continuous controller (control change messages)\&.
-Messages on the MIDI-channel \&'channel\&' that are coming from
-controller number \&'controller\&' are used as the controller
-source\&. As recommended by the MIDI-specification, channel
-numbering goes from 1 to 16\&. Possible controller numbers
-are values from 0 to 127\&. The MIDI-device where bytes
-are read from can be specified using \fI-Md\fP option\&.
-Otherwise the default MIDI-device is used as specified in
-\fI~ecasound/ecasoundrc\fP (see \fIecasoundrc man page\fP)\&.
-Defaults to \fI/dev/midi\fP\&.
-.IP
-.IP "-ksv:fx-param,start-value,end-value,stamp-id,rms-toggle"
-Volume analyze controller\&. Analyzes the audio stored in
-stamp \&'stamp-id\&' (see \&'-eS:id\&' docs), and creates
-control data based on the results\&. If \&'rms-toggle\&' is non-zero,
-RMS-volume is used to calculate the control value\&. Otherwise
-average peak-amplitude is used\&.
-.IP
-.IP "-kx"
-This is a special switch that can be used when you need
-to control controller parameters with another controller\&.
-When you specify \fI-kx\fP, the last specified controller
-will be set as the control target\&. Then you just add
-another controller as usual\&.
-
-.PP
-\fBINTERACTIVE MODE\fP
-.PP
-See \fIecasound-iam(1)\fP man page\&.
-.PP
-.SH "ENVIRONMENT"
-
-.IP
-.IP "ECASOUND"
-If defined, some utility programs and scripts will use
-the \fIECASOUND\fP environment as the default path to
-ecasound executable\&.
-.PP
-.IP "ECASOUND_LOGFILE"
-Output all debugging messages to a separate log file\&. If defined,
-\fIECASOUND_LOGFILE\fP defines the logfile path\&. This is a good tool for
-debugging ECI/EIAM scripts and applications\&.
-.PP
-.IP "ECASOUND_LOGLEVEL"
-Select which messages are written to the logfile defined by
-\fIECASOUND_LOGFILE\fP\&. The syntax for \fI-d:level\fP is used\&. If not
-defined, all messages are written\&. Defaults to -d:319 (everything else
-but \&'functions (64)\&' and \&'continuous (128)\&' class messages)\&.
-.PP
-.IP "COLUMNS"
-Ecasound honors the \fICOLUMNS\fP environment variable when
-formatting printed trace messages\&. If \fICOLUMNS\fP is not set,
-a default of 74 is used\&.
-.PP
-.IP "TMPDIR"
-Some functions of Ecasound (e\&.g\&. "cs-edit" interactive command) require
-creation of temporary files\&. By default, these files are created under
-"/tmp", but this can be overridden by setting the \fITMPDIR\fP environment
-variable\&.
-
-.IP
-.SH "RETURN VALUES"
-
-.IP
-In interactive mode, ecasound always returns zero\&.
-.IP
-In non-interactive (batch) mode, a non-zero value is returned
-for the following errors:
-.IP
-.IP "1"
-Unable to create a valid chainsetup with the given parameters\&. Can be
-caused by invalid option syntax, etc\&.
-.PP
-.IP "2"
-Unable to start processing\&. This can be caused by insufficient file
-permissions, inability to access some system resources, etc\&.
-.PP
-.IP "3"
-Error during processing\&. Possible causes: output object has run
-out of free disk space, etc\&.
-.PP
-.IP "4"
-Error during process termination and/or cleanup\&. See section
-on \&'SIGNALS\&' for further details\&.
-.PP
-.SH "SIGNALS"
-
-.PP
-When ecasound receives any of the POSIX signals SIGINT (ctrl-c),
-SIGHUP, SIGTERM or SIGQUIT, normal cleanup and exit procedure is
-initiated\&. Here normal exit means that e\&.g\&. file headers are
-updated before closing, helper processes are terminated in normal
-way, and so forth\&.
-.PP
-If, while doing the cleanup described above, ecasound receives
-another signal (of the same set of POSIX signals), ecasound
-will skip the normal cleanup procedure, and terminate
-immediately\&. Any remaining cleanup tasks will be skipped\&.
-Depending on the runtime state and configuration, this brute
-force exit may have some side-effects\&. Ecasound will return
-exit code of \&'4\&' if normal cleanup was skipped\&.
-.PP
-Special case handling is applied to the SIGINT (ctrl-c) signal\&.
-If a SIGINT signal is received during the cleanup procedure,
-ecasound will ignore the signal once, and emit a notice to \&'stderr\&'
-that cleanup is already in progress\&. Any subsequent SIGINT signals
-will no longer get special handling, and instead process will
-terminate immediately (and possibly without proper cleanup)\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound\fP
-The default directory for ecasound user resource files\&.
-See the ecasoundrc (5) man page man page\&.
-.PP
-\fI*\&.ecs\fP
-Ecasound Chainsetup files\&. Syntax is more or less the
-same as with command-line arguments\&.
-.PP
-\fI*\&.ecp\fP
-Ecasound Chain Preset files\&. Used for storing effect
-and chain operator presets\&. See ecasound user\&'s guide for
-more better documentation\&.
-.PP
-\fI*\&.ews\fP
-Ecasound Wave Stats\&. These files are used to cache
-waveform data\&.
-.PP
-.SH "EXAMPLES"
-
-.PP
-Examples of how to perform common tasks with ecasound can
-be found at
-http://eca\&.cx/ecasound/Documentation/examples\&.html\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecatools (1) man page,
-ecasound-iam (1) man page
-ecasoundrc (5) man page,
-"HTML docs in the Documentation subdirectory"
-.PP
-.SH "BUGS"
-
-.PP
-See file BUGS\&. If ecasound behaves weirdly, try to
-increase the debug level to see what\&'s going on\&.
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecasound_manpage.html b/library/ecasound/Documentation/ecasound_manpage.html
deleted file mode 100644
index e9251a0e0..000000000
--- a/library/ecasound/Documentation/ecasound_manpage.html
+++ /dev/null
@@ -1,1187 +0,0 @@
-
-ecasound
-
-
-
-
-ecasound
-18.08.2010
-
-
-
-
-
-
-
-
-
-ecasound(1)
-
-
-
-
-ecasound(1)
- Multimedia software
-18.08.2010
-
-
-
-
NAME ecasound - sample editor, multitrack recorder, fx-processor, etc.
-
-
SYNOPSIS
- ecasound [ general_options ] { [ chain_setup ] [ effect_setup ] [ input_setup ] [ output_setup ] }
-
-
DESCRIPTION
-
-Ecasound is a software package designed for multitrack audio
-processing. It can be used for simple tasks like audio playback,
-recording and format conversions, as well as for multitrack effect
-processing, mixing, recording and signal recycling. Ecasound supports
-a wide range of audio inputs, outputs and effect algorithms.
-Effects and audio objects can be combined in various ways, and their
-parameters can be controlled by operator objects like oscillators
-and MIDI-CCs. A versatile console mode user-interface is included
-in the package.
-
-
OPTIONS
-
-Note! All options except those mentioned in ecasound options and
- Global options , can be used in ecasound chainsetup files (.ecs).
-
-
-
-
-ECASOUND OPTIONS
-
-These options are parsed and handled by the ecasound frontend binary and
-are not passed to backend library. This means that these options may
-not work in other applications that use ecasound libraries for their
-functionality.
-
-
-
-c
-Starts ecasound in interactive mode. In interactive mode you can
-control ecasound with simple commands ("start", "stop", "pause",
-etc.). See ecasound-iam .
-
-
-C
-Disables ecasound's interactive mode (see '-c' and '-K').
-
-
-
-D
-Print all debug information to stderr (unbuffered, plain output
-without ncurses).
-
-
-s[:]chainsetup-file
-Create a new chainsetup from file 'chainsetup-file' and add
-it to the current session. Chainsetup files commonly have
-a filename ending to the '.ecs' extension. A chainsetup can
-contain inputs, outputs, chains, effects, controllers -- i.e.
-objects one one specific configuration of audio processing
-elements. A session, on the other hand, is a collection of
-one or more chainsetups. Only one of the chainsetups may be
-connected (i.e. it can be run/processed). But it is possible
-to have another chainsetup select (i.e. can be configured)
-while other one is current connteced (i.e. running).
-
-
-E "cmd1 [[args] ; cmd2 args ; ... ; cmdN]"
-Execute a set of Ecasound Interactive mode (EIAM) commands
-at launch. These commands are executed immediately after
-ecasound is started. If the command line contains sufficient
-options to create a valid chainsetup that will be executed,
-the launch commands are executed after the other command
-line options are parsed, but before the processing engine
-is started. Note that this command is a feature of
-the ecasound frontend binary and not supported by
-the library backend. This means that other clients may
-not support the '-E' option, and also that the launch
-commands are not saved as part of chainsetup or session
-state.
-
-
--server
-Enables the so called NetECI mode, in which ecasound can
-be controlled remotely over a socket connection. When
-activated, clients can connect to the running ecasound
-session, and use interactive mode commands to control and
-observe ecasound processing.
-
-The NetECI protocol is defined in
-Ecasound's Programmer Guide
-
-One example client using this feature is ecamonitor(1). This
-utility is included in the Ecasound distribution package (requires
-a working Python environment).
-
-Warning! If the machine running ecasound, is connected to
-a public network, be sure to block ecasound's port in your
-firewall! As there is no access control implemented for incoming
-connections, anyone can otherwise connect, control and observe your
-ecasound sessions.
-This option replaces '--daemon' (deprecated in 2.6.0).
-
-
--server-tcp-port=NNN
-Set the TCP port used by the daemon mode. By default
-ecasound will use port number 2868 .
-This option replaces '--daemon-port' (deprecated in 2.6.0).
-
-
--no-server
-Disable ecasound's daemon mode. This is the default.
-This option replaces '--nodaemon' (deprecated in 2.6.0).
-
-
--osc-udp-port=NNN
-Enables support for Open Source Control (OSC). Ecasound will listen
-for incoming OSC messages on UDP port NNN. Ecasound's OSC interface
-is documented at:
-<http://ecasound.git.sourceforge.net/git/gitweb.cgi?p=ecasound/ecasound;a=blob;f=Documentation/ecasound_osc_interface.txt;hb=HEAD>
-
-Note that OSC support is still experimental and the interface
-might change in later versions of Ecasound.
-
-This option was added to ecasound 2.7.0.
-
-
--keep-running,-K
-Do not exit when processing is finished/stopped. Only affects
-non-interactive operating mode (see -c/-C).
-Option added to ecasound 2.4.2.
-
-
--help,-h
-Show this help.
-
-
--version
-Print version info.
-
-
-
-
-GLOBAL OPTIONS
-
-
-
-
-d, -dd, -ddd
-Increase the amount of printed debug messages. -d adds
-some verbosity, while -ddd results in very detailed
-output.
-
-
-d:debug_level
-Set the debug level mask to 'debug_level'. This a bitmasked value with
-the following classes: errors (1), info (2), subsystems (4), module_names (8),
-user_objects (16), system_objects 32, functions (64), continuous (128) and
-eiam_return_values (256). Default is 271 (1+2+4+8+256). See sourcode
-documentation for the ECA_LOGGER class for more detailed information.
-
-
-R[:]path-to-file
-Use ecasound resource file (see ecasoundrc man page) 'path-to-file' as
-the only source of setting resource value. Specifying this option
-will disable the normal policy of querying both global and user (if exists)
-resource files.
-
-
-q
-Quiet mode, no output. Same as -d:0 .
-
-
-
-
-GENERAL CHAINSETUP OPTIONS
-
-
-
-a:chainname1, chainname2, ...
-Selects active signal chains. All inputs and outputs following
-this '-a' option are assigned to selected chains (until a new -a
-option is specified). When adding effects, controllers and other
-chain operators, only one chain can be selected at a time. If no -a option
-has been given, chain 'default' is used instead when adding objects.
-Chain name 'all' is also reserved. It will cause all existing chains
-to be selected. By giving multiple -a options, you can control to which
-chains effects, inputs and outputs are assigned to. Look at the EXAMPLES
-section for more detailed info about the usage of this option.
-
-
-n:name
-Sets the name of chainsetup to 'name'. If not specified, defaults
-either to "command-line-setup" or to the file name from which
-chainsetup was loaded. Whitespaces are not allowed.
-
-
-x
-Truncate outputs. All output object are opened in overwrite mode.
-Any existing files will be truncated.
-
-
-X
-Open outputs for updating. Ecasound opens all outputs - if target
-format allows it - in readwrite mode.
-
-
-z:feature
-Enables 'feature'. Most features can be disabled using notation
--z:nofeature . '-z:db,dbsize' enables double-buffering for audio
-objects that support it (dbsize=0 for default, otherwise buffer
-size in sample frames). '-z:nodb' disables double-buffering.
-'-z:intbuf' and '-z:nointbuf' control whether extra internal buffering
-is allowed for realtime devices. Disabling this can reduce
-latency times in some situations. With '-z:xruns', processing will be
-halted if an under/overrun occurs. '-z:multitrack' and
-'z:nomultitrack' can be used to force ecasound to enable or disable
-multitrack-mode. In rare cases you may want to explicitly specify
-the recording offset with '-z:multitrack,offset-in-samples'. The
-offset is the amount of samples skipped when recording from
-real-time inputs. '-z:psr' enables the precise-sample-rates mode
-for OSS-devices. '-z:mixmode,sum' enables mixing mode where channels
-are mixed by summing all channels. The default is '-z:mixmode,avg',
-in which channels are mixed by averaging. Mixmode selection was first
-added to ecasound 2.4.0.
-See ecasoundrc man page .
-
-
-
-
-CHAINSETUP BUFFERING AND PERFORMANCE OPTIONS
-
-
-
-B:buffering_mode
-Selects the default buffering mode. Mode is one of: 'auto' (default),
-'nonrt', 'rt', 'rtlowlatency'.
-
-
-b:buffer size
-Sets the size of buffer in samples (must be an exponent of 2). This
-is quite an important option. For real-time processing, you should
-set this as low as possible to reduce the processing delay. Some
-machines can handle buffer values as low as 64 and 128. In some
-circumstances (for instance when using oscillator envelopes) small
-buffer sizes will make envelopes act more smoothly. When not processing
-in real-time (all inputs and outputs are normal files), values between
-512 - 4096 often give better results. Default is 1024.
-
-
-r:sched_priority
-Use realtime scheduling policy (SCHED_FIFO). This is impossible if
-ecasound doesn't have root priviledges. Beware! This gives better
-performance, but can cause total lock-ups if something goes wrong.
-The 'sched_priority' can be omitted (0=omitted). If given,
-this is the static priority to the highest priority ecasound thread.
-Other ecasound threads run with priority 'sched_priority-1...n'.
-Value '-1' can be used to disable raised-priority mode.
-
-
-z:feature
-Relevant features are -z:db,xxx (-z:nodb) and -z:intbuf (-z:nointbuf).
-See section General chainsetup options for details.
-
-
-
-
-PROCESSING CONTROL
-
-
-t:seconds
-Sets processing time in seconds (doesn't have to be an integer value).
-If processing time isn't set, engine stops when all inputs are
-finished. This option is equivalent to the 'cs-set-length' EIAM
-command. A special-case value of '-1' will set the chainsetup length
-according to the longest input object.
-
-
-tl
-Enables looping. When processing is finished, engine will start
-again from beginning. This option is equivalent to the 'cs-loop'
-EIAM command.
-
-
-
-
-INPUT/OUTPUT SETUP
-
-See ecasound user's guide for
-more detailed documentation.
-
-
-
-G:mgrtype,optstring
-Sets options for audio object manager type 'mgrtype'.
-For available options, see "OBJECT TYPE SPECIFIC NOTES" below.
-
-
-f:sample_format,channel,sample-rate,interleaving
-Sets the audio stream parameters for subsequent audio objects.
-To set different parameters for different audio objects, multiple
-'-f' options have to be specified (note the ordering, the '-f'
-options should precede the audio objects for them to have any
-effect). See documentation for '-i' and '-o' options.
-
-When an audio object is opened (e.g. a file or sound device
-is opened, or connection is made to a sound server), the audio
-stream parameters are passed to the object. It should be noted that
-not all audio objects allow to set any or all of the parameters.
-For instance when opening existing audio files, many file formats
-have a header describing the file audio parameters. In
-these cases the audio file header overrides the parameters
-passed with '-f' option. Similarly when creating JACK inputs and
-outputs, the JACK server mandates the sampling rate and sample
-format.
-
-If no '-f' option is specified, or some of the argument fields
-are left empty (e.g. '-f:,2,44100'), ecasound will use default values. These
-default values are defined in ecasoundrc configuration file. See
-ecasoundrc(5) manual page.
-
-Note that ecasound opens out files by default in update mode.
-Unless option '-x' (overwrite outputs) option is given,
-audio parameters of an existing audio file take preference over
-the params set with '-f'.
-
-Sample format is given as a formatted string. The first letter is
-either "u", "s" and "f" (unsigned, signed, floating point). The
-following number specifies sample size in bits. If sample is
-little endian, "_le" is added to the end. Similarly if big endian,
-"_be" is added. If endianess is not specified, host byte-order is used.
-Currently supported formats are "u8" (same as "8"), "s16_le" (same
-as "16"), "s16_be", "s24_le", "s24_be", "s32_le", "s32_be", "f32_le"
-and "f32_be". An empty string "" picks the system default sample
-format.
-
-The 4th parameter defines the channel layout. The available
-options are 'i' (interleaved' and 'n' (noninterleaved). With
-the noninterleaved setting, ecasound will process samples
-one channel at a time, and the blocksize is set with '-b'.
-The default setting is 'i'.
-
-
-y:seconds
-Sets starting position for last specified input/output. If
-you need more flexible control over audio objects, you should
-use the .ewf format.
-
-
-i[:]input-file-or-device[,params]
-Specifies a new input source that is connected to all selected chains (chains
-are selected with '-a:...'). Connecting multiple inputs to the same chain is
-not possible, but one input can be connected to multiple chains. Input can be
-a a file, device or some other audio object (see below). If the input is
-a file, its type is determined using the file name extension. If the object
-name contains any commas, the name must be enclosed in backquotes to avoid
-confusing the parser. Currently supported formats are RIFF WAVE files (.wav),
-audio-cd tracks (.cdr), ecasound EWF files (.ewf), RAW audio data (.raw) and
-MPEG audio files (.mp2,.mp3). More audio formats are supported via libaudiofile
-and libsndfile libraries (see documentation below). MikMod is also supported (.xm,
-.mod, .s3m, .it, etc). MIDI files (.mid) are supported using Timidity++.
-Similarly Ogg Vorbis (.ogg) can be read, and written if ogg123 and vorbize tools
-are installed; FLAC files (.flac) with flac command-line tools or using
-libsndfile; and AAC files (.aac/.m4a/.mp4) with faad2/faac tools. Supported
-realtime devices are OSS audio devices (/dev/dsp*), ALSA audio and loopback
-devices and JACK audio subsystem. If no inputs are specified, the first
-non-option (doesn't start with '-') command line argument is considered
-to be an input.
-
-
-o[:]output-file-or-device[,params]
-Works in the same way as the -i option. If no outputs are specified,
-the default output device is used (see ~/.ecasoundrc). If the object
-name contains any commas, the name must be enclosed in backquotes to
-avoid confusing the parser. Note, many object types do not support
-output (e.g. MikMod, MIDI and many others).
-
-OBJECT TYPE SPECIFIC NOTES
-
ALSA devices - 'alsa'
-When using ALSA drivers, instead of a device filename, you need to
-use the following option syntax: -i[:]alsa,pcm_device_name .
-
-
ALSA direct-hw and plugin access - 'alsahw', 'alsaplugin'
-It's also possible to use a specific card and device combination
-using the following notation: -i[:]alsahw,card_number,device_number,subdevice_number .
-Another option is the ALSA PCM plugin layer. It works just like
-the normal ALSA pcm-devices, but with automatic channel count and
-sample format conversions. Option syntax is
--i[:]alsaplugin,card_number,device_number,subdevice_number .
-
-
aRts input/output - 'arts'
-If enabled at compile-time, ecasound supports audio input and
-output using aRts audio server. Option syntax is -i:arts ,
--o:arts .
-
-
Audio file sequencing - 'audioloop', 'select', 'playat'
-Ecasound provides a set of special audio object types that
-can be used for temporal sequencing of audio files - i.e. looping,
-playing only a select portion of a file, playing file at a spefific
-time, and other such operation.
-
-Looping is possible with -i:audioloop,file.ext,params . The
-file name (or any object type understood by Ecasound) given
-as the second parameter is played back continuously looping
-back to the beginning when the end of file is reached. Any additional
-parameters given are passed unaltered to the file object.
-Parameters 3...N are passed as is to the child object (i.e.
-"-i audioloop,foo.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo.wav" object.
-
-To select and use only a specific segment of an audio object,
-the -i:select,start-time,duration,file.ext,params can
-be used. This will play "duration" of "file.ext", starting at
-"start-time". The time values should be given as seconds (e.g.
-"2.25", or as samples (e.g. "25000sa"). Parameters 4...N are
-passed as is to the child object.
-
-To play an audio object at a given moment in time,
-the -i:playat,play-at-time,file.ext,params can be
-used. This will play "file.ext" after position reaches
-"play-at-time". The time values should be given as seconds (e.g.
-"2.25", or as samples (e.g. "25000sa"). Parameters 2...N are
-passed as is to the child object.
-
-
Ecasound Wave Files (EWF) - '*.ewf'
-A special file format that allows to slice and loop full (or segments)
-of audio files. This format is specific to Ecasound.
-See ecasound user's guide for more
-detailed information.
-
-See also audio object types 'audioloop', 'select' and 'playat'.
-
-
JACK input/outputs - Overview
-JACK is a low-latency audio server that can be used to connect
-multiple independent audio application to each other.
-It is different from other audio server efforts in that
-it has been designed from the ground up to be suitable for low-latency
-professional audio work.
-
-
JACK input/outputs - 'jack'
-Ecasound provides multiple ways to communicate with JACK
-servers. To create a JACK input or output object, one should use -i jack and
--o jack . These create JACK client ports "ecasound:in_N" and
-"ecasound:out_n" respectively ('N' is replaced by the channel number).
-Ecasound automatically creates one JACK port for each channel (number
-of channels is set with -f:bits,channels,rate option).
-
-It is important to note that by default JACK ports are not connected
-anywhere (e.g. to soundcard input/outputs, or to other apps). One thus
-has to connect the ports with an external program (e.g. "QJackCtl"
-or "jack_connect").
-
-
JACK input/outputs - 'jack,clientname,portprefix'
-"jack,clientname" For simple use scanerios, ecasound provides a way to autoconnect
-the ecasound ports. This can be done with by giving the peer client
-name as the second parameter to the "jack" object, e.g. -o jack,clientname .
-As an example, -o jack,system will create an output that is
-automatically connected to outputs of the default system soundcard.
-The client parameter can be omitted, in which case no automatic
-connections are made.
-
-If one needs to change the port prefix (e.g. "in" in client name
-"ecasound:in_N"), the prefix can be specified as the third parameter to
-"jack" object, e.g. -o jack,,fxout . Also the third parameter can be
-omitted, in which case the default prefixes "in" and "out" are used.
-
-
JACK input/outputs - 'jack_multi'
-A variant of 'jack' object type is 'jack_multi'. The full object syntax
-is jack_multi,destport1,...,destportN . When a 'jack_multi' object
-is connected to a JACK server, first channel of the object is connected
-to JACK port 'destport1', second to 'destport2' and so forth. For
-instance "-f:32,2,44100 -o jack_multi,foo:in,bar:in"
-creates a stereo ecasound output object, with its left and right
-channels routed to two difference JACK clients. The destination ports
-must be active when the ecasound engine is launched, or otherwise
-the connections cannot be established. If destination ports are not
-specified for all channels, or zero length strings are given, those
-ports are not connected at launch by ecasound.
-
-
JACK input/outputs - 'jack_alsa', 'jack_auto', 'jack_generic' (**deprecated since 2.6.0**)
-Ecasound 2.5 and older supported "jack_alsa", "jack_auto" and "jack_generic" object
-types, but these are now replaced by a more generic "jack" interface, and thus are
-now deprecated (they work but are no longer documented).
-
-
JACK input/outputs - client options
-Additionally global JACK options can be set using
--G:jack,client_name,operation_mode option. 'client_name'
-is the name used when registering ecasound to the JACK system.
-If 'operation_mode' is "notransport", ecasound will ignore
-any transport state changes in the JACK-system; in mode
-"send" it will send all start, stop and position-change events to
-other JACK clients; in mode "recv" ecasound will follow JACK start,
-stop and position-change events; and mode "sendrecv" (the default)
-which is a combination of the two previous modes.
-
-More details about ecasound's JACK support can be found
-from Ecasound User's Guide.
-
-
Libaudiofile - 'audiofile'
-If libaudiofile support was enabled at compile-time, this
-option allows you to force Ecasound to use libaudiofile
-for reading/writing a certain audio file. Option syntax
-is -i:audiofile,foobar.ext (same for -o ).
-
-
Libsndfile - 'sndfile'
-If libsndfile support was enabled at compile-time, this
-option allows you to force Ecasound to use libsndfile
-for reading/writing a certain audio file. Option syntax
-is -i:sndfile,foobar.ext[,.format-ext] (same for -o ).
-The optional third parameter "format" can be used to
-override the audio format (for example you can create an
-AIFF file with filename "foo.wav").
-
-
Loop device - 'loop'
-Loop devices make it possible to route (loop back) data between
-chains. Option syntax is -[io][:]loop,tag . If you add
-a loop output with tag '1', all data written to this output is routed
-to any loop input with tag '1'. The tag can be either numerical
-(e.g. '-i:loop,1') or a string (e.g. "-i:loop,vocals"). Like
-with other input/output objects, you can attach the same loop
-device to multiple chains and this way split/mix the signal.
-
-Note: this 'loop' device is different from 'audioloop' (latter
-added to ecasound v2.5.0).
-
-
Mikmod - 'mikmod'
-If mikmod support was enabled at compile-time, this
-option allows you to force Ecasound to use Mikmod
-for reading/writing a certain module file. Option syntax
-is -i:mikmod,foobar.ext .
-
-
Null inputs/outputs - 'null'
-If you specify "null" or "/dev/null" as the input or output,
-a null audio device is created. This is useful if you just want
-to analyze sample data without writing it to a file. There's
-also a realtime variant, "rtnull", which behaves just like "null"
-objects, except all i/o is done at realtime speed.
-
-
Resample - 'resample'
-Object type 'resample' can be used to resample audio
-object's audio data to match the sampling rate used
-in the active chainsetup. For example,
-ecasound -f:16,2,44100 -i resample,22050,foo.wav -o /dev/dsp ,
-will resample file from 22.05kHz to 44.1kHz and write the
-result to the soundcard device. Child sampling rate can be
-replaced with keyword 'auto'. In this case ecasound will try
-to query the child object for its sampling rate. This works with
-files formats such as .wav which store meta information about
-the audio file format. To use 'auto' in the previous example,
-ecasound -f:16,2,44100 -i resample,auto,foo.wav -o /dev/dsp .
-
-Parameters 4...N are passed as is to the child object (i.e.
-"-i resample,22050,foo.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo.wav" object.
-
-If ecasound was compiled with support for libsamplerate, you can
-use 'resample-hq' to use the highest quality resampling algorithm
-available. To force ecasound to use the internal resampler,
-'resampler-lq' (low-quality) can be used.
-
-
Reverse - 'reverse'
-Object type 'reverse' can be used to reverse audio
-data coming from an audio object. As an example,
-ecasound -i reverse,foo.wav -o /dev/dsp will play
-'foo.wav' backwards. Reversing output objects is not
-supported. Note! Trying to reverse audio object types with really
-slow seek operation (like mp3), works extremely badly.
-Try converting to an uncompressed format (wav or raw)
-first, and then do reversation.
-
-Parameters 3...N are passed as is to the child object (i.e.
-"-i reverse,foo.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo.wav" object.
-
-
System standard streams and named pipes - 'stdin', 'stdout'
-You can use standard streams (stdin and stdout) by giving stdin
-or stdout as the file name. Audio data is assumed to be in
-raw/headerless (.raw) format. If you want to use named pipes,
-create them with the proper file name extension before use.
-
-
Tone generator - 'tone'
-To generate a test tone, input -i:tone,type,freq,duration-secs
-can be used. Parameter 'type' specifies the tone type: currently
-only 'sine' is supported. The 'freq' parameter sets the frequency
-of the generated tone and 'duration-secs' the length of the generated
-stream. Specifying zero, or a negative value, as the duration will
-produce an infinite stream. This feature was first added to Ecasound
-2.4.7.
-
-
Typeselect - 'typeselect'
-The special 'typeselect' object type can be used to override
-how ecasound maps filename extensions and object types. For
-instance ecasound -i typeselect,.mp3,an_mp3_file.wav -o /dev/dsp .
-would play the file 'an_mp3_file.wav' as an mp3-file and not
-as an wav-file as would happen without typeselect.
-
-Parameters 4...N are passed as is to the child object (i.e.
-"-i typeselect,.au,foo.wav,bar1,bar2" will pass parameters
-"bar1,bar2" to the "foo.wav" object.
-
-
-
-
-MIDI SETUP
-
-
-
MIDI I/O devices - general
-If no MIDI-device is specified, the default MIDI-device is
-used (see ecasoundrc(5)).
-
-
-Md:rawmidi,device_name
-Add a rawmidi MIDI I/O device to the setup. 'device_name' can be anything
-that can be accessed using the normal UNIX file operations and
-produces raw MIDI bytes. Valid devices are for example OSS rawmidi
-devices (/dev/midi00), ALSA rawmidi devices (/dev/snd/midiC2D0), named
-pipes (see mkfifo man page), and normal files.
-
-
-Md:alsaseq,sequencer-port
-Adds a ALSA MIDI sequencer port to the setup. 'sequencer-port' identifies
-a port to connect to. It can be numerical (e.g. 128:1), or a client
-name (e.g. "KMidimon").
-
-
-Mms:device_id
-Sends MMC start ("Deferred Play") and stop ("Stop") with
-device ID 'device_id'.
-
-While Ecasound does not directly support syncing transport state
-to incoming MMC messages, this can be achieved by connecting Ecasound
-to JACK input/outputs, and using a tool such as JackMMC and JackCtlMMC (
-see <http://jackctlmmc.sourceforge.net/>) to convert MMC messages
-into JACK transport change events.
-
-
-Mss
-Sends MIDI-sync (i.e. "MIDI Start" and "MIDI Stop" system realtime
-messages) .to the selected MIDI-device. Notice that as Ecasound will
-not send MIDI-clock , but only the start and stop messages.
-
-
-
-
-EFFECT SETUP
-
-PRESETS
-
-Ecasound has a powerful effect preset system that allows you create
-new effects by combining basic effects and controllers. See
-ecasound user's guide for more
-detailed information.
-
-
-
-
-pf:preset_file.eep
-Uses the first preset found from file 'preset_file.eep' as
-a chain operator.
-
-
-pn:preset_name
-Find preset 'preset_name' from global preset database and use
-it as a chain operator. See ecasoundrc man page for info about the
-preset database.
-
-
-
-SIGNAL ANALYSIS
-
-
-
-
-ev
-Analyzes sample data to find out how much the signal can
-be amplified without clipping. The resulting percent value
-can be used as a parameter to '-ea' (amplify). A statistical
-summary, containing info about the stereo-image and
-distribution of sample values, is printed out at the end
-of processing.
-
-
-evp
-Peak amplitude watcher. Maintains peak information for
-each processed channels. Peak information is resetted
-on every read.
-
-
-ezf
-Finds the optimal value for DC-adjusting. You can use the result
-as a parameter to -ezx effect.
-
-
-
-GENERAL SIGNAL PROCESSING ALGORITHMS
-
-
-eS:stamp-id
-Audio stamp. Takes a snapshot of passing audio data and stores
-it using id 'stamp-id' (integer number). This data can later be
-used by controllers and other operators.
-
-
-ea:amplify%
-Adjusts the signal amplitude to 'amplify%' percent (linear scale, i.e.
-individual samples are multiplied by 'amplify%/100'). See also
-'-eadb'.
-
-
-eac:amplify%,channel
-Amplifies signal of channel 'channel' by amplify-% percent (linear
-scale, i.e. individual samples are multiplied by 'amplify%/100').
-'channel' ranges from 1...n where n is the total number of channels.
-See also '-eadb'.
-
-
-eadb:gain-dB[,channel]
-Adjusts signal level by 'gain-dB', with a gain of 0dB having no effect
-to the signal, negative gains attenuating the signal and positive
-gain values amplifying it. The 'channel' parameter (1...n) is optional.
-If 'channel' parameter is specified, and its value is nonzero, gain is
-only applied to the given channel (1...n).
-
-
-eaw:amplify%,max-clipped-samples
-Amplifies signal by amplify-% percent (linear scale, i.e. individual
-samples are multiplied by 'amplify%/100'). If number of consecutive
-clipped samples (resulting sample value is outside the nominal
-[-1,1] range), a warning will be issued.
-
-
-eal:limit-%
-Limiter effect. Limits audio level to 'limit-%' (linear scale) with
-values equal or greater than 100% resulting in no change to
-the signal.
-
-
-ec:rate,threshold-%
-Compressor (a simple one). 'rate' is the compression rate in
-decibels ('rate' dB change in input signal causes 1dB change
-in output). 'threshold' varies between 0.0 (silence) and
-1.0 (max amplitude).
-
-
-eca:peak-level-%, release-time-sec, fast-crate, crate
-A more advanced compressor (original algorithm by John S. Dyson).
-If you give a value of 0 to any parameter, the default is used.
-'peak-level-%' essentially specifies how hard the peak limiter
-is pushed. The default of 69% is good. 'release_time' is given
-in seconds. This compressor is very sophisticated, and actually
-the release time is complex. This is one of the dominant release
-time controls, but the actual release time is dependent on a lot of
-factors regarding the dynamics of the audio in. 'fastrate' is the
-compression ratio for the fast compressor. This is not really
-the compression ratio. Value of 1.0 is infinity to one, while the
-default 0.50 is 2:1. Another really good value is special cased in
-the code: 0.25 is somewhat less than 2:1, and sounds super smooth.
-'rate' is the compression ratio for the entire compressor chain.
-The default is 1.0, and holds the volume very constant without many nasty
-side effects. However the dynamics in music are severely restricted,
-and a value of 0.5 might keep the music more intact.
-
-
-enm:threshold-level-%,pre-hold-time-msec,attack-time-msec,post-hold-time-msec,release-time-msec
-Noise gate. Supports multichannel processing (each channel
-processed separately). When signal amplitude falls below
-'threshold_level_%' percent (100% means maximum amplitude), gate
-is activated. If the signal stays below the threshold for
-'th_time' ms, it's faded out during the attack phase of
-'attack' ms. If the signal raises above the 'threshold_level'
-and stays there over 'hold' ms the gate is released during
-'release' ms.
-
-
-ei:pitch-shift-%
-Pitch shifter. Modifies audio pitch by altering its length.
-
-
-epp:right-%
-Stereo panner. Changes the relative balance between the first
-two channels. When 'right-%' is 0, only signal on the left
-(1st) channel is passed through. Similarly if it is '100',
-only right (2nd) channel is let through.
-
-
-ezx:channel-count,delta-ch1,...,delta-chN
-Adjusts the signal DC by 'delta-chX', where X is the
-channel number. Use -ezf to find the optimal delta
-values.
-
-
-
-ENVELOPE MODULATION
-
-
-
-eemb:bpm,on-time-%
-Pulse gate (pulse frequency given as beats-per-minute).
-
-
-eemp:freq-Hz,on-time-%
-Pulse gate.
-
-
-eemt:bpm,depth-%
-Tremolo effect (tremolo speed given as beats-per-minute).
-
-
-
-FILTER EFFECTS
-
-
-ef1:center_freq, width
-Resonant bandpass filter. 'center_freq' is the center frequency. Width
-is specified in Hz.
-
-
-ef3:cutoff_freq, reso, gain
-Resonant lowpass filter. 'cutoffr_freq' is the filter cutoff
-frequency. 'reso' means resonance. Usually the best values for
-resonance are between 1.0 and 2.0, but you can use even bigger values.
-'gain' is the overall gain-factor. It's a simple multiplier (1.0
-is the normal level). With high resonance values it often is useful
-to reduce the gain value.
-
-
-ef4:cutoff, resonance
-Resonant lowpass filter (3rd-order, 36dB, original algorithm by Stefan
-M. Fendt). Simulates an analog active RC-lowpass design. Cutoff is a
-value between [0,1], while resonance is between [0,infinity).
-
-
-efa:delay-samples,feedback-%
-Allpass filter. Passes all frequencies with no change in amplitude.
-However, at the same time it imposes a frequency-dependent
-phase-shift.
-
-
-efc:delay-samples,radius
-Comb filter. Allows the spikes of the comb to pass through.
-Value of 'radius' should be between [0, 1.0).
-
-
-efb:center-freq,width
-Bandpass filter. 'center_freq' is the center frequency. Width
-is specified in Hz.
-
-
-efh:cutoff-freq
-Highpass filter. Only frequencies above 'cutoff_freq' are passed
-through.
-
-
-efi:delay-samples,radius
-Inverse comb filter. Filters out the spikes of the comb. There
-are 'delay_in_samples-2' spikes. Value of 'radius' should be
-between [0, 1.0). The closer it is to the maximum value,
-the deeper the dips of the comb are.
-
-
-efl:cutoff-freq
-Lowpass filter. Only frequencies below 'cutoff_freq' are passed
-through.
-
-
-efr:center-freq,width
-Bandreject filter. 'center_freq' is the center frequency. Width
-is specified in Hz.
-
-
-efs:center-freq,width
-Resonator. 'center_freq' is the center frequency. Width is specified
-in Hz. Basicly just another resonating bandpass filter.
-
-
-
-CHANNEL MIXING / ROUTING
-
-
-
-chcopy:from-channel, to-channel
-Copy channel 'from_channel' to 'to_channel'. If 'to_channel'
-doesn't exist, it is created. Channel indexing starts from 1.
-Option added to ecasound 2.4.5.
-
-
-chmove:from-channel, to-channel
-Copy channel 'from_channel' to 'to_channel', and mutes the source
-channel 'from_channel'. Channel indexing starts from 1.
-Option added to ecasound 2.4.5.
-
-
-chorder:ch1,...,chN
-Reorder, omit and/r duplicate chain channels. The resulting
-audio stream has total of 'N' channels. Each parameter specifies
-the source channel to use for given output channel. As an
-example, '-chorder:2,1' would reverse the channels of
-a stereo stream ('out1,out2' = 'in2,in1'). Specifying the same
-source channel multiple times is allowed. For example, '-chorder:2,2'
-would route the second channel to both two output channels
-('out1,out2' = 'in2,in2'). If 'chX' is zero, the given channel 'X'
-will be muted in the output stream. Option added to ecasound 2.7.0.
-
-
-chmix:to-channel
-Mix all source channels to channel 'to_channel'. If 'to_channel'
-doesn't exist, it is created. Channel indexing starts from 1.
-Option added to ecasound 2.4.5.
-
-
-chmute:channel
-Mutes the channel 'channel'. Channel indexing starts from 1.
-Option added to ecasound 2.4.5.
-
-
-erc:from-channel,to-channel
-Deprecated, see -chcopy .
-
-
-erm:to-channel
-Deprecated, see -chmix .
-
-
-
-TIME-BASED EFFECTS
-
-
-
-etc:delay-time-msec,variance-time-samples,feedback-%,lfo-freq
-Chorus.
-
-
-etd:delay-time-msec,surround-mode,number-of-delays,mix-%,feedback-%
-Delay effect. 'delay time' is the delay time in milliseconds.
-'surround-mode' is a integer with following meanings: 0 = normal,
-1 = surround, 2 = stereo-spread. 'number_of_delays' should be
-obvious. Beware that large number of delays and huge delay times
-need a lot of CPU power. 'mix-%' determines how much effected (wet)
-signal is mixed to the original. 'feedback-%' represents how much of
-the signal is recycled in each delay or, if you prefer, at what rate
-the repeated snippet of delayed audio fades. Note that sufficiently
-low feedback values may result in a number of audible repetitions
-lesser than what you have specified for 'number_of_delays', especially
-if you have set a low value for 'mix-%'. By default the value for this
-parameter is 100% (No signal loss.).
-
-
-ete:room_size,feedback-%,wet-%
-A more advanced reverb effect (original algorithm by Stefan M. Fendt).
-'room_size' is given in meters, 'feedback-%' is the feedback level
-given in percents and 'wet-%' is the amount of reverbed signal added
-to the original signal.
-
-
-etf:delay-time-msec
-Fake-stereo effect. The input signal is summed to mono. The
-original signal goes to the left channels while a delayed
-version (with delay of 'delay time' milliseconds) is goes to
-the right. With a delay time of 1-40 milliseconds this
-adds a stereo-feel to mono-signals.
-
-
-etl:delay-time-msec,variance-time-samples,feedback-%,lfo-freq
-Flanger.
-
-
-etm:delay-time-msec,number-of-delays,mix-%
-Multitap delay. 'delay time' is the delay time in milliseconds.
-'number_of_delays' should be obvious. 'mix-%' determines how much
-effected (wet) signal is mixed to the original.
-
-
-etp:delay-time-msec,variance-time-samples,feedback-%,lfo-freq
-Phaser.
-
-
-etr:delay-time,surround-mode,feedback-%
-Reverb effect. 'delay time' is the delay time in milliseconds.
-If 'surround-mode' is 'surround', reverbed signal moves around the
-stereo image. 'feedback-%' determines how much effected (wet)
-signal is fed back to the reverb.
-
-
-
-LADSPA-PLUGINS
-
-
-el:plugin_unique_name,param-1,...,param-N
-Ecasound supports LADSPA-effect plugins (Linux Audio Developer's Simple
-Plugin API). Plugins are located in shared library (.so) files in
-/usr/local/share/ladspa (configured in ecasoundrc man page). One shared
-library file can contain multiple plugin objects, but every plugin
-has a unique plugin name. This name is used for selecting plugins.
-See LAD mailing list web site for
-more info about LADSPA. Other useful sites are LADSPA home
-page and LADSPA
-documentation .
-
-
-eli:plugin_unique_number,param-1,...,param-N
-Same as above expect plugin's unique id-number is used. It
-is guaranteed that these id-numbers are unique among all
-LADSPA plugins.
-
-
-
-GATE SETUP
-
-
-
-
-gc:start-time,len
-Time crop gate. Initially gate is closed. After 'start-time' seconds
-has elapsed, gate opens and remains open for 'len' seconds. When
-closed, passing audio buffers are trucated to zero length.
-
-
-ge:open-threshold-%,close-thold-%,volume-mode,reopen-count
-Threshold gate. Initially gate is closed. It is opened when volume
-goes over 'othreshold' percent. After this, if volume drops below
-'cthold' percent, gate is closed and won't be opened again, unless the
-'reopen-count' is set to anything other than zero.
-If 'value_mode' is 'rms', average RMS volume is used. Otherwise
-peak average is used. When closed, passing audio buffers are trucated
-to zero length.
-If the 'reopen-count' is set to a positive number, then the gate will
-restart its operation that many times. So for example, a reopen count
-of 1 will cause up to 2 openings of the gate. A negative value for 'reopen-count'
-will result in the gate reopening indefinitely. The 'reopen-count' is invaluable
-in recording vinyl and tapes, where you can set things up and then recording
-starts whenever the needle is on the vinyl, and stops when it's off. As many sides
-as you like can be recorded in one session. You will need to experiment with
-buffer lengths and start/stop levels to get reliable settings for your equipment.
-
-
-gm:state
-Manual gate. If 'state' is 1, gate is open and all samples are
-passed through. If 'state' is zero, gate is closed an no samples are
-let through. This chain operator is useful when writing to an output
-needs to be stopped dynamically (without stopping the whole engine).
-
-
-
-
-CONTROL ENVELOPE SETUP
-
-
-Controllers can be used to dynamically change effect parameters
-during processing. All controllers are attached to the selected
-(=usually the last specified effect/controller) effect. The first
-three parameters are common for all controllers. 'fx_param'
-specifies the parameter to be controlled. Value '1' means
-the first parameter, '2' the second and so on. 'start_value'
-and 'end_value' set the value range. For examples, look at the
-the EXAMPLES section.
-
-
-kos:fx-param,start-value,end-value,freq,i-phase
-Sine oscillator with frequency of 'freq' Hz and initial phase
-of 'i_phase' times pi.
-
-
-kog:fx-param,freq,mode,point-pairs,start-value,end-value,pos1,value1,...
-Generic oscillator. Frequency 'freq' Hz, mode either '0' for
-static values or '1' for linear interpolation. 'point-pairs'
-specifies the number of 'posN' - 'valueN' pairs to include.
-'start-value' and 'end-value' are used as border values.
-All 'posN' and 'valueN' must be between 0.0 and 1.0. Also,
-for all 'posN' values 'pos1 < pos2 < ... < posN' must be true.
-
-
-kf:fx-param,start-value,end-value,freq,mode,genosc-number
-Generic oscillator. 'genosc_number' is the number of the
-oscillator preset to be loaded. Mode is either '0' for
-static values or '1' for linear interpolation. The location for
-the preset file is taken from ./ecasoundrc (see ecasoundrc man page ).
-
-
-kl:fx-param,start-value,end-value,time-seconds
-Linear envelope that starts from 'start_value' and linearly
-changes to 'end_value' during 'time_in_seconds'. Can
-be used for fadeins and fadeouts.
-
-
-kl2:fx-param,start-value,end-value,1st-stage-length-sec,2nd-stage-length-sec
-Two-stage linear envelope, a more versatile tool for doing fade-ins
-and fade-outs. Stays at 'start_value' for '1st_stage_length' seconds
-and then linearly changes towards 'end_value' during
-'2nd_stage_length' seconds.
-
-
-klg:fx-param,low-value,high-value,point_count,pos1,value1,...,posN,valueN
-Generic linear envelope. This controller source can be
-used to map custom envelopes to chain operator parameters. Number of
-envelope points is specified in 'point_count'. Each envelope point
-consists of a position and a matching value. Number of pairs must
-match 'point_count' (i.e. 'N==point_count'). The 'posX' parameters are given
-as seconds (from start of the stream). The envelope points are specified as
-float values in range '[0,1]'. Before envelope values are mapped to operator
-parameters, they are mapped to the target range of '[low-value,high-value]'. E.g.
-a value of '0' will set operator parameter to 'low-value' and a value of
-'1' will set it to 'high-value'. For the initial segment '[0,pos1]', the envelope
-will output value of 'value1' (e.g. 'low-value').
-
-
-km:fx-param,start-value,end-value,controller,channel
-MIDI continuous controller (control change messages).
-Messages on the MIDI-channel 'channel' that are coming from
-controller number 'controller' are used as the controller
-source. As recommended by the MIDI-specification, channel
-numbering goes from 1 to 16. Possible controller numbers
-are values from 0 to 127. The MIDI-device where bytes
-are read from can be specified using -Md option.
-Otherwise the default MIDI-device is used as specified in
-~ecasound/ecasoundrc (see ecasoundrc man page ).
-Defaults to /dev/midi .
-
-
-ksv:fx-param,start-value,end-value,stamp-id,rms-toggle
-Volume analyze controller. Analyzes the audio stored in
-stamp 'stamp-id' (see '-eS:id' docs), and creates
-control data based on the results. If 'rms-toggle' is non-zero,
-RMS-volume is used to calculate the control value. Otherwise
-average peak-amplitude is used.
-
-
-kx
-This is a special switch that can be used when you need
-to control controller parameters with another controller.
-When you specify -kx , the last specified controller
-will be set as the control target. Then you just add
-another controller as usual.
-
-
-
-INTERACTIVE MODE
-
-See ecasound-iam(1) man page.
-
-
-
-
ENVIRONMENT
-
-
-
ECASOUND
- If defined, some utility programs and scripts will use
- the ECASOUND environment as the default path to
- ecasound executable.
-
-
ECASOUND_LOGFILE
- Output all debugging messages to a separate log file. If defined,
- ECASOUND_LOGFILE defines the logfile path. This is a good tool for
- debugging ECI/EIAM scripts and applications.
-
-
ECASOUND_LOGLEVEL
- Select which messages are written to the logfile defined by
- ECASOUND_LOGFILE . The syntax for -d:level is used. If not
- defined, all messages are written. Defaults to -d:319 (everything else
- but 'functions (64)' and 'continuous (128)' class messages).
-
-
COLUMNS
- Ecasound honors the COLUMNS environment variable when
- formatting printed trace messages. If COLUMNS is not set,
- a default of 74 is used.
-
-
TMPDIR
- Some functions of Ecasound (e.g. "cs-edit" interactive command) require
- creation of temporary files. By default, these files are created under
- "/tmp", but this can be overridden by setting the TMPDIR environment
- variable.
-
-
-
RETURN VALUES
-
-In interactive mode, ecasound always returns zero.
-
-In non-interactive (batch) mode, a non-zero value is returned
- for the following errors:
-
-
-
1
- Unable to create a valid chainsetup with the given parameters. Can be
- caused by invalid option syntax, etc.
-
-
2
- Unable to start processing. This can be caused by insufficient file
- permissions, inability to access some system resources, etc.
-
-
3
- Error during processing. Possible causes: output object has run
- out of free disk space, etc.
-
-
4
- Error during process termination and/or cleanup. See section
- on 'SIGNALS' for further details.
-
-
SIGNALS
-
-When ecasound receives any of the POSIX signals SIGINT (ctrl-c),
- SIGHUP, SIGTERM or SIGQUIT, normal cleanup and exit procedure is
- initiated. Here normal exit means that e.g. file headers are
- updated before closing, helper processes are terminated in normal
- way, and so forth.
-
-If, while doing the cleanup described above, ecasound receives
- another signal (of the same set of POSIX signals), ecasound
- will skip the normal cleanup procedure, and terminate
- immediately. Any remaining cleanup tasks will be skipped.
- Depending on the runtime state and configuration, this brute
- force exit may have some side-effects. Ecasound will return
- exit code of '4' if normal cleanup was skipped.
-
-Special case handling is applied to the SIGINT (ctrl-c) signal.
- If a SIGINT signal is received during the cleanup procedure,
- ecasound will ignore the signal once, and emit a notice to 'stderr'
- that cleanup is already in progress. Any subsequent SIGINT signals
- will no longer get special handling, and instead process will
- terminate immediately (and possibly without proper cleanup).
-
-
FILES
-
-~/.ecasound
- The default directory for ecasound user resource files.
- See the ecasoundrc (5) man page man page.
-
-*.ecs
- Ecasound Chainsetup files. Syntax is more or less the
- same as with command-line arguments.
-
-*.ecp
- Ecasound Chain Preset files. Used for storing effect
- and chain operator presets. See ecasound user's guide for
- more better documentation.
-
-*.ews
- Ecasound Wave Stats. These files are used to cache
- waveform data.
-
-
EXAMPLES
-
-Examples of how to perform common tasks with ecasound can
- be found at
- http://eca.cx/ecasound/Documentation/examples.html .
-
-
SEE ALSO
-
-ecatools (1) man page ,
- ecasound-iam (1) man page
- ecasoundrc (5) man page ,
- "HTML docs in the Documentation subdirectory"
-
-
BUGS
-
-See file BUGS. If ecasound behaves weirdly, try to
- increase the debug level to see what's going on.
-
-
AUTHOR
-
-Kai Vehmanen, <kvehmanen -at- eca -dot- cx >
diff --git a/library/ecasound/Documentation/ecasoundrc.5 b/library/ecasound/Documentation/ecasoundrc.5
deleted file mode 100644
index 82121a0b6..000000000
--- a/library/ecasound/Documentation/ecasoundrc.5
+++ /dev/null
@@ -1,226 +0,0 @@
-.TH "ecasoundrc" "5" "22\&.03\&.2009" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecasoundrc \- ecasound rcfile
-.PP
-.SH "SYNOPSIS"
-{prefix}/share/ecasound/ecasoundrc (for instance \&'/usr/local/share/ecasound/ecasoundrc\&')
-$HOME/\&.ecasound/ecasoundrc
-.PP
-.SH "DESCRIPTION"
-
-.PP
-\fBecasoundrc\fP is the main configuration file for ecasound\&.
-Any user-specific modification should be done to
-$HOME/\&.ecasound/ecasoundrc, not to the global resource file\&. Ecasound
-also allows to disable the normal policy and only read from a specific
-resource file (see ecasound (1) and documentation for the \fB-R\fP option)\&.
-.PP
-The format is quite simple\&. One line consists of
-a configuration variable and its value\&. Variable and value
-are separated with either \&'=\&' or \&' \&'\&. Lines beginning with a
-"#" are ignored (comment lines)\&.
-.PP
-.SH "VARIABLES"
-
-.PP
-.IP "midi-device"
-MIDI-device\&. If the device name is given in \fIrawmidi,/dev/midi*\fP
-format, OSS/Linux or OSS/Lite drivers are used\&.
-Device \fIrawmidi,/dev/snd/midiCxDy\fP opens an ALSA raw-MIDI
-device with card number \&'x\&' and device number \&'y\&'\&.
-See ecasound (1) man page (the \&'-Md option) for more info\&.
-Defaults to \fIrawmidi,/dev/midi\fP\&.
-.IP
-.IP "default-output"
-Output device to use by default\&. If a chainsetup with zero
-outputs, but with one or more inputs, is connected, a default output
-is added and all the chains are connected to it\&. If the special-case
-value \&'autodetect\&' is specified, ecasound will try to auto-detect
-a suitable device (JACK -> ALSA -> OSS -> rtnull)\&.
-Defaults to \fIautodetect\fP\&.
-.IP
-.IP "default-audio-format"
-Default values for sample format, channel count, sampling rate
-and channel interleaving\&. Syntax is the same as used by
-ecasound\&'s \fI-f\fP option (see ecasound (1))\&.
-Defaults to \fIs16_le,2,44100,i\fP\&.
-.IP
-.IP "default-to-precise-sample-rates"
-Whether to ignore sample rate differences (and possibly avoid
-resampling)\&. Currently only affects OSS-devices\&. Defaults to \fIfalse\fP\&.
-.IP
-.IP "default-mix-mode"
-If \fIdefault-mix-mode\fP is \fIsum\fP, engine will mix multiple channels into
-one output channel by summing all input channels\&. In mode \fIavg\fP,
-mixing is done by taking the average of all input channels\&. The
-\fIavg\fP mode is safe from clipping, while \fIsum\fP is closer
-to the way analog mixers work\&. Defaults to \fIavg\fP\&.
-.IP
-.IP "bmode-defaults-nonrt"
-Selects the default parameters to use with buffering
-mode \&'nonrt\&' (other modes are \&'rt\&' and \&'rtlowlatency)\&.
-Parameters are given as a comma-separated tuple of values:
-1) buffersize (number,-b), 2) raised priority (true/false,-r),
-3) sched_priority (number,-r:X), 4) double buffering
-(true/false,-z:db), 5) db-bufsize (number,-z:db,X), and
-6) max intbuf (true/false,-z:intbuf)\&. Defaults to
-\fI1024,false,50,false,100000,true\fP\&.
-.IP
-.IP "bmode-defaults-rt"
-See \&'bmode-defaults-nonrt\&'\&. Defaults to
-\fI1024,true,50,true,100000,true\fP\&.
-.IP
-.IP "bmode-defaults-rtlowlatency"
-See \&'bmode-defaults-nonrt\&'\&. Defaults to
-\fI256,true,50,true,100000,false\fP\&.
-.IP
-.IP "resource-directory"
-Directory for global ecasound configuration files\&.
-Defaults to \fI{prefix-dir}/share/ecasound\fP\&.
-Note! User-specific resource files can be be stored
-to \&'$(HOME)/\&.ecasound/\&'\&. For instance you can
-add your own presets definitions to
-\&'$(HOME)/\&.ecasound/effect_presets\&'\&.
-.IP
-.IP "resource-file-genosc-envelopes"
-Configuration file for generic oscillators\&. Is located in the
-resource directory\&. Defaults to \fIgeneric_oscillators\fP\&.
-.IP
-.IP "resource-file-effect-presets"
-Configuration file for effect presets\&. Is located in the
-resource directory\&. Defaults to \fIeffect_presets\fP\&.
-.IP
-.IP "ladspa-plugin-directory"
-Directory containing LADSPA effect plugins\&. Defaults to \fI{prefix-dir}/lib/ladspa\fP\&.
-If environment variable \fILADSPA_PATH\fP exists, directories
-specified in it are automatically searched for plugins\&.
-Note! To match the syntax of the \fILADSPA_PATH\fP environment
-variable, \&'ladspa-plugin-directory\&' can contain multiple
-directories, separated by \&':\&' characters\&.
-.IP
-.IP "ext-cmd-text-editor"
-If \fIext-cmd-text-editor-use-getenv\fP is \fIfalse\fP or "EDITOR"
-is null, value of this field is used\&.
-.IP
-.IP "ext-cmd-text-editor-use-getenv"
-Should ecasound try to query environment variable "EDITOR"\&.
-Defaults to \fItrue\fP\&.
-.IP
-.IP "ext-cmd-mp3-input"
-Command for starting mp3 input\&. Ecasound expects to read signed,
-16bit, little-endian stereo audio samples from its standard
-input\&. Ecsound will query other audio format parameters by parsing
-the mp3 file header\&. Before execution, %f is replaced with
-path to the input mp3\&. If exists, "%o" is replaced with he
-start offset in mp3 frames\&. Double-quotes and backslash-espacing
-can be used to include white-space to individual parameters\&.
-By default, \fImpg123\fP is launched\&.
-.IP
-.IP "ext-cmd-mp3-output"
-Command for starting mp3 output\&. Ecasound will write stereo,
-signed, 16bit, little-endian samples to standard output\&. Sample
-rate is configurable\&. Before execution, %f is replaced with
-path to the output mp3, %S with sample rate in kHz, and
-%B with encoding bitrate in kbps\&. Double-quotes and
-backslash-espacing can be used to include white-space to
-individual parameters\&. By default Ecasound will try to
-launch \fIlame\fP\&. As a special exception (added to Ecasound
-2\&.7\&.0), if the output program is "lame" and options
-include "--big-endian", Ecasound will detect this and output
-big-endian samples\&.
-.IP
-.IP "ext-cmd-ogg-input"
-Command for starting Ogg Vorbis input\&. Ecasound expects that audio samples
-are written to standard output\&. It should be noted that
-Ecasound is not able to query the audio format parameters from
-ogg files, so these need to be set manually by the user\&.
-Before execution, %f is replaced with path to the input ogg\&.
-Double-quotes and backslash-espacing can be used to include white-space
-to individual parameters\&. By default Ecasound will try to
-launch (ogg123)\&.
-.IP
-.IP "ext-cmd-ogg-output"
-Command for starting Ogg Vorbis output\&. Ecasound will write
-samples in little-endian format to standard output\&. Other
-audio parameters are configurable\&. Before execution, %f is
-replaced with path to the output ogg, %c, %s and %b with matching audio
-format parameters, and %B with encoding bitrate in kbps\&.
-Double-quotes and backslash-espacing can be used to include white-space to
-individual parameters\&. By default Ecasound will try to
-launch (oggenc)\&.
-.IP
-.IP "ext-cmd-mikmod"
-Command for starting mikmod input\&. Ecasound expects that
-signed, 16bit, stereo audio samples are written to standard
-output\&. Before execution, %f is replaced with
-file path, and %s with selected sample rate\&. Double-quotes
-and backslash-espacing can be used to include white-space to
-individual parameters\&. By default Ecasound will try to launch
-\fImikmod\fP\&.
-.IP
-.IP "ext-cmd-timidity"
-Command for starting timidity++ input\&. Ecasound expects that
-signed, 16bit, stereo audio samples are written to standard
-output\&. Before execution, %f is replaced with file path, and
-%s with sample rate\&. Double-quotes and backslash-espacing can
-be used to include white-space to individual parameters\&.
-By default Ecasound will try to launch \fItimidity\fP\&.
-.IP
-.IP "ext-cmd-flac-input"
-Command for starting FLAC input\&. Ecasound expects that audio samples
-are written to standard output\&. It should be noted that
-Ecasound is not able to query the audio format parameters from
-FLAC files, so these need to be set manually by the user\&.
-Before execution, %f is replaced with path to the input FLAC
-file\&. Double-quotes and backslash-espacing can be used to include
-white-space to individual parameters\&. By default Ecasound will
-try to launch (flac)\&.
-.IP
-.IP "ext-cmd-flac-output"
-Command for starting FLAC output\&. Ecasound will write
-samples to standard output\&. All audio parameters are
-configurable\&. Before execution, %f is replaced with path to
-the output flac, %c, %b and %s with matching audio
-format parameters, %I with either \&'signed\&' or \&'unsigned\&', and
-%E with either \&'little\&' or \&'big\&'\&. Double-quotes and backslash-espacing
-can be used to include white-space to individual parameters\&. By default
-Ecasound will try to launch (flac)\&.
-.IP
-.IP "ext-cmd-aac-input"
-Command for starting AAC input\&. Ecasound expects that signed,
-16bit, stereo, big-endian audio samplesare written to standard
-output\&. It should be noted that Ecasound is not able to query
-the input sample rate, so this needs to be set manually by the user\&.
-Before execution, %f is replaced with path to the input AAC
-file\&. Note! FAAC must be compiled with MP4 support\&. Double-quotes
-and backslash-espacing can be used to include white-space to
-individual parameters\&. By default Ecasound will try to
-laucnh \fIfaad\fP\&.
-.IP
-.IP "ext-cmd-aac-output"
-Command for starting AAC output\&. Ecasound will write big-endian
-audio samples to standard output\&. All other audio parameters are
-configurable\&. Before execution, %f is replaced with path to
-the output AAC file, %c, %b and %s with matching audio format
-parameters\&. Note! FAAC must be compiled with MP4 support\&. Double-quotes
-and backslash-espacing can be used to include white-space to
-individual parameters\&. By default Ecasound will try to launch
-\fIfaac\fP\&.
-.IP
-.SH "DEPRECATED"
-
-.PP
-.IP "ext-cmd-wave-editor"
-
-.IP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecatools (1), ecasound-iam (1)
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecasoundrc_manpage.html b/library/ecasound/Documentation/ecasoundrc_manpage.html
deleted file mode 100644
index 248526112..000000000
--- a/library/ecasound/Documentation/ecasoundrc_manpage.html
+++ /dev/null
@@ -1,252 +0,0 @@
-
-ecasoundrc
-
-
-
-
-ecasoundrc
-22.03.2009
-
-
-
-
-
-
-
-
-
-ecasoundrc(5)
-
-
-
-
-ecasoundrc(5)
- Multimedia software
-22.03.2009
-
-
-
-
NAME ecasoundrc - ecasound rcfile
-
-
SYNOPSIS
- {prefix}/share/ecasound/ecasoundrc (for instance '/usr/local/share/ecasound/ecasoundrc')
- $HOME/.ecasound/ecasoundrc
-
-
DESCRIPTION
-
-ecasoundrc is the main configuration file for ecasound.
- Any user-specific modification should be done to
- $HOME/.ecasound/ecasoundrc, not to the global resource file. Ecasound
- also allows to disable the normal policy and only read from a specific
- resource file (see ecasound (1) and documentation for the -R option).
-
-The format is quite simple. One line consists of
- a configuration variable and its value. Variable and value
- are separated with either '=' or ' '. Lines beginning with a
- "#" are ignored (comment lines).
-
-
VARIABLES
-
-
-
-
midi-device
- MIDI-device. If the device name is given in rawmidi,/dev/midi*
- format, OSS/Linux or OSS/Lite drivers are used.
- Device rawmidi,/dev/snd/midiCxDy opens an ALSA raw-MIDI
- device with card number 'x' and device number 'y'.
- See ecasound (1) man page (the '-Md option) for more info.
- Defaults to rawmidi,/dev/midi .
-
-
default-output
- Output device to use by default. If a chainsetup with zero
- outputs, but with one or more inputs, is connected, a default output
- is added and all the chains are connected to it. If the special-case
- value 'autodetect' is specified, ecasound will try to auto-detect
- a suitable device (JACK -> ALSA -> OSS -> rtnull).
- Defaults to autodetect .
-
-
default-audio-format
- Default values for sample format, channel count, sampling rate
- and channel interleaving. Syntax is the same as used by
- ecasound's -f option (see ecasound (1)).
- Defaults to s16_le,2,44100,i .
-
-
default-to-precise-sample-rates
- Whether to ignore sample rate differences (and possibly avoid
- resampling). Currently only affects OSS-devices. Defaults to false .
-
-
default-mix-mode
- If default-mix-mode is sum , engine will mix multiple channels into
- one output channel by summing all input channels. In mode avg ,
- mixing is done by taking the average of all input channels. The
- avg mode is safe from clipping, while sum is closer
- to the way analog mixers work. Defaults to avg .
-
-
bmode-defaults-nonrt
- Selects the default parameters to use with buffering
- mode 'nonrt' (other modes are 'rt' and 'rtlowlatency).
- Parameters are given as a comma-separated tuple of values:
- 1) buffersize (number,-b), 2) raised priority (true/false,-r),
- 3) sched_priority (number,-r:X), 4) double buffering
- (true/false,-z:db), 5) db-bufsize (number,-z:db,X), and
- 6) max intbuf (true/false,-z:intbuf). Defaults to
- 1024,false,50,false,100000,true .
-
-
bmode-defaults-rt
- See 'bmode-defaults-nonrt'. Defaults to
- 1024,true,50,true,100000,true .
-
-
bmode-defaults-rtlowlatency
- See 'bmode-defaults-nonrt'. Defaults to
- 256,true,50,true,100000,false .
-
-
resource-directory
- Directory for global ecasound configuration files.
- Defaults to {prefix-dir}/share/ecasound .
- Note! User-specific resource files can be be stored
- to '$(HOME)/.ecasound/'. For instance you can
- add your own presets definitions to
- '$(HOME)/.ecasound/effect_presets'.
-
-
resource-file-genosc-envelopes
- Configuration file for generic oscillators. Is located in the
- resource directory. Defaults to generic_oscillators .
-
-
resource-file-effect-presets
- Configuration file for effect presets. Is located in the
- resource directory. Defaults to effect_presets .
-
-
ladspa-plugin-directory
- Directory containing LADSPA effect plugins. Defaults to {prefix-dir}/lib/ladspa .
- If environment variable LADSPA_PATH exists, directories
- specified in it are automatically searched for plugins.
- Note! To match the syntax of the LADSPA_PATH environment
- variable, 'ladspa-plugin-directory' can contain multiple
- directories, separated by ':' characters.
-
-
ext-cmd-text-editor
- If ext-cmd-text-editor-use-getenv is false or "EDITOR"
- is null, value of this field is used.
-
-
ext-cmd-text-editor-use-getenv
- Should ecasound try to query environment variable "EDITOR".
- Defaults to true .
-
-
ext-cmd-mp3-input
- Command for starting mp3 input. Ecasound expects to read signed,
- 16bit, little-endian stereo audio samples from its standard
- input. Ecsound will query other audio format parameters by parsing
- the mp3 file header. Before execution, %f is replaced with
- path to the input mp3. If exists, "%o" is replaced with he
- start offset in mp3 frames. Double-quotes and backslash-espacing
- can be used to include white-space to individual parameters.
- By default, mpg123 is launched.
-
-
ext-cmd-mp3-output
- Command for starting mp3 output. Ecasound will write stereo,
- signed, 16bit, little-endian samples to standard output. Sample
- rate is configurable. Before execution, %f is replaced with
- path to the output mp3, %S with sample rate in kHz, and
- %B with encoding bitrate in kbps. Double-quotes and
- backslash-espacing can be used to include white-space to
- individual parameters. By default Ecasound will try to
- launch lame . As a special exception (added to Ecasound
- 2.7.0), if the output program is "lame" and options
- include "--big-endian", Ecasound will detect this and output
- big-endian samples.
-
-
ext-cmd-ogg-input
- Command for starting Ogg Vorbis input. Ecasound expects that audio samples
- are written to standard output. It should be noted that
- Ecasound is not able to query the audio format parameters from
- ogg files, so these need to be set manually by the user.
- Before execution, %f is replaced with path to the input ogg.
- Double-quotes and backslash-espacing can be used to include white-space
- to individual parameters. By default Ecasound will try to
- launch (ogg123).
-
-
ext-cmd-ogg-output
- Command for starting Ogg Vorbis output. Ecasound will write
- samples in little-endian format to standard output. Other
- audio parameters are configurable. Before execution, %f is
- replaced with path to the output ogg, %c, %s and %b with matching audio
- format parameters, and %B with encoding bitrate in kbps.
- Double-quotes and backslash-espacing can be used to include white-space to
- individual parameters. By default Ecasound will try to
- launch (oggenc).
-
-
ext-cmd-mikmod
- Command for starting mikmod input. Ecasound expects that
- signed, 16bit, stereo audio samples are written to standard
- output. Before execution, %f is replaced with
- file path, and %s with selected sample rate. Double-quotes
- and backslash-espacing can be used to include white-space to
- individual parameters. By default Ecasound will try to launch
- mikmod .
-
-
ext-cmd-timidity
- Command for starting timidity++ input. Ecasound expects that
- signed, 16bit, stereo audio samples are written to standard
- output. Before execution, %f is replaced with file path, and
- %s with sample rate. Double-quotes and backslash-espacing can
- be used to include white-space to individual parameters.
- By default Ecasound will try to launch timidity .
-
-
ext-cmd-flac-input
- Command for starting FLAC input. Ecasound expects that audio samples
- are written to standard output. It should be noted that
- Ecasound is not able to query the audio format parameters from
- FLAC files, so these need to be set manually by the user.
- Before execution, %f is replaced with path to the input FLAC
- file. Double-quotes and backslash-espacing can be used to include
- white-space to individual parameters. By default Ecasound will
- try to launch (flac).
-
-
ext-cmd-flac-output
- Command for starting FLAC output. Ecasound will write
- samples to standard output. All audio parameters are
- configurable. Before execution, %f is replaced with path to
- the output flac, %c, %b and %s with matching audio
- format parameters, %I with either 'signed' or 'unsigned', and
- %E with either 'little' or 'big'. Double-quotes and backslash-espacing
- can be used to include white-space to individual parameters. By default
- Ecasound will try to launch (flac).
-
-
ext-cmd-aac-input
- Command for starting AAC input. Ecasound expects that signed,
- 16bit, stereo, big-endian audio samplesare written to standard
- output. It should be noted that Ecasound is not able to query
- the input sample rate, so this needs to be set manually by the user.
- Before execution, %f is replaced with path to the input AAC
- file. Note! FAAC must be compiled with MP4 support. Double-quotes
- and backslash-espacing can be used to include white-space to
- individual parameters. By default Ecasound will try to
- laucnh faad .
-
-
ext-cmd-aac-output
- Command for starting AAC output. Ecasound will write big-endian
- audio samples to standard output. All other audio parameters are
- configurable. Before execution, %f is replaced with path to
- the output AAC file, %c, %b and %s with matching audio format
- parameters. Note! FAAC must be compiled with MP4 support. Double-quotes
- and backslash-espacing can be used to include white-space to
- individual parameters. By default Ecasound will try to launch
- faac .
-
-
-
-
DEPRECATED
-
-
-
-
ext-cmd-wave-editor
-
-
-
-
SEE ALSO
-
-ecasound (1), ecatools (1), ecasound-iam (1)
-
-
AUTHOR
-
-Kai Vehmanen, <kvehmanen -at- eca -dot- cx >
diff --git a/library/ecasound/Documentation/ecatools.1 b/library/ecasound/Documentation/ecatools.1
deleted file mode 100644
index 824dc5713..000000000
--- a/library/ecasound/Documentation/ecatools.1
+++ /dev/null
@@ -1,220 +0,0 @@
-.TH "ecatools" "1" "12\&.11\&.2005" "" "Multimedia software"
-
-.PP
-.SH "NAME"
-ecatools \- audio processing utils based on ecasound
-.PP
-.SH "SYNOPSIS"
-\fBecaconvert\fP \&.extension file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecafixdc\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecalength\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecamonitor\fP [host][:port]
-.PP
-\fBecanormalize\fP file1 [ file2 \&.\&.\&. fileN ]
-.PP
-\fBecaplay\fP [-dfhklopq] [ file1 file2 \&.\&.\&. fileN ]
-.PP
-\fBecasignalview\fP [ options ] [ input ] [ output ]
-.PP
-.SH "DESCRIPTION"
-
-.PP
-Ecatools are simple command line utils for audio file processing\&.
-Each tool is designed to perform one specific operation\&. Most of
-the tools also support batch processing\&.
-.PP
-\fBECACONVERT\fP
-.PP
-A tool for converting a set of files to a common target format\&.
-This target format is given as the first command line
-argument, and its syntax is \fI\&.ext\fP\&.
-.PP
-\fBECAFIXDC\fP
-.PP
-A simple command-line tool for fixing DC-offset\&.
-.PP
-\fBECALENGTH\fP
-.PP
-See the separate ecalength(1) man page\&.
-.PP
-\fBECAMONITOR\fP
-.PP
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session\&. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things\&.
-.PP
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868"\&.
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo\&.mynetwork\&.com" or
-"ecamonitor foo\&.mynetwork\&.com:4500"\&.
-.PP
-To enable inbound connections, ecasound has to be
-started with the \fI--daemon\fP option\&. Ecamonitor is
-implemented in Python using the NetECI API\&.
-.PP
-\fBECANORMALIZE\fP
-.PP
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution\&. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file\&.
-.PP
-\fBECAPLAY\fP
-.PP
-Ecaplay is a command-line tool for playing audio files\&. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library\&.
-.PP
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism\&. In playlist mode, files can be added to the playlist
-using the \fI-q\fP option\&. The \fI-p\fP option can then be used
-to play all tracks on the playlist\&. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C)\&.
-Playlist can be flushed with \fI-f\fP and its contents listed
-with \fI-l\fP option\&.
-.PP
-If not otherwise specified, ecaplay will use the audio output device
-specified in \fI~/\&.ecasound/ecasoundrc\fP for playback\&. A different
-output device can be selected with \fIECAPLAY_OUTPUT_DEVICE\fP shell
-environment variable or with the \fI-o:output_device\fP command-line
-option\&.
-.PP
-Playback can be stopped at any time with Ctrl-C\&. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one\&. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit\&.
-.PP
-.IP "-d:debuglevel"
-Set libecasound debug level\&. See ecasound(1)\&.
-.IP
-.IP "-f"
-Flush the playlist contents\&. See also
-options \fI-l, -p and -q\fP\&.
-.IP
-.IP "-h"
-Print usage information and exit\&.
-.IP
-.IP "-k:number"
-Skip \&'number\&' of files\&.
-.IP
-.IP "-l"
-List the current playlist contents to stdout\&. See also
-options \fI-f, -p and -q\fP\&.
-.IP
-.IP "-o:output_device"
-Use \&'output_device\&' instead of the default output device
-(as specified in \fI~/\&.ecasound/ecasoundrc\fP)\&. Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page)\&.
-This option overrides the \fIECAPLAY_OUTPUT_DEVICE\fP environment
-variable (more info below)\&.
-.IP
-.IP "-p"
-Play tracks in the playlist (in looped mode)\&. See also
-options \fI-f, -l and -q\fP\&.
-.IP
-.IP "-q"
-Queue new tracks to the playlist\&. All filenames given on
-the command-line will be added to the the playlist\&. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist\&. See also options \fI-f, -l
-and -p\fP\&.
-.IP
-\fBECASIGNALVIEW\fP
-.PP
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics\&. It accepts the following options:
-.PP
-.IP "input"
-The first option not starting with a \&'-\&' is interpreted
-as an input string\&. This can be a device or a filename\&. All formats
-supported by libecasound are accepted\&. Defaults to \&'/dev/dsp\&'\&.
-.IP
-.IP "output"
-Similarly to input, second option not starting with a \&'-\&'
-is interpreted as output\&. Defaults to \&'null\&'\&.
-.IP
-.IP "-b:buffersize"
-Buffersize in sample frames\&. Defaults to 128\&.
-.IP
-.IP "-c"
-Enable cumulative mode\&. Counters are not reseted after refresh\&.
-\fI*deprecated*\fP
-.IP
-.IP "-d"
-Enable debug mode\&.
-.IP
-.IP "-f:format_string"
-Specify default audio format\&. See ecasound(1) for details\&.
-.IP
-.IP "-r:rate_msec"
-Specify screen refresh rate in milliseconds\&.
-.IP
-.IP "-I"
-Use linear scale for showing audio sample amplitude\&.
-.IP
-.IP "-L"
-Use logarithmic scale for showing audio sample amplitude\&.
-.IP
-.IP "-G, -B, -M*, -r, -z"
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details\&.
-.IP
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-.PP
-.IP "spacebar"
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count)\&.
-.IP
-.IP "q or Q or Esc"
-Quit ecasignalview\&.
-.IP
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i\&.e\&.
-from another console: "killall -v -HUP ecasignalview")\&.
-.PP
-More complete documentation for ecasignalview can be found
-from "Ecasound User\&'s Guide" (see \&'\&'http://www\&.eca\&.cx/ecasound
--> Documentation\&'\&')\&.
-.PP
-.SH "ENVIRONMENT"
-
-.PP
-\fIECASOUND\fP
-Path to the ecasound executable\&. Used by many ecatools\&.
-.PP
-\fIECAPLAY_OUTPUT_DEVICE\fP
-Device ecaplay should use for audio output\&. Same syntax
-as for ecaplay/ecasound "-o" option\&.
-.PP
-.SH "FILES"
-
-.PP
-\fI~/\&.ecasound/ecasoundrc\fP
-The default ecasound resource file\&. See ecasoundrc(5)
-for details\&.
-.PP
-\fI~/\&.ecasound/ecaplay_queue\fP
-File used to store the ecaplay playlist (one track per
-line with full path)\&.
-.PP
-.SH "SEE ALSO"
-
-.PP
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-.PP
-.SH "AUTHOR"
-
-.PP
-Kai Vehmanen, >
diff --git a/library/ecasound/Documentation/ecatools_manpage.html b/library/ecasound/Documentation/ecatools_manpage.html
deleted file mode 100644
index 4d354a758..000000000
--- a/library/ecasound/Documentation/ecatools_manpage.html
+++ /dev/null
@@ -1,248 +0,0 @@
-
-ecatools
-
-
-
-
-ecatools
-12.11.2005
-
-
-
-
-
-
-
-
-
-ecatools(1)
-
-
-
-
-ecatools(1)
- Multimedia software
-12.11.2005
-
-
-
-
NAME ecatools - audio processing utils based on ecasound
-
-
SYNOPSIS
-ecaconvert .extension file1 [ file2 ... fileN ]
-
-ecafixdc file1 [ file2 ... fileN ]
-
-ecalength file1 [ file2 ... fileN ]
-
-ecamonitor [host][:port]
-
-ecanormalize file1 [ file2 ... fileN ]
-
-ecaplay [-dfhklopq] [ file1 file2 ... fileN ]
-
-ecasignalview [ options ] [ input ] [ output ]
-
-
DESCRIPTION
-
-Ecatools are simple command line utils for audio file processing.
-Each tool is designed to perform one specific operation. Most of
-the tools also support batch processing.
-
-ECACONVERT
-
-A tool for converting a set of files to a common target format.
-This target format is given as the first command line
-argument, and its syntax is .ext .
-
-ECAFIXDC
-
-A simple command-line tool for fixing DC-offset.
-
-ECALENGTH
-
-See the separate ecalength(1) man page.
-
-ECAMONITOR
-
-Ecamonitor is a util program that can be used
-to monitor an active ecasound session. Ecamonitor
-is able to show information about the current
-chainsetup such as list of inputs, outputs,
-current position, effects, the engine status
-and numerous other things.
-
-By default ecamonitor will try to connect
-to IP4 address "localhost", to port "2868".
-A different address can be specified when
-starting ecamonitor, for example
-"ecamonitor foo.mynetwork.com" or
-"ecamonitor foo.mynetwork.com:4500".
-
-To enable inbound connections, ecasound has to be
-started with the --daemon option. Ecamonitor is
-implemented in Python using the NetECI API.
-
-ECANORMALIZE
-
-Ecanormalize is a command-line tool for normalizing audio
-files to utilize the full available sample resolution. Ecanormalize
-first finds out how much the input file can be amplified without
-clipping and if there is room for increase, a static gain will
-be applied to the file.
-
-ECAPLAY
-
-Ecaplay is a command-line tool for playing audio files. Ecaplay
-uses the libecasound engine and is thus able to handle all audio formats
-supported by the library.
-
-Files can be selected for playback either by specifying the
-filenames on the command-line, or by using the playlist
-mechanism. In playlist mode, files can be added to the playlist
-using the -q option. The -p option can then be used
-to play all tracks on the playlist. Ecaplay will repeat the
-playlist tracks until explicitly stopped (with double Ctrl-C).
-Playlist can be flushed with -f and its contents listed
-with -l option.
-
-If not otherwise specified, ecaplay will use the audio output device
-specified in ~/.ecasound/ecasoundrc for playback. A different
-output device can be selected with ECAPLAY_OUTPUT_DEVICE shell
-environment variable or with the -o:output_device command-line
-option.
-
-Playback can be stopped at any time with Ctrl-C. If multiple
-files are played, first Ctrl-C will stop the current file and move
-on to play the next one. Issuing Ctrl-C twice (within one second),
-will cause ecaplay to exit.
-
-
-
-d:debuglevel
-Set libecasound debug level. See ecasound(1).
-
-
-f
-Flush the playlist contents. See also
-options -l, -p and -q .
-
-
-h
-Print usage information and exit.
-
-
-k:number
-Skip 'number' of files.
-
-
-l
-List the current playlist contents to stdout. See also
-options -f, -p and -q .
-
-
-o:output_device
-Use 'output_device' instead of the default output device
-(as specified in ~/.ecasound/ecasoundrc ). Syntax is same
-as used by "-o" ecasound option (see ecasound(1) man page).
-This option overrides the ECAPLAY_OUTPUT_DEVICE environment
-variable (more info below).
-
-
-p
-Play tracks in the playlist (in looped mode). See also
-options -f, -l and -q .
-
-
-q
-Queue new tracks to the playlist. All filenames given on
-the command-line will be added to the the playlist. It is
-possible to queue new tracks while another instance of
-ecaplay is using the playlist. See also options -f, -l
-and -p .
-
-
-
-ECASIGNALVIEW
-
-Ecasignalview is meant for monitoring signal amplitude and peak
-statistics. It accepts the following options:
-
-
-
input
-The first option not starting with a '-' is interpreted
-as an input string. This can be a device or a filename. All formats
-supported by libecasound are accepted. Defaults to '/dev/dsp'.
-
-
output
-Similarly to input, second option not starting with a '-'
-is interpreted as output. Defaults to 'null'.
-
-
-b:buffersize
-Buffersize in sample frames. Defaults to 128.
-
-
-c
-Enable cumulative mode. Counters are not reseted after refresh.
-*deprecated*
-
-
-d
-Enable debug mode.
-
-
-f:format_string
-Specify default audio format. See ecasound(1) for details.
-
-
-r:rate_msec
-Specify screen refresh rate in milliseconds.
-
-
-I
-Use linear scale for showing audio sample amplitude.
-
-
-L
-Use logarithmic scale for showing audio sample amplitude.
-
-
-G, -B, -M*, -r, -z
-Ecasound options use to modify the engine behaviour, see
-ecasound(1) manpage for details.
-
-
-
-When ecasignalview is running, the following keyboard
-commands can be used to control the operation (requires
-system support for UNIX terminal interface control):
-
-
-
spacebar
-Reset statistics (max-peak, avg-amplitude and clipped
-samples count).
-
-
q or Q or Esc
-Quit ecasignalview.
-
-
-
-It is also possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i.e.
-from another console: "killall -v -HUP ecasignalview").
-
-More complete documentation for ecasignalview can be found
-from "Ecasound User's Guide" (see ''http://www.eca.cx/ecasound
--> Documentation'').
-
-
ENVIRONMENT
-
-ECASOUND
- Path to the ecasound executable. Used by many ecatools.
-
-ECAPLAY_OUTPUT_DEVICE
- Device ecaplay should use for audio output. Same syntax
- as for ecaplay/ecasound "-o" option.
-
-
FILES
-
-~/.ecasound/ecasoundrc
- The default ecasound resource file. See ecasoundrc(5)
- for details.
-
-~/.ecasound/ecaplay_queue
- File used to store the ecaplay playlist (one track per
- line with full path).
-
-
SEE ALSO
-
-ecasound (1), ecalength(1), "HTML docs in the Documentation subdirectory"
-
-
AUTHOR
-
-Kai Vehmanen, <kvehmanen -at- eca -dot- cx >
diff --git a/library/ecasound/Documentation/programmers_guide/Makefile.am b/library/ecasound/Documentation/programmers_guide/Makefile.am
deleted file mode 100644
index 123ba1677..000000000
--- a/library/ecasound/Documentation/programmers_guide/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-# ----------------------------------------------------------------------
-# File: ecasound/Documentation/programmers_guide/Makefile.am
-# Description: Ecasound documentation - programmer's guide
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-
-# ---------------------------------------------------------------------
-# Files going into distribution:
-EXTRA_DIST = ecasound_programmers_guide.txt \
- eci_doc.latex
-
-DISTCLEANFILES = \
- ecasound_programmers_guide.html \
- eci_doc.log \
- eci_doc.aux \
- eci_doc.toc \
- eci_doc.dvi \
- eci_doc.ps \
- ecasound_eci_doc.pdf \
- html_ecidoc/eci_doc.html \
- html_ecidoc/eci_doc.haux \
- html_ecidoc/eci_doc.htoc
-
-all:
-
-docs: ecasound_programmers_guide.html ecasound_eci_doc.pdf
-
-ecasound_programmers_guide.html: $(srcdir)/ecasound_programmers_guide.txt
- rst2html $(srcdir)/ecasound_programmers_guide.txt ecasound_programmers_guide.html
-
-# note: to create the table of contents (which spans multiple pages), and
-# re-calculate the page numbers after the page offset generated by table
-# of contents, latex needs to be ran 3 times. (Junichi Uekawa, 2007-08-06)
-
-ecasound_eci_doc.pdf: $(srcdir)/eci_doc.latex eci_doc.dvi
- latex $(srcdir)/eci_doc.latex
- latex $(srcdir)/eci_doc.latex
- latex $(srcdir)/eci_doc.latex
- dvips -Ppdf -o eci_doc.ps eci_doc.dvi
- ps2pdf eci_doc.ps ecasound_eci_doc.pdf
- mkdir -p html_ecidoc
- hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex
- hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex
-
-eci_doc.dvi: $(srcdir)/eci_doc.latex
-
-clean-docs:
- rm -fv ecasound_programmers_guide.html ecasound_eci_doc.pdf
- rm -fv eci_doc.log eci_doc.toc eci_doc.dvi eci_doc.aux eci_doc.ps eci_doc.dvi
- rm -fv html_ecidoc/*
diff --git a/library/ecasound/Documentation/programmers_guide/Makefile.in b/library/ecasound/Documentation/programmers_guide/Makefile.in
deleted file mode 100644
index 842cae9fc..000000000
--- a/library/ecasound/Documentation/programmers_guide/Makefile.in
+++ /dev/null
@@ -1,435 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# ----------------------------------------------------------------------
-# File: ecasound/Documentation/programmers_guide/Makefile.am
-# Description: Ecasound documentation - programmer's guide
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ../..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = Documentation/programmers_guide
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AM_CFLAGS = @AM_CFLAGS@
-AM_CPPFLAGS = @AM_CPPFLAGS@
-AM_CXXFLAGS = @AM_CXXFLAGS@
-AM_LDFLAGS = @AM_LDFLAGS@
-AR = @AR@
-ARTSC_CONFIG = @ARTSC_CONFIG@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DSYMUTIL = @DSYMUTIL@
-ECA_AM_ALL_STATIC_FALSE = @ECA_AM_ALL_STATIC_FALSE@
-ECA_AM_ALL_STATIC_TRUE = @ECA_AM_ALL_STATIC_TRUE@
-ECA_AM_COMPILE_ALSA_FALSE = @ECA_AM_COMPILE_ALSA_FALSE@
-ECA_AM_COMPILE_ALSA_TRUE = @ECA_AM_COMPILE_ALSA_TRUE@
-ECA_AM_COMPILE_ARTS_FALSE = @ECA_AM_COMPILE_ARTS_FALSE@
-ECA_AM_COMPILE_ARTS_TRUE = @ECA_AM_COMPILE_ARTS_TRUE@
-ECA_AM_COMPILE_AUDIOFILE_FALSE = @ECA_AM_COMPILE_AUDIOFILE_FALSE@
-ECA_AM_COMPILE_AUDIOFILE_TRUE = @ECA_AM_COMPILE_AUDIOFILE_TRUE@
-ECA_AM_COMPILE_JACK_FALSE = @ECA_AM_COMPILE_JACK_FALSE@
-ECA_AM_COMPILE_JACK_TRUE = @ECA_AM_COMPILE_JACK_TRUE@
-ECA_AM_COMPILE_OSS_FALSE = @ECA_AM_COMPILE_OSS_FALSE@
-ECA_AM_COMPILE_OSS_TRUE = @ECA_AM_COMPILE_OSS_TRUE@
-ECA_AM_COMPILE_SAMPLERATE_FALSE = @ECA_AM_COMPILE_SAMPLERATE_FALSE@
-ECA_AM_COMPILE_SAMPLERATE_TRUE = @ECA_AM_COMPILE_SAMPLERATE_TRUE@
-ECA_AM_COMPILE_SNDFILE_FALSE = @ECA_AM_COMPILE_SNDFILE_FALSE@
-ECA_AM_COMPILE_SNDFILE_TRUE = @ECA_AM_COMPILE_SNDFILE_TRUE@
-ECA_AM_DEBUG_MODE_FALSE = @ECA_AM_DEBUG_MODE_FALSE@
-ECA_AM_DEBUG_MODE_TRUE = @ECA_AM_DEBUG_MODE_TRUE@
-ECA_AM_DISABLE_EFFECTS_FALSE = @ECA_AM_DISABLE_EFFECTS_FALSE@
-ECA_AM_DISABLE_EFFECTS_TRUE = @ECA_AM_DISABLE_EFFECTS_TRUE@
-ECA_AM_FEELING_EXPERIMENTAL_FALSE = @ECA_AM_FEELING_EXPERIMENTAL_FALSE@
-ECA_AM_FEELING_EXPERIMENTAL_TRUE = @ECA_AM_FEELING_EXPERIMENTAL_TRUE@
-ECA_AM_KVUTILS_INSTALLED_FALSE = @ECA_AM_KVUTILS_INSTALLED_FALSE@
-ECA_AM_KVUTILS_INSTALLED_TRUE = @ECA_AM_KVUTILS_INSTALLED_TRUE@
-ECA_AM_PYECASOUND_CEXT_FALSE = @ECA_AM_PYECASOUND_CEXT_FALSE@
-ECA_AM_PYECASOUND_CEXT_TRUE = @ECA_AM_PYECASOUND_CEXT_TRUE@
-ECA_AM_PYECASOUND_INSTALL_FALSE = @ECA_AM_PYECASOUND_INSTALL_FALSE@
-ECA_AM_PYECASOUND_INSTALL_TRUE = @ECA_AM_PYECASOUND_INSTALL_TRUE@
-ECA_AM_RUBYECASOUND_INSTALL_FALSE = @ECA_AM_RUBYECASOUND_INSTALL_FALSE@
-ECA_AM_RUBYECASOUND_INSTALL_TRUE = @ECA_AM_RUBYECASOUND_INSTALL_TRUE@
-ECA_AM_SYSTEM_READLINE_FALSE = @ECA_AM_SYSTEM_READLINE_FALSE@
-ECA_AM_SYSTEM_READLINE_TRUE = @ECA_AM_SYSTEM_READLINE_TRUE@
-ECA_AM_USE_NCURSES_FALSE = @ECA_AM_USE_NCURSES_FALSE@
-ECA_AM_USE_NCURSES_TRUE = @ECA_AM_USE_NCURSES_TRUE@
-ECA_AM_USE_TERMCAP_FALSE = @ECA_AM_USE_TERMCAP_FALSE@
-ECA_AM_USE_TERMCAP_TRUE = @ECA_AM_USE_TERMCAP_TRUE@
-ECA_S_EXTRA_CPPFLAGS = @ECA_S_EXTRA_CPPFLAGS@
-ECA_S_EXTRA_LIBS = @ECA_S_EXTRA_LIBS@
-ECA_S_JACK_INCLUDES = @ECA_S_JACK_INCLUDES@
-ECA_S_JACK_LIBS = @ECA_S_JACK_LIBS@
-ECA_S_PREFIX = @ECA_S_PREFIX@
-ECA_S_PYTHON_DLMODULES = @ECA_S_PYTHON_DLMODULES@
-ECA_S_PYTHON_INCLUDES = @ECA_S_PYTHON_INCLUDES@
-ECA_S_PYTHON_MODULES = @ECA_S_PYTHON_MODULES@
-ECA_S_READLINE_INCLUDES = @ECA_S_READLINE_INCLUDES@
-ECA_S_READLINE_LIBS = @ECA_S_READLINE_LIBS@
-ECA_S_RUBY_SITEDIR = @ECA_S_RUBY_SITEDIR@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBECASOUNDC_VERSION = @LIBECASOUNDC_VERSION@
-LIBECASOUNDC_VERSION_AGE = @LIBECASOUNDC_VERSION_AGE@
-LIBECASOUND_VERSION = @LIBECASOUND_VERSION@
-LIBECASOUND_VERSION_AGE = @LIBECASOUND_VERSION_AGE@
-LIBKVUTILS_VERSION = @LIBKVUTILS_VERSION@
-LIBKVUTILS_VERSION_AGE = @LIBKVUTILS_VERSION_AGE@
-LIBLO_CFLAGS = @LIBLO_CFLAGS@
-LIBLO_LIBS = @LIBLO_LIBS@
-LIBOBJS = @LIBOBJS@
-LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
-LIBOIL_LIBS = @LIBOIL_LIBS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-NMEDIT = @NMEDIT@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-PYTHONPATH = @PYTHONPATH@
-RANLIB = @RANLIB@
-RUBYPATH = @RUBYPATH@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-
-# ---------------------------------------------------------------------
-# Files going into distribution:
-EXTRA_DIST = ecasound_programmers_guide.txt \
- eci_doc.latex
-
-DISTCLEANFILES = \
- ecasound_programmers_guide.html \
- eci_doc.log \
- eci_doc.aux \
- eci_doc.toc \
- eci_doc.dvi \
- eci_doc.ps \
- ecasound_eci_doc.pdf \
- html_ecidoc/eci_doc.html \
- html_ecidoc/eci_doc.haux \
- html_ecidoc/eci_doc.htoc
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Documentation/programmers_guide/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign Documentation/programmers_guide/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-exec-am:
-
-install-info: install-info-am
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-info-am
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- distclean distclean-generic distclean-libtool distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-info-am
-
-
-all:
-
-docs: ecasound_programmers_guide.html ecasound_eci_doc.pdf
-
-ecasound_programmers_guide.html: $(srcdir)/ecasound_programmers_guide.txt
- rst2html $(srcdir)/ecasound_programmers_guide.txt ecasound_programmers_guide.html
-
-# note: to create the table of contents (which spans multiple pages), and
-# re-calculate the page numbers after the page offset generated by table
-# of contents, latex needs to be ran 3 times. (Junichi Uekawa, 2007-08-06)
-
-ecasound_eci_doc.pdf: $(srcdir)/eci_doc.latex eci_doc.dvi
- latex $(srcdir)/eci_doc.latex
- latex $(srcdir)/eci_doc.latex
- latex $(srcdir)/eci_doc.latex
- dvips -Ppdf -o eci_doc.ps eci_doc.dvi
- ps2pdf eci_doc.ps ecasound_eci_doc.pdf
- mkdir -p html_ecidoc
- hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex
- hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex
-
-eci_doc.dvi: $(srcdir)/eci_doc.latex
-
-clean-docs:
- rm -fv ecasound_programmers_guide.html ecasound_eci_doc.pdf
- rm -fv eci_doc.log eci_doc.toc eci_doc.dvi eci_doc.aux eci_doc.ps eci_doc.dvi
- rm -fv html_ecidoc/*
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/library/ecasound/Documentation/programmers_guide/ecasound_programmers_guide.txt b/library/ecasound/Documentation/programmers_guide/ecasound_programmers_guide.txt
deleted file mode 100644
index 6f21e7b12..000000000
--- a/library/ecasound/Documentation/programmers_guide/ecasound_programmers_guide.txt
+++ /dev/null
@@ -1,1207 +0,0 @@
-:editor: -*- mode: fundamental; tab-width: 4; indent-tabs-mode: nil -*-
-:version: 20090419-9
-:syntax: loosely follows restructured text, http://docutils.sourceforge.net/rst.html
-:author: Kai Vehmanen
-
-===========================
-Ecasound Programmer's Guide
-===========================
-
-.. #################################################################
-.. #################################################################
-
-.. contents::
-
-Preface
-~~~~~~~
-
-This document describes how Ecasound and the related libraries
-work, how to use them, how to extend and add features and other
-similar issues. Before reading this document, you should first take a
-look at other available documentation (especially
-Ecasound Users's Guide).
-
-If not otherwise specified, all documentation refers to the latest
-Ecasound version.
-
-.. #################################################################
-.. #################################################################
-
-Document history
-~~~~~~~~~~~~~~~~
-
-Hmm, why doesn't this work...?
-
-::
-
-| 19.04.2009 - Minor updates to NetECI and ECA_CONTROL.
-| 21.08.2005 - Typos fixed, removed duplicated section on audio
-| routing. Minor updates to various sections.
-| 25.04.2005 - Minor updates.
-| 28.03.2005 - Added section about "Source code markup", update the
-| "Design principles" section.
-| 13.03.2005 - Converted from LaTeX to ascii.
-| 23.10.2004 - Added section "EIAM commands" that covers adding
-| new EIAM commands.
-| 18.11.2003 - Typo fixes. Updated documentation to reflect the new
-| naming convention (ecasound refers to the binary,
-| Ecasound refers to the whole package).
-| 07.11.2002 - Added documentation for NetECI.
-| 25.10.2002 - Added "Checklist for Audio Object Implementations".
-| 17.10.2002 - Added a warning against direct use of libecasound
-| and libkvutils. Using ECI is from now on the
-| preferred way of using ecasound as a development
-| platform. Rewrote the "Versioning" section.
-| 02.10.2002 - Added the "Protocols and Interfaces" chapter.
-| 29.04.2002 - Added chapter about "Unit Tests".
-| 28.04.2002 - Revised namespace policy (see chapter
-| on namespaces), replaced references to
-| obsolete ECA_DEBUG with a description
-| of the new ECA_LOGGER subsystem.
-| 27.02.2002 - Rewrote the "Control flows" chapter according
-| to the structural changes made in 2.1dev8. Added
-| a "References" section.
-| 31.01.2002 - Reorganization of document structure. New chapter
-| about "Library organization".
-| 19.12.2001 - Added chapter about include hierarchies.
-| 28.10.2001 - Lots of changes to the "Object maps" chapter.
-| 21.10.2001 - Added this history section.
-
-.. #################################################################
-.. #################################################################
-
-General programming guidelines
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Design and programming principles
-=================================
-
-The following sections describe some of the key design
-principles that have been guiding Ecasound development.
-
-Open and generic design
------------------------
-
-Over the years Ecasound's core design has been revised many times.
-The aim has been to keep the core flexible enough, so it can
-be easily adapted to new use cases.
-
-Object-orientation
-------------------
-
-Ecasound is written in C++ (as specified in 1997 ANSI/ISO C++ standard).
-Common object-oriented design practices should be utilized. At same time
-overuse of object-orientation should be avoided. Object-orientation is
-a very effective design method, but not the only one. Sometimes other
-approaches work better.
-
-Data hiding
------------
-
-This design principle deserves to be mentioned separately. Whenever
-possible, the actual data representation and implementation details
-should always be hidden. This allows to make local implementation
-changes without affecting other parts of the code base. It cannot
-be emphasized enough how important this goal is for large software
-projects like Ecasound.
-
-Design by contract
-------------------
-
-When writing a new routine, in addition to the actual code,
-also routine's behaviour should be described as accurately as
-possible using preconditions and postconditions to describe
-the external side-effects (how it changes the object state, what
-is the relation between arguments and return values).
-
-The preconditions should specify all requirements and
-assumptions related to routine's inputs. If the caller violates
-this specification, routine is not responsible for the error.
-
-The postconditions should specify what statements hold true
-when routine has been executed. This information helps the
-caller to better understand how the routine works and
-to identify implementation bugs.
-
-Ideally, these conditions prove that the routine works
-correctly. Writing a complete description of a routine can be
-difficult, but the benefits of this approach should be clear.
-When you call a well-defined routine, a) you know what
-parameter values it accepts, b) you know what it does and c) if
-errors occur, it's easier to pinpoint the faulty routine.
-
-In practice describing routines is done by combining verbose
-comments and defining pre/postconditions. As C++ doesn't directly
-support pre/postconditions, the DEFINITION_BY_CONTRACT and DBC tools
-provided by libkvutils are used.
-
-Routine side effects
---------------------
-
-A clear distinction should be made between routines that
-have side-effects (=methods, processors, modifiers; routines that
-change object's state) and const routines (=functions, observers).
-
-To make monitoring side effects easier, all Ecasound classes
-should be const-correct. A object is const-correct if a function
-taking only a single argument that is a const reference to that object
-is not able, without explicit casting, to obtain a non-const
-reference to that same object (or a portion thereof) from within
-the function body.
-
-Sanity checks
--------------
-
-Sanity checks are done only to prevent crashes. All effects
-and operators should accept also "insane" parameters. For example,
-the amplifier effect accepts -100.0% as the gain value. This of course
-results in inverted sample data, which is a useful outcome.
-As Ecasound is supposed to be a tool for creative work and
-experimenting, the decisions on which parameters are useful
-for audio processing should not be made in source code.
-
-Error handling
---------------
-
-Two specific things worth mentioning: First, the standard UNIX-style
-error handling, where functions performing actions return an integer
-value, is not used in Ecasound. As described in the above section
-Routine side effects, all routines are either modifiers or
-observers, not both. So when using Ecasound APIs, you first perform an
-action (modifying function), and then afterwards check what happened
-(using an observer function).
-
-Exceptions
-----------
-
-C++ exceptions are used in Ecasound. Exception based error
-handling has its problems, but in some cases it is clearly the best
-option. Exceptions are most useful in situations where
-controlled error recovery is very difficult, and in situations
-where errors occurs only very rarely. This allows callers to
-avoid constantly checking returns values for functions that
-in normal use never fail. Another special case is handling critical
-errors that occur in class contructors.
-
-Using exceptions for anything other than pure error handling
-is to be avoided at all cost. And when exceptions are used,
-their use must be specified in function prototypes. This is important,
-as clients need to know what exceptions can be thrown. C++
-unfortunately doesn't require strict exception prototypes, so
-this issue requires extra care.
-
-A list of specific cases where exceptions are used follows:
-
-AUDIO_IO - open()
- This method is used for initializing external connections (opening
- files or devices, loading shared libraries, opening IPC connections).
- It's impossible to know in advance what might happen. In many cases it
- is also useful to get more verbose information about the problem
- that caused open() to fail. Throwing an exception is an excellent way
- to achieve this.
-
-ECA_CHAINSETUP - enable()
- TBD
-
-ECA_CHAINSETUP - load_from_file, save() and save_to_file
- TBD
-
-ECA_SESSION - constructor
- TBD
-
-
-Coding style, naming conventions and source code markup
-=======================================================
-
-This section describes some of the conventions used in
-Ecasound development. As a general rule, one should
-adapt to whatever style and conventions used in
-already existing code.
-
-Variable and type naming
-------------------------
-
-Variable names are all lower case and words are separated with
-underscores (int very_long_variable_name_with_underscores). Class data
-members are marked with "_rep" postfix. Data members which are
-pointers are marked with "_repp". Index-style short variable names
-(n, m, etc.) are only used in local scopes. Enum types
-have capitalized names (Some_enum).
-
-Use of macro processing should be avoided, but when necessary,
-macro names should be capitalized.
-
-Package specific
-----------------
-
-libecasound, ecasound, ecatools, libkvutils
- Class names are all in upper case and words separated with underscores
- (class ECA_CONTROL_BASE). This a standard style in Eiffel programming.
-
-libqtecasound, qtecasound, ecawave
- Qt-style is used when naming classes (class QELevelMeter), otherwise
- same as above.
-
-Private classes
----------------
-
-Some classes are divided into public and private parts. This is
-done to make it easier to maintain binary-level compatibility
-between library versions, and to get rid of header file
-dependencies.
-
-Private classes have a "_impl" postfix in their name. They
-are usually stored into separate files which also use the
-"_impl" notation.
-
-For instance the ECA_ENGINE class (eca-engine.h) has
-a private class ECA_ENGINE_impl (eca-engine_impl.h).
-Access to ECA_ENGINE_impl is only allowed to ECA_ENGINE
-member functions. In addition, the private header file
-(eca-engine_impl.h) is only included from the ECA_ENGINE
-implementation file (eca-engine.cpp). This allows us to
-add new data members to ECA_ENGINE_impl without breaking
-the binary interface.
-
-Unit tests
-----------
-
-Unit tests are used for verifying that modules work as intended.
-A test for component, with a public interface defined in
-"prefix-component.h", should located in
-"prefix-component_test.h". The test itself should implement
-the ECA_TEST_CASE interface. In addition, generic test cases
-should be added to ECA_TEST_REPOSITORY - see
-"libecasound/eca-test-repository.cpp".
-
-Source code markup
-------------------
-
-In addition to the Javadoc-style source code documentation (see
-'Documentation style' section), inline commentary markup is used
-to document important code segments. Use of common markup notation
-is preferred (for example it is nice to be able to grep for a list
-of open items in certain part of the codebase):
-
-- Known bugs, unhandled cases, and missing features should
- be marked with "FIXME: description" comments.
-
-- Explanatory notes that help to understand the code
- should be marked with "NOTE: description".
-
-Style updates
--------------
-
-The general rule is to use consistant style within one
-source file (i.e. compilation unit). Updates to style issues
-are also done with the same granularity. The following global
-updates have been made so far to the sources:
-
-eca-style-version: 1
- The opening braces of multi-line functions should be put on a separate
- line, at column 1, instead of being on the same line with
- function signature. This change only applies to functions, in
- other words the K&R style is followed.
-
-eca-style-version: 2
- Extra parenthesis around "return" values should be removed
- ("return" is a keyword, not a function).
-
-eca-style-version: 3
- The module name prefix, for example "(eca-session) ", should
- be removed from ECA_LOG_MSG() statements. The module prefix
- is added automatically to the debug messages when debug
- level "module_names" is activated.
-
-If a file has been updated according to these guidelines,
-the appropriate style version should be mentioned at the
-start of the file ("Attributes: eca-style-version: XXX").
-
-
-Physical level organization
-===========================
-
-Ecasound libraries and applications are divided into distribution
-packages, directories and file groups.
-
-Include hierarchies
--------------------
-
-Include statements that are not stricly necessary should be dropped!
-Not only do they cause unwanted dependencies, they also create more
-work for the compiler (Ecasound already takes painfully long to
-compile). Some rules to follow:
-
-- In header files, no extra header files should be defined.
- For instance in many cases it's enough to state that
- object SOME_TYPE is a class without need for the full
- implementation; so instead of "\#include "sometype.h", use
- "class SOME_TYPE;".
-
-- For modules with separate implementation and header files,
- dependencies to other modules need not be
- stated in both.
-
-- Direct dependencies to outside modules must always
- be mentioned directly. It's easy to unknowingly include
- a required header file via some other header file. This
- should be avoided as it hides real dependencies.
-
-- When including headers for more special services, it's
- good to add a comment why this header file is needed.
-
-Distribution packages
----------------------
-
-As an example, Ecasound and Ecawave are distributed as separate
-packages. This decision has been made because a) they are clearly
-independent, b) they have different external dependencies, and c)
-they address different target uses.
-
-Directories
------------
-
-It's convenient to organize larger sets of source code into separate
-directories. For instance libecasound and ecatools components of
-the Ecasound package are located in separate directories.
-
-File groups
------------
-
-Although files are divided in directories and subdirectories,
-there's still a need to logically group a set of source files based
-on their use and role in the overall design. As the use of C++
-namespaces is very limited in Ecasound (to avoid portability
-problems), filename prefixes are used for grouping files. Here's
-a short list of commonly used prefixes.
-
-audioio*.{cpp,h}
- Audio device and file input/output.
-audiofx*.{cpp,h}
- Audio effects and other DSP-related code.
-audiogate*.{cpp,h}
- Gate operators.
-eca*.{cpp,h}
- Core functionality.
-midi*.{cpp,h}
- MIDI input/output devices, handlers and controller code.
-osc*.{cpp,h}
- Oscillator and other controller sources.
-qe*.{cpp,h}
- Generic prefix for files utilizing both Qt and Ecasound libraries.
-samplebuffer*.{cpp,h}
- Routines and helper functions for processing audio data buffers.
-
-You should note that these are just recommendations - there are no
-strict rules on how files should be named.
-
-C++ std namespace
------------------
-
-The preferred way to access C++ standard library functions is
-to use explicit namespace selectors ("std::string") in public
-headers files, and "using declarations" in the implementation
-parts ("using std::string"). It's also possible to import the
-whole std namespace ("using namespace std;") in the beginning
-of an implementation file (but never in headers!).
-
-
-Documentation style
-===================
-
-Javadoc-style class documentation is the preferred style.
-Class members can be documented either when they are declared (header
-files), or when they are defined. Especially when specifying
-complicated interfaces, it's better to put documentation in the
-definition files. This way the header files remain compact and serve
-better as a reference.
-
-Here's a few general documentation guide lines:
-
-Use of 3rd person
- "Writes samples to memory." instead of "Write samples to memory."
-Sentences start with a verb
- "Writes samples to memory." instead of "Samples are written to memory."
-Use "this" instead of "the"
- "Get controllers connected to this effect." instead of "Get controllers connected to the effect.
-
-
-Versioning
-==========
-
-All Ecasound releases have a distinct version number. The
-version number syntax is x.y[.z][-extraT], where x and
-y are the major and minor numbers, and z is an optional
-revision number. To test major changes, separate -preX or
--rcX versions can be distributed before the official release.
-
-In addition, all Ecasound libraries have a separate interface
-version. The libtool-style version:revision:age versioning
-is used. See the libtool documentation for details.
-
-One important thing to note is that the library interface version
-numbers are tied to the source-code level interfaces, not the binary
-interfaces. Because binary interfaces are not explicitly versioned,
-applications should always statically link against the Ecasound
-libraries. Also, any private source-code interfaces, ie. header
-files with a "_impl.h" postfix, are not part of the versioned
-public interface. Applications should not rely on these interfaces!
-
-All changes in the public interfaces are documented in library
-specific ChangeLog files. These files are usually located in the
-top-level source directory of the versioned library.
-
-One thing to note is that Ecasound's versioning practises have
-changed quite a few times during the project's history. The
-rules described above only apply to Ecasound 2.2.0 and newer
-releases.
-
-.. #################################################################
-.. #################################################################
-
-How Ecasound works?
-~~~~~~~~~~~~~~~~~~~
-
-Example use cases
-=================
-
-Here's a few common use cases how Ecasound can be used.
-
-Simple non-interactive processing
----------------------------------
-
-One input is processed and then written to one output. This includes effect
-processing, normal sample playback, format conversions, etc.
-
-Multitrack mixing
------------------
-
-Multiple inputs are mixed into one output.
-
-Real-Time effect processing
----------------------------
-
-There's at least one real-time input and one real-time output.
-Signal is sampled from the real-time input, processed and
-written to the real-time output.
-
-One-track recording
--------------------
-
-One real-time input is processed and written to one or
-more outputs.
-
-Multitrack recording
---------------------
-
-The most common situation is that there are two separate
-chains. First one consists of real-time input routed to a
-non-real-time output. This is the recording chain. The
-other one is the monitor chain and it consists of one or
-more non-real-time inputs routed to a real-time output.
-You could also route your real-time input to the monitoring
-chain, but this is not recommended because of severe
-timing problems. To synchronize these two separate chains,
-Ecasound uses a special multitrack mode (which should be
-enabled automatically).
-
-Recycling a signal through external devices
--------------------------------------------
-
-Just like multirack recording. The only difference is
-that real-time input and output are externally
-connected.
-
-
-Audio signal routing
-====================
-
-Basic audio flow inside an Ecasound chainsetup is as follows: Audio
-data is routed from input audio objects to a group of chains. In
-the chains audio data is processed using chain operators. After
-processing data is routed to output objects.
-
-Using internal loop devices, it's also possible to route signals
-from one chain to another. Looping causes extra latency of one
-engine cycle.
-
-Routing of signals is based on the ability to assign inputs and
-outputs to multiple chains. Assigning an input object to multiple
-chains divides the audio signal generating multiple copies of
-the original input data. Similarly with an output object, data from
-multiple chains is mixed together to one output object.
-
-Control flow
-============
-
-Batch operation
----------------
-
-When Ecasound is run in batch mode, the program flow is simple.
-To store the session data, a ECA_SESSION object is first
-created. The created object is then passed as an argument for
-ECA_CONTROL class constructor.
-
-All required configuration of inputs, outputs and chain
-operators is done using the services provided by ECA_CONTROL.
-Once a valid chainsetup is ready for processing, batch
-operation is initiated by issuing ECA_CONTROL::run(). This
-function will block until processing is finished.
-
-Interactive operation
----------------------
-
-Interactive operation is similar to batch operation. The
-important difference is that processing is started with
-ECA_CONTROL::start(). Unlike run(), start() does not
-block the calling thread. This makes it possible to
-continue using the ECA_CONTROL interface while engine
-is running in the background.
-
-Two important concepts to understand when
-working with ECA_CONTROL are the selected
-and connected chainsetups. ECA_CONTROL allows
-working with multiple chainsetups, but only one
-of them can be edited at a time, and similarly
-only one at a time can be connected to the
-processing engine. For instance if you add a new
-input object with add_audio_input(), it is
-added to the selected chainsetup. Similarly when
-you issue start(), the connected chainsetup is
-started.
-
-.. #################################################################
-.. #################################################################
-
-Library organization
-~~~~~~~~~~~~~~~~~~~~
-
-The primary source for class documentation is header files.
-A browsable version of header documentation is at
-http://www.eca.cx/ecasound/Documentation
-Anyway, let's look at the some central classes.
-
-
-Interfaces for external use
-===========================
-
-The following classes of libecasound are designed as
-primary interfaces for external use. The approach
-is based on the Facade (GoF185) design pattern. The primary
-goals are concentrating functionality, and maintaining
-a higher level of interface stability.
-
-ECA_CONTROL - eca-control.h
----------------------------
-
-ECA_CONTROL represents the whole public interface offered by
-libecasound. The primary purpose of ECA_CONTROL is to offer a
-consistent, straightforward interface for controlling Ecasound.
-The interface is also designed to be more stable than other
-parts of the library.
-
-On important part of ECA_CONTROL is the functionality for
-interpreting EOS (Ecasound Option Syntax) and EAIM (Ecasound
-Interactive Mode) commands.
-
-ECA_CONTROL_MAIN (eca-control-main.h) is an abstract base class that
-defines a subset of core ECA_CONTROL functionality. This interface
-is implemented by e.g. ECA_CONTROL (the default implementation)
-and ECA_CONTROL_MT (a thread-safe variant that allows simultaneous
-use from multiple threads).
-
-It is recommended that applications use the subset defined
-by ECA_CONTROL_MAIN.
-
-ECA_CONTROL_INTERFACE - eca-control-interface.h
------------------------------------------------
-
-C++ implementation of the Ecasound Control Interface (ECI) API. See
-section "Ecasound Control Interface" for more information.
-
-Core classes
-============
-
-This section introduces the core classes, which define the
-central data types and are responsible for the main program
-logic.
-
-AUDIO_IO_PROXY_SERVER - audioio-proxy-server.h
-----------------------------------------------
-
-Implements a audio input/output subsystem that adds
-a second layer of buffering between the main processing
-engine and non-real-time audio input and output objects.
-
-Double buffering is needed to guarantee a real-time constrained
-data stream even when dealing with non-real-time objects like
-disk files.
-
-CHAIN - eca-chain.h
--------------------
-
-Class representing one abstract audio signal chain. CHAIN
-objects consist of chain operators, controllers and their
-state information.
-
-ECA_CHAINSETUP - eca-chainsetup.h
----------------------------------
-
-ECA_CHAINSETUP is the central class for storing user-visible
-objects. All inputs, output, chain operator and controller
-objects are attached to some ECA_CHAINSETUP object.
-
-ECA_ENGINE - eca-engine.h
--------------------------
-
-ECA_ENGINE is the actual processing engine. It is initialized with
-a pointer to a ECA_CHAINSETUP object, which has all information
-needed at runtime. In other words ECA_ENGINE is used to execute
-the chainsetup. You could say ECA_ENGINE renders the final product
-according to instruction given in ECA_CHAINSETUP.
-
-Processing is started with the exec() member function and
-after that, ECA_ENGINE runs on its own. If 'batch_mode'
-is selected (parameter to exec()), one started ECA_ENGINE will
-run until a 'finished' condition is met and then exit
-automatically. Finished means that we have read all available data
-from input sources. Of course if some input has infinite length
-(soundcards for example), processing will never finish. To get
-around this limitation, it's possible to set the processing
-length (see ECA_CONTROL_OBJECTS::set_chainsetup_processing_length_in_seconds()).
-
-If batch mode is not enabled, engine will just perform
-the init phase and starts waiting for further instructions.
-These instructions can be send to the engine using
-the ECA_ENGINE::command() member function.
-
-ECA_ENGINE has the following states:
-
-not_ready
- ECA_SESSION object is not ready for processing or
- ECA_ENGINE hasn't been created
-running
- processing
-stopped
- processing hasn't been started or it has been stopped
- before completion
-finished
- processing has been completed
-error
- an error has occured during prosessing
-
-ECA_SESSION - eca-session.h
----------------------------
-
-ECA_SESSION is an abtraction used to represents a group of
-chainsetups. At any time, only one chainsetup object at a time
-can be active (connected). For modification, one chainsetup
-can be set as 'selected'. This means that all configuration
-operations are targeted to the selected chainsetup.
-
-The only public access to ECA_SESSION objects is
-through ECA_CONTROL objects.
-
-MIDI_SERVER - midi-server.h
----------------------------
-
-Engine that handles all MIDI input and output.
-
-SAMPLEBUFFER - samplebuffer.h
------------------------------
-
-Basic unit for representing blocks of sample data. The data type used
-to represent single samples, valid value ranges, channel count and system
-endianess are all specified in "samplebuffer.h" and "sample_specs.h".
-
-
-Feature and capability interface classes
-========================================
-
-Many libecasound classes have similar attribute sets and capabilities.
-To make use of these shared features, most common features have their
-own virtual base classes. All objects that have a particular feature,
-inherit the same virtual base class. This makes object grouping
-and management easier and less error prone.
-
-DYNAMIC_PARAMETERS - dynamic-parameters.h
---------------------------------------------
-
-Implemented by all classes that provide a set of generic parameters
-of type T. Parameter can be observed and modified, and they
-usually are identified by a unique name and a more verbose
-description. Number of parameters can vary dynamically. Other
-objects can access these parameters without detailed knowledge of
-the object itself.
-
-ECA_AUDIO_FORMAT - eca-audio-format.h
--------------------------------------
-
-Implemented by all classes that an audio format attribute
-set that can be observed and modified.
-
-ECA_AUDIO_POSITION - eca-audio-position.h
------------------------------------------
-
-Implemented by all classes that need to maintain current audio
-position and length.
-
-ECA_SAMPLERATE_AWARE - eca-samplerate-aware.h
----------------------------------------------
-
-Implemented by all classes that need knowledge of current
-sampling rate.
-
-MIDI_CLIENT - midi-client.h
----------------------------
-
-Implemented b all classes that require a connection to
-an instance of MIDI_SERVER.
-
-
-Object interfaces
-=================
-
-Object interfaces define the behaviour for common objects used
-by libecasound. The core classes rarely operate on specific
-object types, but instead use object interfaces (abstract
-interfaces). Object interfaces are usually abstract C++ classes
-(instances of these classes cannot be created as some of functions
-don't yet have a concreate implementation, ie. they pure virtual
-functions).
-
-AUDIO_IO - audioio.h
---------------------
-
-Virtual base class for all audio I/O objects. Different types
-of audio objects include files, audio devices, sound
-producing program modules, audio server clients, and so on.
-
-More specialized interface classesa are AUDIO_IO_DEVICE (for
-real-time audio objects) and AUDIO_IO_BUFFERED (for POSIX-style
-buffered i/o). There's also a special AUDIO_IO_MANAGER
-interface for managing multiple audio objects of same
-type inside one chainsetup.
-
-CHAIN_OPERATOR - eca-chainop.h
-------------------------------
-
-Virtual base class for chain operators.
-
-CONTROLLER_SOURCE - ctrl-source.h
----------------------------------
-
-Virtual base class for all controller sources.
-
-MIDI_IO - midiio.h
-------------------
-
-Virtual base for objects capable of reading and writing
-raw MIDI data.
-
-MIDI_HANDLER - midi-server.h
-----------------------------
-
-Virtual base class for objects capable of receiving
-and processing MIDI data.
-
-Object interface implementations - plugins
-==========================================
-
-Majority of the classes in libecasound fall to this category. They
-implement the behaviour of some object interface type. As other
-parts of the library only use the object interfaces, these
-implementation classes are fairly isolated. Changes made inside object
-implementation have no effect to other parts of the library.
-Similarly new object interface implementations can be added without
-modifying the core classes.
-
-
-Utility classes
-===============
-
-TBD
-
-eca-logger.h - ECA_LOGGER
--------------------------
-
-Singleton class that provides an interface to Ecasound's logging
-subsystem. Libecasound sends all log messages to this interface.
-The actual logger implementation can be done in many ways. For example
-in the console mode user-interface of Ecasound, TEXTDEBUG class
-implements the ECA_LOGGER_INTERFACE class interface. It sends all
-messages that have a suitable debug level to the console's standard
-output. On the other hand, in qtecasound, ECA_LOGGER_INTERFACE is
-implemented using a Qt widget.
-
-New ECA_LOGGER_INTERFACE implementations can be registered at
-runtime with the ECA_LOGGER::attach_logger() member
-function (declared in eca-logger.h).
-
-
-Object maps
-===========
-
-Object maps are central repositories for commonly used objects.
-Their main purpose is to add flexibility to handling different
-object types - especially to handling dynamic addition and removal
-of whole object types. They provide the following services:
-
-- listing all object types in any of the available
- categories (for instance, list all effect types)
-
-- creating new object instances based on keyword strings
- (for instance, returns an mp3 object if "foo.mp3" is given
- as keyword)
-
-- adding new object types (object map item is identified by
- tuple of "keyword, regex expression, object type")
-
-- removing object types
-
-- reverse mapping objects back to keyword strings
-
-In Ecasound, all access to object maps goes throuh the library-wide
-ECA_OBJECT_FACTORY class, which provides a set of static functions
-to access the object maps.
-
-This system may sound a bit complex, but in practise it is quite
-simple and makes a lot of things more easier. For instance, when
-adding new object types to the library, you only have to add one
-function call which registers the new object; no need to modify any
-other part of the library. It also makes it possible to add new
-types at runtime, including dynamically loaded plugins.
-
-One special use-case is where an application linked against
-libecasound adds its own custom object types on startup. All parts
-of libecasound can use the custom objects, although they are not
-part of library itself.
-
-All objects defined in libecasound are registered in the file
-eca-static-object-maps.cpp.
-
-eca-object.h - ECA_OBJECT
--------------------------
-
-A virtual base class that represents an Ecasound object. All objects
-handled by the object factory must inherit this class.
-
-eca-object-factory.h - ECA_OBJECT_FACTORY
------------------------------------------
-
-The public interface to Ecasound's object maps. All its functions
-are static.
-
-.. #################################################################
-.. #################################################################
-
-Adding new features and components to Ecasound?
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Things to remember when writing new C++ classes
-===============================================
-
-TBD
-
-Copy constructor and assignment operator
-----------------------------------------
-
-Always take a moment to check your copy constructor and the assign
-operation (=operation()). Basicly you have three alternatives:
-
-- Trust the automatically created default definitons. If you don't
- have any pointers as data members, this isn't necessarily a bad
- choice at all. At least the compiler remembers to copy all members!
-
-- If you have pointers to objects as class data members, you should
- write definitions for both the copy-constructor and the assign
- operation.
-
-- If you are lazy, just declare the two functions as null
- functions, and put them in "private:"_ access scope. At least this way
- nobody will use the functions by accident!
-
-
-Audio objects
-=============
-
-To implement a new audio object type, you must first select which
-top-level class to derive from. Usually this is either AUDIO_IO
-(the top-level class), AUDIO_IO_BUFFERED (a more low level interface)
-or AUDIO_IO_DEVICE (real-time devices).
-
-The second step is to implement the various virtual functions declared
-in the parent classes. These functions can be divided into four
-categories: 1) attributes (describes the object and its capabilities),
-2) configuration (routines used for setting up the object), 3) main
-functionality (open, close, input, output, etc) and 4) runtime
-information (status info).
-
-Adding the new object to Ecasound is much like adding a new effect
-(see the next section). Basicly you just add it to the makefiles and
-then register it to the appropriate object map (see below).
-
-Checklist for Audio Object Implementations
-------------------------------------------
-
-1. Check that read_buffer() and write_buffer() change the
- internal position with either set_position_in_samples()
- or change_position_in_samples() functions of ECA_AUDIO_POSITION.
- Also, when writing a new file, extend_position() should
- also be called. All this is done automatically if using
- read_samples() and write_samples() from AUDIO_IO_BUFFERED.
-
-2. If implementing a proxy object, separately consider all public
- functions of audioio-proxy.h (whether to reimplement or use
- as they are).
-
-3. Check that open() and close() call AUDIO_IO::open() and
- AUDIO_IO::close(), and in the right order.
-
-4. If the object supports seeking, seek_position() must
- be implemented.
-
-5. Check that the set_parameter() and get_parameter() methods
- work correctly when they are used for saving and restoring
- audio object state (for example cs-edit EIAM command).
-
-
-Effects and other chain operators
-=================================
-
-Write a new class that inherits from CHAIN_OPERATOR or any of its
-successors. Implement the necessary routines (init, set/get_parameter,
-process and a default constructor) and add your source files to
-libecasound's makefiles. Then all that's left to do is to add your
-effect to libecasound/eca-static-object-maps.cpp,
-register_default_objects(). Now the new effect can be used just
-like any other Ecasound effect (parameters control, effect presets, etc).
-
-Another way to add effects to Ecasound is to write them as LADSPA
-plugins. The API is well documented and there's plenty of
-example code available. See http://www.ladspa.org
-for more information.
-
-
-Differences between audio objects and chain operators
-=====================================================
-
-Design-wise, audio objects and effects (chain operators) aren't that
-far away from each other. Many audio apps don't separate these
-concepts at all (for instance most UG based synthesizers). In Ecasound
-though, there are some differences:
-
-Input/output:
-
-- audio objects can be opened for reading writing or read\&write
-- ... effects are not modal (i.e. modeless)
-- audio objects read from, or write to, a buffer
-- ... effects get a buffer which they operate on (in-place processing)
-
-Audio format:
-
-- audio objects have a distinct audio format (sample rate, bits,
- channels)
-- .... effects should be capable of accepting audio data in any format
- (this is usually easy as Ecasound converts all input data to its
- internal format)
-
-Control:
-
-- audio objects can be opened, closed, prepared, started and stopped
-- ... effects have a much simpler running state: either uninitialized or ready-for-processing
-
-Position:
-
-- audio objects have length and position attributes
-- ... effects just process buffers and don't need to care about position information
-
-A good example of the similarity between the two types are LADSPA
-oscillator plugins. Although they are effects, you can easily use them
-as audio sources (inputs) by specifying:
-
-::
-
-"ecasound -i null -o /dev/dsp -el:sine_fcac,440,1"
-
-
-LADSPA plugins
-==============
-
-Ecasound supports LADSPA-effect plugins (Linux Audio Developer's Simple
-Plugin API). See LAD mailing list web site for
-more info about LADSPA. Other useful sites are
-LADSPA home page and LADSPA documentation.
-
-
-EIAM commands
-=============
-
-Adding a new interactive mode commands requires changes to the
-following files:
-
-
-- libecasound/eca-iamode-parser_impl.h: Unique id for the new command
- has to be added to enum Commands.
-
-- libecasound/eca-iamode-parser.cpp: The new command must be added
- to the appropriate register_commands_*() function.
-
-- libecasound/eca-iamode-parser.cpp: The new command must be added
- to the appropriate action_requires_*() sets.
-
-- libecasound/eca-control.cpp: The actual implementation of the
- new command.
-
-- Documentation/ecasound-iam_manpage.yo: Documentation must be
- added.
-
-.. #################################################################
-.. #################################################################
-
-Application development using the Ecasound framework
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Console mode ecasound - [all languages]
-=======================================
-
-This is the easiest way to take advantage of Ecasound features in your
-own programs. You can fork ecasound, pipe commands to ecasound's
-interactive mode or you can create chainsetup (.ecs) files and load
-them to ecasound. You'll be able to do practically anything. The only
-real problem is getting information from ecasound. You'll have to
-parse ecasound's ascii output if you want to do this. To make this
-a bit easier, Ecasound offers the wellformed output mode
-and dump-* commands. These can be used to easily parse configuration and
-status information.
-
-
-Ecasound Control Interface - [C++, C, Python, Perl, ...]
-========================================================
-
-Idea behind Ecasound Control Interface (ECI) is to take a subset of
-functionality provided by libecasound, write a simple API for it, and
-port it to various languages. At the moment, at least C++, C and
-Python implementations of the ECI API are available and part of the
-main Ecasound distribution. ECI is heavily based on the Ecasound
-Interactive Mode (EIAM), and the services it provides.
-
-Specific tasks ECI is aimed at:
-
-- 1. automating (scripting in its traditional sense)
-- 2. frontends (generic / specialized)
-- 3. sound services to other apps
-
-
-NetECI - [various]
-==================
-
-NetECI is a network version of the ECI API. When Ecasound is
-started in server mode (see ecasound(1) for the related options), it
-listens for incoming NetECI commands on a TCP socket. Client
-applications can connect to this socket and use the connection to
-control and observe the active session. Multiple clients
-can connect to the same session.
-
-The protocol is identical to one used in ECI (see section "Ecasound
-Interactive Mode - Well-Formed Output Mode" below). Clients write EIAM
-commands to the socket, followed by a CRLF pair. The server will reply
-using the well-formed output mode syntax.
-
-See implementation of ecamonitor (part of ecatools),
-for a working example.
-
-
-Libecasound's ECA_CONTROL class - [C++]
-===========================================
-
-Note! Direct use of libecasound and libkvutils is
-not recommended anymore! Please use the Ecasound Control Interface
-(ECI) instead.
-
-By linking your program to libecasound, you can use the ECA_CONTROL
-class for controlling Ecasound. This is a large interface class that
-offers routines for controlling all Ecasound features. It's easy
-to use while still powerful. Best examples are the utils in ecatools
-directory (most of them are just a couple screenfuls of code). Also,
-qtecasound and ecawave heavily use ECA_CONTROL. Here's a few lines of
-example code:
-
-::
-
-| --cut--
-| ECA_SESSION esession;
-| ECA_CONTROL ctrl (&esession);
-| ctrl.new_chainsetup("default");
-| [... other setup routines ]
-| ctrl.start(); // starts processing in another thread (doesn't block)
-| --cut--
-
-If you don't want to use threads, you can run the setup in
-batch mode:
-
-::
-
-| --cut--
-| ECA_SESSION esession;
-| ECA_CONTROL ctrl (&esession);
-| ctrl.add_chainsetup("default");
-| [... other setup routines ]
-| ctrl.run(); // blocks until processing is finished
-| --cut--
-
-
-Ecasound classes as building blocks - [C++]
-===============================================
-
-Note! Direct use of libecasound and libkvutils is
-not recommended anymore! Please use the Ecasound Control Interface
-(ECI) instead.
-
-You can also use individual Ecasound classes directly.
-This means more control, but it also means more work. Here's
-another short sample:
-
-| --cut--
-| - create a SAMPLE_BUFFER object for storing the samples
-| - read samples with an audio I/O object - for example WAVEFILE
-| - process sample data with some effect class - for example EFFECT_LOWPASS
-| - maybe change the filter frequency with EFFECT_LOWPASS::set_parameter(1, new_value)
-| - write samples with an audio I/O object - OSSDEVICE, WAVEFILE, etc.
-| --cut--
-
-.. #################################################################
-.. #################################################################
-
-Protocols and Interfaces
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-Ecasound Interactive Mode - Well-Formed Output Mode
-===================================================
-
-By issuing the EIAM command "int-output-mode-wellformed",
-Ecasound will start printing all messages using the following
-format:
-
-::
-
-| = ( | )
-|
-| = ; loglevel number
-| ; size of content in octets
-| = ; generic log message
-| =
-| ; EIAM return value message
-| =
-| ; actual content of the message
-| = "i" | "li" | "f" | "s" | "S" | "e"
-| ; type of the return value (see ECI/EIAM docs)
-| = * ; zero or more octets of message content
-|
-| = 0x20 ; space
-| = 0x00-0xff ; 8bits of data
-| = ; new line
-| = 0x0d ; carriage return
-| = 0x0a ; line feed
-| = + ; one or more digits
-| = 0x30-0x39 ; digits 0-9
diff --git a/library/ecasound/Documentation/programmers_guide/eci_doc.latex b/library/ecasound/Documentation/programmers_guide/eci_doc.latex
deleted file mode 100644
index a725ca419..000000000
--- a/library/ecasound/Documentation/programmers_guide/eci_doc.latex
+++ /dev/null
@@ -1,714 +0,0 @@
-\documentclass{article}
-\usepackage[T1]{fontenc}
-\usepackage{ae}
-
-%\usepackage{html}
-%\bodytext{link="#662a00" vlink="#666655" bgcolor="#ffffff"}
-
-\title{Ecasound Control Interface Guide}
-\author{Kai Vehmanen, Brad Bowman, Tony Leake, Jan Weil, Mario Lang}
-\date{03062006}
-\begin{document}
-
-\maketitle
-\tableofcontents
-\clearpage
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\section{Introduction}
-The idea behind the Ecasound Control Interface (ECI) is to take a subset of
-functionality provided by libecasound, provide a simple API for it, and
-port it to various languages. At the moment, implementations of the
-ECI API are available for C, C++, elisp, Python and Ruby. These all
-come by default with the Ecasound package. Additional implementations,
-for example for Perl and PHP, are distributed independently.
-
-ECI is heavily based on Ecasound's interactive mode (EIAM), and the
-services it provides. See \texttt{ecasound-iam(1) manual page} for
-a detailed EIAM documentation.
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\section{Document history}
-\begin{itemize}
-\item 04.06.2006 - Added more information to the ``Tips for debugging'' section.
-\item 21.03.2005 - Updated the ``Tips for debugging'' section.
-\item 25.09.2004 - Updated the ``Return values'' section based on feedback
- from Adam Linson.
-\item 02.05.2004 - ``Emacs'' section added (written by Mario Lang).
-\item 28.11.2003 - ``Ruby'' section added (written by Jan Weil).
- Updated the introduction.
-\item 26.11.2003 - Fix filename for the alternative Python API (eci.py).
-\item 18.11.2003 - Typo fixes. Updated documentation to reflect the new
- naming convention (ecasound refers to the binary,
- Ecasound refers to the whole package).
-\item 26.10.2002 - Changed the C++ linking example.
-\item 24.10.2002 - Added ``Notes Concerning Standalone ECI Implementations''
- section. Added compilation examples.
-\item 06.10.2002 - Added ``Application development'' section.
-\item 05.10.2002 - Changed the libecasoundc link path.
-\item 29.09.2002 - ``PHP'' section added (written by Tony Leake).
-\item 25.04.2002 - Changed headers path from ``'' to
- ``'' and added library version number to
- link instructions.
-\item 21.10.2001 - Added this history section. Minor changes to
- ECI examples.
-\end{itemize}
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\section{General}
-ECI doesn't provide any routines that directly manipulate audio or
-Ecasound objects. What it does provide is an easy and generic way
-to issue EIAM (Ecasound Inter-Active Mode) commands, access the
-command return-values and perform error handling.
-
-This approach has two benefits. First, it is possible to keep the API
-small, and thus make it easier to port ECI to new languages. Secondly,
-it's possible to keep ECI relatively stable. Ecasound itself is a large,
-developing library. New features are added all the time, and from time
-to time, older parts of the library will get rewritten to better suit
-new uses. Now for application developers wanting to take advantage of
-libecasound, these constant changes are very annoying, especially if
-your specific app doesn't need the latest new features. In these
-cases, ECI is the best platform for application development.
-
-
-% ----------------------------------------------------------------------
-\subsection{What's it good for?}
-
-Specific tasks ECI is aimed at:
-
-\begin{itemize}
-\item 1. automating (scripting in its traditional sense)
-\item 2. frontends (generic / specialized)
-\item 3. sound services to other apps
-\end{itemize}
-
-
-% ----------------------------------------------------------------------
-\subsection{Services and behaviour}
-
-Here is a list of services provided by all ECI implementations:
-
-\subsubsection{Actions}
-\begin{description}
-\item[command(string)]
-Issue an EIAM command.
-
-\item[command\_float\_arg(string, float)]
-Issue an EIAM command. This function can be used instead of
-\emph{command(string)}, if the command in question requires exactly one
-numerical parameter. This way it's possible to avoid the extra
-string -> float conversion, which would lead to lost precision.
-\end{description}
-
-\subsubsection{Return values}
-Each EIAM command has exactly one return value type. After a command
-has been issued, only one last\_type() functions returns a non-empty
-value. For example, last\_float() only returns a valid value if
-\emph{last\_type() == 'f'} holds true. Not all EIAM commands return
-a value (return type is void).
-
-\begin{description}
-\item[last\_string()]
-Returns the last string return value.
-
-\item[last\_string\_list()]
-Returns the last collection of strings (one or more strings).
-
-\item[last\_float()]
-Returns the last floating-point return value. Note! last\_float()
-doesn't refer to the C/C++ type 'float'. In most implementations,
-floats are 64bit values (doubles in C/C++).
-
-\item[last\_integer()]
-Returns the last integer return value. This function is also
-used to return boolean values, where non-zero means 'true'
-and zero 'false'.
-
-\item[last\_long\_integer()]
-Returns the last long integer return value. Long integers are
-used to pass values like 'length\_in\_samples' and 'length\_in\_bytes'.
-It's implementation specific whether there's any real difference
-between integers and long integers.
-\end{description}
-
-\subsubsection{Errors}
-\begin{description}
-\item[error()]
-Returns true (!= 0) if error has occured during the execution
-of last EIAM command. Otherwise returns false (= 0).
-
-\item[last\_error()]
-Returns a string describing the last error. If the last EIAM command
-was executed succesfully, last\_error() returns an empty string.
-
-\end{description}
-
-\subsubsection{Other}
-\begin{description}
-\item[initialize()]
-Reserve resources.
-
-\item[cleanup()]
-Free all reserved resources.
-\end{description}
-
-
-
-% ----------------------------------------------------------------------
-\subsection{Porting to new environments}
-Porting ECI to new languages should be easy. All there is to do is
-to implement the services listed in the previous section to the target
-language. In most cases it's to easiest to use the C++ or C ECI
-as the underlying implementation to build upon.
-
-
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\section{Implementations}
-
-
-% ----------------------------------------------------------------------
-\subsection{General}
-
-\subsubsection{Overview}
-This section contains overview of how ECI is implemented in the
-discussed language (eg. as a single class, set of classes, set of
-routines, etc).
-
-\subsubsection{Usage}
-A quick tutorial to get you started.
-
-\subsubsection{Example}
-Implementation of the following:
-\begin{enumerate}
-\item Setup ECI to read audio from file, apply a 100Hz lowpass filter, and
- send it to the soundcard (/dev/dsp).
-\item Every second, check the current position. If the stream has
- been running for over 15 seconds, exit immediately. Also,
- every second, increase the lowpass filter's cutoff frequency
- by 500Hz.
-\item Stop the stream (if not already finished) and disconnect the
- chainsetup. Print chain operator status info.
-\end{enumerate}
-
-
-% ----------------------------------------------------------------------
-\subsection{Notes Concerning Standalone ECI Implementations}
-
-The C implementation of ECI is not directly linked against the main
-Ecasound libraries. Instead, the ecasound executable is launched
-on the background and command pipes are used to communicate with it.
-
-The launched ecasound executable can be selected by using the
-\emph{ECASOUND} environment variable. If it is not defined,
-the C ECI implementation will try to launch ``ecasound'' (ie.
-has to be somewhere in PATH).
-
-In addition to the C implementation, this also affects all
-ECI implementations that are based on the C version. Currently
-this includes at least the Perl, PHP and Python ECI modules.
-
-% ----------------------------------------------------------------------
-\subsection{C++}
-\subsubsection{Overview}
-C++ implementation is based around the ECA\_CONTROL\_INTERFACE class.
-STL vector is used for representing collections of objects
-(last\_string\_list()).
-
-\subsubsection{Usage}
-\begin{enumerate}
-\item \#include
-\item create an instance of the ECA\_CONTROL\_INTERFACE class
- and use its member functions
-\item link you app agains libecasoundc (-lecasoundc)
-\item compilation example: \emph{c++ -o ecidoc\_example ecidoc\_example.cpp `libecasoundc-config --cflags --libs`}
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-
-#include
-#include
-#include
-
-int main(int argc, char *argv[])
-{
- double cutoff_inc = 500.0;
-
- ECA_CONTROL_INTERFACE e;
- e.command("cs-add play_chainsetup");
- e.command("c-add 1st_chain");
- e.command("ai-add some_file.wav");
- e.command("ao-add /dev/dsp");
- e.command("cop-add -efl:100");
- e.command("cop-select 1");
- e.command("copp-select 1");
- e.command("cs-connect");
- e.command("start");
- while(1) {
- sleep(1);
- e.command("engine-status");
- if (e.last_string() != "running") break;
- e.command("get-position");
- double curpos = e.last_float();
- if (curpos > 15.0) break;
- e.command("copp-get");
- double next_cutoff = cutoff_inc + e.last_float();
- e.command_float_arg("copp-set", next_cutoff);
- }
-
- e.command("stop");
- e.command("cs-disconnect");
- e.command("cop-status");
- cerr << "Chain operator status: " << e.last_string() << endl;
-
- return(0);
-}
-
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-\subsection{C}
-\subsubsection{Overview}
-All C ECI functions are prefixed with "eci\_". When returning string
-values, a const pointer to a null-terminated char array (const char*)
-is returned. It's important to keep in mind that these are "borrowed"
-references. If you need to later use the data, you must copy
-it to application's own buffers.
-
-Returning a list of strings is implemented using two functions:
-\emph{eci\_last\_string\_list\_count()} returns the number of strings
-available, and \emph{eci\_last\_string\_list\_item(int n)} returns a
-pointer (const char*) to the string at index \emph{n}.
-
-\emph{Note!} As of Ecasound 2.0.1, the C ECI implementation also
- provides reentrant access to the ECI API. These
- alternative routines are marked with '\_r' postfix.
-
-\subsubsection{Usage}
-
-\begin{enumerate}
-\item \#include
-\item use the eci\_* routines
-\item link your app against libecasoundc (-lecasoundc)
-\item compilation example: \emph{gcc -o ecidoc\_example ecidoc\_example.c `libecasoundc-config --cflags --libs`}
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-
-#include
-#include
-#include
-
-int main(int argc, char *argv[])
-{
- double cutoff_inc = 500.0;
-
- eci_init();
- eci_command("cs-add play_chainsetup");
- eci_command("c-add 1st_chain");
- eci_command("ai-add some_file.wav");
- eci_command("ao-add /dev/dsp");
- eci_command("cop-add -efl:100");
- eci_command("cop-select 1");
- eci_command("copp-select 1");
- eci_command("cs-connect");
- eci_command("start");
-
- while(1) {
- double curpos, next_cutoff;
-
- sleep(1);
- eci_command("engine-status");
- if (strcmp(eci_last_string(), "running") != 0) break;
- eci_command("get-position");
- curpos = eci_last_float();
- if (curpos > 15.0) break;
- eci_command("copp-get");
- next_cutoff = cutoff_inc + eci_last_float();
- eci_command_float_arg("copp-set", next_cutoff);
- }
-
- eci_command("stop");
- eci_command("cs-disconnect");
- eci_command("cop-status");
- printf("Chain operator status: %s", eci_last_string());
- eci_cleanup();
-
- return(0);
-}
-
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-\subsection{Emacs}
-\subsubsection{Overview}
-The Ecasound package comes with an 'Ecasound' library for Emacs included.
-ecasound.el is a implementation of the ECI API for Emacs, as well
-as an interactive interface to Ecasound sessions implemented
-on top of that. Simply use "M-x ecasound RET" to fire up an
-interactive Ecasound session.
-
-All Emacs Lisp ECI functions are prefixed with ``eci\-''.
-'ecasound.el' is implemented in a high level manner which means
-that you won't find most of the commands known from libecasoundc like
-last\_string, last\_float, etc.
-Instead of that every call to function "eci-command", which accepts all
-the well known IAM commands, returns ecasound's response in an appropriate type
-automatically.
-If an error occurs, e. g. there's a typo in a command or a file is not found,
-the function returns ``nil''. In all other cases, either an automatically
-converted Lisp value is returned, or ``t'' in the case where there was no
-particular value returned.
-
-Additionally, most of the available IAM commands have their own Emacs Lisp
-function including documentation and possibly a parameter list. All these
-functions are interactive, so you can use them in ecasound-iam-mode simply
-by invoking them via M-x or by pressing an assigned key combination.
-Emacs will prompt you for the required parameters, providing completion
-wherever possible.
-
-As a convention, "eci-command" and its variants do take a buffer or process
-as an optional last argument. If this is ``nil'', the current
-buffer is assumed to be the ecasound session refered to by this call.
-This makes it possible to use several ECI sessions concurrently, dispatching
-on the buffer or process in use.
-
-\subsubsection{Usage}
-\begin{enumerate}
-\item make ecasound.el available in your ``load-path''
-\item (require 'ecasound)
-\item create a buffer with an associated Ecasound session (``eci-init'')
-\item use ``eci\-'' functions with the new buffer
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-(require 'ecasound)
-
-(defun example (file &optional cutoff-increment session)
- (unless cutoff-increment (setq cutoff-increment 500.0))
- (with-current-buffer (or session (eci-init))
- (eci-cs-add "play_chainsetup")
- (eci-c-add "1st_chain")
- (eci-ai-add file)
- (eci-ao-add "/dev/dsp")
- (eci-cop-add "-efl:100")
- (eci-cop-select 1)
- (eci-copp-select 1)
- (eci-cs-connect)
- (eci-start)
- (sit-for 1)
- (while (and (string= (eci-engine-status) "running")
- (<= (eci-get-position) 15))
- (eci-copp-set (+ cutoff-increment (eci-copp-get)))
- (sit-for 1))
- (eci-command "stop")
- (when (eci-cs-disconnect)
- (destructuring-bind
- ((cop n1 (copp n2 val)))
- (cdr (assoc "1st_chain" (eci-cop-status)))
- (message "%s %s is now %f" cop copp val)))))
-\end{verbatim}
-
-NOTE: function ``eci-cop-status'' is actually a very high level function
-which already converts the returned information to a nested list
-structure.
-
-For more complex examples of the Emacs Lisp ECI implementation, see function
-``eci-example'', ``ecasound-normalize'' and ``ecasound-signalview'' in
-ecasound.el.
-
-% ----------------------------------------------------------------------
-\subsection{Python}
-\subsubsection{Overview}
-Python implementation is based around the ECA\_CONTROL\_INTERFACE class.
-Lists are used for representing collections of objects.
-
-Note! Eric S. Tiedemann has written an alternative Python interface
- to ECI. You'll find this interface included in the main
- Ecasound packege, in ``pyecasound/eci.py''. To use this instead
- of the standard interface, just 'import eci' and you're set! :)
-
-\subsubsection{Usage}
-
-\begin{enumerate}
-\item import pyeca
-\item create an instance of the ECA\_CONTROL\_INTERFACE class
- and use its member functions
-\item python 'yourapp.py' and that's it :)
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-
-#!/usr/local/bin/python
-import time
-from pyeca import *
-e = ECA_CONTROL_INTERFACE()
-e.command("cs-add play_chainsetup")
-e.command("c-add 1st_chain")
-e.command("ai-add some_file.wav")
-e.command("ao-add /dev/dsp")
-e.command("cop-add -efl:100")
-e.command("cop-select 1")
-e.command("copp-select 1")
-e.command("cs-connect")
-e.command("start")
-cutoff_inc = 500.0
-while 1:
- time.sleep(1)
- e.command("engine-status")
- if e.last_string() != "running": break
- e.command("get-position")
- curpos = e.last_float()
- if curpos > 15: break
- e.command("copp-get")
- next_cutoff = cutoff_inc + e.last_float()
- e.command_float_arg("copp-set", next_cutoff)
-e.command("stop")
-e.command("cs-disconnect")
-e.command("cop-status")
-print "Chain operator status: ", e.last_string()
-
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-\subsection{Perl}
-\subsubsection{Overview}
-Audio::Ecasound provides perl bindings to the Ecasound
-control interface of the Ecasound program. You can use
-perl to automate or interact with Ecasound so you don't
-have to turn you back on the adoring masses packed into
-Wembly Stadium.
-
-Audio::Ecasound was written by Brad Bowman. At the moment this module
-is not distributed with Ecasound. To get the latest version, check the
-following \texttt{CPAN link}.
-
-\subsubsection{Usage}
-See the below example. For more info, here's another
-\texttt{CPAN link}.
-
-\subsubsection{Example}
-use Audio::Ecasound qw(:simple);
-
-\begin{verbatim}
-
-eci("cs-add play_chainsetup");
-eci("c-add 1st_chain");
-eci("ai-add some_file.wav");
-eci("ao-add /dev/dsp");
-# multiple \n separated commands
-eci("cop-add -efl:100
- # with comments
- cop-select 1
- copp-select 1
- cs-connect");
-eci("start");
-my $cutoff_inc = 500.0;
-while (1) {
- sleep(1);
- last if eci("engine-status") ne "running";
- my $curpos = eci("get-position");
- last if $curpos > 15;
- my $next_cutoff = $cutoff_inc + eci("copp-get");
- # Optional float argument
- eci("copp-set", $next_cutoff);
-}
-eci("stop");
-eci("cs-disconnect");
-print "Chain operator status: ", eci("cop-status");
-
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-\subsection{PHP}
-\subsubsection{Overview}
-This PHP extension provides bindings to the Ecasound
-control interface. It is useful both for scripting Ecasound
-and for writing graphical audio applications with PHP Gtk.
-
-The PHP Ecasound extension was written by Tony Leake. At the moment this module
-is not distributed with Ecasound. The latest version and example scripts, are
-available from \texttt{http://www.webwise-data.co.uk/php\_audio/php\_audio\_extension.html}.
-
-\subsubsection{Usage}
-\begin{enumerate}
-\item Obtain and build the Ecasound PHP extension
-\item Initialise Ecasound, eci\_int();
-\item Issue EAM commands eg, eci\_command("cs-add my\_chain\_setup");
-\item Free resources, eci\_cleanup();
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-
-Implementation of the following:
-
-1. Setup ECI to read audio from file, apply a 100Hz lowpass filter,
-and send it to the soundcard (/dev/dsp).
-2. Every second, check the current position. If the stream has been
-running for over 15 seconds, exit immediately. Also, every second,
-increase the lowpass filter's cutoff frequency by 500Hz.
-3. Stop the stream (if not already finished) and disconnect the chainsetup.
-Print chain operator status info
-
- 15.0){
- break;
- }
-
- eci_command("copp-get");
- $next_cutoff = $cutoff_inc + eci_last_float();
- eci_command_float_arg("copp-set",$next_cutoff);
-}
-
-eci_command("stop");
-eci_command("cs-disconnect");
-eci_command("cop-status");
-
-printf("Chain operator status: %s", eci_last_string());
-
-eci_cleanup();
-?>
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-\subsection{Ruby}
-\subsubsection{Overview}
-The Ecasound package comes with an 'Ecasound' module for Ruby included.
-If ruby is detected during the installation process it is installed
-automatically (assuming you are installing ecasound from source code).
-The module contains the class definition of a native ecasound control interface
-called "ControlInterface".
-
-'Ecasound::ControlInterface' is implemented in a high level manner which means
-that you won't find most of the commands known from libecasoundc like
-last\_string, last\_float, etc.
-Instead of that every call to the instance method "command", which accepts all
-the well known IAM commands, returns ecasound's response in an appropriate type
-automatically.
-If an error occurs, e. g. there's a typo in a command or a file is not found,
-an exception of type EcasoundError is raised.
-
-\subsubsection{Usage}
-\begin{enumerate}
-\item require 'ecasound'
-\item create an instance of Ecasound::ControlInterface
-\item use it's command method to send IAM commands to ecasound
-\item catch an EcasoundError if necessary
-\end{enumerate}
-
-\subsubsection{Example}
-\begin{verbatim}
-#!/usr/bin/env ruby
-require "ecasound"
-
-SOME_FILE = "path/to/file.wav"
-
-e = Ecasound::ControlInterface.new()
-e.command("cs-add play_chainsetup")
-e.command("c-add 1st_chain")
-e.command("ai-add #{SOME_FILE}")
-e.command("ao-add /dev/dsp")
-e.command("cop-add -efl:100")
-e.command("cop-select 1")
-e.command("copp-select 1")
-e.command("cs-connect")
-e.command("start")
-
-cutoff_inc = 500.0
-
-loop do
- sleep(1)
- break if e.command("engine-status") != "running"
- break if e.command("get-position") > 15
- e.command("copp-set #{cutoff_inc + e.command('copp-get')}")
-end
-
-e.command("stop")
-e.command("cs-disconnect")
-
-$stdout << "Chain operator status: " + e.command("cop-status") + "\n"
-\end{verbatim}
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\section{Application development}
-
-% ----------------------------------------------------------------------
-\subsection{Tips for debugging}
-
-Here's a few tips what to do if the ECI app you have developed
-is not working correctly.
-
-\begin{enumerate}
-\item Check your Ecasound installation. Try to run the ``ecasound''
- console user-interface and verify that the basic functionality
- is working (ie. something like ``ecasound -i foo.wav -o
- /dev/dsp''.
-
-\item If developing in C or C++, check that your application
- is correcly linked: ``ldd /path/to/myapp''. All the libraries
- should be properly found.
-
-\item Check error conditions. You should remember to check
- for errors in your ECI apps using the eci\_error() and
- eci\_last\_error() functions. Especially when intializing
- ECI for the first time and after important commands
- like ``cs-connect'', you should always check for errors.
-
-\item Use the ECASOUND\_LOGFILE environment variable to write all
- engine output to a separate logfile. See ecasound(1) manpage
- for details on how to use this mechanism. Requires Ecasound
- version 2.4.5 or newer.
-
-\item Utilize the ``int-log-history'' ECI command added to
- version 2.4.0 of Ecasound. Recent messages from the
- engine can help to track down the problem. Before use, you
- need to first set the history length to a non-zero value with
- ``int-set-log-history-length''.
-
-\item Launch Ecasound in interactive mode (``ecasound -c''),
- and issue the commands your ECI application is using,
- manually one-by-one and see what happens. If something
- goes wrong, increase Ecasound's debug level (for instance
- ``-ddd'') and re-run the test.
-
-\end{enumerate}
-
-\end{document}
diff --git a/library/ecasound/Documentation/users_guide/Makefile.am b/library/ecasound/Documentation/users_guide/Makefile.am
deleted file mode 100644
index e0ed71a9e..000000000
--- a/library/ecasound/Documentation/users_guide/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-# ----------------------------------------------------------------------
-# File: ecasound/Documentation/users_guide/Makefile.am
-# Description: Ecasound documentation - user's guide
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-
-# ---------------------------------------------------------------------
-# Files going into distribution:
-
-EXTRA_DIST = users_guide.latex
-
-DISTCLEANFILES = \
- users_guide.log \
- users_guide.aux \
- users_guide.out \
- users_guide.dvi \
- users_guide.toc \
- users_guide.ps \
- ecasound_users_guide.pdf \
- html_uguide/users_guide.html \
- html_uguide/users_guide.haux \
- html_uguide/users_guide.htoc
-
-all:
-
-docs: ecasound_users_guide.pdf
-
-ecasound_eci_doc.pdf: eci_doc.latex eci_doc.dvi
-
-# note: to create the table of contents (which spans multiple pages), and
-# re-calculate the page numbers after the page offset generated by table
-# of contents, latex needs to be ran 3 times. (Junichi Uekawa, 2007-08-06)
-
-users_guide.dvi: $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- dvips -Ppdf -o users_guide.ps users_guide.dvi
- ps2pdf users_guide.ps ecasound_users_guide.pdf
- mkdir -p html_uguide
- hevea -o html_uguide/users_guide.html $(srcdir)/users_guide.latex
- hevea -o html_uguide/users_guide.html $(srcdir)/users_guide.latex
-
-ecasound_users_guide.pdf: users_guide.dvi
-
-clean-docs:
- rm -fv ecasound_users_guide.pdf
- rm -fv users_guide.log users_guide.toc users_guide.dvi users_guide.aux users_guide.ps users_guide.dvi
- rm -fv html_uguide/*
-
diff --git a/library/ecasound/Documentation/users_guide/Makefile.in b/library/ecasound/Documentation/users_guide/Makefile.in
deleted file mode 100644
index d56f6a673..000000000
--- a/library/ecasound/Documentation/users_guide/Makefile.in
+++ /dev/null
@@ -1,432 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# ----------------------------------------------------------------------
-# File: ecasound/Documentation/users_guide/Makefile.am
-# Description: Ecasound documentation - user's guide
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-
-# ---------------------------------------------------------------------
-# Files going into distribution:
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ../..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = Documentation/users_guide
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AM_CFLAGS = @AM_CFLAGS@
-AM_CPPFLAGS = @AM_CPPFLAGS@
-AM_CXXFLAGS = @AM_CXXFLAGS@
-AM_LDFLAGS = @AM_LDFLAGS@
-AR = @AR@
-ARTSC_CONFIG = @ARTSC_CONFIG@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DSYMUTIL = @DSYMUTIL@
-ECA_AM_ALL_STATIC_FALSE = @ECA_AM_ALL_STATIC_FALSE@
-ECA_AM_ALL_STATIC_TRUE = @ECA_AM_ALL_STATIC_TRUE@
-ECA_AM_COMPILE_ALSA_FALSE = @ECA_AM_COMPILE_ALSA_FALSE@
-ECA_AM_COMPILE_ALSA_TRUE = @ECA_AM_COMPILE_ALSA_TRUE@
-ECA_AM_COMPILE_ARTS_FALSE = @ECA_AM_COMPILE_ARTS_FALSE@
-ECA_AM_COMPILE_ARTS_TRUE = @ECA_AM_COMPILE_ARTS_TRUE@
-ECA_AM_COMPILE_AUDIOFILE_FALSE = @ECA_AM_COMPILE_AUDIOFILE_FALSE@
-ECA_AM_COMPILE_AUDIOFILE_TRUE = @ECA_AM_COMPILE_AUDIOFILE_TRUE@
-ECA_AM_COMPILE_JACK_FALSE = @ECA_AM_COMPILE_JACK_FALSE@
-ECA_AM_COMPILE_JACK_TRUE = @ECA_AM_COMPILE_JACK_TRUE@
-ECA_AM_COMPILE_OSS_FALSE = @ECA_AM_COMPILE_OSS_FALSE@
-ECA_AM_COMPILE_OSS_TRUE = @ECA_AM_COMPILE_OSS_TRUE@
-ECA_AM_COMPILE_SAMPLERATE_FALSE = @ECA_AM_COMPILE_SAMPLERATE_FALSE@
-ECA_AM_COMPILE_SAMPLERATE_TRUE = @ECA_AM_COMPILE_SAMPLERATE_TRUE@
-ECA_AM_COMPILE_SNDFILE_FALSE = @ECA_AM_COMPILE_SNDFILE_FALSE@
-ECA_AM_COMPILE_SNDFILE_TRUE = @ECA_AM_COMPILE_SNDFILE_TRUE@
-ECA_AM_DEBUG_MODE_FALSE = @ECA_AM_DEBUG_MODE_FALSE@
-ECA_AM_DEBUG_MODE_TRUE = @ECA_AM_DEBUG_MODE_TRUE@
-ECA_AM_DISABLE_EFFECTS_FALSE = @ECA_AM_DISABLE_EFFECTS_FALSE@
-ECA_AM_DISABLE_EFFECTS_TRUE = @ECA_AM_DISABLE_EFFECTS_TRUE@
-ECA_AM_FEELING_EXPERIMENTAL_FALSE = @ECA_AM_FEELING_EXPERIMENTAL_FALSE@
-ECA_AM_FEELING_EXPERIMENTAL_TRUE = @ECA_AM_FEELING_EXPERIMENTAL_TRUE@
-ECA_AM_KVUTILS_INSTALLED_FALSE = @ECA_AM_KVUTILS_INSTALLED_FALSE@
-ECA_AM_KVUTILS_INSTALLED_TRUE = @ECA_AM_KVUTILS_INSTALLED_TRUE@
-ECA_AM_PYECASOUND_CEXT_FALSE = @ECA_AM_PYECASOUND_CEXT_FALSE@
-ECA_AM_PYECASOUND_CEXT_TRUE = @ECA_AM_PYECASOUND_CEXT_TRUE@
-ECA_AM_PYECASOUND_INSTALL_FALSE = @ECA_AM_PYECASOUND_INSTALL_FALSE@
-ECA_AM_PYECASOUND_INSTALL_TRUE = @ECA_AM_PYECASOUND_INSTALL_TRUE@
-ECA_AM_RUBYECASOUND_INSTALL_FALSE = @ECA_AM_RUBYECASOUND_INSTALL_FALSE@
-ECA_AM_RUBYECASOUND_INSTALL_TRUE = @ECA_AM_RUBYECASOUND_INSTALL_TRUE@
-ECA_AM_SYSTEM_READLINE_FALSE = @ECA_AM_SYSTEM_READLINE_FALSE@
-ECA_AM_SYSTEM_READLINE_TRUE = @ECA_AM_SYSTEM_READLINE_TRUE@
-ECA_AM_USE_NCURSES_FALSE = @ECA_AM_USE_NCURSES_FALSE@
-ECA_AM_USE_NCURSES_TRUE = @ECA_AM_USE_NCURSES_TRUE@
-ECA_AM_USE_TERMCAP_FALSE = @ECA_AM_USE_TERMCAP_FALSE@
-ECA_AM_USE_TERMCAP_TRUE = @ECA_AM_USE_TERMCAP_TRUE@
-ECA_S_EXTRA_CPPFLAGS = @ECA_S_EXTRA_CPPFLAGS@
-ECA_S_EXTRA_LIBS = @ECA_S_EXTRA_LIBS@
-ECA_S_JACK_INCLUDES = @ECA_S_JACK_INCLUDES@
-ECA_S_JACK_LIBS = @ECA_S_JACK_LIBS@
-ECA_S_PREFIX = @ECA_S_PREFIX@
-ECA_S_PYTHON_DLMODULES = @ECA_S_PYTHON_DLMODULES@
-ECA_S_PYTHON_INCLUDES = @ECA_S_PYTHON_INCLUDES@
-ECA_S_PYTHON_MODULES = @ECA_S_PYTHON_MODULES@
-ECA_S_READLINE_INCLUDES = @ECA_S_READLINE_INCLUDES@
-ECA_S_READLINE_LIBS = @ECA_S_READLINE_LIBS@
-ECA_S_RUBY_SITEDIR = @ECA_S_RUBY_SITEDIR@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBECASOUNDC_VERSION = @LIBECASOUNDC_VERSION@
-LIBECASOUNDC_VERSION_AGE = @LIBECASOUNDC_VERSION_AGE@
-LIBECASOUND_VERSION = @LIBECASOUND_VERSION@
-LIBECASOUND_VERSION_AGE = @LIBECASOUND_VERSION_AGE@
-LIBKVUTILS_VERSION = @LIBKVUTILS_VERSION@
-LIBKVUTILS_VERSION_AGE = @LIBKVUTILS_VERSION_AGE@
-LIBLO_CFLAGS = @LIBLO_CFLAGS@
-LIBLO_LIBS = @LIBLO_LIBS@
-LIBOBJS = @LIBOBJS@
-LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
-LIBOIL_LIBS = @LIBOIL_LIBS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-NMEDIT = @NMEDIT@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-PYTHONPATH = @PYTHONPATH@
-RANLIB = @RANLIB@
-RUBYPATH = @RUBYPATH@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-EXTRA_DIST = users_guide.latex
-DISTCLEANFILES = \
- users_guide.log \
- users_guide.aux \
- users_guide.out \
- users_guide.dvi \
- users_guide.toc \
- users_guide.ps \
- ecasound_users_guide.pdf \
- html_uguide/users_guide.html \
- html_uguide/users_guide.haux \
- html_uguide/users_guide.htoc
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Documentation/users_guide/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign Documentation/users_guide/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-exec-am:
-
-install-info: install-info-am
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-info-am
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- distclean distclean-generic distclean-libtool distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-info-am
-
-
-all:
-
-docs: ecasound_users_guide.pdf
-
-ecasound_eci_doc.pdf: eci_doc.latex eci_doc.dvi
-
-# note: to create the table of contents (which spans multiple pages), and
-# re-calculate the page numbers after the page offset generated by table
-# of contents, latex needs to be ran 3 times. (Junichi Uekawa, 2007-08-06)
-
-users_guide.dvi: $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- latex $(srcdir)/users_guide.latex
- dvips -Ppdf -o users_guide.ps users_guide.dvi
- ps2pdf users_guide.ps ecasound_users_guide.pdf
- mkdir -p html_uguide
- hevea -o html_uguide/users_guide.html $(srcdir)/users_guide.latex
- hevea -o html_uguide/users_guide.html $(srcdir)/users_guide.latex
-
-ecasound_users_guide.pdf: users_guide.dvi
-
-clean-docs:
- rm -fv ecasound_users_guide.pdf
- rm -fv users_guide.log users_guide.toc users_guide.dvi users_guide.aux users_guide.ps users_guide.dvi
- rm -fv html_uguide/*
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/library/ecasound/Documentation/users_guide/users_guide.latex b/library/ecasound/Documentation/users_guide/users_guide.latex
deleted file mode 100644
index 88a79a2e1..000000000
--- a/library/ecasound/Documentation/users_guide/users_guide.latex
+++ /dev/null
@@ -1,1056 +0,0 @@
-\documentclass{report}
-\usepackage[T1]{fontenc}
-\usepackage{ae}
-\usepackage{hevea}
-\usepackage{hyperref}
-
-\title{Ecasound User's Guide}
-\author{Kai Vehmanen}
-\date{19042009}
-\begin{document}
-
-\maketitle
-\tableofcontents
-\clearpage
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Preface}
-
-This document describes Ecasound from the user's point of view. In
-addition to the actual user/client-programs, all essential Ecasound
-library concepts and features are also discussed. To avoid duplicating
-documentation, I've used references to other sources whenever suitable.
-For instance, Ecasound's man pages are a very good (and up-to-date!)
-source of information. They are also available in HTML-format.
-
-If not otherwise specified, all documentation refers to the latest
-Ecasound version.
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Document history}
-\begin{itemize}
-\item 19.04.2009 - Removed duplicate Ecasound history section and added
- more web URLs pointing to other sources of
- documentation.
-\item 31.01.2009 - Lots of minor improvements in preparation for
- 2.6.0 release.
-\item 29.01.2009 - Updated ``JACK Audio Server'' section to match
- the changes in 2.6.0 release.
-\item 05.08.2008 - Fixed a bug in example of loop device usage.
-\item 09.03.2008 - Updated the EWF file section. Replace uses of ``/dev/dsp''
- with ``alsa'' in many examples.
-\item 06.12.2006 - Added notes concerning quoting EOS arguments containing
- commas.
-\item 04.06.2006 - Some minor improvements to the text. Updated the descriptions of
- realtime-lsm and rlimits-rtprio mechanisms.
-\item 25.04.2005 - From now on, only major changes are logged to this changelog
- section. For detailed change history, refer to CVS history.
-\item 23.04.2005 - Started using the ``hevea'' style-package and converted
- all links to use the hevea macros (resulting in real hyperlinks
- in the HTML output). Renamed the section
- ``Security considerations when running with root privileges''
- to shorter ``Security Considerations'', added info
- about Realtime LSM module.
-\item 01.04.2005 - Updated ``Ecasignalview'' documentation.
-\item 30.03.2005 - Added sections on ``Preset parameters'' and
- ``Parameter descriptors''.
-\item 11.12.2004 - Added section ``Filenames with commas not handled correctly''
-\item 18.12.2003 - Many typo fixes and other corrections from Eric
- Rzewnicki.
-\item 18.11.2003 - Typo fixes.
-\item 20.08.2003 - Capitalize Ecasound in all cases where talking
- about the software package, not the console mode
- user-interface. Updated JACK documentation with
- a description of JACK and Ecasound states.
-\item 13.08.2003 - Updated documentation concerning JACK transport
- functions.
-\item 31.10.2002 - Few section layout bugs fixed.
-\item 30.10.2002 - Added JACK documentation, minor layout changes.
-\item 17.10.2002 - Updated Ecasound overview.
-\item 17.07.2002 - Added documentation for ecasignalview.
-\item 18.05.2002 - Fixed a few typos.
-\item 21.10.2001 - Added material from the Ecasound FAQ.
-\item 21.10.2001 - Added this history section. Document was
- restructured and all major chapters reviewed.
-\item 01.02.2001 - Updated the ``Current position'' section.
-\end{itemize}
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Introduction}
-
-% ----------------------------------------------------------------------
-\section{What is Ecasound?}
-
-
-Ecasound is a software package designed for multitrack audio
-processing. It can be used for simple tasks like audio playback,
-recording and format conversions, as well as for multitrack effect
-processing, mixing, recording and signal recycling. Ecasound supports
-a wide range of audio inputs, outputs and effect algorithms.
-Effects and audio objects can be combined in various ways, and their
-parameters can be controlled by operator objects like oscillators
-and MIDI-CCs. A versatile console mode user-interface is included in
-the package.
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Ecasound concepts}
-
-% ----------------------------------------------------------------------
-\section{Audio object}
-
-Audio objects are used to transfer audio from and to Ecasound.
-Usually audio objects are either files (like wav, mp3 or ogg)
-or devices (soundcard input/output). There are also some
-special audio object types for transferring data between
-applications.
-
-% ----------------------------------------------------------------------
-\section{Chain}
-
-Chain is the central signal flow abstraction. In many ways chains
-are similar to audio cables. You have one input and one output
-to which you can connect audio producers and consumers
-(like guitar and amplifier for instance).
-
-But there are some differences. First it's possible to attach
-chain operators (usually effects) to chains. This is somewhat like
-replacing one cable with two, and putting an effect box between
-them, but with chains it's just easier. A second important difference
-is that chains can transport multiple channels of audio. It's possible
-to attach mono, stereo or 24ch (or bigger) audio feeds to one
-chain. Also all chain operators can handle these multichannel
-streams.
-
-In addition to chain operators, chains also have separate
-``mute'' and ``bypass'' functions.
-
-% ----------------------------------------------------------------------
-\section{Chain operators and controllers}
-
-Chain operators are used to process and analyze sample data.
-They can be divided into gates, converters, signal analyzers and
-to traditional effects like reverbs, delays and filters.
-
-It's also possible to attach special controller objects to chains.
-These controllers are used to control chain operator parameters.
-The typical examples are various oscillators and MIDI continous
-controllers (knobs, sliders, etc found on MIDI-devices).
-
-Both types of objects are attached to chains. The term \emph{chain object}
-refers to all objects that can be attached to chains - ie.
-operators and controllers.
-
-% ----------------------------------------------------------------------
-\section{Chainsetup}
-
-Chainsetup is the central data object. All other objects (inputs,
-outputs, chains, etc) are connected to some chainsetup.
-Many chainsetups can exist at the same time (during one session),
-but only one of them can be in use. In Ecasound documentation,
-the term \emph{connected} is used to describe a chainsetup that
-is in use.
-
-Another important chainsetup concept is that of a \emph{selected}
-chainsetup. All editing operations are done on the currently selected
-chainsetup. It is possible to have one chainsetup connected (currently
-processing audio), while editing another, chainsetup that is selected
-for editing.
-
-Loading and saving chainsetups is the primary mechanism
-for storing and restoring state information. When saving
-to files, the \emph{.ecs} file format is used. The file syntax
-uses the same notation as Ecasound's console (and command-line)
-interface. This makes it easy to edit the chainsetup files
-outside Ecasound, either manually or using external utils.
-See \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page for details.
-
-% ----------------------------------------------------------------------
-\section{Current position}
-
-Information about current position is only stored for audio
-objects and chainsetups. When you change chainsetup position,
-all audio objects are affected. On the other hand, positions
-of different audio objects can be changed independently.
-
-% ----------------------------------------------------------------------
-\section{Ecasound Control Interface - ECI}
-
-Ecasound Control Interface is an API for application
-developers who want to take advantage of libecasound
-in their own apps. See ``Ecasound Control Interface Guide''
-and ``Ecasound Programmer's Guide'' for more information.
-
-% ----------------------------------------------------------------------
-\section{Ecasound Interactive Mode - EIAM}
-
-Most of Ecasound's functionality is located in one
-central library (libecasound). One thing that this library
-provides is a simple interpreter, which can be used for
-controlling Ecasound. This mode of operation is better
-known as Ecasound's Interactive Mode (EIAM)
-
-The most common frontend for the Interactive Mode is the console-mode
-Ecasound program. You can enter its Enteractive Mode
-by issuing ``ecasound -c''. For more detailed information
-the available commands, see \texttt{ecasound-iam(1)} man page.
-
-% ----------------------------------------------------------------------
-\section{Ecasound Option Syntax - EOS}
-
-One very notable feature of the console-mode ecasound
-program is its command-line option syntax. You can
-do pretty much everything from the command-line.
-
-But it doesn't end with the console mode ecasound. In
-fact, interpreting these options is located in
-the main libecasound library, and is very closely tied
-to the interactive mode.
-
-As a result, the same syntax (tokens that look like
-``-prefix:arg1,arg2,...,argN''), is used in various
-parts of libecasound. Note that if any of the arguments
-contain commas, those arguments need to be enclosed in
-double-quotes (for example ``-prefix:"ar,g1",arg2'').
-
-Following is a partial list of the places where EOS syntax
-has been used:
-
-\begin{itemize}
-\item parsing command-line options
-\item the interactive-mode (as arguments to the 'cs-option' command
- [2.1dev4 and newer])
-\item saved chainsetup-files (.ecs format)
-\item effect preset definitions (see for example
- ``/usr/share/ecasound/effect\_presets'')
-\item generic oscillator definitions (see for example
- ``/usr/share/ecasound/generic\_oscillators''
-\end{itemize}
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Using}
-
-% ----------------------------------------------------------------------
-\section{Where to start?}
-
-There's no one single right way to use Ecasound. You can use it as
-a simple glue component for doing tasks that aren't handled by
-other applications you are using, or because Ecasound does these tasks
-more easily (or better even :)). But Ecasound can also serve as the
-centre of your studio setup, doing everything from effects processing
-to multitrack recording and mixing.
-
-This flexibility doesn't come for free. It's difficult to describe
-Ecasound's features in a few phrases. Because of this, new users
-are encouraged to start from the \texttt{Examples page} at
-\url{http://www.eca.cx/ecasound/Documentation/examples.html}.
-It isn't a perfect introduction, and definitely shows only one way to
-use the software, but it does give an overall view of what can be done,
-and more importantly, it shows that many tasks are actually quite simple
-to do.
-
-% ----------------------------------------------------------------------
-\section{Rules for creating and modifying chainsetups}
-
-Here are a few rules that help writing valid chainsetups.
-Whether you are editing chainsetup files (.ecs), some
-graphical frontend, just using command-line options, etc;
-these rules always apply:
-
-\begin{itemize}
-\item Every chain has exactly \_one\_ input and \_one\_ output.
-\item All inputs and outputs must be connected to some chain.
-\item For every input/output, there is one and only one
- definition (example: ``-i:file.wav'').
-\item All routing from and to chains is based on selecting a set of
- chains and then specifying an input or output (example:
- ``-a:1,2 -i:file.ext'').
-\item All audio copying and mixing is done channel-wise. If you attach
- a 4-channel input and a two-channel output to a chain, that chain
- will have 4 channels of audio, but only the first two channels
- will be written to the output file.
-\end{itemize}
-
-Note that these rules are checked only when \emph{connecting} the
-chainsetup (when issuing commands such as ``cs-connect'', or ``start'').
-
-% ----------------------------------------------------------------------
-\section{Chain operators and controllers}
-
-The best place to start is to read through
-the \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page, which contains documentation for all native Ecasound
-chain objects.
-
-% ----------------------------------------------------------------------
-\section{Configuration}
-
-User preferences are stored in \emph{\textasciitilde /.ecasound/ecasoundrc}.
-See the \href{http://eca.cx/ecasound/Documentation/ecasoundrc\_manpage.html}{ecasoundrc(5)}
-manual page for details.
-
-By default, files for effect presets and oscillator presets are
-in \emph{/usr/share/ecasound}.
-
-% ----------------------------------------------------------------------
-\section{Common problems}
-
-\subsection{I get occasional audio dropouts during operation? How to get rid of them?}
-
-Check \url{http://www.oreillynet.com/pub/a/linux/2000/11/17/low_latency.html}
-where you'll find a very good article written by Dave Phillips on
-Linux low-latency issues. If you are in a hurry (or desperate :)),
-here's a quick list of things to try:
-
-\begin{itemize}
-\item Tune your disks (see the article)
-\item Enable ecasound's double-buffering system by using the \emph{-z:db}
- option [note! this is only necessary with Ecasound 2.0.x and older]
-\item If you're still having problems, run ecasound as root (or with SUID-bit
- set) and use ecasound's \emph{-r} option. This will raise ecasound's
- scheduling priority to realtime (SCHED\_FIFO). [with ecasound 2.1
- and newer, just run ecasound as root and it will take care of
- tuning the settings]
-\item Try increasing ecasound's buffersize with the \emph{-b:sample\_frames}
- option. Something like \emph{-b:4096} should do the trick.
-\item If all else fails, try the various low-latency kernel patches
- (again, check the article)
-\end{itemize}
-
-There has been a lot of discussion about tuning your system for better
-performance on linux-audio-dev and linux-audio-user mailing lists. You
-can browse the list archives at \url{http://www.linuxdj.com/audio/lad/archive.php}.
-
-Here are links to selected messages from the ecasound-list archives:
-\begin{itemize}
-\item Tuning parameters for reliable recording \url{http://eca.cx/ecasound-list/2005/04/0038.html}.
-\item Smart Buffering \url{http://eca.cx/ecasound-list/2001/10/0020.html}.
-\item Ecasound for Recording \url{http://eca.cx/ecasound-list/2001/06/0016.html}.
-\end{itemize}
-
-\subsection{Can I use multiple soundcards?}
-
-This is possible, but there are some issues you should be aware of. If
-you try using multiple cheap soundcards to get more simultaneous
-inputs for recording, it's likely that the resulting streams will not
-be in sync. This problem is explained in detail in the Linux
-Audio-Quality HOWTO section "Notes on Full Duplex Recording, and Other
-Realtime Issues": \url{http://karmak.org/archive/2003/02/audio_quality_HOWTO.htm}.
-The original page at \url{http://www.linuxdj.com/audio/quality/} is no
-longer available.
-
-\subsection{Problems with panning mono files}
-
-In situations where you need to convert mono
-audio objects to multichannel objects, Ecasound
-can behave in a somewhat unexpected manner.
-
-For instance, the correct way to set panning for
-three individual mono input files, and mix the
-resulting stereo output to soundcard, is:
-
-\begin{verbatim}
-ecasound -a:1 -i:monofile1.wav -erc:1,2 -epp:0 \
- -a:2 -i:monofile2.wav -erc:1,2 -epp:50 \
- -a:3 -i:monofile3.wav -erc:1,2 -epp:100 \
- -a:all -f:16,2,44100 -o:alsa
-\end{verbatim}
-
-The actual signal chain is something like:
-
-\begin{verbatim}
-monofile1.wav |--'1'---- erc ----| epp |---\
- \-----| |---\\
- \\
-monofile2.wav |--'2'---- erc ----| epp |------- | alsa
- \-----| |------- |
- //
-monofile3.wav |--'3'---- erc ----| epp |---//
- \-----| |---/
-
-('---' = mono channel)
-\end{verbatim}
-
-The critical points to notice are:
-
-\begin{itemize}
-\item ecasound automatically notices that the three
- input files are mono files so chains are initialized
- with one mono input
-\item chains contain mono signal until -erc operator,
- which transforms the chain into a stereo chain
- by copying the data from ch1 to ch2
-\item now -epp works as expected (sets the stereo balance
- for one input)
-\item chains are mixed to the soundcard device channel-wise
-\end{itemize}
-
-If you leave out the -erc operators, chains will still be converted
-to stereo (as -epp is a stereo operator), but on each chain, only
-the first channel (left) will contain any audio from the input
-files.
-
-\subsection{Filenames with commas not handled correctly}
-
-There are some pitfalls in how commas in filenames are handled
-by ecasound. If you have a filename ``foo,bar.ogg'', the following
-will not work:
-
-\begin{verbatim}
-ecasound -i foo,bar.ogg -o alsa
-\end{verbatim}
-
-The only way around this is to escape all the commas with backslashes:
-
-\begin{verbatim}
-ecasound -i foo\\,bar.ogg -o alsa
-\end{verbatim}
-
-The backslash has to be a double-backslash as the shell strips
-one of the backslashes away before passing the string to ecasound.
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{User interfaces and Applications}
-
-For a complete list of user-interfaces and applications built
-on top of Ecasound, visit Ecasound's web site at \url{http://www.eca.cx}.
-
-% ----------------------------------------------------------------------
-\section{Ecasound}
-
-The standalone program ``ecasound'' is the primary user interface
-for Ecasound.
-
-See \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page and the \texttt{Examples web page}
-at \url{http://www.eca.cx/ecasound/Documentation/examples.html}.
-
-% ----------------------------------------------------------------------
-\section{Ecasignalview}
-
-Ecasignalview is an utility program for monitoring signal amplitude
-and peak statistics. It's primarily used when adjusting
-signal levels for recording.
-
-\subsection{Basic use}
-
-The basic use scenario is to record audio from a soundcard device,
-visualize it with vu-meters and write it to a null output.
-
-\begin{verbatim}
-# OSS-drivers (or properly installed ALSA OSS-emulation)
-ecasignalview /dev/dsp null
-
-# native ALSA-mode, recording from the 'default' device
-ecasignalview alsa,default null
-\end{verbatim}
-
-It is possible to reset the max-peak and clipped-samples
-counters by sending a SIGHUP signal to the process (i.e.
-from another console: "killall -v -HUP ecasignalview").
-
-To monitor the input signal you can either use the soundcard's
-analog (or in some cases, digital) monitoring functions by
-enabling line/mic-in monitoring using \emph{alsamixer} (ALSA),
-\emph{aumix} (OSS) or some other mixer application. Another option is to
-use ecasignalview to do the monitoring. In this case the correct
-command is:
-
-\begin{verbatim}
-# OSS input and output
-ecasignalview /dev/dsp /dev/dsp
-
-# corresponding ALSA command
-ecasignalview alsa,default alsa,default
-\end{verbatim}
-
-Ecasignalview command-line options allow you to fine-tune
-the way monitoring is done:
-
-\begin{verbatim}
-# increased refresh rate 20Hz
-ecasignalview -r:50 alsa null
-
-# larger buffersize (1024 samples)
-ecasignalview -b:1024 alsa null
-
-# recording in mode 32bit/10channels/96000Hz with
-# interleaved channels
-ecasignalview -f:s32,10,96000,i alsa null
-\end{verbatim}
-
-It can also be used with files and real-time devices like
-JACK inputs and outputs:
-\begin{verbatim}
-# monitor audio recorded by JACK system input (first 2ch)
-ecasignalview -f:f32,2 jack,system null
-
-# monitor audio from JACK application ``foosynth''
-ecasignalview -f:f32,2 jack,foosynth null
-
-# play and monitor a file input
-ecasignalview foo.wav alsa
-\end{verbatim}
-
-\subsection{Further Reading}
-
-See \texttt{ecatools(1)} man page for a detailed listing of
-available command-line options.
-
-% ----------------------------------------------------------------------
-\section{Ecatools}
-See \texttt{ecatools(1)} man page.
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Advanced features}
-
-% ----------------------------------------------------------------------
-\section{Audio loop devices}
-
-Just by using normal chain connections it's not possible to
-route audio from one Ecasound chain to another. One way
-around this limitation is loop devices. They were introduced
-in Ecasound 1.7.0.
-
-\subsection{Example of use}
-
-An example use-case where we route audio from chains ``1'' and ``2''
-to chain ``3'' which is amplified and send to a soundcard output (``alsa'').
-
-\begin{verbatim}
---cut--
-# note, the second loop parameter is the loop id-number;
-# it is used to associate loop inputs with correct loop outputs
-ecasound -a:1 -i:some.mp3
- -a:2 -i:another.mp3
- -a:1,2 -o:loop,1
- -a:3 -ea:200 -i:loop,1 -o alsa
---cut--
-
-\end{verbatim}
-
-Both inputs are eventually routed to chain "3", where a -ea:200 is
-applied to the signal. This does have one downside, loop device
-adds latency (-b:x -> latency of x frames).
-
-% ----------------------------------------------------------------------
-\section{Ecasound Wave Files - the EWF (.ewf) format}
-
-\subsection{General}
-
-Ecasound Wave File (.ewf) is a simple wrapper format for controlling
-other audio objects. Ewf files are useful for offsetting or time-shifting
-audio files (for instance play a short audio clip in the middle of
-a long multitrack mix), for minimizing diskspace usage during
-multitrack recording (output offsetting ) and looping.
-
-Starting from Ecasound version 2.5.0, similar functionality is
-provided by special purpose audio object types 'audioloop', 'audioselect'
-and others. You may choose between EWF and these audio object types
-based on your specific needs. See
-\href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page and the \texttt{Examples web page}
-at \url{http://www.eca.cx/ecasound/Documentation/examples.html}
-for many examples of using these.
-
-Writing to EWF file is nowadays considered to be a deprecated
-feature and it may be removed in a future release.
-
-\subsection{File format}
-
-Ewf-files are stored in ascii format. The syntax is based on ``key=value''
-pairs. The same syntax is used with Ecasound resource files. See
-\href{http://eca.cx/ecasound/Documentation/ecasoundrc\_manpage.html}{ecasoundrc(5)}
-man page for detailed info. Currently recognized ewf keywords are:
-
-\begin{itemize}
-\item source - audio object name (string) {[}read,write{]}
-\item offset - insert audio object at offset (time) {[}read,write{]}
-\item start-position - start offset inside audio object (time) {[}read{]}
-\item length - how much of audio object data is used (time) {[}read{]}
-\item looping - whether to loop sample data (true or false) {[}read{]}
-\end{itemize}
-
-All time values are interpreted as seconds (need not be an integer
-but can be given as a decimal number, e.g. ``1.05''). However if
-the value is an integer number and has a postfix of ``sa'' (e.g.
-``44100sa''), it is interpreted as time expressed as samples (in
-case of a multichannel stream, time in sample frames).
-
-\subsection{Example of ewf use}
-
-Let's look at a simple example .ewf file:
-
-\begin{verbatim}
--- test.ewf --
-source = test.wav
-offset = 5.0
-start-position = 2.0
-length = 3.0
-looping = true
---cut--
-\end{verbatim}
-
-Now what happens when you issue "ecasound -i test.ewf -o alsa"?
-Because of the ``offset'' definition, the first 5 seconds will be
-silent. After that ecasound will start to read data from ``test.wav''.
-But as ``start-position'' is not zero, ecasound will skip the
-first 2 seconds. After 8 seconds has passed (``offset'' +
-``length''), ecasound will loop back to ``start-position''.
-This looping will continue until the user interrupts the operation.
-
-% ----------------------------------------------------------------------
-\section{Effect presets}
-
-\subsection{General}
-Ecasound has a powerful effect preset system that allows you to create
-new effects by combining basic effects and controllers.
-
-Presets can be stored into separate files or they can be stored
-into a global database. Either way, the preset format is the same
-(also see \href{http://eca.cx/ecasound/Documentation/ecasoundrc\_manpage.html}{ecasoundrc(5)}
- man page, the same file format and syntax is used):
-
-\begin{verbatim}
-preset_name = effects controllers | ... | effects controllers
-\end{verbatim}
-
-Effects and controllers are specified using the EOS syntax,
-the same syntax that is used for parsing command-line options
-(``-ea:100'', ``-kl:1,0,100,5'', etc). The pipe character is
-used to separate parallel chains.
-
-Just like in shell scripts, the '$\backslash$' character can
-be used to spread definitions across multiple lines.
-
-\subsection{Example of preset use}
-Ecasound effect presets are in fact small Ecasound engines that
-behave just like native effects. Here's an example of a
-multi-chain effect preset:
-
-\begin{verbatim}
---cut file 'bassbooster.ecp'--
-# let's put the low freqs into one chain and high freqs in another
-bassbooster = -efl:2000 -ea:200 | -efh:2000 -ea:50
-# note, the '|' sign separates parallel chains
---cut--
-\end{verbatim}
-
-Once defined, you can use the preset in the following way:
-
-\begin{verbatim}
---cut--
-ecasound -a:1 -i:some.mp3 -pf:bassbooster.ecp
- -a:2 -i:another.mp3 -pf:bassbooster.ecp
- -a:1,2 -o:alsa
---cut--
- \end{verbatim}
-
-When separate files are used (the ``-pf:name'' option),
-Ecasound always loads the first preset it finds. If the
-file contains more presets (additional ``key=value'' -pairs),
-they are ignored.
-
-An alternative way to define presets is to put the
-definition in the global preset list (usually in
-``/usr/local/share/ecasound/effect\_presets''. Once you've
-added a line defining ``bassbooster'', you can use it
-like:
-
-\begin{verbatim}
---cut--
-ecasound -a:1 -i:some.mp3 -pn:bassbooster
- -a:2 -i:another.mp3 -pn:bassbooster
- -a:1,2 -o:alsa
---cut--
-\end{verbatim}
-
-\subsection{Preset parameters}
-
-Parameters of operators belonging to a preset can be
-exposed as preset paramters. Example:
-
-\begin{verbatim}
---cut preset definition--
-f_res_lowpass = -ef3:%1,1.5,0.7
---cut--
-\end{verbatim}
-
-In the above example, the lowpass filter cutoff is exposed
-as a parameter of the ``f\_res\_lowpass'' preset. The preset
-can be used just like any other Ecasound operator. The
-following two commands will results in identical output:
-
-\begin{verbatim}
---cut--
-ecasound -i:foo.mp3 -o:alsa -pn:f_res_lowpass,800
-ecasound -i:foo.mp3 -o:alsa -ef3:800,1.5,0.7
---cut--
-\end{verbatim}
-
-\subsection{Parameter descriptors}
-
-Ecasound preset parameters can be described using the following
-set of descriptors:
-
-\begin{verbatim}
- -pd:name_of_preset = preset description
- -ppn:par1,...,parN = parameter names (public params)
- -ppd:val1,...,valN = default param values
- -ppl:val1,...,valN = lower bounds for param values
- -ppu:val1,...,valN = upper bounds for param values
- -ppt:flags1,...,flagsN = special flags for param N
- ('i'=integer, 'l'=logarithmic, 'o'=output, 't'=toggle)
-\end{verbatim}
-
-The option can only be used inside preset definitions (in ``effect\_presets''
-files, or individual ``*.ecp'' files). An example preset parameter
-definition:
-
-\begin{verbatim}
---cut--
-f_two_filters = -efl:800 -ea:%1 | -efh:800 -ea:%2 \
- -pd:Parallel_highpass_and_lowpass_filters \
- -ppl:0,0 -ppu:1000,- \
- -ppd:100,100 -ppn:lowgain,highgain
---cut--
-\end{verbatim}
-
-The above preset ``f\_two\_filters'' has two parameters, which
-are described using the ``-pd'' descriptor. Recommended lower and
-upper bounds for the parameters are defined with ``-ppl'' and
-``-ppu'' descriptors. Default values for the parameters are
-specified with ``-ppd''.
-
-% ----------------------------------------------------------------------
-\section{Gate operators}
-
-Gates are just like any other chain operators. They are assigned to
-a chain, and process passing audio data buffers. One special feature
-of gates is the ability to crop sections of audio files, for instance
-to achieve automatic volume-based cutting of audio streams:
-
-\subsection{Example of use}
-
-The following sequence cuts the section {[}60:00 sec ->
-61:00 sec{]} from ``guitar.wav'' into ``gate-test.wav'':
-
-\begin{verbatim}
---cut--
-|\$ ls -la guitar.wav
--rw-rw-r-- 1 kaiv kaiv 15790124 Sep 30 23:27 guitar.wav
-
-|\$ ecasound -i guitar.wav -o gate-test.wav -gc:60,1
-
-|\$ ls -la gate-test.wav
--rw-rw-r-- 1 kaiv kaiv 180268 Dec 12 22:13 gate-test.wav
---cut--
-\end{verbatim}
-
-The threshold gate is used similarly:
-
-\begin{verbatim}
---cut--
-|\$ ecasound -i gate-test.wav -o gate-test-rms.wav -ge:11.2,5,1
-
-|\$ ecasound -i gate-test.wav -o gate-test-peak.wav -ge:5,5,0
-
-|\$ ls -la gate*wav
--rw-rw-r-- 1 kaiv kaiv 163884 Dec 12 22:18 gate-test-peak.wav
--rw-rw-r-- 1 kaiv kaiv 143404 Dec 12 22:17 gate-test-rms.wav
--rw-rw-r-- 1 kaiv kaiv 180268 Dec 12 22:13 gate-test.wav
---cut--
- \end{verbatim}
-
-In the first case, the gate is opened when the RMS-volume goes over the ``11.2\%''
-threshold, and closed when RMS-volume falls below ``5\%''. In the second,
-case, both entry and close thresholds are ``5\%'' (peak volume).
-
-% ----------------------------------------------------------------------
-\section{LADSPA plugins}
-
-Ecasound supports LADSPA-effect plugins (Linux Audio Developer's
-Simple Plugin API). See \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page and the LADSPA web site at ``www.ladspa.org'' for more information.
-
-\subsection{Ecasound is not able to find any LADSPA plugins I have installed!}
-
-Just installing the LADSPA SDK - ``www.ladspa.org''
-- should be enough. The plugins themselves are stored in shared library
-files (.so). They are usually stored in ``/usr/local/lib/ladspa''. To test
-whether Ecasound finds the plugins, issue:
-
-echo "ladspa-register" | ecasound -c
-
-You should get a list of all installed LADSPA plugins. If this doesn't
-work, you need to make sure Ecasound is compiled with LADSPA enabled (ie.
-ladspa.h header was present when Ecasound was compiled). The precompiled
-rpm-binaries have this, but if you've compiled Ecasound yourself you
-should recompile after installing the LADSPA SDK.
-
-Also, check Dave Phillips' great
-article on Oreillynet -
-\url{http://www.oreillynet.com/pub/a/linux/2001/02/02/ladspa.html}.
-
-% ----------------------------------------------------------------------
-\section{JACK Audio Server}
-\label{JACK Audio Server}
-
-JACK is system for handling real-time, low latency audio.
-It allows multiple independent applications to access the system
-audio hardware and also to route audio between applications.
-
-JACK is different from other audio server efforts in that it has been
-designed from the ground up to be suitable for professional audio
-work. This means that it focuses on two key areas: synchronous
-execution of all clients, and low latency operation.
-
-Note that Ecasound must be compiled with JACK support enabled
-(the ``--with-jack'' configure option) to take advantage of
-the functionality described in this section.
-
-\subsection{Basic Input and Output}
-
-Let's start with how to play a file using Ecasound and JACK:
-
-\begin{verbatim}
-ecasound -i foo.wav -o jack,system
-\end{verbatim}
-
-This will create a separate JACK output port for each channel
-of ``foo.wav'', and automatically connect these Ecasound ports to
-the JACK system PCM output ports.
-
-Note that ecasound does not allow to mix objects with different
-sampling rates (without explicitly inserting ``samplerate''
-conversion objects). That means that if sampling rate of ``foo.wav''
-does not match the current JACK system rate, the above command
-wil fail.
-
-The connections creadted are as follows:
-
-\begin{verbatim}
-ecasound:out_1 --> system:playback_1
-ecasound:out_2 --> system:playback_2
-\end{verbatim}
-
-If ``foo.wav'' was a four channel file, the same command would
-connect all channels:
-
-\begin{verbatim}
-ecasound:out_1 --> system:playback_1
-ecasound:out_2 --> system:playback_2
-ecasound:out_3 --> system:playback_3
-ecasound:out_4 --> system:playback_4
-\end{verbatim}
-
-To record a file, you'd issue:
-
-\begin{verbatim}
-ecasound -f:,2 -i jack,system -o foo.wav
-ecasound -f:f32,2,44100 -i jack,system -o foo.wav
-\end{verbatim}
-
-Here we use ``-f:bits,channels,srate'' to set how many channels
-to record from the sound device using JACK. As described in
-the \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-man page, the parameters to ``-f'' may be overridden
-by the audio objects. In case of JACK, the server always sets
-the sampling rate, and also the sample format is fixed to 32bit
-floats. Because of this, the above two examples achieve the same
-result (but you may find the latter command more readable).
-
-It is possible to add another ``-f'' before ``-o foo.wav''
-if you want to write the file in a different format. For
-example to convert the sample format to 16bit fixed:
-
-\begin{verbatim}
-ecasound -f:f32,2 -i jack,system -f:s16,2 -o foo.wav
-\end{verbatim}
-
-\subsection{More Advanced Port Creation}
-
-Ecasound also offers the following alternative ways
-to create input and output ports:
-
-\begin{verbatim}
-ecasound -i foo.wav -o jack
-ecasound -i foo.wav -o jack,remote_client
-ecasound -i foo.wav -o jack,remote_client,local_portprefix
-ecasound -i foo.wav -o jack,,local_portprefix
-ecasound -i foo.wav -o jack_multi,remote_client:port_1,system:port_2
-ecasound -i jack -o foo.wav
-ecasound -i jack,remote_client -o foo.wav
-ecasound -i jack,local_portprefix -o foo.wav
-\end{verbatim}
-
-See \href{http://eca.cx/ecasound/Documentation/ecasound_manpage.html}{ecasound(1)}
-manual page for descriptions of the ``jack\_multi'' audio object and the variants
-of ``jack'' usage.
-
-\subsection{Transport Control}
-
-Transport controls are functions like ``start'', ``stop'', ``seek'',
-etc, that are commonly available in audio applications that
-maintain some kind of current position. JACK's transport
-control interface allows controlling the transport state
-of all the apps connected to one JACK server from a single
-application. Ecasound can support this functionality in
-four different modes (``notransport'', ``send'', ``recv''
-and ``sendrecv'').
-
-By default Ecasound will both send and reveive transport
-events (position and state) to other JACK clients
-(mode ``sendrecv''):
-
-\begin{verbatim}
-ecasound -c -i null -o jack
-\end{verbatim}
-
-To use transport control in Ecasound, you have to have at least
-one published input or output JACK port. Here we publish
-one null output port. After giving the initial ``engine-launch'' command
-in Ecasound interactive mode, you are now able to use
-further EIAM commands to control all other JACK apps connected
-to the same server. Commands like
-``stop'', ``setpos 20'', ``rw 10'', ``fw 10'', and so should
-affect other apps.
-
-By default, Ecasound doesn't react to outside transport
-control. To enable this:
-
-\begin{verbatim}
-ecasound -c -i foo.wav -o jack,system -G:jack,eca_slave,recv
-\end{verbatim}
-
-After giving an initial ``engine-launch'' to Ecasound, you should
-now be able to use other JACK apps to control Ecasound's
-playback of ``foo.wav''.
-
-To combine external control with the ability to control
-the transport from ecasound's user-interface:
-
-\begin{verbatim}
-ecasound -c -i foo.wav -o jack,system -G:jack,eca_slave,sendrecv
-\end{verbatim}
-
-\subsection{JACK and Ecasound states}
-
-To have a good understanding of the overall system, it's important
-to understand how Ecasound and JACK states relate to each other.
-
-When an Ecasound chainsetup is connected (EIAM-command ``cs-connect''),
-a connection is established with the JACK server, and all the
-JACK ports in that chainsetup are registered to it.
-Once Ecasound's engine is launched with EIAM-command ``engine-launch'',
-connections (if any are specified) are made to the ports of other
-JACK clients. In this state Ecasound is ready to process
-incoming transport state and position changes.
-
-When Ecasound processing is started (either with ``start'' or
-by an incoming transport event), Ecasound's engine runs
-as a node in the JACK system. When processing is stopped (either
-with ``stop'', or by a transport event), Ecasound's engine is
-not run.
-
-Any connections (initiated by Ecasound) to other clients,
-are disconnected once ``engine-halt'' is issued and engine
-operation is stopped. Connection to the remote JACK server
-as well as unregistering any ports is performed when chainsetup
-is disconnected (``cs-disconnect'').
-
-Note! Normally you don't need to go through all the steps one
-by one. Instead issuing ``start'' will automatically connect
-the chainsetup and launch the engine. Similarly ``cs-disconnect''
-will stop processing and halt the engine if needed.
-
-\subsection{Troubleshooting}
-
-Ecasound v2.2 and earlier don't have the capability to change
-the engine buffersize and sampling rate dynamically during
-processing. As a consequence, running Ecasound will fail if
-the currrent values for these parameters do not match
-the ones used by the JACK server. In other words, you have
-to correctly set the buffersize (with ``-b:xxx'') and sampling
-rate (with ``-f:bits,channels,srate'' and possibly using the
-\emph{resample} audio object). This is the first thing to
-check if communication with JACK does not work.
-
-Future versions of Ecasound will hopefully solve this
-problem. This issue is covered by Ecasound development item
-``edi-31 - Support for dynamic sampling rate and buffersize changes.''.
-
-\subsection{Deprecated JACK input/output syntax}
-Ecasound 2.5 and older supported ``jack\_alsa'', ``jack\_auto''
-and ``jack\_generic'' object types, but these are now replaced
-by a more generic ``jack'' interface. The old variants this
-work, but are now considered deprecated (they work but may be
-removed in a future Ecasound release).
-
-% ----------------------------------------------------------------------
-% ----------------------------------------------------------------------
-\chapter{Miscellaneous}
-
-% ----------------------------------------------------------------------
-\section{Security Considerations}
-
-When given the -r option (raise priority), Ecasound tries to raise
-its scheduling priority (to so called SCHED\_FIFO realtime scheduling)
-and to avoid swapping, locks all its memory. To do this,
-root-privileges are required. So either Ecasound has to be run as
-root (logged in as root, or using the 'sudo' program), it has to be
-installed with the suid-root bit set, or otherwise be granted necessary
-privileges to turn on real-time schedule (see below). Now is this a safe
-thing to do?
-
-Although there are no known vulnerabilities, setting Ecasound suid-root is
-not safe. Whether this is a real problem depends on the particular setup
-(whether connected to a network or not, any untrusted users with shell
-access, ...).
-
-The basic problem is that Ecasound (or at least 2.0 and earlier)
-doesn't contain any code for altering privilege levels. If it is run
-with root-privileges, it does everything as root - including forking
-external programs such as mp3 and ogg utilities and editors.
-
-But all in all, this shouldn't be that big of an issue for many users. For
-noncritical uses, just don't set the suid-bit, but run as a normal user. If
-you have an untrusted setup, and you don't want to login as root, but still
-need to run in raised-priority mode, the following can help to limit
-the risk of suid-root use:
-
-\begin{verbatim}
- cd /usr/local/bin
- chown root.ecausers ecasound
- chmod 4750 ecasound
-\end{verbatim}
-
-In other words, the ecasound binary is set as suid-root (so it is run with
-root-privileges), but only root and members of the 'ecausers' group can
-start it. You of course first have to create the 'ecausers' group to your
-system.
-
-The ideal solution would be that ecasound would not need full root-privileges, but
-privileges for changing scheduling and locking memory. On recent Linux systems,
-there are couple ways to achieve this.
-
-The Realtime Linux Security Module (LSM) is one practical solution
-(see \url{http://sourceforge.net/projects/realtime-lsm/} and
-\url{http://lwn.net/Articles/106009/}). This module is a loadable extension for
-Linux 2.6 kernels. It selectively grants realtime permissions to specific user groups
-or applications. Unfortunately Realtime LSM does not yet come with the standard Linux
-kernel, so you need to install it separately.
-
-A more recent approach, and one that might be adopted by popular GNU/Linux distributions,
-is the \emph{rtprio} extension to Linux resource limits. See
-\href{http://lwn.net/Articles/134460/} for a good overview of this approach and how
-it compared to the LSM mechanism described above.
-
-\end{document}
diff --git a/library/ecasound/INSTALL b/library/ecasound/INSTALL
deleted file mode 100644
index 8520c274c..000000000
--- a/library/ecasound/INSTALL
+++ /dev/null
@@ -1,279 +0,0 @@
-=======================================================================
-*** Ecasound - INSTALL ***
-=======================================================================
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It also creates the file `config.h' in the top-level source directory.
-This file contains system-dependent definitions. Finally, it creates
-a shell script `config.status' that you can run in the future to
-recreate the current configuration, a file `config.cache' that saves
-the results of its tests to speed up reconfiguring, and a file
-`config.log' containing compiler output (useful mainly for debugging
-`configure').
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If at some point `config.cache'
-contains results you don't want to keep, you may remove or edit it.
-
- The file `configure.in' is used to create `configure' by a program
-called `autoconf'. You only need `configure.in' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
-
- Running `configure' takes awhile. While running, it prints some
- messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Type `make install' to install the programs and any data files and
- documentation.
-
- 4. If you have not specified an alternative install prefix with --prefix
- option, make sure that you have `/usr/local/lib´ in your
- `/etc/ld.so.conf' and then run `/sbin/ldconfig´ (as root).
-
- 5. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- also a `make maintainer-clean' target, but that is intended mainly
- for the package's developers. If you use it, you may have to get
- all sorts of other programs in order to regenerate files that came
- with the distribution.
-
-Ecasound specific options
-=========================
-
-`--enable-all-static'
- Build static binaries that are not linked against any
- shared libraries. Disabled by default. Note! This is
- an experimental option and may not work in all
- circumstances.
-
-`--enable-debug'
- Disables optimizations and other things preventing
- efficient debugging. Created executables and libraries
- have a "_debug" suffix. Disabled by default.
-
-`--enable-experimental'
- Turns on some suspicious features. Not recommended.
- Disabled by default.
-
-`--enable-python-force-site-packages'
- Force install of python modules into site-packages
- directory even when it doesn't exist. Disabled by
- default.
-
-`--enable-sys-readline'
- If installed, link to system's default libreadline.
- Disabled by default.
-
-`--disable-alsa'
- Don't compile support for ALSA-drivers (otherwise
- links to libasound). By default ALSA support is
- enabled if all the necessary header and library
- files are found.
-
-`--disable-arts'
- Don't compile aRts client support. See http://www.arts-project.org
- for more info about aRts. By default aRts support is
- enabled if all the necessary header and library
- files are found.
-
-`--disable-audiofile'
- Don't link to libaudiofile. By default libaudiofile support is
- enabled if all the necessary header and library
- files are found.
-
-`--disable-dbc'
- Don't check design-by-contract assertions. Enabled by default.
-
-`--disable-effects'
- Build ecasound without effect and controller components.
- Enabled by default.
-
-`--disable-jack'
- Don't compile JACK client support. See
- http://jackit.sf.net for more info about JACK.
- By default JACK support is enabled if all the
- necessary header and library files are found.
-
-`--disable-libsamplerate'
- Don't compile libsamplerate support. See
- http://www.mega-nerd.com/SRC for more info about
- libsamplerate. By default libsamplerate support is
- enabled if all the necessary header and library files
- are found.
-
-`--disable-ncurses'
- Don't link against ncurses (known bug: even if this is
- specified, you're still required to have a working
- ncurses/termcap installation to compile). Enabled
- by default.
-
-`--disable-oss'
- Don't compile support for OSS-drivers. Enabled by
- default.
-
-`--disable-osstrigger'
- Disable the use of OSS trigger functions. Enabled
- by default.
-
-`--disable-sndfile'
- Don't link to libsndfile. By default libsndfile support is
- enabled if all the necessary header and library
- files are found.
-
-`--disable-largefile'
- Explicitly disable large file (>2GB) support.
-
-`--with-jack=JACK_PREFIX'
- Enable JACK support and compile against JACK installed
- in 'JACK_PREFIX'.
-
-`--with-libsamplerate=LIBSAMPLERATE_PREFIX'
- Enable libsamplerate support and compile against libsamplerate
- installed in 'LIBSAMPLERATE_PREFIX'.
-
-`--enable-pyecasound={c,python,none}'
- Enable pyecasound and select which implementation to use.
- Default value based on target platform.
-
-`--with-python-includes=DIR'
- Python include files are located in 'DIR'.
-
-`--with-python-modules=DIR'
- Python modules should be installed to 'DIR'.
-
-`--enable-rubyecasound={yes,no}'
- Enable rubyecasound. Defaults to yes if Ruby interpreter
- is found on the system.
-
-`--with-extra-cppflags=ARG´
- Pass extra options to preprocessor (cpp). This option should
- be used to add non-standard header paths to the search path.
-
-`--with-extra-libs=ARG´
- Pass extra options to linked (ld). This option should
- be used to add non-standard library paths to the search
- path, as well as additional libraries to link against.
-
-Supported automake/autoconf features
-====================================
-
-Ecasound uses the autotools (automake, automake and libtool)
-build system framework. Standard practises (see below for
-references) are followed where applicable.
-
-Some features offered by the autotools do not work without
-explicit support from the package. Following is a short list of
-features that Ecasound _does_ support. If you encounter any
-problems in using these features with Ecasound, please report
-them as bugs.
-
-1. Building Ecasound in a directory separate from the source
- directory.
- Example: "mkdir objdir ; cd objdir ; ../configure ; make"
-
-2. 'uninstall' make target
- You should be able to uninstall Ecasound by running "make uninstall".
- Note that if you override any make variable when running "make install",
- you should specify the same variables also when running "make uninstall".
- Reference: Automake manual (see below)
-
-3. 'DESTDIR' make variable for staging installs
- Reference: http://sources.redhat.com/automake/automake.html#Install
-
-4. 'prefix', 'datadir', pkgdatadir' make variables
- You should be able to override any of the make variables
- on the make command-line. But remember to always override
- the same variables when you switch between make targets (see
- notes on (2)).
- Example: make prefix=/tmp/ecasound-foobar install
-
-5. Overriding CPPFLAGS, CFLAGS, CXXFLAGS, etc variables.
- It is possible to override these parameters both before
- running the configure script (specify new values as
- environment variables), or at make time (specify new
- values on the make command-line). Note that these
- mechanisms are exclusive to each other.
-
- To specify extra preprocessing and compile flags that are
- applied when building libecasound components, but not when
- building the test programs run by 'configure' script, one can
- use the environment variables ECA_S_EXTRA_CPPFLAGS and
- ECA_S_EXTRA_CFLAGS (define before running 'configure').
-
-General references:
-
-o Automake manual
- http://sources.redhat.com/automake/automake.html
-
-o Autoconf manual
- http://www.gnu.org/software/autoconf/manual/
-
-o GNU Coding Standards
- http://www.gnu.org/prep/standards/
-
-
-Specifying the System Type
-==========================
-
- There may be some features `configure' can not figure out
-automatically, but needs to determine by the type of host the package
-will run on. Usually `configure' can figure that out, but if it prints
-a message saying it can not guess the host type, give it the
-`--host=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
- CPU-COMPANY-SYSTEM
-
-See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the host type.
-
- If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
-system on which you are compiling the package.
-
-Operation Controls
-==================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--cache-file=FILE'
- Use and save the results of the tests in FILE instead of
- `./config.cache'. Set FILE to `/dev/null' to disable caching, for
- debugging `configure'.
-
-`--help'
- Print a summary of the options to `configure', and exit.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made. To
- suppress all normal output, redirect it to `/dev/null' (any error
- messages will still be shown).
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`--version'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`configure' also accepts some other, not widely useful, options.
diff --git a/library/ecasound/Makefile.am b/library/ecasound/Makefile.am
deleted file mode 100644
index f413cc2d1..000000000
--- a/library/ecasound/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-# ----------------------------------------------------------------------
-# File: ecasound/Makefile.am
-# Description: Ecasound multitrack audio processing tool
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-
-EXTRA_DIST = AUTHORS BUGS COPYING.GPL COPYING.LGPL NEWS TODO ecasoundrc.in ecasound.spec effect_presets generic_oscillators
-
-SUBDIRS = kvutils libecasound ecasound libecasoundc pyecasound rubyecasound ecatools Documentation examples
-
-AUTOMAKE_OPTIONS = foreign
-
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-RELEASE = 1
-
-docs:
- cd Documentation ; $(MAKE) $(AM_MAKEFLAGS) docs
-
-install-data-local: ecasoundrc
- $(INSTALL) -d $(DESTDIR)$(pkgdatadir)
- $(INSTALL_DATA) $(top_builddir)/ecasoundrc $(DESTDIR)$(pkgdatadir)/ecasoundrc
- $(INSTALL_DATA) $(top_srcdir)/effect_presets $(DESTDIR)$(pkgdatadir)/effect_presets
- $(INSTALL_DATA) $(top_srcdir)/ecatools/ecasound.el $(DESTDIR)$(pkgdatadir)/ecasound.el
- $(INSTALL_DATA) $(top_srcdir)/generic_oscillators $(DESTDIR)$(pkgdatadir)/generic_oscillators
-
-uninstall-local:
- rm -f $(DESTDIR)$(pkgdatadir)/effect_presets \
- $(DESTDIR)$(pkgdatadir)/ecasound.el \
- $(DESTDIR)$(pkgdatadir)/generic_oscillators \
- $(DESTDIR)$(pkgdatadir)/ecasoundrc
- rmdir $(DESTDIR)$(pkgdatadir) || echo "Skipping non-empty directory"
-
-ecasoundrc: ecasoundrc.in Makefile.am
- sed -e "s%[@]VERSION[@]%$(VERSION)%" \
- -e "s%[@]prefix[@]%$(prefix)%" \
- -e "s%[@]pkgdatadir[@]%$(pkgdatadir)%" \
- < $(top_srcdir)/ecasoundrc.in > ecasoundrc
-
-clean-local:
- rm -fv ecasoundrc
-
-dist-hook: docs
diff --git a/library/ecasound/Makefile.in b/library/ecasound/Makefile.in
deleted file mode 100644
index d90a07964..000000000
--- a/library/ecasound/Makefile.in
+++ /dev/null
@@ -1,726 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# ----------------------------------------------------------------------
-# File: ecasound/Makefile.am
-# Description: Ecasound multitrack audio processing tool
-# License: GPL (see ecasound/{AUTHORS,COPYING})
-# ----------------------------------------------------------------------
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = .
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(srcdir)/ecasound.spec.in $(top_srcdir)/configure AUTHORS \
- COPYING INSTALL NEWS TODO compile config.guess config.sub \
- depcomp install-sh ltmain.sh missing
-subdir = .
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno configure.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = ecasound.spec
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-exec-recursive install-info-recursive \
- install-recursive installcheck-recursive installdirs-recursive \
- pdf-recursive ps-recursive uninstall-info-recursive \
- uninstall-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
- { test ! -d $(distdir) \
- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr $(distdir); }; }
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AM_CFLAGS = @AM_CFLAGS@
-AM_CPPFLAGS = @AM_CPPFLAGS@
-AM_CXXFLAGS = @AM_CXXFLAGS@
-AM_LDFLAGS = @AM_LDFLAGS@
-AR = @AR@
-ARTSC_CONFIG = @ARTSC_CONFIG@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DSYMUTIL = @DSYMUTIL@
-ECA_AM_ALL_STATIC_FALSE = @ECA_AM_ALL_STATIC_FALSE@
-ECA_AM_ALL_STATIC_TRUE = @ECA_AM_ALL_STATIC_TRUE@
-ECA_AM_COMPILE_ALSA_FALSE = @ECA_AM_COMPILE_ALSA_FALSE@
-ECA_AM_COMPILE_ALSA_TRUE = @ECA_AM_COMPILE_ALSA_TRUE@
-ECA_AM_COMPILE_ARTS_FALSE = @ECA_AM_COMPILE_ARTS_FALSE@
-ECA_AM_COMPILE_ARTS_TRUE = @ECA_AM_COMPILE_ARTS_TRUE@
-ECA_AM_COMPILE_AUDIOFILE_FALSE = @ECA_AM_COMPILE_AUDIOFILE_FALSE@
-ECA_AM_COMPILE_AUDIOFILE_TRUE = @ECA_AM_COMPILE_AUDIOFILE_TRUE@
-ECA_AM_COMPILE_JACK_FALSE = @ECA_AM_COMPILE_JACK_FALSE@
-ECA_AM_COMPILE_JACK_TRUE = @ECA_AM_COMPILE_JACK_TRUE@
-ECA_AM_COMPILE_OSS_FALSE = @ECA_AM_COMPILE_OSS_FALSE@
-ECA_AM_COMPILE_OSS_TRUE = @ECA_AM_COMPILE_OSS_TRUE@
-ECA_AM_COMPILE_SAMPLERATE_FALSE = @ECA_AM_COMPILE_SAMPLERATE_FALSE@
-ECA_AM_COMPILE_SAMPLERATE_TRUE = @ECA_AM_COMPILE_SAMPLERATE_TRUE@
-ECA_AM_COMPILE_SNDFILE_FALSE = @ECA_AM_COMPILE_SNDFILE_FALSE@
-ECA_AM_COMPILE_SNDFILE_TRUE = @ECA_AM_COMPILE_SNDFILE_TRUE@
-ECA_AM_DEBUG_MODE_FALSE = @ECA_AM_DEBUG_MODE_FALSE@
-ECA_AM_DEBUG_MODE_TRUE = @ECA_AM_DEBUG_MODE_TRUE@
-ECA_AM_DISABLE_EFFECTS_FALSE = @ECA_AM_DISABLE_EFFECTS_FALSE@
-ECA_AM_DISABLE_EFFECTS_TRUE = @ECA_AM_DISABLE_EFFECTS_TRUE@
-ECA_AM_FEELING_EXPERIMENTAL_FALSE = @ECA_AM_FEELING_EXPERIMENTAL_FALSE@
-ECA_AM_FEELING_EXPERIMENTAL_TRUE = @ECA_AM_FEELING_EXPERIMENTAL_TRUE@
-ECA_AM_KVUTILS_INSTALLED_FALSE = @ECA_AM_KVUTILS_INSTALLED_FALSE@
-ECA_AM_KVUTILS_INSTALLED_TRUE = @ECA_AM_KVUTILS_INSTALLED_TRUE@
-ECA_AM_PYECASOUND_CEXT_FALSE = @ECA_AM_PYECASOUND_CEXT_FALSE@
-ECA_AM_PYECASOUND_CEXT_TRUE = @ECA_AM_PYECASOUND_CEXT_TRUE@
-ECA_AM_PYECASOUND_INSTALL_FALSE = @ECA_AM_PYECASOUND_INSTALL_FALSE@
-ECA_AM_PYECASOUND_INSTALL_TRUE = @ECA_AM_PYECASOUND_INSTALL_TRUE@
-ECA_AM_RUBYECASOUND_INSTALL_FALSE = @ECA_AM_RUBYECASOUND_INSTALL_FALSE@
-ECA_AM_RUBYECASOUND_INSTALL_TRUE = @ECA_AM_RUBYECASOUND_INSTALL_TRUE@
-ECA_AM_SYSTEM_READLINE_FALSE = @ECA_AM_SYSTEM_READLINE_FALSE@
-ECA_AM_SYSTEM_READLINE_TRUE = @ECA_AM_SYSTEM_READLINE_TRUE@
-ECA_AM_USE_NCURSES_FALSE = @ECA_AM_USE_NCURSES_FALSE@
-ECA_AM_USE_NCURSES_TRUE = @ECA_AM_USE_NCURSES_TRUE@
-ECA_AM_USE_TERMCAP_FALSE = @ECA_AM_USE_TERMCAP_FALSE@
-ECA_AM_USE_TERMCAP_TRUE = @ECA_AM_USE_TERMCAP_TRUE@
-ECA_S_EXTRA_CPPFLAGS = @ECA_S_EXTRA_CPPFLAGS@
-ECA_S_EXTRA_LIBS = @ECA_S_EXTRA_LIBS@
-ECA_S_JACK_INCLUDES = @ECA_S_JACK_INCLUDES@
-ECA_S_JACK_LIBS = @ECA_S_JACK_LIBS@
-ECA_S_PREFIX = @ECA_S_PREFIX@
-ECA_S_PYTHON_DLMODULES = @ECA_S_PYTHON_DLMODULES@
-ECA_S_PYTHON_INCLUDES = @ECA_S_PYTHON_INCLUDES@
-ECA_S_PYTHON_MODULES = @ECA_S_PYTHON_MODULES@
-ECA_S_READLINE_INCLUDES = @ECA_S_READLINE_INCLUDES@
-ECA_S_READLINE_LIBS = @ECA_S_READLINE_LIBS@
-ECA_S_RUBY_SITEDIR = @ECA_S_RUBY_SITEDIR@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBECASOUNDC_VERSION = @LIBECASOUNDC_VERSION@
-LIBECASOUNDC_VERSION_AGE = @LIBECASOUNDC_VERSION_AGE@
-LIBECASOUND_VERSION = @LIBECASOUND_VERSION@
-LIBECASOUND_VERSION_AGE = @LIBECASOUND_VERSION_AGE@
-LIBKVUTILS_VERSION = @LIBKVUTILS_VERSION@
-LIBKVUTILS_VERSION_AGE = @LIBKVUTILS_VERSION_AGE@
-LIBLO_CFLAGS = @LIBLO_CFLAGS@
-LIBLO_LIBS = @LIBLO_LIBS@
-LIBOBJS = @LIBOBJS@
-LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
-LIBOIL_LIBS = @LIBOIL_LIBS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-NMEDIT = @NMEDIT@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-PYTHONPATH = @PYTHONPATH@
-RANLIB = @RANLIB@
-RUBYPATH = @RUBYPATH@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-EXTRA_DIST = AUTHORS BUGS COPYING.GPL COPYING.LGPL NEWS TODO ecasoundrc.in ecasound.spec effect_presets generic_oscillators
-SUBDIRS = kvutils libecasound ecasound libecasoundc pyecasound rubyecasound ecatools Documentation examples
-AUTOMAKE_OPTIONS = foreign
-RELEASE = 1
-all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-.SUFFIXES:
-am--refresh:
- @:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
- cd $(srcdir) && $(AUTOMAKE) --foreign \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-
-config.h: stamp-h1
- @if test ! -f $@; then \
- rm -f stamp-h1; \
- $(MAKE) stamp-h1; \
- else :; fi
-
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/config.h.in: $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
- rm -f stamp-h1
- touch $@
-
-distclean-hdr:
- -rm -f config.h stamp-h1
-ecasound.spec: $(top_builddir)/config.status $(srcdir)/ecasound.spec.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive:
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- $(am__remove_distdir)
- mkdir $(distdir)
- $(mkdir_p) $(distdir)/. $(distdir)/libecasound $(distdir)/libecasoundc
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(mkdir_p) "$(distdir)/$$subdir" \
- || exit 1; \
- distdir=`$(am__cd) $(distdir) && pwd`; \
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
- (cd $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$top_distdir" \
- distdir="$$distdir/$$subdir" \
- distdir) \
- || exit 1; \
- fi; \
- done
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$(top_distdir)" distdir="$(distdir)" \
- dist-hook
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
- || chmod -R a+r $(distdir)
-dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-dist-bzip2: distdir
- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
-
-dist-tarZ: distdir
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
-
-dist-shar: distdir
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__remove_distdir)
-
-dist-zip: distdir
- -rm -f $(distdir).zip
- zip -rq $(distdir).zip $(distdir)
- $(am__remove_distdir)
-
-dist dist-all: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration. Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
- *.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- *.shar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- chmod -R a-w $(distdir); chmod a+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
- chmod a-w $(distdir)
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- && cd $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- distuninstallcheck \
- && chmod -R a-w "$$dc_install_base" \
- && ({ \
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
- $(am__remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
-distuninstallcheck:
- @cd $(distuninstallcheck_dir) \
- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- echo " (check DESTDIR support)"; \
- fi ; \
- $(distuninstallcheck_listfiles) ; \
- exit 1; } >&2
-distcleancheck: distclean
- @if test '$(srcdir)' = . ; then \
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- exit 1 ; \
- fi
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left in build directory after distclean:" ; \
- $(distcleancheck_listfiles) ; \
- exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile config.h
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool clean-local mostlyclean-am
-
-distclean: distclean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-hdr \
- distclean-libtool distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-info: info-recursive
-
-info-am:
-
-install-data-am: install-data-local
-
-install-exec-am:
-
-install-info: install-info-recursive
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-info-am uninstall-local
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
- check-am clean clean-generic clean-libtool clean-local \
- clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
- dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
- distclean distclean-generic distclean-hdr distclean-libtool \
- distclean-recursive distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am \
- install-data-local install-exec install-exec-am install-info \
- install-info-am install-man install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic maintainer-clean-recursive \
- mostlyclean mostlyclean-generic mostlyclean-libtool \
- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-info-am uninstall-local
-
-
-docs:
- cd Documentation ; $(MAKE) $(AM_MAKEFLAGS) docs
-
-install-data-local: ecasoundrc
- $(INSTALL) -d $(DESTDIR)$(pkgdatadir)
- $(INSTALL_DATA) $(top_builddir)/ecasoundrc $(DESTDIR)$(pkgdatadir)/ecasoundrc
- $(INSTALL_DATA) $(top_srcdir)/effect_presets $(DESTDIR)$(pkgdatadir)/effect_presets
- $(INSTALL_DATA) $(top_srcdir)/ecatools/ecasound.el $(DESTDIR)$(pkgdatadir)/ecasound.el
- $(INSTALL_DATA) $(top_srcdir)/generic_oscillators $(DESTDIR)$(pkgdatadir)/generic_oscillators
-
-uninstall-local:
- rm -f $(DESTDIR)$(pkgdatadir)/effect_presets \
- $(DESTDIR)$(pkgdatadir)/ecasound.el \
- $(DESTDIR)$(pkgdatadir)/generic_oscillators \
- $(DESTDIR)$(pkgdatadir)/ecasoundrc
- rmdir $(DESTDIR)$(pkgdatadir) || echo "Skipping non-empty directory"
-
-ecasoundrc: ecasoundrc.in Makefile.am
- sed -e "s%[@]VERSION[@]%$(VERSION)%" \
- -e "s%[@]prefix[@]%$(prefix)%" \
- -e "s%[@]pkgdatadir[@]%$(pkgdatadir)%" \
- < $(top_srcdir)/ecasoundrc.in > ecasoundrc
-
-clean-local:
- rm -fv ecasoundrc
-
-dist-hook: docs
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/library/ecasound/NEWS b/library/ecasound/NEWS
deleted file mode 100644
index d011ff822..000000000
--- a/library/ecasound/NEWS
+++ /dev/null
@@ -1,2861 +0,0 @@
------------------------------------------------------------------------
-** Ecasound - User-visible changes (NEWS) **
------------------------------------------------------------------------
-
-About the version numbers... "vX.Y[.Z[.R]][+extraT]" :
-------------------------------------------------------
-
- X = major version - incremented after major redesigns
- Y = minor version - incremented when new features are added
- Z = micro version - incremented if major.minor version is not
- modified (optional)
- R = revision - urgent fixes to planned releases (optional)
-
- extraT - 'beta', 'pre' and 'rc' releases (optional)
-
-Quick overview of various sources of change info
-------------------------------------------------
-
- - NEWS. This file. Lists all user-visible changes, with a brief
- description.
- - Release notes. Describes the most important changes in a bit
- more detail.
- - http://eca.cx/relnotes/
- - Version control history. Describes all changes in implementation.
- - http://ecasound.git.sourceforge.net/git/gitweb.cgi?p=ecasound
- - Library interface changes are documented in ChangeLog files (these
- are distributed along with the source code).
-
-Howto for reading the entries:
-------------------------------
-
- added/removed = a new/removed feature, interfaces, or new
- implementation of some feature
- changed = changed behaviour, modified implementation, APIs, etc
- fixed = fixed bugs, "features" and other sources of problems
-
- [foobar] = tag identifying the author of the change; see
- README for a complete list contributor tags; entries
- with no tags are from the main author(s)
-
-***********************************************************************
-
-19082010 (v2.7.2) -** stable release **-
- - added: manual gate (-gm); see ecasound(1) man page
- - changed: liboil now enabled by default if the library
- development files are available when running
- configure
- - fixed: bug with 'resample' objects and early seeks (e.g.
- with '-y' offsets); reported by Artur
- - fixed: bugs in kvutils that broke some old/non-glibc
- builds (e.g. cygwin); bug reported by Al Oomens
- - fixed: bugs in saving chainsetups with stacked audio
- objects ("audioloop", "select", "playat")
-20022010 (v2.7.1) -** stable release **-
- - note: key changes are described in more detail at:
- http://eca.cx/relnotes/ecasound_v2_7_1_relnotes.txt
- - fixed: glitches in ALSA capture/playback with some sound
- hardware/configurations, and using alsa-lib
- older than 1.0.15; related to deprecated ALSA API
- function snd_pcm_sw_params_set_xfer_align()
- - fixed: bug in removing audio objects when disk double
- buffering is used (-z:db); could cause a segfault
- in some scenarios (e.g. with ecasignalview)
- - fixed: interactive mode; c-selected segfauls if issued
- with no chainsetup selected
- - fixed: build errors when no liblo is available
- - fixed: interactive-mode; cs-setpos, cs-rewind and cs-forward
- did not work if chainsetup was connected, and no
- chains (or an invalid chain) was selected; bug
- reported by Joel Roth
- - fixed: ecalength choked filenames with whitespace; patch
- from FUJI project
- (http://students.mimuw.edu.pl/~tk197881/a8cas/)
-17102009 (v2.7.0) -** stable release **-
- - note: key changes are described in more detail at:
- http://eca.cx/relnotes/ecasound_v2_7_0_relnotes.txt
- - added: new exit code of '4' to ecasound; see entry below
- about signal handling changes and ecasound(1) for
- more details
- - added: -eadb chainop, like -ea/-eac, but gain given in dB;
- documented in ecasound(1)
- - added: -chorder chainop; see ecasound(1)
- - added: optional inner loop optimizations using liboil;
- enable with '--enable-liboil'
- - added: OSC support added, see ecasound(1) and
- Documentation/ecasound_osc_interface.txt; sffeat:2541462
- - added: in ncurses mode, honor COLUMNS environment variable
- - added: configure - added '--with-extra-cppflags' and
- '--with-extra-libs' options
- - added: new 'cop-get' command; see ecasound-iam(1) [alinson]
- - changed: ecasound now defines "-D_XOPEN_SOURCE=500" for
- all builds, expressing that the codebase expects
- the build environment be compatible with the Single
- UNIX Spec v2 (1998); thanks to Jussi Laako for
- reminding about this
- - changed: yet another change to signal handling in ecasound;
- now two level response to signals is supported in
- all stages of process termination -> first starting
- normal cleanup and exit procudere, and with
- second signal terminate immediately; see ecasound(1)
- for the full story (new 'SIGNALS' section)
- - changed: dropped "-funroll-loops" from the set of default
- compiler options
- - changed: comment out many entries in the global installed
- 'ecasoundrc' file (entries are redundant as the same
- defaults are already set in the program binaries)
- - changed: optimized inner loops in core chain routing and
- mixdown functions (with liboil if available)
- - changed: optimized inner loops of -ea, -eadb, -eac, and -epp
- - changed: dropped tracking of 'clipped samples' from -ev as
- the results were of little use (and misleading)
- - changed: '-ev' status output
- - changed: cosmetic changes to the default ncurses trace output;
- reduced number of subsystem-level trace messages
- - changed: the name for default chainsetup created from command
- line is now "untitled-chainsetup"
- - changed: do not automatically connect chainsetups loaded
- with '-s'
- - fixed: mp3 output was broken with lame 3.98 (and newer);
- the default lame parameters have now been updated
- and have been tested with lame 3.96, 3.97 and with
- the latest 3.98.2
- - fixed: bad audio with 'resample' object, non-integer sampling
- rate change ratios and output to JACK; ecasound did
- emit warning about this, but did not raise a fatal
- error; now the underlying problem is fixed and now
- 'resample' and 'jack' objects maybe safely used
- together
- - fixed: minor bug in ecamonitor; "cop-status" was used with
- multiple chains selected
- - fixed: don't use '--ignore-fail-on-non-empty' rmdir option
- as it is not available on many platforms (e.g. OS X)
- and this breaks the uninstall target; sfbug:2772628
- - fixed: bug in ecasound frontend parser for '-E' option that
- broken passing arguments containing the substring
- "-E"; introduced in 2.5.2 release
- - fixed: stale audio was written to JACK output ports in case
- of multiple streams, connected to different JACK ports,
- reaching end-of-stream at different times [jedahu]
-08022009 (v2.6.0) -** stable release **-
- - note: key changes are described in more detail at:
- http://eca.cx/relnotes/ecasound_v2_6_0_relnotes.txt
- - added: new optional params to 'jack' -> 'jack,clientname,portprefix';
- replaces old interfaces 'jack_auto', 'jack_generic'
- and 'jack_alsa'; see ecasound(1) for more details
- - added: interactive mode - new commands 'jack-connect',
- 'jack-disconnect' and 'jack-list-connections'; see
- ecasound-iam(1) for details; closes sffeat:2134183
- - added: 'jack_multi', see ecasound(1); closes sffeat:1415822
- - added: ecasound options '--server', '--server-tcp-port' and
- '--no-server'; these replace the misleading old
- options '--daemon', '--nodaemon' and '--daemon-port',
- which are now deprecated
- - added: extended unit tests to cover option parsing, with
- some initial test cases
- - added: unit test framework - minor improvements including
- abilitity to select which cases to run
- - added: ECI - functions eci_ready() and eci_ready_r() added
- to ecasoundc.h, and ECA_CONTROL_INTERACE::ready()
- to the C++ API
- - changed: deprecated 'jack_auto', 'jack_generic' and
- 'jack_alsa'
- - changed: numbering of JACK ports created with 'jack' and
- 'jack_generic' starts from "_1" separately for
- each prefix [dsacre]
- - changed: deprecated 'ai-wave-edit', 'ao-wave-edit' commands
- and the 'ext-cmd-wave-editor' ecasoundrc field
- - changed: emit a 'subsystem' level trace message when
- engine state changes to finished
- - changed: interactive mode - minor update to 'status' command
- output
- - changed: compile libecasoundc as PIC code to make it possible
- to use it from shared libraries; fixes problems
- with e.g. Audio::Ecasound on amd64 architecture ;
- closes sfbug:2505551
- - changed: ecasound option -f now accepts empty arguments for
- sample format, channel count and sampling rate; empty
- argument states that ecasound can pick a suitable
- value, either the default value or e.g. the JACK
- system sampling rate; updated documentation, see
- ecasound(1)
- - changed: minor update to ecasound's "--help"
- - changed: when reading RIFF WAVE files, properly ignore
- any unknown subchunk types
- - changed: largefile support (+2GiB files) is now enabled
- by default and configure uses's default autoconf
- macro AC_SYS_LARGEFILE to perform the checks;
- to explicitly disable, use '--disable-largefile';
- the old '--with-largefile' no longer has any effect
- - changed: refactored ECI C impl code to get rid of all
- fixed size buffers from the parser; this makes
- the implementation more robust, reduces memory
- usage and provides a small speed-up to most ECI
- apps; closes sfbug:1412409
- - fixed: do not limit max-gain reported by '-ev' to [1,max]
- value range
- - fixed: avoid denormal numbers in '-ete' (leads to unusually
- high CPU load)
- - fixed: 'dump-cop-value' did not work as documented
- - fixed: ECI - signal an error (e.g. eci_error() returns true)
- if connection is lost to engine process (sync lost
- or an other error)
- - fixed: ecasignalview - exit if engine reports an error
- during operation
- - fixed: interactive mode - loop devices saved with incorrect
- syntax, affects cs-save, cs-save-as and cs-edit ; see
- http://eca.cx/ecasound-list/2009/01/0058.html
- - fixed: problems when seeking back to start with setups using
- loop devices; closes sfbug:2527049
- - fixed: segfault if using a tone generator input with a fixed
- lenght, and a seek past the end of stream was performed
- - fixed: aac/ogg/mikmod/mid inputs - once object reached state
- 'finished' (all samples played), it cannot be played
- again by reconnecting the chainsetup
- - fixed: combination of '--server' and '-C' (disable interactive
- mode) had a bug that prevented processing of commands
- received over the server socket while the engine
- was running the batchmode
- - fixed: a nasty bug in 'playat' implementation causing audible
- artifacts ; see
- http://eca.cx/ecasound-list/2009/01/0089.html
- - fixed: sndfile and audiofile backends - emit a warning if
- a seek fails (e.g. when seeking beyond current
- end-of-file for output objects)
- - fixed: various improvements and fixes related to using
- non-seekable audio objects (especially interactive
- use); in most cases this means graceful recovery
- from failed seek attempts, and correct reporting of
- the objects actual current position
- - fixed: error is emitted if trying to use 'select' with
- objects that do not support seeking
- - fixed: bugs with passing 'auto' as the 2nd parameter of
- 'resample'
- - fixed: bug with seeking resampled audio objects
- - fixed: bug in combined use of 'audioloop' and 'resample'
- - fixed: catch and warn about various errors cases when
- given incorrect or missing params to audio
- types: typeselect, resample, reverse, playat,
- audioloop, select
-24082008 (v2.5.2) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_5_2_relnotes.txt
- - fixed: bug in channel routing of LADSPA plugins that have
- more audio output ports than input ports
-21082008 (v2.5.1) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_5_1_relnotes.txt
- - fixed: a last minute change in 2.5.0 that caused build errors
- with gcc-4.3.1 if ALSA support is disabled
- - fixed: a change in 2.5.0 how process cleanup is initiated from
- the signal handler caused severe problems on some
- systems when ecasound was interrupted with e.g.
- ctrl-c/SIGINT; worst case was a crashed X session which
- is of course really, really bad
- - fixed: a bug in registering LADSPA plugins; on some systems
- not all found plugins were registered properly to
- ecasound's object maps causing some plugins to be
- unusable; errors
-16082008 (v2.5.0) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_5_0_relnotes.txt
- - notice: slightly modified the version numbering scheme -
- minor version is incremented whenever non-trivial
- new features are added
- - notice: verified to compile with minimal warnings with
- gcc-4.3.1
- - edi-entries: edi-40 closed (Update to error and warning
- reporting mechanisms), edi-38 closed (see
- edi-7 partially implemented
- - added: ecasound.el: added missing ECI commands cs-option,
- cs-set-length, cs-set-position-samples, ai-get-length,
- ai-set-position, and ai-set-position-samples [dto,
- mlang]
- - added: tone generator input; '-i:tone,sine,440,10.3' will
- create a 440Hz sine tone with duration of 10.3 seconds;
- this input type will be especially useful for reproducing
- bugs in complicated chainsetups, without the need to
- exchange complete session data (which usually are composed
- of large amounts of audio data)
- - added: audio looper object; "-i:audioloop,foo.wav" will play
- 'foo.wav' and loop it indefinitely
- - added: audio selector object; "-i:select,5,15.2,foo.wav" will
- play 15.2sec of "foo.wav", starting at position 5sec;
- relates to (edi-7)
- - added: audio play-at object; "-i:playat,5,foo.wav" will
- start playing "foo.wav" after position reaches 5sec
- - added: EWF files; ability to specify positions in time in
- sample frames; "2.0" is interpreted as 2.0secs while
- "88200sa" is interpreted as 88200 samples
- - added: 'reopen-count' parameter to threshold gate (-ge);
- for instance when recording vinyl/tapes, this allows
- to automatically restart recording when a new track
- is started [andrewl]
- - added: ecasound frontend option '-E "cmds"' that allows
- to run a set of interactive mode commands at
- startup; see ecasound(1) for details; closes (edi-38)
- - added: a notice is printed in case audio object's audio
- format parameters differ from the chainsetup's default
- values (audio object's own params always override
- any value set by e.g. '-f:...').
- - changed: most of the EWF support (Ecasound Wave Files, .ewf)
- has been rewritten in this version; numerous bugs
- are fixed
- - changed: eaim - commands 'cop-add' and 'ctrl-add' now allow
- an alternate syntax: both "-:par1,...,parN"
- and ":par1,...,parN" are now accepted
- - changed: ability to write to EWF file is now marked as
- a deprecated feature which will be removed in
- a later release
- - changed: mechanism to terminate forked child processes;
- properly wait for process termination in all
- circumstances (previously there were some
- unhandled corner cases)
- - changed: major updates to the examples.html page (available
- also at http://eca.cx/examples )
- - changed: refactored logic for propagating seek events
- across chainsetups; warnings are now issued if
- one tries to seek objects that do not supports
- seeking; similarly warning is issued if a given
- audio object type doesn't support sample accurate
- seeks (for example mp3 inputs have this limitation)
- - changed: updated ecasound(1) man page description of '-klg'
- - changed: separate global (-d, -R, ...) and ecasound frontend
- specific (-c, --daemon, -s, ...) options in
- ecasound(1) man page
- - changed: changes to "cs-status" (aka "status", "st")
- output formatting; now more information about
- selected and connected setups is printed out
- - changed: minor changes to the information printed out when
- open audio input/outputs
- - changed: pipes, sockets and device nodes in LADSPA plugin
- directories are skipped (previously hidden files
- were already skipped)
- - changed: loop device identifier was changed from an integer
- to a generic string; both "-i:loop,1" and
- "-i:loop,myloop" are now valid
- - fixed: incorrect usage of the Python C API, which leads to
- segfaults when pyecasound is used under python2.5;
- fixes Debian bug #468965
- - fixed: bugs in ewf-looping code
- - fixed: avoid terminating processing when invalid parameters are
- passed to channel copy (chcopy/erc), mix (chmix/erm) and
- move (chmove) chainops
- - fixed: eaim - buffering mode was sometimes incorrectly
- reported in 'cs-status' output (-B:auto instead of
- the actual set buffering mode) output; bug reported by
- Jan Weil
- - fixed: compilation warnings from GCC-4.3; fixes Debian bug
- #454890, patch from Cyril Brulebois
- - fixed: bug in passing multiple arguments to 'typeselect',
- 'resample', and 'resample' objects
- - fixed: with some glibc versions (tested with 2.3.6.ds1-13etch5),
- ecasound did not fully clean up all threads when
- it received a signal and terminated; the bug showed
- up as a stuck thread, with backtrace pointing to
- pthread_onexit_process()
- - fixed: compilation issue on Mac OS X 10.5 [grobian]
- - fixed: bug in saving control state with 'cs-save' or
- 'cs-save-as'; triggered if controller was followed
- by more chainops on the same chain
- - fixed: bugs with preserving state across seeks with
- many controller objects (-kl, -kl2 and -kos)
- - fixed: a bug in ecasound user's guide w.r.t. usage of
- loop devices
- - fixed: sloppy parsing of "-i:loop" and "-o:loop" arguments
- leading to confusing error messages when invalid input/output
- objects, containing the substring "loop" were passed
- as arguments to "-i" and "-o"
-14082007 (v2.4.6.1) -** stable release **-
- - fixed: extra debugging, printed to stderr, for resource file
- values was accidentally left enabled in the 2.4.6 release
-14082007 (v2.4.6) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_6_relnotes.txt
- - added: new option '-R:path-to-resource-file' to use a custom
- resource file and disable querying of global and user
- resource files; as a special case, by setting this
- to '/dev/null', one disable all access to resource
- files; requested by Klaus Schulz and Keith Creasy
- - added: eiam - new command 'resource-file'; see ecasoundrc(5)
- man page; related to previous item
- - changed: license of rubyecasound, the Ruby ECI API
- implementation, has been changed from GPL to LGPL
- - fixed: build errors caused by missing #includes, reported
- by GCC 4.3; bug report from Debian, bug #417178
- - fixed: rounding errors with small buffersizes caused time crop
- gate (-gc) to function incorrectly; reported by Joe
- Planisky
- - fixed: force localization of decimal numbers to "POSIX" (i.e.
- use period as the separator) to avoid bugs with
- e.g. LADSPA plugins that call setlocale and break
- the ecasound option parser; for instance all swh-plugins
- call setlocale; reported by Rémi Rouaud
- - fixed: printing chain operator (e.g. the '-ev' operator) status
- at end of sessions was broken in 2.4.5; reported by
- Julien Claassen
- - fixed: bugs that led to infinitely running chainsetups when
- loop input/outputs were used; reported by Aaron Heller
- and Etienne Deleflie
- - fixed: incorrect page numbers in table of contents of
- the Ecasound Programmer's and User's Guides; patch
- from Junichi Uekawa
- - fixed: segfault when removing a chain operator with multiple
- associated controllers; reported by Adam Linson
-07122006 (v2.4.5) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_5_relnotes.txt
- - added: ability to compile without a readline library (will
- disable the curses based console user-interface)
- - added: if libsndfile is found and supports flac (sndfile
- 1.0.12 or newer), it will be used as the default
- handler for flac files; use of sndfile makes random
- access for flac files possible (for example seeking
- in interactive mode)
- - added: section on 'RETURN VALUES' to ecasound(1) man page
- - added: ecasound-iam(1) - added documentation for error
- return values for 'run', 'start' and 'cs-connect'
- - added: ECASOUND_LOGFILE and ECASOUND_LOGLEVEL environment
- variables; see ecasound(1) for documentation
- - added: more detailed description of debug levels that
- can be set with 'd' to ecasound(1) manpage
- - added: examples section to ecasound(1), which points to
- the examples page at eca.cx/ecasound
- - added: new chain operators '-chmove' and '-chmute'
- - added: new aliases for chain operators: '-chmix' for '-erm',
- and '-chcopy' for '-erc'
- - added: ability to protect EOS arguments, like filenames, with
- double quotes, closes bug #1456510; see also the related
- BUGS entry about handling commas in filenames, and
- updated documentation in ecasound(1), ecasond-iam(1)
- and the User's Guide
- - removed: readline-4.0 subdir from the dist package; system
- readline library is now the only build option
- - changed: ecasoundrc - added "-f" to the default flac
- output exec command (although now libsndfile's
- flac support is the default)
- - changed: improved libsndfile integration, any libsndfile
- supported file format can be used as output for
- 'sndfile,foo.ext' (format selected based on filename
- extension)
- - changed: eiam - default int-log-history length set to zero
- - changed: updated config.guess and config.sub to more recent
- versions (timestamp 2006-07-02)
- - changed: updated the documentation for 'ai-select/ao-select',
- it is no longer required that input/outputs have
- a unique name within one chainsetup; problem reported
- by Kurt Konolige
- - changed: replaced the ECI C implementation's (libecasoundc)
- engine cleanup mechanism with a much more robust one
- - changed: the engine will now refuse to start if a start offset
- is given with '-y:secs' for an object not supporting
- seeking; this has been a very common source of
- end-user confusion
- - fixed: segfault when removing loop devices with a[io]-remove,
- reported by Pedro Antonio Fructuoso Merino
- - fixed: incorrect headers in created flac files (not related
- to sndfile/flac); fix can possibly affect other file
- formats handled by external apps (aac, midi, mikmod,
- mp3 and ogg files), problem reported by Florian Ladstaedter
- - fixed: errors during batch processing (running out of file
- space, etc) were not reported as a non-zero process
- return value, problem reported by Zrajm Akfohg
- - fixed: possible segfaults with ctrl-select, ctrlp-select
- and ctrlp-value [allies]
- - fixed: loop devices were not correctly saved with cs-save
- and cs-save-as [allies]
- - fixed: bug in handling big-ending 24/32bit samples [aheller]
- - fixed: ecasignalview build errors on cygwin [hawk777]
- - fixed: segfault when parsing "\" in interactive mode, reported
- by Koen [pfructuoso]
- - fixed: a subtle race-condition in the cleanup routines leading
- to segfaults when breaking a batch run with ctrl-c
- - fixed: bug causing audible glitching when seeking with
- chainsetups containing loop devices [pfructuoso]
- - fixed: "rw 0" caused the engine to skip ahead multiple
- seconds (reported by Kurt Konolige)
- - fixed: segfaults from invalid params to -f option, for
- example "-f:16" or "-f:16,2", reported by peppo on
- #lad at freenode.org
- - fixed: a severe string termination bug in libecasoundc
- that led to garbled output from ECI commands
- returning lists of strings, reported by Brad Bowman,
- Joel Roth and Stuart Allie
-27012006 (v2.4.4) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_4_relnotes.txt
- - added: eiam - ai-describe, ao-describe, cop-describe and
- ctrl-describe commands; see ecasound-iam(1)
- - added: ecasignalview - ability to pass ecasound options
- -G, -B, -M*, -r and -z
- - added: BUGS file - added 'Reporting bugs' section
- - added: updated RPM spec-file for x86_64 support [grabner]
- - changed: minor changes to ecaplay console output
- - changed: ECI C impl. - increased the time engine has
- for processing ECI commands; fixes problems
- with the 'cs-disconnect' command with complex
- setups involving connections to external
- resources such as jackd
- - changed: error is raised if one tries to add chainops or
- controllers when multiple (or zero) chains are
- selected
- - changed: increased size of buffers used by the ECI-C
- parser (sfbug:1412409) [allies]
- - changed: it's now possible to set initial values for
- operator parameters controlled by MIDI-CCs
- - fixed: compile-time bug in ecasignalview.cpp
- - fixed: saving chainsetups in cases where a ctrl is
- connected to a effect preset
- - fixed: DBC_CHECK failure from eca-chainsetup.cpp when
- running cs-edit on a non-connected chainsetup
- - fixed: bug in seeking mp3 files
- - fixed: eiam - 'c-select' caused a segfault if no chainsetup
- was selected
- - fixed: -etf:0 caused a segfault
- - fixed: severe bug in mixdown code - in cases where an input
- is connected to multiple chains, and one or more inputs
- have reached end of stream, the resulting mix is not
- handled properly
- - fixed: bug in freeing references to buffers in effect preset
- code; triggered by externally terminating an ecasound
- session containing preset objects (sfbug:1412200)
- - fixed: ECI-C memory access errors reported by valgrind
- - fixed: allow commas in ecasignalview input/output params;
- makes it again possible to specify ALSA devices, etc
-21082005 (v2.4.3) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_3_relnotes.txt
- - added: support for ALSA sequencer support; see ecasound(1)
- and examples.html [pedrolc]
- - added: runtime warning about possible problems when mixing
- resample and jack objects
- - changed: scheduling changes for MIDI and disk i/o subsystems;
- possibly affects performance in certain use-scenarios;
- fixes debian bug #317900
- - changed: updated config.guess and config.sub to more recent
- versions (timestamp 2005-04-22)
- - fixed: failed runtime check from eca-fileio-stream.cpp:159
- - fixed: eiam - ao-remove'ing JACK input/outputs caused a segfault
- - fixed: --disable-jack/--enable-jack did not work
- - fixed: system-hangs when run in realtime mode and using a large
- disk i/o double-buffer (-z:db)
- - fixed: ewf-debugging output was left enabled in 2.4.2 release
- - fixed: bug in detecting finished-state with .ewf files when
- used with -z:db mode enabled -> caused flood of underrun
- warnings with multi .ewf file sessions
- - fixed: externally terminating, e.g. via JACK transport system,
- a batch chainsetup would cause a segfault
-07082005 (v2.4.2) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_2_relnotes.txt
- - note: verified to compile ok with gcc-4.0.0 and gcc-4.0.1 [kaiv]
- - added: eiam - ctrlp-list, ctrlp-selected, ctrlp-get, ctrlp-select
- and ctrlp-set commands; the last two are RT-commands;
- see ecasound-iam(1) for more info [allies]
- - added: ecasignalview - ability to reset stats with 'spacebar'
- and quit with 'q/Q/Esc'; separate logarithmic mode (enable
- with -L, see also -I which is still the default);
- display of per-channel average amplitude; see
- ecasignalview(1) man page for details [jeffrey]
- - added: ecatrimsilence.sh to examples subdir [kaiv]
- - added: --keep-running (or -K) option to ecasound, do not exit
- from batch mode when processing is finished/stopped;
- especially useful when used in combination with JACK
- inputs/outputs [kaiv]
- - changed: various small updates to User's Guide [kaiv]
- - changed: ecasound user-visible copyright string changed [kaiv]
- - changed: minor changes to ecasignalview user-interface
- [jeffrey,kaiv]
- - changed: --daemon-mode does not anymore require running in
- interactive mode [kaiv]
- - fixed: using ecasound.spec with recent versions of rpm
- results in a "%package debuginfo" error [kaiv]
- - fixed: problems in saving ewf objects with cs-save,
- cs-save-as and cs-edit [kaiv]
- - fixed: controllers were always added to the last
- chainop, not to the selected chain operator [allies]
- - fixed: --enable-jack and --disable-jack both disabled JACK
- support [kaiv]
- - fixed: serious bug in the "reverse" audio objects, caused
- audible noise in the reversed signal [kaiv]
- - fixed: segfaults at exit when LADSPA plugins had been used;
- the error did not happen every time and with every type
- of plugin; problem was a race between atexit handlers
- of ecasound, and the dynamically loaded plugins [kaiv]
- - fixed: ecasignalview - do not send or receive transport
- events [kaiv]
- - fixed: ecasound daemon mode, correctly print hostnames without
- resolvable hostname
-08042005 (v2.4.1) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_1_relnotes.txt
- - note: verified to work with automake versions 1.6 and 1.9;
- automake 1.5 and older, as well as autoconf versions
- older than 2.50, are no longer supported; these
- changes only affect users of Ecasound CVS checkouts
- - added: ecaplay - better error reporting, feature to reset
- output device audio parameters for each new input
- file, support for ECAPLAY_OUTPUT_DEVICE environment
- variable; see ecatools(1) for more info
- - added: playlist mode to ecaplay (new -q, and -p options;
- see ecaplay(1) for more info)
- - added: "Supported automake/autoconf features" section to
- the INSTALL file
- - added: new presets to the default effect_presets file
- - added: support for describing full range of preset parameter
- flags with -ppt (see effect_presets file and the
- relevant sections in User's Guide)
- - added: new sections on preset parameters to User's Guide
- - added: allow reseting ecasignalview max-peak and clipped-samples
- counters by sending a SIGHUP to the process
- - changed: moved definitions from acconfig.h to configure.in;
- gets rid of the AC_DEFINE warnings produced by
- recent versions of autoheader
- - changed: Ecasound Programmer's Guide converted from LaTeX
- to ascii/rst
- - changed: sed is used to generate ecasoundrc at make; allows to
- specify a custom pkgdatadir when running make [junichi]
- - changed: various small improvements to all ecatools and
- the related manpages
- - changed: updated config.guess and config.sub to more recent
- versions (timestamp 2005-03-24)
- - changed: various updates to the README file
- - fixed: sources for the aRts plugin were not present in the
- 2.4.0 release package
- - fixed: mp3-header parsing code has been partly rewritten;
- the new parser is designed to better handle garbage
- and unknown frame types in mp3 files [juliand,kaiv]
- - fixed: compile errors with egcs-2.91.66
- - fixed: current position of the time crop gate (-gc) was
- incorrecly increased [alexey]
- - fixed: compilation failed if building outside srcdir
- - fixed: ECI C impl. did not properly release all file handles
- in eci_cleanup(); for example playing thousands of
- files with ecaplay would cause the system to run
- out of file descriptors (too many open files error)
- - fixed: bug in handling LADSPA plugins with colon chars in
- their port descriptions (such as the SC1-4
- compressors)
- - fixed: do not print "Session created" even if -q option has
- been given (quiet output mode)
-12032005 (v2.4.0) -** stable release **-
- - more verbose description of change available at:
- http://eca.cx/relnotes/ecasound_v2_4_0_relnotes.txt
- - edi-entries: edi-40 progress
- - added: support for having commas in arguments by escaping
- them with a backslash (example: "ai-add foo\,bar.wav")
- - added: pretty-printing of ecasound output; wrap output so
- so that all lines fit into 74 columns; does not affect
- wellformed output mode nor stderr output (-D)
- - added: new section about handling commas in filenames to
- Ecasound User's Guide
- - added: eiam - new 'int-log-history' command to query
- recent log messages sent by libecasound; this is a very
- useful tool for debugging ECI scripts and apps
- - added: eiam - new 'int-set-log-history-length' command to set
- log history length; default to 5 items
- - added: resample-lq (low-quality) audio object to force using
- the internal resampler even though support for
- libsamplerate is enabled at build time
- - added: support for sum-mixmode; enabled with -z:mixmode,sum;
- the old average mixing is still the default; see
- ecasound(1)
- - added: ecasoundrc - 'mix-mode' setting; see ecasoundrc(5)
- - changed: more helpful messages to explain why a chainsetup
- cannot be connected to the engine
- - changed: EIAM - when returning a list of strings, all commas
- in list elements are now escaped with backslashes;
- this is done to avoid ambiguity in parsing
- - changed: new default debug level of 271
- - changed: new optimized message queue implementation used in
- communication between the engine and the interface
- subsystems; solves a few remaining corner cases
- where ecasound could block in real-time critical
- code-paths
- - changed: better error message if unable to load LADSPA plugin
- with -el/-eli
- - changed: removed hard upper-limit for -ei scale-factor,
- modified both the upper and lower soft limits
- - changed: updated config.guess and config.sub to more recent
- versions
- - fixed: correctly interpret EIAM command arguments containing
- whitespace (example: "ai-add foo bar.wav")
- - fixed: denormal problems in filter and delay operators
- - fixex: setting radius params of -etc comb filter
- - fixed: make check target failed in readline-4.0 subdir
- - fixed: avoid segfault when receiving a bufsize or srate
- change event from JACK; ecasound still cannot change
- bufsize or srate on the fly, but at least it now fails
- gracefully
- - fixed: always pass filename (%f) as one parameter to the
- external apps; fixes bug present in 2.3.4 and 2.3.5
- releases which broke handling spaces in filenames;
- affected all file formats handled via external tools
- (ogg/mp3/flac/m4a/...); also a separate bug in handling
- spaces in ogg output filenames was fixed
- - fixed: occasional bugs with rubyecasound in handling the
- EIAM 'quit' command; this also fixes the errors in
- running 'make check' in ecasound/rubyecasound
- - fixed: serious bugs in resampling between 96000 and 44100/48000
- rates when using libsamplerate; upgraded Ecasound to use
- the libsamplerate 'full API'
- - fixed: options "-b:", "-b" and "-b:0" caused a segfault
- - fixed: aac/m4a encoder was not stopped properly after
- processing was finished
-12112004 (v2.3.5) -** stable release **-
- - note: main website address has changed to www.eca.cx/ecasound
- - changed: collected all email addresses from source files to
- the AUTHORS file and added some antispam measures
- - changed: do not raise an error when opening an OSS device that
- does not support SNDCTL_DSP_GETBLKSIZE
- - changed: updated all the html-docs to match the new website
- style
- - fixed: default to native-python ECI implementation on MacOSX
- - fixed: link against coreaudio libs if JACK enabled on MacOSX
- - fixed: ecasignalview build error if compiling without
- ncurses [mb]
- - fixed: bug in ecasound/rubyecasound 'make check' target
-27102004 (v2.3.4) -** stable release **-
- - edi-entries: edi-14 and edi-32 closed, edi-40 added
- - note: verified to compile ok on MacOS X 10.3.2 [smbolton]
- - note: verified to compile ok with gcc-3.4.1
- - added: basic FLAC input/output support using flac utils;
- new flac specific options to ecasoundrc
- - added: basic AAC/M4A/MP4 input/output support faac/faad
- utils; new options to ecasoundrc
- - added: optional 3rd parameter to 'sndfile' for specifying
- audio file format (see ecasound(1)) [jesse]
- - added: documentation on adding new EIAM commands to the
- programmer's guide
- - added: eaim - new 'int-set-float-to-string-precision' command
- - changed: set srate for mp3 input based on mp3 header
- - changed: increased precision of floating point return values
- in the C ECI implementation
- - fixed: multitrack offset was calculated incorrectly for
- ALSA devices which limit buffer period count to 2
- - fixed: bugs in .wav, .cdr, JACK code, and in internal sample
- conversion routines that occur on big-endian
- machines [smbolton]
- - fixed: ogg input failed if requested sample-format had non-native
- endianess; new default-cmd for ogg-input, see
- ecasoundrc(5)
- - fixed: build failed on MacOSX/freebsd because of undefined
- mlockall and related defines
- - fixed: errors in ecasound(1) man page and the examples.html;
- adding chain operators to multiple chains at once
- is not supported anymore
- - fixed: engine state not fully updated after a 'run'
- command has completed; caused commands such as
- 'cs-set-position' to fail when used after 'run'
- - fixed: ecasound sample formats s24_le/_be were mapped
- to 4-byte ALSA formats S24_LE/_BE; now mapped
- to the correct 3-byte S24_3LE/_3BE formats
- - fixed: bug in C ECI impl that caused sync-loss errors between
- ECI clients and the engine [jesse]
- - fixed: ECI session corruption after processing 'long int'
- return values [jesse]
-05052004 (v2.3.3) -** stable release **-
- - note: verified to compile ok with gcc-3.4
- - added: eiam - 'map-ladspa-id-list' command
- - added: special-case value of '-1' to 'cs-set-length' or
- '-t:xxx' will set the chainsetup length according
- to the longest input object
- - added: ECI guide - a new section on ecasound.el [mlang]
- - added: ecasoundrc - a new special-case value 'autodetect' to
- the 'default-output' setting; 'autodetect' is also
- the new default ecasoundrc value; see ecasoundrc(5)
- for details
- - changed: lots of typo fixes and other corrections to
- the user's guide [ericdr]
- - changed: minor configure.in cleanup relating to handling
- CFLAGS, CXXFLAGS and LDFLAGS
- - fixed: building against libsndfile-1.0.4 and older; if
- libsndfile older than 1.0.0 is detected, sndfile
- support is disabled altogether
- - fixed: bug in ECI C impl that could cause segfaults [mewe]
- - fixed: signal handling bugs in ecasignalview and ECI C
- impl [mewe]
- - fixed: bug in ecasound(1) caused man to not show the
- last three pages
- - fixed: bug in the daemon-mode (NetECI) protocol parser
- that caused parsing long (over 32 chars) commands
- to fail
- - fixed: 'libecasound-config --libs' did not list all
- external libraries used
- - fixed: assign default param-names to effect presets
- - fixed: preset parameters were not saved by 'cs-save' and
- 'cs-save-as'
-06122003 (v2.3.2) -** stable release **-
- - edi-entries: edi-33 closed
- - added: support for libsndfile; enabled if libsndfile is
- detected succesfully by configure; can be disabled
- with --disable-sndfile
- - added: added new audio input/output types 'audiofile',
- 'sndfile' and 'mikmod'; see ecasound(1) for more
- details
- - added: pyecasound/test2_stresstest.py new test case
- - added: initial Ruby ECI impl added; see rubyecasound/README
- for details [janweil]
- - added: --enable-rubyecasound configure option; defaults to
- yes if ruby interpreter found on the system
- - added: resampling examples to Documentation/examples.html
- - changed: increased default buffer sizes for 'rtnull' objects
- to avoid too many xrun warnings; warnings are also
- no longer printed to stderr - instead a summary
- is printed at the end of the session if any xruns
- have occured
- - changed: Ecasound PDF docs (user's, programmer's and ECI
- guides) are now generated using AE fonts; the PDFs
- can now be read with readers like xpdf and
- probably look better in others [janweil]
- - fixed: pyecasound/test1_stresstest.py was not included in
- the dist package
- - fixed: libaudiofile - input file audio parameters
- parsed incorrectly
- - fixed: -x option - truncate outputs - was not working
- - fixed: preset.h and other related headers were not installed
- during install-data phase
- - fixed: pyecasound - the critical native python bugs found
- in earlier releases are now fixed
- - fixed: ecasoundc - serious memory leak in handling string
- list return types
- - fixed: typo in libecasoundc-config usage [koraq]
- - fixed: bugs with resample that caused audible artifacts
- with certain srcrate-dstrate combinations
-19112003 (v2.3.1) -** stable release **-
- - added: --disable-effects configure option; build ecasound
- without effect and controller components
- - changed: libtool is setup to only create object files for
- static linkage; you can revert to the old behaviour
- with the --enable-shared configure option
- - changed: ecasound.el updated to 0.8.3, lots of small
- changes, see ecasound.el for details [mlang]
- - changed: pyecasound - due to bugs found in the native python
- impl, the C ECI impl is again set as the default;
- can be overridden using --enable-pyecasound=IMPL
- - changed: pyecasound - the native python impl (ecacontrol.py)
- now returns an error if communication with the
- ecasound process times out
- - changed: html versions of programmer's, user's and ECI
- developer's guide are generated with Hevea instead
- of latex2html [juekawa]
- - changed: updated config.guess and config.sub to more recent
- versions
- - fixed: makefile errors when building against system libreadline
- - fixed: processing did not start in the default transport mode
- with JACK versions 0.80 and older
- - fixed: recording failed with a WinTv 401dbx and the btaudio
- OSS driver
- - fixed: compilation against alsa-lib-1.0.x
- - fixed: default ratio value incorrectly set for -eca; does
- not affect presets using -eca [remon]
-29082003 (v2.3.0) -** stable release **-
- - edi-entries: edi-4, edi-19 and edi-35 frozen, edi-38 added
- and frozen immediately, edi-39 added; frozen is
- a new status for items that probably won't be
- ever implemented
- - note: verified to compile ok with gcc-3.3
- - note: verified to work with python-2.3
- - added: eaim - command 'engine-launch' to inialize engine
- without starting actual processing, and 'engine-halt'
- for halting it without disconnecting; useful with
- JACK transport functions
- - added: separate AUTHORS file; also added to the website
- - added: -d, -dd and -d command-line options, see ecasound(1)
- - added: recording offset parameter -z:multitrack,offset option
- - changed: to avoid resampling faults, upper limit of 2000%
- set for pitchshifter's (-ei) shift-% arg; note! high
- values of shift-% can still cause crashes if using
- libsamplerate
- - changed: if available, use pthread API for setting scheduler
- params; might improve real-time reliability on
- rh9.0 machines and others that have NPTL
- - changed: pyecasound - redefined configure option
- --enable-pyecasound=IMPL where 'IMPL' is either
- 'c' or 'python'; --disable-pyecasound disables
- them both
- - changed: pyecasound - if ecasound's build prefix does not
- match the python prefix, /usr or /usr/local,
- pyecasound will be disabled; you can override
- this by specifying the python module directory
- explicitly with the --with-python-modules=DIR
- option
- - changed: JACK transport support code to the new API
- introduced in 0.76.1 and newer
- - changed: ecasound.spec; added 'AUTHORS'
- - changed: JACK transport modes redefined; new modes are
- 'notransport', 'send', 'recv' and 'sendrecv'
- - changed: major updates to README file
- - changed: improved check for aRts; now verifies that linking
- against libartcs actually works before enabling
- the arts plugin
- - fixed: use of the JACK transport API was never actually
- enabled in 2.2.3
- - fixed: .aiff/.snd/.au input/output was not working at all
- due to a typo in source code
- - fixed: a chain with a short input file could cause a nasty
- feedback loop if processed with certain effects
- and mixed with audio from other chains
- - fixed: ewf length and offset errors with sample rates
- different from default (usually 44.1kHz)
- - fixed: chainsetup samplerate incorrectly set with some
- configurations; caused problems with -t:xxx and
- other functions related to chainsetup level position
- and length
- - fixed: serious bug in mixing down multiple chains with
- different number of channels to one output; audio
- from previous mixdown rounds leaked to unused
- source channels
- - fixed: some chainsetup parsing errors were totally ignored
- and not reported to the user
- - fixed: eiam - output of map-* commands was broken in
- certain locales (for example "fi_FI")
- - fixed: without at least one '-Md' or one '-km' option
- specified, MIDI-services did not work
- - fixed: pulse gate timing inaccuracy (-eemp); also affected
- the bpm pulse gate (-eemb) and thus the metronome
- preset (-pn:metronome)
- - fixed: a 'setpos' on a not yet connected chainsetup would
- cause seeks to the wrong position for objects with
- non-default samplerates
- - fixed: pay regard to -z:multitrack and -z:nomultitrack when
- saving chainsetups to .ecs files
-27042003 (v2.2.3) -** stable release **-
- - added: support for both -0.64 and 0.65- JACK versions;
- transport functionality is only enabled with the
- newer versions
- - added: automatic query of child object sample rate by
- giving 'auto' as 2nd arg to resample object
- - changed: by default python version of ECI is used; the C
- python module for ECI, pyecasound, is only compiled
- if --enable-pyecasound is specified
- - changed: jack_auto,dstclient input/output object now
- automatically connects to matching ports of JACK
- dstclient (no longer requires dstclient to have
- in_X/out_X port names)
- - fixed: yet another fix for creating temporary files in
- ecanormalize and ecafixdc; now both LOGNAME and USER
- are checked for a valid user name
- - fixed: prefer usleep over nanosleep on cygwin; avoids
- the excessive-cpu-usage problem
- - fixed: work-around for a bug in the pcm plugin of ALSA 0.9.1
- and earlier that caused recording/playback to
- stop to an audio i/o error
- - fixed: inconsistencies in how configure --disable/enable-feat
- options were handled
- - fixed: if pyecasound was disabled at build time, make
- install target failed in ecasound/pyecasound
-18032003 (v2.2.2) -** stable release **-
- - edi-entries: edi-35 and edi-36 added
- - added: ecacontrol.py - a native python implementation of
- the ECI API [jhalttun]
- - added: stream ogg/mp3/mid directly from network if the
- filename has a url-prefix
- - added: author name to the description of LADSPA plugins
- - added: latest config.guess and config.sub added to
- the dist package
- - added: ecamonitor - a warning is printed if you try to
- run with python-1.x; python-2.x is required
- - added: new tutorials page added to documentation;
- see Documentation/index.html
- - changed: ecasound.el updated to 0.8.2, lots of small
- changes, see ecasound.el for details [mlang]
- - changed: alsa-0.9 - better support for pcm devices such as
- dmix which have strict period size constraints
- - fixed: libecasound sample conversion unit test failed when
- compiled with gcc-2.91.66 on certain platforms
- - fixed: compile failed on systems that don't have nanosleep()
- - fixed: subtle bug in -kl and -kl2 (and possibly others)
- with fade lengths under 1s
- - fixed: alsa-0.9 - prevent ecasound from prefilling too
- much data to output devices
- - fixed: a ':' in LADSPA plugins parameter name confused
- ecasound (swh's sc4 is one example)
- - fixed: theoretical problem with ecalength argument
- parsing
- - fixed: use LOGNAME instead of USER for creating temporary
- files for ecanormalize and ecafixdc
- - fixed: -tl has been broken since 2.2.0-pre5
- - fixed: copp-list dumped core if no cop was selected
-15022003 (v2.2.1) -** stable release **-
- - added: sane default param hints for chainops: -ec, -etd,
- -ete, -etf, -etl, -etm, -etp, -etr and -epp
- - added: if configured with JACK-support, ecasound will
- fetch the correct bufsize and srate parameters from
- the JACK server when connecting a chainsetup with
- JACK inputs or outputs
- - added: support for Erik de Castro Lopo's libsamplerate
- resampling library; used both by the resample
- audio i/o object and the pitch shifter chainop (-ei);
- enable with --with-libsamplerate
- - added: --disable-libsamplerate; don't enable libsamplerate
- support even if the library is found during configure
- - added: resample-hq audio object type; like resample, but
- use the highest available resampling quality;
- currently only has an effect if libsamplerate
- support is enabled
- - added: alternative UNIX signal handling for platforms that
- don't provide sigwait() (cygwin is one)
- - changed: ecasoundrc - ladspa-plugin-directory can contain
- multiple directories, separated by colons; this
- change was done to avoid any confusion with
- the LADSPA_PATH syntax and ecasoundrc
- - changed: rewritten much of the JACK slave-mode code; enables
- much faster and reliable transport-sync
- - fixed: compiling pyecasound failed on alpha w/ gcc-3.2
- - fixed: -t:xxx option did not work if chainsetup samplerate
- differed from the default; for instance rate change
- from 44100 to 22050 doubled the run length
- - fixed: make uninstall in kvutils failed if non-identified
- files from old releases were detected
- - fixed: excessive dbc warnings when using the jack plugin
- - fixed: core dump if -eac:x,y was given an invalid channel
- index
- - fixed: compile failed if JACK support was enabled, but no
- explicit --with-jack option was given
- - fixed: rounding errors fixed in the resample object
- - fixed: terminal was not properly resetted after a ctrl-c
- in interactive mode
- - fixed: handle /dev/dsp drivers that don't support
- DSP_GETCAPS (cygwin is one)
- - fixed: don't link with rpath if target prefix is /usr [juekawa]
- - fixed: -kl2 didn't work at all in some circumstances
-09012003 (v2.2.0) -** stable release **-
- - edi-entries: edi-1 closed
- - changed: ecasound.el updated to version 0.8.1 [mlang]
- - changed: more user-friednly errormsg when trying to open
- a nonexistent ogg/mid/mod file
- - changed: eiam - all instances of 'c-mute' in code and docs
- changed to 'c-muting', although now officially
- deprecated, 'c-mute' will continue to work as
- an alias to 'c-muting'
- - fixed: edi-1 - crackle at start of processing with -ete
- removed [hgfischer]
- - fixed: various small fixes to remove uncalled for
- dbc warnings
- - fixed: -b:0 caused a segfault
- - fixed: compile error with gcc-2.95.4 concerning eca-curses.cpp
- and the 'erase' symbol
- - fixed: compile error with freebsd-4.7 concerning
- eca-chainsetup.cpp/eca-fileio-stream.cpp and
- the header file 'sys/mman.h'
- - fixed: resample audio object set the child srate incorrectly
- for mp3 and headerless audio files
-28112002 (v2.2.0-rc1)
- - edi-entries: edi-35 added
- - fixed: more curses fixes
- - fixed: ecaplay - -k and ctrl-c cleanup bugs
- - fixed: ecaplay - accept filenames containing whitespace
- - fixed: ecafixdc - don't process files that have zero
- dc-offset
- - fixed: compilation fixes for solaris+gcc combo
- - fixed: -y option was not working; broken since 2.2.0-pre1
- - fixed: seg.faults when finishing processing a setup with
- -t:x defined, -z:db, no rt-inputs and one or more
- rt-outputs
- - fixed: restarting processing from a new position after
- processing had reached the finished state
- - fixed: banner was printed to stdout even in quiet mode
- - fixed: -etc (chorus), -etp (phaser) and -etl (flanger)
- broken by edi-21 work
-07112002 (v2.2.0-pre5)
- - edi-entries: edi-29 closed
- - added: ecasound emacs interface, ecasound.el, is now
- distributed with ecasound (ecatools/ecasound.el);
- ecasound.el is installed to ecasound's data
- directory (default /usr/local/share/ecasound)
- - added: libkvutils_tester, unit tester for libkvutils
- - added: ecamonitor - 'q' to quit
- - added: --nodaemon and --daemon-port=XXX ecasound options
- - added: documentation about the daemon functionality
- to ecasound(1)
- - added: ecamonitor.1 man page
- - added: NetECI documentation to programmer's guide
- - changed: rpm spec file unified with the spec file used
- to build PlanetCCRMA's ecasound packages
- - changed: pyecasound license from GPL to LGPL
- - changed: the C++ ECI implementation, the
- ECA_CONTROL_INTERFACE class, moved from libecasound
- to libecasoundc; now also under LGPL
- - changed: asm/atomic.h kernel header no longer used
- - changed: ecaplay - improved ctrl-c handling
- - fixed: cleanup of curses/ncurses detection in configure.in;
- this also fixes ecasound compilation on mandrake9.x
- systems
- - fixed: controller source positions were not always updated
- when global chainsetup position was changed
- - fixed: controllers weren't properly initialized before use;
- this bug caused real harm only to -klg objects;
- only the first defined -klg worked as expected
- - fixed: increased the max message size in ECI-standalone;
- ecasetupedit-0.2.3 caused the parsing buffers to
- overflow
-31102002 (v2.2.0-pre4)
- - edi-entries: edi-27, edi-28, edi-29, edi-30
- - added: eiam - commands 'map-cop-list', 'map-ctrl-list',
- 'map-ladspa-list' and 'map-preset-list'; see
- ecasound-iam(1) man page for details
- - added: eiam - 'ao-add-default' command
- - added: ecicpp_tester, a unit test program for C++ ECI
- - changed: libecasoundc now LGPL licensed
- - changed: edi-30 done; ecaplay, ecaconvert, ecafixdc and
- ecanormalize rewritten using the new standalone
- ECI api
- - changed: reimplemented the C++ ECI interface on top of
- the new standalone C ECI interface
- - changed: implementation level improvements to db, ewf,
- resample, reverse and typeselect audio object
- types
- - changed: edi-28 done; ECI standalone now the only ECI
- implementation
- - changed: ecasound now uses the new JACK (0.40.0 and newer)
- ALSA PCM port names (alsa_pcm:capture_X and
- alsa_pcm:playback_X)
- - changed: number of channels must be given as the first
- parameter to -ezx; this was needed to implement
- true multichannel support
- - changed: syntax used for JACK inputs/outputs, see
- ecasound(1) and ecasound user's guide for
- details
- - changed: ecasound JACK transport master mode now follows
- the new pending-timebase model
- - changed: edi-27 done; the NetECI protocol replaced with the
- ECI standalone protocol defined in ecasound
- programmer's guide
- - changed: edi-29; major updates to ecamonitor; moved back
- to ecasound/ecamonitor
- - fixed: libecasoundc return value sync problem; return
- value for command wasn't returned until command n+1
- was issued
- - fixed: -etc, -etl and -etp crashes if delay parameter
- was set to zero
- - fixed: -ezf didn't report the correct dcfic for the
- first channel
- - fixed: LADSPA param descriptions were incorrectly
- parsed
- - fixed: ecasound ended up in a cpu-intensive loop if
- the standard input suddenly disappeared in
- the -D output mode; this happened every now
- and then with ECI apps
- - fixed: eiam - missing newlines in output of 'cop-status'
- and 'ctrl-status'
-19102002 (v2.2.0-pre3)
- - fixed: reverted to using old ALSA 0.9 hw-params API,
- ecasound agains works with old 0.9beta and 0.9rc
- ALSA versions
-18102002 (v2.2.0-pre2)
- - fixed: ALSA objects weren't properly registered as audio
- object types
- - fixed: debug level was resetted to 0 after issuing
- 'int-output-mode-wellformed'
- - fixed: automake complained about multiple definition
- of ecasoundc_sa
-17102002 (v2.2.0-pre1)
- - edi-entries: edi-24, edi-28, edi-29, edi-30
- - note: libecasound and libkvutils interface version numbers
- will from now on track API changes instead of ABI
- changes
- - added: edi-24; resample audio object added
- - added: edi-29; initial version of ecamonitor
- - added: edi-28; eiam-command 'int-output-mode-wellformed'
- - removed: edi-30; ecasound internal plugins no longer
- installed separately
- - changed: ALSA support requires alsa-lib version
- 0.9rc4 or newer
- - changed: libecasoundc versioning back to normal libtool
- style; interface version reverted back to 1:0:0
- - changed: edi-28; C implementation of ECI, libecasoundc,
- is rewritten to not depend on libecasound
- - changed: edi-28; pyecasound is rewritten to use the
- new C ECI implementation instead of direct
- use of libecasound
- - changed: edi-30; removed all shared libs and subpackages
- containing them from ecasound.spec.in
- - changed: added ecamonitor to ecasound.spec.in
- - changed: edi-30; libecasound and libkvutils
- versioning back to normal libtool style
- - fixed: unnecessary warnings when closing OSS
- audio objects
- - fixed: unnecessary warnings when adding audio
- objects to a chainsetup with no chains
- currently selected
- - fixed: resample, reverse and typeselect audio objects
- types were broken in 2.1dev11
- - fixed: removing audio inputs and outputs didn't work
- as specified
- - fixed: bugs in multitrack-mode operation; processing
- would stop once all input objects were
- finished
- - fixed: pyeca.py - correct handling of 'e' and '-'
- return types [jhalttun]
- - fixed: eiam - removed the extra newline char from output
- of 'cop-status' and 'ctrl-status'
- - fixed: loglevel settings were lost when output mode
- was changed
- - fixed: ecamonitor was missing from the dist package
-22082002 (v2.1dev11)
- - added: configure-check for socket libraries
- - added: -evp - volume peak watcher operator
- - added: initial support for LADSPA v1.1 API for plugin
- parameter defaults (as used in swh-0.2.8 plugin
- set); updated ladspa.h included in the source tree
- - changed: rewrite of all user-interface code that's
- in the ecasound-x.y.z/ecasound directory
- - changed: added chainop and controller parameter
- descriptions back to ecasound's command-line
- help (--help/-h)
- - changed: ecasignalview rewritten; segfault bugs fixed,
- consumes less cpu-resources, better interface
- - changed: ecasoundrc - default command for ogg playback
- to catch up with the ogg 1.0 release
- - changed: new sample format conversion routines along
- with unit tests
- - fixed: a long-standing bug in ecaplay that caused it
- to segfault with big playlists
- - fixed: LADSPA_PATH env.variable not parsed correctly
- - fixed: floating-point exceptions when run on alpha-linux
- - fixed: libecasound_tester failed on machines without
- the LADSPA SDK plugins installed
- - fixed: ia-mode - ctrl-d didn't exit as it should; this
- broke shell scripts that used pipes to communicate
- with ecasound
-24062002 (v2.1dev10)
- - added: -G:mgrtype,optstring switch for setting
- audio object manager level options
- - added: -G:jack,client_name,operation_mode option; see
- ecasound(1) for details
- - added: --enable-all-static configure option
- - added: --disable-jack configure option; disable JACK
- support even if all required libs and headers
- are found
- - changed: major data structure cleanup in the JACK
- plugin
- - changed: JACK support is now enabled if 'jack/jack.h'
- is found; also --with-jack=PATH still works
- - fixed: 'unknown device state' errors with multichannel
- soundcards like midiman deltaXX and rme
- when starting processing and if -z:intbuf mode
- was selected
- - fixed: due to changes in autoconf variables, non-atomic
- locking was always used instead of atomic locking
- in 2.1dev8 and 2.1dev9
- - fixed: configure failed if an old (<0.9) ALSA version was
- installed even if --disable-alsa was specified
- - fixed: loading chainsetup from interactive mode failed
- both with cs-load and after cs-edit
- - fixed: compiling against readline 4.2 with
- --enable-sys-readline failed
- - fixed: bugs in the -z:db subsystem caused segfaults
- - fixed: problems with -z:db and small files
- - fixed: eiam - 'cs-get-length' always returned 0
-17052002 (v2.1dev9)
- - edi-entries: edi-22
- - changed: optimized disk i/o subsystem (-z:db) performance
- - changed: edi-22 fully implemented (JACK-support)
- - fixed: disk i/o subsystem didn't discard all old data
- after a seek to a new location
- - fixed: installing pyeca.py failed if ecasound was
- built outside srcdir
- - fixed: timeouts when starting chainsetups with JACK
- input/outputs
- - fixed: bug in stopping JACK input/outputs; affects
- seeking in interactive mode
-13052002 (v2.1dev8)
- - edi-entries: edi-13, edi-18, edi-21, edi-22
- - added: reverse audio object type; see the ecasound(1)
- man page for better documentation
- - added: pyecasound - if python version is 2.2 or higher,
- pyeca.py sets custom dlopen flags before importing
- the actual pyecasound python module; this makes it
- possible to access ecasound's plugins (ALSA, JACK,
- libaudiofile) from python ECI apps
- - added: ecasoundrc - 'default-audio-format'; same syntax
- as with the -f option; defaults to s16_le,2,44100,i
- - added: edi-18 implemented; engine samplerate is now
- set automatically - if object sample rates don't
- match, an error is printed
- - added: edi-21 implemented; a much improved framework
- for handling audio position information is now
- in place; -kl, -kl2 and -klg are now position
- aware - changing chainsetup position also affects
- controller sources
- - added: initial implementation of edi-22
- - added: support for devfs /dev/sound/dsp devices [karmak]
- - added: new debugging system in libecasound; semantics
- of -d:xxx debug levels have changed
- - added: 'make check' target builds and runs
- libecasound/libecasound_tester, which performs
- a set of functionality tests
- - removed: support for old ALSA driver versions 0.3.x,
- 0.4.x and 0.5.x
- - removed: ecasoundrc - 'default-samplerate'
- - removed: -sr option; not needed anymore
- - removed: ia-mode - 'c-rewind', 'c-forward' and
- 'c-setpos'
- - removed: ecasoundrc - default-to-interactive-mode
- - removed: mixmode switch (-m)
- - removed: ecasound/contrib directory
- - changed: JACK support updated to match JACK's 13/May/02
- CVS-tree
- - changed: pyecasound - module libpyecasound.so renamed
- to pyecasound.so
- - changed: programmer's guide updated; added a new chapter
- about library organization
- - changed: minor user's guide update
- - changed: looping with -tl always loops from the start;
- -y can't be used for setting the loop start
- offset -> ewf-files should be used instead
- - changed: s24_le and s24_be sample formats are interpreted
- as three-byte values, not as four-byte
- 24-in-32bits values as before; to access
- unpacked 24bit data, use s32_le and s32_be
- formats instead
- - changed: configure.in cleanup
- - changed: the libkvutils binary API has changes so its
- version number was changed from 3:0:1 to 3:0:0
- (libkvutils.so.3); this interface will be
- frozen together with libecasound.so.8
- - changed: rewritten rtnull implementation; now imitates
- soundcard behaviour much more accurately
- - changed: numerous portability improvements to the
- autoconf scripts
- - changed: new rpm-spec file; libraries are now located
- in separate rpm-packages
- - changed: ecasound-config renamed to libecasoundX-config
- - changed: ecasoundc-config renamed to libecasoundcX-config
- - changed: libecasound headers are now installed to
- incdir/libecasound, similarly libecasoundc headers
- to incdir/libecasoundc
- - changed: plugin directory name from prefix/lib/ecasound-plugins
- to prefix/lib/libecasoundX-plugins, where X is
- the library interface number
- - fixed: -[io]:alsaplugin,x,y didn't work with latest ALSA
- 0.9betaX releases
- - fixed: serious bug in setting up ALSA 0.9.x buffering params
- - fixed: rare bug with sampling rate changes
- - fixed: autoconf 2.5x fixes [iondiode]
- - fixed: typeselect - opening and closing a typeselect
- device multiple times caused a seg.fault
- - fixed: some ECI apps dumped core when executing their
- first command
- - fixed: after mp3/ogg/mikmod/timidity objects had reached
- finished state, playback couldn't be started
- without doing a disconnect-connect
- - fixed: better handling of situations where JACK server
- is abruptly shutdown and then restarted
- - fixed: sometimes an incorrect length-field was written to
- newly created wav-files
- - fixed: problems with using ewf-files with doublebuffering
- - fixed: loop devices didn't work; resulted in 'explicit
- exception' errors
- - fixed: configure failed if neither ncurses nor termcap
- was installed
- - fixed: compile failed if ALSA was not installed (even
- with --disable-alsa)
- - fixed: if compiled with --with-largefile, when closing
- output wav files, riff header block was written
- over start of audio data
- - fixed: -eemb wasn't working properly, this broke the
- 'metronome' preset
- - fixed: recording offset not set when not in
- multitrack mode
- - fixed: incorrect parsing of wav headers on big-endian
- machines
- - fixed: various small fixes to make ecasound compile
- with Sun's Workshop6 C5.2 C++ compiler under
- 64bit Solaris 2.8 (sparc ultra-250)
- - fixed: ecasoundrc - ext-cmd-text-editor and
- ext-cmd-wave-editor were incorrectly parsed
- - fixed: cs-edit didn't preserve chainsetup position
- - fixed: cs-edit discarded all changes if the original
- chainsetup was connected but the resulting
- setup was not valid for reconnection
- - fixed: -klg didn't work as documented
-16012002 (v2.1dev7)
- - edi-entries: edi-12
- - added: a watchdog thread that handles thread cleanup;
- this is needed especially for audio and chainop
- objects which create their own threads (like jack)
- - changed: unification of interactive and passive
- modes; running ecasound without -c is now
- pretty close to "echo run | ecasound -c cmds"
- - changed: if an invalid chainsetup is given on the command
- line, and -c is given, ecasound will print an
- error but will not exit as it did before; you
- can continue editing in the ia-mode to check
- what was wrong in the setup
- - changed: compilation of eca-iamode-parser.cpp is now
- significantly faster and takes less resources;
- this should fix problems with compiling ecasound
- on machines with <256MB of memory
- - fixed: audio-manager.h was missing from the dist-package
- - fixed: critical bug that prevented writing to
- double-buffered non-realtime output objects
- - fixed: chainsetups with multiple controller objects of
- the same type didn't work in 2.1dev6 [jesse]
- - fixed: edi-12 - multichannel, noninterleaved ALSA 0.9 input
- and output not working properly
-22122001 (v2.1dev6)
- - edi-entries: edi-8, edi-11, edi-17
- - note: review of all samplebuffer-related code;
- lots of code-cleanups and minor improvements
- - added: edi-11; hierarchy-based config file system;
- default values now stored to
- '{prefix}/share/ecasound/ecasoundrc' while
- individual values can be overridden in
- '~/.ecasound/ecasoundrc'
- - added: bitrate (kbps) params to mp3 and ogg outputs
- - added: initial JACK support; enable by giving
- --with-jack=install_prefix configure option
- - added: edi-8; ia-mode - support for parsing args
- containing white-space; either by quoting
- with ("a token") or backslash espacing
- (a\ token) [junichi]
- - removed: ecasoundrc - 'user-resource-directory' tag
- removed; user-specific preset/oscillator
- definition directory now '~/.ecasound'
- - changed: ecasoundrc - to avoid versioning conflicts,
- all 'ext-*' tags are renamed; see ecasoundrc(5)
- - changed: 'make install' will now overwrite old
- data files ({prefix}/share/ecasound/*)
- - fixed: problems with automake1.5
- - fixed: eiam - 'ao-get-position' returned an integer
- value instead of a float as it should
- - fixed: bugs with combining -ei and LADSPA plugins
- - fixed: 2.1dev5 wrote broken wav-headers
- - fixed: minor changes to posix signal handling
- - fixed: seg.faults with -ei:x where x < 50
-05122001 (v2.1dev5)
- - added: docs - Documentation/manpages.html
- - added: ecalength - -su option added [smassy]
- - added: experimental support for largefiles (>2GB);
- enabled with --with-largefile configure option
- - changed: most preset names changed in 'effect_presets'
- - changed: ecasoundrc - new defaults for mp3 and ogg
- output
- - changed: unified kvutils build process; added separate
- libkvutils_debug target; CXXFLAGS shared with
- ecasound build configuration
- - fixed: processing didn't stop with setups that had loop-
- devices connected to multiple input objects
- - fixed: using loop devices in setups with non-default
- internal sample rate could cause unwanted
- resampling
- - fixed: -kog and -f were broken (since dev4)
- - fixed: bugs in passing audio format params to
- mp3 and ogg encoders; note! update your
- ~/.ecasoundrc to match the new defaults,
- see ecasoundrc(5) man page
- - fixed: ecasound wrote to ewf-files opened in read-only mode
- - fixed: work-around for environments without the C99 stdint.h
- header file [anarcat]
- - fixed: eiam - problems with 'cs-set-position-samples',
- 'cs-rewind' and 'cs-forward' with unconnected
- chainsetups
-31102001 (v2.1dev4)
- - added: eiam - 'cs-option' commmand; although explicit use
- of cmd-line options as iactive-mod commands (like
- "-i:file.wav") is still supported, "cs-option
- -i:file.wav" is now the preferred syntax
- - removed: ecasound FAQ file - it only contains about
- a pageful of useful text - I moved that
- precious piece of content to the user's
- guide :)
- - changed: uses of '-i' an '-o' replaced with 'ai-add'
- and 'ao-add' in ECI documentation and
- code examples in 'ecasound/examples'
- - changed: user's and programmer's guides updated
- - changed: bug-alert; major rewrite of ecasound's
- internal object factory code
- - changed: eiam - output of aio-register, cop-register,
- ladspa-register and preset-register commands
- - fixed: multitrack mode was not properly detected if
- buffering mode was selected explicitly (-B)
- - fixed: eiam - minor 'cs-edit' bugs fixed
- - fixed: 'make install' failed if srcdir != objdir
- - fixed: didn't work with ALSA +0.9b8 CVS-tree
- - fixed: additional noises when mixing mono and stereo
- streams in ecasound chains
- - fixed: better handling of situations where ecasound
- can't execute ogg123 for ogg input
-21102001 (v2.1dev3)
- - note: major changes to effect preset system which
- break some old preset definitions
- - edi-entries: edi-3
- - added: ecasound-config - --ldflags and --prefix
- - added: engine profiling info (printed to stderr)
- - added: -z:multitrack, -z:nomultitrack for forced enabling
- and disabling of multitrack-mode
- - added: variable-like preset parameters; it's now possible
- to bind one preset parameter to multiple chainops'
- parameters (control multiple settings with one
- parameter)
- - added: support for describing preset parameters (edi-3)
- - changed: pyecasound - makefile-hack that allows pyecasound
- to work even though compiled against libecasound
- and libkvutils that are not installed to
- a directory listed in /etc/ld.so.conf
- - changed: db-subsystem - is put to sleep more
- aggressively, which should further decrease
- its cpu-load
- - changed: db-subsystem - runs once again under sched_fifo
- scheduling if -r is enabled
- - changed: ALSA xrun reports are now printed to stderr
- instead of ecasound debug-subsystem
- - changed: -B:rt selected as the default bmode for
- multitrack-setups (instead of -B:lowlatency)
- - changed: preset definitions in 'effect_presets' changed
- to take advantage of the preset system improvements
- - fixed: major bugs in interpreting LADSPA plugin
- parameter hint flags
- - fixed: a nasty bug in bufmode activation code prevented
- -kos, -kl, and others from working properly
- - fixed: loop devices didn't work well with -z:db; fixes
- ecasound testsuite case con_test1-8
- - fixed: memory leak in LADSPA handling code; was triggered
- by recent versions of ecamegapedal
- - fixed: pyecasound - make target 'install-exec-hook' failed
- if --disable-pyecasound was given to configure
-14102001 (v2.1dev2)
- - added: ecaplay - -k, -d and -h options, see 'man ecaplay'
- - added: eiam - ai-get-length-samples, ao-get-length-samples,
- cs-get-length-samples, cs-set-length-samples [smassy]
- - added: support for variable length buffer's for ALSA 0.9
- output (required by -ei:xx type effects)
- - changed: tuned prefill-parameters for double-buffering
- - changed: when saving chainsetups, if no parameters
- are overridden, buffermode definition (-B) is
- saved instead of individual parameters
- - changed: yet more changes to the multitrack-mode
- - changed: eiam - output of *-status commands
- - fixed: -r option wasn't saved to chainsetups (used
- to be a session-level option)
- - fixed: typeselect problems when used for outputs
- - fixed: system lockups with -B:rtlowlatency and
- rt-object-only chainsetups
- - fixed: misplaced tab prevented eci.py from working
- with python 2.1 (nested scopes)
- - fixed: if a monitor track input ended before recording
- stopped in multitrack mode and -z:db was enabled,
- it continued producing unwanted noise to the
- monitor output
- - fixed: eiam - ladspa-register output had plugin names
- and descriptions mixed
-09102001 (v2.1dev1)
- - added: chainsetup parser prints a warning if an unknown
- buffering mode is given to -B:mode
- - changed: 'rt' buffering mode is preferred over
- 'rtlowlatency' if no chain operators are
- present, and multitrack mode is not active
- - changed: more improvements to double-buffering
- - fixed: critical bug when running in -B:rtlowlatency
- mode (caused system-lockups with ALSA 0.9.x
- oss-emulation)
- - fixed: explicitly specifying -z:nointbuf had no
- effect
- - fixed: setting double-buffer length didn't have
- any effect (given either in bmode defaults
- or as -z:db,dbsize)
-06102001 (v2.1dev0)
- - edi-entries: edi-2, edi-6, edi-10, edi-15
- - added: more recent config.guess and config.sub to
- the dist package [juekawa]
- - added: new feedback-% param to -etd effect, doesn't
- affect old presets using -etd [smassy]
- - added: ALSA device name 'default' is used if no
- other name is given ('-o:alsa' is equivalent
- to '-o:alsa,default')
- - added: special case for mapping "ecasound file.ecs"
- to "ecasound -s:file.ecs"
- - added: implementation of edi-6; the -z:db
- is now completely transparent to other
- parts of ecasound
- - added: eiam - new commands: cs-set-position-samples,
- cs-get-position-samples, ai-set-position-samples,
- ai-get-position-samples, ao-set-position-samples,
- ao-get-position-samples
- - added: edi-15 - '-B' option for selecting default
- buffering mode (see ecasound man page)
- - added: edi-15 - ecasoundrc bmode-defaults options;
- obsoletes old default-buffersize, etc options
- - added: various improvements to multitrack sync-mechanism
- to make it work reliably in all buffering modes
- - added: ladspa.h added back to distribution; it is however
- not installed to incdir/ecasound/ladspa; also
- already installed ladspa.h is preferred over
- the local header file version
- - added: S.Massy's ecalength added to ecatools -
- see ecalength(1) manual page (edi-10)
- - added: new 'typeselect' audio object type that can
- be used to override the object type; see
- man ecasound(1) for details
- - changed: library version changed to 8.0.0
- - changed: use of kvutils/definition_by_contract
- dropped; more lightweight kvutils/dbc.h
- will be used from now on
- - changed: more strict option parsing; now a warning
- is printed if an unknown option is seen;
- parser also won't accept known options
- with invalid or incorrect parameters
- - changed: use of libstdc++ namespace now explicitly
- marked using the 'std::' prefix [rpolton]
- - changed: new layout for saved ecs-files
- - changed: docs - converted ecasound user's and
- programmer's guide from yodl to latex
- - changed: shocking changes to startup printouts :)
- - fixed: gcc3.x fixes to ALSA 0.5.x plugin [juekawa]
- - fixed: problems with ALSA 0.9beta7 (dlopen() issue)
- - fixed: minor samplerated bug with LADSPA plugins
- - fixed: gcc3.x failed on certain glibc2.1 headers
- if optimization was enabled (-O2)
- - fixed: pyecasound linking failed in certain
- circumstances
- - fixed: ecasound.spec - dropped the hardcoded python
- module path that was passed to configure
- - fixed: seg.fault if opening wav/raw files for
- output failed for some reason (access
- denied, etc)
- - fixed: non-zero defaults for -r:x and -z:db,y [smassy]
-16012002 (v2.0.4) -** stable release **-
- - edi-entries: edi-12
- - added: docs - Documentation/manpages.html
- - fixed: ecasound.spec - dropped the hardcoded python
- module path that was passed to configure
- - fixed: seg.fault if opening wav/raw files for
- output failed for some reason (access
- denied, etc)
- - fixed: misplaced tab prevented eci.py from working
- with python 2.1
- - fixed: major bugs in interpreting LADSPA plugin
- parameter hint flags
- - fixed: memory leak in LADSPA handling code; was triggered
- by recent versions of ecamegapedal
- - fixed: edi-12 - multichannel, noninterleaved ALSA 0.9 input
- and output not working properly
-28092001 (v2.0.3) -** stable release **-
- - added: more recent config.guess and config.sub to
- the dist package [juekawa]
- - changed: -z:intbuf made the default once again
- - changed: ecasoundrc - default-to-internal-buffering
- renamed to default-to-max-internal-buffering
- to avoid conflicts with the old defaults
- - fixed: gcc3.x fixes to ALSA 0.5.x plugin [juekawa]
- - fixed: problems with ALSA 0.9beta7 (dlopen() issue)
- - fixed: minor samplerated bug with LADSPA plugins
- - fixed: gcc3.x failed on certain glibc2.1 headers
- if optimization was enabled (-O2)
- - fixed: pyecasound linking failed in certain
- circumstances
-17082001 (v2.0.2) -** stable release **-
- - added: current position tracking to loop devices
- - added: more verbose xrun info from ALSA 0.9.x devices
- - added: info about the new perl bindings to ECI API docs
- - added: Eric Tiedemann's alternative Python ECI
- interface, eci.py, added to pyecasound [est]
- - added: support for gcc 3.0 [juekawa]
- - changed: improved configure checks for python include
- and library directories
- - changed: -tl now works without -t
- - changed: new algorithm for selecting initial param
- values for LADSPA plugins
- - changed: update ogg input and output support to
- work with ogg vorbis 1.0rc2
- - changed: changed some of the returned error codes
- - fixed: selecting a non-existant chainsetup could crash
- ecasound
- - fixed: --enable-audiofile actually disabled the use of
- libaudiofile (!)
- - fixed: ecaplay - if ecaplay is unable to play a file,
- instead of exiting it now skips to the next file
- - fixed: giving a non-integer number of delays to -etd
- caused a seg.fault
- - fixed: eiam - issuing copp-select + copp-get caused
- a crash if no cop was selected
- - fixed: bugs in handling infinite length ewf sources
- - fixed: --disable-oss still required to sys/soundcard.h
- to be present [rob]
- - fixed: bug in sending MIDI-MMC messages [robstr]
- - fixed: bug in ecasoundc cleanup routines [rjpoelstra]
-05062001 (v2.0.1) -** stable release **-
- - added: ecasoundrc - default-to-internal-buffering; select
- the default between -z:intbuf and -z:nointbuf
- - added: alternative C ECI implementation providing reentrant
- access to the library; the new routines have a '_r'
- postfix and are located in libecasoundc [ajeanneau]
- - changed: completely rewritten mp3 header parsing; should
- fix most of the compatibility problems
- - fixed: disk buffers weren't properly flushed in -z:db mode
- when changing or setting processing position
- - fixed: bugs in assigning LADSPA plugin audio ports to
- ecasound chain channels
- - fixed: configure script failed if arts was installed
- without the devel files (arts-devel)
- - fixed: bug in the MIDI-server code caused core dumps in
- certain situations
- - fixed: bug in querying -klg parameter status
- - fixed: eiam - giving certain invalid arguments to 'cop-add'
- and 'ctrl-add' crashed ecasound
- - fixed: bug in closing .raw files [smassy]
- - fixed: eiam - cop-inxed-select renamed to cop-index-select
- - fixed: bugs in loop device channel handling
- - fixed: changing internal sample rate caused problems to
- the noise gate effect (-enm)
-02052001 (v2.0.0) -** stable release **-
- - added: -klg - a generic linear envelope; a controller source
- that can be used to map custom envelopes to chain
- operator parameters [artham]
- - fixed: segfaults when trying to access non-existing preset
- parameters
- - fixed: segfault if tried to copp-get without first
- selecting a parameter with copp-select
- - fixed: few bugs in ewf looping routines
- - fixed: 'make uninstall' forgot some files and dirs
- - fixed: bug in ALSA 0.9.x xrun handling
-24042001 (v1.9dev6)
- - added: eiam - cs-setpos, cs-set-position; aliases for setpos
- - added: eiam - cs-getpos, cs-get-position; aliases for getpos
- - added: eiam - cs-rewind and cs-forward; aliases for rewind
- and forward
- - added: eiam - cs-get-length; alias for get-length
- - added: ecatools - repeated ctrl-c causes ecaplay to exit
- immediately (like mpg123)
- - added: MIDI options now properly saved to ecs files
- - added: eiam - c-index-select, c-iselect, cs-iselect,
- cs-list, ai-list, ao-list, ai-iselect, ao-iselect
- - added: eiam - cop-index-select, cop-iselect as aliases for
- cop-select
- - added: eiam - copp-index-select, copp-iselect as aliases for
- copp-select
- - added: eiam - ctrl-index-select, ctrl-iselect as aliases for
- ctrl-select
- - added: eiam - ai-get-format and ao-get-format
- - added: eiam - cop-selected, copp-selected and ctrl-selected
- - added: eiam - cop-list, copp-list, ctrl-list
- - removed: because of the continuing licensing problems,
- ladspa.h was removed; to compile ecasound with
- LADSPA support, the LADSPA SDK has to be installed
- - changed: eiam - separate commands sets for operating on audio
- inputs (ai-) and outputs (ao-); affects all aio-*
- commands except aio-register and aio-status
- - changed: eiam - dump-aio-* separated into dump-ai-* and
- dump-ao-*
- - changed: eiam - cs-length renamed to cs-set-length
- - changed: updated ecafixdc and ecanormalize to use the new
- temp file creation routines
- - changed: -z:nointbuf is now the default; use -z:intbuf to
- enable the old default behaviour
- - changed: eiam - ai-index-select and ao-index-select now
- take an integer parameter
- - changed: eiam - c-name renamed to c-rename
- - changed: eiam - cs-set renamed cs-set-param
- - changed: eiam - cs-format renamed cs-set-audio-format
- - changed: eiam - cs-loop renamed to cs-toggle-loop
- - fixed: small bug fix to ALSA 0.9.x support
- - fixed: eiam - ctrl-remove bug fix, take two :)
-22032001 (v1.9dev5)
- - added: eiam - new aliases 'getpos', 'c-set-position',
- 'aio-set-position', 'aio-getpos'
- - added: eiam - 'int-cmd-list', 'int-version-string'.
- 'int-version-lib-current', 'int-version-lib-revision',
- 'int-version-lib-age'
- - added: eiam - added a section about 'realtime commands'
- to ecasound-iam(1) man page
- - changed: new system for creating temporary files;
- all temps are put into a separate directory;
- $TMPDIR and $TMP are used if available, otherwise
- defaults to /tmp
- - fixed: mp3 output broken
- - fixed: more zombie-problems with mpg123, lame, ogg123
- and others
- - fixed: eiam - 'fw' and 'rw' commands didn't work properly
- if -z:db was enabled and audio object sample rate
- was different than internal sample rate
- - fixed: eiam - 'ctrl-remove' removed the selected chainop,
- not the controller as it should have
- - fixed: eiam - seg.fault when using 'cs-edit' to configure
- a connected chainsetup
-06032001 (v1.9dev4)
- - added: -C - disable interactive mode; reverse op. for -c
- - added: -X - open outputs for updating; rev.op. for -x
- - added: -r:-1 to disable raised-priority mode
- - added: -z:nopsr, -z:noxruns and -z:intbuf ; rev.ops for
- existing -z options
- - added: 'user-resource-directory' define to ~/.ecasoundrc;
- see ecasoundrc(5) for details
- - changed: ecasoundrc - the default midi-device has to be
- given using the new 'type,device' syntax; defaults
- to 'rawmidi,/dev/midi'
- - changed: man pages are now distributed in nroff 'man' format
- - changed: audio object regexps are now case insensitive -
- for instance both file.mp3 and file.MP3 are now
- recognized as mp3 files
- - fixed: mpg123 instances weren't always properly cleaned
- - fixed: loop-device code wasn't working
- - fixed: more ewf-fixes
- - fixed: removal of static object maps might cure some
- C++ compatibility problems (no user-visible changes)
- - fixed: if connected, trying to remove the last chainsetup
- failed (possible core dump if debug disabled)
- - fixed: when used as inputs, 'null' and 'rtnull' now produce
- silence instead of random data (=noise)
-02032001 (v1.9dev3)
- - added: ecaplay - ctrl-c skips to the next file
- - changed: -Md syntax to '-Md:rawmidi,device_name', where
- 'rawmidi' specifies the type while 'device_name'
- refers to a file/device name
- - fixed: MIDI-thread hang when exiting ecasound
- - fixed: various ewf-related fixes
- - fixed: eiam - rounding errors with 'rw' and 'fw' commands
- - fixed: ecaplay - seg.faults when playing multiple files
- - fixed: object cleanup was not properly done if ecasound
- received signals while multiple threads were
- running ("pure virtual method called" warnings)
-14022001 (v1.9dev2)
- - added: -z:nointbuf - minimize the use of internal buffering
- done by rt-devices
- - added: -z:xruns - stop processing if an xrun occurs
- - added: '--disable-ncurses' configure switch; ncurses/termcap
- is still required during compiling, but with this,
- ncurses/termcap is ignored during linking
- - added: -Md:device option for specifying MIDI-devices
- - added: -Mms:device_id; send MMC start/stop to MIDI devices
- - added: -Mss; send MIDI-start/stop (note! MIDI-clock is
- not sent)
- - added: support for ALSA 0.6.x named pcm-devices; the new
- syntax is '-[io]:alsa,pcm_name'; alternatively,
- '-[io]:alsahw,card,dev,subdev' and '-[io]:alsaplugin,
- c,d,sd' can also be used; doesn't affect 0.5.x and
- older ALSA plugins
- - added: eiam-cmds; cs-is-valid
- - changed: support for -z:nointbuf to OSS-devices (/dev/dsp)
- and ALSA 0.5.x plugin
- - fixed: severe bugs with -km (midi-routines)
-07022001 (v1.9dev1)
- - notice: new version numbering scheme
- - added: eiam-cmds; set-position, get-position, get-length,
- cs-connected, cs-selected, engine-status,
- aio-get-position, aio-get-length, aio-selected,
- ctrl-select, ctrl-remove, cop-select, copp-select,
- copp-set, copp-get, c-list, cs-list
- - added: eiam command return type documentation to
- ecasound-iam man page
- - added: ecasound detects all eiam return types and
- automatically prints their values after commands
- are issued
- - added: example code (under ./examples) - ecidoc_example.c,
- ecidoc_example.cpp, ecidoc_example.py, normalize.py
- - added: -kog - a new generic oscillator
- - added: lots of new documentation - check the examples page,
- user's guide and the ecasound faq
- - added: better handling of output error conditions (out of
- disk space, etc)
- - added: -eS - audio stamper
- - added: -ksv - control source that analyzes audio stamp
- volume statistics and creates control data from
- the results
- - added: -z:nodb - disable double-buffering
- - removed: eiam-cmds; u, a, cstatus, l, fstatus, estatus
- - changed: -kf - 'mode' parameter added
- - changed: format of the file 'generic_oscillators'
- - changed: ECI - last_list_of_strings() to last_string_list()
- - changed: the way gate operators work; instead of muting
- the chain, they now truncate the passing buffers -
- in future, amplify+controller (-ea + -k)
- combinations can be used in the same manner as the
- old gate operators
- - changed: 'ecasound-config --flags' now prints includedir
- instead of includedir/ecasound
- - changed: updated ALSA 0.6.x support to match CVS-20010122
- - changed: a better implementation of MIDI i/o routines
- - fixed: "-x -i file.ext" style cmd-line arg sequences weren't
- parsed correctly [jhall]
- - fixed: ECI - command_float_arg() was broken (all languages)
- - fixed: when exiting console-mode ecasound with "quit",
- ecasound object weren't properly destructed causing
- all kinds of weird behavious (especially with wav-
- files) - [smassy]
- - fixed: more FreeBSD 4.x related fixes [beaupran]
- - fixed: ogg vorbis output fixes [nolan_d]
- - fixed: gcc 2.96 (RH7.0) related fixes [swharris]
- - fixed: ewf-file parsing not working [smorris]
-07122000 (v1.8.5d15)
- - added: tremolo effect (-eemt) [rcs]
- - added: -z:db; i/o double buffering layer is back! -
- after complete rewrite, db-mode now supports all
- non-realtime audio objects, and works both for
- input and output
- - added: default-double-buffer-size added to ~/.ecasoundrc
- - added: double buffer size can be given as the 2nd
- argument of -z:db,dbsize
- - added: optional argument for -r:sched_priority; specify
- the static rt-priority; see ecasound(1)
- - added: default-schedpriority added to ~/.ecasoundrc
- - added: 32bit support for OSS/Linux
- - added: comments lines (#-prefixed lines) allowed when
- loading chainsetups from file
- - added: ecatools - ecasignalview added to the package;
- see ecatools(1) man page for details
- - added: new modules - libecasoundc and pyecasound
- - added: --disable-pyecasound configure switch
- - added: './contrib' and './examples' directories added
- to the distribution package
- - added: ecasound control interface documentation added -
- see 'Documentation/programmers_guide/eci_doc.html'
- - added: eiam - new commands; c-selected
- - added: extended support for parameter descriptions;
- all LADSPA parameter hints now supported
- - added: support for result paramerers, ie. values resulted
- from processing/analyzing
- - added: ECI - error() added
- - removed: the "LADSPA/" prefix removed from plugin labels
- - removed: support for underscores in EIAM-commands
- - changed: more intelligent handling of resource files
- (for instance ~/.ecasoundrc and preset files)
- - changed: output produced by -ev
- - changed: updated ALSA 0.6.x support to match pcmfinal-state
- - changed: minor changes to multitrack sync code; should
- now be even more accurate
- - changed: triggering of realtime outputs; now all rt-outputs
- are prefilled with two buffers before triggering
- - changed: Mandrake and PLD Linux RPM-spec files moved into
- the new './contrib' directory
- - changed: -ev and -ezf now report their results as
- output parameters (normal chainop params)
- - fixed: nasty bug in effect preset mapping
- - fixed: -ei:0 caused problems
- - fixed: cdr-file endianess (should be _always_ big endian)
- - fixed: yet more fixes to mono mp3 input handling
- - fixed: input problems (easily triggered by using -sr)
- with .mp3, .mid and mikmod modules
- - fixed: c-setpos didn't work if chainsetup wasn't connected
- - fixed: commas in descriptions of LADSPA plugin parameters
- confused ecasound, and usually ended up crashing
- (triggered at least by the hermes filter)
-07112000 (v1.8.4d15)
- - added: pulse gate (-eemp); can be used to generate a
- metronome signal [rcs]
- - added: support for preset parameters - see file
- 'effect_presets' for examples [artham]
- - added: support for MIDI files using Timidity++
- - added: input and output of Ogg Vorbis files (.ogg) using
- ogg123 and vorbize
- - added: version control to internal plugins; when compiling,
- libecasound libtool interface number is stored to
- the plugin object files
- - added: updates and additions to ecasound programmer's guide
- - added: support for noninterleaved streams to ALSA 0.6.x plugin
- - added: 4th parameter to -f, 'i' (default) indicates interleaved
- stream format while 'n' refers to noninterleaved
- - added: -D option; prints debug messages to stderr
- - removed: -m:mthreaded and -z:db (obsolete)
- - changed: tries to load all internal plugins even if some
- plugins were disabled during compile-time; this
- makes it possible to have multiple versions of same
- plugin tupe (for instance, plugins for different
- ALSA versions, etc)
- - changed: ecasoundrc - mikmod-path and -args combined into
- more general mikmod-cmd
- - fixed: compile time problems under Solaris 2.6 and FreeBSD
- 4.1 [beaupran, rcampbel]
- - fixed: ncurses fixes (the ever-bold bug) [artham]
- - fixed: cs-loop seg.faulted
- - fixed: stripped libtool version info from plugins [wrobell]
- - fixed: configure-time relocations didn't affect the default
- paths of effects presets and LADSPA plugins [juekawa]
- - fixed: invalid/non-existant files caused problems for all
- utils in ecatools package
- - fixed: sync-related ALSA 0.6.x fixes
- - fixed: better handling of mp3, ogg, timidity and mikmod
- related errors
- - fixed: -sr:srate didn't work (broken in 1.8.3d15)
- - fixed: problems with ALSA 0.6.x pcm plugins
-26092000 (v1.8.3d15)
- - changed: code for parsing command-line arguments rewritten;
- now reports about invalid arguments
- - changed: default precision when printing time in seconds
- changed to 3 (msec precision)
- - fixed: ALSA 0.6.x updates
- - fixed: few bugs in aRts plugin
-16092000 (v1.8.2r14) -** public release **-
- - added: --enable-alsa-rawmidi configure option - this is a
- temporary solution for supporting ALSA rawmidi until
- we have a proper plugin-based MIDI-subsystem
- - fixed: some broken mp3 headers caused ecasound to misinterpret
- mp3 sampling rate
- - fixed: problems when handling mp3 files with white-space in
- the filename [rsassman]
- - fixed: incorrect riff-wave header bug fixed [artham]
- - fixed: in some cases, controllers weren't parsed correctly
- - fixed: annoying clicks with phaser, flanger and chorus
-01092000 (v1.8.1d14)
- - notice: all qt-related stuff put to separate packages
- - added: support for internal plugins; modules using external
- libraries (ALSA, aRts, libaudiofile, etc) are now
- dynamically loaded on runtime (no unnecessary
- dependencies); installed by default to
- (prefixdir)/lib/ecasound-plugins; see also
- ecasoundrc(5) man page for related entries
- - added: new ecasound-plugins rpm package
- - added: mp3 channel-count and sampling rate from mp3 header
- - added: notifies user if internal-plugin directory isn't found
- - removed: support for native ALSA rawmidi temporarily removed
- (while waiting, use ALSA's OSS-emulation)
- - changed: aRts support enabled by default
- - changed: behaviour of -ete effect's wet-% parameter
- - fixed: system readline related fixes (wrobell)
- - fixed: ewf - crashed if looping was enabled and
- 'start-position' > 'length'
- - fixed: few ewf output fixes
- - fixed: compile problems with ALSA 0.5.x
- - fixed: ecatools hang if interactive-mode enabled by default
- - fixed: ALSA 0.6.x support working again
-25062000 (v1.8.0d14)
- - added: ecaconvert - a new ecatools app; converts a set of
- files to target file format
- - added: support for ALSA 0.6.x (plugin and direct) [jhall]
- - added: ia-mode - 'cs-list', 'c-list', 'aio-list',
- 'cop-list'; nothing new, but some might find these
- a bit more intuitive to use than various status cmds
- - added: more info about audio object status
- - added: --enable-sys-readline (compile against already
- installed libreadline) [wrobell]
- - added: rpm-spec file for PLD-Linux - ecasound.pld.spec [wrobell]
- - added: support for destdir env.variable [wrobell]
- - added: support for float samples (-f:f32_le and -f:f32_be)
- - added: support for IEEE754 wav files (float)
- - added: --enable-arts - use aRts daemon for audio input and
- output, see ecasound(1) man page for more info
- - added: limiter effect (-eal:limit-%)
- - changed: major changes in source tree organization
- - changed: mp3 input and output now possible with all decoders
- and encoders which support standards i/o streams;
- still defaults to mpg123 and lame - see
- ecasoundrc(5) for details
- - changed: qtecasound - all shortcut keys are now ctrl-some_key
-23062000 (v1.7.9r13) -** public release **-
- - fixed: stdin, stdout and '-' were all more or less broken
- - fixed: loop devices weren't saved correctly
-05062000 (v1.7.8r12) -** public release **-
- - added: files 'TODO' and 'ecasound.mdk.spec'
- - added: support for LADSPA_PATH env.variable
- - added: support for multichannel LADSPA plugins
- - added: -eli options, select a LADSPA plugin using its
- unique id-number
- - added: -ete - a new, more advanced reverb (thanks to
- Stefan M. Fendt for the algorithm!)
- - changed: qtecasound - major layout changes
- - changed: ecatools renamed to ecaplay, ecanormalize and
- ecafixdc
- - changed: updated the 'INSTALL' file
- - fixed: qtecasound - bugs in debug output
- - fixed: some minor bugs in LADSPA support
- - fixed: compile problems with 2.95.x
- - fixed: errors loading some LADSPA plugins
- - fixed: the ".mp3.wav" bug
- - fixed: config.h fixes
-03052000 (v1.7.7r11) -** public release **-
- - added: --version and --help command-line options (for GNU
- compliance)
- - changed: documentation updates
- - fixed: some compile-time problems
- - fixed: chain-muting wasn't working properly
-26042000 (v1.7.6d11)
- - added: new input/output device 'alsaplugin' - similar to
- normal ALSA pcm-devices, but uses the pcm-plugin
- layer (automatic sample rate and format conversions)
- - added: safety-checks against invalid command-line parameters
- and ia-mode commands (adding inputs, outputs,
- parameter control)
- - changed: much faster communication between engine and ui
- - changed: qtecasound - replaced some old widgets with
- new libqtecasound widgets
- - changed: ia-mode - c-clear now works on-the-fly
- - fixed: qtecasound - core dumps when removing audio objects
- - fixed: qtecasound - many minor bugs
- - fixed: core dumps when adding parameter controllers for
- non-existent chainops
- - fixed: include-file problems when compiling in a separate dir
- - fixed: problems in mixing multiple mono-inputs
-12042000 (v1.7.5d11)
- - added: ALSA support for s32_le and s32_be sample formats
- - added: numerous fixes and small improvements to ALSA 0.5.x
- support
- - removed: dynamic loading of ALSA support - as ALSA is
- getting bigger and bigger, maintaining dynamic
- support has become more and more difficult -
- this means that ALSA support isn't anymore included
- in binary distribution packages - to get native
- ALSA support, you have to compile ecasound from
- sources - of course you can always use ALSA's
- OSS-emulation layer
- - changed: pitch-shifter (-ei) improvements [artham]
- - changed: above improvements also affect normal resampling
- - changed: ia-mode commands cop-add, cop-remove and ctrl-add
- can now be used with connected chainsetups (add
- effects on-the-fly, etc)
- - changed: updated LADSPA support to v1
-24032000 (v1.7.4d11)
- - added: summary info to configure-script
- - changed: upgraded LADSPA support to API v1-rel1
- - changed: default directory for LADSPA plugins is now
- /usr/local/lib/ladspa (see ecasoundrc(5))
- - fixed: latency-problems with ALSA pcm-loopback
- - fixed: thread scheduling problems with '-r'
- - fixed: compile problems under Solaris
- - fixed: many .ewf bugs
- - fixed: compile problems with ALSA 0.4.x
- - fixed: few minor bugs in -ev and -ezf
-21032000 (v1.7.3d11)
- - added: initial LADSPA support (-el), see ecasound(1) man page
- - added: 'ladspa-plugin-directory' entry to ~/.ecasoundrc
- - added: ia-mode commands 'aio-register', 'cop-register',
- 'ctrl-register', 'preset-register', 'ladspa-register'-
- these commands list all registered object types
- - changed: a more compact command-line help
- - fixed: nasty bug when adding effects on-the-fly (caused
- infinite recursion inside the object maps)
-19032000 (v1.7.2d11)
- - added: support for ALSA 0.5.x pcm-loopback
- - added: more effect presets
- - added: ia-mode - 'aio-select-input' and 'aio-select-output'
- - added: ia-mode - dump-* commands, see ecasound-iam(5) for
- the details
- - removed: /dev/snd/pcmCxDy notation for specifying ALSA
- devices
- - changed: ia-mode - if aio-add-output is executed without
- arguments, the default output is used
- - fixed: libqtecasound was compiled even if --disable-qt
- was specified
- - fixed: qtecasound - libqtecasound header include path
- was wrong
- - fixed: ia-mode - problems with '_' -> '-' conversions
- - fixed: -erc, -erm and -epp didn't work as expected if
- both mono and stereo files were present in the
- active setup
- - fixed: minor bugs in ALSA pcm2 support
- - fixed: bugs in OSS capability checking (triggering and
- realtime caps), thanks to Rui Sousa for the fix
- - fixed: bugs in internal looping
-26022000 (v1.7.1d11)
- - added: a new effect preset system, see user's guide and
- ecasound man page for more info
- - added: lots of default presets, see file 'effect_presets'
- - added: an allpass filter (-efa)
- - added: a comb filter (-efc)
- - added: a simple pitch shifter (-ei)
- - added: flanger (-etl), chorus (-etc) and phaser (-etp)
- - added: a new, faster multi-tap delay (-etm)
- - removed: old effect preset files and command line options
- - changed: rewrote the normal compressor (-ec), now takes
- the threshold argument as percents
- - changed: updated Stefan Fendt's rc-lowpass, now a 3rd
- stage, 36dB lowpass filter
- - changed: parsing of command line parameters - most changes
- don't affect the user-interface side
- - fixed: ecatools crashed with multiple inputs
-17022000 (v1.7.0d11)
- - added: qtecasound - chainsetup status
- - added: automatic grouping of realtime and non-realtime
- audio objects for better performance
- - added: two-stage linear envelope (-kl2)
- - added: 'run' command to ia-mode - like 'start' but blocks
- until processing is finished
- - added: '-kx' option - this can be used for controlling
- controller parameters with other controllers
- - added: ia-mode command "ctrl-status" (controller status)
- - added: qtecasound - controller status pushbutton
- - added: qtecasound - a nicer looking debug-window
- - added: libqtecasound - a new subpackage containing
- generic GUI objects
- - added: support for chain-to-chain looping, see ecasound(1)
- manual page for more info
- - removed: qtecasound - waveform view
- - changed: ecawave is now the default ext. wave-editor
- - changed: all shortcuts are now alt+key combinations
- - changed: renamed ia-mode commands "cop-add-controller"
- to "ctrl-add" and "cop-remove-controller" to
- "ctrl-remove"
- - changed: qtecasound - some renamed pushbuttons and
- reassigned shortcut keys
- - changed: changes in debugging subsystem, affects '-d'
- behaviour, see ecasound man page
- - changed: rewritten .ewf support with lots of new
- features - see ecasound user's guide for more
- detailed info
- - fixed: qtecasound - position slider wasn't working
- - fixed: instead of just outputting raw ANSI-codes,
- standard ncurses routines are now used
- - fixed: recording from realtime inputs didn't work
- when processing length was not set
- - fixed: setting processing length didn't work in normal
- passive mixing mode (multiple chains)
- - fixed: overrun/underrun problems with ALSA 0.5.x
-30012000 (v1.6.13d11)
- - changed: rtnull reports about over/underruns now
- level-4 debug messages
- - fixed: some problems in mixmode selection
-29012000 (v1.6.12r10) -** public release **-
- - added: support for s24_le, s24_be, s32_le and s32_be
- sample formats
- - added: support for ALSA-subdevices (-o:alsa,card,dev,subdev)
- - added: to ia-mode - 'c-deselect', 'c-select-add'
- - added: improved multitrack-sync
- - added: 'default-double-buffer-size' added to .ecasoundrc
- - changed: ALSA pcm2-devices now opened in nonblock-mode
- - changed: ecasound can now be compiled in a separate obj dir
- - fixed: bugs in channel routing and output mixing
- - fixed: delay effects dumped core with mono inputs
-14012000 (v1.6.11d10)
- - added: -ef4 - 2th-order, 24dB filter which simulates
- an analog active RC-lowpass filter - submitted by
- Stefan Fendt
- - added: support for ALSA 0.5.x (pcm2, no loopback)
- - removed: support for ALSA 0.3.1 and older
- - changed: 'cs-edit' now possible while processing
- - changed: raised-priority mode moved from chainsetups
- to session-level (isn't saved to ecs-files, etc)
- - fixed: removed the huge delay in (dis)connecting chainsetups
- - fixed: 'fw', 'rw', 'setpos' crashed if executed without
- parameters
- - fixed: under/overrun problems with ALSA drivers
- - fixed: stdin/stdout not working
- - fixed: c-add and c-select didn't accept multiple parameters
- - fixed: problems with -etf memory handling
-03012000 (v1.6.10d10)
- - added: a realtime null audio device 'rtnull' - simulates
- soundcard behaviour (warns about over/underruns)
- - changed: 'make install' isn't forced anymore
- - changed: mono noisegate (-enm) replaced with a new
- multichannel noisegate
- - changed: behaviour of -r; now changes scheduling policy
- to SCHED_FIFO (realtime) - beware! this gives
- better performance, but might cause total
- lock-ups if something goes wrong
- - fixed: improvements to autoconf scripts; --enable-qt and
- --disable-qt now work as expected - thanks to
- Vadim Tkachenko for the patch
- - fixed: seg.faults with some files when using -z:db
- - fixed: many bug fixes to delay effects (-etf, -etr and -etd)
- - fixed: nasty bug in ewf-routines
- - fixed: double-buffered mode (-z:db) sometimes discarded the
- last few bytes before end-of-file
-151299 (v1.6.9r9) -** public release **-
- - notice: changes in version numbering
- - added: linear envelope (-kl), useful for fade-ins/outs
- - changed: signal limiting code moved from chains to output
- mixing stage - when processing multichain setups,
- this is faster and gives more dynamic headroom
- - changed: mikmod default args now "-p 0 --noloops"
- - changed: many improvements to input double-buffering (-z:db)
- and multithreaded mixmode (-m:mthreaded)
- - fixed: bug in testing chainsetup validity
- - fixed: piping bugs that caused mpg123, lame and mikmod
- to hang in some situations
- - fixed: mono noise-gate (-enm) wasn't working
- - fixed: changes to -s broke -sr in 1.6.8r8
-041299 (v1.6.8r8) -** public release **-
- - added: cs-index-select (see ecasound-iam(1))
- - added: more info fiels to cs-status
- - added: configure check for Qt version (must be >= 2.x)
- - fixed: cs-status didn't show all chainsetups
- - fixed: problems with cs-load
- - fixed: processing ended prematurely when mixing
- multiple chains to one output
- - fixed: some uses of C++ namespaces caused compile errors
- with older gcc versions
- - fixed: in addition to '-s:cs_file.ecs', '-s cs_file.ecs'
- is now also accepted
-251199 (v1.6.7r7) -** public release **-
- - changed: some not-so-important runtime info (opening and
- closing devices, etc) is now considered to be
- debug info and is not printed by default
- - changed: position is printed as a floating-point value
- - fixed: qtecasound - lots of bugs
-221199 (v1.6.6d6)
- - fixed: cs-save and cs-save-as didn't work as expected
- - fixed: cs-load didn't work properly
-221199 (v1.6.5d6)
- - added: safety-checks to prevent users from connecting
- invalid chainsetups
- - added: underlines are accepted in ia-mode commands
- - fixed: problems with -ev
- - fixed: minor bugs in audvvio object positioning
-191199 (v1.6.4d6)
- - added: -erc - channel copy (one-to-one) and
- -erm - mix all channels (all-to-one) ; these are
- meant for handling multichannel files
- - added: -y option - set starting position for last specified
- input/output
- - added: -t option - set processing time in seconds (makes
- multitrack cut&paste possible when used with -y)
- - added: -tl option - enable looping (see -y and -t)
- - added: ia-mode: cs-length (like -t), cs-loop (like -tl)
- - added: you can now pass additional options to external
- programs (mpg123, lame, mikmod), specified
- in ~/.ecasoundrc
- - changed: mute + unmute -> mute (on/off toggle)
- - changed: bypass-enable + bypass-disable -> bypass
- - changed: minor changes in ~/.ecasoundrc format (see
- ecasoundrc(5))
- - fixed: tried to reconnect invalid chainsetups
- - fixed: global forward and rewind weren't working
- - fixed: dumped core if number of delays (-etd) was changed
- during processing
- - fixed: gates are working once again
- - fixed: minor bugs in output mixing
- - fixed: -s option wasn't working properly
- - fixed: 8<->16bit conversion
- - fixed: bugs in AIFF output
-161199 (v1.6.3d6)
- - added: new ia-mode commands: aio-forward, aio-rewind,
- aio-setpos, aio-index-select and aio-wave-edit
- (load currently selected audio object into an
- external wave editor)
- - added: support for using tracker modules as input
- sources - uses mikmod (mikmod 3.1.6 + libmikmod
- 3.1.7 or newer required)
- - changed: cleaned up the audio object interface
- - changed: -f parameter format has changed - instead of
- bits, sample type is now specified as a formatted
- string ("u8", "s16_le", "s24_le" and so on)
- - changed: in precise-sample-rate mode, removed all implicit
- sample rate conversions - instead a warning is issued
-121199 (v1.6.2d6)
- - added: all ia-mode commands now implemented&documented
- - added: a little bit of artificial intelligence to command
- interpreting :) - as an example, if you want to start
- processing but no chainsetup is connected, ecasound
- tries to connect the currently selected setup, etc
- - fixed: given a certain combination of forward and rewind
- commands, processing wouldn't start anymore
- - fixed: delay surround mode now works normally
- - fixed: ecatools - files not in the default sample format
- were not handled properly
- - fixed: some bugs in double-buffering
- - removed: adding chain operators to multiple chains is no
- longer possile - this makes the library interface
- more powerful as client programs can have direct
- access to chainops they've added (see
- eca-controller.h for details)
-101199 (v1.6.1d6)
- - added: most interactive-mode commands are now implemented
- - added: new ia-mode commands: c-mute, c-unmute, c-process,
- c-select-all, cs-save-as,
- - added: documentation for nearly all implemented ia-mode
- commands, see ecasound-aim(1)
- - changes: major changes in RPM-packaging
- - fixed: a very nasty bug in dynamic ALSA-support
- - fixed: some effects caused core dumps (bug in the sbuf
- iterator routines)
- - fixed: many minor bug fixes
- - removed: ia-mode commands: exec, end
-081199 (v1.6.0d6)
- - added: iactive mode now uses GNU readline for user input
- - command-line editing, command history and command
- completion (use .inputrc for configuring)
- - added: 30-40 new interactive-mode commands
- - added: ecasound-iam(1) manual page - interactive mode
- documentation
- - added: ecasound user's guide and programmer's guide
- - added: 'default-to-precise-sample-rates' to ecasoundrc -
- whether to ignore sample rate differences (and
- possibly avoid resampling), affects OSS-devices,
- defaults to 'false'
- - added: -z:psr option (see above)
- - changed: reimplemented signal handling using POSIX
- signal handlers (ANSI interface was used before)
- - changed: divided all the bigger modules into smaller
- classes and files (these big modules were
- causing lots of compiler and resource problems)
- - changed: major internal changes (multichannel chain operators,
- improved mixing algorithms, etc)
- - changed: rewritten mp3-support (still using mpg123 and lame)
- - changed: lots of changes in handling external resources
- (wave and text editors, mpg123 and lame parameters,
- etc.) - see 'man ecasoundrc'
- - removed: looping (interactive-mode loop commands)
- - removed: 'sfx' command (iactive-mode)
-011099 (v1.5.16d6)
- - added: changes and additions to libecasound interface are
- from now on logged to libecasound/ChangeLog
- - fixed: errors in -kf documentation
-270999 (v1.5.15d6)
- - changed: optimized various engine and effect routines
- to improve ecasound's performance with
- complex setups
- - fixed: "-ev" max-amplitude wasn't reseted
- - fixed: some finetuning of ALSA buffer handling
-210999 (v1.5.14d6)
- - notice: from now on development versions will be marked
- with a 'd' in the version number
- - added: configure check for libdl library
- - added: "-eac:amp-%,channel" channel amplify
- - changed: "-ea" to "-eaw", amplify with clipping control
- - changed: "-eas" to "-ea", normal amplify
-180999 (v1.5.13r6)
- - added: -sr:srate option - set chainsetup sample rate
- - added: 'default-samplerate' to ~/.ecasoundrc
- - fixed: problems with OSS es1370 drivers (thanks to Billy
- Biggs for the patch)
- - fixed: resonant bandpass wasn't working (-ef1)
-140999 (v1.5.12r6) -** public release **-
- - fixed: problems with libaudiofile (.aiff and .au/.snd
- support)
- - fixed: extra noise when upsampling
- - fixed: qtecasound - chainsetup's name was changed to
- tempfile name if edited with an external editor
- - fixed: qtecasound - conflict with Qt-libs when
- stopping processing (resulted in abort)
-120999 (v1.5.11r5)
- - added: ldconfig is now always run after (un)install of
- binary RPM packages
- - added: if underruns/overruns occur when using ALSA devices,
- a warning message is given on exit (stderr)
- - changed: gcc's -fomit-frame-pointer isn't used anymore
- (caused lots of problems with exceptions)
- - fixed: ecasound tried to use ALSA headers even though
- --disable-alsa was given (eca-alsa-dyn.h and
- eca-midi.h)
- - fixed: audiofx_compressor.h tried to include obsolete
- error.h header file
- - fixed: pan effect (-epp) decreased overall volume level
- - fixed: fake-stereo effect (-etf) wasn't working properly
- - fixed: "make install" created (prefix)/share/ecasound
- with permission mode 644 (only root could access
- the directory)
- - fixed: some problems with effect option parsing
- - removed: simple lowpass filter (-ef2)
-070999 (v1.5.10r5)
- - added: qtecasound - file dialogs now remember the current
- directory
- - added: a much more elegant system for dynamically loading
- ALSA support
- - added: support for ALSA MIDI devices (/dev/snd/midiCxDy)
- - changed: rewrote the MIDI-input sybsystem (works better
- with multiple controllers)
- - fixed: kvutils -package also needed configure script fixes
- to recognise FreeBSD's pthread implementation
- - fixed: although "make install" worked in all cases,
- plain "make" didn't work if installing ecasound
- 1.5.x for the first time
- - fixed: crashed if you had two chainsetups with ALSA devices
- and you tried to delete the other one
- - fixed: crashed in some conditions when closing .wav and
- .raw files
-040999 (v1.5.9r5)
- - changed: qtecasound - in all windows with list widgets,
- if no item is selected, current item (if any)
- is used for all operations
- - changed: in most cases, '-r' option (raise priority) isn't
- needed anymore (see ecasound and ecasoundrc man
- pages for more info)
- - changed ecasoundrc - 'x-text-editor-use-getenv' is now
- 'true' by default
- - fixed: resonant lowpass filter was once again broken
- - fixed: configure should now recognise FreeBSD's pthread
- implementation (not tested yet)
- - fixed: in some rare cases, engine was started in interactive
- mixmode while the interface was in passive mode
- (-> program started but didn't do anything)
-030999 (v1.5.8r5)
- - added: '!' shortcut to all windows (keyboard focus to
- control panel)
- - changed: some Makefile changes for excluding static
- ecasound libraries from the binary dist packages
- (managed to shrink binary-rpms by nearly a 1MB!)
- - fixed: qtecasound - shortcut-key fixes in chainsetup window
- - fixed: qtecasound - waveform view positioning is now much
- more precise than before
- - fixed: qtecasound - core dumps when exiting
-020999 (v1.5.7r5)
- - added: qtecasound - chainsetup window now has a wave-edit
- button which loads the active file into a external
- wave editor; defaults to "snd", can be changed by
- changing the value of "x-wave-editor" in
- ~/.ecasoundrc
- - added: qtecasound - support for external text editors
- (can be launched from session window) - saves the
- active chainsetup to a text file, loads it to an
- editor and afterwards updates file's content back
- to ecasound - if "x-text-editor-use-getenv true"
- is specified in ~/.ecasoundrc, ecasound uses
- EDITOR environment variable if it's available,
- otherwise value of "x-default-text-editor" is
- used ... an of course, default value for this is
- the ultimate musicians tool: emacs! ;)
- - changed: qtecasound - some minor changes to session and
- chainsetup widgets
- - changed: .ews format (wave view cache files) has changed,
- ecasound can still read the old format
- - changed: qtecasound - "activate" button changed to a
- "change status" button which rotates through
- inactive->active->connected->inactive ...
- - fixed: qtecasound - enabling/disabling chains sometimes
- resulted in program crashes
- - fixed: all structs found in ecasound source code now
- use the standard type definations from sys/type.h
- (format "[u_]int'bits'_t") - this should solve some
- compatibility problems with non-x86 platforms -
- thanks for Guenter Geiger for notifying about these
- - fixed: a few fixes to the new double-buffering system -
- lots of buffer parameter fine-tuning
-290899 (v1.5.6r5)
- - added: "-z:feature" command line option for enabling
- misc features
- - added: mmap-based double-buffering now disabled by
- default, enable it with "-z:db" or by putting
- "default-to-double-buffering true" to your
- ~/.ecasoundrc
- - added: when upgrading ecasound, new resource values
- will be automatically added to your ~/.ecasoundrc
- - fixed: crashes when getting error messages from alsa-lib
- (for instance when using invalid card and device
- numbers)
- - fixed: a few Makefile problems in 1.5.x versions
- (thanks for Vadim Tkachenko for reporting these)
-280899 (v1.5.5r5)
- - added: improvements to resource file (~/.ecasoundrc)
- handling - resource files can now have comment
- lines (lines beginning with a '#'); resource
- files are rewritten only if resource values are
- changed directly from ecasound; '=' sign can be
- used as a name-value separator
- - fixed: since version 1.5.2r5, .cdr input/output hasn't
- worked (reversed byteorder when reading .crd
- files, .cdr output files weren't padded correctly)
-270899 (v1.5.4r5)
- - added: experimental support for double-buffered
- mmap() file i/o (currently implemented
- for .wav/.raw input only)
- - fixed: thread-priority was always risen (once again)
-210899 (v1.5.3r5)
- - added: a lowpass filter effect (-ef2); not as good
- as the other lowpass filters (-efl and -ef3), but
- should be a bit faster
- - fixed: 1.5.2r5 was really _slow_ (a file seek bug)
-200899 (v1.5.2r5)
- - added: "-x" command line option - truncate outputs
- - added: sample rate conversion (resampling) - if audio
- object's sample rate differs from ecasound's
- internal rate the signal gets resampled
- (internal rate is currently 44100; can be
- changed from samplebuffer.h)
- - changed: gcc 2.95.1 is now used when developing
- ecasound; precompiled packages require libstdc++
- 2.10.0 (comes with gcc 2.95.1) or newer
- - fixed: few minor fixes to the noisegate effect
- - fixed: upon creation, more precision is used to print
- effect parameters
-190899 (v1.5.1r5)
- - fixed: problems with filters
-180899 (v1.5.0r5)
- - added: ecatools package which now consists of programs
- ecatools_normalize, ecatools_fixdc and
- ecatools_play - see ecatools(1) man page
- - changed: ecasound and qtecasound now have their own
- source trees; rest of ecasound is compiled
- into the libecasound.so shared library
- - changed: to make ecasound relocatable, preset files are now
- installed to standard data dir (defaults to
- /usr/local/share/ecasound)
- - changed: lot of source file name changes
- - changed: ALSA support (libasound.so library) is now loaded
- dynamically at runtime
- - fixed: you had to have yodl installed to to install ecasound
- man pages
-150899 (v1.4.6r5) -** public release **-
- - added: qtecasound - along with some other improvements,
- waveform widget now uses cache files to store
- wave statistics; for file "somefile.wav", cache
- file "somefile.wav.ews" is used
- - fixed: reading and writing aiff files works again;
- some aiff files created with sox still seem to
- cause trouble (might be a problem with
- libaudiofile)
- - fixed: qtecasound - a nasty mutex bug which caused ecasound
- to crash if you tried to use a chainsetup which has
- more inputs than chains
-120899 (v1.4.5r4):
- - added: qtecasound - dialogs for adding, removing and
- attaching inputs and outputs
- - added: support for null inputs/outputs
- - added: effect status is now printed when exiting ecasound
- (doesn't affect interactive mode)
- - added: if OSS drivers for your soundcard don't support
- trigger functions, you can disable these with
- configure option "--disable-osstrigger"
- - added: -ev effect (analyze sample data) now also tells
- how much the analyzed signal can be amplified
- without clipping
- - added: debug level can now be set in iactive mode with
- "debug level" command
- - changed: qtecasound - shortcuts a, A and ctrl-a now do
- the same thing; applies to all shortcuts
- - fixed: adding a chain without a valid output resulted in
- hangs when using multithreaded mixmode
- - fixed: didn't compile with alsa-lib versions older than 0.3.1
- - fixed: "ecasound -h" dumped core
-010899 (v1.4.4r4)
- - added: qtecasound - now asks for a name when adding chainsetups
- - added: qtecasound - adding and deleting chains
- - changed: some layout changes
-290799 (v1.4.3r4)
- - changed: if format supports it, outputs are now opened in
- read-write mode; currently supported by .wav,
- .cdr and .raw; when you use these as outputs, files
- aren't truncated if they exist
- - fixed: qtecasound - active chainsetup was always saved even
- if some other chainsetup was selected
- - fixed: qtecasound - crashed if you changed the active
- chainsetup and you had a waveform window open
- - fixed: qtecasound - crashed if tried to activate
- a invalid chainsetup
- - fixed: if you wrote to a output file, its length was
- not changed (from ecasound's viewpoint)
-270799 (v1.4.2r4)
- - fixed: samplebuffer.h still tried to include ,
- which is both not necessary and a wrong place to
- look for it; thanks to Torbjorn Tornkvist and
- Xavier Hosxe for notifying me
- - fixed: qtecasound - using multithreaded mixmode, changing
- chainsetups on the fly caused a lot of problems
- - fixed: qtecasound - shortcut keys didn't work with CLI
-270799 (v1.4.1r4)
- - added: qtecasound - chain widget now monitors effect
- parameters
- - added: qtecasound - support for double clicks and return
- presses for various widgets
- - added: qtecasound - some new features to the waveform widget
- - changed: from now on, interactive mode isn't automatically
- enabled, if a realtime input is specified
- - changed: names of some functions (I'm trying to be careful
- how I use 'new' and 'add', 'load' and 'open', etc
- - fixed: qtecasound - waveform widget crashed qtecasound if
- the analyzed file had less than 76800 samples
- - fixed: if processing was completed and was restarted without
- a rewind/setpos, ecasound crashed/hang
- - fixed: raised-priority mode was sometimes enabled even
- without the -r option
- - fixed: qtecasound - when using multithreaded mixmode,
- exiting sometimes resulted in core dump or segfault
-250799 (v1.4.0r4)
- - added: qtecasound - waveform widget; graphical representation
- for input/output objects
- - added: qtecasound - chain widget; view chain status
- - added: qtecasound - chainsetup widget; status of input,
- output and chain objects, enable/disable chains
- - added: qtecasound - session-setup widget; load and save
- chainsetups, create new ones, etc
- - changed: can now be started without a valid chainsetup if
- interactive mode is enabled
- - fixed: *serious bug* if end of input was reached,
- that input remained silent until ecasound was
- restarted (has been broken since 1.3.0r3)
-240799 (v1.3.3r4)
- - added: -n option, sets chainsetup's name
-230799 (v1.3.2r4)
- - added: a new compressor - thanks for Viktor Endersz for
- sending it to me and John S. Dyson for coding it;
- it really works like a dream! (option -eca)
- - fixed: some fixes to my old compressor (now that we
- have a better one, this should be used only if
- you really want brutal results :))
- - fixed: due to some changes in ALSA libs, ecasound
- wouldn't compile with ALSA versions >0.3.2;
- haven't tested it, but should now work with both
- new and old ALSA libs
-200799 (v1.3.1r4) -** public release **-
- - fixed: delay effect was broken; while fixing this I also
- added a new surround mode, 2 = stereo-spread
- - fixed: more bugs with ALSA and OSS input routines;
- did some multitrack recording with both of them
- and got suprisingly good results (it seems that
- finding the optimal buffer size is the key to success)
-190799 (v1.3.0r3)
- - added: support for sessions and chainsetups; now you can
- store the whole runtime setup to an ascii file and
- load it back; the syntax used is exactly the
- same as the command line syntax so editing these
- saved chainsetup files is easy
- - added: "-s[:]filename" command line option for loading
- chainsetup files
- - added: "load filename" and "save filename" commands to
- the interactive-mode (for chainsetups)
- - added: support for libaudiofile (SGI audiofile) library;
- new file formats: .aiff, .au and .snd; (linking to
- audiofile can be prevented with --disable-audiofile
- option to the configure script)
- - added: -q option (quiet mode), disables all output
- - added: support for raw/headerless (.raw) input/output files
- - added: support for using standard system input and output
- streams (-i:stdin, -o:stdout)
- - added: finished the man pages, all important options and
- features should now be covered
- - fixed: file name ending with a upper-case extension
- wasn't recognised
- - fixed: when using multithreaded mixmode with complex setups,
- threads sometimes went out of sync causing strange
- behaviour
- - changed: size of sample buffer objects can now be changed
- on-the-fly (output files are not aligned to
- buffersize anymore) -> this makes ecasound more
- usable as a format conversion tool
- - changed: compressor wasn't working, decided to code
- a new one (still experimental but works better
- than the last one)
-140799 (v1.2.3r3)
- - added: support for .mp2 files
- - fixed: still some bugs in selecting mixmode
- - fixed: automatic stereo-mono conversion wasn't working
- at all (as all chains are internally stereo, this
- occured everytime you specified a mono output, even
- if the input was mono, too)
-130799 (v1.2.2r3)
- - added: ALSA devices can now also be opened by specifying
- the actual device name (/dev/snd/pcm...)
- - changed: default output is now always attached to chain 'all'
- - fixed: start/stop/forward/rewind with ALSA-output sometimes
- resulted in loud crackle
- - fixed: some bugs in the position slider of qtecasound
- - fixed: 'noise-gate-mono' effect was rewritten as it didn't
- seem to work very well
-120799 (v1.2.1r3) -** public release **-
- - added: 'make install' now creates /etc/ecasound directory
- and copies all the configuration/preset files
- to this directory (existing files/dirs are skipped)
- - added: lots of crash-guards to command line parsing
- - added: frequently-asked-questions file (both txt and html)
- - added: new options to the configure script: --disable-alsa,
- --disable-oss and --disable-qt
- - fixed: bugs in mixmode multithreaded-iactive (crashed
- pretty much everytime)
- - fixed: estatus output was sometimes pretty messy
-110799 (v1.2.0r2)
- - added: support for ALSA input/output
- - added: a lot of new documentation to the man pages
- - added: new configurable options to ~/.ecasoundrc
- (default-buffersize, default-to-interactive-mode,
- default-to-raisepriority)
- - added: finally implemented the 'help' command in
- the interactive-mode; also added a prompt, which
- should help a bit :)
- - added: autoconf and automake additions; now qtecasound is
- compiled only if qt library is found, OSS and
- ALSA modules are compiled if the necessary
- headers and libraries are available
- - added: support for single-chain effect presets (-ps command
- line option)
- - fixed: bugs with OSS-input (device was sometimes closed
- multiple times resulting in core dumps)
- - fixed: auto-runmode used 'simple-iactive' mixmode
- although iactive-mode wasn't set
- - fixed: looping wasn't working properly
- - fixed: -m option wasn't working
- - removed: simple filter effect (not really useful)
- - removed: 'Waiting for the processing thread'
- messagebox (qtecasound)
-100799 (v1.1.8r2)
- - fixed: more synchronisation bugs
-050799 (v1.1.6r2)
- - added: rewrote the man-pages using Yodl; now they're
- also available in HTML-format
- - fixed: OSS-output module used a non-standard location
- for soundcard.h (noticed by D.Phillips)
-010799 (v1.1.5r2) -** public release **-
- - tested: did some real recording and mixing work with this
- version and after a few fixes, everything seems
- to work ok
- - added: now checks whether a chainop supports parameter
- controlling or not
- - added: a lot of new documentation (especially to
- 'Documentation/examples.html')
- - fixed: chain 'all' wasn't working properly
- - fixed: multitrack chain synchronization was broken; should
- now work even with complex setups
- - fixed: a serious bug in OSS-input: ecasound always threw
- an "read-error" exception when trying to read from
- OSS input
- - fixed: analyze effect (-ev) output didn't work
-300699 (v1.1.4r1) -** public release **-
- - notice! first release; should be considered beta
- - fixed: if mp3 files had white-spaces in their filenames,
- filenames weren't interpreted correctly
-250699 (v1.1.3r0)
- - more bug fixes
- - tested rpm-packaging and seemed to work ok
-230699 (v1.1.2r0)
- - bug fixes
-190699 (v1.1.1r0)
- - fixed: some bugs in exception handling
- - qtecasound: added a not-implemented message screen! ;)
-180699 (v1.1.0r0)
- - all major features of ecasound v0.9.x and earlier are
- now implemented to the new program design
- - support for gates (time crop gate and threshold gate
- implemented)
- - support for ~/.ecasoundrc configuration file
- - support for GNU autoconf and automake
- - added some new command line shortcuts
- - qtecasound: added a position slider widget (displays and
- enables to change current position)
- - qtecasound: removed waveform and volume meter widgets;
- they will reappear in the "Chain Setup"
- window (still under work)
-160699 (v1.0.8r0)
- - mp3 output support (using lame)
-150699 (v1.0.7r0)
- - fixed: waveform -output now works with all inputs
- (for instance showing mp3 waveforms is now possible)
- - routines for interfacing with mpg123 recoded;
- a lot more stable than before
- - qtecasound now uses the new qt library (v2.0beta2)
- - support for various controllers (sine oscillator, MIDI
- cc-controllers, generic oscillator etc)
- - fixed: when ecasound was stopped with ctrl-c or kill,
- proper cleanup wasn't done
-100699 (v1.0.6r0)
- - a new wave-form view
-080699 (v1.0.5r0)
- - multitrack-mode sync-routines rewritten and tested
- - various mixmode bugs fixed
-040699 (v1.0.4r0)
- - simple graphical vu-meters added to test the new io-system
-030699 (v1.0.3r0):
- - multithread-io mode: one chain can be processed and mixed
- while waiting for getting data from other chains
-020699 (v1.0.2r0):
- - a better way to deal with system endianess
- - new chain-operator routines; unless there are no no chainops,
- signal is always put through a clip control routine which
- ensures that all sample values fit the value range
-010699 (v1.0.1r0)
- - fixed a _lot_ of bugs
-310599 (v1.0.0r0)
- - changed version numbering
- - major changes in nearly all program modules aiming at
- a more modular and abstract design
- - fix: resonant_bandpass_filter wasn't working anymore
-190599 (v0.9.10)
- - mp3 support using mpg123 (readonly)
- - X-Window GUI added (using Qt-libraries)
-260499 (v0.9.x)
- - support for multitrack recording
- - independent effect chains
- - interactive command-line-interface (CLI)
- - looping (loop, loop_start, loop_end)
- - new debug -system
- - man -pages
-311098 (v0.80)
- - support for MIDI-controllers
- - now uses glibc v2.0 and linuxthread libraries
-041098 (v0.70)
- - began to upkeep this history file
- - fixing the gate-functions
----
-1998: - changed development platform from Os/2 to Linux
-1997-98: - complete rewrite in C++; name changed from "wavstat" to "ecasound"
-1995-97: - started working with this project; original program
- was called "wavstat" and it basicly was just
- a very simple command line DSP util (running under Os/2)
-
------------------------------------------------------------------------
diff --git a/library/ecasound/README b/library/ecasound/README
deleted file mode 100644
index 190055d15..000000000
--- a/library/ecasound/README
+++ /dev/null
@@ -1,323 +0,0 @@
-=======================================================================
-*** Ecasound - README (author/maintainer: Kai Vehmanen) ***
-=======================================================================
------------------------------------------------------------------------
- What is it?
------------------------------------------------------------------------
-
-Ecasound is a software package designed for multitrack audio
-processing. It can be used for simple tasks like audio playback,
-recording and format conversions, as well as for multitrack effect
-processing, mixing, recording and signal recycling. Ecasound supports
-a wide range of audio inputs, outputs and effect algorithms.
-Effects and audio objects can be combined in various ways, and their
-parameters can be controlled by operator objects like oscillators
-and MIDI-CCs. A versatile console mode user-interface is included
-in the package.
-
-Primary platform for running Ecasound is Linux. Ecasound also
-works on many UNIX-derived systems such as FreeBSD and Solaris.
-Limited support for Windows is available through Cygwin.
-
------------------------------------------------------------------------
- How do you... (author: Kai Vehmanen)
------------------------------------------------------------------------
-
-... spell the name?
-
-I haven't been very consistent with this, but at least in principle,
-when capitalized, the name refers to the whole package. When in lower
-case, it refers to the console mode application which happens to have
-the same name.
-
-"Ecasound" = the whole package
-"ecasound" = the console mode client application (binary)
-
-... pronounce the name?
-
-Any way you want! :) Personally I say something to the effect of
-"eck-uh-sound". Start from "megasound", and omit pronouncing the
-'m' at the start, and replace 'g' with a sharper 'k' sound, like
-in the word "car".
-
------------------------------------------------------------------------
- Story behind Ecasound (author: Kai Vehmanen)
------------------------------------------------------------------------
-
-I started developing Ecasound because I needed an application to
-record, process and mix my own music. The first versions of Ecasound
-ran under IBM OS/2. I used those versions for finalizing my analog
-4-track recordings.
-
-The analog 4-track - Tascam 414 - was a nice tool, but it
-had its limits. So eventually I started looking for PC software
-that supported multitrack recording. The first programs I used were
-for Windows. I still used the OS/2 version of Ecasound for effects
-processing and finalizing my mixes. Although I'm not fanatical
-about operating systems, I did prefer (and still do) to use Linux
-for my computing needs. I also hate rebooting between multiple
-systems all the time, so it was time to do a port.
-
-When I ported Ecasound to Linux, a lot of functionality was rewritten
-from scratch. During this work I also added multitrack capabilities
-to Ecasound. It took quite a lot of effort to put it all back
-together, but in the end I reached the point where I could do
-all the audio processing tasks on Linux. As an additional benefit
-I now had source code for - and thus control over - all tools I used
-for audio processing.
-
-Nowadays I still use Ecasound for my music projects. This is also
-the primary motivation for continuing the development work. There is
-always something to improve.
-
------------------------------------------------------------------------
- Requirements
------------------------------------------------------------------------
-
-To run Ecasound, you need...:
-
-- Operating system that provides standard POSIX/SUS interfaces. Ecasound
- has been reported to run succefully on various combinations of GNU/Linux
- (starting from Linux 2.2+ and glibc 2.1+), FreeBSD 4.x+, Solaris 2.6+,
- Mac OS X 10.3+ and Win32/Cygwin 1.3.20+.
-
-Optional when running Ecasound:
-
-- for real-time audio input/output: ALSA, JACK or OSS runtime
-- for mp3 support: mpg123 (input) and lame (output) packages
-- for Ogg Vorbis support, the vorbis-tools package (ogg123 and oggenc)
-- for .aac/.m4a/.mp4 file support, the FAAC/FAAD2 tools
-- for .flac support, the FLAC package
- - note: since ecasound 2.4.5, libsndfile is the preferred
- way for reading and writing FLAC files
-- for MIDI .mid file input: Timidity++
-- for tracker module support: MikMod package
-- for aRts (legacy KDE) support: the aRts server suntime
-
-To compile Ecasound, you also need...:
-
-- POSIX/SUS development environment, compatible with
- 'The Single UNIX Specification, Version 2' (UNIX98):
- - http://www.unix.org/version2/
- - http://www.opengroup.org/onlinepubs/007908799/index.html
- Ecasound requires the following feature groups:
- - "Realtime":
- http://www.opengroup.org/onlinepubs/007908799/xsh/realtime.html
- - "Realtime Threads":
- http://www.opengroup.org/onlinepubs/007908799/xsh/feature.html#tag_000_005_003
-- Standard C++ build environment (with support for STL and
- exceptions); tested with egcs 1.1.2, gcc versions 2.91.66,
- 2.95.X, 3.0-3.4, 4.0-4.3, and Sun Workshop 6 C5.2 C++.
-- GNU make
- - http://www.gnu.org/software/make/
-
-Optional when compiling Ecasound:
-
-- for extented file format support (aiff, snd, w64 and so forth):
- - libaudiofile (SGI audio file library) runtime, and/or
- - libsndfile
-- for higher quality resampling: libsamplerate
-- for pyecasound, the Python devel package
-- for curses support, the ncurses devel package
-- for LADSPA support, the LADSPA SDK package
-- for ALSA support, the ALSA devel package
-- for JACK support, the JACK devel package
-- for aRts support, the aRts C-API devel package
-- for inner loop optimizations (performance improvements),
- the liboil package
-- for Open Sound Control (OSC) support, liblo package
-
-Additional packages needed, when building Ecasound from a clean
-version control checkout:
-
-- automake
- - http://www.gnu.org/software/automake/
-- autoconf 2.50+
- - http://www.gnu.org/software/autoconf/
-- libtool
- - http://www.gnu.org/software/libtool/
-- pkg-config
- - http://pkg-config.freedesktop.org/wiki/
-
------------------------------------------------------------------------
- Installing
------------------------------------------------------------------------
-
-You should first try installing Ecasound from a binary package (files
-in rpm, dpkg, etc format -- depends on your system). On some systems
-Ecasound is part of the distribution and can be installed easily with
-tools such as apt-get, yum and others. This is probably the easiest and
-most straightforward way to install Ecasound.
-
-If you need to compile Ecasound, the file 'INSTALL' contains detailed
-instructions on how to do this.
-
------------------------------------------------------------------------
- Documentation
------------------------------------------------------------------------
-
-Ecasound documentation is updated whenever new features are added
-or existing features are modified. Some things are not documented
-in great detail, but on the other hand, documentation is kept
-up-to-date. So in short, correctness over volume. The primary
-documentation sources are:
-
-- Ecasound User's Guide
-- Ecasound Programmer's Guide
-- Ecasound Control Interface Guide
-- manual pages
- - ecasound(1)
- - ecatools(1): ecaplay(1), ecaconvert(1), ...
- - ecasound-iam(1)
- - ecasoundrc(5)
-- misc HTML-formatted docs (Documentation/*.html)
-- command line help
- - ecasound --help
-
-Probably the best place to start is the examples section of
-Ecasound's HTML-documentation (Documentation/examples.html).
-
------------------------------------------------------------------------
- Mailing lists
------------------------------------------------------------------------
-
-- ecasound-list at lists dot sourceforge dot net:
-
-A general discussion forum for developers and users of Ecasound and
-related tools. Announcements of new versions, bug warnings, etc will be
-posted to this list. If you have problems compiling, installing or
-using Ecasound, this is a good place to ask for help. Reports of
-working software/hardware combinations are also welcome. You can
-browse the message archives at http://eca.cx/ecasound-list/
-
-You can join the lists using the following web front-end:
-http://eca.cx/ecasound/mlists.php
-
-- linux-audio-announce at lists.linuxaudio.org
-
-Announcements of Ecasound releases will, in addition to
-ecasound-list, be sent to the linux-audio-announce list. See the
-list home page at http://www.linuxdj.com/audio/lad/subscribelaa.php
-for more information.
-
-You can also subscribe to Ecasound releases at http://freshmeat.net .
-All Ecasound releases will be announced at Freshmeat.
-
------------------------------------------------------------------------
- Reporting bugs
------------------------------------------------------------------------
-
-See the 'BUGS' files.
-
------------------------------------------------------------------------
- Web sites
------------------------------------------------------------------------
-
-Ecasound home site
-- http://eca.cx/ecasound
-
-Download releases
-- http://ecasound.seul.org/download/ (primary site)
-- http://ecawave.sf.net/download/ (mirror)
-- http://eca.cx/download/ (mirror)
-
-Eca projects portal (links, apps based on Ecasound, etc)
-- http://eca.cx
-- http://ecasound.seul.org (US mirror)
-- http://ecasound.sourceforge.net (another US mirror)
-
-Examples of real-life Ecasound usage
-- http://eca.cx/ecasound_users.html
-
------------------------------------------------------------------------
- About free open-source software (FOSS) development
------------------------------------------------------------------------
-
-You should keep in mind that FOSS [1] development process differs
-greatly from closed commercial development. Active participation,
-both from developers and users, is what pushes a FOSS project forward.
-
-Every succesful FOSS project has an active userbase behind it. This
-means that your comments, ideas and bug reports are extremely
-important. If something does not work, or some feature is missing,
-be active. Either try to fix the problem yourself, or report it
-on the ecasound-list mailing list.
-
-[1] Although Ecasound is free software (http://www.gnu.org), it also
- fits the definition of open-source software (http://www.opensource.org/).
- Although the two initiatives have different goals, they also share
- a lot in common. The term FOSS is used to refer to both of them,
- while still acknowledging the difference between the two.
-
------------------------------------------------------------------------
- How stable is stable?
------------------------------------------------------------------------
-
-Although publically released versions are called stable, this is not
-a guarantee of any kind. Before releases, a small set of test cases is
-run to verify that all basic features are working. The developers
-also use the very latest versions themselves, so hopefully at least
-all obvious bugs are found before stable releases are made. But
-otherwise no guarantees are given.
-
-On the other hand, as Ecasound is free software, you have the
-possibility to review the code yourself, perform tests, and fix any
-bugs you might find, or get someone to fix them for you. In the end
-you have the control.
-
-The more people there are participate in Ecasound development, testing
-and related discussions, the better Ecasound will become!
-
------------------------------------------------------------------------
- Authors
------------------------------------------------------------------------
-
-See the file 'AUTHORS'.
-
------------------------------------------------------------------------
- Thanks to
------------------------------------------------------------------------
-
-DotCX (www.nic.cx)
- For providing 'eca.cx' domain free of charge 2000-2004.
-SEUL (www.seul.org)
- For hosting Ecasound CVS, ftp, and http services since 1999.
-SourceForge.net
- For hosting Ecasound, Ecawave and Ecamegapedal ftp and
- http mirror sites since 1999.
-Wakkanet Oy (www.wakkanet.fi)
- For various hosting services 1999-2004.
-
-Linux-audio-dev community
- Always a great source of inspiration! Special thanks
- to Paul Davis, who has kept on pushing Linux audio
- forward all these years.
-
-Endersz, Viktor
- For sending me the adv.compressor source code!
-Phillips, Dave
- The 'Linux Sound & MIDI' website was the reason
- why I initially got interested in Linux audio!
-
-And of course, to all the contributors (see the file 'AUTHORS')
-and to users who have given feedback, ideas and helped with testing!
-
------------------------------------------------------------------------
- Licensing/distribution policy
------------------------------------------------------------------------
-
-Copyright (C) 1997-2010 Kai Vehmanen and others (see the file
-'AUTHORS' for full list of copyright holders).
-
-Ecasound is freely distributable according to the terms of the
-GNU General Public License (see the file 'COPYING.GPL').
-
-This program is distributed without any warranty. See the file
-'COPYING.GPL' for details.
-
-As an exception to the above, the C, C++ and python implementations
-of the Ecasound Control Interface (ECI) are licensed under the LGPL
-(see the file 'COPYING.LGPL'). This allows writing ECI applications
-that are not licensed under GPL.
-
-=======================================================================
diff --git a/library/ecasound/TODO b/library/ecasound/TODO
deleted file mode 100644
index 0cd6ca52e..000000000
--- a/library/ecasound/TODO
+++ /dev/null
@@ -1,23 +0,0 @@
------------------------------------------------------------------------
-*** Ecasound - To do list / Plans ***
------------------------------------------------------------------------
-
-Ecasound bug tracker at sourceforge.net
------------------------------------------------------------------------
-
-The Ecasound bug tracker at sourceforge.net is also used to track
-feature requests:
-
- - https://sourceforge.net/tracker/?group_id=4605&atid=104605
-
-This same tracker is used for both longstanding bugs, as well as
-for keeping tracking of feature/improvement requests. It replaces
-the old Ecasound Development Item practise (items marked with 'edi-x'
-tags) that was used during years 2002-08.
-
-Active development areas
------------------------------------------------------------------------
-
-Probably the best way to follow active development is to
-subscribe to the ecasound-list mailing list (see the "Mailing
-lists" section in README).
diff --git a/library/ecasound/acinclude.m4 b/library/ecasound/acinclude.m4
deleted file mode 100644
index 627dc9a8b..000000000
--- a/library/ecasound/acinclude.m4
+++ /dev/null
@@ -1,219 +0,0 @@
-dnl ---
-dnl acinclude.m4 for ecasound
-dnl last modified: 20050816-13
-dnl ---
-
-## ------------------------------------------------------------------------
-## Check for JACK support
-##
-## defines: ECA_AM_COMPILE_JACK, ECA_S_JACK_LIBS, ECA_S_JACK_INCLUDES,
-## ECA_COMPILE_JACK, ECA_JACK_TRANSPORT_API
-## ------------------------------------------------------------------------
-
-AC_DEFUN([AC_CHECK_JACK],
-[
-AC_CHECK_HEADER(jack/jack.h,jack_support=yes,jack_support=no)
-
-AC_ARG_WITH(jack,
- [ --with-jack=DIR Compile against JACK installed in DIR],
- [
- ECA_S_JACK_LIBS="-L${withval}/lib"
- ECA_S_JACK_INCLUDES="-I${withval}/include"
- jack_support=yes
- ])
-
-AC_ARG_ENABLE(jack,
- [ --enable-jack Enable JACK support (default=yes, if found)],
- [
- case "$enableval" in
- y | yes)
- AC_MSG_RESULT(yes)
- jack_support=yes
- ;;
-
- n | no)
- AC_MSG_RESULT(no)
- jack_support=no
- ;;
-
- *)
- AC_MSG_ERROR([Invalid parameter value for --enable-jack: $enableval])
- ;;
- esac
- ])
-
-AM_CONDITIONAL(ECA_AM_COMPILE_JACK, test x$jack_support = xyes)
-
-if test x$jack_support = xyes; then
- AC_DEFINE([ECA_COMPILE_JACK], 1, [enable JACK support])
- ECA_S_JACK_LIBS="${ECA_S_JACK_LIBS} -ljack"
- case "$host" in
- *darwin*)
- AM_LDFLAGS="$AM_LDFLAGS -framework CoreAudio"
- ;;
- esac
-fi
-
-AC_LANG_C
-old_cppflags=$CPPFLAGS
-old_ldflags=$LDFLAGS
-old_INCLUDES=$INCLUDES
-CPPFLAGS="$CPPFLAGS $ECA_S_JACK_INCLUDES"
-LDFLAGS="$LDFLAGS $ECA_S_JACK_LIBS"
-INCLUDES="--host=a.out-i386-linux"
-
-AC_TRY_LINK(
-[ #include ],
-[
- jack_position_t t;
- int *a = (void*)&jack_transport_query;
- int *b = (void*)&jack_transport_start;
- int *c = (void*)&jack_transport_stop;
- int *d = (void*)&jack_transport_locate;
- t.frame = 0;
- t.valid = 0;
- return 0;
-],
-[ ECA_JACK_TRANSPORT_API="3" ],
-[ ECA_JACK_TRANSPORT_API="2" ]
-)
-
-AC_TRY_LINK(
-[ #include ],
-[
- jack_transport_info_t t;
- t.state = 0;
- return 0;
-],
-[ ECA_JACK_TRANSPORT_API="1" ],
-[ true ]
-)
-
-CPPFLAGS="$old_cppflags"
-LDFLAGS="$old_ldflags"
-INCLUDES="$old_INCLUDES"
-
-echo "Using JACK transport API version:" ${ECA_JACK_TRANSPORT_API}
-AC_DEFINE_UNQUOTED([ECA_JACK_TRANSPORT_API], ${ECA_JACK_TRANSPORT_API}, [version of JACK transport API to use])
-
-AC_SUBST(ECA_S_JACK_LIBS)
-AC_SUBST(ECA_S_JACK_INCLUDES)
-])
-
-## ------------------------------------------------------------------------
-## Check for LFS (now deprecated, v3 is only a stub that doesn't
-## peform any checks)
-##
-## version: 3
-##
-## refs:
-## - http://www.gnu.org/software/libtool/manual/libc/Feature-Test-Macros.html
-## - http://www.suse.de/~aj/linux_lfs.html
-## - http://en.wikipedia.org/wiki/Large_file_support
-##
-## modifies: AM_CXXFLAGS, AM_CFLAGS
-## defines: enable_largefile
-## ------------------------------------------------------------------------
-##
-
-AC_DEFUN([AC_CHECK_LARGEFILE],
-[
- echo "checking for largefile support (>2GB files)..."
-
- dnl note: this is only for backwards compatibility
- AC_ARG_WITH(largefile,
- [ --with-largefile deprecated option, now used by default], [])
-
- AC_SYS_LARGEFILE
- if test x$ac_cv_sys_file_offset_bits = x64 ; then
- dnl note: Just to be sure that the define is there even
- dnl if config.h is not included in right order w.r.t.
- dnl the system headers.
- AM_CXXFLAGS="$AM_CXXFLAGS -D_FILE_OFFSET_BITS=64"
- AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64"
-
- enable_largefile=yes
- fi
-
- dnl old checks
- dnl ----------
- dnl [ if test "x$withval" = "xyes" ; then
- dnl enable_largefile="yes"
- dnl fi
- dnl ]
- dnl if test "x$enable_largefile" = "xyes"; then
- dnl dnl AC_DEFINE(_FILE_OFFSET_BITS, 64)
- dnl dnl AC_DEFINE(_LARGEFILE_SOURCE)
- dnl AM_CXXFLAGS="$AM_CXXFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
- dnl AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
- dnl AC_MSG_RESULT(yes.)
- dnl else
- dnl AC_MSG_RESULT(no.)
- dnl fi
-
-])
-
-## ------------------------------------------------------------------------
-## Check whether namespaces are supported.
-##
-## version: 3
-##
-## defines: ECA_USE_CXX_STD_NAMESPACE
-## ------------------------------------------------------------------------
-##
-AC_DEFUN([AC_CHECK_CXX_NAMESPACE_SUPPORT],
-[
-AC_MSG_CHECKING(if C++ compiler supports namespaces)
-AC_LANG_CPLUSPLUS
-old_cxx_flags=$CXXFLAGS
-CXXFLAGS="-fno-exceptions $CXXFLAGS" # hack around gcc3.x feature
-AC_TRY_RUN(
-[
-#include
-#include
-
-using std::string;
-
-int main(void)
-{
- string s ("foo");
- std::vector v;
- return(0);
-}
-],
-[
- AC_MSG_RESULT(yes.)
- AC_DEFINE([ECA_USE_CXX_STD_NAMESPACE], 1, [use C++ std namespace])
-],
-[
- AC_MSG_RESULT(no.)
- AC_MSG_WARN([C++ compiler has problems with namespaces. Build process can fail because of this.])
-]
-,
-[
- AC_MSG_RESULT(no.)
-]
-)
-CXXFLAGS=$old_cxx_flags
-])
-
-## ------------------------------------------------------------------------
-## Find a file (or one of more files in a list of dirs)
-##
-## version: 1
-## ------------------------------------------------------------------------
-##
-AC_DEFUN([AC_FIND_FILE],
-[
-$3=NO
-for i in $2;
-do
- for j in $1;
- do
- if test -r "$i/$j"; then
- $3=$i
- break 2
- fi
- done
-done
-])
diff --git a/library/ecasound/aclocal.m4 b/library/ecasound/aclocal.m4
deleted file mode 100644
index 0ebc51b21..000000000
--- a/library/ecasound/aclocal.m4
+++ /dev/null
@@ -1,7673 +0,0 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-
-# serial 52 Debian 1.5.26-4+lenny1 AC_PROG_LIBTOOL
-
-
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
-# -----------------------------------------------------------
-# If this macro is not defined by Autoconf, define it here.
-m4_ifdef([AC_PROVIDE_IFELSE],
- [],
- [m4_define([AC_PROVIDE_IFELSE],
- [m4_ifdef([AC_PROVIDE_$1],
- [$2], [$3])])])
-
-
-# AC_PROG_LIBTOOL
-# ---------------
-AC_DEFUN([AC_PROG_LIBTOOL],
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
- AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [AC_LIBTOOL_CXX],
- [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
- ])])
-dnl And a similar setup for Fortran 77 support
- AC_PROVIDE_IFELSE([AC_PROG_F77],
- [AC_LIBTOOL_F77],
- [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
-])])
-
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
- AC_PROVIDE_IFELSE([AC_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [ifdef([AC_PROG_GCJ],
- [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
- ifdef([A][M_PROG_GCJ],
- [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
- ifdef([LT_AC_PROG_GCJ],
- [define([LT_AC_PROG_GCJ],
- defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
-])])# AC_PROG_LIBTOOL
-
-
-# _AC_PROG_LIBTOOL
-# ----------------
-AC_DEFUN([_AC_PROG_LIBTOOL],
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-AC_SUBST(LIBTOOL)dnl
-
-# Prevent multiple expansion
-define([AC_PROG_LIBTOOL], [])
-])# _AC_PROG_LIBTOOL
-
-
-# AC_LIBTOOL_SETUP
-# ----------------
-AC_DEFUN([AC_LIBTOOL_SETUP],
-[AC_PREREQ(2.50)dnl
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_PROG_LD])dnl
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
-AC_REQUIRE([AC_PROG_NM])dnl
-
-AC_REQUIRE([AC_PROG_LN_S])dnl
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
-AC_REQUIRE([AC_OBJEXT])dnl
-AC_REQUIRE([AC_EXEEXT])dnl
-dnl
-AC_LIBTOOL_SYS_MAX_CMD_LEN
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
-AC_LIBTOOL_OBJDIR
-
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
-_LT_AC_PROG_ECHO_BACKSLASH
-
-case $host_os in
-aix3*)
- # AIX sometimes has problems with the GCC collect2 program. For some
- # reason, if we set the COLLECT_NAMES environment variable, the problems
- # vanish in a puff of smoke.
- if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
- fi
- ;;
-esac
-
-# Sed substitution that helps us do robust quoting. It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed='sed -e 1s/^X//'
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
-
-# Same as above, but do not quote variable references.
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
-# Constants:
-rm="rm -f"
-
-# Global variables:
-default_ofile=libtool
-can_build_shared=yes
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-ltmain="$ac_aux_dir/ltmain.sh"
-ofile="$default_ofile"
-with_gnu_ld="$lt_cv_prog_gnu_ld"
-
-AC_CHECK_TOOL(AR, ar, false)
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-AC_CHECK_TOOL(STRIP, strip, :)
-
-old_CC="$CC"
-old_CFLAGS="$CFLAGS"
-
-# Set sane defaults for various variables
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-test -z "$AS" && AS=as
-test -z "$CC" && CC=cc
-test -z "$LTCC" && LTCC=$CC
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-test -z "$LD" && LD=ld
-test -z "$LN_S" && LN_S="ln -s"
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
-test -z "$NM" && NM=nm
-test -z "$SED" && SED=sed
-test -z "$OBJDUMP" && OBJDUMP=objdump
-test -z "$RANLIB" && RANLIB=:
-test -z "$STRIP" && STRIP=:
-test -z "$ac_objext" && ac_objext=o
-
-# Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
-old_postinstall_cmds='chmod 644 $oldlib'
-old_postuninstall_cmds=
-
-if test -n "$RANLIB"; then
- case $host_os in
- openbsd*)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
- ;;
- *)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
- ;;
- esac
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
-fi
-
-_LT_CC_BASENAME([$compiler])
-
-# Only perform the check for file, if the check method requires it
-case $deplibs_check_method in
-file_magic*)
- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- AC_PATH_MAGIC
- fi
- ;;
-esac
-
-_LT_REQUIRED_DARWIN_CHECKS
-
-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
-enable_win32_dll=yes, enable_win32_dll=no)
-
-AC_ARG_ENABLE([libtool-lock],
- [AC_HELP_STRING([--disable-libtool-lock],
- [avoid locking (might break parallel builds)])])
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-AC_ARG_WITH([pic],
- [AC_HELP_STRING([--with-pic],
- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
- [pic_mode="$withval"],
- [pic_mode=default])
-test -z "$pic_mode" && pic_mode=default
-
-# Use C for the default configuration in the libtool script
-tagname=
-AC_LIBTOOL_LANG_C_CONFIG
-_LT_AC_TAGCONFIG
-])# AC_LIBTOOL_SETUP
-
-
-# _LT_AC_SYS_COMPILER
-# -------------------
-AC_DEFUN([_LT_AC_SYS_COMPILER],
-[AC_REQUIRE([AC_PROG_CC])dnl
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-])# _LT_AC_SYS_COMPILER
-
-
-# _LT_CC_BASENAME(CC)
-# -------------------
-# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
-AC_DEFUN([_LT_CC_BASENAME],
-[for cc_temp in $1""; do
- case $cc_temp in
- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
-])
-
-
-# _LT_COMPILER_BOILERPLATE
-# ------------------------
-# Check for compiler boilerplate output or warnings with
-# the simple compiler test code.
-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_compiler_boilerplate=`cat conftest.err`
-$rm conftest*
-])# _LT_COMPILER_BOILERPLATE
-
-
-# _LT_LINKER_BOILERPLATE
-# ----------------------
-# Check for linker boilerplate output or warnings with
-# the simple link test code.
-AC_DEFUN([_LT_LINKER_BOILERPLATE],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_linker_boilerplate=`cat conftest.err`
-$rm -r conftest*
-])# _LT_LINKER_BOILERPLATE
-
-# _LT_REQUIRED_DARWIN_CHECKS
-# --------------------------
-# Check for some things on darwin
-AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
- case $host_os in
- rhapsody* | darwin*)
- AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
- AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
-
- AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
- [lt_cv_apple_cc_single_mod=no
- if test -z "${LT_MULTI_MODULE}"; then
- # By default we will add the -single_module flag. You can override
- # by either setting the environment variable LT_MULTI_MODULE
- # non-empty at configure time, or by adding -multi_module to the
- # link flags.
- echo "int foo(void){return 1;}" > conftest.c
- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
- -dynamiclib ${wl}-single_module conftest.c
- if test -f libconftest.dylib; then
- lt_cv_apple_cc_single_mod=yes
- rm -rf libconftest.dylib*
- fi
- rm conftest.c
- fi])
- AC_CACHE_CHECK([for -exported_symbols_list linker flag],
- [lt_cv_ld_exported_symbols_list],
- [lt_cv_ld_exported_symbols_list=no
- save_LDFLAGS=$LDFLAGS
- echo "_main" > conftest.sym
- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
- [lt_cv_ld_exported_symbols_list=yes],
- [lt_cv_ld_exported_symbols_list=no])
- LDFLAGS="$save_LDFLAGS"
- ])
- case $host_os in
- rhapsody* | darwin1.[[0123]])
- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
- darwin1.*)
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- darwin*)
- # if running on 10.5 or later, the deployment target defaults
- # to the OS version, if on x86, and 10.4, the deployment
- # target defaults to 10.4. Don't you love it?
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[[012]]*)
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- 10.*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- esac
- ;;
- esac
- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
- _lt_dar_single_mod='$single_module'
- fi
- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
- else
- _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
- fi
- if test "$DSYMUTIL" != ":"; then
- _lt_dsymutil="~$DSYMUTIL \$lib || :"
- else
- _lt_dsymutil=
- fi
- ;;
- esac
-])
-
-# _LT_AC_SYS_LIBPATH_AIX
-# ----------------------
-# Links a minimal program and checks the executable
-# for the system default hardcoded library path. In most cases,
-# this is /usr/lib:/lib, but when the MPI compilers are used
-# the location of the communication and MPI libs are included too.
-# If we don't find anything, use the default library path according
-# to the aix ld manual.
-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
-lt_aix_libpath_sed='
- /Import File Strings/,/^$/ {
- /^0/ {
- s/^0 *\(.*\)$/\1/
- p
- }
- }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
-])# _LT_AC_SYS_LIBPATH_AIX
-
-
-# _LT_AC_SHELL_INIT(ARG)
-# ----------------------
-AC_DEFUN([_LT_AC_SHELL_INIT],
-[ifdef([AC_DIVERSION_NOTICE],
- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
- [AC_DIVERT_PUSH(NOTICE)])
-$1
-AC_DIVERT_POP
-])# _LT_AC_SHELL_INIT
-
-
-# _LT_AC_PROG_ECHO_BACKSLASH
-# --------------------------
-# Add some code to the start of the generated configure script which
-# will find an echo command which doesn't interpret backslashes.
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
-[_LT_AC_SHELL_INIT([
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$ECHO in
-X*--fallback-echo)
- # Remove one level of quotation (which was required for Make).
- ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
- ;;
-esac
-
-echo=${ECHO-echo}
-if test "X[$]1" = X--no-reexec; then
- # Discard the --no-reexec flag, and continue.
- shift
-elif test "X[$]1" = X--fallback-echo; then
- # Avoid inline document here, it may be left over
- :
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
- # Yippee, $echo works!
- :
-else
- # Restart under the correct shell.
- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
-fi
-
-if test "X[$]1" = X--fallback-echo; then
- # used as fallback echo
- shift
- cat </dev/null 2>&1 && unset CDPATH
-
-if test -z "$ECHO"; then
-if test "X${echo_test_string+set}" != Xset; then
-# find a string as large as possible, as long as the shell can cope with it
- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- if (echo_test_string=`eval $cmd`) 2>/dev/null &&
- echo_test_string=`eval $cmd` &&
- (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- then
- break
- fi
- done
-fi
-
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- :
-else
- # The Solaris, AIX, and Digital Unix default echo programs unquote
- # backslashes. This makes it impossible to quote backslashes using
- # echo "$something" | sed 's/\\/\\\\/g'
- #
- # So, first we look for a working echo in the user's PATH.
-
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for dir in $PATH /usr/ucb; do
- IFS="$lt_save_ifs"
- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- echo="$dir/echo"
- break
- fi
- done
- IFS="$lt_save_ifs"
-
- if test "X$echo" = Xecho; then
- # We didn't find a better echo, so look for alternatives.
- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- # This shell has a builtin print -r that does the trick.
- echo='print -r'
- elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- test "X$CONFIG_SHELL" != X/bin/ksh; then
- # If we have ksh, try running configure again with it.
- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- export ORIGINAL_CONFIG_SHELL
- CONFIG_SHELL=/bin/ksh
- export CONFIG_SHELL
- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
- else
- # Try using printf.
- echo='printf %s\n'
- if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- # Cool, printf works
- :
- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- test "X$echo_testing_string" = 'X\t' &&
- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- export CONFIG_SHELL
- SHELL="$CONFIG_SHELL"
- export SHELL
- echo="$CONFIG_SHELL [$]0 --fallback-echo"
- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- test "X$echo_testing_string" = 'X\t' &&
- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- echo="$CONFIG_SHELL [$]0 --fallback-echo"
- else
- # maybe with a smaller string...
- prev=:
-
- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
- if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- then
- break
- fi
- prev="$cmd"
- done
-
- if test "$prev" != 'sed 50q "[$]0"'; then
- echo_test_string=`eval $prev`
- export echo_test_string
- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
- else
- # Oops. We lost completely, so just stick with echo.
- echo=echo
- fi
- fi
- fi
- fi
-fi
-fi
-
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-ECHO=$echo
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
- ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
-fi
-
-AC_SUBST(ECHO)
-])])# _LT_AC_PROG_ECHO_BACKSLASH
-
-
-# _LT_AC_LOCK
-# -----------
-AC_DEFUN([_LT_AC_LOCK],
-[AC_ARG_ENABLE([libtool-lock],
- [AC_HELP_STRING([--disable-libtool-lock],
- [avoid locking (might break parallel builds)])])
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-ia64-*-hpux*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- case `/usr/bin/file conftest.$ac_objext` in
- *ELF-32*)
- HPUX_IA64_MODE="32"
- ;;
- *ELF-64*)
- HPUX_IA64_MODE="64"
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-*-*-irix6*)
- # Find out which ABI we are using.
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- if test "$lt_cv_prog_gnu_ld" = yes; then
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -melf32bsmip"
- ;;
- *N32*)
- LD="${LD-ld} -melf32bmipn32"
- ;;
- *64-bit*)
- LD="${LD-ld} -melf64bmip"
- ;;
- esac
- else
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- *N32*)
- LD="${LD-ld} -n32"
- ;;
- *64-bit*)
- LD="${LD-ld} -64"
- ;;
- esac
- fi
- fi
- rm -rf conftest*
- ;;
-
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-s390*-*linux*|sparc*-*linux*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- case `/usr/bin/file conftest.o` in
- *32-bit*)
- case $host in
- x86_64-*kfreebsd*-gnu)
- LD="${LD-ld} -m elf_i386_fbsd"
- ;;
- x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
- ;;
- ppc64-*linux*|powerpc64-*linux*)
- LD="${LD-ld} -m elf32ppclinux"
- ;;
- s390x-*linux*)
- LD="${LD-ld} -m elf_s390"
- ;;
- sparc64-*linux*)
- LD="${LD-ld} -m elf32_sparc"
- ;;
- esac
- ;;
- *64-bit*)
- case $host in
- x86_64-*kfreebsd*-gnu)
- LD="${LD-ld} -m elf_x86_64_fbsd"
- ;;
- x86_64-*linux*)
- LD="${LD-ld} -m elf_x86_64"
- ;;
- ppc*-*linux*|powerpc*-*linux*)
- LD="${LD-ld} -m elf64ppc"
- ;;
- s390*-*linux*)
- LD="${LD-ld} -m elf64_s390"
- ;;
- sparc*-*linux*)
- LD="${LD-ld} -m elf64_sparc"
- ;;
- esac
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
-*-*-sco3.2v5*)
- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- SAVE_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -belf"
- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- [AC_LANG_PUSH(C)
- AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
- AC_LANG_POP])
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- CFLAGS="$SAVE_CFLAGS"
- fi
- ;;
-sparc*-*solaris*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- case `/usr/bin/file conftest.o` in
- *64-bit*)
- case $lt_cv_prog_gnu_ld in
- yes*) LD="${LD-ld} -m elf64_sparc" ;;
- *)
- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
- LD="${LD-ld} -64"
- fi
- ;;
- esac
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
- AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- AC_CHECK_TOOL(AS, as, false)
- AC_CHECK_TOOL(OBJDUMP, objdump, false)
- ;;
- ])
-esac
-
-need_locks="$enable_libtool_lock"
-
-])# _LT_AC_LOCK
-
-
-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
-# ----------------------------------------------------------------
-# Check whether the given compiler option works
-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
-[AC_REQUIRE([LT_AC_PROG_SED])
-AC_CACHE_CHECK([$1], [$2],
- [$2=no
- ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
- lt_compiler_flag="$3"
- # Insert the option either (1) after the last *FLAGS variable, or
- # (2) before a word containing "conftest.", or (3) at the end.
- # Note that $ac_compile itself does not contain backslashes and begins
- # with a dollar sign (not a hyphen), so the echo should work correctly.
- # The option is referenced via a variable to avoid confusing sed.
- lt_compile=`echo "$ac_compile" | $SED \
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
- -e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
- (eval "$lt_compile" 2>conftest.err)
- ac_status=$?
- cat conftest.err >&AS_MESSAGE_LOG_FD
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
- if (exit $ac_status) && test -s "$ac_outfile"; then
- # The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings other than the usual output.
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
- $2=yes
- fi
- fi
- $rm conftest*
-])
-
-if test x"[$]$2" = xyes; then
- ifelse([$5], , :, [$5])
-else
- ifelse([$6], , :, [$6])
-fi
-])# AC_LIBTOOL_COMPILER_OPTION
-
-
-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-# [ACTION-SUCCESS], [ACTION-FAILURE])
-# ------------------------------------------------------------
-# Check whether the given compiler option works
-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_CACHE_CHECK([$1], [$2],
- [$2=no
- save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $3"
- echo "$lt_simple_link_test_code" > conftest.$ac_ext
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
- # The linker can only warn and ignore the option if not recognized
- # So say no if there are warnings
- if test -s conftest.err; then
- # Append any errors to the config.log.
- cat conftest.err 1>&AS_MESSAGE_LOG_FD
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
- if diff conftest.exp conftest.er2 >/dev/null; then
- $2=yes
- fi
- else
- $2=yes
- fi
- fi
- $rm -r conftest*
- LDFLAGS="$save_LDFLAGS"
-])
-
-if test x"[$]$2" = xyes; then
- ifelse([$4], , :, [$4])
-else
- ifelse([$5], , :, [$5])
-fi
-])# AC_LIBTOOL_LINKER_OPTION
-
-
-# AC_LIBTOOL_SYS_MAX_CMD_LEN
-# --------------------------
-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
-[# find the maximum length of command line arguments
-AC_MSG_CHECKING([the maximum length of command line arguments])
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
- i=0
- teststring="ABCD"
-
- case $build_os in
- msdosdjgpp*)
- # On DJGPP, this test can blow up pretty badly due to problems in libc
- # (any single argument exceeding 2000 bytes causes a buffer overrun
- # during glob expansion). Even if it were fixed, the result of this
- # check would be larger than it should be.
- lt_cv_sys_max_cmd_len=12288; # 12K is about right
- ;;
-
- gnu*)
- # Under GNU Hurd, this test is not required because there is
- # no limit to the length of command line arguments.
- # Libtool will interpret -1 as no limit whatsoever
- lt_cv_sys_max_cmd_len=-1;
- ;;
-
- cygwin* | mingw*)
- # On Win9x/ME, this test blows up -- it succeeds, but takes
- # about 5 minutes as the teststring grows exponentially.
- # Worse, since 9x/ME are not pre-emptively multitasking,
- # you end up with a "frozen" computer, even though with patience
- # the test eventually succeeds (with a max line length of 256k).
- # Instead, let's just punt: use the minimum linelength reported by
- # all of the supported platforms: 8192 (on NT/2K/XP).
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
- amigaos*)
- # On AmigaOS with pdksh, this test takes hours, literally.
- # So we just punt and use a minimum line length of 8192.
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
- # This has been around since 386BSD, at least. Likely further.
- if test -x /sbin/sysctl; then
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
- elif test -x /usr/sbin/sysctl; then
- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
- else
- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
- fi
- # And add a safety zone
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
- ;;
-
- interix*)
- # We know the value 262144 and hardcode it with a safety zone (like BSD)
- lt_cv_sys_max_cmd_len=196608
- ;;
-
- osf*)
- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
- # nice to cause kernel panics so lets avoid the loop below.
- # First set a reasonable default.
- lt_cv_sys_max_cmd_len=16384
- #
- if test -x /sbin/sysconfig; then
- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
- *1*) lt_cv_sys_max_cmd_len=-1 ;;
- esac
- fi
- ;;
- sco3.2v5*)
- lt_cv_sys_max_cmd_len=102400
- ;;
- sysv5* | sco5v6* | sysv4.2uw2*)
- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
- if test -n "$kargmax"; then
- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
- else
- lt_cv_sys_max_cmd_len=32768
- fi
- ;;
- *)
- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
- if test -n "$lt_cv_sys_max_cmd_len"; then
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
- else
- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
- while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
- = "XX$teststring") >/dev/null 2>&1 &&
- new_result=`expr "X$teststring" : ".*" 2>&1` &&
- lt_cv_sys_max_cmd_len=$new_result &&
- test $i != 17 # 1/2 MB should be enough
- do
- i=`expr $i + 1`
- teststring=$teststring$teststring
- done
- teststring=
- # Add a significant safety factor because C++ compilers can tack on massive
- # amounts of additional arguments before passing them to the linker.
- # It appears as though 1/2 is a usable value.
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
- fi
- ;;
- esac
-])
-if test -n $lt_cv_sys_max_cmd_len ; then
- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
-else
- AC_MSG_RESULT(none)
-fi
-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
-
-
-# _LT_AC_CHECK_DLFCN
-# ------------------
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
-[AC_CHECK_HEADERS(dlfcn.h)dnl
-])# _LT_AC_CHECK_DLFCN
-
-
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
-# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
-# ---------------------------------------------------------------------
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
-if test "$cross_compiling" = yes; then :
- [$4]
-else
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- lt_status=$lt_dlunknown
- cat > conftest.$ac_ext <
-#endif
-
-#include
-
-#ifdef RTLD_GLOBAL
-# define LT_DLGLOBAL RTLD_GLOBAL
-#else
-# ifdef DL_GLOBAL
-# define LT_DLGLOBAL DL_GLOBAL
-# else
-# define LT_DLGLOBAL 0
-# endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-# ifdef RTLD_LAZY
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
-# else
-# ifdef DL_LAZY
-# define LT_DLLAZY_OR_NOW DL_LAZY
-# else
-# ifdef RTLD_NOW
-# define LT_DLLAZY_OR_NOW RTLD_NOW
-# else
-# ifdef DL_NOW
-# define LT_DLLAZY_OR_NOW DL_NOW
-# else
-# define LT_DLLAZY_OR_NOW 0
-# endif
-# endif
-# endif
-# endif
-#endif
-
-#ifdef __cplusplus
-extern "C" void exit (int);
-#endif
-
-void fnord() { int i=42;}
-int main ()
-{
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- int status = $lt_dlunknown;
-
- if (self)
- {
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- /* dlclose (self); */
- }
- else
- puts (dlerror ());
-
- exit (status);
-}]
-EOF
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
- lt_status=$?
- case x$lt_status in
- x$lt_dlno_uscore) $1 ;;
- x$lt_dlneed_uscore) $2 ;;
- x$lt_dlunknown|x*) $3 ;;
- esac
- else :
- # compilation failed
- $3
- fi
-fi
-rm -fr conftest*
-])# _LT_AC_TRY_DLOPEN_SELF
-
-
-# AC_LIBTOOL_DLOPEN_SELF
-# ----------------------
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
-if test "x$enable_dlopen" != xyes; then
- enable_dlopen=unknown
- enable_dlopen_self=unknown
- enable_dlopen_self_static=unknown
-else
- lt_cv_dlopen=no
- lt_cv_dlopen_libs=
-
- case $host_os in
- beos*)
- lt_cv_dlopen="load_add_on"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
- ;;
-
- mingw* | pw32*)
- lt_cv_dlopen="LoadLibrary"
- lt_cv_dlopen_libs=
- ;;
-
- cygwin*)
- lt_cv_dlopen="dlopen"
- lt_cv_dlopen_libs=
- ;;
-
- darwin*)
- # if libdl is installed we need to link against it
- AC_CHECK_LIB([dl], [dlopen],
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
- lt_cv_dlopen="dyld"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
- ])
- ;;
-
- *)
- AC_CHECK_FUNC([shl_load],
- [lt_cv_dlopen="shl_load"],
- [AC_CHECK_LIB([dld], [shl_load],
- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
- [AC_CHECK_FUNC([dlopen],
- [lt_cv_dlopen="dlopen"],
- [AC_CHECK_LIB([dl], [dlopen],
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
- [AC_CHECK_LIB([svld], [dlopen],
- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
- [AC_CHECK_LIB([dld], [dld_link],
- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
- ])
- ])
- ])
- ])
- ])
- ;;
- esac
-
- if test "x$lt_cv_dlopen" != xno; then
- enable_dlopen=yes
- else
- enable_dlopen=no
- fi
-
- case $lt_cv_dlopen in
- dlopen)
- save_CPPFLAGS="$CPPFLAGS"
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
-
- save_LDFLAGS="$LDFLAGS"
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
-
- save_LIBS="$LIBS"
- LIBS="$lt_cv_dlopen_libs $LIBS"
-
- AC_CACHE_CHECK([whether a program can dlopen itself],
- lt_cv_dlopen_self, [dnl
- _LT_AC_TRY_DLOPEN_SELF(
- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
- ])
-
- if test "x$lt_cv_dlopen_self" = xyes; then
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
- AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
- lt_cv_dlopen_self_static, [dnl
- _LT_AC_TRY_DLOPEN_SELF(
- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
- ])
- fi
-
- CPPFLAGS="$save_CPPFLAGS"
- LDFLAGS="$save_LDFLAGS"
- LIBS="$save_LIBS"
- ;;
- esac
-
- case $lt_cv_dlopen_self in
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- *) enable_dlopen_self=unknown ;;
- esac
-
- case $lt_cv_dlopen_self_static in
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- *) enable_dlopen_self_static=unknown ;;
- esac
-fi
-])# AC_LIBTOOL_DLOPEN_SELF
-
-
-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
-# ---------------------------------
-# Check to see if options -c and -o are simultaneously supported by compiler
-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
- $rm -r conftest 2>/dev/null
- mkdir conftest
- cd conftest
- mkdir out
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
- lt_compiler_flag="-o out/conftest2.$ac_objext"
- # Insert the option either (1) after the last *FLAGS variable, or
- # (2) before a word containing "conftest.", or (3) at the end.
- # Note that $ac_compile itself does not contain backslashes and begins
- # with a dollar sign (not a hyphen), so the echo should work correctly.
- lt_compile=`echo "$ac_compile" | $SED \
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
- -e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
- (eval "$lt_compile" 2>out/conftest.err)
- ac_status=$?
- cat out/conftest.err >&AS_MESSAGE_LOG_FD
- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
- if (exit $ac_status) && test -s out/conftest2.$ac_objext
- then
- # The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
- fi
- fi
- chmod u+w . 2>&AS_MESSAGE_LOG_FD
- $rm conftest*
- # SGI C++ compiler will create directory out/ii_files/ for
- # template instantiation
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
- $rm out/* && rmdir out
- cd ..
- rmdir conftest
- $rm conftest*
-])
-])# AC_LIBTOOL_PROG_CC_C_O
-
-
-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
-# -----------------------------------------
-# Check to see if we can do hard links to lock some files if needed
-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
-[AC_REQUIRE([_LT_AC_LOCK])dnl
-
-hard_links="nottested"
-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
- # do not overwrite the value of need_locks provided by the user
- AC_MSG_CHECKING([if we can lock with hard links])
- hard_links=yes
- $rm conftest*
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
- touch conftest.a
- ln conftest.a conftest.b 2>&5 || hard_links=no
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
- AC_MSG_RESULT([$hard_links])
- if test "$hard_links" = no; then
- AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
- need_locks=warn
- fi
-else
- need_locks=no
-fi
-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
-
-
-# AC_LIBTOOL_OBJDIR
-# -----------------
-AC_DEFUN([AC_LIBTOOL_OBJDIR],
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
-[rm -f .libs 2>/dev/null
-mkdir .libs 2>/dev/null
-if test -d .libs; then
- lt_cv_objdir=.libs
-else
- # MS-DOS does not allow filenames that begin with a dot.
- lt_cv_objdir=_libs
-fi
-rmdir .libs 2>/dev/null])
-objdir=$lt_cv_objdir
-])# AC_LIBTOOL_OBJDIR
-
-
-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
-# ----------------------------------------------
-# Check hardcoding attributes.
-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
-_LT_AC_TAGVAR(hardcode_action, $1)=
-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
- test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
- test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
-
- # We can hardcode non-existant directories.
- if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
- # have to relink, otherwise we might link with an installed library
- # when we should be linking with a yet-to-be-installed one
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
- test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
- # Linking always hardcodes the temporary library directory.
- _LT_AC_TAGVAR(hardcode_action, $1)=relink
- else
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
- _LT_AC_TAGVAR(hardcode_action, $1)=immediate
- fi
-else
- # We cannot hardcode anything, or else we can only hardcode existing
- # directories.
- _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
-fi
-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
-
-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
- # Fast installation is not supported
- enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
- test "$enable_shared" = no; then
- # Fast installation is not necessary
- enable_fast_install=needless
-fi
-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
-
-
-# AC_LIBTOOL_SYS_LIB_STRIP
-# ------------------------
-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
-[striplib=
-old_striplib=
-AC_MSG_CHECKING([whether stripping libraries is possible])
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- AC_MSG_RESULT([yes])
-else
-# FIXME - insert some real tests, host_os isn't really good enough
- case $host_os in
- darwin*)
- if test -n "$STRIP" ; then
- striplib="$STRIP -x"
- old_striplib="$STRIP -S"
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
-fi
- ;;
- *)
- AC_MSG_RESULT([no])
- ;;
- esac
-fi
-])# AC_LIBTOOL_SYS_LIB_STRIP
-
-
-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
-# -----------------------------
-# PORTME Fill in your ld.so characteristics
-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_MSG_CHECKING([dynamic linker characteristics])
-library_names_spec=
-libname_spec='lib$name'
-soname_spec=
-shrext_cmds=".so"
-postinstall_cmds=
-postuninstall_cmds=
-finish_cmds=
-finish_eval=
-shlibpath_var=
-shlibpath_overrides_runpath=unknown
-version_type=none
-dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-m4_if($1,[],[
-if test "$GCC" = yes; then
- case $host_os in
- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
- *) lt_awk_arg="/^libraries:/" ;;
- esac
- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
- if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
- # if the path contains ";" then we assume it to be the separator
- # otherwise default to the standard path separator (i.e. ":") - it is
- # assumed that no part of a normal pathname contains ";" but that should
- # okay in the real world where ";" in dirpaths is itself problematic.
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
- else
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
- fi
- # Ok, now we have the path, separated by spaces, we can step through it
- # and add multilib dir if necessary.
- lt_tmp_lt_search_path_spec=
- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
- for lt_sys_path in $lt_search_path_spec; do
- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
- else
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
- done
- lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
-BEGIN {RS=" "; FS="/|\n";} {
- lt_foo="";
- lt_count=0;
- for (lt_i = NF; lt_i > 0; lt_i--) {
- if ($lt_i != "" && $lt_i != ".") {
- if ($lt_i == "..") {
- lt_count++;
- } else {
- if (lt_count == 0) {
- lt_foo="/" $lt_i lt_foo;
- } else {
- lt_count--;
- }
- }
- }
- }
- if (lt_foo != "") { lt_freq[[lt_foo]]++; }
- if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
-}'`
- sys_lib_search_path_spec=`echo $lt_search_path_spec`
-else
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi])
-need_lib_prefix=unknown
-hardcode_into_libs=no
-
-# when you set need_version to no, make sure it does not cause -set_version
-# flags to be left without arguments
-need_version=unknown
-
-case $host_os in
-aix3*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
- shlibpath_var=LIBPATH
-
- # AIX 3 has no versioning support, so we append a major version to the name.
- soname_spec='${libname}${release}${shared_ext}$major'
- ;;
-
-aix[[4-9]]*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- hardcode_into_libs=yes
- if test "$host_cpu" = ia64; then
- # AIX 5 supports IA64
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- else
- # With GCC up to 2.95.x, collect2 would create an import file
- # for dependence libraries. The import file would start with
- # the line `#! .'. This would cause the generated library to
- # depend on `.', always an invalid library. This was fixed in
- # development snapshots of GCC prior to 3.0.
- case $host_os in
- aix4 | aix4.[[01]] | aix4.[[01]].*)
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- echo ' yes '
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- :
- else
- can_build_shared=no
- fi
- ;;
- esac
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
- # soname into executable. Probably we can add versioning support to
- # collect2, so additional links can be useful in future.
- if test "$aix_use_runtimelinking" = yes; then
- # If using run time linking (on AIX 4.2 or later) use lib.so
- # instead of lib.a to let people know that these are not
- # typical AIX shared libraries.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- else
- # We preserve .a as extension for shared libraries through AIX4.2
- # and later when we are not doing run time linking.
- library_names_spec='${libname}${release}.a $libname.a'
- soname_spec='${libname}${release}${shared_ext}$major'
- fi
- shlibpath_var=LIBPATH
- fi
- ;;
-
-amigaos*)
- library_names_spec='$libname.ixlibrary $libname.a'
- # Create ${libname}_ixlibrary.a entries in /sys/libs.
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
- ;;
-
-beos*)
- library_names_spec='${libname}${shared_ext}'
- dynamic_linker="$host_os ld.so"
- shlibpath_var=LIBRARY_PATH
- ;;
-
-bsdi[[45]]*)
- version_type=linux
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- # the default ld.so.conf also contains /usr/contrib/lib and
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- # libtool to hard-code these into programs
- ;;
-
-cygwin* | mingw* | pw32*)
- version_type=windows
- shrext_cmds=".dll"
- need_version=no
- need_lib_prefix=no
-
- case $GCC,$host_os in
- yes,cygwin* | yes,mingw* | yes,pw32*)
- library_names_spec='$libname.dll.a'
- # DLL is installed to $(libdir)/../bin by postinstall_cmds
- postinstall_cmds='base_file=`basename \${file}`~
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
- dldir=$destdir/`dirname \$dlpath`~
- test -d \$dldir || mkdir -p \$dldir~
- $install_prog $dir/$dlname \$dldir/$dlname~
- chmod a+x \$dldir/$dlname'
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
- dlpath=$dir/\$dldll~
- $rm \$dlpath'
- shlibpath_overrides_runpath=yes
-
- case $host_os in
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
- ;;
- mingw*)
- # MinGW DLLs use traditional 'lib' prefix
- soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
- if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
- # It is most probably a Windows format PATH printed by
- # mingw gcc, but we are running on Cygwin. Gcc prints its search
- # path with ; separators, and with drive letters. We can handle the
- # drive letters (cygwin fileutils understands them), so leave them,
- # especially as we might pass files found there to a mingw objdump,
- # which wouldn't understand a cygwinified path. Ahh.
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
- else
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
- fi
- ;;
- pw32*)
- # pw32 DLLs use 'pw' prefix rather than 'lib'
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
- ;;
- esac
- ;;
-
- *)
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
- ;;
- esac
- dynamic_linker='Win32 ld.exe'
- # FIXME: first we should search . and the directory the executable is in
- shlibpath_var=PATH
- ;;
-
-darwin* | rhapsody*)
- dynamic_linker="$host_os dyld"
- version_type=darwin
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
- soname_spec='${libname}${release}${major}$shared_ext'
- shlibpath_overrides_runpath=yes
- shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
- m4_if([$1], [],[
- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
- ;;
-
-dgux*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
-freebsd1*)
- dynamic_linker=no
- ;;
-
-freebsd* | dragonfly*)
- # DragonFly does not have aout. When/if they implement a new
- # versioning mechanism, adjust this.
- if test -x /usr/bin/objformat; then
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
- freebsd[[123]]*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
- need_version=no
- need_lib_prefix=no
- ;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
- need_version=yes
- ;;
- esac
- shlibpath_var=LD_LIBRARY_PATH
- case $host_os in
- freebsd2*)
- shlibpath_overrides_runpath=yes
- ;;
- freebsd3.[[01]]* | freebsdelf3.[[01]]*)
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
- freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
- freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
- *) # from 4.6 on, and DragonFly
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
- esac
- ;;
-
-gnu*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- hardcode_into_libs=yes
- ;;
-
-hpux9* | hpux10* | hpux11*)
- # Give a soname corresponding to the major version so that dld.sl refuses to
- # link against other versions.
- version_type=sunos
- need_lib_prefix=no
- need_version=no
- case $host_cpu in
- ia64*)
- shrext_cmds='.so'
- hardcode_into_libs=yes
- dynamic_linker="$host_os dld.so"
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- if test "X$HPUX_IA64_MODE" = X32; then
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
- else
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
- fi
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
- ;;
- hppa*64*)
- shrext_cmds='.sl'
- hardcode_into_libs=yes
- dynamic_linker="$host_os dld.sl"
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
- ;;
- *)
- shrext_cmds='.sl'
- dynamic_linker="$host_os dld.sl"
- shlibpath_var=SHLIB_PATH
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- ;;
- esac
- # HP-UX runs *really* slowly unless shared libraries are mode 555.
- postinstall_cmds='chmod 555 $lib'
- ;;
-
-interix[[3-9]]*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
-
-irix5* | irix6* | nonstopux*)
- case $host_os in
- nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
- esac
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}${shared_ext}$major'
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
- case $host_os in
- irix5* | nonstopux*)
- libsuff= shlibsuff=
- ;;
- *)
- case $LD in # libtool.m4 will add one of these switches to LD
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
- libsuff= shlibsuff= libmagic=32-bit;;
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
- libsuff=32 shlibsuff=N32 libmagic=N32;;
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
- libsuff=64 shlibsuff=64 libmagic=64-bit;;
- *) libsuff= shlibsuff= libmagic=never-match;;
- esac
- ;;
- esac
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- hardcode_into_libs=yes
- ;;
-
-# No shared lib support for Linux oldld, aout, or coff.
-linux*oldld* | linux*aout* | linux*coff*)
- dynamic_linker=no
- ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- # This implies no fast_install, which is unacceptable.
- # Some rework will be needed to allow for fast_install
- # before this can be enabled.
- hardcode_into_libs=yes
-
- # Append ld.so.conf contents to the search path
- if test -f /etc/ld.so.conf; then
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
- fi
-
- # We used to test for /lib/ld.so.1 and disable shared libraries on
- # powerpc, because MkLinux only supported shared libraries with the
- # GNU dynamic linker. Since this was broken with cross compilers,
- # most powerpc-linux boxes support dynamic linking these days and
- # people can always --disable-shared, the test was removed, and we
- # assume the GNU/Linux dynamic linker is in use.
- dynamic_linker='GNU/Linux ld.so'
- ;;
-
-netbsdelf*-gnu)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- dynamic_linker='NetBSD ld.elf_so'
- ;;
-
-netbsd*)
- version_type=sunos
- need_lib_prefix=no
- need_version=no
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- dynamic_linker='NetBSD (a.out) ld.so'
- else
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- dynamic_linker='NetBSD ld.elf_so'
- fi
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
-
-newsos6)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- ;;
-
-nto-qnx*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- ;;
-
-openbsd*)
- version_type=sunos
- sys_lib_dlsearch_path_spec="/usr/lib"
- need_lib_prefix=no
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
- case $host_os in
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
- *) need_version=no ;;
- esac
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- case $host_os in
- openbsd2.[[89]] | openbsd2.[[89]].*)
- shlibpath_overrides_runpath=no
- ;;
- *)
- shlibpath_overrides_runpath=yes
- ;;
- esac
- else
- shlibpath_overrides_runpath=yes
- fi
- ;;
-
-os2*)
- libname_spec='$name'
- shrext_cmds=".dll"
- need_lib_prefix=no
- library_names_spec='$libname${shared_ext} $libname.a'
- dynamic_linker='OS/2 ld.exe'
- shlibpath_var=LIBPATH
- ;;
-
-osf3* | osf4* | osf5*)
- version_type=osf
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}${shared_ext}$major'
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- ;;
-
-rdos*)
- dynamic_linker=no
- ;;
-
-solaris*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- # ldd complains unless libraries are executable
- postinstall_cmds='chmod +x $lib'
- ;;
-
-sunos4*)
- version_type=sunos
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- fi
- need_version=yes
- ;;
-
-sysv4 | sysv4.3*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- case $host_vendor in
- sni)
- shlibpath_overrides_runpath=no
- need_lib_prefix=no
- export_dynamic_flag_spec='${wl}-Blargedynsym'
- runpath_var=LD_RUN_PATH
- ;;
- siemens)
- need_lib_prefix=no
- ;;
- motorola)
- need_lib_prefix=no
- need_version=no
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- ;;
- esac
- ;;
-
-sysv4*MP*)
- if test -d /usr/nec ;then
- version_type=linux
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
- soname_spec='$libname${shared_ext}.$major'
- shlibpath_var=LD_LIBRARY_PATH
- fi
- ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
- version_type=freebsd-elf
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- hardcode_into_libs=yes
- if test "$with_gnu_ld" = yes; then
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
- shlibpath_overrides_runpath=no
- else
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
- shlibpath_overrides_runpath=yes
- case $host_os in
- sco3.2v5*)
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
- ;;
- esac
- fi
- sys_lib_dlsearch_path_spec='/usr/lib'
- ;;
-
-uts4*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
-*)
- dynamic_linker=no
- ;;
-esac
-AC_MSG_RESULT([$dynamic_linker])
-test "$dynamic_linker" = no && can_build_shared=no
-
-AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
-[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
-AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
-[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
-
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
-if test "$GCC" = yes; then
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
-fi
-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
-
-
-# _LT_AC_TAGCONFIG
-# ----------------
-AC_DEFUN([_LT_AC_TAGCONFIG],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_ARG_WITH([tags],
- [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
- [include additional configurations @<:@automatic@:>@])],
- [tagnames="$withval"])
-
-if test -f "$ltmain" && test -n "$tagnames"; then
- if test ! -f "${ofile}"; then
- AC_MSG_WARN([output file `$ofile' does not exist])
- fi
-
- if test -z "$LTCC"; then
- eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
- if test -z "$LTCC"; then
- AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
- else
- AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
- fi
- fi
- if test -z "$LTCFLAGS"; then
- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
- fi
-
- # Extract list of available tagged configurations in $ofile.
- # Note that this assumes the entire list is on one line.
- available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
-
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for tagname in $tagnames; do
- IFS="$lt_save_ifs"
- # Check whether tagname contains only valid characters
- case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
- "") ;;
- *) AC_MSG_ERROR([invalid tag name: $tagname])
- ;;
- esac
-
- if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
- then
- AC_MSG_ERROR([tag name \"$tagname\" already exists])
- fi
-
- # Update the list of available tags.
- if test -n "$tagname"; then
- echo appending configuration tag \"$tagname\" to $ofile
-
- case $tagname in
- CXX)
- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
- (test "X$CXX" != "Xg++"))) ; then
- AC_LIBTOOL_LANG_CXX_CONFIG
- else
- tagname=""
- fi
- ;;
-
- F77)
- if test -n "$F77" && test "X$F77" != "Xno"; then
- AC_LIBTOOL_LANG_F77_CONFIG
- else
- tagname=""
- fi
- ;;
-
- GCJ)
- if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
- AC_LIBTOOL_LANG_GCJ_CONFIG
- else
- tagname=""
- fi
- ;;
-
- RC)
- AC_LIBTOOL_LANG_RC_CONFIG
- ;;
-
- *)
- AC_MSG_ERROR([Unsupported tag name: $tagname])
- ;;
- esac
-
- # Append the new tag name to the list of available tags.
- if test -n "$tagname" ; then
- available_tags="$available_tags $tagname"
- fi
- fi
- done
- IFS="$lt_save_ifs"
-
- # Now substitute the updated list of available tags.
- if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
- mv "${ofile}T" "$ofile"
- chmod +x "$ofile"
- else
- rm -f "${ofile}T"
- AC_MSG_ERROR([unable to update list of available tagged configurations.])
- fi
-fi
-])# _LT_AC_TAGCONFIG
-
-
-# AC_LIBTOOL_DLOPEN
-# -----------------
-# enable checks for dlopen support
-AC_DEFUN([AC_LIBTOOL_DLOPEN],
- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
-])# AC_LIBTOOL_DLOPEN
-
-
-# AC_LIBTOOL_WIN32_DLL
-# --------------------
-# declare package support for building win32 DLLs
-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
-])# AC_LIBTOOL_WIN32_DLL
-
-
-# AC_ENABLE_SHARED([DEFAULT])
-# ---------------------------
-# implement the --enable-shared flag
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-AC_DEFUN([AC_ENABLE_SHARED],
-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
-AC_ARG_ENABLE([shared],
- [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
- [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- enable_shared=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_shared=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
-])# AC_ENABLE_SHARED
-
-
-# AC_DISABLE_SHARED
-# -----------------
-# set the default shared flag to --disable-shared
-AC_DEFUN([AC_DISABLE_SHARED],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
-AC_ENABLE_SHARED(no)
-])# AC_DISABLE_SHARED
-
-
-# AC_ENABLE_STATIC([DEFAULT])
-# ---------------------------
-# implement the --enable-static flag
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-AC_DEFUN([AC_ENABLE_STATIC],
-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
-AC_ARG_ENABLE([static],
- [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
- [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- enable_static=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_static=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_static=]AC_ENABLE_STATIC_DEFAULT)
-])# AC_ENABLE_STATIC
-
-
-# AC_DISABLE_STATIC
-# -----------------
-# set the default static flag to --disable-static
-AC_DEFUN([AC_DISABLE_STATIC],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
-AC_ENABLE_STATIC(no)
-])# AC_DISABLE_STATIC
-
-
-# AC_ENABLE_FAST_INSTALL([DEFAULT])
-# ---------------------------------
-# implement the --enable-fast-install flag
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
-AC_ARG_ENABLE([fast-install],
- [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
- [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- enable_fast_install=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_fast_install=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
-])# AC_ENABLE_FAST_INSTALL
-
-
-# AC_DISABLE_FAST_INSTALL
-# -----------------------
-# set the default to --disable-fast-install
-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
-AC_ENABLE_FAST_INSTALL(no)
-])# AC_DISABLE_FAST_INSTALL
-
-
-# AC_LIBTOOL_PICMODE([MODE])
-# --------------------------
-# implement the --with-pic flag
-# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
-AC_DEFUN([AC_LIBTOOL_PICMODE],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
-pic_mode=ifelse($#,1,$1,default)
-])# AC_LIBTOOL_PICMODE
-
-
-# AC_PROG_EGREP
-# -------------
-# This is predefined starting with Autoconf 2.54, so this conditional
-# definition can be removed once we require Autoconf 2.54 or later.
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
- [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
- then ac_cv_prog_egrep='grep -E'
- else ac_cv_prog_egrep='egrep'
- fi])
- EGREP=$ac_cv_prog_egrep
- AC_SUBST([EGREP])
-])])
-
-
-# AC_PATH_TOOL_PREFIX
-# -------------------
-# find a file program which can recognize shared library
-AC_DEFUN([AC_PATH_TOOL_PREFIX],
-[AC_REQUIRE([AC_PROG_EGREP])dnl
-AC_MSG_CHECKING([for $1])
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
-[case $MAGIC_CMD in
-[[\\/*] | ?:[\\/]*])
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- ;;
-*)
- lt_save_MAGIC_CMD="$MAGIC_CMD"
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-dnl $ac_dummy forces splitting on constant user-supplied paths.
-dnl POSIX.2 word splitting is done only on the output of word expansions,
-dnl not every word. This closes a longstanding sh security hole.
- ac_dummy="ifelse([$2], , $PATH, [$2])"
- for ac_dir in $ac_dummy; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$1; then
- lt_cv_path_MAGIC_CMD="$ac_dir/$1"
- if test -n "$file_magic_test_file"; then
- case $deplibs_check_method in
- "file_magic "*)
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- $EGREP "$file_magic_regex" > /dev/null; then
- :
- else
- cat <&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such. This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem. Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-EOF
- fi ;;
- esac
- fi
- break
- fi
- done
- IFS="$lt_save_ifs"
- MAGIC_CMD="$lt_save_MAGIC_CMD"
- ;;
-esac])
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
- AC_MSG_RESULT($MAGIC_CMD)
-else
- AC_MSG_RESULT(no)
-fi
-])# AC_PATH_TOOL_PREFIX
-
-
-# AC_PATH_MAGIC
-# -------------
-# find a file program which can recognize a shared library
-AC_DEFUN([AC_PATH_MAGIC],
-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
-if test -z "$lt_cv_path_MAGIC_CMD"; then
- if test -n "$ac_tool_prefix"; then
- AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
- else
- MAGIC_CMD=:
- fi
-fi
-])# AC_PATH_MAGIC
-
-
-# AC_PROG_LD
-# ----------
-# find the pathname to the GNU or non-GNU linker
-AC_DEFUN([AC_PROG_LD],
-[AC_ARG_WITH([gnu-ld],
- [AC_HELP_STRING([--with-gnu-ld],
- [assume the C compiler uses GNU ld @<:@default=no@:>@])],
- [test "$withval" = no || with_gnu_ld=yes],
- [with_gnu_ld=no])
-AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-ac_prog=ld
-if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- AC_MSG_CHECKING([for ld used by $CC])
- case $host in
- *-*-mingw*)
- # gcc leaves a trailing carriage return which upsets mingw
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- *)
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- esac
- case $ac_prog in
- # Accept absolute paths.
- [[\\/]]* | ?:[[\\/]]*)
- re_direlt='/[[^/]][[^/]]*/\.\./'
- # Canonicalize the pathname of ld
- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
- done
- test -z "$LD" && LD="$ac_prog"
- ;;
- "")
- # If it fails, then pretend we aren't using GCC.
- ac_prog=ld
- ;;
- *)
- # If it is relative, then search for the first ld in PATH.
- with_gnu_ld=unknown
- ;;
- esac
-elif test "$with_gnu_ld" = yes; then
- AC_MSG_CHECKING([for GNU ld])
-else
- AC_MSG_CHECKING([for non-GNU ld])
-fi
-AC_CACHE_VAL(lt_cv_path_LD,
-[if test -z "$LD"; then
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some variants of GNU ld only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
- lt_cv_file_magic_cmd='func_win32_libid'
- else
- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- lt_cv_file_magic_cmd='$OBJDUMP -f'
- fi
- ;;
-
-darwin* | rhapsody*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-freebsd* | dragonfly*)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case $host_cpu in
- i*86 )
- # Not sure whether the presence of OpenBSD here was a mistake.
- # Let's accept both of them until this is cleared up.
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
- ;;
-
-gnu*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-hpux10.20* | hpux11*)
- lt_cv_file_magic_cmd=/usr/bin/file
- case $host_cpu in
- ia64*)
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
- ;;
- hppa*64*)
- [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
- ;;
- *)
- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
- lt_cv_file_magic_test_file=/usr/lib/libc.sl
- ;;
- esac
- ;;
-
-interix[[3-9]]*)
- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
- ;;
-
-irix5* | irix6* | nonstopux*)
- case $LD in
- *-32|*"-32 ") libmagic=32-bit;;
- *-n32|*"-n32 ") libmagic=N32;;
- *-64|*"-64 ") libmagic=64-bit;;
- *) libmagic=never-match;;
- esac
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
- else
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
- fi
- ;;
-
-newos6*)
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=/usr/lib/libnls.so
- ;;
-
-nto-qnx*)
- lt_cv_deplibs_check_method=unknown
- ;;
-
-openbsd*)
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
- else
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
- fi
- ;;
-
-osf3* | osf4* | osf5*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-rdos*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-solaris*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-sysv4 | sysv4.3*)
- case $host_vendor in
- motorola)
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- ;;
- ncr)
- lt_cv_deplibs_check_method=pass_all
- ;;
- sequent)
- lt_cv_file_magic_cmd='/bin/file'
- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
- ;;
- sni)
- lt_cv_file_magic_cmd='/bin/file'
- lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
- lt_cv_file_magic_test_file=/lib/libc.so
- ;;
- siemens)
- lt_cv_deplibs_check_method=pass_all
- ;;
- pc)
- lt_cv_deplibs_check_method=pass_all
- ;;
- esac
- ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-esac
-])
-file_magic_cmd=$lt_cv_file_magic_cmd
-deplibs_check_method=$lt_cv_deplibs_check_method
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
-])# AC_DEPLIBS_CHECK_METHOD
-
-
-# AC_PROG_NM
-# ----------
-# find the pathname to a BSD-compatible name lister
-AC_DEFUN([AC_PROG_NM],
-[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
-[if test -n "$NM"; then
- # Let the user override the test.
- lt_cv_path_NM="$NM"
-else
- lt_nm_to_check="${ac_tool_prefix}nm"
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
- lt_nm_to_check="$lt_nm_to_check nm"
- fi
- for lt_tmp_nm in $lt_nm_to_check; do
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- tmp_nm="$ac_dir/$lt_tmp_nm"
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- # Tru64's nm complains that /dev/null is an invalid object file
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
- */dev/null* | *'Invalid file or object type'*)
- lt_cv_path_NM="$tmp_nm -B"
- break
- ;;
- *)
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
- */dev/null*)
- lt_cv_path_NM="$tmp_nm -p"
- break
- ;;
- *)
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- ;;
- esac
- ;;
- esac
- fi
- done
- IFS="$lt_save_ifs"
- done
- test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
-fi])
-NM="$lt_cv_path_NM"
-])# AC_PROG_NM
-
-
-# AC_CHECK_LIBM
-# -------------
-# check for math library
-AC_DEFUN([AC_CHECK_LIBM],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-LIBM=
-case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
- # These system don't have libm, or don't need it
- ;;
-*-ncr-sysv4.3*)
- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
- AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
- ;;
-*)
- AC_CHECK_LIB(m, cos, LIBM="-lm")
- ;;
-esac
-])# AC_CHECK_LIBM
-
-
-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
-# -----------------------------------
-# sets LIBLTDL to the link flags for the libltdl convenience library and
-# LTDLINCL to the include flags for the libltdl header and adds
-# --enable-ltdl-convenience to the configure arguments. Note that
-# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
-# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
-# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
-# (note the single quotes!). If your package is not flat and you're not
-# using automake, define top_builddir and top_srcdir appropriately in
-# the Makefiles.
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- case $enable_ltdl_convenience in
- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
- "") enable_ltdl_convenience=yes
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
- esac
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- # For backwards non-gettext consistent compatibility...
- INCLTDL="$LTDLINCL"
-])# AC_LIBLTDL_CONVENIENCE
-
-
-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
-# -----------------------------------
-# sets LIBLTDL to the link flags for the libltdl installable library and
-# LTDLINCL to the include flags for the libltdl header and adds
-# --enable-ltdl-install to the configure arguments. Note that
-# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
-# and an installed libltdl is not found, it is assumed to be `libltdl'.
-# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
-# '${top_srcdir}/' (note the single quotes!). If your package is not
-# flat and you're not using automake, define top_builddir and top_srcdir
-# appropriately in the Makefiles.
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_CHECK_LIB(ltdl, lt_dlinit,
- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
- [if test x"$enable_ltdl_install" = xno; then
- AC_MSG_WARN([libltdl not installed, but installation disabled])
- else
- enable_ltdl_install=yes
- fi
- ])
- if test x"$enable_ltdl_install" = x"yes"; then
- ac_configure_args="$ac_configure_args --enable-ltdl-install"
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- else
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
- LIBLTDL="-lltdl"
- LTDLINCL=
- fi
- # For backwards non-gettext consistent compatibility...
- INCLTDL="$LTDLINCL"
-])# AC_LIBLTDL_INSTALLABLE
-
-
-# AC_LIBTOOL_CXX
-# --------------
-# enable support for C++ libraries
-AC_DEFUN([AC_LIBTOOL_CXX],
-[AC_REQUIRE([_LT_AC_LANG_CXX])
-])# AC_LIBTOOL_CXX
-
-
-# _LT_AC_LANG_CXX
-# ---------------
-AC_DEFUN([_LT_AC_LANG_CXX],
-[AC_REQUIRE([AC_PROG_CXX])
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
-])# _LT_AC_LANG_CXX
-
-# _LT_AC_PROG_CXXCPP
-# ------------------
-AC_DEFUN([_LT_AC_PROG_CXXCPP],
-[
-AC_REQUIRE([AC_PROG_CXX])
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
- (test "X$CXX" != "Xg++"))) ; then
- AC_PROG_CXXCPP
-fi
-])# _LT_AC_PROG_CXXCPP
-
-# AC_LIBTOOL_F77
-# --------------
-# enable support for Fortran 77 libraries
-AC_DEFUN([AC_LIBTOOL_F77],
-[AC_REQUIRE([_LT_AC_LANG_F77])
-])# AC_LIBTOOL_F77
-
-
-# _LT_AC_LANG_F77
-# ---------------
-AC_DEFUN([_LT_AC_LANG_F77],
-[AC_REQUIRE([AC_PROG_F77])
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
-])# _LT_AC_LANG_F77
-
-
-# AC_LIBTOOL_GCJ
-# --------------
-# enable support for GCJ libraries
-AC_DEFUN([AC_LIBTOOL_GCJ],
-[AC_REQUIRE([_LT_AC_LANG_GCJ])
-])# AC_LIBTOOL_GCJ
-
-
-# _LT_AC_LANG_GCJ
-# ---------------
-AC_DEFUN([_LT_AC_LANG_GCJ],
-[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
- [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
- [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
- [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
-])# _LT_AC_LANG_GCJ
-
-
-# AC_LIBTOOL_RC
-# -------------
-# enable support for Windows resource files
-AC_DEFUN([AC_LIBTOOL_RC],
-[AC_REQUIRE([LT_AC_PROG_RC])
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
-])# AC_LIBTOOL_RC
-
-
-# AC_LIBTOOL_LANG_C_CONFIG
-# ------------------------
-# Ensure that the configuration vars for the C compiler are
-# suitably defined. Those variables are subsequently used by
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
-AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
-AC_DEFUN([_LT_AC_LANG_C_CONFIG],
-[lt_save_CC="$CC"
-AC_LANG_PUSH(C)
-
-# Source file extension for C test sources.
-ac_ext=c
-
-# Object file extension for compiled C test sources.
-objext=o
-_LT_AC_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(){return(0);}'
-
-_LT_AC_SYS_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
-AC_LIBTOOL_PROG_CC_C_O($1)
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_DLOPEN_SELF
-
-# Report which library types will actually be built
-AC_MSG_CHECKING([if libtool supports shared libraries])
-AC_MSG_RESULT([$can_build_shared])
-
-AC_MSG_CHECKING([whether to build shared libraries])
-test "$can_build_shared" = "no" && enable_shared=no
-
-# On AIX, shared libraries and static libraries use the same namespace, and
-# are all built from PIC.
-case $host_os in
-aix3*)
- test "$enable_shared" = yes && enable_static=no
- if test -n "$RANLIB"; then
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
- postinstall_cmds='$RANLIB $lib'
- fi
- ;;
-
-aix[[4-9]]*)
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- test "$enable_shared" = yes && enable_static=no
- fi
- ;;
-esac
-AC_MSG_RESULT([$enable_shared])
-
-AC_MSG_CHECKING([whether to build static libraries])
-# Make sure either enable_shared or enable_static is yes.
-test "$enable_shared" = yes || enable_static=yes
-AC_MSG_RESULT([$enable_static])
-
-AC_LIBTOOL_CONFIG($1)
-
-AC_LANG_POP
-CC="$lt_save_CC"
-])# AC_LIBTOOL_LANG_C_CONFIG
-
-
-# AC_LIBTOOL_LANG_CXX_CONFIG
-# --------------------------
-# Ensure that the configuration vars for the C compiler are
-# suitably defined. Those variables are subsequently used by
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
-AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
-AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
-[AC_LANG_PUSH(C++)
-AC_REQUIRE([AC_PROG_CXX])
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
-
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
-_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
-_LT_AC_TAGVAR(module_cmds, $1)=
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Dependencies to place before and after the object being linked:
-_LT_AC_TAGVAR(predep_objects, $1)=
-_LT_AC_TAGVAR(postdep_objects, $1)=
-_LT_AC_TAGVAR(predeps, $1)=
-_LT_AC_TAGVAR(postdeps, $1)=
-_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
-
-# Source file extension for C++ test sources.
-ac_ext=cpp
-
-# Object file extension for compiled C++ test sources.
-objext=o
-_LT_AC_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_AC_SYS_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC=$CC
-lt_save_LD=$LD
-lt_save_GCC=$GCC
-GCC=$GXX
-lt_save_with_gnu_ld=$with_gnu_ld
-lt_save_path_LD=$lt_cv_path_LD
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
- lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
-else
- $as_unset lt_cv_prog_gnu_ld
-fi
-if test -n "${lt_cv_path_LDCXX+set}"; then
- lt_cv_path_LD=$lt_cv_path_LDCXX
-else
- $as_unset lt_cv_path_LD
-fi
-test -z "${LDCXX+set}" || LD=$LDCXX
-CC=${CXX-"c++"}
-compiler=$CC
-_LT_AC_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-
-# We don't want -fno-exception wen compiling C++ code, so set the
-# no_builtin_flag separately
-if test "$GXX" = yes; then
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
-else
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-fi
-
-if test "$GXX" = yes; then
- # Set up default GNU C++ configuration
-
- AC_PROG_LD
-
- # Check if GNU C++ uses GNU ld as the underlying linker, since the
- # archiving commands below assume that GNU ld is being used.
- if test "$with_gnu_ld" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
- # If archive_cmds runs LD, not CC, wlarc should be empty
- # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
- # investigate it a little bit more. (MM)
- wlarc='${wl}'
-
- # ancient GNU ld didn't support --whole-archive et. al.
- if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
- grep 'no-whole-archive' > /dev/null; then
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- else
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
- fi
- else
- with_gnu_ld=no
- wlarc=
-
- # A generic and very simple default shared library creation
- # command for GNU C++ for the case where it uses the native
- # linker, instead of GNU ld. If possible, this setting should
- # overridden to take advantage of the native linker features on
- # the platform it is being used on.
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- fi
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
-
-else
- GXX=no
- with_gnu_ld=no
- wlarc=
-fi
-
-# PORTME: fill in a description of your system's C++ link characteristics
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-_LT_AC_TAGVAR(ld_shlibs, $1)=yes
-case $host_os in
- aix3*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- aix[[4-9]]*)
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- exp_sym_flag='-Bexport'
- no_entry_flag=""
- else
- aix_use_runtimelinking=no
-
- # Test if we are trying to use run time linking or normal
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- # need to do runtime linking.
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
- for ld_flag in $LDFLAGS; do
- case $ld_flag in
- *-brtl*)
- aix_use_runtimelinking=yes
- break
- ;;
- esac
- done
- ;;
- esac
-
- exp_sym_flag='-bexport'
- no_entry_flag='-bnoentry'
- fi
-
- # When large executables or shared objects are built, AIX ld can
- # have problems creating the table of contents. If linking a library
- # or program results in "error TOC overflow" add -mminimal-toc to
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
- _LT_AC_TAGVAR(archive_cmds, $1)=''
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
-
- if test "$GXX" = yes; then
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
- # We only want to do this on AIX 4.2 and lower, the check
- # below for broken collect2 doesn't work under 4.3+
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- :
- else
- # We have old collect2
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
- # It fails to find uninstalled libraries when the uninstalled
- # path is not listed in the libpath. Setting hardcode_minus_L
- # to unsupported forces relinking
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
- fi
- ;;
- esac
- shared_flag='-shared'
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag="$shared_flag "'${wl}-G'
- fi
- else
- # not using gcc
- if test "$host_cpu" = ia64; then
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
- # chokes on -Wl,-G. The following line is correct:
- shared_flag='-G'
- else
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag='${wl}-G'
- else
- shared_flag='${wl}-bM:SRE'
- fi
- fi
- fi
-
- # It seems that -bexpall does not export symbols beginning with
- # underscore (_), so it is better to generate a list of symbols to export.
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
- if test "$aix_use_runtimelinking" = yes; then
- # Warning - without using the other runtime loading flags (-brtl),
- # -berok will link without error, but may produce a broken library.
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
- # Determine the default libpath from the value encoded in an empty executable.
- _LT_AC_SYS_LIBPATH_AIX
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${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"
- else
- if test "$host_cpu" = ia64; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
- else
- # Determine the default libpath from the value encoded in an empty executable.
- _LT_AC_SYS_LIBPATH_AIX
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
- # Warning - without using the other run time loading flags,
- # -berok will link without error, but may produce a broken library.
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
- # Exported symbols can be pulled into shared objects from archives
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
- # This is similar to how AIX traditionally builds its shared libraries.
- _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'
- fi
- fi
- ;;
-
- beos*)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- # Joseph Beckenbach says some releases of gcc
- # support --undefined. This deserves some investigation. FIXME
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- chorus*)
- case $cc_basename in
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- ;;
-
- cygwin* | mingw* | pw32*)
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
- # as there is no search path for DLLs.
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- # If the export-symbols file already is a .def file (1st line
- # is EXPORTS), use it as is; otherwise, prepend...
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname.def;
- else
- echo EXPORTS > $output_objdir/$soname.def;
- cat $export_symbols >> $output_objdir/$soname.def;
- fi~
- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- darwin* | rhapsody*)
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
- if test "$GXX" = yes ; then
- output_verbose_link_cmd='echo'
- _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
- _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
- _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
- if test "$lt_cv_apple_cc_single_mod" != "yes"; then
- _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${_lt_dsymutil}"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
- fi
- else
- case $cc_basename in
- xlc*)
- output_verbose_link_cmd='echo'
- _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` $xlcverstring'
- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
- _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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- ;;
- *)
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- fi
- ;;
-
- dgux*)
- case $cc_basename in
- ec++*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- ghcx*)
- # Green Hills C++ Compiler
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- ;;
- freebsd[[12]]*)
- # C++ shared libraries reported to be fairly broken before switch to ELF
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- freebsd-elf*)
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- ;;
- freebsd* | dragonfly*)
- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
- # conventions
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
- ;;
- gnu*)
- ;;
- hpux9*)
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
- # but as the default
- # location of the library.
-
- case $cc_basename in
- CC*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- aCC*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
- ;;
- *)
- if test "$GXX" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- else
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
- ;;
- hpux10*|hpux11*)
- if test $with_gnu_ld = no; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- case $host_cpu in
- hppa*64*|ia64*) ;;
- *)
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- ;;
- esac
- fi
- case $host_cpu in
- hppa*64*|ia64*)
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
- *)
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
- # but as the default
- # location of the library.
- ;;
- esac
-
- case $cc_basename in
- CC*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- aCC*)
- case $host_cpu in
- hppa*64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- ;;
- ia64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- ;;
- esac
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
- ;;
- *)
- if test "$GXX" = yes; then
- if test $with_gnu_ld = no; then
- case $host_cpu in
- hppa*64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- ;;
- ia64*)
- _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'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- ;;
- esac
- fi
- else
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
- ;;
- interix[[3-9]]*)
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
- # Instead, shared libraries are loaded at an image base (0x10000000 by
- # default) and relocated if they conflict, which is a slow very memory
- # consuming and fragmenting process. To avoid this, we pick a random,
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
- _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'
- _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'
- ;;
- irix5* | irix6*)
- case $cc_basename in
- CC*)
- # SGI C++
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
-
- # Archives containing C++ object files must be created using
- # "CC -ar", where "CC" is the IRIX C++ compiler. This is
- # necessary to make sure instantiated templates are included
- # in the archive.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
- ;;
- *)
- if test "$GXX" = yes; then
- if test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
- fi
- fi
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- ;;
- esac
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- ;;
- linux* | k*bsd*-gnu)
- case $cc_basename in
- KCC*)
- # Kuck and Associates, Inc. (KAI) C++ Compiler
-
- # KCC will only create a shared library if the output file
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
- # to its proper name (with version) after linking.
- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
- # Archives containing C++ object files must be created using
- # "CC -Bstatic", where "CC" is the KAI C++ compiler.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
- ;;
- icpc*)
- # Intel C++
- with_gnu_ld=yes
- # version 8.0 and above of icpc choke on multiply defined symbols
- # if we add $predep_objects and $postdep_objects, however 7.1 and
- # earlier do not add the objects themselves.
- case `$CC -V 2>&1` in
- *"Version 7."*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- ;;
- *) # Version 8.0 or newer
- tmp_idyn=
- case $host_cpu in
- ia64*) tmp_idyn=' -i_dynamic';;
- esac
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _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'
- ;;
- esac
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
- ;;
- pgCC* | pgcpp*)
- # Portland Group C++ compiler
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
- _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'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
- _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'
- ;;
- cxx*)
- # Compaq C++
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
-
- runpath_var=LD_RUN_PATH
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
- ;;
- *)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- # Sun C++ 5.9
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
-
- # Not sure whether something based on
- # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
- # would be better.
- output_verbose_link_cmd='echo'
-
- # Archives containing C++ object files must be created using
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
- # necessary to make sure instantiated templates are included
- # in the archive.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
- ;;
- esac
- ;;
- esac
- ;;
- lynxos*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- m88k*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- mvs*)
- case $cc_basename in
- cxx*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- ;;
- netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
- wlarc=
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- fi
- # Workaround some broken pre-1.5 toolchains
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
- ;;
- openbsd2*)
- # C++ shared libraries are fairly broken
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- openbsd*)
- if test -f /usr/libexec/ld.so; then
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- _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'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- fi
- output_verbose_link_cmd='echo'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- osf3*)
- case $cc_basename in
- KCC*)
- # Kuck and Associates, Inc. (KAI) C++ Compiler
-
- # KCC will only create a shared library if the output file
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
- # to its proper name (with version) after linking.
- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Archives containing C++ object files must be created using
- # "CC -Bstatic", where "CC" is the KAI C++ compiler.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
-
- ;;
- RCC*)
- # Rational C++ 2.4.1
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- cxx*)
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
- ;;
- *)
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
-
- else
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
- ;;
- osf4* | osf5*)
- case $cc_basename in
- KCC*)
- # Kuck and Associates, Inc. (KAI) C++ Compiler
-
- # KCC will only create a shared library if the output file
- # ends with ".so" (or ".sl" for HP-UX), so rename the library
- # to its proper name (with version) after linking.
- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Archives containing C++ object files must be created using
- # the KAI C++ compiler.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
- ;;
- RCC*)
- # Rational C++ 2.4.1
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- cxx*)
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
- echo "-hidden">> $lib.exp~
- $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~
- $rm $lib.exp'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- #
- # There doesn't appear to be a way to prevent this compiler from
- # explicitly linking system object files so we need to strip them
- # from the output so that they don't get included in the library
- # dependencies.
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
- ;;
- *)
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
-
- else
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
- ;;
- psos*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- sunos4*)
- case $cc_basename in
- CC*)
- # Sun C++ 4.x
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- lcc*)
- # Lucid
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- ;;
- solaris*)
- case $cc_basename in
- CC*)
- # Sun C++ 4.2, 5.x and Centerline C++
- _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- case $host_os in
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- *)
- # The compiler driver will combine and reorder linker options,
- # but understands `-z linker_flag'.
- # Supported since Solaris 2.6 (maybe 2.5.1?)
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
- ;;
- esac
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
-
- output_verbose_link_cmd='echo'
-
- # Archives containing C++ object files must be created using
- # "CC -xar", where "CC" is the Sun C++ compiler. This is
- # necessary to make sure instantiated templates are included
- # in the archive.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
- ;;
- gcx*)
- # Green Hills C++ Compiler
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-
- # The C++ compiler must be used to create the archive.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
- ;;
- *)
- # GNU C++ compiler with Solaris linker
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
- if $CC --version | grep -v '^2\.7' > /dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
- else
- # g++ 2.7 appears to require `-G' NOT `-shared' on this
- # platform.
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
-
- # Commands to make compiler produce verbose output that lists
- # what "hidden" libraries, object files and flags are used when
- # linking a shared library.
- output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
- fi
-
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
- case $host_os in
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- *)
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
- ;;
- esac
- fi
- ;;
- esac
- ;;
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- runpath_var='LD_RUN_PATH'
-
- case $cc_basename in
- CC*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- esac
- ;;
- sysv5* | sco3.2v5* | sco5v6*)
- # Note: We can NOT use -z defs as we might desire, because we do not
- # link with -lc, and that would cause any symbols used from libc to
- # always be unresolved, which means just about no library would
- # ever link correctly. If we're not using GNU ld we use -z text
- # though, which does catch some bad symbols but isn't as heavy-handed
- # as -z defs.
- # For security reasons, it is highly recommended that you always
- # use absolute paths for naming shared libraries, and exclude the
- # DT_RUNPATH tag from executables and libraries. But doing so
- # requires that you compile everything twice, which is a pain.
- # So that behaviour is only enabled if SCOABSPATH is set to a
- # non-empty value in the environment. Most likely only useful for
- # creating official distributions of packages.
- # This is a hack until libtool officially supports absolute path
- # names for shared libraries.
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
- runpath_var='LD_RUN_PATH'
-
- case $cc_basename in
- CC*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- _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'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- _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'
- ;;
- esac
- ;;
- tandem*)
- case $cc_basename in
- NCC*)
- # NonStop-UX NCC 3.20
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- ;;
- vxworks*)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- *)
- # FIXME: insert proper C++ library support
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
-esac
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-_LT_AC_TAGVAR(GCC, $1)="$GXX"
-_LT_AC_TAGVAR(LD, $1)="$LD"
-
-AC_LIBTOOL_POSTDEP_PREDEP($1)
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
-AC_LIBTOOL_PROG_CC_C_O($1)
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-
-AC_LIBTOOL_CONFIG($1)
-
-AC_LANG_POP
-CC=$lt_save_CC
-LDCXX=$LD
-LD=$lt_save_LD
-GCC=$lt_save_GCC
-with_gnu_ldcxx=$with_gnu_ld
-with_gnu_ld=$lt_save_with_gnu_ld
-lt_cv_path_LDCXX=$lt_cv_path_LD
-lt_cv_path_LD=$lt_save_path_LD
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
-])# AC_LIBTOOL_LANG_CXX_CONFIG
-
-# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
-# ------------------------------------
-# Figure out "hidden" library dependencies from verbose
-# compiler output when linking a shared library.
-# Parse the compiler output and extract the necessary
-# objects, libraries and library flags.
-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-dnl we can't use the lt_simple_compile_test_code here,
-dnl because it contains code intended for an executable,
-dnl not a library. It's possible we should let each
-dnl tag define a new lt_????_link_test_code variable,
-dnl but it's only used here...
-ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed 5q` in
- *Sun\ C*)
- # Sun C++ 5.9
- #
- # The more standards-conforming stlport4 library is
- # incompatible with the Cstd library. Avoid specifying
- # it if it's in CXXFLAGS. Ignore libCrun as
- # -library=stlport4 depends on it.
- case " $CXX $CXXFLAGS " in
- *" -library=stlport4 "*)
- solaris_use_stlport4=yes
- ;;
- esac
- if test "$solaris_use_stlport4" != yes; then
- _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
- fi
- ;;
- esac
- ;;
-
-solaris*)
- case $cc_basename in
- CC*)
- # The more standards-conforming stlport4 library is
- # incompatible with the Cstd library. Avoid specifying
- # it if it's in CXXFLAGS. Ignore libCrun as
- # -library=stlport4 depends on it.
- case " $CXX $CXXFLAGS " in
- *" -library=stlport4 "*)
- solaris_use_stlport4=yes
- ;;
- esac
-
- # Adding this requires a known-good setup of shared libraries for
- # Sun compiler versions before 5.6, else PIC objects from an old
- # archive will be linked into the output, leading to subtle bugs.
- if test "$solaris_use_stlport4" != yes; then
- _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
- fi
- ;;
- esac
- ;;
-esac
-])
-case " $_LT_AC_TAGVAR(postdeps, $1) " in
-*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
-esac
-])# AC_LIBTOOL_POSTDEP_PREDEP
-
-# AC_LIBTOOL_LANG_F77_CONFIG
-# --------------------------
-# Ensure that the configuration vars for the C compiler are
-# suitably defined. Those variables are subsequently used by
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
-AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
-AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
-[AC_REQUIRE([AC_PROG_F77])
-AC_LANG_PUSH(Fortran 77)
-
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
-_LT_AC_TAGVAR(module_cmds, $1)=
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for f77 test sources.
-ac_ext=f
-
-# Object file extension for compiled f77 test sources.
-objext=o
-_LT_AC_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="\
- subroutine t
- return
- end
-"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code="\
- program t
- end
-"
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_AC_SYS_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-CC=${F77-"f77"}
-compiler=$CC
-_LT_AC_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-
-AC_MSG_CHECKING([if libtool supports shared libraries])
-AC_MSG_RESULT([$can_build_shared])
-
-AC_MSG_CHECKING([whether to build shared libraries])
-test "$can_build_shared" = "no" && enable_shared=no
-
-# On AIX, shared libraries and static libraries use the same namespace, and
-# are all built from PIC.
-case $host_os in
-aix3*)
- test "$enable_shared" = yes && enable_static=no
- if test -n "$RANLIB"; then
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
- postinstall_cmds='$RANLIB $lib'
- fi
- ;;
-aix[[4-9]]*)
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- test "$enable_shared" = yes && enable_static=no
- fi
- ;;
-esac
-AC_MSG_RESULT([$enable_shared])
-
-AC_MSG_CHECKING([whether to build static libraries])
-# Make sure either enable_shared or enable_static is yes.
-test "$enable_shared" = yes || enable_static=yes
-AC_MSG_RESULT([$enable_static])
-
-_LT_AC_TAGVAR(GCC, $1)="$G77"
-_LT_AC_TAGVAR(LD, $1)="$LD"
-
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
-AC_LIBTOOL_PROG_CC_C_O($1)
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-
-AC_LIBTOOL_CONFIG($1)
-
-AC_LANG_POP
-CC="$lt_save_CC"
-])# AC_LIBTOOL_LANG_F77_CONFIG
-
-
-# AC_LIBTOOL_LANG_GCJ_CONFIG
-# --------------------------
-# Ensure that the configuration vars for the C compiler are
-# suitably defined. Those variables are subsequently used by
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
-AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
-AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
-[AC_LANG_SAVE
-
-# Source file extension for Java test sources.
-ac_ext=java
-
-# Object file extension for compiled Java test sources.
-objext=o
-_LT_AC_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="class foo {}"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_AC_SYS_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-CC=${GCJ-"gcj"}
-compiler=$CC
-_LT_AC_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
-
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
-AC_LIBTOOL_PROG_CC_C_O($1)
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
-
-AC_LIBTOOL_CONFIG($1)
-
-AC_LANG_RESTORE
-CC="$lt_save_CC"
-])# AC_LIBTOOL_LANG_GCJ_CONFIG
-
-
-# AC_LIBTOOL_LANG_RC_CONFIG
-# -------------------------
-# Ensure that the configuration vars for the Windows resource compiler are
-# suitably defined. Those variables are subsequently used by
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
-AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
-AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
-[AC_LANG_SAVE
-
-# Source file extension for RC test sources.
-ac_ext=rc
-
-# Object file extension for compiled RC test sources.
-objext=o
-_LT_AC_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
-
-# Code to be used in simple link tests
-lt_simple_link_test_code="$lt_simple_compile_test_code"
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_AC_SYS_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-CC=${RC-"windres"}
-compiler=$CC
-_LT_AC_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
-
-AC_LIBTOOL_CONFIG($1)
-
-AC_LANG_RESTORE
-CC="$lt_save_CC"
-])# AC_LIBTOOL_LANG_RC_CONFIG
-
-
-# AC_LIBTOOL_CONFIG([TAGNAME])
-# ----------------------------
-# If TAGNAME is not passed, then create an initial libtool script
-# with a default configuration from the untagged config vars. Otherwise
-# add code to config.status for appending the configuration named by
-# TAGNAME from the matching tagged config vars.
-AC_DEFUN([AC_LIBTOOL_CONFIG],
-[# The else clause should only fire when bootstrapping the
-# libtool distribution, otherwise you forgot to ship ltmain.sh
-# with your package, and you will get complaints that there are
-# no rules to generate ltmain.sh.
-if test -f "$ltmain"; then
- # See if we are running on zsh, and set the options which allow our commands through
- # without removal of \ escapes.
- if test -n "${ZSH_VERSION+set}" ; then
- setopt NO_GLOB_SUBST
- fi
- # Now quote all the things that may contain metacharacters while being
- # careful not to overquote the AC_SUBSTed values. We take copies of the
- # variables and quote the copies for generation of the libtool script.
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
- SED SHELL STRIP \
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \
- deplibs_check_method reload_flag reload_cmds need_locks \
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
- lt_cv_sys_global_symbol_to_c_name_address \
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- old_postinstall_cmds old_postuninstall_cmds \
- _LT_AC_TAGVAR(compiler, $1) \
- _LT_AC_TAGVAR(CC, $1) \
- _LT_AC_TAGVAR(LD, $1) \
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
- _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
- _LT_AC_TAGVAR(old_archive_cmds, $1) \
- _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
- _LT_AC_TAGVAR(predep_objects, $1) \
- _LT_AC_TAGVAR(postdep_objects, $1) \
- _LT_AC_TAGVAR(predeps, $1) \
- _LT_AC_TAGVAR(postdeps, $1) \
- _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
- _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
- _LT_AC_TAGVAR(archive_cmds, $1) \
- _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
- _LT_AC_TAGVAR(postinstall_cmds, $1) \
- _LT_AC_TAGVAR(postuninstall_cmds, $1) \
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
- _LT_AC_TAGVAR(allow_undefined_flag, $1) \
- _LT_AC_TAGVAR(no_undefined_flag, $1) \
- _LT_AC_TAGVAR(export_symbols_cmds, $1) \
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
- _LT_AC_TAGVAR(hardcode_automatic, $1) \
- _LT_AC_TAGVAR(module_cmds, $1) \
- _LT_AC_TAGVAR(module_expsym_cmds, $1) \
- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
- _LT_AC_TAGVAR(fix_srcfile_path, $1) \
- _LT_AC_TAGVAR(exclude_expsyms, $1) \
- _LT_AC_TAGVAR(include_expsyms, $1); do
-
- case $var in
- _LT_AC_TAGVAR(old_archive_cmds, $1) | \
- _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
- _LT_AC_TAGVAR(archive_cmds, $1) | \
- _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
- _LT_AC_TAGVAR(module_cmds, $1) | \
- _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
- _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
- extract_expsyms_cmds | reload_cmds | finish_cmds | \
- postinstall_cmds | postuninstall_cmds | \
- old_postinstall_cmds | old_postuninstall_cmds | \
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
- # Double-quote double-evaled strings.
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- ;;
- *)
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- ;;
- esac
- done
-
- case $lt_echo in
- *'\[$]0 --fallback-echo"')
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
- ;;
- esac
-
-ifelse([$1], [],
- [cfgfile="${ofile}T"
- trap "$rm \"$cfgfile\"; exit 1" 1 2 15
- $rm -f "$cfgfile"
- AC_MSG_NOTICE([creating $ofile])],
- [cfgfile="$ofile"])
-
- cat <<__EOF__ >> "$cfgfile"
-ifelse([$1], [],
-[#! $SHELL
-
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
-#
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-# Free Software Foundation, Inc.
-#
-# This file is part of GNU Libtool:
-# Originally by Gordon Matzigkeit , 1996
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# A sed program that does not truncate output.
-SED=$lt_SED
-
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
-Xsed="$SED -e 1s/^X//"
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# The names of the tagged configurations supported by this script.
-available_tags=
-
-# ### BEGIN LIBTOOL CONFIG],
-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
-
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-
-# Shell to use when invoking shell scripts.
-SHELL=$lt_SHELL
-
-# Whether or not to build shared libraries.
-build_libtool_libs=$enable_shared
-
-# Whether or not to build static libraries.
-build_old_libs=$enable_static
-
-# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
-
-# Whether or not to disallow shared libs when runtime libs are static
-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
-
-# Whether or not to optimize for fast installation.
-fast_install=$enable_fast_install
-
-# The host system.
-host_alias=$host_alias
-host=$host
-host_os=$host_os
-
-# The build system.
-build_alias=$build_alias
-build=$build
-build_os=$build_os
-
-# An echo program that does not interpret backslashes.
-echo=$lt_echo
-
-# The archiver.
-AR=$lt_AR
-AR_FLAGS=$lt_AR_FLAGS
-
-# A C compiler.
-LTCC=$lt_LTCC
-
-# LTCC compiler flags.
-LTCFLAGS=$lt_LTCFLAGS
-
-# A language-specific compiler.
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
-
-# Is the compiler the GNU C compiler?
-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
-
-# An ERE matcher.
-EGREP=$lt_EGREP
-
-# The linker used to build libraries.
-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
-
-# Whether we need hard or soft links.
-LN_S=$lt_LN_S
-
-# A BSD-compatible nm program.
-NM=$lt_NM
-
-# A symbol stripping program
-STRIP=$lt_STRIP
-
-# Used to examine libraries when file_magic_cmd begins "file"
-MAGIC_CMD=$MAGIC_CMD
-
-# Used on cygwin: DLL creation program.
-DLLTOOL="$DLLTOOL"
-
-# Used on cygwin: object dumper.
-OBJDUMP="$OBJDUMP"
-
-# Used on cygwin: assembler.
-AS="$AS"
-
-# The name of the directory that contains temporary libtool files.
-objdir=$objdir
-
-# How to create reloadable object files.
-reload_flag=$lt_reload_flag
-reload_cmds=$lt_reload_cmds
-
-# How to pass a linker flag through the compiler.
-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
-
-# Object file suffix (normally "o").
-objext="$ac_objext"
-
-# Old archive suffix (normally "a").
-libext="$libext"
-
-# Shared library suffix (normally ".so").
-shrext_cmds='$shrext_cmds'
-
-# Executable file suffix (normally "").
-exeext="$exeext"
-
-# Additional compiler flags for building library objects.
-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
-pic_mode=$pic_mode
-
-# What is the maximum length of a command?
-max_cmd_len=$lt_cv_sys_max_cmd_len
-
-# Does compiler simultaneously support -c and -o options?
-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
-
-# Must we lock files when doing compilation?
-need_locks=$lt_need_locks
-
-# Do we need the lib prefix for modules?
-need_lib_prefix=$need_lib_prefix
-
-# Do we need a version for libraries?
-need_version=$need_version
-
-# Whether dlopen is supported.
-dlopen_support=$enable_dlopen
-
-# Whether dlopen of programs is supported.
-dlopen_self=$enable_dlopen_self
-
-# Whether dlopen of statically linked programs is supported.
-dlopen_self_static=$enable_dlopen_self_static
-
-# Compiler flag to prevent dynamic linking.
-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
-
-# Compiler flag to turn off builtin functions.
-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
-
-# Compiler flag to allow reflexive dlopens.
-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
-
-# Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
-
-# Compiler flag to generate thread-safe objects.
-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
-
-# Library versioning type.
-version_type=$version_type
-
-# Format of library name prefix.
-libname_spec=$lt_libname_spec
-
-# List of archive names. First name is the real one, the rest are links.
-# The last name is the one that the linker finds with -lNAME.
-library_names_spec=$lt_library_names_spec
-
-# The coded name of the library, if different from the real name.
-soname_spec=$lt_soname_spec
-
-# Commands used to build and install an old-style archive.
-RANLIB=$lt_RANLIB
-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
-old_postinstall_cmds=$lt_old_postinstall_cmds
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
-
-# Create an old-style archive from a shared archive.
-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
-
-# Create a temporary old-style archive to link instead of a shared archive.
-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
-
-# Commands used to build and install a shared archive.
-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
-postinstall_cmds=$lt_postinstall_cmds
-postuninstall_cmds=$lt_postuninstall_cmds
-
-# Commands used to build a loadable module (assumed same as above if empty)
-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
-
-# Commands to strip libraries.
-old_striplib=$lt_old_striplib
-striplib=$lt_striplib
-
-# Dependencies to place before the objects being linked to create a
-# shared library.
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
-
-# Dependencies to place after the objects being linked to create a
-# shared library.
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
-
-# Dependencies to place before the objects being linked to create a
-# shared library.
-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
-
-# Dependencies to place after the objects being linked to create a
-# shared library.
-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
-
-# The directories searched by this compiler when creating a shared
-# library
-compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
-
-# The library search path used internally by the compiler when linking
-# a shared library.
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
-
-# Method to check whether dependent libraries are shared objects.
-deplibs_check_method=$lt_deplibs_check_method
-
-# Command to use when deplibs_check_method == file_magic.
-file_magic_cmd=$lt_file_magic_cmd
-
-# Flag that allows shared libraries with undefined symbols to be built.
-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
-
-# Flag that forces no undefined symbols.
-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
-
-# Commands used to finish a libtool library installation in a directory.
-finish_cmds=$lt_finish_cmds
-
-# Same as above, but a single script fragment to be evaled but not shown.
-finish_eval=$lt_finish_eval
-
-# Take the output of nm and produce a listing of raw symbols and C names.
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
-
-# Transform the output of nm in a proper C declaration
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
-
-# Transform the output of nm in a C name address pair
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
-
-# This is the shared library runtime path variable.
-runpath_var=$runpath_var
-
-# This is the shared library path variable.
-shlibpath_var=$shlibpath_var
-
-# Is shlibpath searched before the hard-coded library search path?
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
-
-# How to hardcode a shared library path into an executable.
-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
-
-# Whether we should hardcode library paths into libraries.
-hardcode_into_libs=$hardcode_into_libs
-
-# Flag to hardcode \$libdir into a binary during linking.
-# This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
-
-# If ld is used when linking, flag to hardcode \$libdir into
-# a binary during linking. This must work even if \$libdir does
-# not exist.
-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
-
-# Whether we need a single -rpath flag with a separated argument.
-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
-
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
-# resulting binary.
-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
-
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
-# resulting binary.
-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
-
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
-# the resulting binary.
-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
-
-# Set to yes if building a shared library automatically hardcodes DIR into the library
-# and all subsequent libraries and executables linked against it.
-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
-
-# Variables whose values should be saved in libtool wrapper scripts and
-# restored at relink time.
-variables_saved_for_relink="$variables_saved_for_relink"
-
-# Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
-
-# Compile-time system search path for libraries
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
-
-# Run-time system search path for libraries
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
-
-# Fix the shell variable \$srcfile for the compiler.
-fix_srcfile_path=$lt_fix_srcfile_path
-
-# Set to yes if exported symbols are required.
-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
-
-# The commands to list exported symbols.
-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
-
-# The commands to extract the exported symbol list from a shared archive.
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
-
-# Symbols that should not be listed in the preloaded symbols.
-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
-
-# Symbols that must always be exported.
-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
-
-ifelse([$1],[],
-[# ### END LIBTOOL CONFIG],
-[# ### END LIBTOOL TAG CONFIG: $tagname])
-
-__EOF__
-
-ifelse([$1],[], [
- case $host_os in
- aix3*)
- cat <<\EOF >> "$cfgfile"
-
-# AIX sometimes has problems with the GCC collect2 program. For some
-# reason, if we set the COLLECT_NAMES environment variable, the problems
-# vanish in a puff of smoke.
-if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
-fi
-EOF
- ;;
- esac
-
- # We use sed instead of cat because bash on DJGPP gets confused if
- # if finds mixed CR/LF and LF-only lines. Since sed operates in
- # text mode, it properly converts lines to CR/LF. This bash problem
- # is reportedly fixed, but why not run on old versions too?
- sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
-
- mv -f "$cfgfile" "$ofile" || \
- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
- chmod +x "$ofile"
-])
-else
- # If there is no Makefile yet, we rely on a make rule to execute
- # `config.status --recheck' to rerun these tests and create the
- # libtool script then.
- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
- if test -f "$ltmain_in"; then
- test -f Makefile && make "$ltmain"
- fi
-fi
-])# AC_LIBTOOL_CONFIG
-
-
-# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
-# -------------------------------------------
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
-
-_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-
-if test "$GCC" = yes; then
- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
-
- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
- lt_cv_prog_compiler_rtti_exceptions,
- [-fno-rtti -fno-exceptions], [],
- [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
-fi
-])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
-
-
-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
-# ---------------------------------
-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
-[AC_REQUIRE([AC_CANONICAL_HOST])
-AC_REQUIRE([LT_AC_PROG_SED])
-AC_REQUIRE([AC_PROG_NM])
-AC_REQUIRE([AC_OBJEXT])
-# Check for command to grab the raw symbol name followed by C symbol from nm.
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
-[
-# These are sane defaults that work on at least a few old systems.
-# [They come from Ultrix. What could be older than Ultrix?!! ;)]
-
-# Character class describing NM global symbol codes.
-symcode='[[BCDEGRST]]'
-
-# Regexp to match symbols that can be accessed directly from C.
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
-
-# Transform an extracted symbol line into a proper C declaration
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
-
-# Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
-
-# Define system-specific variables.
-case $host_os in
-aix*)
- symcode='[[BCDT]]'
- ;;
-cygwin* | mingw* | pw32*)
- symcode='[[ABCDGISTW]]'
- ;;
-hpux*) # Its linker distinguishes data from code symbols
- if test "$host_cpu" = ia64; then
- symcode='[[ABCDEGRST]]'
- fi
- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- ;;
-linux* | k*bsd*-gnu)
- if test "$host_cpu" = ia64; then
- symcode='[[ABCDGIRSTW]]'
- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- fi
- ;;
-irix* | nonstopux*)
- symcode='[[BCDEGRST]]'
- ;;
-osf*)
- symcode='[[BCDEGQRST]]'
- ;;
-solaris*)
- symcode='[[BDRT]]'
- ;;
-sco3.2v5*)
- symcode='[[DT]]'
- ;;
-sysv4.2uw2*)
- symcode='[[DT]]'
- ;;
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
- symcode='[[ABDT]]'
- ;;
-sysv4)
- symcode='[[DFNSTU]]'
- ;;
-esac
-
-# Handle CRLF in mingw tool chain
-opt_cr=
-case $build_os in
-mingw*)
- opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
- symcode='[[ABCDGIRSTW]]' ;;
-esac
-
-# Try without a prefix undercore, then with it.
-for ac_symprfx in "" "_"; do
-
- # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
- symxfrm="\\1 $ac_symprfx\\2 \\2"
-
- # Write the raw and C identifiers.
- lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
-
- # Check to see that the pipe works correctly.
- pipe_works=no
-
- rm -f conftest*
- cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then
- # Try sorting and uniquifying the output.
- if sort "$nlist" | uniq > "$nlist"T; then
- mv -f "$nlist"T "$nlist"
- else
- rm -f "$nlist"T
- fi
-
- # Make sure that we snagged all the symbols we need.
- if grep ' nm_test_var$' "$nlist" >/dev/null; then
- if grep ' nm_test_func$' "$nlist" >/dev/null; then
- cat < conftest.$ac_ext
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-EOF
- # Now generate the symbol file.
- eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
-
- cat <> conftest.$ac_ext
-#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
-#else
-# define lt_ptr_t char *
-# define const
-#endif
-
-/* The mapping between symbol names and symbols. */
-const struct {
- const char *name;
- lt_ptr_t address;
-}
-lt_preloaded_symbols[[]] =
-{
-EOF
- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
- cat <<\EOF >> conftest.$ac_ext
- {0, (lt_ptr_t) 0}
-};
-
-#ifdef __cplusplus
-}
-#endif
-EOF
- # Now try linking the two files.
- mv conftest.$ac_objext conftstm.$ac_objext
- lt_save_LIBS="$LIBS"
- lt_save_CFLAGS="$CFLAGS"
- LIBS="conftstm.$ac_objext"
- CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
- pipe_works=yes
- fi
- LIBS="$lt_save_LIBS"
- CFLAGS="$lt_save_CFLAGS"
- else
- echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
- fi
- else
- echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
- fi
- else
- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
- fi
- else
- echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
- cat conftest.$ac_ext >&5
- fi
- rm -rf conftest* conftst*
-
- # Do not use the global_symbol_pipe unless it works.
- if test "$pipe_works" = yes; then
- break
- else
- lt_cv_sys_global_symbol_pipe=
- fi
-done
-])
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
- lt_cv_sys_global_symbol_to_cdecl=
-fi
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
- AC_MSG_RESULT(failed)
-else
- AC_MSG_RESULT(ok)
-fi
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
-
-
-# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
-# ---------------------------------------
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
-[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
-_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
-_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
-
-AC_MSG_CHECKING([for $compiler option to produce PIC])
- ifelse([$1],[CXX],[
- # C++ specific cases for pic, static, wl, etc.
- if test "$GXX" = yes; then
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
- case $host_os in
- aix*)
- # All AIX code is PIC.
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- fi
- ;;
- amigaos*)
- # FIXME: we need at least 68020 code to build shared libraries, but
- # adding the `-m68020' flag to GCC prevents building anything better,
- # like `-m68040'.
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
- ;;
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- # PIC is the default for these OSes.
- ;;
- mingw* | cygwin* | os2* | pw32*)
- # This hack is so that the source file can tell whether it is being
- # built for inclusion in a dll (and should export symbols for example).
- # Although the cygwin gcc ignores -fPIC, still need this for old-style
- # (--disable-auto-import) libraries
- m4_if([$1], [GCJ], [],
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
- ;;
- darwin* | rhapsody*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
- ;;
- *djgpp*)
- # DJGPP does not support shared libraries at all
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
- ;;
- interix[[3-9]]*)
- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
- # Instead, we relocate shared libraries at runtime.
- ;;
- sysv4*MP*)
- if test -d /usr/nec; then
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
- fi
- ;;
- hpux*)
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
- # not for PA HP-UX.
- case $host_cpu in
- hppa*64*|ia64*)
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
- ;;
- esac
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
- ;;
- esac
- else
- case $host_os in
- aix[[4-9]]*)
- # All AIX code is PIC.
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- else
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
- fi
- ;;
- chorus*)
- case $cc_basename in
- cxch68*)
- # Green Hills C++ Compiler
- # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
- ;;
- esac
- ;;
- darwin*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- case $cc_basename in
- xlc*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- ;;
- esac
- ;;
- dgux*)
- case $cc_basename in
- ec++*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- ;;
- ghcx*)
- # Green Hills C++ Compiler
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
- ;;
- *)
- ;;
- esac
- ;;
- freebsd* | dragonfly*)
- # FreeBSD uses GNU C++
- ;;
- hpux9* | hpux10* | hpux11*)
- case $cc_basename in
- CC*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
- if test "$host_cpu" != ia64; then
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
- fi
- ;;
- aCC*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
- case $host_cpu in
- hppa*64*|ia64*)
- # +Z the default
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
- ;;
- esac
- ;;
- *)
- ;;
- esac
- ;;
- interix*)
- # This is c89, which is MS Visual C++ (no shared libs)
- # Anyone wants to do a port?
- ;;
- irix5* | irix6* | nonstopux*)
- case $cc_basename in
- CC*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- # CC pic flag -KPIC is the default.
- ;;
- *)
- ;;
- esac
- ;;
- linux* | k*bsd*-gnu)
- case $cc_basename in
- KCC*)
- # KAI C++ Compiler
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
- ;;
- icpc* | ecpc*)
- # Intel C++
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
- ;;
- pgCC* | pgcpp*)
- # Portland Group C++ compiler.
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
- cxx*)
- # Compaq C++
- # Make sure the PIC flag is empty. It appears that all Alpha
- # Linux and Compaq Tru64 Unix objects are PIC.
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
- *)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- # Sun C++ 5.9
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
- ;;
- esac
- ;;
- esac
- ;;
- lynxos*)
- ;;
- m88k*)
- ;;
- mvs*)
- case $cc_basename in
- cxx*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
- ;;
- *)
- ;;
- esac
- ;;
- netbsd* | netbsdelf*-gnu)
- ;;
- osf3* | osf4* | osf5*)
- case $cc_basename in
- KCC*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
- ;;
- RCC*)
- # Rational C++ 2.4.1
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
- ;;
- cxx*)
- # Digital/Compaq C++
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- # Make sure the PIC flag is empty. It appears that all Alpha
- # Linux and Compaq Tru64 Unix objects are PIC.
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
- *)
- ;;
- esac
- ;;
- psos*)
- ;;
- solaris*)
- case $cc_basename in
- CC*)
- # Sun C++ 4.2, 5.x and Centerline C++
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
- ;;
- gcx*)
- # Green Hills C++ Compiler
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
- ;;
- *)
- ;;
- esac
- ;;
- sunos4*)
- case $cc_basename in
- CC*)
- # Sun C++ 4.x
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
- lcc*)
- # Lucid
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
- ;;
- *)
- ;;
- esac
- ;;
- tandem*)
- case $cc_basename in
- NCC*)
- # NonStop-UX NCC 3.20
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- ;;
- *)
- ;;
- esac
- ;;
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
- case $cc_basename in
- CC*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
- esac
- ;;
- vxworks*)
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
- ;;
- esac
- fi
-],
-[
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
- case $host_os in
- aix*)
- # All AIX code is PIC.
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- fi
- ;;
-
- amigaos*)
- # FIXME: we need at least 68020 code to build shared libraries, but
- # adding the `-m68020' flag to GCC prevents building anything better,
- # like `-m68040'.
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
- ;;
-
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- # PIC is the default for these OSes.
- ;;
-
- mingw* | cygwin* | pw32* | os2*)
- # This hack is so that the source file can tell whether it is being
- # built for inclusion in a dll (and should export symbols for example).
- # Although the cygwin gcc ignores -fPIC, still need this for old-style
- # (--disable-auto-import) libraries
- m4_if([$1], [GCJ], [],
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
- ;;
-
- darwin* | rhapsody*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
- ;;
-
- interix[[3-9]]*)
- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
- # Instead, we relocate shared libraries at runtime.
- ;;
-
- msdosdjgpp*)
- # Just because we use GCC doesn't mean we suddenly get shared libraries
- # on systems that don't support them.
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
- enable_shared=no
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec; then
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
- fi
- ;;
-
- hpux*)
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
- # not for PA HP-UX.
- case $host_cpu in
- hppa*64*|ia64*)
- # +Z the default
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
- ;;
- esac
- ;;
-
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
- ;;
- esac
- else
- # PORTME Check for flag to pass linker flags through the system compiler.
- case $host_os in
- aix*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- else
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
- fi
- ;;
- darwin*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- case $cc_basename in
- xlc*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- ;;
- esac
- ;;
-
- mingw* | cygwin* | pw32* | os2*)
- # This hack is so that the source file can tell whether it is being
- # built for inclusion in a dll (and should export symbols for example).
- m4_if([$1], [GCJ], [],
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
- ;;
-
- hpux9* | hpux10* | hpux11*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
- # not for PA HP-UX.
- case $host_cpu in
- hppa*64*|ia64*)
- # +Z the default
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
- ;;
- esac
- # Is there a better lt_prog_compiler_static that works with the bundled CC?
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
- ;;
-
- irix5* | irix6* | nonstopux*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- # PIC (with -KPIC) is the default.
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
-
- newsos6)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
-
- linux* | k*bsd*-gnu)
- case $cc_basename in
- icc* | ecc*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
- ;;
- pgcc* | pgf77* | pgf90* | pgf95*)
- # Portland Group compilers (*not* the Pentium gcc compiler,
- # which looks to be a dead project)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
- ccc*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- # All Alpha code is PIC.
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
- *)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- # Sun C 5.9
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- ;;
- *Sun\ F*)
- # Sun Fortran 8.3 passes all unrecognized flags to the linker
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
- ;;
- esac
- ;;
- esac
- ;;
-
- osf3* | osf4* | osf5*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- # All OSF/1 code is PIC.
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
-
- rdos*)
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
- ;;
-
- solaris*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- case $cc_basename in
- f77* | f90* | f95*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
- esac
- ;;
-
- sunos4*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
-
- sysv4 | sysv4.2uw2* | sysv4.3*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec ;then
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- fi
- ;;
-
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
-
- unicos*)
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
- ;;
-
- uts4*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- ;;
-
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
- ;;
- esac
- fi
-])
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
-
-#
-# Check to make sure the PIC flag actually works.
-#
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
- _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
- [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
- [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
- "" | " "*) ;;
- *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
- esac],
- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
-fi
-case $host_os in
- # For platforms which do not support PIC, -DPIC is meaningless:
- *djgpp*)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
- ;;
- *)
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
- ;;
-esac
-
-#
-# Check to make sure the static flag actually works.
-#
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
- _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
- $lt_tmp_static_flag,
- [],
- [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
-])
-
-
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
-# ------------------------------------
-# See if the linker supports building shared libraries.
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-ifelse([$1],[CXX],[
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- case $host_os in
- aix[[4-9]]*)
- # If we're using GNU nm, then we don't want the "-C" option.
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
- else
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
- fi
- ;;
- pw32*)
- _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
- ;;
- cygwin* | mingw*)
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
- ;;
- linux* | k*bsd*-gnu)
- _LT_AC_TAGVAR(link_all_deplibs, $1)=no
- ;;
- *)
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- ;;
- esac
- _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
-],[
- runpath_var=
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
- _LT_AC_TAGVAR(archive_cmds, $1)=
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
- _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
- _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
- _LT_AC_TAGVAR(hardcode_automatic, $1)=no
- _LT_AC_TAGVAR(module_cmds, $1)=
- _LT_AC_TAGVAR(module_expsym_cmds, $1)=
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- # include_expsyms should be a list of space-separated symbols to be *always*
- # included in the symbol list
- _LT_AC_TAGVAR(include_expsyms, $1)=
- # exclude_expsyms can be an extended regexp of symbols to exclude
- # it will be wrapped by ` (' and `)$', so one must not match beginning or
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- # as well as any symbol that contains `d'.
- _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- # platforms (ab)use it in PIC code, but their linkers get confused if
- # the symbol is explicitly referenced. Since portable code cannot
- # rely on this symbol name, it's probably fine to never include it in
- # preloaded symbol tables.
- # Exclude shared library initialization/finalization symbols.
-dnl Note also adjust exclude_expsyms for C++ above.
- extract_expsyms_cmds=
- # Just being paranoid about ensuring that cc_basename is set.
- _LT_CC_BASENAME([$compiler])
- case $host_os in
- cygwin* | mingw* | pw32*)
- # FIXME: the MSVC++ port hasn't been tested in a loooong time
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- if test "$GCC" != yes; then
- with_gnu_ld=no
- fi
- ;;
- interix*)
- # we just hope/assume this is gcc and not c89 (= MSVC++)
- with_gnu_ld=yes
- ;;
- openbsd*)
- with_gnu_ld=no
- ;;
- esac
-
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
- if test "$with_gnu_ld" = yes; then
- # If archive_cmds runs LD, not CC, wlarc should be empty
- wlarc='${wl}'
-
- # Set some defaults for GNU ld with shared library support. These
- # are reset later if shared libraries are not supported. Putting them
- # here allows them to be overridden if necessary.
- runpath_var=LD_RUN_PATH
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
- # ancient GNU ld didn't support --whole-archive et. al.
- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- else
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
- fi
- supports_anon_versioning=no
- case `$LD -v 2>/dev/null` in
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
- *\ 2.11.*) ;; # other 2.11 versions
- *) supports_anon_versioning=yes ;;
- esac
-
- # See if GNU ld supports shared libraries.
- case $host_os in
- aix[[3-9]]*)
- # On AIX/PPC, the GNU linker is very broken
- if test "$host_cpu" != ia64; then
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- cat <&2
-
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
-*** to be unable to reliably create shared libraries on AIX.
-*** Therefore, libtool is disabling shared libraries support. If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
-
-EOF
- fi
- ;;
-
- amigaos*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
-
- # Samuel A. Falvo II reports
- # that the semantics of dynamic libraries on AmigaOS, at least up
- # to version 4, is to share data among multiple programs linked
- # with the same dynamic library. Since this doesn't match the
- # behavior of shared libraries on other platforms, we can't use
- # them.
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
-
- beos*)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- # Joseph Beckenbach says some releases of gcc
- # support --undefined. This deserves some investigation. FIXME
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- cygwin* | mingw* | pw32*)
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
- # as there is no search path for DLLs.
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- _LT_AC_TAGVAR(always_export_symbols, $1)=no
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
-
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- # If the export-symbols file already is a .def file (1st line
- # is EXPORTS), use it as is; otherwise, prepend...
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname.def;
- else
- echo EXPORTS > $output_objdir/$soname.def;
- cat $export_symbols >> $output_objdir/$soname.def;
- fi~
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- interix[[3-9]]*)
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
- # Instead, shared libraries are loaded at an image base (0x10000000 by
- # default) and relocated if they conflict, which is a slow very memory
- # consuming and fragmenting process. To avoid this, we pick a random,
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
- _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'
- _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'
- ;;
-
- gnu* | linux* | k*bsd*-gnu)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- tmp_addflag=
- case $cc_basename,$host_cpu in
- pgcc*) # Portland Group C compiler
- _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'
- tmp_addflag=' $pic_flag'
- ;;
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
- _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'
- tmp_addflag=' $pic_flag -Mnomain' ;;
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
- tmp_addflag=' -i_dynamic' ;;
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
- tmp_addflag=' -i_dynamic -nofor_main' ;;
- ifc* | ifort*) # Intel Fortran compiler
- tmp_addflag=' -nofor_main' ;;
- esac
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*) # Sun C 5.9
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
- tmp_sharedflag='-G' ;;
- *Sun\ F*) # Sun Fortran 8.3
- tmp_sharedflag='-G' ;;
- *)
- tmp_sharedflag='-shared' ;;
- esac
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-
- if test $supports_anon_versioning = yes; then
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
- $echo "local: *; };" >> $output_objdir/$libname.ver~
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
- fi
- _LT_AC_TAGVAR(link_all_deplibs, $1)=no
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- wlarc=
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- fi
- ;;
-
- solaris*)
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- cat <&2
-
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
-*** create shared libraries on Solaris systems. Therefore, libtool
-*** is disabling shared libraries support. We urge you to upgrade GNU
-*** binutils to release 2.9.1 or newer. Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-EOF
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
- case `$LD -v 2>&1` in
- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- cat <<_LT_EOF 1>&2
-
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
-*** reliably create shared libraries on SCO systems. Therefore, libtool
-*** is disabling shared libraries support. We urge you to upgrade GNU
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
- ;;
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
- _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'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
- ;;
-
- sunos4*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- wlarc=
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
- esac
-
- if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
- runpath_var=
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
- fi
- else
- # PORTME fill in a description of your system's linker (not GNU ld)
- case $host_os in
- aix3*)
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- # Note: this linker hardcodes the directories in LIBPATH if there
- # are no directories specified by -L.
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
- # Neither direct hardcoding nor static linking is supported with a
- # broken collect2.
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
- fi
- ;;
-
- aix[[4-9]]*)
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- exp_sym_flag='-Bexport'
- no_entry_flag=""
- else
- # If we're using GNU nm, then we don't want the "-C" option.
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
- else
- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
- fi
- aix_use_runtimelinking=no
-
- # Test if we are trying to use run time linking or normal
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- # need to do runtime linking.
- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
- for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
- aix_use_runtimelinking=yes
- break
- fi
- done
- ;;
- esac
-
- exp_sym_flag='-bexport'
- no_entry_flag='-bnoentry'
- fi
-
- # When large executables or shared objects are built, AIX ld can
- # have problems creating the table of contents. If linking a library
- # or program results in "error TOC overflow" add -mminimal-toc to
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
- _LT_AC_TAGVAR(archive_cmds, $1)=''
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
-
- if test "$GCC" = yes; then
- case $host_os in aix4.[[012]]|aix4.[[012]].*)
- # We only want to do this on AIX 4.2 and lower, the check
- # below for broken collect2 doesn't work under 4.3+
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- :
- else
- # We have old collect2
- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
- # It fails to find uninstalled libraries when the uninstalled
- # path is not listed in the libpath. Setting hardcode_minus_L
- # to unsupported forces relinking
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
- fi
- ;;
- esac
- shared_flag='-shared'
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag="$shared_flag "'${wl}-G'
- fi
- else
- # not using gcc
- if test "$host_cpu" = ia64; then
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
- # chokes on -Wl,-G. The following line is correct:
- shared_flag='-G'
- else
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag='${wl}-G'
- else
- shared_flag='${wl}-bM:SRE'
- fi
- fi
- fi
-
- # It seems that -bexpall does not export symbols beginning with
- # underscore (_), so it is better to generate a list of symbols to export.
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
- if test "$aix_use_runtimelinking" = yes; then
- # Warning - without using the other runtime loading flags (-brtl),
- # -berok will link without error, but may produce a broken library.
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
- # Determine the default libpath from the value encoded in an empty executable.
- _LT_AC_SYS_LIBPATH_AIX
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${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"
- else
- if test "$host_cpu" = ia64; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
- else
- # Determine the default libpath from the value encoded in an empty executable.
- _LT_AC_SYS_LIBPATH_AIX
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
- # Warning - without using the other run time loading flags,
- # -berok will link without error, but may produce a broken library.
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
- # Exported symbols can be pulled into shared objects from archives
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
- # This is similar to how AIX traditionally builds its shared libraries.
- _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'
- fi
- fi
- ;;
-
- amigaos*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- # see comment about different semantics on the GNU ld section
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
-
- bsdi[[45]]*)
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
- ;;
-
- cygwin* | mingw* | pw32*)
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- # hardcode_libdir_flag_spec is actually meaningless, as there is
- # no search path for DLLs.
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- # Tell ltmain to make .lib files, not .a files.
- libext=lib
- # Tell ltmain to make .dll files, not .so files.
- shrext_cmds=".dll"
- # FIXME: Setting linknames here is a bad hack.
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
- # The linker will automatically build a .lib file if we build a DLL.
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
- # FIXME: Should let the user specify the lib program.
- _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
- _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
- ;;
-
- darwin* | rhapsody*)
- case $host_os in
- rhapsody* | darwin1.[[012]])
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
- ;;
- *) # Darwin 1.3 on
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
- else
- case ${MACOSX_DEPLOYMENT_TARGET} in
- 10.[[012]])
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
- ;;
- 10.*)
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
- ;;
- esac
- fi
- ;;
- esac
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- if test "$GCC" = yes ; then
- output_verbose_link_cmd='echo'
- _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
- _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
- _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
- else
- case $cc_basename in
- xlc*)
- output_verbose_link_cmd='echo'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
- _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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- ;;
- *)
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- fi
- ;;
-
- dgux*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- freebsd1*)
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
-
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- # support. Future versions do this automatically, but an explicit c++rt0.o
- # does not break anything, and helps significantly (at the cost of a little
- # extra space).
- freebsd2.2*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd* | dragonfly*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- hpux9*)
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- ;;
-
- hpux10*)
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
- fi
- if test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- fi
- ;;
-
- hpux11*)
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
- case $host_cpu in
- hppa*64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- ia64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- esac
- else
- case $host_cpu in
- hppa*64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- ia64*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- esac
- fi
- if test "$with_gnu_ld" = no; then
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
-
- case $host_cpu in
- hppa*64*|ia64*)
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
- *)
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- ;;
- esac
- fi
- ;;
-
- irix5* | irix6* | nonstopux*)
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- ;;
-
- netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- newsos6)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- openbsd*)
- if test -f /usr/libexec/ld.so; then
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
- else
- case $host_os in
- openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- ;;
- *)
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
- ;;
- esac
- fi
- else
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
- os2*)
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
- _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- ;;
-
- osf3*)
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- ;;
-
- osf4* | osf5*) # as osf3* with the addition of -msym flag
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
- else
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
-
- # Both c and cxx compiler support -rpath directly
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
- ;;
-
- solaris*)
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
- if test "$GCC" = yes; then
- wlarc='${wl}'
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
- else
- wlarc=''
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- case $host_os in
- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- *)
- # The compiler driver will combine and reorder linker options,
- # but understands `-z linker_flag'. GCC discards it without `$wl',
- # but is careful enough not to reorder.
- # Supported since Solaris 2.6 (maybe 2.5.1?)
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
- else
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
- fi
- ;;
- esac
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- ;;
-
- sunos4*)
- if test "x$host_vendor" = xsequent; then
- # Use $CC to link under sequent, because it throws in some extra .o
- # files that make .init and .fini sections work.
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- fi
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- sysv4)
- case $host_vendor in
- sni)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
- ;;
- siemens)
- ## LD is ld it makes a PLAMLIB
- ## CC just makes a GrossModule.
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
- ;;
- motorola)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
- ;;
- esac
- runpath_var='LD_RUN_PATH'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- sysv4.3*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- runpath_var=LD_RUN_PATH
- hardcode_runpath_var=yes
- _LT_AC_TAGVAR(ld_shlibs, $1)=yes
- fi
- ;;
-
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- runpath_var='LD_RUN_PATH'
-
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- fi
- ;;
-
- sysv5* | sco3.2v5* | sco5v6*)
- # Note: We can NOT use -z defs as we might desire, because we do not
- # link with -lc, and that would cause any symbols used from libc to
- # always be unresolved, which means just about no library would
- # ever link correctly. If we're not using GNU ld we use -z text
- # though, which does catch some bad symbols but isn't as heavy-handed
- # as -z defs.
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
- runpath_var='LD_RUN_PATH'
-
- if test "$GCC" = yes; then
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- _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'
- else
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- _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'
- fi
- ;;
-
- uts4*)
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
- *)
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- esac
- fi
-])
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-#
-# Do we need to explicitly link libc?
-#
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
-x|xyes)
- # Assume -lc should be added
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
-
- if test "$enable_shared" = yes && test "$GCC" = yes; then
- case $_LT_AC_TAGVAR(archive_cmds, $1) in
- *'~'*)
- # FIXME: we may have to deal with multi-command sequences.
- ;;
- '$CC '*)
- # Test whether the compiler implicitly links with -lc since on some
- # systems, -lgcc has to come before -lc. If gcc already passes -lc
- # to ld, don't add -lc before -lgcc.
- AC_MSG_CHECKING([whether -lc should be explicitly linked in])
- $rm conftest*
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
- if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
- soname=conftest
- lib=conftest
- libobjs=conftest.$ac_objext
- deplibs=
- wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
- pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
- compiler_flags=-v
- linker_flags=-v
- verstring=
- output_objdir=.
- libname=conftest
- lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=
- if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
- then
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- else
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
- fi
- _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
- else
- cat conftest.err 1>&5
- fi
- $rm conftest*
- AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
- ;;
- esac
- fi
- ;;
-esac
-])# AC_LIBTOOL_PROG_LD_SHLIBS
-
-
-# _LT_AC_FILE_LTDLL_C
-# -------------------
-# Be careful that the start marker always follows a newline.
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
-# /* ltdll.c starts here */
-# #define WIN32_LEAN_AND_MEAN
-# #include
-# #undef WIN32_LEAN_AND_MEAN
-# #include
-#
-# #ifndef __CYGWIN__
-# # ifdef __CYGWIN32__
-# # define __CYGWIN__ __CYGWIN32__
-# # endif
-# #endif
-#
-# #ifdef __cplusplus
-# extern "C" {
-# #endif
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
-# #ifdef __cplusplus
-# }
-# #endif
-#
-# #ifdef __CYGWIN__
-# #include
-# DECLARE_CYGWIN_DLL( DllMain );
-# #endif
-# HINSTANCE __hDllInstance_base;
-#
-# BOOL APIENTRY
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
-# {
-# __hDllInstance_base = hInst;
-# return TRUE;
-# }
-# /* ltdll.c ends here */
-])# _LT_AC_FILE_LTDLL_C
-
-
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
-# ---------------------------------
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
-
-
-# old names
-AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
-AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
-AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
-AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
-AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
-
-# This is just to silence aclocal about the macro not being used
-ifelse([AC_DISABLE_FAST_INSTALL])
-
-AC_DEFUN([LT_AC_PROG_GCJ],
-[AC_CHECK_TOOL(GCJ, gcj, no)
- test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
- AC_SUBST(GCJFLAGS)
-])
-
-AC_DEFUN([LT_AC_PROG_RC],
-[AC_CHECK_TOOL(RC, windres, no)
-])
-
-
-# Cheap backport of AS_EXECUTABLE_P and required macros
-# from Autoconf 2.59; we should not use $as_executable_p directly.
-
-# _AS_TEST_PREPARE
-# ----------------
-m4_ifndef([_AS_TEST_PREPARE],
-[m4_defun([_AS_TEST_PREPARE],
-[if test -x / >/dev/null 2>&1; then
- as_executable_p='test -x'
-else
- as_executable_p='test -f'
-fi
-])])# _AS_TEST_PREPARE
-
-# AS_EXECUTABLE_P
-# ---------------
-# Check whether a file is executable.
-m4_ifndef([AS_EXECUTABLE_P],
-[m4_defun([AS_EXECUTABLE_P],
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
-$as_executable_p $1[]dnl
-])])# AS_EXECUTABLE_P
-
-# NOTE: This macro has been submitted for inclusion into #
-# GNU Autoconf as AC_PROG_SED. When it is available in #
-# a released version of Autoconf we should remove this #
-# macro and use it instead. #
-# LT_AC_PROG_SED
-# --------------
-# Check for a fully-functional sed program, that truncates
-# as few characters as possible. Prefer GNU sed if found.
-AC_DEFUN([LT_AC_PROG_SED],
-[AC_MSG_CHECKING([for a sed that does not truncate output])
-AC_CACHE_VAL(lt_cv_path_SED,
-[# Loop through the user's path and test for sed and gsed.
-# Then use that list of sed's as ones to test for truncation.
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for lt_ac_prog in sed gsed; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
- lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
- fi
- done
- done
-done
-IFS=$as_save_IFS
-lt_ac_max=0
-lt_ac_count=0
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
-# along with /bin/sed that truncates output.
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
- test ! -f $lt_ac_sed && continue
- cat /dev/null > conftest.in
- lt_ac_count=0
- echo $ECHO_N "0123456789$ECHO_C" >conftest.in
- # Check for GNU sed and select it if it is found.
- if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
- lt_cv_path_SED=$lt_ac_sed
- break
- fi
- while true; do
- cat conftest.in conftest.in >conftest.tmp
- mv conftest.tmp conftest.in
- cp conftest.in conftest.nl
- echo >>conftest.nl
- $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
- cmp -s conftest.out conftest.nl || break
- # 10000 chars as input seems more than enough
- test $lt_ac_count -gt 10 && break
- lt_ac_count=`expr $lt_ac_count + 1`
- if test $lt_ac_count -gt $lt_ac_max; then
- lt_ac_max=$lt_ac_count
- lt_cv_path_SED=$lt_ac_sed
- fi
- done
-done
-])
-SED=$lt_cv_path_SED
-AC_SUBST([SED])
-AC_MSG_RESULT([$SED])
-])
-
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$PKG_CONFIG"; then
- if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- else
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- fi
-else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see .])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.9.6])])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-])
-])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $1 | $1:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-AC_SUBST(install_sh)])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-#
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-# concurrently, both version can detect that a/ is missing, but only
-# one can create it and the other will error out. Consequently we
-# restrict ourselves to GNU make (using the --version option ensures
-# this.)
-AC_DEFUN([AM_PROG_MKDIR_P],
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-AC_SUBST([mkdir_p])])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# ------------------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
-m4_if([$1], [v7],
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar /dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([acinclude.m4])
diff --git a/library/ecasound/compile b/library/ecasound/compile
deleted file mode 100755
index 1b1d23216..000000000
--- a/library/ecasound/compile
+++ /dev/null
@@ -1,142 +0,0 @@
-#! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
-
-scriptversion=2005-05-14.22
-
-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
-# Written by Tom Tromey .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# This file is maintained in Automake, please report
-# bugs to or send patches to
-# .
-
-case $1 in
- '')
- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
- exit 1;
- ;;
- -h | --h*)
- cat <<\EOF
-Usage: compile [--help] [--version] PROGRAM [ARGS]
-
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
-arguments, and rename the output as expected.
-
-If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
-
-Report bugs to .
-EOF
- exit $?
- ;;
- -v | --v*)
- echo "compile $scriptversion"
- exit $?
- ;;
-esac
-
-ofile=
-cfile=
-eat=
-
-for arg
-do
- if test -n "$eat"; then
- eat=
- else
- case $1 in
- -o)
- # configure might choose to run compile as `compile cc -o foo foo.c'.
- # So we strip `-o arg' only if arg is an object.
- eat=1
- case $2 in
- *.o | *.obj)
- ofile=$2
- ;;
- *)
- set x "$@" -o "$2"
- shift
- ;;
- esac
- ;;
- *.c)
- cfile=$1
- set x "$@" "$1"
- shift
- ;;
- *)
- set x "$@" "$1"
- shift
- ;;
- esac
- fi
- shift
-done
-
-if test -z "$ofile" || test -z "$cfile"; then
- # If no `-o' option was seen then we might have been invoked from a
- # pattern rule where we don't need one. That is ok -- this is a
- # normal compilation that the losing compiler can handle. If no
- # `.c' file was seen then we are probably linking. That is also
- # ok.
- exec "$@"
-fi
-
-# Name of file we expect compiler to create.
-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
-
-# Create the lock directory.
-# Note: use `[/.-]' here to ensure that we don't use the same name
-# that we are using for the .o file. Also, base the name on the expected
-# object file name, since that is what matters with a parallel build.
-lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
-while true; do
- if mkdir "$lockdir" >/dev/null 2>&1; then
- break
- fi
- sleep 1
-done
-# FIXME: race condition here if user kills between mkdir and trap.
-trap "rmdir '$lockdir'; exit 1" 1 2 15
-
-# Run the compile.
-"$@"
-ret=$?
-
-if test -f "$cofile"; then
- mv "$cofile" "$ofile"
-elif test -f "${cofile}bj"; then
- mv "${cofile}bj" "$ofile"
-fi
-
-rmdir "$lockdir"
-exit $ret
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
-# End:
diff --git a/library/ecasound/config.guess b/library/ecasound/config.guess
deleted file mode 100755
index 396482d6c..000000000
--- a/library/ecasound/config.guess
+++ /dev/null
@@ -1,1500 +0,0 @@
-#! /bin/sh
-# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
-
-timestamp='2006-07-02'
-
-# This file is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Originally written by Per Bothner .
-# Please send patches to . Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# This script attempts to guess a canonical system name similar to
-# config.sub. If it succeeds, it prints the system name on stdout, and
-# exits with 0. Otherwise, it exits with 1.
-#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION]
-
-Output the configuration name of the system \`$me' is run on.
-
-Operation modes:
- -h, --help print this help, then exit
- -t, --time-stamp print date of last modification, then exit
- -v, --version print version number, then exit
-
-Report bugs and patches to ."
-
-version="\
-GNU config.guess ($timestamp)
-
-Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
- case $1 in
- --time-stamp | --time* | -t )
- echo "$timestamp" ; exit ;;
- --version | -v )
- echo "$version" ; exit ;;
- --help | --h* | -h )
- echo "$usage"; exit ;;
- -- ) # Stop option processing
- shift; break ;;
- - ) # Use stdin as input.
- break ;;
- -* )
- echo "$me: invalid option $1$help" >&2
- exit 1 ;;
- * )
- break ;;
- esac
-done
-
-if test $# != 0; then
- echo "$me: too many arguments$help" >&2
- exit 1
-fi
-
-trap 'exit 1' 1 2 15
-
-# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
-# compiler to aid in system detection is discouraged as it requires
-# temporary files to be created and, as you can see below, it is a
-# headache to deal with in a portable fashion.
-
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
-
-# Portable tmp directory creation inspired by the Autoconf team.
-
-set_cc_for_build='
-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
-: ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
-dummy=$tmp/dummy ;
-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
-case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,) echo "int x;" > $dummy.c ;
- for c in cc gcc c89 c99 ; do
- if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
- CC_FOR_BUILD="$c"; break ;
- fi ;
- done ;
- if test x"$CC_FOR_BUILD" = x ; then
- CC_FOR_BUILD=no_compiler_found ;
- fi
- ;;
- ,,*) CC_FOR_BUILD=$CC ;;
- ,*,*) CC_FOR_BUILD=$HOST_CC ;;
-esac ; set_cc_for_build= ;'
-
-# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
-# (ghazi@noc.rutgers.edu 1994-08-24)
-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
- PATH=$PATH:/.attbin ; export PATH
-fi
-
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
-UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
-UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-
-# Note: order is significant - the case branches are not exclusive.
-
-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- *:NetBSD:*:*)
- # NetBSD (nbsd) targets should (where applicable) match one or
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
- # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
- # switched to ELF, *-*-netbsd* would select the old
- # object file format. This provides both forward
- # compatibility and a consistent mechanism for selecting the
- # object file format.
- #
- # Note: NetBSD doesn't particularly care about the vendor
- # portion of the name. We always set it to "unknown".
- sysctl="sysctl -n hw.machine_arch"
- UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- case "${UNAME_MACHINE_ARCH}" in
- armeb) machine=armeb-unknown ;;
- arm*) machine=arm-unknown ;;
- sh3el) machine=shl-unknown ;;
- sh3eb) machine=sh-unknown ;;
- *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
- esac
- # The Operating System including object format, if it has switched
- # to ELF recently, or will in the future.
- case "${UNAME_MACHINE_ARCH}" in
- arm*|i386|m68k|ns32k|sh3*|sparc|vax)
- eval $set_cc_for_build
- if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
- then
- # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
- # Return netbsd for either. FIX?
- os=netbsd
- else
- os=netbsdelf
- fi
- ;;
- *)
- os=netbsd
- ;;
- esac
- # The OS release
- # Debian GNU/NetBSD machines have a different userland, and
- # thus, need a distinct triplet. However, they do not need
- # kernel version information, so it can be replaced with a
- # suitable tag, in the style of linux-gnu.
- case "${UNAME_VERSION}" in
- Debian*)
- release='-gnu'
- ;;
- *)
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- ;;
- esac
- # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
- # contains redundant information, the shorter form:
- # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
- echo "${machine}-${os}${release}"
- exit ;;
- *:OpenBSD:*:*)
- UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
- echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
- exit ;;
- *:ekkoBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
- exit ;;
- *:SolidBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
- exit ;;
- macppc:MirBSD:*:*)
- echo powerpc-unknown-mirbsd${UNAME_RELEASE}
- exit ;;
- *:MirBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
- exit ;;
- alpha:OSF1:*:*)
- case $UNAME_RELEASE in
- *4.0)
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- ;;
- *5.*)
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
- ;;
- esac
- # According to Compaq, /usr/sbin/psrinfo has been available on
- # OSF/1 and Tru64 systems produced since 1995. I hope that
- # covers most systems running today. This code pipes the CPU
- # types through head -n 1, so we only detect the type of CPU 0.
- ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
- case "$ALPHA_CPU_TYPE" in
- "EV4 (21064)")
- UNAME_MACHINE="alpha" ;;
- "EV4.5 (21064)")
- UNAME_MACHINE="alpha" ;;
- "LCA4 (21066/21068)")
- UNAME_MACHINE="alpha" ;;
- "EV5 (21164)")
- UNAME_MACHINE="alphaev5" ;;
- "EV5.6 (21164A)")
- UNAME_MACHINE="alphaev56" ;;
- "EV5.6 (21164PC)")
- UNAME_MACHINE="alphapca56" ;;
- "EV5.7 (21164PC)")
- UNAME_MACHINE="alphapca57" ;;
- "EV6 (21264)")
- UNAME_MACHINE="alphaev6" ;;
- "EV6.7 (21264A)")
- UNAME_MACHINE="alphaev67" ;;
- "EV6.8CB (21264C)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.8AL (21264B)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.8CX (21264D)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.9A (21264/EV69A)")
- UNAME_MACHINE="alphaev69" ;;
- "EV7 (21364)")
- UNAME_MACHINE="alphaev7" ;;
- "EV7.9 (21364A)")
- UNAME_MACHINE="alphaev79" ;;
- esac
- # A Pn.n version is a patched version.
- # A Vn.n version is a released version.
- # A Tn.n version is a released field test version.
- # A Xn.n version is an unreleased experimental baselevel.
- # 1.2 uses "1.2" for uname -r.
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- exit ;;
- Alpha\ *:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # Should we change UNAME_MACHINE based on the output of uname instead
- # of the specific Alpha model?
- echo alpha-pc-interix
- exit ;;
- 21064:Windows_NT:50:3)
- echo alpha-dec-winnt3.5
- exit ;;
- Amiga*:UNIX_System_V:4.0:*)
- echo m68k-unknown-sysv4
- exit ;;
- *:[Aa]miga[Oo][Ss]:*:*)
- echo ${UNAME_MACHINE}-unknown-amigaos
- exit ;;
- *:[Mm]orph[Oo][Ss]:*:*)
- echo ${UNAME_MACHINE}-unknown-morphos
- exit ;;
- *:OS/390:*:*)
- echo i370-ibm-openedition
- exit ;;
- *:z/VM:*:*)
- echo s390-ibm-zvmoe
- exit ;;
- *:OS400:*:*)
- echo powerpc-ibm-os400
- exit ;;
- arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
- echo arm-acorn-riscix${UNAME_RELEASE}
- exit ;;
- arm:riscos:*:*|arm:RISCOS:*:*)
- echo arm-unknown-riscos
- exit ;;
- SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
- echo hppa1.1-hitachi-hiuxmpp
- exit ;;
- Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
- # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
- if test "`(/bin/universe) 2>/dev/null`" = att ; then
- echo pyramid-pyramid-sysv3
- else
- echo pyramid-pyramid-bsd
- fi
- exit ;;
- NILE*:*:*:dcosx)
- echo pyramid-pyramid-svr4
- exit ;;
- DRS?6000:unix:4.0:6*)
- echo sparc-icl-nx6
- exit ;;
- DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
- case `/usr/bin/uname -p` in
- sparc) echo sparc-icl-nx7; exit ;;
- esac ;;
- sun4H:SunOS:5.*:*)
- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit ;;
- sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit ;;
- i86pc:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit ;;
- sun4*:SunOS:6*:*)
- # According to config.sub, this is the proper way to canonicalize
- # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- # it's likely to be more like Solaris than SunOS4.
- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit ;;
- sun4*:SunOS:*:*)
- case "`/usr/bin/arch -k`" in
- Series*|S4*)
- UNAME_RELEASE=`uname -v`
- ;;
- esac
- # Japanese Language versions have a version number like `4.1.3-JL'.
- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- exit ;;
- sun3*:SunOS:*:*)
- echo m68k-sun-sunos${UNAME_RELEASE}
- exit ;;
- sun*:*:4.2BSD:*)
- UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
- case "`/bin/arch`" in
- sun3)
- echo m68k-sun-sunos${UNAME_RELEASE}
- ;;
- sun4)
- echo sparc-sun-sunos${UNAME_RELEASE}
- ;;
- esac
- exit ;;
- aushp:SunOS:*:*)
- echo sparc-auspex-sunos${UNAME_RELEASE}
- exit ;;
- # The situation for MiNT is a little confusing. The machine name
- # can be virtually everything (everything which is not
- # "atarist" or "atariste" at least should have a processor
- # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
- # to the lowercase version "mint" (or "freemint"). Finally
- # the system name "TOS" denotes a system which is actually not
- # MiNT. But MiNT is downward compatible to TOS, so this should
- # be no problem.
- atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit ;;
- atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit ;;
- *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit ;;
- milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
- echo m68k-milan-mint${UNAME_RELEASE}
- exit ;;
- hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
- echo m68k-hades-mint${UNAME_RELEASE}
- exit ;;
- *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
- echo m68k-unknown-mint${UNAME_RELEASE}
- exit ;;
- m68k:machten:*:*)
- echo m68k-apple-machten${UNAME_RELEASE}
- exit ;;
- powerpc:machten:*:*)
- echo powerpc-apple-machten${UNAME_RELEASE}
- exit ;;
- RISC*:Mach:*:*)
- echo mips-dec-mach_bsd4.3
- exit ;;
- RISC*:ULTRIX:*:*)
- echo mips-dec-ultrix${UNAME_RELEASE}
- exit ;;
- VAX*:ULTRIX*:*:*)
- echo vax-dec-ultrix${UNAME_RELEASE}
- exit ;;
- 2020:CLIX:*:* | 2430:CLIX:*:*)
- echo clipper-intergraph-clix${UNAME_RELEASE}
- exit ;;
- mips:*:*:UMIPS | mips:*:*:RISCos)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
-#ifdef __cplusplus
-#include /* for printf() prototype */
- int main (int argc, char *argv[]) {
-#else
- int main (argc, argv) int argc; char *argv[]; {
-#endif
- #if defined (host_mips) && defined (MIPSEB)
- #if defined (SYSTYPE_SYSV)
- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
- #endif
- #if defined (SYSTYPE_SVR4)
- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
- #endif
- #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
- #endif
- #endif
- exit (-1);
- }
-EOF
- $CC_FOR_BUILD -o $dummy $dummy.c &&
- dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
- SYSTEM_NAME=`$dummy $dummyarg` &&
- { echo "$SYSTEM_NAME"; exit; }
- echo mips-mips-riscos${UNAME_RELEASE}
- exit ;;
- Motorola:PowerMAX_OS:*:*)
- echo powerpc-motorola-powermax
- exit ;;
- Motorola:*:4.3:PL8-*)
- echo powerpc-harris-powermax
- exit ;;
- Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
- echo powerpc-harris-powermax
- exit ;;
- Night_Hawk:Power_UNIX:*:*)
- echo powerpc-harris-powerunix
- exit ;;
- m88k:CX/UX:7*:*)
- echo m88k-harris-cxux7
- exit ;;
- m88k:*:4*:R4*)
- echo m88k-motorola-sysv4
- exit ;;
- m88k:*:3*:R3*)
- echo m88k-motorola-sysv3
- exit ;;
- AViiON:dgux:*:*)
- # DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`/usr/bin/uname -p`
- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
- then
- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
- [ ${TARGET_BINARY_INTERFACE}x = x ]
- then
- echo m88k-dg-dgux${UNAME_RELEASE}
- else
- echo m88k-dg-dguxbcs${UNAME_RELEASE}
- fi
- else
- echo i586-dg-dgux${UNAME_RELEASE}
- fi
- exit ;;
- M88*:DolphinOS:*:*) # DolphinOS (SVR3)
- echo m88k-dolphin-sysv3
- exit ;;
- M88*:*:R3*:*)
- # Delta 88k system running SVR3
- echo m88k-motorola-sysv3
- exit ;;
- XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
- echo m88k-tektronix-sysv3
- exit ;;
- Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
- echo m68k-tektronix-bsd
- exit ;;
- *:IRIX*:*:*)
- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- exit ;;
- ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- i*86:AIX:*:*)
- echo i386-ibm-aix
- exit ;;
- ia64:AIX:*:*)
- if [ -x /usr/bin/oslevel ] ; then
- IBM_REV=`/usr/bin/oslevel`
- else
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- fi
- echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
- exit ;;
- *:AIX:2:3)
- if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include
-
- main()
- {
- if (!__power_pc())
- exit(1);
- puts("powerpc-ibm-aix3.2.5");
- exit(0);
- }
-EOF
- if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
- then
- echo "$SYSTEM_NAME"
- else
- echo rs6000-ibm-aix3.2.5
- fi
- elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
- echo rs6000-ibm-aix3.2.4
- else
- echo rs6000-ibm-aix3.2
- fi
- exit ;;
- *:AIX:*:[45])
- IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
- if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
- IBM_ARCH=rs6000
- else
- IBM_ARCH=powerpc
- fi
- if [ -x /usr/bin/oslevel ] ; then
- IBM_REV=`/usr/bin/oslevel`
- else
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- fi
- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- exit ;;
- *:AIX:*:*)
- echo rs6000-ibm-aix
- exit ;;
- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
- echo romp-ibm-bsd4.4
- exit ;;
- ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- exit ;; # report: romp-ibm BSD 4.3
- *:BOSX:*:*)
- echo rs6000-bull-bosx
- exit ;;
- DPX/2?00:B.O.S.:*:*)
- echo m68k-bull-sysv3
- exit ;;
- 9000/[34]??:4.3bsd:1.*:*)
- echo m68k-hp-bsd
- exit ;;
- hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
- echo m68k-hp-bsd4.4
- exit ;;
- 9000/[34678]??:HP-UX:*:*)
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- case "${UNAME_MACHINE}" in
- 9000/31? ) HP_ARCH=m68000 ;;
- 9000/[34]?? ) HP_ARCH=m68k ;;
- 9000/[678][0-9][0-9])
- if [ -x /usr/bin/getconf ]; then
- sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
- case "${sc_cpu_version}" in
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
- 532) # CPU_PA_RISC2_0
- case "${sc_kernel_bits}" in
- 32) HP_ARCH="hppa2.0n" ;;
- 64) HP_ARCH="hppa2.0w" ;;
- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
- esac ;;
- esac
- fi
- if [ "${HP_ARCH}" = "" ]; then
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
-
- #define _HPUX_SOURCE
- #include
- #include
-
- int main ()
- {
- #if defined(_SC_KERNEL_BITS)
- long bits = sysconf(_SC_KERNEL_BITS);
- #endif
- long cpu = sysconf (_SC_CPU_VERSION);
-
- switch (cpu)
- {
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
- case CPU_PA_RISC2_0:
- #if defined(_SC_KERNEL_BITS)
- switch (bits)
- {
- case 64: puts ("hppa2.0w"); break;
- case 32: puts ("hppa2.0n"); break;
- default: puts ("hppa2.0"); break;
- } break;
- #else /* !defined(_SC_KERNEL_BITS) */
- puts ("hppa2.0"); break;
- #endif
- default: puts ("hppa1.0"); break;
- }
- exit (0);
- }
-EOF
- (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
- test -z "$HP_ARCH" && HP_ARCH=hppa
- fi ;;
- esac
- if [ ${HP_ARCH} = "hppa2.0w" ]
- then
- eval $set_cc_for_build
-
- # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
- # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
- # generating 64-bit code. GNU and HP use different nomenclature:
- #
- # $ CC_FOR_BUILD=cc ./config.guess
- # => hppa2.0w-hp-hpux11.23
- # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
- # => hppa64-hp-hpux11.23
-
- if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- grep __LP64__ >/dev/null
- then
- HP_ARCH="hppa2.0w"
- else
- HP_ARCH="hppa64"
- fi
- fi
- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- exit ;;
- ia64:HP-UX:*:*)
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- echo ia64-hp-hpux${HPUX_REV}
- exit ;;
- 3050*:HI-UX:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include
- int
- main ()
- {
- long cpu = sysconf (_SC_CPU_VERSION);
- /* The order matters, because CPU_IS_HP_MC68K erroneously returns
- true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
- results, however. */
- if (CPU_IS_PA_RISC (cpu))
- {
- switch (cpu)
- {
- case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
- case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
- case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
- default: puts ("hppa-hitachi-hiuxwe2"); break;
- }
- }
- else if (CPU_IS_HP_MC68K (cpu))
- puts ("m68k-hitachi-hiuxwe2");
- else puts ("unknown-hitachi-hiuxwe2");
- exit (0);
- }
-EOF
- $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
- { echo "$SYSTEM_NAME"; exit; }
- echo unknown-hitachi-hiuxwe2
- exit ;;
- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
- echo hppa1.1-hp-bsd
- exit ;;
- 9000/8??:4.3bsd:*:*)
- echo hppa1.0-hp-bsd
- exit ;;
- *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
- echo hppa1.0-hp-mpeix
- exit ;;
- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- echo hppa1.1-hp-osf
- exit ;;
- hp8??:OSF1:*:*)
- echo hppa1.0-hp-osf
- exit ;;
- i*86:OSF1:*:*)
- if [ -x /usr/sbin/sysversion ] ; then
- echo ${UNAME_MACHINE}-unknown-osf1mk
- else
- echo ${UNAME_MACHINE}-unknown-osf1
- fi
- exit ;;
- parisc*:Lites*:*:*)
- echo hppa1.1-hp-lites
- exit ;;
- C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
- echo c1-convex-bsd
- exit ;;
- C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- exit ;;
- C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
- echo c34-convex-bsd
- exit ;;
- C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
- echo c38-convex-bsd
- exit ;;
- C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
- echo c4-convex-bsd
- exit ;;
- CRAY*Y-MP:*:*:*)
- echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit ;;
- CRAY*[A-Z]90:*:*:*)
- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
- | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
- -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
- -e 's/\.[^.]*$/.X/'
- exit ;;
- CRAY*TS:*:*:*)
- echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit ;;
- CRAY*T3E:*:*:*)
- echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit ;;
- CRAY*SV1:*:*:*)
- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit ;;
- *:UNICOS/mp:*:*)
- echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit ;;
- F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- exit ;;
- 5000:UNIX_System_V:4.*:*)
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- exit ;;
- i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- exit ;;
- sparc*:BSD/OS:*:*)
- echo sparc-unknown-bsdi${UNAME_RELEASE}
- exit ;;
- *:BSD/OS:*:*)
- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- exit ;;
- *:FreeBSD:*:*)
- case ${UNAME_MACHINE} in
- pc98)
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- amd64)
- echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- *)
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- esac
- exit ;;
- i*:CYGWIN*:*)
- echo ${UNAME_MACHINE}-pc-cygwin
- exit ;;
- i*:MINGW*:*)
- echo ${UNAME_MACHINE}-pc-mingw32
- exit ;;
- i*:windows32*:*)
- # uname -m includes "-pc" on this system.
- echo ${UNAME_MACHINE}-mingw32
- exit ;;
- i*:PW*:*)
- echo ${UNAME_MACHINE}-pc-pw32
- exit ;;
- x86:Interix*:[3456]*)
- echo i586-pc-interix${UNAME_RELEASE}
- exit ;;
- EM64T:Interix*:[3456]*)
- echo x86_64-unknown-interix${UNAME_RELEASE}
- exit ;;
- [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
- echo i${UNAME_MACHINE}-pc-mks
- exit ;;
- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
- # UNAME_MACHINE based on the output of uname instead of i386?
- echo i586-pc-interix
- exit ;;
- i*:UWIN*:*)
- echo ${UNAME_MACHINE}-pc-uwin
- exit ;;
- amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
- echo x86_64-unknown-cygwin
- exit ;;
- p*:CYGWIN*:*)
- echo powerpcle-unknown-cygwin
- exit ;;
- prep*:SunOS:5.*:*)
- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit ;;
- *:GNU:*:*)
- # the GNU system
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- exit ;;
- *:GNU/*:*:*)
- # other systems with GNU libc and userland
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
- exit ;;
- i*86:Minix:*:*)
- echo ${UNAME_MACHINE}-pc-minix
- exit ;;
- arm*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- avr32*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- cris:Linux:*:*)
- echo cris-axis-linux-gnu
- exit ;;
- crisv32:Linux:*:*)
- echo crisv32-axis-linux-gnu
- exit ;;
- frv:Linux:*:*)
- echo frv-unknown-linux-gnu
- exit ;;
- ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- m32r*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- m68*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- mips:Linux:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips
- #undef mipsel
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips
- #else
- CPU=
- #endif
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- ;;
- mips64:Linux:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips64
- #undef mips64el
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mips64el
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips64
- #else
- CPU=
- #endif
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- ;;
- or32:Linux:*:*)
- echo or32-unknown-linux-gnu
- exit ;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit ;;
- parisc:Linux:*:* | hppa:Linux:*:*)
- # Look for CPU level
- case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
- *) echo hppa-unknown-linux-gnu ;;
- esac
- exit ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
- exit ;;
- s390:Linux:*:* | s390x:Linux:*:*)
- echo ${UNAME_MACHINE}-ibm-linux
- exit ;;
- sh64*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- sh*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- sparc:Linux:*:* | sparc64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
- vax:Linux:*:*)
- echo ${UNAME_MACHINE}-dec-linux-gnu
- exit ;;
- x86_64:Linux:*:*)
- echo x86_64-unknown-linux-gnu
- exit ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- # Set LC_ALL=C to ensure ld outputs messages in English.
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit ;;
- coff-i386)
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
- exit ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include
- #ifdef __ELF__
- # ifdef __GLIBC__
- # if __GLIBC__ >= 2
- LIBC=gnu
- # else
- LIBC=gnulibc1
- # endif
- # else
- LIBC=gnulibc1
- # endif
- #else
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- LIBC=gnu
- #else
- LIBC=gnuaout
- #endif
- #endif
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^LIBC/{
- s: ::g
- p
- }'`"
- test x"${LIBC}" != x && {
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- exit
- }
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- ;;
- i*86:DYNIX/ptx:4*:*)
- # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- # earlier versions are messed up and put the nodename in both
- # sysname and nodename.
- echo i386-sequent-sysv4
- exit ;;
- i*86:UNIX_SV:4.2MP:2.*)
- # Unixware is an offshoot of SVR4, but it has its own version
- # number series starting with 2...
- # I am not positive that other SVR4 systems won't match this,
- # I just have to hope. -- rms.
- # Use sysv4.2uw... so that sysv4* matches it.
- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
- exit ;;
- i*86:OS/2:*:*)
- # If we were able to find `uname', then EMX Unix compatibility
- # is probably installed.
- echo ${UNAME_MACHINE}-pc-os2-emx
- exit ;;
- i*86:XTS-300:*:STOP)
- echo ${UNAME_MACHINE}-unknown-stop
- exit ;;
- i*86:atheos:*:*)
- echo ${UNAME_MACHINE}-unknown-atheos
- exit ;;
- i*86:syllable:*:*)
- echo ${UNAME_MACHINE}-pc-syllable
- exit ;;
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
- echo i386-unknown-lynxos${UNAME_RELEASE}
- exit ;;
- i*86:*DOS:*:*)
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
- exit ;;
- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
- UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
- if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
- echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
- else
- echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
- fi
- exit ;;
- i*86:*:5:[678]*)
- # UnixWare 7.x, OpenUNIX and OpenServer 6.
- case `/bin/uname -X | grep "^Machine"` in
- *486*) UNAME_MACHINE=i486 ;;
- *Pentium) UNAME_MACHINE=i586 ;;
- *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
- esac
- echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
- exit ;;
- i*86:*:3.2:*)
- if test -f /usr/options/cb.name; then
- UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then
- UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
- (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
- (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
- && UNAME_MACHINE=i586
- (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
- && UNAME_MACHINE=i686
- (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
- && UNAME_MACHINE=i686
- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
- else
- echo ${UNAME_MACHINE}-pc-sysv32
- fi
- exit ;;
- pc:*:*:*)
- # Left here for compatibility:
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
- # the processor, so we play safe by assuming i386.
- echo i386-pc-msdosdjgpp
- exit ;;
- Intel:Mach:3*:*)
- echo i386-pc-mach3
- exit ;;
- paragon:*:*:*)
- echo i860-intel-osf1
- exit ;;
- i860:*:4.*:*) # i860-SVR4
- if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
- else # Add other i860-SVR4 vendors below as they are discovered.
- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
- fi
- exit ;;
- mini*:CTIX:SYS*5:*)
- # "miniframe"
- echo m68010-convergent-sysv
- exit ;;
- mc68k:UNIX:SYSTEM5:3.51m)
- echo m68k-convergent-sysv
- exit ;;
- M680?0:D-NIX:5.3:*)
- echo m68k-diab-dnix
- exit ;;
- M68*:*:R3V[5678]*:*)
- test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
- 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
- OS_REL=''
- test -r /etc/.relid \
- && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
- /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
- 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- && { echo i486-ncr-sysv4; exit; } ;;
- m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
- echo m68k-unknown-lynxos${UNAME_RELEASE}
- exit ;;
- mc68030:UNIX_System_V:4.*:*)
- echo m68k-atari-sysv4
- exit ;;
- TSUNAMI:LynxOS:2.*:*)
- echo sparc-unknown-lynxos${UNAME_RELEASE}
- exit ;;
- rs6000:LynxOS:2.*:*)
- echo rs6000-unknown-lynxos${UNAME_RELEASE}
- exit ;;
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
- echo powerpc-unknown-lynxos${UNAME_RELEASE}
- exit ;;
- SM[BE]S:UNIX_SV:*:*)
- echo mips-dde-sysv${UNAME_RELEASE}
- exit ;;
- RM*:ReliantUNIX-*:*:*)
- echo mips-sni-sysv4
- exit ;;
- RM*:SINIX-*:*:*)
- echo mips-sni-sysv4
- exit ;;
- *:SINIX-*:*:*)
- if uname -p 2>/dev/null >/dev/null ; then
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
- echo ${UNAME_MACHINE}-sni-sysv4
- else
- echo ns32k-sni-sysv
- fi
- exit ;;
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
- # says
- echo i586-unisys-sysv4
- exit ;;
- *:UNIX_System_V:4*:FTX*)
- # From Gerald Hewes .
- # How about differentiating between stratus architectures? -djm
- echo hppa1.1-stratus-sysv4
- exit ;;
- *:*:*:FTX*)
- # From seanf@swdc.stratus.com.
- echo i860-stratus-sysv4
- exit ;;
- i*86:VOS:*:*)
- # From Paul.Green@stratus.com.
- echo ${UNAME_MACHINE}-stratus-vos
- exit ;;
- *:VOS:*:*)
- # From Paul.Green@stratus.com.
- echo hppa1.1-stratus-vos
- exit ;;
- mc68*:A/UX:*:*)
- echo m68k-apple-aux${UNAME_RELEASE}
- exit ;;
- news*:NEWS-OS:6*:*)
- echo mips-sony-newsos6
- exit ;;
- R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
- if [ -d /usr/nec ]; then
- echo mips-nec-sysv${UNAME_RELEASE}
- else
- echo mips-unknown-sysv${UNAME_RELEASE}
- fi
- exit ;;
- BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
- echo powerpc-be-beos
- exit ;;
- BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
- echo powerpc-apple-beos
- exit ;;
- BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
- echo i586-pc-beos
- exit ;;
- SX-4:SUPER-UX:*:*)
- echo sx4-nec-superux${UNAME_RELEASE}
- exit ;;
- SX-5:SUPER-UX:*:*)
- echo sx5-nec-superux${UNAME_RELEASE}
- exit ;;
- SX-6:SUPER-UX:*:*)
- echo sx6-nec-superux${UNAME_RELEASE}
- exit ;;
- Power*:Rhapsody:*:*)
- echo powerpc-apple-rhapsody${UNAME_RELEASE}
- exit ;;
- *:Rhapsody:*:*)
- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
- exit ;;
- *:Darwin:*:*)
- UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- case $UNAME_PROCESSOR in
- unknown) UNAME_PROCESSOR=powerpc ;;
- esac
- echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
- exit ;;
- *:procnto*:*:* | *:QNX:[0123456789]*:*)
- UNAME_PROCESSOR=`uname -p`
- if test "$UNAME_PROCESSOR" = "x86"; then
- UNAME_PROCESSOR=i386
- UNAME_MACHINE=pc
- fi
- echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
- exit ;;
- *:QNX:*:4*)
- echo i386-pc-qnx
- exit ;;
- NSE-?:NONSTOP_KERNEL:*:*)
- echo nse-tandem-nsk${UNAME_RELEASE}
- exit ;;
- NSR-?:NONSTOP_KERNEL:*:*)
- echo nsr-tandem-nsk${UNAME_RELEASE}
- exit ;;
- *:NonStop-UX:*:*)
- echo mips-compaq-nonstopux
- exit ;;
- BS2000:POSIX*:*:*)
- echo bs2000-siemens-sysv
- exit ;;
- DS/*:UNIX_System_V:*:*)
- echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
- exit ;;
- *:Plan9:*:*)
- # "uname -m" is not consistent, so use $cputype instead. 386
- # is converted to i386 for consistency with other x86
- # operating systems.
- if test "$cputype" = "386"; then
- UNAME_MACHINE=i386
- else
- UNAME_MACHINE="$cputype"
- fi
- echo ${UNAME_MACHINE}-unknown-plan9
- exit ;;
- *:TOPS-10:*:*)
- echo pdp10-unknown-tops10
- exit ;;
- *:TENEX:*:*)
- echo pdp10-unknown-tenex
- exit ;;
- KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
- echo pdp10-dec-tops20
- exit ;;
- XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
- echo pdp10-xkl-tops20
- exit ;;
- *:TOPS-20:*:*)
- echo pdp10-unknown-tops20
- exit ;;
- *:ITS:*:*)
- echo pdp10-unknown-its
- exit ;;
- SEI:*:*:SEIUX)
- echo mips-sei-seiux${UNAME_RELEASE}
- exit ;;
- *:DragonFly:*:*)
- echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- exit ;;
- *:*VMS:*:*)
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
- case "${UNAME_MACHINE}" in
- A*) echo alpha-dec-vms ; exit ;;
- I*) echo ia64-dec-vms ; exit ;;
- V*) echo vax-dec-vms ; exit ;;
- esac ;;
- *:XENIX:*:SysV)
- echo i386-pc-xenix
- exit ;;
- i*86:skyos:*:*)
- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
- exit ;;
- i*86:rdos:*:*)
- echo ${UNAME_MACHINE}-pc-rdos
- exit ;;
-esac
-
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
-eval $set_cc_for_build
-cat >$dummy.c <
-# include
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
- /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
- I don't know.... */
- printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include
- printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
- "4"
-#else
- ""
-#endif
- ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
- printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
- printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
- int version;
- version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- if (version < 4)
- printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
- else
- printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
- exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
- printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
- printf ("ns32k-encore-mach\n"); exit (0);
-#else
- printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
- printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
- printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
- printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
- struct utsname un;
-
- uname(&un);
-
- if (strncmp(un.version, "V2", 2) == 0) {
- printf ("i386-sequent-ptx2\n"); exit (0);
- }
- if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
- printf ("i386-sequent-ptx1\n"); exit (0);
- }
- printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-# include
-# if defined (BSD)
-# if BSD == 43
- printf ("vax-dec-bsd4.3\n"); exit (0);
-# else
-# if BSD == 199006
- printf ("vax-dec-bsd4.3reno\n"); exit (0);
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# endif
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# else
- printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
- printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
- exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
- { echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
- case `getsysinfo -f cpu_type` in
- c1*)
- echo c1-convex-bsd
- exit ;;
- c2*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- exit ;;
- c34*)
- echo c34-convex-bsd
- exit ;;
- c38*)
- echo c38-convex-bsd
- exit ;;
- c4*)
- echo c4-convex-bsd
- exit ;;
- esac
-fi
-
-cat >&2 < in order to provide the needed
-information to handle your system.
-
-config.guess timestamp = $timestamp
-
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
-
-hostinfo = `(hostinfo) 2>/dev/null`
-/bin/universe = `(/bin/universe) 2>/dev/null`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
-/bin/arch = `(/bin/arch) 2>/dev/null`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
-
-UNAME_MACHINE = ${UNAME_MACHINE}
-UNAME_RELEASE = ${UNAME_RELEASE}
-UNAME_SYSTEM = ${UNAME_SYSTEM}
-UNAME_VERSION = ${UNAME_VERSION}
-EOF
-
-exit 1
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/library/ecasound/config.h.in b/library/ecasound/config.h.in
deleted file mode 100644
index 8ae231d52..000000000
--- a/library/ecasound/config.h.in
+++ /dev/null
@@ -1,269 +0,0 @@
-/* config.h.in. Generated from configure.in by autoheader. */
-
-/* disable all use of shared libs */
-#undef ECA_ALL_STATIC
-
-/* enable ALSA support */
-#undef ECA_COMPILE_ALSA
-
-/* enable aRts support */
-#undef ECA_COMPILE_ARTS
-
-/* enable libaudiofile support */
-#undef ECA_COMPILE_AUDIOFILE
-
-/* enable JACK support */
-#undef ECA_COMPILE_JACK
-
-/* enable OSS audio input/output */
-#undef ECA_COMPILE_OSS
-
-/* enable libsamplerate support */
-#undef ECA_COMPILE_SAMPLERATE
-
-/* enable libsndfile support */
-#undef ECA_COMPILE_SNDFILE
-
-/* debugging mode build */
-#undef ECA_DEBUG_MODE
-
-/* disable all effects */
-#undef ECA_DISABLE_EFFECTS
-
-/* disable use of OSS trigger API */
-#undef ECA_DISABLE_OSS_TRIGGER
-
-/* enable experimental features */
-#undef ECA_FEELING_EXPERIMENTAL
-
-/* version of JACK transport API to use */
-#undef ECA_JACK_TRANSPORT_API
-
-/* enable ecasound curses console interface */
-#undef ECA_PLATFORM_CURSES
-
-/* Ecasound configure script prefix */
-#undef ECA_PREFIX
-
-/* use ncurses.h for curses interface */
-#undef ECA_USE_CURSES_H
-
-/* use C++ std namespace */
-#undef ECA_USE_CXX_STD_NAMESPACE
-
-/* Use liblo for OSC support */
-#undef ECA_USE_LIBLO
-
-/* Use liboil */
-#undef ECA_USE_LIBOIL
-
-/* use curses.h for curses interface */
-#undef ECA_USE_NCURSES_H
-
-/* ncurses headers are installed in ncurses subdir */
-#undef ECA_USE_NCURSES_NCURSES_H
-
-/* Define to 1 if you have the `clock_gettime' function. */
-#undef HAVE_CLOCK_GETTIME
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_DLFCN_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_ERRNO_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_EXECINFO_H
-
-/* Define to 1 if you have the `execvp' function. */
-#undef HAVE_EXECVP
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_FCNTL_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_FEATURES_H
-
-/* Define to 1 if you have the `getpagesize' function. */
-#undef HAVE_GETPAGESIZE
-
-/* Define to 1 if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_LADSPA_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_LOCALE_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have the `mlockall' function. */
-#undef HAVE_MLOCKALL
-
-/* Define to 1 if you have a working `mmap' system call. */
-#undef HAVE_MMAP
-
-/* Define to 1 if you have the `munlockall' function. */
-#undef HAVE_MUNLOCKALL
-
-/* Define to 1 if you have the `nanosleep' function. */
-#undef HAVE_NANOSLEEP
-
-/* Define to 1 if you have the `pause' function. */
-#undef HAVE_PAUSE
-
-/* Define to 1 if you have the `posix_memalign' function. */
-#undef HAVE_POSIX_MEMALIGN
-
-/* Define to 1 if you have the `pthread_getschedparam' function. */
-#undef HAVE_PTHREAD_GETSCHEDPARAM
-
-/* Define to 1 if you have the `pthread_kill' function. */
-#undef HAVE_PTHREAD_KILL
-
-/* Define to 1 if you have the `pthread_mutexattr_init' function. */
-#undef HAVE_PTHREAD_MUTEXATTR_INIT
-
-/* Define to 1 if you have the `pthread_self' function. */
-#undef HAVE_PTHREAD_SELF
-
-/* Define to 1 if you have the `pthread_setschedparam' function. */
-#undef HAVE_PTHREAD_SETSCHEDPARAM
-
-/* Define to 1 if you have the `pthread_sigmask' function. */
-#undef HAVE_PTHREAD_SIGMASK
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_REGEX_H
-
-/* Define to 1 if you have the `sched_getparam' function. */
-#undef HAVE_SCHED_GETPARAM
-
-/* Define to 1 if you have the `sched_getscheduler' function. */
-#undef HAVE_SCHED_GETSCHEDULER
-
-/* Define to 1 if you have the `sched_get_priority_max' function. */
-#undef HAVE_SCHED_GET_PRIORITY_MAX
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SCHED_H
-
-/* Define to 1 if you have the `sched_setscheduler' function. */
-#undef HAVE_SCHED_SETSCHEDULER
-
-/* Define to 1 if you have the `setlocale' function. */
-#undef HAVE_SETLOCALE
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SIGNAL_H
-
-/* Define to 1 if you have the `sigprocmask' function. */
-#undef HAVE_SIGPROCMASK
-
-/* Define to 1 if you have the `sigwait' function. */
-#undef HAVE_SIGWAIT
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_MMAN_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_POLL_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_SELECT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_SOCKET_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_TIME_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_TERMIOS_H
-
-/* Define to 1 if you have the header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to 1 if you have the `usleep' function. */
-#undef HAVE_USLEEP
-
-/* libecasoundc interface version */
-#undef LIBECASOUNDC_VERSION
-
-/* libecasound interface version */
-#undef LIBECASOUND_VERSION
-
-/* libecasound interface age */
-#undef LIBECASOUND_VERSION_AGE
-
-/* libkvutils interface version */
-#undef LIBKVUTILS_VERSION
-
-/* libkvutils interface age */
-#undef LIBKVUTILS_VERSION_AGE
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define to 1 if you can safely include both and . */
-#undef TIME_WITH_SYS_TIME
-
-/* Version number of package */
-#undef VERSION
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-/* Number of bits in a file offset, on hosts where this is settable. */
-#undef _FILE_OFFSET_BITS
-
-/* Define for large files, on AIX-style hosts. */
-#undef _LARGE_FILES
-
-/* Define to `unsigned int' if does not define. */
-#undef size_t
diff --git a/library/ecasound/config.sub b/library/ecasound/config.sub
deleted file mode 100755
index 387c18d1a..000000000
--- a/library/ecasound/config.sub
+++ /dev/null
@@ -1,1608 +0,0 @@
-#! /bin/sh
-# Configuration validation subroutine script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
-
-timestamp='2006-07-02'
-
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine. It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Please send patches to . Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# Configuration subroutine to validate and canonicalize a configuration type.
-# Supply the specified configuration type as an argument.
-# If it is invalid, we print an error message on stderr and exit with code 1.
-# Otherwise, we print the canonical config type on stdout and succeed.
-
-# This file is supposed to be the same for all GNU packages
-# and recognize all the CPU types, system types and aliases
-# that are meaningful with *any* GNU software.
-# Each package is responsible for reporting which valid configurations
-# it does not support. The user should be able to distinguish
-# a failure to support a valid configuration from a meaningless
-# configuration.
-
-# The goal of this file is to map all the various variations of a given
-# machine specification into a single specification in the form:
-# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or in some cases, the newer four-part form:
-# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# It is wrong to echo any other type of specification.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
- $0 [OPTION] ALIAS
-
-Canonicalize a configuration name.
-
-Operation modes:
- -h, --help print this help, then exit
- -t, --time-stamp print date of last modification, then exit
- -v, --version print version number, then exit
-
-Report bugs and patches to ."
-
-version="\
-GNU config.sub ($timestamp)
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
- case $1 in
- --time-stamp | --time* | -t )
- echo "$timestamp" ; exit ;;
- --version | -v )
- echo "$version" ; exit ;;
- --help | --h* | -h )
- echo "$usage"; exit ;;
- -- ) # Stop option processing
- shift; break ;;
- - ) # Use stdin as input.
- break ;;
- -* )
- echo "$me: invalid option $1$help"
- exit 1 ;;
-
- *local*)
- # First pass through any local machine types.
- echo $1
- exit ;;
-
- * )
- break ;;
- esac
-done
-
-case $# in
- 0) echo "$me: missing argument$help" >&2
- exit 1;;
- 1) ;;
- *) echo "$me: too many arguments$help" >&2
- exit 1;;
-esac
-
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
-# Here we must recognize all the valid KERNEL-OS combinations.
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
-case $maybe_os in
- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
- storm-chaos* | os2-emx* | rtmk-nova*)
- os=-$maybe_os
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- ;;
- *)
- basic_machine=`echo $1 | sed 's/-[^-]*$//'`
- if [ $basic_machine != $1 ]
- then os=`echo $1 | sed 's/.*-/-/'`
- else os=; fi
- ;;
-esac
-
-### Let's recognize common machines as not being operating systems so
-### that things like config.sub decstation-3100 work. We also
-### recognize some manufacturers as not being operating systems, so we
-### can provide default operating systems below.
-case $os in
- -sun*os*)
- # Prevent following clause from handling this invalid input.
- ;;
- -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
- -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
- -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
- -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis | -knuth | -cray)
- os=
- basic_machine=$1
- ;;
- -sim | -cisco | -oki | -wec | -winbond)
- os=
- basic_machine=$1
- ;;
- -scout)
- ;;
- -wrs)
- os=-vxworks
- basic_machine=$1
- ;;
- -chorusos*)
- os=-chorusos
- basic_machine=$1
- ;;
- -chorusrdb)
- os=-chorusrdb
- basic_machine=$1
- ;;
- -hiux*)
- os=-hiuxwe2
- ;;
- -sco6)
- os=-sco5v6
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5)
- os=-sco3.2v5
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco4)
- os=-sco3.2v4
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2.[4-9]*)
- os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2v[4-9]*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5v6*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco*)
- os=-sco3.2v2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -udk*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -isc)
- os=-isc2.2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -clix*)
- basic_machine=clipper-intergraph
- ;;
- -isc*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -lynx*)
- os=-lynxos
- ;;
- -ptx*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
- ;;
- -windowsnt*)
- os=`echo $os | sed -e 's/windowsnt/winnt/'`
- ;;
- -psos*)
- os=-psos
- ;;
- -mint | -mint[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
-esac
-
-# Decode aliases for certain CPU-COMPANY combinations.
-case $basic_machine in
- # Recognize the basic CPU types without company name.
- # Some are omitted here because they have special meanings below.
- 1750a | 580 \
- | a29k \
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- | am33_2.0 \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
- | bfin \
- | c4x | clipper \
- | d10v | d30v | dlx | dsp16xx \
- | fr30 | frv \
- | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
- | i370 | i860 | i960 | ia64 \
- | ip2k | iq2000 \
- | m32c | m32r | m32rle | m68000 | m68k | m88k \
- | maxq | mb | microblaze | mcore \
- | mips | mipsbe | mipseb | mipsel | mipsle \
- | mips16 \
- | mips64 | mips64el \
- | mips64vr | mips64vrel \
- | mips64orion | mips64orionel \
- | mips64vr4100 | mips64vr4100el \
- | mips64vr4300 | mips64vr4300el \
- | mips64vr5000 | mips64vr5000el \
- | mips64vr5900 | mips64vr5900el \
- | mipsisa32 | mipsisa32el \
- | mipsisa32r2 | mipsisa32r2el \
- | mipsisa64 | mipsisa64el \
- | mipsisa64r2 | mipsisa64r2el \
- | mipsisa64sb1 | mipsisa64sb1el \
- | mipsisa64sr71k | mipsisa64sr71kel \
- | mipstx39 | mipstx39el \
- | mn10200 | mn10300 \
- | mt \
- | msp430 \
- | nios | nios2 \
- | ns16k | ns32k \
- | or32 \
- | pdp10 | pdp11 | pj | pjl \
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
- | pyramid \
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- | sh64 | sh64le \
- | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
- | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- | spu | strongarm \
- | tahoe | thumb | tic4x | tic80 | tron \
- | v850 | v850e \
- | we32k \
- | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
- | z8k)
- basic_machine=$basic_machine-unknown
- ;;
- m6811 | m68hc11 | m6812 | m68hc12)
- # Motorola 68HC11/12.
- basic_machine=$basic_machine-unknown
- os=-none
- ;;
- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
- ;;
- ms1)
- basic_machine=mt-unknown
- ;;
-
- # We use `pc' rather than `unknown'
- # because (1) that's what they normally are, and
- # (2) the word "unknown" tends to confuse beginning users.
- i*86 | x86_64)
- basic_machine=$basic_machine-pc
- ;;
- # Object if more than one company name word.
- *-*-*)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
- # Recognize the basic CPU types with company name.
- 580-* \
- | a29k-* \
- | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
- | avr-* | avr32-* \
- | bfin-* | bs2000-* \
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
- | clipper-* | craynv-* | cydra-* \
- | d10v-* | d30v-* | dlx-* \
- | elxsi-* \
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
- | h8300-* | h8500-* \
- | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
- | i*86-* | i860-* | i960-* | ia64-* \
- | ip2k-* | iq2000-* \
- | m32c-* | m32r-* | m32rle-* \
- | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* \
- | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- | mips16-* \
- | mips64-* | mips64el-* \
- | mips64vr-* | mips64vrel-* \
- | mips64orion-* | mips64orionel-* \
- | mips64vr4100-* | mips64vr4100el-* \
- | mips64vr4300-* | mips64vr4300el-* \
- | mips64vr5000-* | mips64vr5000el-* \
- | mips64vr5900-* | mips64vr5900el-* \
- | mipsisa32-* | mipsisa32el-* \
- | mipsisa32r2-* | mipsisa32r2el-* \
- | mipsisa64-* | mipsisa64el-* \
- | mipsisa64r2-* | mipsisa64r2el-* \
- | mipsisa64sb1-* | mipsisa64sb1el-* \
- | mipsisa64sr71k-* | mipsisa64sr71kel-* \
- | mipstx39-* | mipstx39el-* \
- | mmix-* \
- | mt-* \
- | msp430-* \
- | nios-* | nios2-* \
- | none-* | np1-* | ns16k-* | ns32k-* \
- | orion-* \
- | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
- | pyramid-* \
- | romp-* | rs6000-* \
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- | sparclite-* \
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
- | tahoe-* | thumb-* \
- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
- | tron-* \
- | v850-* | v850e-* | vax-* \
- | we32k-* \
- | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
- | xstormy16-* | xtensa-* \
- | ymp-* \
- | z8k-*)
- ;;
- # Recognize the various machine names and aliases which stand
- # for a CPU type and a company and sometimes even an OS.
- 386bsd)
- basic_machine=i386-unknown
- os=-bsd
- ;;
- 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
- basic_machine=m68000-att
- ;;
- 3b*)
- basic_machine=we32k-att
- ;;
- a29khif)
- basic_machine=a29k-amd
- os=-udi
- ;;
- abacus)
- basic_machine=abacus-unknown
- ;;
- adobe68k)
- basic_machine=m68010-adobe
- os=-scout
- ;;
- alliant | fx80)
- basic_machine=fx80-alliant
- ;;
- altos | altos3068)
- basic_machine=m68k-altos
- ;;
- am29k)
- basic_machine=a29k-none
- os=-bsd
- ;;
- amd64)
- basic_machine=x86_64-pc
- ;;
- amd64-*)
- basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- amdahl)
- basic_machine=580-amdahl
- os=-sysv
- ;;
- amiga | amiga-*)
- basic_machine=m68k-unknown
- ;;
- amigaos | amigados)
- basic_machine=m68k-unknown
- os=-amigaos
- ;;
- amigaunix | amix)
- basic_machine=m68k-unknown
- os=-sysv4
- ;;
- apollo68)
- basic_machine=m68k-apollo
- os=-sysv
- ;;
- apollo68bsd)
- basic_machine=m68k-apollo
- os=-bsd
- ;;
- aux)
- basic_machine=m68k-apple
- os=-aux
- ;;
- balance)
- basic_machine=ns32k-sequent
- os=-dynix
- ;;
- c90)
- basic_machine=c90-cray
- os=-unicos
- ;;
- convex-c1)
- basic_machine=c1-convex
- os=-bsd
- ;;
- convex-c2)
- basic_machine=c2-convex
- os=-bsd
- ;;
- convex-c32)
- basic_machine=c32-convex
- os=-bsd
- ;;
- convex-c34)
- basic_machine=c34-convex
- os=-bsd
- ;;
- convex-c38)
- basic_machine=c38-convex
- os=-bsd
- ;;
- cray | j90)
- basic_machine=j90-cray
- os=-unicos
- ;;
- craynv)
- basic_machine=craynv-cray
- os=-unicosmp
- ;;
- cr16c)
- basic_machine=cr16c-unknown
- os=-elf
- ;;
- crds | unos)
- basic_machine=m68k-crds
- ;;
- crisv32 | crisv32-* | etraxfs*)
- basic_machine=crisv32-axis
- ;;
- cris | cris-* | etrax*)
- basic_machine=cris-axis
- ;;
- crx)
- basic_machine=crx-unknown
- os=-elf
- ;;
- da30 | da30-*)
- basic_machine=m68k-da30
- ;;
- decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- basic_machine=mips-dec
- ;;
- decsystem10* | dec10*)
- basic_machine=pdp10-dec
- os=-tops10
- ;;
- decsystem20* | dec20*)
- basic_machine=pdp10-dec
- os=-tops20
- ;;
- delta | 3300 | motorola-3300 | motorola-delta \
- | 3300-motorola | delta-motorola)
- basic_machine=m68k-motorola
- ;;
- delta88)
- basic_machine=m88k-motorola
- os=-sysv3
- ;;
- djgpp)
- basic_machine=i586-pc
- os=-msdosdjgpp
- ;;
- dpx20 | dpx20-*)
- basic_machine=rs6000-bull
- os=-bosx
- ;;
- dpx2* | dpx2*-bull)
- basic_machine=m68k-bull
- os=-sysv3
- ;;
- ebmon29k)
- basic_machine=a29k-amd
- os=-ebmon
- ;;
- elxsi)
- basic_machine=elxsi-elxsi
- os=-bsd
- ;;
- encore | umax | mmax)
- basic_machine=ns32k-encore
- ;;
- es1800 | OSE68k | ose68k | ose | OSE)
- basic_machine=m68k-ericsson
- os=-ose
- ;;
- fx2800)
- basic_machine=i860-alliant
- ;;
- genix)
- basic_machine=ns32k-ns
- ;;
- gmicro)
- basic_machine=tron-gmicro
- os=-sysv
- ;;
- go32)
- basic_machine=i386-pc
- os=-go32
- ;;
- h3050r* | hiux*)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- h8300hms)
- basic_machine=h8300-hitachi
- os=-hms
- ;;
- h8300xray)
- basic_machine=h8300-hitachi
- os=-xray
- ;;
- h8500hms)
- basic_machine=h8500-hitachi
- os=-hms
- ;;
- harris)
- basic_machine=m88k-harris
- os=-sysv3
- ;;
- hp300-*)
- basic_machine=m68k-hp
- ;;
- hp300bsd)
- basic_machine=m68k-hp
- os=-bsd
- ;;
- hp300hpux)
- basic_machine=m68k-hp
- os=-hpux
- ;;
- hp3k9[0-9][0-9] | hp9[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k2[0-9][0-9] | hp9k31[0-9])
- basic_machine=m68000-hp
- ;;
- hp9k3[2-9][0-9])
- basic_machine=m68k-hp
- ;;
- hp9k6[0-9][0-9] | hp6[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k7[0-79][0-9] | hp7[0-79][0-9])
- basic_machine=hppa1.1-hp
- ;;
- hp9k78[0-9] | hp78[0-9])
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][13679] | hp8[0-9][13679])
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][0-9] | hp8[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hppa-next)
- os=-nextstep3
- ;;
- hppaosf)
- basic_machine=hppa1.1-hp
- os=-osf
- ;;
- hppro)
- basic_machine=hppa1.1-hp
- os=-proelf
- ;;
- i370-ibm* | ibm*)
- basic_machine=i370-ibm
- ;;
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
- i*86v32)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv32
- ;;
- i*86v4*)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv4
- ;;
- i*86v)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv
- ;;
- i*86sol2)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-solaris2
- ;;
- i386mach)
- basic_machine=i386-mach
- os=-mach
- ;;
- i386-vsta | vsta)
- basic_machine=i386-unknown
- os=-vsta
- ;;
- iris | iris4d)
- basic_machine=mips-sgi
- case $os in
- -irix*)
- ;;
- *)
- os=-irix4
- ;;
- esac
- ;;
- isi68 | isi)
- basic_machine=m68k-isi
- os=-sysv
- ;;
- m88k-omron*)
- basic_machine=m88k-omron
- ;;
- magnum | m3230)
- basic_machine=mips-mips
- os=-sysv
- ;;
- merlin)
- basic_machine=ns32k-utek
- os=-sysv
- ;;
- mingw32)
- basic_machine=i386-pc
- os=-mingw32
- ;;
- miniframe)
- basic_machine=m68000-convergent
- ;;
- *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
- mips3*-*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- ;;
- mips3*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
- ;;
- monitor)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- morphos)
- basic_machine=powerpc-unknown
- os=-morphos
- ;;
- msdos)
- basic_machine=i386-pc
- os=-msdos
- ;;
- ms1-*)
- basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
- ;;
- mvs)
- basic_machine=i370-ibm
- os=-mvs
- ;;
- ncr3000)
- basic_machine=i486-ncr
- os=-sysv4
- ;;
- netbsd386)
- basic_machine=i386-unknown
- os=-netbsd
- ;;
- netwinder)
- basic_machine=armv4l-rebel
- os=-linux
- ;;
- news | news700 | news800 | news900)
- basic_machine=m68k-sony
- os=-newsos
- ;;
- news1000)
- basic_machine=m68030-sony
- os=-newsos
- ;;
- news-3600 | risc-news)
- basic_machine=mips-sony
- os=-newsos
- ;;
- necv70)
- basic_machine=v70-nec
- os=-sysv
- ;;
- next | m*-next )
- basic_machine=m68k-next
- case $os in
- -nextstep* )
- ;;
- -ns2*)
- os=-nextstep2
- ;;
- *)
- os=-nextstep3
- ;;
- esac
- ;;
- nh3000)
- basic_machine=m68k-harris
- os=-cxux
- ;;
- nh[45]000)
- basic_machine=m88k-harris
- os=-cxux
- ;;
- nindy960)
- basic_machine=i960-intel
- os=-nindy
- ;;
- mon960)
- basic_machine=i960-intel
- os=-mon960
- ;;
- nonstopux)
- basic_machine=mips-compaq
- os=-nonstopux
- ;;
- np1)
- basic_machine=np1-gould
- ;;
- nsr-tandem)
- basic_machine=nsr-tandem
- ;;
- op50n-* | op60c-*)
- basic_machine=hppa1.1-oki
- os=-proelf
- ;;
- openrisc | openrisc-*)
- basic_machine=or32-unknown
- ;;
- os400)
- basic_machine=powerpc-ibm
- os=-os400
- ;;
- OSE68000 | ose68000)
- basic_machine=m68000-ericsson
- os=-ose
- ;;
- os68k)
- basic_machine=m68k-none
- os=-os68k
- ;;
- pa-hitachi)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- paragon)
- basic_machine=i860-intel
- os=-osf
- ;;
- pbd)
- basic_machine=sparc-tti
- ;;
- pbb)
- basic_machine=m68k-tti
- ;;
- pc532 | pc532-*)
- basic_machine=ns32k-pc532
- ;;
- pc98)
- basic_machine=i386-pc
- ;;
- pc98-*)
- basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentium | p5 | k5 | k6 | nexgen | viac3)
- basic_machine=i586-pc
- ;;
- pentiumpro | p6 | 6x86 | athlon | athlon_*)
- basic_machine=i686-pc
- ;;
- pentiumii | pentium2 | pentiumiii | pentium3)
- basic_machine=i686-pc
- ;;
- pentium4)
- basic_machine=i786-pc
- ;;
- pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumpro-* | p6-* | 6x86-* | athlon-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentium4-*)
- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pn)
- basic_machine=pn-gould
- ;;
- power) basic_machine=power-ibm
- ;;
- ppc) basic_machine=powerpc-unknown
- ;;
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppcle | powerpclittle | ppc-le | powerpc-little)
- basic_machine=powerpcle-unknown
- ;;
- ppcle-* | powerpclittle-*)
- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64) basic_machine=powerpc64-unknown
- ;;
- ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
- basic_machine=powerpc64le-unknown
- ;;
- ppc64le-* | powerpc64little-*)
- basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ps2)
- basic_machine=i386-ibm
- ;;
- pw32)
- basic_machine=i586-unknown
- os=-pw32
- ;;
- rdos)
- basic_machine=i386-pc
- os=-rdos
- ;;
- rom68k)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- rm[46]00)
- basic_machine=mips-siemens
- ;;
- rtpc | rtpc-*)
- basic_machine=romp-ibm
- ;;
- s390 | s390-*)
- basic_machine=s390-ibm
- ;;
- s390x | s390x-*)
- basic_machine=s390x-ibm
- ;;
- sa29200)
- basic_machine=a29k-amd
- os=-udi
- ;;
- sb1)
- basic_machine=mipsisa64sb1-unknown
- ;;
- sb1el)
- basic_machine=mipsisa64sb1el-unknown
- ;;
- sei)
- basic_machine=mips-sei
- os=-seiux
- ;;
- sequent)
- basic_machine=i386-sequent
- ;;
- sh)
- basic_machine=sh-hitachi
- os=-hms
- ;;
- sh64)
- basic_machine=sh64-unknown
- ;;
- sparclite-wrs | simso-wrs)
- basic_machine=sparclite-wrs
- os=-vxworks
- ;;
- sps7)
- basic_machine=m68k-bull
- os=-sysv2
- ;;
- spur)
- basic_machine=spur-unknown
- ;;
- st2000)
- basic_machine=m68k-tandem
- ;;
- stratus)
- basic_machine=i860-stratus
- os=-sysv4
- ;;
- sun2)
- basic_machine=m68000-sun
- ;;
- sun2os3)
- basic_machine=m68000-sun
- os=-sunos3
- ;;
- sun2os4)
- basic_machine=m68000-sun
- os=-sunos4
- ;;
- sun3os3)
- basic_machine=m68k-sun
- os=-sunos3
- ;;
- sun3os4)
- basic_machine=m68k-sun
- os=-sunos4
- ;;
- sun4os3)
- basic_machine=sparc-sun
- os=-sunos3
- ;;
- sun4os4)
- basic_machine=sparc-sun
- os=-sunos4
- ;;
- sun4sol2)
- basic_machine=sparc-sun
- os=-solaris2
- ;;
- sun3 | sun3-*)
- basic_machine=m68k-sun
- ;;
- sun4)
- basic_machine=sparc-sun
- ;;
- sun386 | sun386i | roadrunner)
- basic_machine=i386-sun
- ;;
- sv1)
- basic_machine=sv1-cray
- os=-unicos
- ;;
- symmetry)
- basic_machine=i386-sequent
- os=-dynix
- ;;
- t3e)
- basic_machine=alphaev5-cray
- os=-unicos
- ;;
- t90)
- basic_machine=t90-cray
- os=-unicos
- ;;
- tic54x | c54x*)
- basic_machine=tic54x-unknown
- os=-coff
- ;;
- tic55x | c55x*)
- basic_machine=tic55x-unknown
- os=-coff
- ;;
- tic6x | c6x*)
- basic_machine=tic6x-unknown
- os=-coff
- ;;
- tx39)
- basic_machine=mipstx39-unknown
- ;;
- tx39el)
- basic_machine=mipstx39el-unknown
- ;;
- toad1)
- basic_machine=pdp10-xkl
- os=-tops20
- ;;
- tower | tower-32)
- basic_machine=m68k-ncr
- ;;
- tpf)
- basic_machine=s390x-ibm
- os=-tpf
- ;;
- udi29k)
- basic_machine=a29k-amd
- os=-udi
- ;;
- ultra3)
- basic_machine=a29k-nyu
- os=-sym1
- ;;
- v810 | necv810)
- basic_machine=v810-nec
- os=-none
- ;;
- vaxv)
- basic_machine=vax-dec
- os=-sysv
- ;;
- vms)
- basic_machine=vax-dec
- os=-vms
- ;;
- vpp*|vx|vx-*)
- basic_machine=f301-fujitsu
- ;;
- vxworks960)
- basic_machine=i960-wrs
- os=-vxworks
- ;;
- vxworks68)
- basic_machine=m68k-wrs
- os=-vxworks
- ;;
- vxworks29k)
- basic_machine=a29k-wrs
- os=-vxworks
- ;;
- w65*)
- basic_machine=w65-wdc
- os=-none
- ;;
- w89k-*)
- basic_machine=hppa1.1-winbond
- os=-proelf
- ;;
- xbox)
- basic_machine=i686-pc
- os=-mingw32
- ;;
- xps | xps100)
- basic_machine=xps100-honeywell
- ;;
- ymp)
- basic_machine=ymp-cray
- os=-unicos
- ;;
- z8k-*-coff)
- basic_machine=z8k-unknown
- os=-sim
- ;;
- none)
- basic_machine=none-none
- os=-none
- ;;
-
-# Here we handle the default manufacturer of certain CPU types. It is in
-# some cases the only manufacturer, in others, it is the most popular.
- w89k)
- basic_machine=hppa1.1-winbond
- ;;
- op50n)
- basic_machine=hppa1.1-oki
- ;;
- op60c)
- basic_machine=hppa1.1-oki
- ;;
- romp)
- basic_machine=romp-ibm
- ;;
- mmix)
- basic_machine=mmix-knuth
- ;;
- rs6000)
- basic_machine=rs6000-ibm
- ;;
- vax)
- basic_machine=vax-dec
- ;;
- pdp10)
- # there are many clones, so DEC is not a safe bet
- basic_machine=pdp10-unknown
- ;;
- pdp11)
- basic_machine=pdp11-dec
- ;;
- we32k)
- basic_machine=we32k-att
- ;;
- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
- basic_machine=sh-unknown
- ;;
- sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
- basic_machine=sparc-sun
- ;;
- cydra)
- basic_machine=cydra-cydrome
- ;;
- orion)
- basic_machine=orion-highlevel
- ;;
- orion105)
- basic_machine=clipper-highlevel
- ;;
- mac | mpw | mac-mpw)
- basic_machine=m68k-apple
- ;;
- pmac | pmac-mpw)
- basic_machine=powerpc-apple
- ;;
- *-unknown)
- # Make sure to match an already-canonicalized machine name.
- ;;
- *)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
-esac
-
-# Here we canonicalize certain aliases for manufacturers.
-case $basic_machine in
- *-digital*)
- basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
- ;;
- *-commodore*)
- basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
- ;;
- *)
- ;;
-esac
-
-# Decode manufacturer-specific aliases for certain operating systems.
-
-if [ x"$os" != x"" ]
-then
-case $os in
- # First match some system type aliases
- # that might get confused with valid system types.
- # -solaris* is a basic system type, with this one exception.
- -solaris1 | -solaris1.*)
- os=`echo $os | sed -e 's|solaris1|sunos4|'`
- ;;
- -solaris)
- os=-solaris2
- ;;
- -svr4*)
- os=-sysv4
- ;;
- -unixware*)
- os=-sysv4.2uw
- ;;
- -gnu/linux*)
- os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
- ;;
- # First accept the basic system types.
- # The portable systems comes first.
- # Each alternative MUST END IN A *, to match a version number.
- # -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* \
- | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- | -openbsd* | -solidbsd* \
- | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
- | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -chorusos* | -chorusrdb* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
- | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)
- case $basic_machine in
- x86-* | i*86-*)
- ;;
- *)
- os=-nto$os
- ;;
- esac
- ;;
- -nto-qnx*)
- ;;
- -nto*)
- os=`echo $os | sed -e 's|nto|nto-qnx|'`
- ;;
- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
- | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
- ;;
- -mac*)
- os=`echo $os | sed -e 's|mac|macos|'`
- ;;
- -linux-dietlibc)
- os=-linux-dietlibc
- ;;
- -linux*)
- os=`echo $os | sed -e 's|linux|linux-gnu|'`
- ;;
- -sunos5*)
- os=`echo $os | sed -e 's|sunos5|solaris2|'`
- ;;
- -sunos6*)
- os=`echo $os | sed -e 's|sunos6|solaris3|'`
- ;;
- -opened*)
- os=-openedition
- ;;
- -os400*)
- os=-os400
- ;;
- -wince*)
- os=-wince
- ;;
- -osfrose*)
- os=-osfrose
- ;;
- -osf*)
- os=-osf
- ;;
- -utek*)
- os=-bsd
- ;;
- -dynix*)
- os=-bsd
- ;;
- -acis*)
- os=-aos
- ;;
- -atheos*)
- os=-atheos
- ;;
- -syllable*)
- os=-syllable
- ;;
- -386bsd)
- os=-bsd
- ;;
- -ctix* | -uts*)
- os=-sysv
- ;;
- -nova*)
- os=-rtmk-nova
- ;;
- -ns2 )
- os=-nextstep2
- ;;
- -nsk*)
- os=-nsk
- ;;
- # Preserve the version number of sinix5.
- -sinix5.*)
- os=`echo $os | sed -e 's|sinix|sysv|'`
- ;;
- -sinix*)
- os=-sysv4
- ;;
- -tpf*)
- os=-tpf
- ;;
- -triton*)
- os=-sysv3
- ;;
- -oss*)
- os=-sysv3
- ;;
- -svr4)
- os=-sysv4
- ;;
- -svr3)
- os=-sysv3
- ;;
- -sysvr4)
- os=-sysv4
- ;;
- # This must come after -sysvr4.
- -sysv*)
- ;;
- -ose*)
- os=-ose
- ;;
- -es1800*)
- os=-ose
- ;;
- -xenix)
- os=-xenix
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- os=-mint
- ;;
- -aros*)
- os=-aros
- ;;
- -kaos*)
- os=-kaos
- ;;
- -zvmoe)
- os=-zvmoe
- ;;
- -none)
- ;;
- *)
- # Get rid of the `-' at the beginning of $os.
- os=`echo $os | sed 's/[^-]*-//'`
- echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
- exit 1
- ;;
-esac
-else
-
-# Here we handle the default operating systems that come with various machines.
-# The value should be what the vendor currently ships out the door with their
-# machine or put another way, the most popular os provided with the machine.
-
-# Note that if you're going to try to match "-MANUFACTURER" here (say,
-# "-sun"), then you have to tell the case statement up towards the top
-# that MANUFACTURER isn't an operating system. Otherwise, code above
-# will signal an error saying that MANUFACTURER isn't an operating
-# system, and we'll never get to this point.
-
-case $basic_machine in
- spu-*)
- os=-elf
- ;;
- *-acorn)
- os=-riscix1.2
- ;;
- arm*-rebel)
- os=-linux
- ;;
- arm*-semi)
- os=-aout
- ;;
- c4x-* | tic4x-*)
- os=-coff
- ;;
- # This must come before the *-dec entry.
- pdp10-*)
- os=-tops20
- ;;
- pdp11-*)
- os=-none
- ;;
- *-dec | vax-*)
- os=-ultrix4.2
- ;;
- m68*-apollo)
- os=-domain
- ;;
- i386-sun)
- os=-sunos4.0.2
- ;;
- m68000-sun)
- os=-sunos3
- # This also exists in the configure program, but was not the
- # default.
- # os=-sunos4
- ;;
- m68*-cisco)
- os=-aout
- ;;
- mips*-cisco)
- os=-elf
- ;;
- mips*-*)
- os=-elf
- ;;
- or32-*)
- os=-coff
- ;;
- *-tti) # must be before sparc entry or we get the wrong os.
- os=-sysv3
- ;;
- sparc-* | *-sun)
- os=-sunos4.1.1
- ;;
- *-be)
- os=-beos
- ;;
- *-haiku)
- os=-haiku
- ;;
- *-ibm)
- os=-aix
- ;;
- *-knuth)
- os=-mmixware
- ;;
- *-wec)
- os=-proelf
- ;;
- *-winbond)
- os=-proelf
- ;;
- *-oki)
- os=-proelf
- ;;
- *-hp)
- os=-hpux
- ;;
- *-hitachi)
- os=-hiux
- ;;
- i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
- os=-sysv
- ;;
- *-cbm)
- os=-amigaos
- ;;
- *-dg)
- os=-dgux
- ;;
- *-dolphin)
- os=-sysv3
- ;;
- m68k-ccur)
- os=-rtu
- ;;
- m88k-omron*)
- os=-luna
- ;;
- *-next )
- os=-nextstep
- ;;
- *-sequent)
- os=-ptx
- ;;
- *-crds)
- os=-unos
- ;;
- *-ns)
- os=-genix
- ;;
- i370-*)
- os=-mvs
- ;;
- *-next)
- os=-nextstep3
- ;;
- *-gould)
- os=-sysv
- ;;
- *-highlevel)
- os=-bsd
- ;;
- *-encore)
- os=-bsd
- ;;
- *-sgi)
- os=-irix
- ;;
- *-siemens)
- os=-sysv4
- ;;
- *-masscomp)
- os=-rtu
- ;;
- f30[01]-fujitsu | f700-fujitsu)
- os=-uxpv
- ;;
- *-rom68k)
- os=-coff
- ;;
- *-*bug)
- os=-coff
- ;;
- *-apple)
- os=-macos
- ;;
- *-atari*)
- os=-mint
- ;;
- *)
- os=-none
- ;;
-esac
-fi
-
-# Here we handle the case where we know the os, and the CPU type, but not the
-# manufacturer. We pick the logical manufacturer.
-vendor=unknown
-case $basic_machine in
- *-unknown)
- case $os in
- -riscix*)
- vendor=acorn
- ;;
- -sunos*)
- vendor=sun
- ;;
- -aix*)
- vendor=ibm
- ;;
- -beos*)
- vendor=be
- ;;
- -hpux*)
- vendor=hp
- ;;
- -mpeix*)
- vendor=hp
- ;;
- -hiux*)
- vendor=hitachi
- ;;
- -unos*)
- vendor=crds
- ;;
- -dgux*)
- vendor=dg
- ;;
- -luna*)
- vendor=omron
- ;;
- -genix*)
- vendor=ns
- ;;
- -mvs* | -opened*)
- vendor=ibm
- ;;
- -os400*)
- vendor=ibm
- ;;
- -ptx*)
- vendor=sequent
- ;;
- -tpf*)
- vendor=ibm
- ;;
- -vxsim* | -vxworks* | -windiss*)
- vendor=wrs
- ;;
- -aux*)
- vendor=apple
- ;;
- -hms*)
- vendor=hitachi
- ;;
- -mpw* | -macos*)
- vendor=apple
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- vendor=atari
- ;;
- -vos*)
- vendor=stratus
- ;;
- esac
- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- ;;
-esac
-
-echo $basic_machine$os
-exit
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/library/ecasound/configure b/library/ecasound/configure
deleted file mode 100755
index ba84f9449..000000000
--- a/library/ecasound/configure
+++ /dev/null
@@ -1,30153 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for ecasound 2.7.2.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$ECHO in
-X*--fallback-echo)
- # Remove one level of quotation (which was required for Make).
- ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
- ;;
-esac
-
-echo=${ECHO-echo}
-if test "X$1" = X--no-reexec; then
- # Discard the --no-reexec flag, and continue.
- shift
-elif test "X$1" = X--fallback-echo; then
- # Avoid inline document here, it may be left over
- :
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
- # Yippee, $echo works!
- :
-else
- # Restart under the correct shell.
- exec $SHELL "$0" --no-reexec ${1+"$@"}
-fi
-
-if test "X$1" = X--fallback-echo; then
- # used as fallback echo
- shift
- cat </dev/null 2>&1 && unset CDPATH
-
-if test -z "$ECHO"; then
-if test "X${echo_test_string+set}" != Xset; then
-# find a string as large as possible, as long as the shell can cope with it
- for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- if (echo_test_string=`eval $cmd`) 2>/dev/null &&
- echo_test_string=`eval $cmd` &&
- (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- then
- break
- fi
- done
-fi
-
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- :
-else
- # The Solaris, AIX, and Digital Unix default echo programs unquote
- # backslashes. This makes it impossible to quote backslashes using
- # echo "$something" | sed 's/\\/\\\\/g'
- #
- # So, first we look for a working echo in the user's PATH.
-
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for dir in $PATH /usr/ucb; do
- IFS="$lt_save_ifs"
- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- echo="$dir/echo"
- break
- fi
- done
- IFS="$lt_save_ifs"
-
- if test "X$echo" = Xecho; then
- # We didn't find a better echo, so look for alternatives.
- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- # This shell has a builtin print -r that does the trick.
- echo='print -r'
- elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- test "X$CONFIG_SHELL" != X/bin/ksh; then
- # If we have ksh, try running configure again with it.
- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- export ORIGINAL_CONFIG_SHELL
- CONFIG_SHELL=/bin/ksh
- export CONFIG_SHELL
- exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
- else
- # Try using printf.
- echo='printf %s\n'
- if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- # Cool, printf works
- :
- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
- test "X$echo_testing_string" = 'X\t' &&
- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- export CONFIG_SHELL
- SHELL="$CONFIG_SHELL"
- export SHELL
- echo="$CONFIG_SHELL $0 --fallback-echo"
- elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
- test "X$echo_testing_string" = 'X\t' &&
- echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- test "X$echo_testing_string" = "X$echo_test_string"; then
- echo="$CONFIG_SHELL $0 --fallback-echo"
- else
- # maybe with a smaller string...
- prev=:
-
- for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
- if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- then
- break
- fi
- prev="$cmd"
- done
-
- if test "$prev" != 'sed 50q "$0"'; then
- echo_test_string=`eval $prev`
- export echo_test_string
- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
- else
- # Oops. We lost completely, so just stick with echo.
- echo=echo
- fi
- fi
- fi
- fi
-fi
-fi
-
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-ECHO=$echo
-if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
- ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
-fi
-
-
-
-
-tagnames=${tagnames+${tagnames},}CXX
-
-tagnames=${tagnames+${tagnames},}F77
-
-exec 7<&0 &1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME='ecasound'
-PACKAGE_TARNAME='ecasound'
-PACKAGE_VERSION='2.7.2'
-PACKAGE_STRING='ecasound 2.7.2'
-PACKAGE_BUGREPORT=''
-
-ac_unique_file="libecasound/audiofx.h"
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include
-#ifdef HAVE_SYS_TYPES_H
-# include
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include
-#endif
-#ifdef STDC_HEADERS
-# include
-# include
-#else
-# ifdef HAVE_STDLIB_H
-# include
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-# include
-# endif
-# include
-#endif
-#ifdef HAVE_STRINGS_H
-# include
-#endif
-#ifdef HAVE_INTTYPES_H
-# include
-#endif
-#ifdef HAVE_STDINT_H
-# include
-#endif
-#ifdef HAVE_UNISTD_H
-# include
-#endif"
-
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CYGPATH_W
-PACKAGE
-VERSION
-ACLOCAL
-AUTOCONF
-AUTOMAKE
-AUTOHEADER
-MAKEINFO
-install_sh
-STRIP
-INSTALL_STRIP_PROGRAM
-mkdir_p
-AWK
-SET_MAKE
-am__leading_dot
-AMTAR
-am__tar
-am__untar
-LIBECASOUND_VERSION
-LIBECASOUND_VERSION_AGE
-LIBECASOUNDC_VERSION
-LIBECASOUNDC_VERSION_AGE
-LIBKVUTILS_VERSION
-LIBKVUTILS_VERSION_AGE
-CC
-CFLAGS
-LDFLAGS
-CPPFLAGS
-ac_ct_CC
-EXEEXT
-OBJEXT
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-CXX
-CXXFLAGS
-ac_ct_CXX
-CXXDEPMODE
-am__fastdepCXX_TRUE
-am__fastdepCXX_FALSE
-CPP
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-AM_CFLAGS
-AM_CXXFLAGS
-AM_CPPFLAGS
-AM_LDFLAGS
-ECA_AM_DEBUG_MODE_TRUE
-ECA_AM_DEBUG_MODE_FALSE
-ECA_AM_FEELING_EXPERIMENTAL_TRUE
-ECA_AM_FEELING_EXPERIMENTAL_FALSE
-ECA_S_PREFIX
-ECA_AM_DISABLE_EFFECTS_TRUE
-ECA_AM_DISABLE_EFFECTS_FALSE
-CXXCPP
-GREP
-EGREP
-ECA_AM_COMPILE_OSS_TRUE
-ECA_AM_COMPILE_OSS_FALSE
-ARTSC_CONFIG
-ECA_AM_COMPILE_ARTS_TRUE
-ECA_AM_COMPILE_ARTS_FALSE
-ECA_AM_COMPILE_SAMPLERATE_TRUE
-ECA_AM_COMPILE_SAMPLERATE_FALSE
-PYTHONPATH
-ECA_S_PYTHON_INCLUDES
-ECA_S_PYTHON_MODULES
-ECA_S_PYTHON_DLMODULES
-ECA_AM_PYECASOUND_CEXT_TRUE
-ECA_AM_PYECASOUND_CEXT_FALSE
-ECA_AM_PYECASOUND_INSTALL_TRUE
-ECA_AM_PYECASOUND_INSTALL_FALSE
-RUBYPATH
-ECA_S_RUBY_SITEDIR
-ECA_AM_RUBYECASOUND_INSTALL_TRUE
-ECA_AM_RUBYECASOUND_INSTALL_FALSE
-SED
-LN_S
-ECHO
-AR
-RANLIB
-DSYMUTIL
-NMEDIT
-F77
-FFLAGS
-ac_ct_F77
-LIBTOOL
-ECA_AM_USE_NCURSES_TRUE
-ECA_AM_USE_NCURSES_FALSE
-ECA_AM_USE_TERMCAP_TRUE
-ECA_AM_USE_TERMCAP_FALSE
-ECA_AM_COMPILE_AUDIOFILE_TRUE
-ECA_AM_COMPILE_AUDIOFILE_FALSE
-ECA_AM_COMPILE_SNDFILE_TRUE
-ECA_AM_COMPILE_SNDFILE_FALSE
-ECA_AM_COMPILE_ALSA_TRUE
-ECA_AM_COMPILE_ALSA_FALSE
-ECA_AM_COMPILE_JACK_TRUE
-ECA_AM_COMPILE_JACK_FALSE
-ECA_S_JACK_LIBS
-ECA_S_JACK_INCLUDES
-ECA_AM_KVUTILS_INSTALLED_TRUE
-ECA_AM_KVUTILS_INSTALLED_FALSE
-ECA_AM_SYSTEM_READLINE_TRUE
-ECA_AM_SYSTEM_READLINE_FALSE
-ECA_S_READLINE_INCLUDES
-ECA_S_READLINE_LIBS
-PKG_CONFIG
-LIBOIL_CFLAGS
-LIBOIL_LIBS
-LIBLO_CFLAGS
-LIBLO_LIBS
-ECA_S_EXTRA_CPPFLAGS
-ECA_S_EXTRA_LIBS
-ECA_AM_ALL_STATIC_TRUE
-ECA_AM_ALL_STATIC_FALSE
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files=''
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CXX
-CXXFLAGS
-CCC
-CPP
-CXXCPP
-F77
-FFLAGS
-PKG_CONFIG
-LIBOIL_CFLAGS
-LIBOIL_LIBS
-LIBLO_CFLAGS
-LIBLO_LIBS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures ecasound 2.7.2 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/ecasound]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of ecasound 2.7.2:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
- --enable-debug Enable debugging (default = no)
- --enable-experimental Enable experimental code (default = no)
- --disable-dbc Don't check design-by-contract assertions (default = check)
- --disable-effects Disable effects (default = no)
- --disable-largefile omit support for large files
- --disable-oss Disable OSS (default = no)
- --disable-osstrigger Disable the use of OSS trigger functions (default = no)
- --disable-arts Disable aRts support (default = no)
- --disable-libsamplerate Disable libsamplerate support (default = no)
- --enable-pyecasound Enable compilation of pyecasound (default = python)
- --enable-python-force-site-packages force install Python modules into site-packages even when it doesn't exist default=no
- --enable-rubyecasound Enable rubyecasound (default = yes)
- --enable-shared[=PKGS] build shared libraries [default=yes]
- --enable-static[=PKGS] build static libraries [default=yes]
- --enable-fast-install[=PKGS]
- optimize for fast installation [default=yes]
- --disable-libtool-lock avoid locking (might break parallel builds)
- --disable-ncurses Disable ncurses (default = no)
- --disable-audiofile Disable libaudiofile (default = no)
- --disable-sndfile Disable libsndfile (default = no)
- --disable-alsa Disable ALSA (default = no)
- --enable-jack Enable JACK support (default=yes, if found)
- --enable-sys-readline Compile with system readline (default=yes)
- --enable-liboil Use liboil if available (default=no)
- --enable-liblo Use liblo if available (default=yes)
- --enable-all-static Build only static binaries (default = no)
-
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-extra-cppflags=FLAGS pass extra flags to cpp
- --with-extra-libs=FLAGS pass extra flags to linker
- --with-largefile deprecated option, now used by default
- --with-libsamplerate=DIR Compile against libsamplerate installed in DIR
- --with-python-includes=DIR Python include files are in DIR
- --with-python-modules=DIR install Python modules in DIR
- --with-gnu-ld assume the C compiler uses GNU ld [default=no]
- --with-pic try to use only PIC/non-PIC objects [default=use
- both]
- --with-tags[=TAGS] include additional configurations [automatic]
- --with-jack=DIR Compile against JACK installed in DIR
-
-Some influential environment variables:
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L if you have libraries in a
- nonstandard directory
- LIBS libraries to pass to the linker, e.g. -l
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
- you have headers in a nonstandard directory
- CXX C++ compiler command
- CXXFLAGS C++ compiler flags
- CPP C preprocessor
- CXXCPP C++ preprocessor
- F77 Fortran 77 compiler command
- FFLAGS Fortran 77 compiler flags
- PKG_CONFIG path to pkg-config utility
- LIBOIL_CFLAGS
- C compiler flags for LIBOIL, overriding pkg-config
- LIBOIL_LIBS linker flags for LIBOIL, overriding pkg-config
- LIBLO_CFLAGS
- C compiler flags for LIBLO, overriding pkg-config
- LIBLO_LIBS linker flags for LIBLO, overriding pkg-config
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-ecasound configure 2.7.2
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by ecasound $as_me 2.7.2, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-am__api_version="1.9"
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&5
-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
-Check your system clock" >&5
-echo "$as_me: error: newly created file is older than distributed files!
-Check your system clock" >&2;}
- { (exit 1); exit 1; }; }
-fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AWK="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { echo "$as_me:$LINENO: result: $AWK" >&5
-echo "${ECHO_T}$AWK" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- SET_MAKE=
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='ecasound'
- VERSION='2.7.2'
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { echo "$as_me:$LINENO: result: $STRIP" >&5
-echo "${ECHO_T}$STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-
-
-
-
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-
-echo "------------------------------------------------------------------"
-echo "1. Section: Basic setup"
-echo "------------------------------------------------------------------"
-
-
-LIBECASOUND_VERSION=22
-LIBECASOUND_VERSION_AGE=0
-LIBECASOUNDC_VERSION=2
-LIBECASOUNDC_VERSION_AGE=1
-LIBKVUTILS_VERSION=9
-LIBKVUTILS_VERSION_AGE=5
-
-
-
-
-
-
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define LIBECASOUND_VERSION ${LIBECASOUND_VERSION}
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define LIBECASOUND_VERSION_AGE ${LIBECASOUND_VERSION_AGE}
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define LIBECASOUNDC_VERSION ${LIBECASOUNDC_VERSION}
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define LIBKVUTILS_VERSION ${LIBKVUTILS_VERSION}
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define LIBKVUTILS_VERSION_AGE ${LIBKVUTILS_VERSION_AGE}
-_ACEOF
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
-echo "${ECHO_T}$ac_ct_CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
-echo "${ECHO_T}$ac_ct_CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&5
-echo "$as_me: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler --version >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -v >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -V >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-#
-# List of possible output files, starting from the most likely.
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
-# only as a last resort. b.out is created by i960 compilers.
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
-#
-# The IRIX 6 linker writes into existing files which may not be
-# executable, retaining their permissions. Remove them first so a
-# subsequent execution test works.
-ac_rmfiles=
-for ac_file in $ac_files
-do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
-done
-rm -f $ac_rmfiles
-
-if { (ac_try="$ac_link_default"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile. We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- # We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
- # argument, so we may need to know it at that point already.
- # Even if this section looks crufty: it has the advantage of
- # actually working.
- break;;
- * )
- break;;
- esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
- ac_file=''
-fi
-
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
-echo "${ECHO_T}$ac_file" >&6; }
-if test -z "$ac_file"; then
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
-See \`config.log' for more details." >&5
-echo "$as_me: error: C compiler cannot create executables
-See \`config.log' for more details." >&2;}
- { (exit 77); exit 77; }; }
-fi
-
-ac_exeext=$ac_cv_exeext
-
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
- if { ac_try='./$ac_file'
- { (case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
-echo "${ECHO_T}$cross_compiling" >&6; }
-
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
-done
-else
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-rm -f conftest$ac_cv_exeext
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
-if test "${ac_cv_objext+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
-done
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
-echo "${ECHO_T}$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_compiler_gnu=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_compiler_gnu=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-GCC=`test $ac_compiler_gnu = yes && echo yes`
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-#include
-#include
-#include
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_c89=$ac_arg
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { echo "$as_me:$LINENO: result: none needed" >&5
-echo "${ECHO_T}none needed" >&6; } ;;
- xno)
- { echo "$as_me:$LINENO: result: unsupported" >&5
-echo "${ECHO_T}unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
- if test -n "$CCC"; then
- CXX=$CCC
- else
- if test -n "$ac_tool_prefix"; then
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CXX"; then
- ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
- { echo "$as_me:$LINENO: result: $CXX" >&5
-echo "${ECHO_T}$CXX" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$CXX" && break
- done
-fi
-if test -z "$CXX"; then
- ac_ct_CXX=$CXX
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CXX"; then
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CXX="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
-echo "${ECHO_T}$ac_ct_CXX" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_CXX" && break
-done
-
- if test "x$ac_ct_CXX" = x; then
- CXX="g++"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- CXX=$ac_ct_CXX
- fi
-fi
-
- fi
-fi
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler --version >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -v >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -V >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_compiler_gnu=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_compiler_gnu=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
-GXX=`test $ac_compiler_gnu = yes && echo yes`
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag
- ac_cxx_werror_flag=yes
- ac_cv_prog_cxx_g=no
- CXXFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cxx_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CXXFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
- CXXFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cxx_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
- if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
- else
- CXXFLAGS="-g"
- fi
-else
- if test "$GXX" = yes; then
- CXXFLAGS="-O2"
- else
- CXXFLAGS=
- fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-depcc="$CXX" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CXX_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CXX_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CXX_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
- am__fastdepCXX_TRUE=
- am__fastdepCXX_FALSE='#'
-else
- am__fastdepCXX_TRUE='#'
- am__fastdepCXX_FALSE=
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
- if test "${ac_cv_prog_CPP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- break
-fi
-
- done
- ac_cv_prog_CPP=$CPP
-
-fi
- CPP=$ac_cv_prog_CPP
-else
- ac_cv_prog_CPP=$CPP
-fi
-{ echo "$as_me:$LINENO: result: $CPP" >&5
-echo "${ECHO_T}$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- :
-else
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-
-EXTRACPPFLAGS="-D_REENTRANT -D_XOPEN_SOURCE=500"
-EXTRAGCCFLAGS="-ffast-math -fstrict-aliasing"
-if test x${GXX} = xyes; then
- AM_CXXFLAGS="$AM_CXXFLAGS $EXTRAGCCFLAGS"
-fi
-if test x${GCC} = xyes; then
- AM_CFLAGS="$AM_CFLAGS $EXTRAGCCFLAGS"
-fi
-AM_CPPFLAGS="$AM_CPPFLAGS $EXTRACPPFLAGS"
-
-
-
-
-
-
-
-
-eca_platform_python_impl="python"
-
-eca_platform_curses_support="yes"
-
-
-case "$host" in
- *-*-openbsd*)
- AM_CFLAGS="$AM_CFLAGS -pthread"
- AM_CXXFLAGS="$AM_CXXFLAGS -pthread"
- echo "Setting OpenBSD compilation options for POSIX threads"
- ;;
- *-*-freebsd*)
- AM_CFLAGS="$AM_CFLAGS -pthread"
- AM_CPPFLAGS="$AM_CPPFLAGS -D_THREAD_SAFE -D_P1003_1B_VISIBLE"
- AM_CXXFLAGS="$AM_CXXFLAGS -pthread"
- echo "Setting FreeBSD compilation options for POSIX threads"
- ;;
- *-*-solaris*)
- AM_CPPFLAGS="$AM_CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS"
- LIBS="$LIBS -lposix4 -lpthread"
- echo "Setting Solaris compilation options for POSIX threads"
- if test x$CXX = xCC; then
- LIBS="$LIBS -mt"
- AM_CXXFLAGS="$AM_CXXFLAGS -instances=static"
- echo "Sun Workshop C++ compiler detected. Enabling static template instantation."
- fi
- ;;
- *-*-linux-gnu)
- eca_platform_python_impl="c"
- ;;
- alpha*-*-linux-*)
- AM_CFLAGS="$AM_CFLAGS -mieee"
- AM_CXXFLAGS="$AM_CXXFLAGS -mieee"
- echo "Enabling fully IEEE compliant floating-point code generation on Alpha."
- ;;
- *darwin*)
- if test "$GCC" = yes; then
- AM_CPPFLAGS="$AM_CPPFLAGS -D_P1003_1B_VISIBLE"
- fi
- ;;
- *)
- echo "Using generic settings for POSIX thread support."
- ;;
-esac
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
-echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; }
-if test "${ac_cv_search_pthread_create+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_func_search_save_LIBS=$LIBS
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_create ();
-int
-main ()
-{
-return pthread_create ();
- ;
- return 0;
-}
-_ACEOF
-for ac_lib in '' pthread c_r; do
- if test -z "$ac_lib"; then
- ac_res="none required"
- else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_search_pthread_create=$ac_res
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext
- if test "${ac_cv_search_pthread_create+set}" = set; then
- break
-fi
-done
-if test "${ac_cv_search_pthread_create+set}" = set; then
- :
-else
- ac_cv_search_pthread_create=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
-echo "${ECHO_T}$ac_cv_search_pthread_create" >&6; }
-ac_res=$ac_cv_search_pthread_create
-if test "$ac_res" != no; then
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-else
- { { echo "$as_me:$LINENO: error: ** POSIX.4 threads not installed or broken **" >&5
-echo "$as_me: error: ** POSIX.4 threads not installed or broken **" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
-echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; }
-if test "${ac_cv_search_clock_gettime+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_func_search_save_LIBS=$LIBS
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char clock_gettime ();
-int
-main ()
-{
-return clock_gettime ();
- ;
- return 0;
-}
-_ACEOF
-for ac_lib in '' rt; do
- if test -z "$ac_lib"; then
- ac_res="none required"
- else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_search_clock_gettime=$ac_res
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext
- if test "${ac_cv_search_clock_gettime+set}" = set; then
- break
-fi
-done
-if test "${ac_cv_search_clock_gettime+set}" = set; then
- :
-else
- ac_cv_search_clock_gettime=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
-echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; }
-ac_res=$ac_cv_search_clock_gettime
-if test "$ac_res" != no; then
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
-echo "------------------------------------------------------------------"
-echo "2. Section: Options for the configure script"
-echo "------------------------------------------------------------------"
-
-
-
-{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
-echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
-# Check whether --enable-debug was given.
-if test "${enable_debug+set}" = set; then
- enableval=$enable_debug;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- include_debug=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- include_debug=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-debug: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-debug: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-
-
-fi
-
-
-
-if test x$include_debug = xyes; then
- ECA_AM_DEBUG_MODE_TRUE=
- ECA_AM_DEBUG_MODE_FALSE='#'
-else
- ECA_AM_DEBUG_MODE_TRUE='#'
- ECA_AM_DEBUG_MODE_FALSE=
-fi
-
-if test x$include_debug = xyes; then
- EXTRADEBUGFLAGS="-Wall -O"
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_DEBUG_MODE 1
-_ACEOF
-
-else
- EXTRADEBUGFLAGS="-DNDEBUG"
-fi
-AM_CXXFLAGS="$AM_CXXFLAGS $EXTRADEBUGFLAGS"
-AM_CFLAGS="$AM_CFLAGS $EXTRADEBUGFLAGS"
-
-
-# Check whether --enable-experimental was given.
-if test "${enable_experimental+set}" = set; then
- enableval=$enable_experimental;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- experimental=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- experimental=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-experimental: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-experimental: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-if test x$experimental = xyes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_FEELING_EXPERIMENTAL 1
-_ACEOF
-
-fi
-
-
-if test x$experimental = xyes; then
- ECA_AM_FEELING_EXPERIMENTAL_TRUE=
- ECA_AM_FEELING_EXPERIMENTAL_FALSE='#'
-else
- ECA_AM_FEELING_EXPERIMENTAL_TRUE='#'
- ECA_AM_FEELING_EXPERIMENTAL_FALSE=
-fi
-
-
-
-
-if test "x${prefix}" = "xNONE"; then
- ecaprefix=${ac_default_prefix}
-else
- ecaprefix=${prefix}
-fi
-ECA_S_PREFIX=${ecaprefix}
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define ECA_PREFIX "${ecaprefix}"
-_ACEOF
-
-
-
-
-{ echo "$as_me:$LINENO: checking whether to check design-by-contract assertions" >&5
-echo $ECHO_N "checking whether to check design-by-contract assertions... $ECHO_C" >&6; }
-enable_dbc_d=yes
-# Check whether --enable-dbc was given.
-if test "${enable_dbc+set}" = set; then
- enableval=$enable_dbc;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- enable_dbc_d=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- enable_dbc_d=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-dbc: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-dbc: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-else
-
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-
-
-fi
-
-if test x$enable_dbc_d = xyes; then
-AM_CXXFLAGS="$AM_CXXFLAGS -DENABLE_DBC"
-AM_CFLAGS="$AM_CFLAGS -DENABLE_DBC"
-fi
-
-
-
-{ echo "$as_me:$LINENO: checking whether to enable effects" >&5
-echo $ECHO_N "checking whether to enable effects... $ECHO_C" >&6; }
-# Check whether --enable-effects was given.
-if test "${enable_effects+set}" = set; then
- enableval=$enable_effects;
- echo "Enableval: ${enableval}."
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- enable_effects_d=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- enable_effects_d=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-effects: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-effects: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-else
-
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- enable_effects_d=yes
-
-
-fi
-
-
-
-if test x$enable_effects_d = xno; then
- ECA_AM_DISABLE_EFFECTS_TRUE=
- ECA_AM_DISABLE_EFFECTS_FALSE='#'
-else
- ECA_AM_DISABLE_EFFECTS_TRUE='#'
- ECA_AM_DISABLE_EFFECTS_FALSE=
-fi
-
-if test x$enable_effects_d = xno; then
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_DISABLE_EFFECTS 1
-_ACEOF
-
-fi
-
-
-
-
-# Check whether --with-extra-cppflags was given.
-if test "${with_extra_cppflags+set}" = set; then
- withval=$with_extra_cppflags;
- ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${withval}"
-
-fi
-
-
-# Check whether --with-extra-libs was given.
-if test "${with_extra_libs+set}" = set; then
- withval=$with_extra_libs;
- ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${withval}"
-
-fi
-
-
-
-
-
- echo "checking for largefile support (>2GB files)..."
-
-
-# Check whether --with-largefile was given.
-if test "${with_largefile+set}" = set; then
- withval=$with_largefile;
-fi
-
-
- # Check whether --enable-largefile was given.
-if test "${enable_largefile+set}" = set; then
- enableval=$enable_largefile;
-fi
-
-if test "$enable_largefile" != no; then
-
- { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
-echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_largefile_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_sys_largefile_CC=no
- if test "$GCC" != yes; then
- ac_save_CC=$CC
- while :; do
- # IRIX 6.2 and later do not support large files by default,
- # so use the C compiler's -n32 option if that helps.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
- /* Check that off_t can represent 2**63 - 1 correctly.
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
- rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext
- CC="$CC -n32"
- rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_sys_largefile_CC=' -n32'; break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext
- break
- done
- CC=$ac_save_CC
- rm -f conftest.$ac_ext
- fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
-echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
- if test "$ac_cv_sys_largefile_CC" != no; then
- CC=$CC$ac_cv_sys_largefile_CC
- fi
-
- { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
-echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_file_offset_bits+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- while :; do
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
- /* Check that off_t can represent 2**63 - 1 correctly.
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_sys_file_offset_bits=no; break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#define _FILE_OFFSET_BITS 64
-#include
- /* Check that off_t can represent 2**63 - 1 correctly.
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_sys_file_offset_bits=64; break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cv_sys_file_offset_bits=unknown
- break
-done
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
-echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
-case $ac_cv_sys_file_offset_bits in #(
- no | unknown) ;;
- *)
-cat >>confdefs.h <<_ACEOF
-#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
-_ACEOF
-;;
-esac
-rm -f conftest*
- if test $ac_cv_sys_file_offset_bits = unknown; then
- { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
-echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_large_files+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- while :; do
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
- /* Check that off_t can represent 2**63 - 1 correctly.
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_sys_large_files=no; break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#define _LARGE_FILES 1
-#include
- /* Check that off_t can represent 2**63 - 1 correctly.
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
-#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_sys_large_files=1; break
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cv_sys_large_files=unknown
- break
-done
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
-echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
-case $ac_cv_sys_large_files in #(
- no | unknown) ;;
- *)
-cat >>confdefs.h <<_ACEOF
-#define _LARGE_FILES $ac_cv_sys_large_files
-_ACEOF
-;;
-esac
-rm -f conftest*
- fi
-fi
-
- if test x$ac_cv_sys_file_offset_bits = x64 ; then
- AM_CXXFLAGS="$AM_CXXFLAGS -D_FILE_OFFSET_BITS=64"
- AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64"
-
- enable_largefile=yes
- fi
-
-
-
-
-
-
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
-if test -z "$CXXCPP"; then
- if test "${ac_cv_prog_CXXCPP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Double quotes because CXXCPP needs to be expanded
- for CXXCPP in "$CXX -E" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- break
-fi
-
- done
- ac_cv_prog_CXXCPP=$CXXCPP
-
-fi
- CXXCPP=$ac_cv_prog_CXXCPP
-else
- ac_cv_prog_CXXCPP=$CXXCPP
-fi
-{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
-echo "${ECHO_T}$CXXCPP" >&6; }
-ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- :
-else
- { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Extract the first word of "grep ggrep" to use in msg output
-if test -z "$GREP"; then
-set dummy grep ggrep; ac_prog_name=$2
-if test "${ac_cv_path_GREP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_path_GREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in grep ggrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
- # Check for GNU ac_path_GREP and select it if it is found.
- # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
- ac_count=0
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- echo 'GREP' >> "conftest.nl"
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- ac_count=`expr $ac_count + 1`
- if test $ac_count -gt ${ac_path_GREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_GREP="$ac_path_GREP"
- ac_path_GREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-
- $ac_path_GREP_found && break 3
- done
-done
-
-done
-IFS=$as_save_IFS
-
-
-fi
-
-GREP="$ac_cv_path_GREP"
-if test -z "$GREP"; then
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-else
- ac_cv_path_GREP=$GREP
-fi
-
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ echo "$as_me:$LINENO: checking for egrep" >&5
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- then ac_cv_path_EGREP="$GREP -E"
- else
- # Extract the first word of "egrep" to use in msg output
-if test -z "$EGREP"; then
-set dummy egrep; ac_prog_name=$2
-if test "${ac_cv_path_EGREP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_path_EGREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in egrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
- # Check for GNU ac_path_EGREP and select it if it is found.
- # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
- ac_count=0
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- echo 'EGREP' >> "conftest.nl"
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- ac_count=`expr $ac_count + 1`
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_EGREP="$ac_path_EGREP"
- ac_path_EGREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-
- $ac_path_EGREP_found && break 3
- done
-done
-
-done
-IFS=$as_save_IFS
-
-
-fi
-
-EGREP="$ac_cv_path_EGREP"
-if test -z "$EGREP"; then
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-else
- ac_cv_path_EGREP=$EGREP
-fi
-
-
- fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-#include
-#include
-#include
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_header_stdc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_header_stdc=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then
- :
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then
- :
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- if test "$cross_compiling" = yes; then
- :
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-#include
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
- (('a' <= (c) && (c) <= 'i') \
- || ('j' <= (c) && (c) <= 'r') \
- || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
- int i;
- for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i))
- || toupper (i) != TOUPPER (i))
- return 2;
- return 0;
-}
-_ACEOF
-rm -f conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- :
-else
- echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
-fi
-
-
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define STDC_HEADERS 1
-_ACEOF
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-
-
-
-
-
-
-
-
-
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- inttypes.h stdint.h unistd.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- eval "$as_ac_Header=yes"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- eval "$as_ac_Header=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
- { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
-echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
-echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
-else
- # Is the header compilable?
-{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
-echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-#include
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
-echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
- yes:no: )
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
-
- ;;
-esac
-{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
-echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_header_sys_soundcard_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
-echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
-
-fi
-if test $ac_cv_header_sys_soundcard_h = yes; then
- oss_support=yes
-else
- oss_support=no
-fi
-
-
-# Check whether --enable-oss was given.
-if test "${enable_oss+set}" = set; then
- enableval=$enable_oss;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- oss_support=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- oss_support=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-oss: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-oss: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-
-
-if test x$oss_support = xyes; then
- ECA_AM_COMPILE_OSS_TRUE=
- ECA_AM_COMPILE_OSS_FALSE='#'
-else
- ECA_AM_COMPILE_OSS_TRUE='#'
- ECA_AM_COMPILE_OSS_FALSE=
-fi
-
-if test x$oss_support = xyes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_COMPILE_OSS 1
-_ACEOF
-
-fi
-
-# Check whether --enable-osstrigger was given.
-if test "${enable_osstrigger+set}" = set; then
- enableval=$enable_osstrigger;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- osstrigger=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- osstrigger=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-osstrigger: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-osstrigger: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-if test x$osstrigger = xyes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_DISABLE_OSS_TRIGGER 1
-_ACEOF
-
-fi
-
-
-# Extract the first word of "artsc-config", so it can be a program name with args.
-set dummy artsc-config; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_ARTSC_CONFIG+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $ARTSC_CONFIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_ARTSC_CONFIG="$ARTSC_CONFIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_ARTSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_ARTSC_CONFIG" && ac_cv_path_ARTSC_CONFIG="none"
- ;;
-esac
-fi
-ARTSC_CONFIG=$ac_cv_path_ARTSC_CONFIG
-if test -n "$ARTSC_CONFIG"; then
- { echo "$as_me:$LINENO: result: $ARTSC_CONFIG" >&5
-echo "${ECHO_T}$ARTSC_CONFIG" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-if test x$ARTSC_CONFIG = xnone; then
- arts_support=no
-else
- arts_support=yes
- ECA_ARTSC_CFLAGS="`$ARTSC_CONFIG --cflags`"
- ECA_ARTSC_LIBS="`$ARTSC_CONFIG --libs`"
-fi
-
-if test x$arts_support = xyes; then
- old_LIBS=$LIBS
- LIBS="$LIBS $ECA_ARTSC_LIBS"
- old_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS $ECA_ARTSC_CFLAGS"
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
- #include
-int
-main ()
-{
-
- arts_init();
- return 0;
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- /bin/true
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- arts_support=no
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- LIBS=${old_LIBS}
- CFLAGS=${old_CFLAGS}
-fi
-
-# Check whether --enable-arts was given.
-if test "${enable_arts+set}" = set; then
- enableval=$enable_arts;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- arts_support=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- arts_support=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-arts: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-arts: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-
-
-if test x$arts_support = xyes; then
- ECA_AM_COMPILE_ARTS_TRUE=
- ECA_AM_COMPILE_ARTS_FALSE='#'
-else
- ECA_AM_COMPILE_ARTS_TRUE='#'
- ECA_AM_COMPILE_ARTS_FALSE=
-fi
-
-if test x$arts_support = xyes; then
- ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${ECA_ARTSC_CFLAGS}"
- ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${ECA_ARTSC_LIBS}"
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_COMPILE_ARTS 1
-_ACEOF
-
-fi
-
-
-if test "${ac_cv_header_samplerate_h+set}" = set; then
- { echo "$as_me:$LINENO: checking for samplerate.h" >&5
-echo $ECHO_N "checking for samplerate.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_samplerate_h+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_samplerate_h" >&5
-echo "${ECHO_T}$ac_cv_header_samplerate_h" >&6; }
-else
- # Is the header compilable?
-{ echo "$as_me:$LINENO: checking samplerate.h usability" >&5
-echo $ECHO_N "checking samplerate.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-#include
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking samplerate.h presence" >&5
-echo $ECHO_N "checking samplerate.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
- yes:no: )
- { echo "$as_me:$LINENO: WARNING: samplerate.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: samplerate.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: samplerate.h: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { echo "$as_me:$LINENO: WARNING: samplerate.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: samplerate.h: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: samplerate.h: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: samplerate.h: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: samplerate.h: section \"Present But Cannot Be Compiled\"" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: samplerate.h: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: samplerate.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: samplerate.h: in the future, the compiler will take precedence" >&2;}
-
- ;;
-esac
-{ echo "$as_me:$LINENO: checking for samplerate.h" >&5
-echo $ECHO_N "checking for samplerate.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_samplerate_h+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_header_samplerate_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_samplerate_h" >&5
-echo "${ECHO_T}$ac_cv_header_samplerate_h" >&6; }
-
-fi
-if test $ac_cv_header_samplerate_h = yes; then
- samplerate_support=yes
-else
- samplerate_support=no
-fi
-
-
-
-# Check whether --with-libsamplerate was given.
-if test "${with_libsamplerate+set}" = set; then
- withval=$with_libsamplerate;
- ECA_SAMPLERATE_LIBS="-L${withval}/lib"
- ECA_SAMPLERATE_INCLUDES="-I${withval}/include"
- samplerate_support=yes
-
-fi
-
-# Check whether --enable-libsamplerate was given.
-if test "${enable_libsamplerate+set}" = set; then
- enableval=$enable_libsamplerate;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- samplerate_support=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- samplerate_support=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-samplerate: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-samplerate: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-
-
-if test x$samplerate_support = xyes; then
- ECA_AM_COMPILE_SAMPLERATE_TRUE=
- ECA_AM_COMPILE_SAMPLERATE_FALSE='#'
-else
- ECA_AM_COMPILE_SAMPLERATE_TRUE='#'
- ECA_AM_COMPILE_SAMPLERATE_FALSE=
-fi
-
-
-if test x$samplerate_support = xyes; then
- ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${ECA_SAMPLERATE_INCLUDES}"
- ECA_SAMPLERATE_LIBS="${ECA_SAMPLERATE_LIBS} -lsamplerate"
- ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${ECA_SAMPLERATE_LIBS}"
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_COMPILE_SAMPLERATE 1
-_ACEOF
-
-fi
-
-
-
-pyecasound_support=${eca_platform_python_impl}
-
-# Check whether --enable-pyecasound was given.
-if test "${enable_pyecasound+set}" = set; then
- enableval=$enable_pyecasound;
- case "$enableval" in
- y | yes)
- pyecasound_support=c
- ;;
-
- n | no | none)
- pyecasound_support=none
- ;;
-
- python)
- pyecasound_support=python
- ;;
-
- c)
- pyecasound_support=c
- ;;
-
- *)
- pyecasound_support=python
- ;;
- esac
-
-fi
-
-
-
-# Extract the first word of "python", so it can be a program name with args.
-set dummy python; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_PYTHONPATH+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $PYTHONPATH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PYTHONPATH="$PYTHONPATH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_PYTHONPATH="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_PYTHONPATH" && ac_cv_path_PYTHONPATH="none"
- ;;
-esac
-fi
-PYTHONPATH=$ac_cv_path_PYTHONPATH
-if test -n "$PYTHONPATH"; then
- { echo "$as_me:$LINENO: result: $PYTHONPATH" >&5
-echo "${ECHO_T}$PYTHONPATH" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-if test x$PYTHONPATH = xnone; then
- pyecasound_support=none
- python_install_prefix=""
-else
- python_install_prefix=`python -c "import sys; print (sys.prefix)"`
-fi
-
-
-ECA_S_PYTHON_INCLUDES=
-{ echo "$as_me:$LINENO: checking for Python include files" >&5
-echo $ECHO_N "checking for Python include files... $ECHO_C" >&6; }
-
-
-# Check whether --with-python-includes was given.
-if test "${with_python_includes+set}" = set; then
- withval=$with_python_includes;
-fi
-
-if test ! "X$with_python_includes" = "X"
-then
- python_incdirs=$with_python_includes
-else
- python_incdirs="/usr/local/include /usr/include"
- python_incdirsmore=`python -c "import sys; print (sys.prefix + '/include/python' + sys.version[:3])"`
- python_incdirs="$python_incdirs $python_incdirsmore"
-fi
-
-for d in $python_incdirs
-do
- if test -r $d/Python.h
- then
- ECA_S_PYTHON_INCLUDES=$d
- break
- fi
-done
-
-
-if test "X$ECA_S_PYTHON_INCLUDES" = "X"
-then
- { echo "$as_me:$LINENO: WARNING: Python.h not found" >&5
-echo "$as_me: WARNING: Python.h not found" >&2;}
- if test x${pyecasound_support} = xc; then
- pyecasound_support=python
- fi
-else
- { echo "$as_me:$LINENO: result: $ECA_S_PYTHON_INCLUDES" >&5
-echo "${ECHO_T}$ECA_S_PYTHON_INCLUDES" >&6; }
-fi
-
-
-{ echo "$as_me:$LINENO: checking for Python libraries" >&5
-echo $ECHO_N "checking for Python libraries... $ECHO_C" >&6; }
-
-# Check whether --with-python-modules was given.
-if test "${with_python_modules+set}" = set; then
- withval=$with_python_modules;
-fi
-
-
-if test "X$with_python_modules" = "X"
-then
- if test x${python_install_prefix} != x${ecaprefix} -a \
- x${ecaprefix} != x/usr -a \
- x${ecaprefix} != x/usr/local ; then
- pyecasound_support=none
- { echo "$as_me:$LINENO: result: none" >&5
-echo "${ECHO_T}none" >&6; }
- if test x$PYTHONPATH != xnone; then
- python_prefix_tmp=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
- else
- python_prefix_tmp="DIR"
- fi
- { echo "$as_me:$LINENO: WARNING:
- ***
- *** Python modules won't be installed as the module install prefix does
- *** not match ecasound's build prefix! To override, set python
- *** module directory explicitly (for example
- *** \"--with-python-modules=${python_prefix_tmp}\").
- ***
- " >&5
-echo "$as_me: WARNING:
- ***
- *** Python modules won't be installed as the module install prefix does
- *** not match ecasound's build prefix! To override, set python
- *** module directory explicitly (for example
- *** \"--with-python-modules=${python_prefix_tmp}\").
- ***
- " >&2;}
- else
- pymoddirs="/usr/local/lib /usr/lib"
- pymoddirsmore=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
- pymoddirs="$pymoddirs $pymoddirsmore"
- { echo "$as_me:$LINENO: result: $pymoddirs" >&5
-echo "${ECHO_T}$pymoddirs" >&6; }
- fi
-else
- pymoddirs=$with_python_modules
- { echo "$as_me:$LINENO: result: $pymoddirs" >&5
-echo "${ECHO_T}$pymoddirs" >&6; }
-fi
-
-
-# Check whether --enable-python-force-site-packages was given.
-if test "${enable_python_force_site_packages+set}" = set; then
- enableval=$enable_python_force_site_packages;
- case "$enableval" in
- y | yes)
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- python_force_site_packages=yes
- ;;
-
- n | no)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- python_force_site_packages=no
- ;;
-
- *)
- { { echo "$as_me:$LINENO: error: Invalid parameter value for --enable-python-force-site-packages: $enableval" >&5
-echo "$as_me: error: Invalid parameter value for --enable-python-force-site-packages: $enableval" >&2;}
- { (exit 1); exit 1; }; }
- ;;
- esac
-
-fi
-
-
-
-ECA_S_PYTHON_MODULES=NO
-for i in $pymoddirs;
-do
- for j in lib-dynload;
- do
- if test -r "$i/$j"; then
- ECA_S_PYTHON_MODULES=$i
- break 2
- fi
- done
-done
-
-if test -d $ECA_S_PYTHON_MODULES/site-packages -o "X$python_force_site_packages" = "Xyes"
-then
- ECA_S_PYTHON_MODULES=$ECA_S_PYTHON_MODULES/site-packages
- ECA_S_PYTHON_DLMODULES=$ECA_S_PYTHON_MODULES
-else
- ECA_S_PYTHON_DLMODULES=$ECA_S_PYTHON_MODULES/lib-dynload
-fi
-
-
-
-
-
-if test x$pyecasound_support = xc; then
- ECA_AM_PYECASOUND_CEXT_TRUE=
- ECA_AM_PYECASOUND_CEXT_FALSE='#'
-else
- ECA_AM_PYECASOUND_CEXT_TRUE='#'
- ECA_AM_PYECASOUND_CEXT_FALSE=
-fi
-
-
-
-if test x$pyecasound_support != xnone; then
- ECA_AM_PYECASOUND_INSTALL_TRUE=
- ECA_AM_PYECASOUND_INSTALL_FALSE='#'
-else
- ECA_AM_PYECASOUND_INSTALL_TRUE='#'
- ECA_AM_PYECASOUND_INSTALL_FALSE=
-fi
-
-
-
-
-rubyecasound_support=yes
-
-# Check whether --enable-rubyecasound was given.
-if test "${enable_rubyecasound+set}" = set; then
- enableval=$enable_rubyecasound;
- case "$enableval" in
- y | yes)
- rubyecasound_support=yes
- ;;
-
- n | no | none)
- rubyecasound_support=no
- ;;
-
- *)
- rubyecasound_support=no
- ;;
- esac
-
-fi
-
-
-
-# Extract the first word of "ruby", so it can be a program name with args.
-set dummy ruby; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_RUBYPATH+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $RUBYPATH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_RUBYPATH="$RUBYPATH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_RUBYPATH="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_RUBYPATH" && ac_cv_path_RUBYPATH="none"
- ;;
-esac
-fi
-RUBYPATH=$ac_cv_path_RUBYPATH
-if test -n "$RUBYPATH"; then
- { echo "$as_me:$LINENO: result: $RUBYPATH" >&5
-echo "${ECHO_T}$RUBYPATH" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-if test x$RUBYPATH = xnone; then
- rubyecasound_support=no
- ECA_S_RUBY_SITEDIR=""
-else
- ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include Config; print CONFIG["sitedir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`"
-fi
-
-
-
-
-if test x$rubyecasound_support = xyes; then
- ECA_AM_RUBYECASOUND_INSTALL_TRUE=
- ECA_AM_RUBYECASOUND_INSTALL_FALSE='#'
-else
- ECA_AM_RUBYECASOUND_INSTALL_TRUE='#'
- ECA_AM_RUBYECASOUND_INSTALL_FALSE=
-fi
-
-
-
-echo "------------------------------------------------------------------"
-echo "3. Section: Programs "
-echo "------------------------------------------------------------------"
-
-
-
-{ echo "$as_me:$LINENO: checking if C++ compiler supports namespaces" >&5
-echo $ECHO_N "checking if C++ compiler supports namespaces... $ECHO_C" >&6; }
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-old_cxx_flags=$CXXFLAGS
-CXXFLAGS="-fno-exceptions $CXXFLAGS" # hack around gcc3.x feature
-if test "$cross_compiling" = yes; then
-
- { echo "$as_me:$LINENO: result: no." >&5
-echo "${ECHO_T}no." >&6; }
-
-
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-#include
-#include
-
-using std::string;
-
-int main(void)
-{
- string s ("foo");
- std::vector v;
- return(0);
-}
-
-_ACEOF
-rm -f conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-
- { echo "$as_me:$LINENO: result: yes." >&5
-echo "${ECHO_T}yes." >&6; }
-
-cat >>confdefs.h <<\_ACEOF
-#define ECA_USE_CXX_STD_NAMESPACE 1
-_ACEOF
-
-
-else
- echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-
- { echo "$as_me:$LINENO: result: no." >&5
-echo "${ECHO_T}no." >&6; }
- { echo "$as_me:$LINENO: WARNING: C++ compiler has problems with namespaces. Build process can fail because of this." >&5
-echo "$as_me: WARNING: C++ compiler has problems with namespaces. Build process can fail because of this." >&2;}
-
-
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
-fi
-
-
-CXXFLAGS=$old_cxx_flags
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-# Check whether --enable-shared was given.
-if test "${enable_shared+set}" = set; then
- enableval=$enable_shared; p=${PACKAGE-default}
- case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- enable_shared=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_shared=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac
-else
- enable_shared=yes
-fi
-
-
-# Check whether --enable-static was given.
-if test "${enable_static+set}" = set; then
- enableval=$enable_static; p=${PACKAGE-default}
- case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- enable_static=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_static=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac
-else
- enable_static=yes
-fi
-
-
-# Check whether --enable-fast-install was given.
-if test "${enable_fast_install+set}" = set; then
- enableval=$enable_fast_install; p=${PACKAGE-default}
- case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- enable_fast_install=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_fast_install=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac
-else
- enable_fast_install=yes
-fi
-
-
-{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
-echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
-if test "${lt_cv_path_SED+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Loop through the user's path and test for sed and gsed.
-# Then use that list of sed's as ones to test for truncation.
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for lt_ac_prog in sed gsed; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
- lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
- fi
- done
- done
-done
-IFS=$as_save_IFS
-lt_ac_max=0
-lt_ac_count=0
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
-# along with /bin/sed that truncates output.
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
- test ! -f $lt_ac_sed && continue
- cat /dev/null > conftest.in
- lt_ac_count=0
- echo $ECHO_N "0123456789$ECHO_C" >conftest.in
- # Check for GNU sed and select it if it is found.
- if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
- lt_cv_path_SED=$lt_ac_sed
- break
- fi
- while true; do
- cat conftest.in conftest.in >conftest.tmp
- mv conftest.tmp conftest.in
- cp conftest.in conftest.nl
- echo >>conftest.nl
- $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
- cmp -s conftest.out conftest.nl || break
- # 10000 chars as input seems more than enough
- test $lt_ac_count -gt 10 && break
- lt_ac_count=`expr $lt_ac_count + 1`
- if test $lt_ac_count -gt $lt_ac_max; then
- lt_ac_max=$lt_ac_count
- lt_cv_path_SED=$lt_ac_sed
- fi
- done
-done
-
-fi
-
-SED=$lt_cv_path_SED
-
-{ echo "$as_me:$LINENO: result: $SED" >&5
-echo "${ECHO_T}$SED" >&6; }
-
-
-# Check whether --with-gnu-ld was given.
-if test "${with_gnu_ld+set}" = set; then
- withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
-else
- with_gnu_ld=no
-fi
-
-ac_prog=ld
-if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
- case $host in
- *-*-mingw*)
- # gcc leaves a trailing carriage return which upsets mingw
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- *)
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- esac
- case $ac_prog in
- # Accept absolute paths.
- [\\/]* | ?:[\\/]*)
- re_direlt='/[^/][^/]*/\.\./'
- # Canonicalize the pathname of ld
- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
- done
- test -z "$LD" && LD="$ac_prog"
- ;;
- "")
- # If it fails, then pretend we aren't using GCC.
- ac_prog=ld
- ;;
- *)
- # If it is relative, then search for the first ld in PATH.
- with_gnu_ld=unknown
- ;;
- esac
-elif test "$with_gnu_ld" = yes; then
- { echo "$as_me:$LINENO: checking for GNU ld" >&5
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
-else
- { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
-fi
-if test "${lt_cv_path_LD+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$LD"; then
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some variants of GNU ld only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- case `"$lt_cv_path_LD" -v 2>&1 &5
-echo "${ECHO_T}$LD" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # I'd rather use --version here, but apparently some GNU lds only accept -v.
-case `$LD -v 2>&1 &5
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
-with_gnu_ld=$lt_cv_prog_gnu_ld
-
-
-{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
-if test "${lt_cv_ld_reload_flag+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_ld_reload_flag='-r'
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
-reload_flag=$lt_cv_ld_reload_flag
-case $reload_flag in
-"" | " "*) ;;
-*) reload_flag=" $reload_flag" ;;
-esac
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
-case $host_os in
- darwin*)
- if test "$GCC" = yes; then
- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
- else
- reload_cmds='$LD$reload_flag -o $output$reload_objs'
- fi
- ;;
-esac
-
-{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
-if test "${lt_cv_path_NM+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$NM"; then
- # Let the user override the test.
- lt_cv_path_NM="$NM"
-else
- lt_nm_to_check="${ac_tool_prefix}nm"
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
- lt_nm_to_check="$lt_nm_to_check nm"
- fi
- for lt_tmp_nm in $lt_nm_to_check; do
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- tmp_nm="$ac_dir/$lt_tmp_nm"
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- # Tru64's nm complains that /dev/null is an invalid object file
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
- */dev/null* | *'Invalid file or object type'*)
- lt_cv_path_NM="$tmp_nm -B"
- break
- ;;
- *)
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
- */dev/null*)
- lt_cv_path_NM="$tmp_nm -p"
- break
- ;;
- *)
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- ;;
- esac
- ;;
- esac
- fi
- done
- IFS="$lt_save_ifs"
- done
- test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
-fi
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
-echo "${ECHO_T}$lt_cv_path_NM" >&6; }
-NM="$lt_cv_path_NM"
-
-{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
-LN_S=$as_ln_s
-if test "$LN_S" = "ln -s"; then
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-else
- { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
-echo "${ECHO_T}no, using $LN_S" >&6; }
-fi
-
-{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
-echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
-if test "${lt_cv_deplibs_check_method+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_file_magic_cmd='$MAGIC_CMD'
-lt_cv_file_magic_test_file=
-lt_cv_deplibs_check_method='unknown'
-# Need to set the preceding variable on all platforms that support
-# interlibrary dependencies.
-# 'none' -- dependencies not supported.
-# `unknown' -- same as none, but documents that we really don't know.
-# 'pass_all' -- all dependencies passed with no checks.
-# 'test_compile' -- check by making test program.
-# 'file_magic [[regex]]' -- check by looking for files in library path
-# which responds to the $file_magic_cmd with a given extended regex.
-# If you have `file' or equivalent on your system and you're not sure
-# whether `pass_all' will *always* work, you probably want this one.
-
-case $host_os in
-aix[4-9]*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-beos*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-bsdi[45]*)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
- lt_cv_file_magic_cmd='/usr/bin/file -L'
- lt_cv_file_magic_test_file=/shlib/libc.so
- ;;
-
-cygwin*)
- # func_win32_libid is a shell function defined in ltmain.sh
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
- lt_cv_file_magic_cmd='func_win32_libid'
- ;;
-
-mingw* | pw32*)
- # Base MSYS/MinGW do not provide the 'file' command needed by
- # func_win32_libid shell function, so use a weaker test based on 'objdump',
- # unless we find 'file', for example because we are cross-compiling.
- if ( file / ) >/dev/null 2>&1; then
- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
- lt_cv_file_magic_cmd='func_win32_libid'
- else
- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- lt_cv_file_magic_cmd='$OBJDUMP -f'
- fi
- ;;
-
-darwin* | rhapsody*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-freebsd* | dragonfly*)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case $host_cpu in
- i*86 )
- # Not sure whether the presence of OpenBSD here was a mistake.
- # Let's accept both of them until this is cleared up.
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
- ;;
-
-gnu*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-hpux10.20* | hpux11*)
- lt_cv_file_magic_cmd=/usr/bin/file
- case $host_cpu in
- ia64*)
- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
- ;;
- hppa*64*)
- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
- ;;
- *)
- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
- lt_cv_file_magic_test_file=/usr/lib/libc.sl
- ;;
- esac
- ;;
-
-interix[3-9]*)
- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
- ;;
-
-irix5* | irix6* | nonstopux*)
- case $LD in
- *-32|*"-32 ") libmagic=32-bit;;
- *-n32|*"-n32 ") libmagic=N32;;
- *-64|*"-64 ") libmagic=64-bit;;
- *) libmagic=never-match;;
- esac
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
- else
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
- fi
- ;;
-
-newos6*)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=/usr/lib/libnls.so
- ;;
-
-nto-qnx*)
- lt_cv_deplibs_check_method=unknown
- ;;
-
-openbsd*)
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
- else
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
- fi
- ;;
-
-osf3* | osf4* | osf5*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-rdos*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-solaris*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
-sysv4 | sysv4.3*)
- case $host_vendor in
- motorola)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- ;;
- ncr)
- lt_cv_deplibs_check_method=pass_all
- ;;
- sequent)
- lt_cv_file_magic_cmd='/bin/file'
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
- ;;
- sni)
- lt_cv_file_magic_cmd='/bin/file'
- lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
- lt_cv_file_magic_test_file=/lib/libc.so
- ;;
- siemens)
- lt_cv_deplibs_check_method=pass_all
- ;;
- pc)
- lt_cv_deplibs_check_method=pass_all
- ;;
- esac
- ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-esac
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
-file_magic_cmd=$lt_cv_file_magic_cmd
-deplibs_check_method=$lt_cv_deplibs_check_method
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
-
-
-
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-
-# Check whether --enable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then
- enableval=$enable_libtool_lock;
-fi
-
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-ia64-*-hpux*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- case `/usr/bin/file conftest.$ac_objext` in
- *ELF-32*)
- HPUX_IA64_MODE="32"
- ;;
- *ELF-64*)
- HPUX_IA64_MODE="64"
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-*-*-irix6*)
- # Find out which ABI we are using.
- echo '#line 7482 "configure"' > conftest.$ac_ext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if test "$lt_cv_prog_gnu_ld" = yes; then
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -melf32bsmip"
- ;;
- *N32*)
- LD="${LD-ld} -melf32bmipn32"
- ;;
- *64-bit*)
- LD="${LD-ld} -melf64bmip"
- ;;
- esac
- else
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- *N32*)
- LD="${LD-ld} -n32"
- ;;
- *64-bit*)
- LD="${LD-ld} -64"
- ;;
- esac
- fi
- fi
- rm -rf conftest*
- ;;
-
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-s390*-*linux*|sparc*-*linux*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- case `/usr/bin/file conftest.o` in
- *32-bit*)
- case $host in
- x86_64-*kfreebsd*-gnu)
- LD="${LD-ld} -m elf_i386_fbsd"
- ;;
- x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
- ;;
- ppc64-*linux*|powerpc64-*linux*)
- LD="${LD-ld} -m elf32ppclinux"
- ;;
- s390x-*linux*)
- LD="${LD-ld} -m elf_s390"
- ;;
- sparc64-*linux*)
- LD="${LD-ld} -m elf32_sparc"
- ;;
- esac
- ;;
- *64-bit*)
- case $host in
- x86_64-*kfreebsd*-gnu)
- LD="${LD-ld} -m elf_x86_64_fbsd"
- ;;
- x86_64-*linux*)
- LD="${LD-ld} -m elf_x86_64"
- ;;
- ppc*-*linux*|powerpc*-*linux*)
- LD="${LD-ld} -m elf64ppc"
- ;;
- s390*-*linux*)
- LD="${LD-ld} -m elf64_s390"
- ;;
- sparc*-*linux*)
- LD="${LD-ld} -m elf64_sparc"
- ;;
- esac
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
-*-*-sco3.2v5*)
- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- SAVE_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -belf"
- { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
-if test "${lt_cv_cc_needs_belf+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- lt_cv_cc_needs_belf=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- lt_cv_cc_needs_belf=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- CFLAGS="$SAVE_CFLAGS"
- fi
- ;;
-sparc*-*solaris*)
- # Find out which ABI we are using.
- echo 'int i;' > conftest.$ac_ext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- case `/usr/bin/file conftest.o` in
- *64-bit*)
- case $lt_cv_prog_gnu_ld in
- yes*) LD="${LD-ld} -m elf64_sparc" ;;
- *)
- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
- LD="${LD-ld} -64"
- fi
- ;;
- esac
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
-
-esac
-
-need_locks="$enable_libtool_lock"
-
-
-
-
-for ac_header in dlfcn.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
- # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
- yes:no: )
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-
- ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
- (test "X$CXX" != "Xg++"))) ; then
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
-if test -z "$CXXCPP"; then
- if test "${ac_cv_prog_CXXCPP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Double quotes because CXXCPP needs to be expanded
- for CXXCPP in "$CXX -E" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- break
-fi
-
- done
- ac_cv_prog_CXXCPP=$CXXCPP
-
-fi
- CXXCPP=$ac_cv_prog_CXXCPP
-else
- ac_cv_prog_CXXCPP=$CXXCPP
-fi
-{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
-echo "${ECHO_T}$CXXCPP" >&6; }
-ac_preproc_ok=false
-for ac_cxx_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- :
-else
- { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-fi
-
-ac_ext=f
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_F77+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$F77"; then
- ac_cv_prog_F77="$F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-F77=$ac_cv_prog_F77
-if test -n "$F77"; then
- { echo "$as_me:$LINENO: result: $F77" >&5
-echo "${ECHO_T}$F77" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$F77" && break
- done
-fi
-if test -z "$F77"; then
- ac_ct_F77=$F77
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_F77"; then
- ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_F77="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_F77=$ac_cv_prog_ac_ct_F77
-if test -n "$ac_ct_F77"; then
- { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
-echo "${ECHO_T}$ac_ct_F77" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_F77" && break
-done
-
- if test "x$ac_ct_F77" = x; then
- F77=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- F77=$ac_ct_F77
- fi
-fi
-
-
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler --version >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -v >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -V >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-rm -f a.out
-
-# If we don't use `.F' as extension, the preprocessor is not run on the
-# input file. (Note that this only needs to work for GNU compilers.)
-ac_save_ext=$ac_ext
-ac_ext=F
-{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
-if test "${ac_cv_f77_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
- program main
-#ifndef __GNUC__
- choke me
-#endif
-
- end
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_f77_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_compiler_gnu=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_compiler_gnu=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
-ac_ext=$ac_save_ext
-ac_test_FFLAGS=${FFLAGS+set}
-ac_save_FFLAGS=$FFLAGS
-FFLAGS=
-{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
-echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_f77_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- FFLAGS=-g
-cat >conftest.$ac_ext <<_ACEOF
- program main
-
- end
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_f77_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_f77_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_prog_f77_g=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
-echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
-if test "$ac_test_FFLAGS" = set; then
- FFLAGS=$ac_save_FFLAGS
-elif test $ac_cv_prog_f77_g = yes; then
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-g -O2"
- else
- FFLAGS="-g"
- fi
-else
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-O2"
- else
- FFLAGS=
- fi
-fi
-
-G77=`test $ac_compiler_gnu = yes && echo yes`
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
-# find the maximum length of command line arguments
-{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
-echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- i=0
- teststring="ABCD"
-
- case $build_os in
- msdosdjgpp*)
- # On DJGPP, this test can blow up pretty badly due to problems in libc
- # (any single argument exceeding 2000 bytes causes a buffer overrun
- # during glob expansion). Even if it were fixed, the result of this
- # check would be larger than it should be.
- lt_cv_sys_max_cmd_len=12288; # 12K is about right
- ;;
-
- gnu*)
- # Under GNU Hurd, this test is not required because there is
- # no limit to the length of command line arguments.
- # Libtool will interpret -1 as no limit whatsoever
- lt_cv_sys_max_cmd_len=-1;
- ;;
-
- cygwin* | mingw*)
- # On Win9x/ME, this test blows up -- it succeeds, but takes
- # about 5 minutes as the teststring grows exponentially.
- # Worse, since 9x/ME are not pre-emptively multitasking,
- # you end up with a "frozen" computer, even though with patience
- # the test eventually succeeds (with a max line length of 256k).
- # Instead, let's just punt: use the minimum linelength reported by
- # all of the supported platforms: 8192 (on NT/2K/XP).
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
- amigaos*)
- # On AmigaOS with pdksh, this test takes hours, literally.
- # So we just punt and use a minimum line length of 8192.
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
- # This has been around since 386BSD, at least. Likely further.
- if test -x /sbin/sysctl; then
- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
- elif test -x /usr/sbin/sysctl; then
- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
- else
- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
- fi
- # And add a safety zone
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
- ;;
-
- interix*)
- # We know the value 262144 and hardcode it with a safety zone (like BSD)
- lt_cv_sys_max_cmd_len=196608
- ;;
-
- osf*)
- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
- # nice to cause kernel panics so lets avoid the loop below.
- # First set a reasonable default.
- lt_cv_sys_max_cmd_len=16384
- #
- if test -x /sbin/sysconfig; then
- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
- *1*) lt_cv_sys_max_cmd_len=-1 ;;
- esac
- fi
- ;;
- sco3.2v5*)
- lt_cv_sys_max_cmd_len=102400
- ;;
- sysv5* | sco5v6* | sysv4.2uw2*)
- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
- if test -n "$kargmax"; then
- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
- else
- lt_cv_sys_max_cmd_len=32768
- fi
- ;;
- *)
- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
- if test -n "$lt_cv_sys_max_cmd_len"; then
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
- else
- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
- while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
- = "XX$teststring") >/dev/null 2>&1 &&
- new_result=`expr "X$teststring" : ".*" 2>&1` &&
- lt_cv_sys_max_cmd_len=$new_result &&
- test $i != 17 # 1/2 MB should be enough
- do
- i=`expr $i + 1`
- teststring=$teststring$teststring
- done
- teststring=
- # Add a significant safety factor because C++ compilers can tack on massive
- # amounts of additional arguments before passing them to the linker.
- # It appears as though 1/2 is a usable value.
- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
- fi
- ;;
- esac
-
-fi
-
-if test -n $lt_cv_sys_max_cmd_len ; then
- { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
-echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
-else
- { echo "$as_me:$LINENO: result: none" >&5
-echo "${ECHO_T}none" >&6; }
-fi
-
-
-
-
-
-# Check for command to grab the raw symbol name followed by C symbol from nm.
-{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
-echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-# These are sane defaults that work on at least a few old systems.
-# [They come from Ultrix. What could be older than Ultrix?!! ;)]
-
-# Character class describing NM global symbol codes.
-symcode='[BCDEGRST]'
-
-# Regexp to match symbols that can be accessed directly from C.
-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
-
-# Transform an extracted symbol line into a proper C declaration
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
-
-# Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
-
-# Define system-specific variables.
-case $host_os in
-aix*)
- symcode='[BCDT]'
- ;;
-cygwin* | mingw* | pw32*)
- symcode='[ABCDGISTW]'
- ;;
-hpux*) # Its linker distinguishes data from code symbols
- if test "$host_cpu" = ia64; then
- symcode='[ABCDEGRST]'
- fi
- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- ;;
-linux* | k*bsd*-gnu)
- if test "$host_cpu" = ia64; then
- symcode='[ABCDGIRSTW]'
- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- fi
- ;;
-irix* | nonstopux*)
- symcode='[BCDEGRST]'
- ;;
-osf*)
- symcode='[BCDEGQRST]'
- ;;
-solaris*)
- symcode='[BDRT]'
- ;;
-sco3.2v5*)
- symcode='[DT]'
- ;;
-sysv4.2uw2*)
- symcode='[DT]'
- ;;
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
- symcode='[ABDT]'
- ;;
-sysv4)
- symcode='[DFNSTU]'
- ;;
-esac
-
-# Handle CRLF in mingw tool chain
-opt_cr=
-case $build_os in
-mingw*)
- opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
- symcode='[ABCDGIRSTW]' ;;
-esac
-
-# Try without a prefix undercore, then with it.
-for ac_symprfx in "" "_"; do
-
- # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
- symxfrm="\\1 $ac_symprfx\\2 \\2"
-
- # Write the raw and C identifiers.
- lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
-
- # Check to see that the pipe works correctly.
- pipe_works=no
-
- rm -f conftest*
- cat > conftest.$ac_ext <&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # Now try to grab the symbols.
- nlist=conftest.nm
- if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
- (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s "$nlist"; then
- # Try sorting and uniquifying the output.
- if sort "$nlist" | uniq > "$nlist"T; then
- mv -f "$nlist"T "$nlist"
- else
- rm -f "$nlist"T
- fi
-
- # Make sure that we snagged all the symbols we need.
- if grep ' nm_test_var$' "$nlist" >/dev/null; then
- if grep ' nm_test_func$' "$nlist" >/dev/null; then
- cat < conftest.$ac_ext
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-EOF
- # Now generate the symbol file.
- eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
-
- cat <> conftest.$ac_ext
-#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
-#else
-# define lt_ptr_t char *
-# define const
-#endif
-
-/* The mapping between symbol names and symbols. */
-const struct {
- const char *name;
- lt_ptr_t address;
-}
-lt_preloaded_symbols[] =
-{
-EOF
- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
- cat <<\EOF >> conftest.$ac_ext
- {0, (lt_ptr_t) 0}
-};
-
-#ifdef __cplusplus
-}
-#endif
-EOF
- # Now try linking the two files.
- mv conftest.$ac_objext conftstm.$ac_objext
- lt_save_LIBS="$LIBS"
- lt_save_CFLAGS="$CFLAGS"
- LIBS="conftstm.$ac_objext"
- CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest${ac_exeext}; then
- pipe_works=yes
- fi
- LIBS="$lt_save_LIBS"
- CFLAGS="$lt_save_CFLAGS"
- else
- echo "cannot find nm_test_func in $nlist" >&5
- fi
- else
- echo "cannot find nm_test_var in $nlist" >&5
- fi
- else
- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
- fi
- else
- echo "$progname: failed program was:" >&5
- cat conftest.$ac_ext >&5
- fi
- rm -rf conftest* conftst*
-
- # Do not use the global_symbol_pipe unless it works.
- if test "$pipe_works" = yes; then
- break
- else
- lt_cv_sys_global_symbol_pipe=
- fi
-done
-
-fi
-
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
- lt_cv_sys_global_symbol_to_cdecl=
-fi
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
- { echo "$as_me:$LINENO: result: failed" >&5
-echo "${ECHO_T}failed" >&6; }
-else
- { echo "$as_me:$LINENO: result: ok" >&5
-echo "${ECHO_T}ok" >&6; }
-fi
-
-{ echo "$as_me:$LINENO: checking for objdir" >&5
-echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
-if test "${lt_cv_objdir+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- rm -f .libs 2>/dev/null
-mkdir .libs 2>/dev/null
-if test -d .libs; then
- lt_cv_objdir=.libs
-else
- # MS-DOS does not allow filenames that begin with a dot.
- lt_cv_objdir=_libs
-fi
-rmdir .libs 2>/dev/null
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
-echo "${ECHO_T}$lt_cv_objdir" >&6; }
-objdir=$lt_cv_objdir
-
-
-
-
-
-case $host_os in
-aix3*)
- # AIX sometimes has problems with the GCC collect2 program. For some
- # reason, if we set the COLLECT_NAMES environment variable, the problems
- # vanish in a puff of smoke.
- if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
- fi
- ;;
-esac
-
-# Sed substitution that helps us do robust quoting. It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed='sed -e 1s/^X//'
-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
-# Constants:
-rm="rm -f"
-
-# Global variables:
-default_ofile=libtool
-can_build_shared=yes
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-ltmain="$ac_aux_dir/ltmain.sh"
-ofile="$default_ofile"
-with_gnu_ld="$lt_cv_prog_gnu_ld"
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$AR"; then
- ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AR="${ac_tool_prefix}ar"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
- { echo "$as_me:$LINENO: result: $AR" >&5
-echo "${ECHO_T}$AR" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_AR"; then
- ac_ct_AR=$AR
- # Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_AR"; then
- ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_AR="ar"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
- { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
-echo "${ECHO_T}$ac_ct_AR" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_AR" = x; then
- AR="false"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- AR=$ac_ct_AR
- fi
-else
- AR="$ac_cv_prog_AR"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { echo "$as_me:$LINENO: result: $STRIP" >&5
-echo "${ECHO_T}$STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-
-old_CC="$CC"
-old_CFLAGS="$CFLAGS"
-
-# Set sane defaults for various variables
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-test -z "$AS" && AS=as
-test -z "$CC" && CC=cc
-test -z "$LTCC" && LTCC=$CC
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-test -z "$LD" && LD=ld
-test -z "$LN_S" && LN_S="ln -s"
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
-test -z "$NM" && NM=nm
-test -z "$SED" && SED=sed
-test -z "$OBJDUMP" && OBJDUMP=objdump
-test -z "$RANLIB" && RANLIB=:
-test -z "$STRIP" && STRIP=:
-test -z "$ac_objext" && ac_objext=o
-
-# Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
-old_postinstall_cmds='chmod 644 $oldlib'
-old_postuninstall_cmds=
-
-if test -n "$RANLIB"; then
- case $host_os in
- openbsd*)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
- ;;
- *)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
- ;;
- esac
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
-fi
-
-for cc_temp in $compiler""; do
- case $cc_temp in
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
-
-
-# Only perform the check for file, if the check method requires it
-case $deplibs_check_method in
-file_magic*)
- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $MAGIC_CMD in
-[\\/*] | ?:[\\/]*)
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- ;;
-*)
- lt_save_MAGIC_CMD="$MAGIC_CMD"
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
- for ac_dir in $ac_dummy; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/${ac_tool_prefix}file; then
- lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
- if test -n "$file_magic_test_file"; then
- case $deplibs_check_method in
- "file_magic "*)
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- $EGREP "$file_magic_regex" > /dev/null; then
- :
- else
- cat <&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such. This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem. Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-EOF
- fi ;;
- esac
- fi
- break
- fi
- done
- IFS="$lt_save_ifs"
- MAGIC_CMD="$lt_save_MAGIC_CMD"
- ;;
-esac
-fi
-
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
- { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
-echo "${ECHO_T}$MAGIC_CMD" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-if test -z "$lt_cv_path_MAGIC_CMD"; then
- if test -n "$ac_tool_prefix"; then
- { echo "$as_me:$LINENO: checking for file" >&5
-echo $ECHO_N "checking for file... $ECHO_C" >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $MAGIC_CMD in
-[\\/*] | ?:[\\/]*)
- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- ;;
-*)
- lt_save_MAGIC_CMD="$MAGIC_CMD"
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
- for ac_dir in $ac_dummy; do
- IFS="$lt_save_ifs"
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/file; then
- lt_cv_path_MAGIC_CMD="$ac_dir/file"
- if test -n "$file_magic_test_file"; then
- case $deplibs_check_method in
- "file_magic "*)
- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- $EGREP "$file_magic_regex" > /dev/null; then
- :
- else
- cat <&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such. This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem. Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-EOF
- fi ;;
- esac
- fi
- break
- fi
- done
- IFS="$lt_save_ifs"
- MAGIC_CMD="$lt_save_MAGIC_CMD"
- ;;
-esac
-fi
-
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
- { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
-echo "${ECHO_T}$MAGIC_CMD" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- else
- MAGIC_CMD=:
- fi
-fi
-
- fi
- ;;
-esac
-
-
- case $host_os in
- rhapsody* | darwin*)
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
-set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$DSYMUTIL"; then
- ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-DSYMUTIL=$ac_cv_prog_DSYMUTIL
-if test -n "$DSYMUTIL"; then
- { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
-echo "${ECHO_T}$DSYMUTIL" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_DSYMUTIL"; then
- ac_ct_DSYMUTIL=$DSYMUTIL
- # Extract the first word of "dsymutil", so it can be a program name with args.
-set dummy dsymutil; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_DSYMUTIL"; then
- ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
-if test -n "$ac_ct_DSYMUTIL"; then
- { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
-echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_DSYMUTIL" = x; then
- DSYMUTIL=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- DSYMUTIL=$ac_ct_DSYMUTIL
- fi
-else
- DSYMUTIL="$ac_cv_prog_DSYMUTIL"
-fi
-
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
-set dummy ${ac_tool_prefix}nmedit; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_NMEDIT+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$NMEDIT"; then
- ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-NMEDIT=$ac_cv_prog_NMEDIT
-if test -n "$NMEDIT"; then
- { echo "$as_me:$LINENO: result: $NMEDIT" >&5
-echo "${ECHO_T}$NMEDIT" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_NMEDIT"; then
- ac_ct_NMEDIT=$NMEDIT
- # Extract the first word of "nmedit", so it can be a program name with args.
-set dummy nmedit; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_NMEDIT"; then
- ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_NMEDIT="nmedit"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
-if test -n "$ac_ct_NMEDIT"; then
- { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
-echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_NMEDIT" = x; then
- NMEDIT=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- NMEDIT=$ac_ct_NMEDIT
- fi
-else
- NMEDIT="$ac_cv_prog_NMEDIT"
-fi
-
-
- { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
-echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_apple_cc_single_mod=no
- if test -z "${LT_MULTI_MODULE}"; then
- # By default we will add the -single_module flag. You can override
- # by either setting the environment variable LT_MULTI_MODULE
- # non-empty at configure time, or by adding -multi_module to the
- # link flags.
- echo "int foo(void){return 1;}" > conftest.c
- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
- -dynamiclib ${wl}-single_module conftest.c
- if test -f libconftest.dylib; then
- lt_cv_apple_cc_single_mod=yes
- rm -rf libconftest.dylib*
- fi
- rm conftest.c
- fi
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
-echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
- { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
-echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_ld_exported_symbols_list=no
- save_LDFLAGS=$LDFLAGS
- echo "_main" > conftest.sym
- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- lt_cv_ld_exported_symbols_list=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- lt_cv_ld_exported_symbols_list=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- LDFLAGS="$save_LDFLAGS"
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
-echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
- case $host_os in
- rhapsody* | darwin1.[0123])
- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
- darwin1.*)
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- darwin*)
- # if running on 10.5 or later, the deployment target defaults
- # to the OS version, if on x86, and 10.4, the deployment
- # target defaults to 10.4. Don't you love it?
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- 10.*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- esac
- ;;
- esac
- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
- _lt_dar_single_mod='$single_module'
- fi
- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
- else
- _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
- fi
- if test "$DSYMUTIL" != ":"; then
- _lt_dsymutil="~$DSYMUTIL \$lib || :"
- else
- _lt_dsymutil=
- fi
- ;;
- esac
-
-
-enable_dlopen=no
-enable_win32_dll=no
-
-# Check whether --enable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then
- enableval=$enable_libtool_lock;
-fi
-
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-
-# Check whether --with-pic was given.
-if test "${with_pic+set}" = set; then
- withval=$with_pic; pic_mode="$withval"
-else
- pic_mode=default
-fi
-
-test -z "$pic_mode" && pic_mode=default
-
-# Use C for the default configuration in the libtool script
-tagname=
-lt_save_CC="$CC"
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-# Source file extension for C test sources.
-ac_ext=c
-
-# Object file extension for compiled C test sources.
-objext=o
-objext=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(){return(0);}'
-
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-
-
-# save warnings/boilerplate of simple test code
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_compiler_boilerplate=`cat conftest.err`
-$rm conftest*
-
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_linker_boilerplate=`cat conftest.err`
-$rm -r conftest*
-
-
-
-lt_prog_compiler_no_builtin_flag=
-
-if test "$GCC" = yes; then
- lt_prog_compiler_no_builtin_flag=' -fno-builtin'
-
-
-{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_prog_compiler_rtti_exceptions=no
- ac_outfile=conftest.$ac_objext
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
- lt_compiler_flag="-fno-rtti -fno-exceptions"
- # Insert the option either (1) after the last *FLAGS variable, or
- # (2) before a word containing "conftest.", or (3) at the end.
- # Note that $ac_compile itself does not contain backslashes and begins
- # with a dollar sign (not a hyphen), so the echo should work correctly.
- # The option is referenced via a variable to avoid confusing sed.
- lt_compile=`echo "$ac_compile" | $SED \
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
- -e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9588: $lt_compile\"" >&5)
- (eval "$lt_compile" 2>conftest.err)
- ac_status=$?
- cat conftest.err >&5
- echo "$as_me:9592: \$? = $ac_status" >&5
- if (exit $ac_status) && test -s "$ac_outfile"; then
- # The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings other than the usual output.
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
- lt_cv_prog_compiler_rtti_exceptions=yes
- fi
- fi
- $rm conftest*
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
-
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
- lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
-else
- :
-fi
-
-fi
-
-lt_prog_compiler_wl=
-lt_prog_compiler_pic=
-lt_prog_compiler_static=
-
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
-
- if test "$GCC" = yes; then
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_static='-static'
-
- case $host_os in
- aix*)
- # All AIX code is PIC.
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- lt_prog_compiler_static='-Bstatic'
- fi
- ;;
-
- amigaos*)
- # FIXME: we need at least 68020 code to build shared libraries, but
- # adding the `-m68020' flag to GCC prevents building anything better,
- # like `-m68040'.
- lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
- ;;
-
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- # PIC is the default for these OSes.
- ;;
-
- mingw* | cygwin* | pw32* | os2*)
- # This hack is so that the source file can tell whether it is being
- # built for inclusion in a dll (and should export symbols for example).
- # Although the cygwin gcc ignores -fPIC, still need this for old-style
- # (--disable-auto-import) libraries
- lt_prog_compiler_pic='-DDLL_EXPORT'
- ;;
-
- darwin* | rhapsody*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- lt_prog_compiler_pic='-fno-common'
- ;;
-
- interix[3-9]*)
- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
- # Instead, we relocate shared libraries at runtime.
- ;;
-
- msdosdjgpp*)
- # Just because we use GCC doesn't mean we suddenly get shared libraries
- # on systems that don't support them.
- lt_prog_compiler_can_build_shared=no
- enable_shared=no
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec; then
- lt_prog_compiler_pic=-Kconform_pic
- fi
- ;;
-
- hpux*)
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
- # not for PA HP-UX.
- case $host_cpu in
- hppa*64*|ia64*)
- # +Z the default
- ;;
- *)
- lt_prog_compiler_pic='-fPIC'
- ;;
- esac
- ;;
-
- *)
- lt_prog_compiler_pic='-fPIC'
- ;;
- esac
- else
- # PORTME Check for flag to pass linker flags through the system compiler.
- case $host_os in
- aix*)
- lt_prog_compiler_wl='-Wl,'
- if test "$host_cpu" = ia64; then
- # AIX 5 now supports IA64 processor
- lt_prog_compiler_static='-Bstatic'
- else
- lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
- fi
- ;;
- darwin*)
- # PIC is the default on this platform
- # Common symbols not allowed in MH_DYLIB files
- case $cc_basename in
- xlc*)
- lt_prog_compiler_pic='-qnocommon'
- lt_prog_compiler_wl='-Wl,'
- ;;
- esac
- ;;
-
- mingw* | cygwin* | pw32* | os2*)
- # This hack is so that the source file can tell whether it is being
- # built for inclusion in a dll (and should export symbols for example).
- lt_prog_compiler_pic='-DDLL_EXPORT'
- ;;
-
- hpux9* | hpux10* | hpux11*)
- lt_prog_compiler_wl='-Wl,'
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
- # not for PA HP-UX.
- case $host_cpu in
- hppa*64*|ia64*)
- # +Z the default
- ;;
- *)
- lt_prog_compiler_pic='+Z'
- ;;
- esac
- # Is there a better lt_prog_compiler_static that works with the bundled CC?
- lt_prog_compiler_static='${wl}-a ${wl}archive'
- ;;
-
- irix5* | irix6* | nonstopux*)
- lt_prog_compiler_wl='-Wl,'
- # PIC (with -KPIC) is the default.
- lt_prog_compiler_static='-non_shared'
- ;;
-
- newsos6)
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- ;;
-
- linux* | k*bsd*-gnu)
- case $cc_basename in
- icc* | ecc*)
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-static'
- ;;
- pgcc* | pgf77* | pgf90* | pgf95*)
- # Portland Group compilers (*not* the Pentium gcc compiler,
- # which looks to be a dead project)
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_pic='-fpic'
- lt_prog_compiler_static='-Bstatic'
- ;;
- ccc*)
- lt_prog_compiler_wl='-Wl,'
- # All Alpha code is PIC.
- lt_prog_compiler_static='-non_shared'
- ;;
- *)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- # Sun C 5.9
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- lt_prog_compiler_wl='-Wl,'
- ;;
- *Sun\ F*)
- # Sun Fortran 8.3 passes all unrecognized flags to the linker
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- lt_prog_compiler_wl=''
- ;;
- esac
- ;;
- esac
- ;;
-
- osf3* | osf4* | osf5*)
- lt_prog_compiler_wl='-Wl,'
- # All OSF/1 code is PIC.
- lt_prog_compiler_static='-non_shared'
- ;;
-
- rdos*)
- lt_prog_compiler_static='-non_shared'
- ;;
-
- solaris*)
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- case $cc_basename in
- f77* | f90* | f95*)
- lt_prog_compiler_wl='-Qoption ld ';;
- *)
- lt_prog_compiler_wl='-Wl,';;
- esac
- ;;
-
- sunos4*)
- lt_prog_compiler_wl='-Qoption ld '
- lt_prog_compiler_pic='-PIC'
- lt_prog_compiler_static='-Bstatic'
- ;;
-
- sysv4 | sysv4.2uw2* | sysv4.3*)
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec ;then
- lt_prog_compiler_pic='-Kconform_pic'
- lt_prog_compiler_static='-Bstatic'
- fi
- ;;
-
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_pic='-KPIC'
- lt_prog_compiler_static='-Bstatic'
- ;;
-
- unicos*)
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_can_build_shared=no
- ;;
-
- uts4*)
- lt_prog_compiler_pic='-pic'
- lt_prog_compiler_static='-Bstatic'
- ;;
-
- *)
- lt_prog_compiler_can_build_shared=no
- ;;
- esac
- fi
-
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
-echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
-
-#
-# Check to make sure the PIC flag actually works.
-#
-if test -n "$lt_prog_compiler_pic"; then
-
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_prog_compiler_pic_works=no
- ac_outfile=conftest.$ac_objext
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
- lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
- # Insert the option either (1) after the last *FLAGS variable, or
- # (2) before a word containing "conftest.", or (3) at the end.
- # Note that $ac_compile itself does not contain backslashes and begins
- # with a dollar sign (not a hyphen), so the echo should work correctly.
- # The option is referenced via a variable to avoid confusing sed.
- lt_compile=`echo "$ac_compile" | $SED \
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
- -e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9878: $lt_compile\"" >&5)
- (eval "$lt_compile" 2>conftest.err)
- ac_status=$?
- cat conftest.err >&5
- echo "$as_me:9882: \$? = $ac_status" >&5
- if (exit $ac_status) && test -s "$ac_outfile"; then
- # The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings other than the usual output.
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
- lt_cv_prog_compiler_pic_works=yes
- fi
- fi
- $rm conftest*
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
-echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
-
-if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
- case $lt_prog_compiler_pic in
- "" | " "*) ;;
- *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
- esac
-else
- lt_prog_compiler_pic=
- lt_prog_compiler_can_build_shared=no
-fi
-
-fi
-case $host_os in
- # For platforms which do not support PIC, -DPIC is meaningless:
- *djgpp*)
- lt_prog_compiler_pic=
- ;;
- *)
- lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
- ;;
-esac
-
-#
-# Check to make sure the static flag actually works.
-#
-wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_prog_compiler_static_works=no
- save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
- echo "$lt_simple_link_test_code" > conftest.$ac_ext
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
- # The linker can only warn and ignore the option if not recognized
- # So say no if there are warnings
- if test -s conftest.err; then
- # Append any errors to the config.log.
- cat conftest.err 1>&5
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
- if diff conftest.exp conftest.er2 >/dev/null; then
- lt_cv_prog_compiler_static_works=yes
- fi
- else
- lt_cv_prog_compiler_static_works=yes
- fi
- fi
- $rm -r conftest*
- LDFLAGS="$save_LDFLAGS"
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
-echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
-
-if test x"$lt_cv_prog_compiler_static_works" = xyes; then
- :
-else
- lt_prog_compiler_static=
-fi
-
-
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_prog_compiler_c_o=no
- $rm -r conftest 2>/dev/null
- mkdir conftest
- cd conftest
- mkdir out
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
- lt_compiler_flag="-o out/conftest2.$ac_objext"
- # Insert the option either (1) after the last *FLAGS variable, or
- # (2) before a word containing "conftest.", or (3) at the end.
- # Note that $ac_compile itself does not contain backslashes and begins
- # with a dollar sign (not a hyphen), so the echo should work correctly.
- lt_compile=`echo "$ac_compile" | $SED \
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
- -e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9982: $lt_compile\"" >&5)
- (eval "$lt_compile" 2>out/conftest.err)
- ac_status=$?
- cat out/conftest.err >&5
- echo "$as_me:9986: \$? = $ac_status" >&5
- if (exit $ac_status) && test -s out/conftest2.$ac_objext
- then
- # The compiler can only warn and ignore the option if not recognized
- # So say no if there are warnings
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
- lt_cv_prog_compiler_c_o=yes
- fi
- fi
- chmod u+w . 2>&5
- $rm conftest*
- # SGI C++ compiler will create directory out/ii_files/ for
- # template instantiation
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
- $rm out/* && rmdir out
- cd ..
- rmdir conftest
- $rm conftest*
-
-fi
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
-
-
-hard_links="nottested"
-if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
- # do not overwrite the value of need_locks provided by the user
- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
- hard_links=yes
- $rm conftest*
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
- touch conftest.a
- ln conftest.a conftest.b 2>&5 || hard_links=no
- ln conftest.a conftest.b 2>/dev/null && hard_links=no
- { echo "$as_me:$LINENO: result: $hard_links" >&5
-echo "${ECHO_T}$hard_links" >&6; }
- if test "$hard_links" = no; then
- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
- need_locks=warn
- fi
-else
- need_locks=no
-fi
-
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
-
- runpath_var=
- allow_undefined_flag=
- enable_shared_with_static_runtimes=no
- archive_cmds=
- archive_expsym_cmds=
- old_archive_From_new_cmds=
- old_archive_from_expsyms_cmds=
- export_dynamic_flag_spec=
- whole_archive_flag_spec=
- thread_safe_flag_spec=
- hardcode_libdir_flag_spec=
- hardcode_libdir_flag_spec_ld=
- hardcode_libdir_separator=
- hardcode_direct=no
- hardcode_minus_L=no
- hardcode_shlibpath_var=unsupported
- link_all_deplibs=unknown
- hardcode_automatic=no
- module_cmds=
- module_expsym_cmds=
- always_export_symbols=no
- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
- # include_expsyms should be a list of space-separated symbols to be *always*
- # included in the symbol list
- include_expsyms=
- # exclude_expsyms can be an extended regexp of symbols to exclude
- # it will be wrapped by ` (' and `)$', so one must not match beginning or
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- # as well as any symbol that contains `d'.
- exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- # platforms (ab)use it in PIC code, but their linkers get confused if
- # the symbol is explicitly referenced. Since portable code cannot
- # rely on this symbol name, it's probably fine to never include it in
- # preloaded symbol tables.
- # Exclude shared library initialization/finalization symbols.
- extract_expsyms_cmds=
- # Just being paranoid about ensuring that cc_basename is set.
- for cc_temp in $compiler""; do
- case $cc_temp in
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
-
- case $host_os in
- cygwin* | mingw* | pw32*)
- # FIXME: the MSVC++ port hasn't been tested in a loooong time
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- if test "$GCC" != yes; then
- with_gnu_ld=no
- fi
- ;;
- interix*)
- # we just hope/assume this is gcc and not c89 (= MSVC++)
- with_gnu_ld=yes
- ;;
- openbsd*)
- with_gnu_ld=no
- ;;
- esac
-
- ld_shlibs=yes
- if test "$with_gnu_ld" = yes; then
- # If archive_cmds runs LD, not CC, wlarc should be empty
- wlarc='${wl}'
-
- # Set some defaults for GNU ld with shared library support. These
- # are reset later if shared libraries are not supported. Putting them
- # here allows them to be overridden if necessary.
- runpath_var=LD_RUN_PATH
- hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
- export_dynamic_flag_spec='${wl}--export-dynamic'
- # ancient GNU ld didn't support --whole-archive et. al.
- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
- whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- else
- whole_archive_flag_spec=
- fi
- supports_anon_versioning=no
- case `$LD -v 2>/dev/null` in
- *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
- *\ 2.11.*) ;; # other 2.11 versions
- *) supports_anon_versioning=yes ;;
- esac
-
- # See if GNU ld supports shared libraries.
- case $host_os in
- aix[3-9]*)
- # On AIX/PPC, the GNU linker is very broken
- if test "$host_cpu" != ia64; then
- ld_shlibs=no
- cat <&2
-
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
-*** to be unable to reliably create shared libraries on AIX.
-*** Therefore, libtool is disabling shared libraries support. If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
-
-EOF
- fi
- ;;
-
- amigaos*)
- archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
-
- # Samuel A. Falvo II reports
- # that the semantics of dynamic libraries on AmigaOS, at least up
- # to version 4, is to share data among multiple programs linked
- # with the same dynamic library. Since this doesn't match the
- # behavior of shared libraries on other platforms, we can't use
- # them.
- ld_shlibs=no
- ;;
-
- beos*)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- allow_undefined_flag=unsupported
- # Joseph Beckenbach says some releases of gcc
- # support --undefined. This deserves some investigation. FIXME
- archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- else
- ld_shlibs=no
- fi
- ;;
-
- cygwin* | mingw* | pw32*)
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
- # as there is no search path for DLLs.
- hardcode_libdir_flag_spec='-L$libdir'
- allow_undefined_flag=unsupported
- always_export_symbols=no
- enable_shared_with_static_runtimes=yes
- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
-
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- # If the export-symbols file already is a .def file (1st line
- # is EXPORTS), use it as is; otherwise, prepend...
- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname.def;
- else
- echo EXPORTS > $output_objdir/$soname.def;
- cat $export_symbols >> $output_objdir/$soname.def;
- fi~
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- else
- ld_shlibs=no
- fi
- ;;
-
- interix[3-9]*)
- hardcode_direct=no
- hardcode_shlibpath_var=no
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- export_dynamic_flag_spec='${wl}-E'
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
- # Instead, shared libraries are loaded at an image base (0x10000000 by
- # default) and relocated if they conflict, which is a slow very memory
- # consuming and fragmenting process. To avoid this, we pick a random,
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
- 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'
- ;;
-
- gnu* | linux* | k*bsd*-gnu)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- tmp_addflag=
- case $cc_basename,$host_cpu in
- pgcc*) # Portland Group C compiler
- 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'
- tmp_addflag=' $pic_flag'
- ;;
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
- 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'
- tmp_addflag=' $pic_flag -Mnomain' ;;
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
- tmp_addflag=' -i_dynamic' ;;
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
- tmp_addflag=' -i_dynamic -nofor_main' ;;
- ifc* | ifort*) # Intel Fortran compiler
- tmp_addflag=' -nofor_main' ;;
- esac
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*) # Sun C 5.9
- whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
- tmp_sharedflag='-G' ;;
- *Sun\ F*) # Sun Fortran 8.3
- tmp_sharedflag='-G' ;;
- *)
- tmp_sharedflag='-shared' ;;
- esac
- archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-
- if test $supports_anon_versioning = yes; then
- archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
- $echo "local: *; };" >> $output_objdir/$libname.ver~
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
- fi
- link_all_deplibs=no
- else
- ld_shlibs=no
- fi
- ;;
-
- netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- wlarc=
- else
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- fi
- ;;
-
- solaris*)
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
- ld_shlibs=no
- cat <&2
-
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
-*** create shared libraries on Solaris systems. Therefore, libtool
-*** is disabling shared libraries support. We urge you to upgrade GNU
-*** binutils to release 2.9.1 or newer. Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-EOF
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- else
- ld_shlibs=no
- fi
- ;;
-
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
- case `$LD -v 2>&1` in
- *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
- ld_shlibs=no
- cat <<_LT_EOF 1>&2
-
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
-*** reliably create shared libraries on SCO systems. Therefore, libtool
-*** is disabling shared libraries support. We urge you to upgrade GNU
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
- ;;
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
- else
- ld_shlibs=no
- fi
- ;;
- esac
- ;;
-
- sunos4*)
- archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- wlarc=
- hardcode_direct=yes
- hardcode_shlibpath_var=no
- ;;
-
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- else
- ld_shlibs=no
- fi
- ;;
- esac
-
- if test "$ld_shlibs" = no; then
- runpath_var=
- hardcode_libdir_flag_spec=
- export_dynamic_flag_spec=
- whole_archive_flag_spec=
- fi
- else
- # PORTME fill in a description of your system's linker (not GNU ld)
- case $host_os in
- aix3*)
- allow_undefined_flag=unsupported
- always_export_symbols=yes
- archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- # Note: this linker hardcodes the directories in LIBPATH if there
- # are no directories specified by -L.
- hardcode_minus_L=yes
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
- # Neither direct hardcoding nor static linking is supported with a
- # broken collect2.
- hardcode_direct=unsupported
- fi
- ;;
-
- aix[4-9]*)
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- exp_sym_flag='-Bexport'
- no_entry_flag=""
- else
- # If we're using GNU nm, then we don't want the "-C" option.
- # -C means demangle to AIX nm, but means don't demangle with GNU nm
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
- export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
- else
- export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
- fi
- aix_use_runtimelinking=no
-
- # Test if we are trying to use run time linking or normal
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- # need to do runtime linking.
- case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
- for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
- aix_use_runtimelinking=yes
- break
- fi
- done
- ;;
- esac
-
- exp_sym_flag='-bexport'
- no_entry_flag='-bnoentry'
- fi
-
- # When large executables or shared objects are built, AIX ld can
- # have problems creating the table of contents. If linking a library
- # or program results in "error TOC overflow" add -mminimal-toc to
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
- archive_cmds=''
- hardcode_direct=yes
- hardcode_libdir_separator=':'
- link_all_deplibs=yes
-
- if test "$GCC" = yes; then
- case $host_os in aix4.[012]|aix4.[012].*)
- # We only want to do this on AIX 4.2 and lower, the check
- # below for broken collect2 doesn't work under 4.3+
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- :
- else
- # We have old collect2
- hardcode_direct=unsupported
- # It fails to find uninstalled libraries when the uninstalled
- # path is not listed in the libpath. Setting hardcode_minus_L
- # to unsupported forces relinking
- hardcode_minus_L=yes
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_libdir_separator=
- fi
- ;;
- esac
- shared_flag='-shared'
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag="$shared_flag "'${wl}-G'
- fi
- else
- # not using gcc
- if test "$host_cpu" = ia64; then
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
- # chokes on -Wl,-G. The following line is correct:
- shared_flag='-G'
- else
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag='${wl}-G'
- else
- shared_flag='${wl}-bM:SRE'
- fi
- fi
- fi
-
- # It seems that -bexpall does not export symbols beginning with
- # underscore (_), so it is better to generate a list of symbols to export.
- always_export_symbols=yes
- if test "$aix_use_runtimelinking" = yes; then
- # Warning - without using the other runtime loading flags (-brtl),
- # -berok will link without error, but may produce a broken library.
- allow_undefined_flag='-berok'
- # Determine the default libpath from the value encoded in an empty executable.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
-
-lt_aix_libpath_sed='
- /Import File Strings/,/^$/ {
- /^0/ {
- s/^0 *\(.*\)$/\1/
- p
- }
- }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
-
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
- archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${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"
- else
- if test "$host_cpu" = ia64; then
- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- allow_undefined_flag="-z nodefs"
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
- else
- # Determine the default libpath from the value encoded in an empty executable.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
-
-lt_aix_libpath_sed='
- /Import File Strings/,/^$/ {
- /^0/ {
- s/^0 *\(.*\)$/\1/
- p
- }
- }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
-
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
- # Warning - without using the other run time loading flags,
- # -berok will link without error, but may produce a broken library.
- no_undefined_flag=' ${wl}-bernotok'
- allow_undefined_flag=' ${wl}-berok'
- # Exported symbols can be pulled into shared objects from archives
- whole_archive_flag_spec='$convenience'
- archive_cmds_need_lc=yes
- # This is similar to how AIX traditionally builds its shared libraries.
- 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'
- fi
- fi
- ;;
-
- amigaos*)
- archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
- # see comment about different semantics on the GNU ld section
- ld_shlibs=no
- ;;
-
- bsdi[45]*)
- export_dynamic_flag_spec=-rdynamic
- ;;
-
- cygwin* | mingw* | pw32*)
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- # hardcode_libdir_flag_spec is actually meaningless, as there is
- # no search path for DLLs.
- hardcode_libdir_flag_spec=' '
- allow_undefined_flag=unsupported
- # Tell ltmain to make .lib files, not .a files.
- libext=lib
- # Tell ltmain to make .dll files, not .so files.
- shrext_cmds=".dll"
- # FIXME: Setting linknames here is a bad hack.
- archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
- # The linker will automatically build a .lib file if we build a DLL.
- old_archive_From_new_cmds='true'
- # FIXME: Should let the user specify the lib program.
- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
- fix_srcfile_path='`cygpath -w "$srcfile"`'
- enable_shared_with_static_runtimes=yes
- ;;
-
- darwin* | rhapsody*)
- case $host_os in
- rhapsody* | darwin1.[012])
- allow_undefined_flag='${wl}-undefined ${wl}suppress'
- ;;
- *) # Darwin 1.3 on
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
- allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
- else
- case ${MACOSX_DEPLOYMENT_TARGET} in
- 10.[012])
- allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
- ;;
- 10.*)
- allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
- ;;
- esac
- fi
- ;;
- esac
- archive_cmds_need_lc=no
- hardcode_direct=no
- hardcode_automatic=yes
- hardcode_shlibpath_var=unsupported
- whole_archive_flag_spec=''
- link_all_deplibs=yes
- if test "$GCC" = yes ; then
- output_verbose_link_cmd='echo'
- archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
- module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
- archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
- module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
- else
- case $cc_basename in
- xlc*)
- output_verbose_link_cmd='echo'
- archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
- module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
- 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- ;;
- *)
- ld_shlibs=no
- ;;
- esac
- fi
- ;;
-
- dgux*)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_shlibpath_var=no
- ;;
-
- freebsd1*)
- ld_shlibs=no
- ;;
-
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- # support. Future versions do this automatically, but an explicit c++rt0.o
- # does not break anything, and helps significantly (at the cost of a little
- # extra space).
- freebsd2.2*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- hardcode_shlibpath_var=no
- ;;
-
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_direct=yes
- hardcode_minus_L=yes
- hardcode_shlibpath_var=no
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd* | dragonfly*)
- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- hardcode_shlibpath_var=no
- ;;
-
- hpux9*)
- if test "$GCC" = yes; then
- archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- else
- archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
- fi
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
- hardcode_direct=yes
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- export_dynamic_flag_spec='${wl}-E'
- ;;
-
- hpux10*)
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- else
- archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
- fi
- if test "$with_gnu_ld" = no; then
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
-
- hardcode_direct=yes
- export_dynamic_flag_spec='${wl}-E'
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- fi
- ;;
-
- hpux11*)
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
- case $host_cpu in
- hppa*64*)
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- ia64*)
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- *)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- esac
- else
- case $host_cpu in
- hppa*64*)
- archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- ia64*)
- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- *)
- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
- ;;
- esac
- fi
- if test "$with_gnu_ld" = no; then
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
-
- case $host_cpu in
- hppa*64*|ia64*)
- hardcode_libdir_flag_spec_ld='+b $libdir'
- hardcode_direct=no
- hardcode_shlibpath_var=no
- ;;
- *)
- hardcode_direct=yes
- export_dynamic_flag_spec='${wl}-E'
-
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- ;;
- esac
- fi
- ;;
-
- irix5* | irix6* | nonstopux*)
- if test "$GCC" = yes; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- hardcode_libdir_flag_spec_ld='-rpath $libdir'
- fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- link_all_deplibs=yes
- ;;
-
- netbsd* | netbsdelf*-gnu)
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- else
- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- fi
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- hardcode_shlibpath_var=no
- ;;
-
- newsos6)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_direct=yes
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- hardcode_shlibpath_var=no
- ;;
-
- openbsd*)
- if test -f /usr/libexec/ld.so; then
- hardcode_direct=yes
- hardcode_shlibpath_var=no
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- export_dynamic_flag_spec='${wl}-E'
- else
- case $host_os in
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
- ;;
- *)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- ;;
- esac
- fi
- else
- ld_shlibs=no
- fi
- ;;
-
- os2*)
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
- allow_undefined_flag=unsupported
- archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
- old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- ;;
-
- osf3*)
- if test "$GCC" = yes; then
- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- allow_undefined_flag=' -expect_unresolved \*'
- archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- ;;
-
- osf4* | osf5*) # as osf3* with the addition of -msym flag
- if test "$GCC" = yes; then
- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- else
- allow_undefined_flag=' -expect_unresolved \*'
- archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
-
- # Both c and cxx compiler support -rpath directly
- hardcode_libdir_flag_spec='-rpath $libdir'
- fi
- hardcode_libdir_separator=:
- ;;
-
- solaris*)
- no_undefined_flag=' -z text'
- if test "$GCC" = yes; then
- wlarc='${wl}'
- archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
- else
- wlarc=''
- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- fi
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_shlibpath_var=no
- case $host_os in
- solaris2.[0-5] | solaris2.[0-5].*) ;;
- *)
- # The compiler driver will combine and reorder linker options,
- # but understands `-z linker_flag'. GCC discards it without `$wl',
- # but is careful enough not to reorder.
- # Supported since Solaris 2.6 (maybe 2.5.1?)
- if test "$GCC" = yes; then
- whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
- else
- whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
- fi
- ;;
- esac
- link_all_deplibs=yes
- ;;
-
- sunos4*)
- if test "x$host_vendor" = xsequent; then
- # Use $CC to link under sequent, because it throws in some extra .o
- # files that make .init and .fini sections work.
- archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- else
- archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- fi
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_direct=yes
- hardcode_minus_L=yes
- hardcode_shlibpath_var=no
- ;;
-
- sysv4)
- case $host_vendor in
- sni)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_direct=yes # is this really true???
- ;;
- siemens)
- ## LD is ld it makes a PLAMLIB
- ## CC just makes a GrossModule.
- archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- reload_cmds='$CC -r -o $output$reload_objs'
- hardcode_direct=no
- ;;
- motorola)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- ;;
- esac
- runpath_var='LD_RUN_PATH'
- hardcode_shlibpath_var=no
- ;;
-
- sysv4.3*)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_shlibpath_var=no
- export_dynamic_flag_spec='-Bexport'
- ;;
-
- sysv4*MP*)
- if test -d /usr/nec; then
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_shlibpath_var=no
- runpath_var=LD_RUN_PATH
- hardcode_runpath_var=yes
- ld_shlibs=yes
- fi
- ;;
-
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
- no_undefined_flag='${wl}-z,text'
- archive_cmds_need_lc=no
- hardcode_shlibpath_var=no
- runpath_var='LD_RUN_PATH'
-
- if test "$GCC" = yes; then
- archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- else
- archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
- fi
- ;;
-
- sysv5* | sco3.2v5* | sco5v6*)
- # Note: We can NOT use -z defs as we might desire, because we do not
- # link with -lc, and that would cause any symbols used from libc to
- # always be unresolved, which means just about no library would
- # ever link correctly. If we're not using GNU ld we use -z text
- # though, which does catch some bad symbols but isn't as heavy-handed
- # as -z defs.
- no_undefined_flag='${wl}-z,text'
- allow_undefined_flag='${wl}-z,nodefs'
- archive_cmds_need_lc=no
- hardcode_shlibpath_var=no
- hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
- hardcode_libdir_separator=':'
- link_all_deplibs=yes
- export_dynamic_flag_spec='${wl}-Bexport'
- runpath_var='LD_RUN_PATH'
-
- if test "$GCC" = yes; then
- archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- else
- archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
- fi
- ;;
-
- uts4*)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_shlibpath_var=no
- ;;
-
- *)
- ld_shlibs=no
- ;;
- esac
- fi
-
-{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
-echo "${ECHO_T}$ld_shlibs" >&6; }
-test "$ld_shlibs" = no && can_build_shared=no
-
-#
-# Do we need to explicitly link libc?
-#
-case "x$archive_cmds_need_lc" in
-x|xyes)
- # Assume -lc should be added
- archive_cmds_need_lc=yes
-
- if test "$enable_shared" = yes && test "$GCC" = yes; then
- case $archive_cmds in
- *'~'*)
- # FIXME: we may have to deal with multi-command sequences.
- ;;
- '$CC '*)
- # Test whether the compiler implicitly links with -lc since on some
- # systems, -lgcc has to come before -lc. If gcc already passes -lc
- # to ld, don't add -lc before -lgcc.
- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
- $rm conftest*
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } 2>conftest.err; then
- soname=conftest
- lib=conftest
- libobjs=conftest.$ac_objext
- deplibs=
- wl=$lt_prog_compiler_wl
- pic_flag=$lt_prog_compiler_pic
- compiler_flags=-v
- linker_flags=-v
- verstring=
- output_objdir=.
- libname=conftest
- lt_save_allow_undefined_flag=$allow_undefined_flag
- allow_undefined_flag=
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
- (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
- then
- archive_cmds_need_lc=no
- else
- archive_cmds_need_lc=yes
- fi
- allow_undefined_flag=$lt_save_allow_undefined_flag
- else
- cat conftest.err 1>&5
- fi
- $rm conftest*
- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
-echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
- ;;
- esac
- fi
- ;;
-esac
-
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
-library_names_spec=
-libname_spec='lib$name'
-soname_spec=
-shrext_cmds=".so"
-postinstall_cmds=
-postuninstall_cmds=
-finish_cmds=
-finish_eval=
-shlibpath_var=
-shlibpath_overrides_runpath=unknown
-version_type=none
-dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-
-if test "$GCC" = yes; then
- case $host_os in
- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
- *) lt_awk_arg="/^libraries:/" ;;
- esac
- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
- if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
- # if the path contains ";" then we assume it to be the separator
- # otherwise default to the standard path separator (i.e. ":") - it is
- # assumed that no part of a normal pathname contains ";" but that should
- # okay in the real world where ";" in dirpaths is itself problematic.
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
- else
- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
- fi
- # Ok, now we have the path, separated by spaces, we can step through it
- # and add multilib dir if necessary.
- lt_tmp_lt_search_path_spec=
- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
- for lt_sys_path in $lt_search_path_spec; do
- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
- else
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
- done
- lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
-BEGIN {RS=" "; FS="/|\n";} {
- lt_foo="";
- lt_count=0;
- for (lt_i = NF; lt_i > 0; lt_i--) {
- if ($lt_i != "" && $lt_i != ".") {
- if ($lt_i == "..") {
- lt_count++;
- } else {
- if (lt_count == 0) {
- lt_foo="/" $lt_i lt_foo;
- } else {
- lt_count--;
- }
- }
- }
- }
- if (lt_foo != "") { lt_freq[lt_foo]++; }
- if (lt_freq[lt_foo] == 1) { print lt_foo; }
-}'`
- sys_lib_search_path_spec=`echo $lt_search_path_spec`
-else
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi
-need_lib_prefix=unknown
-hardcode_into_libs=no
-
-# when you set need_version to no, make sure it does not cause -set_version
-# flags to be left without arguments
-need_version=unknown
-
-case $host_os in
-aix3*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
- shlibpath_var=LIBPATH
-
- # AIX 3 has no versioning support, so we append a major version to the name.
- soname_spec='${libname}${release}${shared_ext}$major'
- ;;
-
-aix[4-9]*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- hardcode_into_libs=yes
- if test "$host_cpu" = ia64; then
- # AIX 5 supports IA64
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- else
- # With GCC up to 2.95.x, collect2 would create an import file
- # for dependence libraries. The import file would start with
- # the line `#! .'. This would cause the generated library to
- # depend on `.', always an invalid library. This was fixed in
- # development snapshots of GCC prior to 3.0.
- case $host_os in
- aix4 | aix4.[01] | aix4.[01].*)
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- echo ' yes '
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- :
- else
- can_build_shared=no
- fi
- ;;
- esac
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
- # soname into executable. Probably we can add versioning support to
- # collect2, so additional links can be useful in future.
- if test "$aix_use_runtimelinking" = yes; then
- # If using run time linking (on AIX 4.2 or later) use lib.so
- # instead of lib.a to let people know that these are not
- # typical AIX shared libraries.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- else
- # We preserve .a as extension for shared libraries through AIX4.2
- # and later when we are not doing run time linking.
- library_names_spec='${libname}${release}.a $libname.a'
- soname_spec='${libname}${release}${shared_ext}$major'
- fi
- shlibpath_var=LIBPATH
- fi
- ;;
-
-amigaos*)
- library_names_spec='$libname.ixlibrary $libname.a'
- # Create ${libname}_ixlibrary.a entries in /sys/libs.
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
- ;;
-
-beos*)
- library_names_spec='${libname}${shared_ext}'
- dynamic_linker="$host_os ld.so"
- shlibpath_var=LIBRARY_PATH
- ;;
-
-bsdi[45]*)
- version_type=linux
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- # the default ld.so.conf also contains /usr/contrib/lib and
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- # libtool to hard-code these into programs
- ;;
-
-cygwin* | mingw* | pw32*)
- version_type=windows
- shrext_cmds=".dll"
- need_version=no
- need_lib_prefix=no
-
- case $GCC,$host_os in
- yes,cygwin* | yes,mingw* | yes,pw32*)
- library_names_spec='$libname.dll.a'
- # DLL is installed to $(libdir)/../bin by postinstall_cmds
- postinstall_cmds='base_file=`basename \${file}`~
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
- dldir=$destdir/`dirname \$dlpath`~
- test -d \$dldir || mkdir -p \$dldir~
- $install_prog $dir/$dlname \$dldir/$dlname~
- chmod a+x \$dldir/$dlname'
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
- dlpath=$dir/\$dldll~
- $rm \$dlpath'
- shlibpath_overrides_runpath=yes
-
- case $host_os in
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
- ;;
- mingw*)
- # MinGW DLLs use traditional 'lib' prefix
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
- if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
- # It is most probably a Windows format PATH printed by
- # mingw gcc, but we are running on Cygwin. Gcc prints its search
- # path with ; separators, and with drive letters. We can handle the
- # drive letters (cygwin fileutils understands them), so leave them,
- # especially as we might pass files found there to a mingw objdump,
- # which wouldn't understand a cygwinified path. Ahh.
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
- else
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
- fi
- ;;
- pw32*)
- # pw32 DLLs use 'pw' prefix rather than 'lib'
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
- ;;
- esac
- ;;
-
- *)
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
- ;;
- esac
- dynamic_linker='Win32 ld.exe'
- # FIXME: first we should search . and the directory the executable is in
- shlibpath_var=PATH
- ;;
-
-darwin* | rhapsody*)
- dynamic_linker="$host_os dyld"
- version_type=darwin
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
- soname_spec='${libname}${release}${major}$shared_ext'
- shlibpath_overrides_runpath=yes
- shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
-
- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
- ;;
-
-dgux*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
-freebsd1*)
- dynamic_linker=no
- ;;
-
-freebsd* | dragonfly*)
- # DragonFly does not have aout. When/if they implement a new
- # versioning mechanism, adjust this.
- if test -x /usr/bin/objformat; then
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
- freebsd[123]*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
- need_version=no
- need_lib_prefix=no
- ;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
- need_version=yes
- ;;
- esac
- shlibpath_var=LD_LIBRARY_PATH
- case $host_os in
- freebsd2*)
- shlibpath_overrides_runpath=yes
- ;;
- freebsd3.[01]* | freebsdelf3.[01]*)
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
- freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
- freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
- *) # from 4.6 on, and DragonFly
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
- esac
- ;;
-
-gnu*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- hardcode_into_libs=yes
- ;;
-
-hpux9* | hpux10* | hpux11*)
- # Give a soname corresponding to the major version so that dld.sl refuses to
- # link against other versions.
- version_type=sunos
- need_lib_prefix=no
- need_version=no
- case $host_cpu in
- ia64*)
- shrext_cmds='.so'
- hardcode_into_libs=yes
- dynamic_linker="$host_os dld.so"
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- if test "X$HPUX_IA64_MODE" = X32; then
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
- else
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
- fi
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
- ;;
- hppa*64*)
- shrext_cmds='.sl'
- hardcode_into_libs=yes
- dynamic_linker="$host_os dld.sl"
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
- ;;
- *)
- shrext_cmds='.sl'
- dynamic_linker="$host_os dld.sl"
- shlibpath_var=SHLIB_PATH
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- ;;
- esac
- # HP-UX runs *really* slowly unless shared libraries are mode 555.
- postinstall_cmds='chmod 555 $lib'
- ;;
-
-interix[3-9]*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
-
-irix5* | irix6* | nonstopux*)
- case $host_os in
- nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
- esac
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}${shared_ext}$major'
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
- case $host_os in
- irix5* | nonstopux*)
- libsuff= shlibsuff=
- ;;
- *)
- case $LD in # libtool.m4 will add one of these switches to LD
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
- libsuff= shlibsuff= libmagic=32-bit;;
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
- libsuff=32 shlibsuff=N32 libmagic=N32;;
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
- libsuff=64 shlibsuff=64 libmagic=64-bit;;
- *) libsuff= shlibsuff= libmagic=never-match;;
- esac
- ;;
- esac
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- hardcode_into_libs=yes
- ;;
-
-# No shared lib support for Linux oldld, aout, or coff.
-linux*oldld* | linux*aout* | linux*coff*)
- dynamic_linker=no
- ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- # This implies no fast_install, which is unacceptable.
- # Some rework will be needed to allow for fast_install
- # before this can be enabled.
- hardcode_into_libs=yes
-
- # Append ld.so.conf contents to the search path
- if test -f /etc/ld.so.conf; then
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
- fi
-
- # We used to test for /lib/ld.so.1 and disable shared libraries on
- # powerpc, because MkLinux only supported shared libraries with the
- # GNU dynamic linker. Since this was broken with cross compilers,
- # most powerpc-linux boxes support dynamic linking these days and
- # people can always --disable-shared, the test was removed, and we
- # assume the GNU/Linux dynamic linker is in use.
- dynamic_linker='GNU/Linux ld.so'
- ;;
-
-netbsdelf*-gnu)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- dynamic_linker='NetBSD ld.elf_so'
- ;;
-
-netbsd*)
- version_type=sunos
- need_lib_prefix=no
- need_version=no
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- dynamic_linker='NetBSD (a.out) ld.so'
- else
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- dynamic_linker='NetBSD ld.elf_so'
- fi
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- ;;
-
-newsos6)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- ;;
-
-nto-qnx*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- ;;
-
-openbsd*)
- version_type=sunos
- sys_lib_dlsearch_path_spec="/usr/lib"
- need_lib_prefix=no
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
- case $host_os in
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
- *) need_version=no ;;
- esac
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- case $host_os in
- openbsd2.[89] | openbsd2.[89].*)
- shlibpath_overrides_runpath=no
- ;;
- *)
- shlibpath_overrides_runpath=yes
- ;;
- esac
- else
- shlibpath_overrides_runpath=yes
- fi
- ;;
-
-os2*)
- libname_spec='$name'
- shrext_cmds=".dll"
- need_lib_prefix=no
- library_names_spec='$libname${shared_ext} $libname.a'
- dynamic_linker='OS/2 ld.exe'
- shlibpath_var=LIBPATH
- ;;
-
-osf3* | osf4* | osf5*)
- version_type=osf
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}${shared_ext}$major'
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- shlibpath_var=LD_LIBRARY_PATH
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- ;;
-
-rdos*)
- dynamic_linker=no
- ;;
-
-solaris*)
- version_type=linux
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
- # ldd complains unless libraries are executable
- postinstall_cmds='chmod +x $lib'
- ;;
-
-sunos4*)
- version_type=sunos
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=yes
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- fi
- need_version=yes
- ;;
-
-sysv4 | sysv4.3*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- case $host_vendor in
- sni)
- shlibpath_overrides_runpath=no
- need_lib_prefix=no
- export_dynamic_flag_spec='${wl}-Blargedynsym'
- runpath_var=LD_RUN_PATH
- ;;
- siemens)
- need_lib_prefix=no
- ;;
- motorola)
- need_lib_prefix=no
- need_version=no
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- ;;
- esac
- ;;
-
-sysv4*MP*)
- if test -d /usr/nec ;then
- version_type=linux
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
- soname_spec='$libname${shared_ext}.$major'
- shlibpath_var=LD_LIBRARY_PATH
- fi
- ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
- version_type=freebsd-elf
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- hardcode_into_libs=yes
- if test "$with_gnu_ld" = yes; then
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
- shlibpath_overrides_runpath=no
- else
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
- shlibpath_overrides_runpath=yes
- case $host_os in
- sco3.2v5*)
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
- ;;
- esac
- fi
- sys_lib_dlsearch_path_spec='/usr/lib'
- ;;
-
-uts4*)
- version_type=linux
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
-*)
- dynamic_linker=no
- ;;
-esac
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
-echo "${ECHO_T}$dynamic_linker" >&6; }
-test "$dynamic_linker" = no && can_build_shared=no
-
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
-fi
-
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
-fi
-
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
-
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
-if test "$GCC" = yes; then
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
-fi
-
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
-hardcode_action=
-if test -n "$hardcode_libdir_flag_spec" || \
- test -n "$runpath_var" || \
- test "X$hardcode_automatic" = "Xyes" ; then
-
- # We can hardcode non-existant directories.
- if test "$hardcode_direct" != no &&
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
- # have to relink, otherwise we might link with an installed library
- # when we should be linking with a yet-to-be-installed one
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
- test "$hardcode_minus_L" != no; then
- # Linking always hardcodes the temporary library directory.
- hardcode_action=relink
- else
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
- hardcode_action=immediate
- fi
-else
- # We cannot hardcode anything, or else we can only hardcode existing
- # directories.
- hardcode_action=unsupported
-fi
-{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
-echo "${ECHO_T}$hardcode_action" >&6; }
-
-if test "$hardcode_action" = relink; then
- # Fast installation is not supported
- enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
- test "$enable_shared" = no; then
- # Fast installation is not necessary
- enable_fast_install=needless
-fi
-
-striplib=
-old_striplib=
-{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-else
-# FIXME - insert some real tests, host_os isn't really good enough
- case $host_os in
- darwin*)
- if test -n "$STRIP" ; then
- striplib="$STRIP -x"
- old_striplib="$STRIP -S"
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
- ;;
- *)
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- ;;
- esac
-fi
-
-if test "x$enable_dlopen" != xyes; then
- enable_dlopen=unknown
- enable_dlopen_self=unknown
- enable_dlopen_self_static=unknown
-else
- lt_cv_dlopen=no
- lt_cv_dlopen_libs=
-
- case $host_os in
- beos*)
- lt_cv_dlopen="load_add_on"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
- ;;
-
- mingw* | pw32*)
- lt_cv_dlopen="LoadLibrary"
- lt_cv_dlopen_libs=
- ;;
-
- cygwin*)
- lt_cv_dlopen="dlopen"
- lt_cv_dlopen_libs=
- ;;
-
- darwin*)
- # if libdl is installed we need to link against it
- { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen ();
-int
-main ()
-{
-return dlopen ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_lib_dl_dlopen=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_dl_dlopen=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
-if test $ac_cv_lib_dl_dlopen = yes; then
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
-else
-
- lt_cv_dlopen="dyld"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
-
-fi
-
- ;;
-
- *)
- { echo "$as_me:$LINENO: checking for shl_load" >&5
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
-if test "${ac_cv_func_shl_load+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define shl_load to an innocuous variant, in case declares shl_load.
- For example, HP-UX 11i declares gettimeofday. */
-#define shl_load innocuous_shl_load
-
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shl_load (); below.
- Prefer to if __STDC__ is defined, since
- exists even on freestanding compilers. */
-
-#ifdef __STDC__
-# include