[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question: Configuration Header Templates
From: |
Jeffrey Walton |
Subject: |
Question: Configuration Header Templates |
Date: |
Sun, 14 Feb 2010 23:12:21 -0500 |
Hi All,
If this is a duplicate question (which I suspect it is), please
forgive me. Search is returning so many irrelevant entries that I
can't find the answer. I also looked in the manual (particularly
Configuration Header Templates), but I did not grasp what I need to
do.
In configure.ac, I have the following:
dnl bignums
AC_ARG_ENABLE([bignum-forcing], AS_HELP_STRING([--enable-bignum-forcing],
[Force the usage of the 64 bits bignum ...]),
[force_bignums=$enableval], [force_bignums=no])
if test "x$force_bignums" = "xyes"; then
AC_DEFINE([PDF_FORCE_BIGNUMS],[0],[Force the usage of the 64 bits
bignum ...])
fi
After bootstrap/configure, this produces (in config.h):
/* Force the usage of the 64 bits bignum ... */
/* #undef PDF_FORCE_BIGNUMS */
Changing to 'AC_DEFINE([PDF_FORCE_BIGNUMS],[1],...' results in:
After configure, this produces:
/* Force the usage of the 64 bits bignum ... */
#undef PDF_FORCE_BIGNUMS
What I'm looking for (notice the a #define is used, and the define is
commented):
/* Force the usage of the 64 bits bignum ... */
/* #define PDF_FORCE_BIGNUMS */
Any ideas on what knob I should turn?
Thanks,
Jeff
- Question: Configuration Header Templates,
Jeffrey Walton <=