From bd360b168b7f2203bc68fb95618ce1c2b9d13761 Mon Sep 17 00:00:00 2001 From: Alexei Sheplyakov Date: Sun, 7 Sep 2008 17:18:04 +0400 Subject: [PATCH] [bugfix] build: generate cl_config.h properly. cl_config.h file was useless due to stupid typo (#ifdef instead of #ifndef, introduced in 7da4d3ae). Fix it. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 63891d0..42be29b 100644 --- a/configure.ac +++ b/configure.ac @@ -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])