From 7039d37732a0524f29613ecb50ff45d5a5c07afd Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 7 Apr 2008 21:32:02 +0000 Subject: [PATCH] Fix VPATH build [Alexei Sheplyakov]. --- ChangeLog | 4 ++++ configure.ac | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 25d45a4..405fa77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-07 Alexei Sheplyakov + + * configure.ac: create subdirectory to hold auto-generated headers. + 2008-04-07 Alexei Sheplyakov Re-esatblish 1.2.0 ABI, broken 2008-02-22: diff --git a/configure.ac b/configure.ac index d9c5d66..32325d9 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,13 @@ dnl checks for compiler characteristics dnl AC_C_CHAR_UNSIGNED dnl DEFS __CHAR_UNSIGNED__ if char is unsigned + +dnl Create a subdirectory in the ${top_builddir} to hold auto-generated +dnl headers. This subdirectory does not exist when ${top_builddir} != ${top_srcdir} +dnl (a.k.a. "VPATH build"). +if test ! -d include/cln; then + AS_MKDIR_P([include/cln]) +fi 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)