On Sat, May 18, 2002 at 09:15:23AM -0500, Mark D. Roth wrote:
> On Fri May 17 09:55 2002 -0700, [EMAIL PROTECTED] wrote:
> > ==> "mdr" == Mark D Roth <[EMAIL PROTECTED]> writes:
> > 
> >     mdr> To address this problem, I'd like to see the following two
> >     mdr> macros added to autoconf:
> > 
> >     mdr> AC_LOG(TEXT) ------------ Append TEXT to config.log.
> > 
> > AC_DEFUN([AC_LOG],[dnl
> > echo "$1" 1>&5
> > ])dnl
> 
> Do we know that file descriptor 5 will always be sent to config.log?
> That's not documented anywhere, so I don't know that we can count on
> it.  I think what really need here is a documented macro supplied by
> autoconf that allows us to use the appropriate file descriptor, no
> matter what it is.
> 
> I'll throw together a patch for this and mail it to the list when I
> have a chance.

(been there/done that/been ignored - 1997):

dnl Write a debug message to config.log, along with the line number in the
dnl configure script.
AC_DEFUN([CF_MSG_LOG],[
echo "(line __oline__) testing $* ..." 1>&AC_FD_CC
])dnl

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Reply via email to