--- configure.orig Tue May 3 11:49:26 2005 +++ configure Tue May 3 11:50:09 2005 @@ -3704,10 +3704,10 @@ XLDFLAGS='-expect_unresolved "*" -shared -msym -O3' ;; - FreeBSD) + FreeBSD*) case "`file /bin/ls`" in *ELF*) - XCFLAGS=-fpic + XCFLAGS=-fPIC XLDFLAGS=-shared ;; *)