--- configure 2007-01-02 21:58:49.000000000 -0600 +++ configure 2007-01-02 21:59:16.000000000 -0600 @@ -115,7 +115,7 @@ then if runcmd $CC -o testconf testconf.c -lm then - LDFLAGS="$LDFLAGS -lm" + LDFLAGS="-lm $LDFLAGS" fi fi rm -f testconf.c testconf