[PVFS2-CVS]
commit by robl in pvfs2: pvfs2-config.h.in configure configure.in
CVS commit program
cvs at parl.clemson.edu
Wed Feb 18 17:27:21 EST 2004
Update of /projects/cvsroot/pvfs2
In directory acid:/tmp/cvs-serv26504
Modified Files:
pvfs2-config.h.in configure configure.in
Log Message:
check for DB_DIRTY_READ flag. the db (version 3.2.9) on Jazz does not have it
Index: pvfs2-config.h.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/pvfs2-config.h.in,v
diff -u -w -p -u -r1.30 -r1.31
--- pvfs2-config.h.in 3 Feb 2004 23:09:50 -0000 1.30
+++ pvfs2-config.h.in 18 Feb 2004 22:27:20 -0000 1.31
@@ -43,12 +43,6 @@
/* Define if you have the efence library (-lefence). */
#undef HAVE_LIBEFENCE
-/* Name of package */
-#undef PACKAGE
-
-/* Version number of package */
-#undef VERSION
-
/* major version number */
#undef PVFS2_VERSION_MAJOR
@@ -75,6 +69,9 @@
/* Define if DB open function takes a txnid parameter */
#undef HAVE_TXNID_PARAMETER_TO_DB_OPEN
+
+/* Define if library has DB_DIRTY_READ flag */
+#undef HAVE_DB_DIRTY_READ
/* Define if GM is present */
#undef HAVE_GM
Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -u -w -p -u -r1.132 -r1.133
--- configure 3 Feb 2004 23:09:50 -0000 1.132
+++ configure 18 Feb 2004 22:27:21 -0000 1.133
@@ -1108,7 +1108,7 @@ if test "${enable_fast+set}" = set; then
enableval="$enable_fast"
CFLAGS="$CFLAGS -DNDEBUG -O3 -DGOSSIP_DISABLE_DEBUG"
else
- CFLAGS="$CFLAGS -g"
+ FLAGS=${CFLAGS:-"-g"}
fi
@@ -1860,6 +1860,35 @@ else
fi
rm -f conftest*
+echo $ac_n "checking for DB_DIRTY_READ flag""... $ac_c" 1>&6
+echo "configure:1865: checking for DB_DIRTY_READ flag" >&5
+cat > conftest.$ac_ext <<EOF
+#line 1867 "configure"
+#include "confdefs.h"
+
+#include <db.h>
+
+int main() {
+
+u_int32_t flags = DB_DIRTY_READ;
+
+; return 0; }
+EOF
+if { (eval echo configure:1878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ echo "$ac_t""yes" 1>&6
+cat >> confdefs.h <<\EOF
+#define HAVE_DB_DIRTY_READ 1
+EOF
+
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ echo "$ac_t""no" 1>&6
+fi
+rm -f conftest*
+
# Check whether --with-gm or --without-gm was given.
if test "${with_gm+set}" = set; then
withval="$with_gm"
@@ -1875,17 +1904,17 @@ CPPFLAGS_OLD="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I ${GM_HOME}/include -I ${GM_HOME}/include/gm"
ac_safe=`echo "gm.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for gm.h""... $ac_c" 1>&6
-echo "configure:1879: checking for gm.h" >&5
+echo "configure:1908: checking for gm.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1884 "configure"
+#line 1913 "configure"
#include "confdefs.h"
#include <gm.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1915,17 +1944,17 @@ CPPFLAGS="$CPPFLAGS_OLD"
ac_safe=`echo "sys/sysinfo.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for sys/sysinfo.h""... $ac_c" 1>&6
-echo "configure:1919: checking for sys/sysinfo.h" >&5
+echo "configure:1948: checking for sys/sysinfo.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1924 "configure"
+#line 1953 "configure"
#include "confdefs.h"
#include <sys/sysinfo.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1966,17 +1995,17 @@ CPPFLAGS_OLD="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I ${IB_HOME}/include"
ac_safe=`echo "vapi.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vapi.h""... $ac_c" 1>&6
-echo "configure:1970: checking for vapi.h" >&5
+echo "configure:1999: checking for vapi.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1975 "configure"
+#line 2004 "configure"
#include "confdefs.h"
#include <vapi.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2022,18 +2051,18 @@ MPI_INTELC=
MPI_GNUC=
if test x$BUILD_MPI = x1; then
echo $ac_n "checking whether the mpicc compiler works""... $ac_c" 1>&6
-echo "configure:2026: checking whether the mpicc compiler works" >&5
+echo "configure:2055: checking whether the mpicc compiler works" >&5
saveCC="$CC"
CC="$MPICC"
cat > conftest.$ac_ext <<EOF
-#line 2030 "configure"
+#line 2059 "configure"
#include "confdefs.h"
#include <mpi.h>
int main() {
int ret = MPI_Init(0, (void*)0)
; return 0; }
EOF
-if { (eval echo configure:2037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
@@ -2046,9 +2075,9 @@ else
fi
rm -f conftest*
echo $ac_n "checking whether mpicc is an Intel compiler""... $ac_c" 1>&6
-echo "configure:2050: checking whether mpicc is an Intel compiler" >&5
+echo "configure:2079: checking whether mpicc is an Intel compiler" >&5
cat > conftest.$ac_ext <<EOF
-#line 2052 "configure"
+#line 2081 "configure"
#include "confdefs.h"
#ifndef __ICC
@@ -2059,7 +2088,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:2063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
MPI_INTELC=1
@@ -2074,9 +2103,9 @@ fi
rm -f conftest*
if test x$MPI_INTELC = x; then
echo $ac_n "checking whether mpicc is a GNU compiler""... $ac_c" 1>&6
-echo "configure:2078: checking whether mpicc is a GNU compiler" >&5
+echo "configure:2107: checking whether mpicc is a GNU compiler" >&5
cat > conftest.$ac_ext <<EOF
-#line 2080 "configure"
+#line 2109 "configure"
#include "confdefs.h"
#ifndef __GNUC__
@@ -2087,7 +2116,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:2091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
MPI_GNUC=1
@@ -2112,12 +2141,12 @@ fi
for ac_func in strnlen
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2116: checking for $ac_func" >&5
+echo "configure:2145: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2121 "configure"
+#line 2150 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2140,7 +2169,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:2144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -2175,12 +2204,12 @@ done
for ac_func in strtoull
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2179: checking for $ac_func" >&5
+echo "configure:2208: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2184 "configure"
+#line 2213 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2203,7 +2232,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -2230,12 +2259,12 @@ done
for ac_func in strstr
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2234: checking for $ac_func" >&5
+echo "configure:2263: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2239 "configure"
+#line 2268 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2258,7 +2287,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:2262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -2285,7 +2314,7 @@ done
# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
echo $ac_n "checking for getmntent in -lsun""... $ac_c" 1>&6
-echo "configure:2289: checking for getmntent in -lsun" >&5
+echo "configure:2318: checking for getmntent in -lsun" >&5
ac_lib_var=`echo sun'_'getmntent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2293,7 +2322,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsun $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2297 "configure"
+#line 2326 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2304,7 +2333,7 @@ int main() {
getmntent()
; return 0; }
EOF
-if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2323,7 +2352,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for getmntent in -lseq""... $ac_c" 1>&6
-echo "configure:2327: checking for getmntent in -lseq" >&5
+echo "configure:2356: checking for getmntent in -lseq" >&5
ac_lib_var=`echo seq'_'getmntent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2331,7 +2360,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lseq $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2335 "configure"
+#line 2364 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2342,7 +2371,7 @@ int main() {
getmntent()
; return 0; }
EOF
-if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2361,7 +2390,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for getmntent in -lgen""... $ac_c" 1>&6
-echo "configure:2365: checking for getmntent in -lgen" >&5
+echo "configure:2394: checking for getmntent in -lgen" >&5
ac_lib_var=`echo gen'_'getmntent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2369,7 +2398,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lgen $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2373 "configure"
+#line 2402 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2380,7 +2409,7 @@ int main() {
getmntent()
; return 0; }
EOF
-if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2405,12 +2434,12 @@ fi
fi
echo $ac_n "checking for getmntent""... $ac_c" 1>&6
-echo "configure:2409: checking for getmntent" >&5
+echo "configure:2438: checking for getmntent" >&5
if eval "test \"`echo '$''{'ac_cv_func_getmntent'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2414 "configure"
+#line 2443 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getmntent(); below. */
@@ -2433,7 +2462,7 @@ getmntent();
; return 0; }
EOF
-if { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getmntent=yes"
else
@@ -2460,17 +2489,17 @@ for ac_hdr in malloc.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2464: checking for $ac_hdr" >&5
+echo "configure:2493: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2469 "configure"
+#line 2498 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2500,17 +2529,17 @@ for ac_hdr in mntent.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2504: checking for $ac_hdr" >&5
+echo "configure:2533: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2509 "configure"
+#line 2538 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2541,17 +2570,17 @@ for ac_hdr in execinfo.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2545: checking for $ac_hdr" >&5
+echo "configure:2574: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2550 "configure"
+#line 2579 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2581,7 +2610,7 @@ done
echo $ac_n "checking for SDL""... $ac_c" 1>&6
-echo "configure:2585: checking for SDL" >&5
+echo "configure:2614: checking for SDL" >&5
SDL_CONFIG=`which sdl-config 2> /dev/null`
if ! test -z $SDL_CONFIG && test -x $SDL_CONFIG; then
echo "$ac_t""yes" 1>&6
@@ -2593,17 +2622,17 @@ if ! test -z $SDL_CONFIG && test -x $SDL
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2597: checking for $ac_hdr" >&5
+echo "configure:2626: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2602 "configure"
+#line 2631 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2631,17 +2660,17 @@ for ac_hdr in SDL/SDL_ttf.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2635: checking for $ac_hdr" >&5
+echo "configure:2664: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2640 "configure"
+#line 2669 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2682,7 +2711,7 @@ fi
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2686: checking for $ac_word" >&5
+echo "configure:2715: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_HAVE_PKGCONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2711,7 +2740,7 @@ fi
if test x$HAVE_PKGCONFIG = xyes ; then
echo $ac_n "checking for gtk2.0 (for karma gui)""... $ac_c" 1>&6
-echo "configure:2715: checking for gtk2.0 (for karma gui)" >&5
+echo "configure:2744: checking for gtk2.0 (for karma gui)" >&5
if `pkg-config --exists gtk+-2.0` ; then
echo "$ac_t""yes" 1>&6
GTKLIBS=`pkg-config --libs gtk+-2.0`
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -u -w -p -u -r1.132 -r1.133
--- configure.in 6 Feb 2004 18:29:06 -0000 1.132
+++ configure.in 18 Feb 2004 22:27:21 -0000 1.133
@@ -301,6 +301,16 @@ AC_DEFINE(HAVE_TXNID_PARAMETER_TO_DB_OPE
Define if DB open function takes a txnid parameter),
AC_MSG_RESULT(no))
+dnl check for DB_DIRTY_READ (it is not in db-3.2.9, for example)
+AC_MSG_CHECKING(for DB_DIRTY_READ flag)
+AC_TRY_COMPILE([
+#include <db.h>
+], [
+u_int32_t flags = DB_DIRTY_READ;
+], AC_MSG_RESULT(yes)
+AC_DEFINE(HAVE_DB_DIRTY_READ, 1, [Define if db library has DB_DIRTY_READ flag]),
+AC_MSG_RESULT(no))
+
dnl configure options for GM install path
AC_ARG_WITH(gm,[ --with-gm=<dir> Location of the GM installation (default=/opt/gm)],
GM_HOME="$withval",GM_HOME="/opt/gm")
More information about the PVFS2-CVS
mailing list