|
From: CELLERIER A D. <Ant...@so...> - 2005-08-12 08:13:38
|
(Sorry if this message was already received by some of you but i don't thin=
k that it ever made it to the mailing list)
Here is a small patch to configure.ac so that relative paths with the
--with-boost-include and --with-boost-lib work.
Regards,
--=20
Antoine Cellerier
--- tmp/QuantLib-0.3.10/configure.ac 2005-03-18 10:13:20.000000000 +0100
+++ QuantLib-0.3.10/configure.ac 2005-08-11 15:03:07.673856400 +0200
@@ -36,7 +36,7 @@
AC_ARG_WITH([boost-include],
AC_HELP_STRING([--with-boost-include=3DINCLUDE_PATH],
[Supply the location of Boost header files]),
- [ql_boost_include_path=3D$withval],
+ [ql_boost_include_path=3D"`cd ${withval} 2>/dev/null && pwd`"],
[ql_boost_include_path=3D""])
if test [ -n "$ql_boost_include_path" ] ; then
AC_SUBST([CPPFLAGS],["${CPPFLAGS} -I${ql_boost_include_path}"])
@@ -44,7 +44,7 @@
AC_ARG_WITH([boost-lib],
AC_HELP_STRING([--with-boost-lib=3DLIB_PATH],
[Supply the location of Boost libraries]),
- [ql_boost_lib_path=3D$withval],
+ [ql_boost_lib_path=3D"`cd ${withval} 2>/dev/null && pwd`"],
[ql_boost_lib_path=3D""])
if test [ -n "$ql_boost_lib_path" ] ; then
AC_SUBST([LDFLAGS],["${LDFLAGS} -L${ql_boost_lib_path}"])
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Ce message et toutes les pieces jointes (ci-apres le "message")=20
sont confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.=20
Tout message electronique est susceptible d'alteration.=20
La SOCIETE GENERALE et ses filiales declinent toute responsabilite
au titre de ce message s'il a ete altere, deforme ou falsifie.
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
This message and any attachments (the "message") are confidential
and intended solely for the addressees.
Any unauthorized use or dissemination is prohibited.=20
E-mails are susceptible to alteration. =20
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
|