elastic-config - elastiC configuration tracker
==============================================

Marco Pantaleoni (panta@elasticworld.org)

1. SYNOPSIS
===========

elastic-config [ --prefix ] [ --exec-prefix ] [ --prefix ] [ --bindir
] [ --libs ] [ --cflags ] [ --ccshared ] [ --ldshared ] [
--linkforshared ] [ --so ] [ --cc ] [ --version ]

2. DESCRIPTION
==============

elastic-config purpose is to give information on the installed version
of elastiC and on compilation flags to use when creating modules. For
an example of a complete module, see the 'skeleton' module.

3. OPTIONS
==========

o    --prefix display elastiC `configure' time --prefix option

o    --exec-prefix display elastiC `configure' time --exec-prefix
     option

o    --bindir display elastiC `configure' time --bindir option

o    --libs display compiler flags to link elastiC modules

o    --cflags display compiler flags to compile elastiC modules

o    --ccshared display additional compiler flags necessary to compile
     dynamically loadable elastiC modules

o    --ldshared display compiler command necessary to link a
     dynamically loadable elastiC module

o    --linkforshared display compiler switches necessary to link a
     dynamically loadable elastiC module

o    --so display shared objects extension (for dynamically loadable
     modules)

o    --cc display compiler command used to compile elastiC

o    --version display elastiC version

4. RETURN VALUE
===============

On a fatal error, the program returns an exit code greater than 0.

5. EXAMPLES
===========

 elastic-config --prefix

 CFLAGS=`elastic-config --cflags`

 CCSHARED=`elastic-config --ccshared`

 LDSHARED=`elastic-config --ldshared`

 LDFLAGS=`elastic-config --libs`

 SO=`elastic-config --so`

6. SEE ALSO
===========

the elastic(1) manpage: for the language

7. BUGS
=======

None known.

8. AUTHOR
=========

Marco Pantaleoni (panta@elasticworld.org)

9. COPYRIGHT
============

Copyright (C) 1997-2000 Marco Pantaleoni. All rights reserved.

The contents of this file are subject to the elastiC License version
1.0 (the "elastiC License"); you may not use this file except in
compliance with the elastiC License. You may obtain a copy of the
elastiC License at http://www.elasticworld.org/LICENSE

IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHOR AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

See the elastiC License for the specific language governing rights and
limitations under the elastiC License.

