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

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


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

Modified Files:
	configure configure.in 
Log Message:
fix to not set NEEDS_LIBRT when --disable-server is present


Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -p -u -r1.260 -r1.261
--- configure	10 Nov 2005 18:59:24 -0000	1.260
+++ configure	10 Nov 2005 20:53:20 -0000	1.261
@@ -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.263 -r1.264
--- configure.in	10 Nov 2005 18:59:25 -0000	1.263
+++ configure.in	10 Nov 2005 20:53:21 -0000	1.264
@@ -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