[ghemical-devel] Re: Ghemical 1.51 and/or HEAD compilation?

Jean Bréfort jean.brefort@ac-dijon.fr
13 May 2004 08:50:09 +0200


--=-sZ/gpVD5A+pY1W4M+TL2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le jeu 13/05/2004 =C3=A0 08:00, Tommi Hassinen a =C3=A9crit :

> Now the situation of libghemical is that it works with external OpenBabel
> and mopac7 libraries, but the configure script is incomplete so that it
> does not give any warning/error messages if any of those libraries seem t=
o
> be missing. It uses pkg-config to get the header and library information,
> and that part is OK, but no error checking. I'm sure someone even sent me
> an example script, but it's still somewhere in my mailbox...

I did I far as I remember. The sample was something as (for ghemical):

LIBMOPAC7_REQUIRED_VERSION=3D1.00
OPENBABEL_REQUIRED_VERSION=3D1.100.2
LIBGHEMICAL_REQUIRED_VERSION=3D1.51

PKG_CHECK_MODULES(GHEMICAL, \
libmopac7 >=3D $LIBMOPAC7_REQUIRED_VERSION=3D1. \
openbabel >=3D $OPENBABEL_REQUIRED_VERSION \
libghemical >=3D $LIBGHEMICAL_REQUIRED_VERSION)


AC_SUBST(GHEMICAL_CFLAGS)
AC_SUBST(GHEMICAL_LIBS)

Jean


--=-sZ/gpVD5A+pY1W4M+TL2
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAoxqhUkVLHK5zOkcRAtbmAJ9owo22or0iK0I9TncIZzdqjgS1UgCcCjOY
/Z1Qmq+/g3uEmIxzWApCZvY=
=IWDv
-----END PGP SIGNATURE-----

--=-sZ/gpVD5A+pY1W4M+TL2--