Bugs item #7, was opened at 07/05/2004 13:38
You can respond by visiting:
http://gforge.lrde.epita.fr/tracker/?func=detail&atid=103&aid=7&…
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Akim Demaille (akim)
Assigned to: Nobody (None)
Summary: configure: Use of --with-PACKAGE
Initial Comment:
Théo souhaite (depuis des années) que Olena soit construite en petite:
la bibliothèque seulement par défaut : pas la doc, pas les tools
etc...
Il faudrait changer configure.ac en conséquence, ainsi que README bien
sûr !
De plus il y a mauvaise compréhension de --enable et --with.
Doc Autoconf :
| 12.1 Working With External Software
| ===================================
|
| Some packages require, or can optionally use, other software packages
| that are already installed. The user can give `configure' command line
| options to specify which such external software to use. The options
| have one of these forms:
|
| --with-PACKAGE[=ARG]
| --without-PACKAGE
|
| For example, `--with-gnu-ld' means work with the GNU linker instead
| of some other linker. `--with-x' means work with The X Window System.
|
| [...]
|
| 12.2 Choosing Package Options
| =============================
|
| If a software package has optional compile-time features, the user can
| give `configure' command line options to specify whether to compile
| them. The options have one of these forms:
|
| --enable-FEATURE[=ARG]
| --disable-FEATURE
| [...]
Olena/configure --help :
| 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
| --disable-manpages-regen
| force disable regeneration of manual pages
|
| Optional Packages:
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
| --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
| --with-oln=DIR Include directory where Olena is installed
| (optional)
| --with-zlib[=DIR] using zlib (DIR = prefix for zlib installation)
| --with-fftw[=DIR] using fftw (DIR = prefix for fftw installation)
# | --without-oln-testsuite disable building the olena's testsuite
# | --with-oln-tests=<list> none,all,convert,convol,io,morpho,sanity,transforms
# | --without-ntg-testsuite disable building the integre's testsuite
# | --with-ntg-tests=<list> none,types
# | --without-mlc-testsuite disable building the metalic's testsuite
# | --with-mlc-tests=<list> none,array,main
| Doxygen is needed to build the doc
# | --without-doc disable building the documentation
# | --without-doc-ref disable building the Olena reference manuals
# | --without-doc-dev disable building the Olena development manual
# | --without-demo disable building the demonstration programs
# | --without-tools disable building the run-time tools
# | --without-utilities disable building the command-line utilities
# | --without-morpho-utilities
| disable building the morpho utilities
# | --without-swilena disable building the SWIG interface to Olena
# | --without-pylena disable building the Python interface to Olena
| Include path for Python.h
# | --without-rblena disable building the Ruby interface to Olena
| Include path for ruby.h
Tous les # sont des trucs à inverser de --without à disable, de
AC_ARG_WITH à AC_ARG_ENABLE.
Pour finir, je ne comprends pas la dernière ligne, toute seule.
----------------------------------------------------------------------
You can respond by visiting:
http://gforge.lrde.epita.fr/tracker/?func=detail&atid=103&aid=7&…