On Jul 31, 2009, at 3:56 AM, Tomi Vainio wrote: > I got a second thought about this. Maybe this time I just should set > all extra include definitions through CPPFLAGS or mysql can be set > --with-mysql and of cource move linking flags to LDFLAGS? Yes, CPPFLAGS and LDFLAGS are the right way to add -I and -L paths.