autoconf
[Top][All Lists]
Advanced

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

breaking long AC_CHECK_FUNCS lines?


From: Dan Kegel
Subject: breaking long AC_CHECK_FUNCS lines?
Date: Mon, 23 Dec 2002 14:52:13 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

I found the following in kaffe's configure.in:

AC_CHECK_FUNCS([dnl
strerror hstrerror dnl
fcntl ioctl dnl
alarm setitimer dnl
sigprocmask sigsetmask sigemptyset sigaddset signal sigaction dnl
sbrk valloc memalign mallopt dnl
mprotect madvise dnl
waitpid kill fork execve execvp dnl
sync fsync dnl
atexit on_exit vsnprintf snprintf dnl
])

This appears to no longer work with autoconf 2.53; it causes
seriously confused output.  Replacing this idiom with the single-line idiom

AC_CHECK_FUNCS(strerror hstrerror fcntl ioctl alarm setitimer sigprocmask sigsetmask sigemptyset sigaddset signal sigaction sbrk valloc memalign mallopt mprotect madvise waitpid kill fork execve execvp sync fsync atexit on_exit vsnprintf snprintf)

seems to work better, but is hard to read.  What's the
proper way to break lines in that situation?
- Dan




reply via email to

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