[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Patch for res_init() check in acinclude.m4.in
From:       Albert Chin-A-Young <china () thewrittenword ! com>
Date:       2003-04-07 18:13:47
[Download RAW message or body]

On Mon, Apr 07, 2003 at 10:20:15AM +0200, Michael Matz wrote:
> Hi,
> 
> On Fri, 4 Apr 2003, Marcus Camen wrote:
> 
> > -    [ AC_MSG_RESULT(no) ]
> > -  )
> > +    [res_init()],
> 
> This must be a complete C-statement, i.e. including the final ';'.  Given
> that it is missing here, I suppose this never was correctly tested, so I'm
> not yet applying it yet.  But if you fix, I might ;-)

Really? From acinclude.m4:
AC_DEFUN(AC_CHECK_SETENV,
[
        KDE_CHECK_FUNC_EXT(setenv, [
#include <stdlib.h>
], 
                [setenv("VAR", "VALUE", 1);],
                [int setenv (const char *, const char *, int)],
                [SETENV])
])

The ';' is added automatically by autoconf.

-- 
albert chin (china@thewrittenword.com)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic