:: FIXED ::
Converting the if/fi to an AS_IF fixes the problem.
Specifically, when I change this code:
if test 0 = 1; then
echo " In conditional block 1 "
AC_LIBTOOL_WIN32_DLL
else
echo " In conditional block 2 "
fi
to:
==
las C. MacKenzie
Cc: autoconf@gnu.org
Subject: Re: Problem with macro inside inactive conditional changing
autoconf behavior
Date: Sun, 31 Jan 2010 15:54:36 +0100
Hello Douglas,
* Dr. Douglas C. MacKenzie wrote on Fri, Jan 29, 2010 at 09:29:31PM CET:
> I am having trouble with a configure.ac file
Hello Douglas,
* Dr. Douglas C. MacKenzie wrote on Fri, Jan 29, 2010 at 09:29:31PM CET:
> I am having trouble with a configure.ac file after upgrading from
> libtool 1.5 to 2.2.6 as part of moving from Fedora 10 to Fedora 12.
[...]
> > AC_ARG_VAR(COMPILER, "Use COMPILER=MSC to compile for WIN32 us
I am having trouble with a configure.ac file after upgrading from
libtool 1.5 to 2.2.6 as part of moving from Fedora 10 to Fedora 12.
The file is:
> AC_PREREQ(2.52)
> AC_INIT([testing], [2.0], [testing], [testing])
> AC_CONFIG_MACRO_DIR([m4])
> AM_INIT_AUTOMAKE
> AC_CONFIG_SRCDIR([testing.spec.in