autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_HEADERS long list error


From: David Thompson
Subject: Re: AC_CHECK_HEADERS long list error
Date: Wed, 27 Mar 2002 22:12:30 -0700

This is with autoconf 2.52.

David

Lars Hecking writes:

 > AC_CHECK_HEADERS( file.h file1.h ... file6.h \
 > file7.h file8.h ... file12.h \
 > file13.h)
 >
 > However, the code produced by the macro doesn't copy the '\' so it
 > sees the newline and obviously breaks. Is there anyway around this
 > other than to write a bunch of AC_CHECK_HEADERS (thus expanding the
 > configure code a bunch?)

  Just leave out the '\'.

 Hhm, I just re-checked ...

 You didn't say which version of autoconf! The '\' are indeed required,
 and this works fine with autoconf 2.13. I have had such code in gnuplot's
 configure.in for ages.



--
.............................................................................
David L. Thompson                          The University of Montana
mailto:address@hidden                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530



reply via email to

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