]> www.ginac.de Git - cln.git/commitdiff
[bugfix] build: generate cl_config.h properly.
authorAlexei Sheplyakov <varg@theor.jinr.ru>
Sun, 7 Sep 2008 13:18:04 +0000 (17:18 +0400)
committerAlexei Sheplyakov <varg@theor.jinr.ru>
Sun, 7 Sep 2008 14:42:18 +0000 (18:42 +0400)
cl_config.h file was useless due to stupid typo (#ifdef instead of #ifndef,
introduced in 7da4d3ae). Fix it.

configure.ac

index 63891d00280a7862da90d4156fafb1467f267060..42be29ba1bc9d88a96ed6996fd4891199a0aed99 100644 (file)
@@ -26,7 +26,8 @@ AC_CONFIG_SRCDIR(src/integer/gcd/cl_I_gcd.cc)
 AC_CONFIG_AUX_DIR([autoconf])
 AC_CONFIG_HEADERS(autoconf/cl_config.h include/cln/config.h include/cln/host_cpu.h include/cln/version.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/timing/cl_t_config.h)
 AM_INIT_AUTOMAKE([foreign 1.8 dist-bzip2])
-AH_TOP([#ifdef _CL_CONFIG_H])
+AH_TOP([#ifndef _CL_CONFIG_H])
+AH_TOP([#define _CL_CONFIG_H])
 AH_TOP([#include "cln/host_cpu.h"])
 AH_TOP([/* prevents cln/config.h from being included, so no macro gets redefined */])
 AH_TOP([#define _CL_CONFIG_PUBLIC_H])