--=-l22TR5pyHr7m8ZsPsqAv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le mar 16/03/2004 =C3=A0 08:07, Tommi Hassinen a =C3=A9crit : > On Mon, 15 Mar 2004, Michael Banck wrote: >=20 > > On Sun, Feb 15, 2004 at 02:58:10PM +0200, Tommi Hassinen wrote: > > > I made some updates into the v1.01+ version (branch MANY_PROJECTS_BRA= NCH > > > in CVS); it now takes libmopac7 and openbabel CFLAGS and LIBS from > > > pkg-config (although no proper tests exist in configure yet). > > > > Just curious, will you release a 1.02 with these changes? And will ther= e > > be an initial mopac7-0.1 (or whatever it'll be called) release soon? >=20 > Hello, >=20 > yes I think the v1.02 could be released once everything seems to work. An= d > mopac7-0.1 is at the same situation. >=20 > > I'm currently trying to figure out how to get ghemical packaged up for > > the next Debian release. I can still just hack the Makefile myself a bi= t > > and link dynamically to libopenbabel0 - I hope you don't mind? >=20 > Ok, it's just good to test all this stuff. :) >=20 > Currently the compile/link settings are taken from pkg-config and I think > that should be more or less ok. But what is still completely missing is > the tests for existence of these various packages in the configure script= . > So if you add any of these tests, please send me a note so that I can > duplucate them in other places where the tests are needed. Currently >=20 > ghemical-1.01+ needs to test mopac7, openbabel >=20 > libghemical needs to test mopac7 > ghemical>1.01+ needs to test mopac7, openbabel, libghemical >=20 > Also the current build systems are quite similar in these different > versions, which is helpful. So let's discuss about changes, and duplicate > them as much as possible, so that we could keep it that way. Why don't you use PKG_CHECK_MODULES? The configure.in would be simpler, IMHO. Something as: GTK_REQUIRED_VERSION=3D2.0.0 LIBGLADE_REQUIRED_VERSION=3D2.0.0 GTKGLEXT_REQUIRED_VERSION=3D1.0.0 MOPAC7_REQUIRED_VERSOION=3D1.00 LIBGHEMICAL_REQUIRED_VERSION=3D1.51 OPENBABEL_REQUIRED_VERSION=3D1.100.2 PKG_CHECK_MODULES(GHEMICAL,\ gtk+-2.0 >=3D $GTK_REQUIRED_VERSION \ libglade-2.0 >=3D LIBGLADEL_REQUIRED_VERSION \ gtkglext-1.0 >=3D $GTKGLEXT_REQUIRED_VERSION \ libmopac7 >=3D $MOPAC7_REQUIRED_VERSION \ libghemical >=3D LIBGHEMICAL_REQUIRED_VERSION \ openbabel >=3D $OPENBABEL_REQUIRED_VERSION) AC_SUBST(GHEMICAL_CFLAGS) AC_SUBST(GHEMICAL_LIBS) With this GHEMICAL_CFLAGS and GHEMICAL_LIBS will contain all the required flags. Note I mention here libglade-2.0. Use of libglade-config ressults in the use of libglade-0.17 or earlier which is not a good idea. Regards, Jean --=-l22TR5pyHr7m8ZsPsqAv 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) iD8DBQBAVt/BUkVLHK5zOkcRAsgrAKCjsLNLW7GBrFmh+y87Uhxq+7eXHACfaKPJ k4k+RGcZUqf8hjeyopEVASQ= =s0cU -----END PGP SIGNATURE----- --=-l22TR5pyHr7m8ZsPsqAv--