--- pvfs-2.7.0/configure.in 2007-11-13 17:41:52.000000000 -0500 +++ pvfs-2.7.0_patched/configure.in 2008-03-09 20:56:55.000000000 -0400 @@ -933,12 +933,14 @@ AC_ARG_ENABLE(static-server, [ --enable-static-server Builds the server static], -[ +[ staticserver=$enableval ], +[ staticserver="no" ] ) + +if test "$staticserver" = "yes"; then SERVER_LDFLAGS="$LDFLAGS -static" -], -[ +else SERVER_LDFLAGS="$LDFLAGS -rdynamic" -]) +fi AC_SUBST(SERVER_LDFLAGS)