In 21.4.14, configure.in defines
xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system
$c_switch_x_site $X_CFLAGS'
...
ac_cpp='$CPP '"$xe_cppflags"
...
CPP=`eval "echo $CPP $CPPFLAGS"`
which means that anything using $ac_cpp will see CPPFLAGS twice. This
is causing me grief, because of a -DTEXT_DOMAIN="" that is in the
CPPFLAGS that's defined by the workspace that I'm building XEmacs
in.[1]
XEmacs doesn't use TEXT_DOMAIN, so I think I can work around this via
some Companion CD makefile hackery. But this does seem like a bit of
ugliness in configure.in. Would it be possible to take out the CPP=
line and then use $ac_cpp instead of $CPP?
thanks,
mike
[1] configure executes statements that look like
...gcc -E -DTEXT_DOMAIN= ... -DTEXT_DOMAIN="" ...
and gcc complains with
*Initialization*:1: warning: `TEXT_DOMAIN' redefined
*Initialization*:1: warning: this is the location of the previous definition
and "configure" takes this to mean that the command failed.
--
Mike Kupfer mike.kupfer(a)sun.com
XEmacs maintainer, Solaris Companion CD
Show replies by date