Ok, the first problem shows up when running
autoheader:
autoheader-2.60: warning: missing template:
INCLUDE_LATIN1
autoheader-2.60: Use AC_DEFINE([INCLUDE_LATIN1], [],
[Description])
autoheader-2.60: warning: missing template:
PDC_MAX_SIGNALS
autoheader-2.60: warning: missing template:
USE_NEXTAW
autoheader-2.60: warning: missing template: USE_XAW3D
The second problem is that the following line
configure.ac overwrites the provided CFLAGS when
using gcc:
if test "$ac_cv_prog_CC" = "gcc"; then
if test "$with_debug" = yes; then
CFLAGS="${CFLAGS} -Wall"
else
CFLAGS="-O2 -Wall -fomit-frame-pointer"
fi
fi
The patch attached solves both issues.
pdcurses-2.8-configure.patch
Logged In: YES
user_id=27933
OK, I've implemented your AC_DEFINE changes, plus a lot more
(all the HAVE_XK_* stuff, etc.), in CVS. autoheader works.
Let me get back to you on CFLAGS. I want to study it a bit more.