[PVFS2-CVS] commit by robl in pvfs2-1: configure.in
CVS commit program
cvs at parl.clemson.edu
Wed Mar 23 18:25:09 EST 2005
Update of /projects/cvsroot/pvfs2-1
In directory parlweb:/tmp/cvs-serv30770
Modified Files:
configure.in
Log Message:
some kernels (suse) have minor versions like 21.SuSE_273.bef1, which the
preprocessor doesn't like ( "floating point numbers are not valid in #if").
Take measures to strip out the minor minor versions, since only the "21" is
sufficient for our needs.
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/configure.in,v
diff -u -w -p -u -r1.226 -r1.227
--- configure.in 23 Mar 2005 16:16:43 -0000 1.226
+++ configure.in 23 Mar 2005 23:25:08 -0000 1.227
@@ -400,7 +400,7 @@ AC_ARG_WITH(kernel24,
tmp_k24_minor_ver=`echo $k24_minor_ver | cut -d- -f1`
k24_minor_ver=$tmp_k24_minor_ver
fi
- LINUX24_KERNEL_SRC="$withval" LINUX24_KERNEL_MINOR_VER="$k24_minor_ver"
+ LINUX24_KERNEL_SRC="$withval" LINUX24_KERNEL_MINOR_VER="`echo $k24_minor_ver| cut -d'.' -f 1`"
, LINUX24_KERNEL_SRC="" LINUX24_KERNEL_MINOR_VER="")
More information about the PVFS2-CVS
mailing list