[PVFS2-CVS] commit by slang in pvfs2: configure configure.in

CVS commit program cvs at parl.clemson.edu
Thu Nov 10 15:46:02 EST 2005


Update of /projects/cvsroot/pvfs2
In directory parlweb:/tmp/cvs-serv16551

Modified Files:
      Tag: pvfs2-1-3-1-branch
	configure configure.in 
Log Message:
fix --disable-server bug introduced with NEEDS_LIBRT


Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -p -u -r1.258.2.2 -r1.258.2.3
--- configure	10 Nov 2005 19:41:43 -0000	1.258.2.2
+++ configure	10 Nov 2005 20:46:00 -0000	1.258.2.3
@@ -8747,6 +8747,7 @@ rm -f conftest.err conftest.$ac_objext c
 fi;
 fi
 
+if test "x$BUILD_SERVER" = "x1"; then
 
 
 echo "$as_me:$LINENO: checking if server lib needs -lrt" >&5
@@ -8858,6 +8859,7 @@ rm -f conftest.err conftest.$ac_objext \
 
 LDFLAGS=$oldldflags
 
+fi
 
 case "$host_os" in
 

Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -p -u -r1.261.2.2 -r1.261.2.3
--- configure.in	10 Nov 2005 19:41:44 -0000	1.261.2.2
+++ configure.in	10 Nov 2005 20:46:01 -0000	1.261.2.3
@@ -823,8 +823,10 @@ if test "x$NEED_BERKELEY_DB" = "xyes" ; 
 fi
 dnl end of NEED_BERKELEY_DB section
 
-dnl check if -lrt is required
-AX_CHECK_NEEDS_LIBRT
+if test "x$BUILD_SERVER" = "x1"; then
+	dnl check if -lrt is required
+	AX_CHECK_NEEDS_LIBRT
+fi
 
 case "$host_os" in
 



More information about the PVFS2-CVS mailing list