]> www.ginac.de Git - cln.git/commitdiff
Fix VPATH build [Alexei Sheplyakov].
authorRichard Kreckel <kreckel@ginac.de>
Mon, 7 Apr 2008 21:32:02 +0000 (21:32 +0000)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 7 Apr 2008 21:32:02 +0000 (21:32 +0000)
ChangeLog
configure.ac

index 25d45a4917a33cfb7947a484a3c96588e2e736e0..405fa778624500c02fef1ce08dbf86ff8aaa41cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-07  Alexei Sheplyakov  <varg@theor.jinr.ru>
+
+       * configure.ac: create subdirectory to hold auto-generated headers.
+
 2008-04-07  Alexei Sheplyakov  <varg@theor.jinr.ru>
 
        Re-esatblish 1.2.0 ABI, broken 2008-02-22:
index d9c5d6667927d2622a3beb5d7621dfc8898c4ecc..32325d9b58fe51c0949f185a7d75b1573a768444 100644 (file)
@@ -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)