[Pvfs2-cvs] commit by pw in pvfs2: configure

CVS commit program cvs at parl.clemson.edu
Sun Feb 3 10:27:35 EST 2008


Update of /projects/cvsroot/pvfs2
In directory parlweb1:/tmp/cvs-serv29257

Modified Files:
	configure 
Log Message:
Avoid accumulating tested libraries in LIBS; it breaks future tests.


Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -u -p -p -u -r1.376 -r1.377
--- configure	24 Jan 2008 16:40:17 -0000	1.376
+++ configure	3 Feb 2008 15:27:34 -0000	1.377
@@ -15403,7 +15403,7 @@ fi
 	CPPFLAGS="$CPPFLAGS $PORTALS_INCS"
 
 	PORTALS_LIBS="$libs"
-	LIBS="$LIBS $PORTALS_LIBS"
+	LIBS="$save_libs $PORTALS_LIBS"
 
 	{ echo "$as_me:$LINENO: checking for portals3.h header" >&5
 echo $ECHO_N "checking for portals3.h header... $ECHO_C" >&6; }
@@ -15510,7 +15510,7 @@ rm -f core conftest.err conftest.$ac_obj
 
 	if test "$ok" = no ; then
 	    PORTALS_LIBS="$libs -lportals"
-	    LIBS="$LIBS $PORTALS_LIBS"
+	    LIBS="$save_libs $PORTALS_LIBS"
 	    cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -15558,7 +15558,7 @@ rm -f core conftest.err conftest.$ac_obj
 
 	if test "$ok" = no ; then
 	    PORTALS_LIBS="$libs -lp3api -lp3lib -lp3utcp -lp3rt -lpthread"
-	    LIBS="$LIBS $PORTALS_LIBS"
+	    LIBS="$save_libs $PORTALS_LIBS"
 	    cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -16809,7 +16809,7 @@ if test "$ac_res" != no; then
   ac_cv_func_getmntent=yes
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_GETMNTENT 1
+#define HAVE_GETMNTENT
 _ACEOF
 
 else



More information about the Pvfs2-cvs mailing list