[Pvfs2-cvs] commit by kunkel in pvfs2: pvfs2-config.h.in configure configure.in

CVS commit program cvs at parl.clemson.edu
Thu Mar 15 04:49:38 EST 2007


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

Modified Files:
      Tag: kunkel-migration-branch
	pvfs2-config.h.in configure configure.in 
Log Message:
Upgrade to current CVS version..


Index: pvfs2-config.h.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/pvfs2-config.h.in,v
diff -p -u -r1.77.4.1 -r1.77.4.2
--- pvfs2-config.h.in	17 Feb 2007 11:16:46 -0000	1.77.4.1
+++ pvfs2-config.h.in	15 Mar 2007 09:49:30 -0000	1.77.4.2
@@ -68,6 +68,9 @@
    */
 #undef HAVE_FIND_INODE_HANDLE_SUPER_OPERATIONS
 
+/* Define to 1 if you have the `fsetxattr' function. */
+#undef HAVE_FSETXATTR
+
 /* Define to 1 if you have the <fstab.h> header file. */
 #undef HAVE_FSTAB_H
 

Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -p -u -r1.306.4.2 -r1.306.4.3
--- configure	17 Feb 2007 11:16:47 -0000	1.306.4.2
+++ configure	15 Mar 2007 09:49:30 -0000	1.306.4.3
@@ -9317,9 +9317,9 @@ rm -f core conftest.err conftest.$ac_obj
 
 	fi
 
-	tmp_cflags=$CFLAGS
-		CFLAGS="$CFLAGS -Werror"
-	{ echo "$as_me:$LINENO: checking if statfs callbacks' arguments in kernel has struct dentry argument" >&5
+				tmp_cflags=$CFLAGS
+	CFLAGS="$CFLAGS -Werror -Wno-pointer-sign"
+		{ echo "$as_me:$LINENO: checking if statfs callbacks' arguments in kernel has struct dentry argument" >&5
 echo $ECHO_N "checking if statfs callbacks' arguments in kernel has struct dentry argument... $ECHO_C" >&6; }
 			cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -10877,8 +10877,6 @@ fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-	CFLAGS=$oldcflags
-
 		{ echo "$as_me:$LINENO: checking for kzalloc" >&5
 echo $ECHO_N "checking for kzalloc... $ECHO_C" >&6; }
 	cat >conftest.$ac_ext <<_ACEOF
@@ -10896,7 +10894,7 @@ main ()
 {
 
 		void * a;
-		a = kzalloc(1024);
+		a = kzalloc(1024, GFP_KERNEL);
 
   ;
   return 0;
@@ -10919,24 +10917,26 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
 	 test -z "$ac_c_werror_flag" ||
 	 test ! -s conftest.err
        } && test -s conftest.$ac_objext; then
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	{ echo "$as_me:$LINENO: result: yes" >&5
+  { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_KZALLOC 1
 _ACEOF
 
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	{ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
 
 fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
+	CFLAGS=$oldcflags
+
 
 
 BUILD_ABSOLUTE_TOP=`pwd`
@@ -14797,6 +14797,100 @@ done
 
 
 for ac_func in fgetxattr
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char $ac_func (); below.
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+    <limits.h> exists even on freestanding compilers.  */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+    to always fail with ENOSYS.  Some functions are actually named
+    something starting with __ and the normal name is an alias.  */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_link") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext &&
+       $as_test_x conftest$ac_exeext; then
+  eval "$as_ac_var=yes"
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	eval "$as_ac_var=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+      conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_var'}'`
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+for ac_func in fsetxattr
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for $ac_func" >&5

Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -p -u -r1.303.4.1 -r1.303.4.2
--- configure.in	17 Feb 2007 11:16:47 -0000	1.303.4.1
+++ configure.in	15 Mar 2007 09:49:35 -0000	1.303.4.2
@@ -939,6 +939,7 @@ AC_CHECK_FUNCS(strnlen)
 AC_CHECK_FUNCS(strtoull)
 AC_CHECK_FUNCS(strstr)
 AC_CHECK_FUNCS(fgetxattr)
+AC_CHECK_FUNCS(fsetxattr)
 
 dnl fgetxattr doesn't have a prototype on some systems
 AC_MSG_CHECKING([for fgetxattr prototype])



More information about the Pvfs2-cvs mailing list