Dear Richard, On Sat, Apr 05, 2008 at 11:45:51PM +0200, Richard B. Kreckel wrote:
Hi!
CLN 1.2.2 has been released.
This commit Author: Richard Kreckel <kreckel@ginac.de> Date: Sat Mar 15 21:13:51 2008 +0000 Optional support for configure --with-gmp=GMP-PREFIX. breaks VPATH builds: $ mkdir _build; cd _build $ ../configure --disable-static [skipped autoconfish boilerplate] configure: checking for integer types and behaviour... creating include/cln/intparam.h mv: cannot move `conftest.h' to `include/cln/intparam.h': No such file or directory configure: checking for floating-point types and behaviour... creating include/cln/floatparam.h mv: cannot move `conftest.h' to `include/cln/floatparam.h': No such file or directory The patch below reverts incorrect changes: diff --git a/configure.ac b/configure.ac index d9c5d66..048996a 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,7 @@ dnl checks for compiler characteristics dnl AC_C_CHAR_UNSIGNED dnl DEFS __CHAR_UNSIGNED__ if char is unsigned +test -d 'include/cln' || mkdir -p 'include/cln' CL_MACHINE([integer types and behaviour],${srcdir}/autoconf/intparam.c,[CL_INTPARAM_CROSS],include/cln/intparam.h,cl_cv_file_intparam_h) dnl builds include/cln/intparam.h CL_MACHINE([floating-point types and behaviour],${srcdir}/autoconf/floatparam.c,[CL_FLOATPARAM_CROSS],include/cln/floatparam.h,cl_cv_file_floatparam_h) BTW, --with-gmp=PREFIX doesn't work properly and is very confusing. It doesn't set correct linker flags, so the *run-time* linker either can't find libgmp.so or even worse -- uses one found in the default library search path. Best regards, Alexei -- All science is either physics or stamp collecting.