# To subscribers of the xforms list from Angus Leeming <angus.leeming@btopenworld.com> :
On Thursday 24 April 2003 9:08 am, Lars Gullik Bjønnes wrote:
> | If we keep forms.h in lib/include, then we need to tell the .c files
> | where to find it. Something like:
> |
> | for file in */*.c; do
> | grep "^#include \"forms\.h\"" > /dev/null $file || continue
> | sed 's/^\(#include \"\)\(forms\.h\"\)/\1include/\2/' $file
> | > tmp cmp -s $file tmp && continue
> | diff -u $file tmp
> | mv -i tmp $file
> | done
> | rm -f tmp
>
> Or just add a -Iinclude to the compile command.
I prefer the explicit #include "include/forms.h". No room for confusion. I'll
do the necessary and commit this particular change.
Angus
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
Development: http://savannah.nongnu.org/files/?group=xforms
This archive was generated by hypermail 2b29 : Thu Apr 24 2003 - 05:12:49 EDT