Option de compilation pour les bibliotheques. On peut generer aux

choix des bibliotheques statiques, dynamiques, ou les deux, plus la
version correspondante des outils qui seront donc lies statiquement
ou dynamiquement.

Utilisation:
./configure                                    par defaut, bibliotheques statiques
./configure --enable-static --disable-shared   bibliotheques statiques
./configure --disable-static --enable-shared   bibliotheques dynamique
./configure --enable-shared                    bibliotheques statiques et dynamiques
./configure --enable-shared --enable-static    bibliotheques statiques et dynamiques
This commit is contained in:
Pierre Nguyen Tuong 2002-09-23 15:15:50 +00:00
parent 22678d9abc
commit 8c1d84eb12
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,10 @@ AC_ARG_ENABLE(system64,
--enable-system64 enable compilation on 64 bits systems (default is 32 bits),
AC_DEFINE(SYSTEM64))
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
AC_MSG_CHECKING(for alliance)
if test x$alliance_top != x ; then
ALLIANCE_CFLAGS="-I$alliance_top/include"

View File

@ -25,7 +25,7 @@ dnl Almost ten years since I wrote this stuff, I just can't
dnl believe it
dnl Date : 01/02/2002
dnl Author : Frederic Petrot <Frederic.Petrot@lip6.fr>
dnl $Id: configure.in,v 1.27 2002/09/10 17:42:33 pnt Exp $
dnl $Id: configure.in,v 1.28 2002/09/23 15:15:50 pnt Exp $
dnl
dnl
AC_INIT(./configure.in)
@ -70,6 +70,10 @@ changequote([,])dnl
AC_CONFIG_SUBDIRS($sdirs)
AC_SUBST(SUBDIRS)
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
AC_OUTPUT([
Makefile
])