Help save net neutrality! Learn more.
Close

#46 configure.ac problems (with autoconf-2.60)

open
None
5
2006-08-23
2006-08-12
No

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.

Discussion

  • William McBrine

    William McBrine - 2006-08-23
    • assigned_to: nobody --> wmcbrine
     
  • William McBrine

    William McBrine - 2006-08-23

    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.