[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 15:54:58 -0700 |
> 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 '\'.
If I just leave out the '\', as you say, I still get the same error.
If I look at the produced code in the configure script, I see
for ac_header in file.h file1.h ... file6.h
file7.h file8.h ... file12.h
file13.h
do
Which is a shell error. If the \ were propogated to configure, this
would be okay or if quotes were put around I think it would be
alright (but not sure).
--
.............................................................................
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