artsc-config in arts > 1.1.90 has:
--cflags) flags="$flags -I$includedir/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "
When you try to build Wine this gives an error in winearts:
make[2]: Entering directory `/usr/src/redhat/BUILD/wine-20040121/dlls/winmm/winearts' ../../../tools/makedep -I. -I. -I../../../include -I../../../include -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -C. arts.c audio.c Unknown option '-pthread'
I've worked around it by changing artsc-config, but It seems a better fix is needed.
sean