bug-autogen
[Top][All Lists]
Advanced

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

[Bug-autogen] "misc.def" xml2-config problem


From: Tomas B . Winkler
Subject: [Bug-autogen] "misc.def" xml2-config problem
Date: Sun, 30 Jun 2002 19:22:38 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610

f=`xml2-config --cflags | \
                       sed 's,-I */usr/include,,'`

produce
echo $f
/libxml2/libxml -I/usr/include/libxml2 -I/include
which of course is incorrect include flag. I suggest to remove the sed filter at all. If the sed script is intended to remove /usr/include from CFLAGS it should be something like sed 's,-I[[:blank:]]*/usr/include[[:>:]],,g' where [[:>:]] is the word boundary, which is actually not POSIX so has to be replaced by something more complex.

--
Tomas B. Winkler
HUJI CSE





reply via email to

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