2008-06-20 18:59:26 Justin Erenkrantz napisaƂ(a):
> On Fri, Jun 20, 2008 at 8:58 AM, William A. Rowe, Jr.
> <[EMAIL PROTECTED]> wrote:
> >  dnl Various OS checks that apparently set required flags
> > -AC_AIX
> > +AC_USE_SYSTEM_EXTENSIONS
> >  AC_ISC_POSIX
> > -AC_MINIX
> 
> Isn't it possible to do some m4 conditionals based on the autoconf
> version instead?  Not as clean, but it won't force our developers to
> upgrade to 2.6x.  I think it'd be something close to:
> 
> ifelse(regexp(AC_ACVERSION, 2\.6), -1, [
> AC_AIX
> AC_MINIX],[
> AC_USE_SYSTEM_EXTENSIONS
> ])

'ifdef' would be better:

ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_USE_SYSTEM_EXTENSIONS], [
AC_AIX
AC_MINIX
])

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to