m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: 43-gary-use-c99-bool.patch


From: Akim Demaille
Subject: Re: FYI: 43-gary-use-c99-bool.patch
Date: Mon, 18 Aug 2003 17:29:05 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > +if test $ac_cv_header_stdbool_h = yes; then
 > +  INCLUDE_STDBOOL_H='#include <stdbool.h>'
 > +else
 > +  INCLUDE_STDBOOL_H='typedef enum {false = 0, true = 1} bool'
 > +fi
 > +AC_SUBST([INCLUDE_STDBOOL_H])

Have a look at Bison instead.  The solution is far less obvious than
that.  It's probably time to move this into Autoconf btw.

Attachment: stdbool.m4
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]