summaryrefslogtreecommitdiff
blob: dbb2b3e2bf6c57d1e23a8604f0a5eb066725eead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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)