[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Appending to config.log
From: |
Thomas Dickey |
Subject: |
Re: Appending to config.log |
Date: |
Sat, 18 May 2002 11:06:16 -0400 |
User-agent: |
Mutt/1.2.5i |
On Sat, May 18, 2002 at 09:15:23AM -0500, Mark D. Roth wrote:
> On Fri May 17 09:55 2002 -0700, address@hidden wrote:
> > ==> "mdr" == Mark D Roth <address@hidden> 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 <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
Re: Appending to config.log, Akim Demaille, 2002/05/20