Adding LDFLAGS. I don't know yet a good solution (within GNU make) to test whether -lm is needed or not... It's time to use autoconf! Werner