>>>>> "Martin" == Martin Buchholz <[EMAIL PROTECTED]> writes:

>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
Martin> (XEmacs redefines AC_DEFINE)

Tom> Wow, why?

Martin> To support the --extra-verbose option

I don't have your failure.

/tmp % cat configure.in                                           nostromo 9:07
dnl Redefine AC_DEFINE* to provide more output if extra_verbose
dnl Set VARIABLE to VALUE, verbatim, or 1.
dnl AC_DEFINE(VARIABLE [, VALUE])
define([AC_DEFINE],
[{ test "$extra_verbose" = "yes" && cat << \EOF
    Defining $1[]ifelse($#, 2, [ = $2],)
EOF
cat >> confdefs.h <<\EOF
[#define] $1 ifelse($#, 2, [$2], 1)
EOF
}
])dnl AC_DEFINE

AC_INIT
cat >config.h.in <<EOF
#undef MARTIN
EOF
AC_CONFIG_HEADERS(config.h)
AC_DEFINE(MARTIN, Buchholz)
AC_OUTPUT
/tmp % ~ace/autoconf -m ~ace                                      nostromo 9:07
/tmp % ./configure extra_verbose=yes                              nostromo 9:07
loading cache ./config.cache
    Defining MARTIN = Buchholz
creating ./config.status
creating config.h
/tmp % cat config.h                                               nostromo 9:07
/* config.h.  Generated automatically by configure.  */
#define MARTIN Buchholz



May I ask why you have an option --extra-verbose instead of just
having a more verbose config.log?  Is it intended to help the
installer, or the help the maintainer understand what happened?

Akim

Reply via email to