Changeset 9022

Show
Ignore:
Timestamp:
08/22/11 19:20:29 (22 months ago)
Author:
mtmoore
Message:

updates to support kernels newer than 2.6.38. Changes include use of DEFINE_SPINLOCK, change file_system_type struct to use mount instead of get_sb, and add a flag to dirty_inode member of super_operations. In all cases, leave previous behavior in place when newer and older options both exist.

Location:
branches/Orange-Branch
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • branches/Orange-Branch/configure

    r8842 r9022  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.65. 
     3# Generated by GNU Autoconf 2.68. 
    44# 
    55# 
    66# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
    8 # Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 
     8# Foundation, Inc. 
    99# 
    1010# 
     
    9090 
    9191# Find who we are.  Look in the path if we contain no directory separator. 
     92as_myself= 
    9293case $0 in #(( 
    9394  *[\\/]* ) as_myself=$0 ;; 
     
    215216        # neutralization value for shells without unset; and this also 
    216217        # works around shells that cannot unset nonexistent variables. 
     218        # Preserve -v and -x to the replacement shell. 
    217219        BASH_ENV=/dev/null 
    218220        ENV=/dev/null 
    219221        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
    220222        export CONFIG_SHELL 
    221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     223        case $- in # (((( 
     224          *v*x* | *x*v* ) as_opts=-vx ;; 
     225          *v* ) as_opts=-v ;; 
     226          *x* ) as_opts=-x ;; 
     227          * ) as_opts= ;; 
     228        esac 
     229        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 
    222230fi 
    223231 
     
    317325    done 
    318326    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     327  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    320328 
    321329 
     
    357365 
    358366 
    359 # as_fn_error ERROR [LINENO LOG_FD] 
    360 # --------------------------------- 
     367# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     368# ---------------------------------------- 
    361369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    362370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    363 # script with status $?, using 1 if that was 0. 
     371# script with STATUS, using 1 if that was 0. 
    364372as_fn_error () 
    365373{ 
    366   as_status=$?; test $as_status -eq 0 && as_status=1 
    367   if test "$3"; then 
    368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     374  as_status=$1; test $as_status -eq 0 && as_status=1 
     375  if test "$4"; then 
     376    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     377    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    370378  fi 
    371   $as_echo "$as_me: error: $1" >&2 
     379  $as_echo "$as_me: error: $2" >&2 
    372380  as_fn_exit $as_status 
    373381} # as_fn_error 
     
    531539 
    532540# Name of the host. 
    533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
     541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 
    534542# so uname gets run too. 
    535543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    852860 
    853861  case $ac_option in 
    854   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
    855   *)    ac_optarg=yes ;; 
     862  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
     863  *=)   ac_optarg= ;; 
     864  *)    ac_optarg=yes ;; 
    856865  esac 
    857866 
     
    898907    # Reject names that are not valid shell variable names. 
    899908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    900       as_fn_error "invalid feature name: $ac_useropt" 
     909      as_fn_error $? "invalid feature name: $ac_useropt" 
    901910    ac_useropt_orig=$ac_useropt 
    902911    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    924933    # Reject names that are not valid shell variable names. 
    925934    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    926       as_fn_error "invalid feature name: $ac_useropt" 
     935      as_fn_error $? "invalid feature name: $ac_useropt" 
    927936    ac_useropt_orig=$ac_useropt 
    928937    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11281137    # Reject names that are not valid shell variable names. 
    11291138    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1130       as_fn_error "invalid package name: $ac_useropt" 
     1139      as_fn_error $? "invalid package name: $ac_useropt" 
    11311140    ac_useropt_orig=$ac_useropt 
    11321141    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11441153    # Reject names that are not valid shell variable names. 
    11451154    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1146       as_fn_error "invalid package name: $ac_useropt" 
     1155      as_fn_error $? "invalid package name: $ac_useropt" 
    11471156    ac_useropt_orig=$ac_useropt 
    11481157    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11741183    x_libraries=$ac_optarg ;; 
    11751184 
    1176   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1177 Try \`$0 --help' for more information." 
     1185  -*) as_fn_error $? "unrecognized option: \`$ac_option' 
     1186Try \`$0 --help' for more information" 
    11781187    ;; 
    11791188 
     
    11831192    case $ac_envvar in #( 
    11841193      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1185       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1194      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 
    11861195    esac 
    11871196    eval $ac_envvar=\$ac_optarg 
     
    11931202    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    11941203      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    1195     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
     1204    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 
    11961205    ;; 
    11971206 
     
    12011210if test -n "$ac_prev"; then 
    12021211  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1203   as_fn_error "missing argument to $ac_option" 
     1212  as_fn_error $? "missing argument to $ac_option" 
    12041213fi 
    12051214 
     
    12071216  case $enable_option_checking in 
    12081217    no) ;; 
    1209     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1218    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 
    12101219    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    12111220  esac 
     
    12301239    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    12311240  esac 
    1232   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
     1241  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 
    12331242done 
    12341243 
     
    12441253  if test "x$build_alias" = x; then 
    12451254    cross_compiling=maybe 
    1246     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    1247     If a cross compiler is detected then cross compile mode will be used." >&2 
     1255    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 
     1256    If a cross compiler is detected then cross compile mode will be used" >&2 
    12481257  elif test "x$build_alias" != "x$host_alias"; then 
    12491258    cross_compiling=yes 
     
    12601269ac_ls_di=`ls -di .` && 
    12611270ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1262   as_fn_error "working directory cannot be determined" 
     1271  as_fn_error $? "working directory cannot be determined" 
    12631272test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1264   as_fn_error "pwd does not report name of working directory" 
     1273  as_fn_error $? "pwd does not report name of working directory" 
    12651274 
    12661275 
     
    13011310if test ! -r "$srcdir/$ac_unique_file"; then 
    13021311  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1303   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
     1312  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 
    13041313fi 
    13051314ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    13061315ac_abs_confdir=`( 
    1307         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
     1316        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 
    13081317        pwd)` 
    13091318# When building in place, set srcdir=. 
     
    13451354      --help=recursive    display the short help of all the included packages 
    13461355  -V, --version           display version information and exit 
    1347   -q, --quiet, --silent   do not print \`checking...' messages 
     1356  -q, --quiet, --silent   do not print \`checking ...' messages 
    13481357      --cache-file=FILE   cache test results in FILE [disabled] 
    13491358  -C, --config-cache      alias for \`--cache-file=config.cache' 
     
    15551564  cat <<\_ACEOF 
    15561565configure 
    1557 generated by GNU Autoconf 2.65 
    1558  
    1559 Copyright (C) 2009 Free Software Foundation, Inc. 
     1566generated by GNU Autoconf 2.68 
     1567 
     1568Copyright (C) 2010 Free Software Foundation, Inc. 
    15601569This configure script is free software; the Free Software Foundation 
    15611570gives unlimited permission to copy, distribute and modify it. 
     
    16011610        ac_retval=1 
    16021611fi 
    1603   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1612  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16041613  as_fn_set_status $ac_retval 
    16051614 
     
    16271636  fi 
    16281637  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1629   test $ac_status = 0; } >/dev/null && { 
     1638  test $ac_status = 0; } > conftest.i && { 
    16301639         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    16311640         test ! -s conftest.err 
     
    16381647    ac_retval=1 
    16391648fi 
    1640   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1649  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16411650  as_fn_set_status $ac_retval 
    16421651 
     
    16511660{ 
    16521661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1653   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1662  if eval \${$3+:} false; then : 
    16541663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    16551664$as_echo_n "checking for $2... " >&6; } 
    1656 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1665if eval \${$3+:} false; then : 
    16571666  $as_echo_n "(cached) " >&6 
    16581667fi 
     
    16901699  ac_header_preproc=no 
    16911700fi 
    1692 rm -f conftest.err conftest.$ac_ext 
     1701rm -f conftest.err conftest.i conftest.$ac_ext 
    16931702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    16941703$as_echo "$ac_header_preproc" >&6; } 
     
    17171726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17181727$as_echo_n "checking for $2... " >&6; } 
    1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1728if eval \${$3+:} false; then : 
    17201729  $as_echo_n "(cached) " >&6 
    17211730else 
     
    17261735$as_echo "$ac_res" >&6; } 
    17271736fi 
    1728   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17291738 
    17301739} # ac_fn_c_check_header_mongrel 
     
    17671776fi 
    17681777  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1769   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1778  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17701779  as_fn_set_status $ac_retval 
    17711780 
     
    17811790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17821791$as_echo_n "checking for $2... " >&6; } 
    1783 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1792if eval \${$3+:} false; then : 
    17841793  $as_echo_n "(cached) " >&6 
    17851794else 
     
    17991808               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    18001809$as_echo "$ac_res" >&6; } 
    1801   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1810  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    18021811 
    18031812} # ac_fn_c_check_header_compile 
     
    19761985 
    19771986  fi 
    1978   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1987  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    19791988  as_fn_set_status $ac_retval 
    19801989 
     
    20222031  # left behind by Apple's compiler.  We do this before executing the actions. 
    20232032  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    2024   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     2033  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    20252034  as_fn_set_status $ac_retval 
    20262035 
     
    20352044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    20362045$as_echo_n "checking for $2... " >&6; } 
    2037 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     2046if eval \${$3+:} false; then : 
    20382047  $as_echo_n "(cached) " >&6 
    20392048else 
     
    20902099               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    20912100$as_echo "$ac_res" >&6; } 
    2092   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     2101  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    20932102 
    20942103} # ac_fn_c_check_func 
     
    20982107 
    20992108It was created by $as_me, which was 
    2100 generated by GNU Autoconf 2.65.  Invocation command line was 
     2109generated by GNU Autoconf 2.68.  Invocation command line was 
    21012110 
    21022111  $ $0 $@ 
     
    22082217    echo 
    22092218 
    2210     cat <<\_ASBOX 
    2211 ## ---------------- ## 
     2219    $as_echo "## ---------------- ## 
    22122220## Cache variables. ## 
    2213 ## ---------------- ## 
    2214 _ASBOX 
     2221## ---------------- ##" 
    22152222    echo 
    22162223    # The following way of writing the cache mishandles newlines in values, 
     
    22462253    echo 
    22472254 
    2248     cat <<\_ASBOX 
    2249 ## ----------------- ## 
     2255    $as_echo "## ----------------- ## 
    22502256## Output variables. ## 
    2251 ## ----------------- ## 
    2252 _ASBOX 
     2257## ----------------- ##" 
    22532258    echo 
    22542259    for ac_var in $ac_subst_vars 
     
    22632268 
    22642269    if test -n "$ac_subst_files"; then 
    2265       cat <<\_ASBOX 
    2266 ## ------------------- ## 
     2270      $as_echo "## ------------------- ## 
    22672271## File substitutions. ## 
    2268 ## ------------------- ## 
    2269 _ASBOX 
     2272## ------------------- ##" 
    22702273      echo 
    22712274      for ac_var in $ac_subst_files 
     
    22812284 
    22822285    if test -s confdefs.h; then 
    2283       cat <<\_ASBOX 
    2284 ## ----------- ## 
     2286      $as_echo "## ----------- ## 
    22852287## confdefs.h. ## 
    2286 ## ----------- ## 
    2287 _ASBOX 
     2288## ----------- ##" 
    22882289      echo 
    22892290      cat confdefs.h 
     
    23402341ac_site_file2=NONE 
    23412342if test -n "$CONFIG_SITE"; then 
    2342   ac_site_file1=$CONFIG_SITE 
     2343  # We do not want a PATH search for config.site. 
     2344  case $CONFIG_SITE in #(( 
     2345    -*)  ac_site_file1=./$CONFIG_SITE;; 
     2346    */*) ac_site_file1=$CONFIG_SITE;; 
     2347    *)   ac_site_file1=./$CONFIG_SITE;; 
     2348  esac 
    23432349elif test "x$prefix" != xNONE; then 
    23442350  ac_site_file1=$prefix/share/config.site 
     
    23552361$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    23562362    sed 's/^/| /' "$ac_site_file" >&5 
    2357     . "$ac_site_file" 
     2363    . "$ac_site_file" \ 
     2364      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2365$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2366as_fn_error $? "failed to load site script $ac_site_file 
     2367See \`config.log' for more details" "$LINENO" 5; } 
    23582368  fi 
    23592369done 
     
    24312441  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    24322442$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2433   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2443  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    24342444fi 
    24352445## -------------------- ## 
     
    24472457ac_aux_dir= 
    24482458for ac_dir in maint/config "$srcdir"/maint/config; do 
    2449   for ac_t in install-sh install.sh shtool; do 
    2450     if test -f "$ac_dir/$ac_t"; then 
    2451       ac_aux_dir=$ac_dir 
    2452       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    2453       break 2 
    2454     fi 
    2455   done 
     2459  if test -f "$ac_dir/install-sh"; then 
     2460    ac_aux_dir=$ac_dir 
     2461    ac_install_sh="$ac_aux_dir/install-sh -c" 
     2462    break 
     2463  elif test -f "$ac_dir/install.sh"; then 
     2464    ac_aux_dir=$ac_dir 
     2465    ac_install_sh="$ac_aux_dir/install.sh -c" 
     2466    break 
     2467  elif test -f "$ac_dir/shtool"; then 
     2468    ac_aux_dir=$ac_dir 
     2469    ac_install_sh="$ac_aux_dir/shtool install -c" 
     2470    break 
     2471  fi 
    24562472done 
    24572473if test -z "$ac_aux_dir"; then 
    2458   as_fn_error "cannot find install-sh, install.sh, or shtool in maint/config \"$srcdir\"/maint/config" "$LINENO" 5 
     2474  as_fn_error $? "cannot find install-sh, install.sh, or shtool in maint/config \"$srcdir\"/maint/config" "$LINENO" 5 
    24592475fi 
    24602476 
     
    25032519# Make sure we can run config.sub. 
    25042520$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2505   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2521  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    25062522 
    25072523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    25082524$as_echo_n "checking build system type... " >&6; } 
    2509 if test "${ac_cv_build+set}" = set; then : 
     2525if ${ac_cv_build+:} false; then : 
    25102526  $as_echo_n "(cached) " >&6 
    25112527else 
     
    25142530  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    25152531test "x$ac_build_alias" = x && 
    2516   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     2532  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
    25172533ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2518   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2534  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    25192535 
    25202536fi 
     
    25232539case $ac_cv_build in 
    25242540*-*-*) ;; 
    2525 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     2541*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 
    25262542esac 
    25272543build=$ac_cv_build 
     
    25412557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    25422558$as_echo_n "checking host system type... " >&6; } 
    2543 if test "${ac_cv_host+set}" = set; then : 
     2559if ${ac_cv_host+:} false; then : 
    25442560  $as_echo_n "(cached) " >&6 
    25452561else 
     
    25482564else 
    25492565  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2550     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2566    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    25512567fi 
    25522568 
     
    25562572case $ac_cv_host in 
    25572573*-*-*) ;; 
    2558 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     2574*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 
    25592575esac 
    25602576host=$ac_cv_host 
     
    25912607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    25922608$as_echo_n "checking for $ac_word... " >&6; } 
    2593 if test "${ac_cv_prog_CC+set}" = set; then : 
     2609if ${ac_cv_prog_CC+:} false; then : 
    25942610  $as_echo_n "(cached) " >&6 
    25952611else 
     
    26312647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26322648$as_echo_n "checking for $ac_word... " >&6; } 
    2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2649if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    26342650  $as_echo_n "(cached) " >&6 
    26352651else 
     
    26842700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26852701$as_echo_n "checking for $ac_word... " >&6; } 
    2686 if test "${ac_cv_prog_CC+set}" = set; then : 
     2702if ${ac_cv_prog_CC+:} false; then : 
    26872703  $as_echo_n "(cached) " >&6 
    26882704else 
     
    27242740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    27252741$as_echo_n "checking for $ac_word... " >&6; } 
    2726 if test "${ac_cv_prog_CC+set}" = set; then : 
     2742if ${ac_cv_prog_CC+:} false; then : 
    27272743  $as_echo_n "(cached) " >&6 
    27282744else 
     
    27832799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    27842800$as_echo_n "checking for $ac_word... " >&6; } 
    2785 if test "${ac_cv_prog_CC+set}" = set; then : 
     2801if ${ac_cv_prog_CC+:} false; then : 
    27862802  $as_echo_n "(cached) " >&6 
    27872803else 
     
    28272843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    28282844$as_echo_n "checking for $ac_word... " >&6; } 
    2829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2845if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    28302846  $as_echo_n "(cached) " >&6 
    28312847else 
     
    28812897test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    28822898$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2883 as_fn_error "no acceptable C compiler found in \$PATH 
    2884 See \`config.log' for more details." "$LINENO" 5; } 
     2899as_fn_error $? "no acceptable C compiler found in \$PATH 
     2900See \`config.log' for more details" "$LINENO" 5; } 
    28852901 
    28862902# Provide some information about the compiler. 
     
    29963012{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    29973013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2998 { as_fn_set_status 77 
    2999 as_fn_error "C compiler cannot create executables 
    3000 See \`config.log' for more details." "$LINENO" 5; }; } 
     3014as_fn_error 77 "C compiler cannot create executables 
     3015See \`config.log' for more details" "$LINENO" 5; } 
    30013016else 
    30023017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    30403055  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    30413056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3042 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    3043 See \`config.log' for more details." "$LINENO" 5; } 
     3057as_fn_error $? "cannot compute suffix of executables: cannot compile and link 
     3058See \`config.log' for more details" "$LINENO" 5; } 
    30443059fi 
    30453060rm -f conftest conftest$ac_cv_exeext 
     
    30983113        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    30993114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3100 as_fn_error "cannot run C compiled programs. 
     3115as_fn_error $? "cannot run C compiled programs. 
    31013116If you meant to cross compile, use \`--host'. 
    3102 See \`config.log' for more details." "$LINENO" 5; } 
     3117See \`config.log' for more details" "$LINENO" 5; } 
    31033118    fi 
    31043119  fi 
     
    31113126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    31123127$as_echo_n "checking for suffix of object files... " >&6; } 
    3113 if test "${ac_cv_objext+set}" = set; then : 
     3128if ${ac_cv_objext+:} false; then : 
    31143129  $as_echo_n "(cached) " >&6 
    31153130else 
     
    31513166{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    31523167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3153 as_fn_error "cannot compute suffix of object files: cannot compile 
    3154 See \`config.log' for more details." "$LINENO" 5; } 
     3168as_fn_error $? "cannot compute suffix of object files: cannot compile 
     3169See \`config.log' for more details" "$LINENO" 5; } 
    31553170fi 
    31563171rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     
    31623177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    31633178$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    3164 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     3179if ${ac_cv_c_compiler_gnu+:} false; then : 
    31653180  $as_echo_n "(cached) " >&6 
    31663181else 
     
    31993214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    32003215$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    3201 if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3216if ${ac_cv_prog_cc_g+:} false; then : 
    32023217  $as_echo_n "(cached) " >&6 
    32033218else 
     
    32773292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    32783293$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3279 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3294if ${ac_cv_prog_cc_c89+:} false; then : 
    32803295  $as_echo_n "(cached) " >&6 
    32813296else 
     
    33853400fi 
    33863401if test -z "$CPP"; then 
    3387   if test "${ac_cv_prog_CPP+set}" = set; then : 
     3402  if ${ac_cv_prog_CPP+:} false; then : 
    33883403  $as_echo_n "(cached) " >&6 
    33893404else 
     
    34153430continue 
    34163431fi 
    3417 rm -f conftest.err conftest.$ac_ext 
     3432rm -f conftest.err conftest.i conftest.$ac_ext 
    34183433 
    34193434  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    34313446break 
    34323447fi 
    3433 rm -f conftest.err conftest.$ac_ext 
     3448rm -f conftest.err conftest.i conftest.$ac_ext 
    34343449 
    34353450done 
    34363451# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    3437 rm -f conftest.err conftest.$ac_ext 
     3452rm -f conftest.i conftest.err conftest.$ac_ext 
    34383453if $ac_preproc_ok; then : 
    34393454  break 
     
    34743489continue 
    34753490fi 
    3476 rm -f conftest.err conftest.$ac_ext 
     3491rm -f conftest.err conftest.i conftest.$ac_ext 
    34773492 
    34783493  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    34903505break 
    34913506fi 
    3492 rm -f conftest.err conftest.$ac_ext 
     3507rm -f conftest.err conftest.i conftest.$ac_ext 
    34933508 
    34943509done 
    34953510# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    3496 rm -f conftest.err conftest.$ac_ext 
     3511rm -f conftest.i conftest.err conftest.$ac_ext 
    34973512if $ac_preproc_ok; then : 
    34983513 
     
    35003515  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    35013516$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3502 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    3503 See \`config.log' for more details." "$LINENO" 5; } 
     3517as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
     3518See \`config.log' for more details" "$LINENO" 5; } 
    35043519fi 
    35053520 
     
    35133528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    35143529$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    3515 if test "${ac_cv_path_GREP+set}" = set; then : 
     3530if ${ac_cv_path_GREP+:} false; then : 
    35163531  $as_echo_n "(cached) " >&6 
    35173532else 
     
    35623577IFS=$as_save_IFS 
    35633578  if test -z "$ac_cv_path_GREP"; then 
    3564     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     3579    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    35653580  fi 
    35663581else 
     
    35763591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    35773592$as_echo_n "checking for egrep... " >&6; } 
    3578 if test "${ac_cv_path_EGREP+set}" = set; then : 
     3593if ${ac_cv_path_EGREP+:} false; then : 
    35793594  $as_echo_n "(cached) " >&6 
    35803595else 
     
    36283643IFS=$as_save_IFS 
    36293644  if test -z "$ac_cv_path_EGREP"; then 
    3630     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     3645    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    36313646  fi 
    36323647else 
     
    36433658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    36443659$as_echo_n "checking for ANSI C header files... " >&6; } 
    3645 if test "${ac_cv_header_stdc+set}" = set; then : 
     3660if ${ac_cv_header_stdc+:} false; then : 
    36463661  $as_echo_n "(cached) " >&6 
    36473662else 
     
    37603775ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    37613776" 
    3762 eval as_val=\$$as_ac_Header 
    3763    if test "x$as_val" = x""yes; then : 
     3777if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    37643778  cat >>confdefs.h <<_ACEOF 
    37653779#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    37723786 
    37733787ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" 
    3774 if test "x$ac_cv_header_pwd_h" = x""yes; then : 
     3788if test "x$ac_cv_header_pwd_h" = xyes; then : 
    37753789 
    37763790$as_echo "#define HAVE_GETPWUID 1" >>confdefs.h 
     
    37803794 
    37813795ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default" 
    3782 if test "x$ac_cv_header_sys_vfs_h" = x""yes; then : 
     3796if test "x$ac_cv_header_sys_vfs_h" = xyes; then : 
    37833797 
    37843798$as_echo "#define HAVE_SYS_VFS_H 1" >>confdefs.h 
     
    37883802 
    37893803ac_fn_c_check_header_mongrel "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" 
    3790 if test "x$ac_cv_header_sys_mount_h" = x""yes; then : 
     3804if test "x$ac_cv_header_sys_mount_h" = xyes; then : 
    37913805 
    37923806$as_echo "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h 
     
    38003814  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    38013815ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
    3802 eval as_val=\$$as_ac_Header 
    3803    if test "x$as_val" = x""yes; then : 
     3816if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    38043817  cat >>confdefs.h <<_ACEOF 
    38053818#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    38143827do : 
    38153828  ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    3816 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     3829if test "x$ac_cv_header_stdarg_h" = xyes; then : 
    38173830  cat >>confdefs.h <<_ACEOF 
    38183831#define HAVE_STDARG_H 1 
     
    38273840do : 
    38283841  ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default" 
    3829 if test "x$ac_cv_header_attr_xattr_h" = x""yes; then : 
     3842if test "x$ac_cv_header_attr_xattr_h" = xyes; then : 
    38303843  cat >>confdefs.h <<_ACEOF 
    38313844#define HAVE_ATTR_XATTR_H 1 
     
    38393852do : 
    38403853  ac_fn_c_check_header_mongrel "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default" 
    3841 if test "x$ac_cv_header_sys_xattr_h" = x""yes; then : 
     3854if test "x$ac_cv_header_sys_xattr_h" = xyes; then : 
    38423855  cat >>confdefs.h <<_ACEOF 
    38433856#define HAVE_SYS_XATTR_H 1 
     
    38553868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 
    38563869$as_echo_n "checking size of long int... " >&6; } 
    3857 if test "${ac_cv_sizeof_long_int+set}" = set; then : 
     3870if ${ac_cv_sizeof_long_int+:} false; then : 
    38583871  $as_echo_n "(cached) " >&6 
    38593872else 
     
    38643877     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    38653878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3866 { as_fn_set_status 77 
    3867 as_fn_error "cannot compute sizeof (long int) 
    3868 See \`config.log' for more details." "$LINENO" 5; }; } 
     3879as_fn_error 77 "cannot compute sizeof (long int) 
     3880See \`config.log' for more details" "$LINENO" 5; } 
    38693881   else 
    38703882     ac_cv_sizeof_long_int=0 
     
    39013913$as_echo_n "checking for a BSD-compatible install... " >&6; } 
    39023914if test -z "$INSTALL"; then 
    3903 if test "${ac_cv_path_install+set}" = set; then : 
     3915if ${ac_cv_path_install+:} false; then : 
    39043916  $as_echo_n "(cached) " >&6 
    39053917else 
     
    39873999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    39884000$as_echo_n "checking for $ac_word... " >&6; } 
    3989 if test "${ac_cv_prog_CC+set}" = set; then : 
     4001if ${ac_cv_prog_CC+:} false; then : 
    39904002  $as_echo_n "(cached) " >&6 
    39914003else 
     
    40274039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    40284040$as_echo_n "checking for $ac_word... " >&6; } 
    4029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     4041if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    40304042  $as_echo_n "(cached) " >&6 
    40314043else 
     
    40804092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    40814093$as_echo_n "checking for $ac_word... " >&6; } 
    4082 if test "${ac_cv_prog_CC+set}" = set; then : 
     4094if ${ac_cv_prog_CC+:} false; then : 
    40834095  $as_echo_n "(cached) " >&6 
    40844096else 
     
    41204132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    41214133$as_echo_n "checking for $ac_word... " >&6; } 
    4122 if test "${ac_cv_prog_CC+set}" = set; then : 
     4134if ${ac_cv_prog_CC+:} false; then : 
    41234135  $as_echo_n "(cached) " >&6 
    41244136else 
     
    41794191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    41804192$as_echo_n "checking for $ac_word... " >&6; } 
    4181 if test "${ac_cv_prog_CC+set}" = set; then : 
     4193if ${ac_cv_prog_CC+:} false; then : 
    41824194  $as_echo_n "(cached) " >&6 
    41834195else 
     
    42234235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    42244236$as_echo_n "checking for $ac_word... " >&6; } 
    4225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     4237if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    42264238  $as_echo_n "(cached) " >&6 
    42274239else 
     
    42774289test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    42784290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4279 as_fn_error "no acceptable C compiler found in \$PATH 
    4280 See \`config.log' for more details." "$LINENO" 5; } 
     4291as_fn_error $? "no acceptable C compiler found in \$PATH 
     4292See \`config.log' for more details" "$LINENO" 5; } 
    42814293 
    42824294# Provide some information about the compiler. 
     
    43074319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    43084320$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    4309 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     4321if ${ac_cv_c_compiler_gnu+:} false; then : 
    43104322  $as_echo_n "(cached) " >&6 
    43114323else 
     
    43444356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    43454357$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    4346 if test "${ac_cv_prog_cc_g+set}" = set; then : 
     4358if ${ac_cv_prog_cc_g+:} false; then : 
    43474359  $as_echo_n "(cached) " >&6 
    43484360else 
     
    44224434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    44234435$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    4424 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     4436if ${ac_cv_prog_cc_c89+:} false; then : 
    44254437  $as_echo_n "(cached) " >&6 
    44264438else 
     
    45214533$as_echo_n "checking for required gcc... " >&6; } 
    45224534if test "x$GCC" = "x"; then 
    4523         as_fn_error "no" "$LINENO" 5 
     4535        as_fn_error $? "no" "$LINENO" 5 
    45244536fi 
    45254537 
     
    45384550fi 
    45394551if test -z "$CPP"; then 
    4540   if test "${ac_cv_prog_CPP+set}" = set; then : 
     4552  if ${ac_cv_prog_CPP+:} false; then : 
    45414553  $as_echo_n "(cached) " >&6 
    45424554else 
     
    45684580continue 
    45694581fi 
    4570 rm -f conftest.err conftest.$ac_ext 
     4582rm -f conftest.err conftest.i conftest.$ac_ext 
    45714583 
    45724584  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    45844596break 
    45854597fi 
    4586 rm -f conftest.err conftest.$ac_ext 
     4598rm -f conftest.err conftest.i conftest.$ac_ext 
    45874599 
    45884600done 
    45894601# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4590 rm -f conftest.err conftest.$ac_ext 
     4602rm -f conftest.i conftest.err conftest.$ac_ext 
    45914603if $ac_preproc_ok; then : 
    45924604  break 
     
    46274639continue 
    46284640fi 
    4629 rm -f conftest.err conftest.$ac_ext 
     4641rm -f conftest.err conftest.i conftest.$ac_ext 
    46304642 
    46314643  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    46434655break 
    46444656fi 
    4645 rm -f conftest.err conftest.$ac_ext 
     4657rm -f conftest.err conftest.i conftest.$ac_ext 
    46464658 
    46474659done 
    46484660# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4649 rm -f conftest.err conftest.$ac_ext 
     4661rm -f conftest.i conftest.err conftest.$ac_ext 
    46504662if $ac_preproc_ok; then : 
    46514663 
     
    46534665  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    46544666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4655 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4656 See \`config.log' for more details." "$LINENO" 5; } 
     4667as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
     4668See \`config.log' for more details" "$LINENO" 5; } 
    46574669fi 
    46584670 
     
    46674679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    46684680$as_echo_n "checking for $ac_word... " >&6; } 
    4669 if test "${ac_cv_prog_HAVE_PERL+set}" = set; then : 
     4681if ${ac_cv_prog_HAVE_PERL+:} false; then : 
    46704682  $as_echo_n "(cached) " >&6 
    46714683else 
     
    47024714 
    47034715if test $HAVE_PERL = "no"; then 
    4704     as_fn_error "\"perl required in PATH to complete build\"" "$LINENO" 5 
     4716    as_fn_error $? "\"perl required in PATH to complete build\"" "$LINENO" 5 
    47054717fi 
    47064718 
     
    47094721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    47104722$as_echo_n "checking for $ac_word... " >&6; } 
    4711 if test "${ac_cv_prog_HAVE_FIND+set}" = set; then : 
     4723if ${ac_cv_prog_HAVE_FIND+:} false; then : 
    47124724  $as_echo_n "(cached) " >&6 
    47134725else 
     
    47444756 
    47454757if test $HAVE_FIND = "no"; then 
    4746     as_fn_error "\"find required in PATH complete build\"" "$LINENO" 5 
     4758    as_fn_error $? "\"find required in PATH complete build\"" "$LINENO" 5 
    47474759fi 
    47484760 
     
    47514763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    47524764$as_echo_n "checking for $ac_word... " >&6; } 
    4753 if test "${ac_cv_prog_HAVE_BISON+set}" = set; then : 
     4765if ${ac_cv_prog_HAVE_BISON+:} false; then : 
    47544766  $as_echo_n "(cached) " >&6 
    47554767else 
     
    47864798 
    47874799if test $HAVE_BISON = "no"; then 
    4788     as_fn_error "\"bison required in PATH to complete build\"" "$LINENO" 5 
     4800    as_fn_error $? "\"bison required in PATH to complete build\"" "$LINENO" 5 
    47894801fi 
    47904802 
     
    47934805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    47944806$as_echo_n "checking for $ac_word... " >&6; } 
    4795 if test "${ac_cv_prog_HAVE_FLEX+set}" = set; then : 
     4807if ${ac_cv_prog_HAVE_FLEX+:} false; then : 
    47964808  $as_echo_n "(cached) " >&6 
    47974809else 
     
    48284840 
    48294841if test $HAVE_FLEX = "no"; then 
    4830     as_fn_error "\"flex required in PATH to complete build\"" "$LINENO" 5 
     4842    as_fn_error $? "\"flex required in PATH to complete build\"" "$LINENO" 5 
    48314843fi 
    48324844 
     
    48354847perl -e "use Math::BigInt" 2>&1 > /dev/null 
    48364848if test $? != 0; then 
    4837         as_fn_error "no" "$LINENO" 5 
     4849        as_fn_error $? "no" "$LINENO" 5 
    48384850else 
    48394851        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    48484860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    48494861$as_echo_n "checking for $ac_word... " >&6; } 
    4850 if test "${ac_cv_prog_BUILD_CC+set}" = set; then : 
     4862if ${ac_cv_prog_BUILD_CC+:} false; then : 
    48514863  $as_echo_n "(cached) " >&6 
    48524864else 
     
    50075019 
    50085020else 
    5009   as_fn_error "Invalid openssl path specified.  No openssl/bio.h found." "$LINENO" 5 
     5021  as_fn_error $? "Invalid openssl path specified.  No openssl/bio.h found." "$LINENO" 5 
    50105022fi 
    50115023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     
    50265038$as_echo "yes" >&6; } 
    50275039else 
    5028   as_fn_error "could not find openssl libs" "$LINENO" 5 
     5040  as_fn_error $? "could not find openssl libs" "$LINENO" 5 
    50295041fi 
    50305042rm -f core conftest.err conftest.$ac_objext \ 
     
    50385050do : 
    50395051  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default" 
    5040 if test "x$ac_cv_header_openssl_evp_h" = x""yes; then : 
     5052if test "x$ac_cv_header_openssl_evp_h" = xyes; then : 
    50415053  cat >>confdefs.h <<_ACEOF 
    50425054#define HAVE_OPENSSL_EVP_H 1 
     
    50505062do : 
    50515063  ac_fn_c_check_header_mongrel "$LINENO" "openssl/crypto.h" "ac_cv_header_openssl_crypto_h" "$ac_includes_default" 
    5052 if test "x$ac_cv_header_openssl_crypto_h" = x""yes; then : 
     5064if test "x$ac_cv_header_openssl_crypto_h" = xyes; then : 
    50535065  cat >>confdefs.h <<_ACEOF 
    50545066#define HAVE_OPENSSL_CRYPTO_H 1 
     
    51115123do : 
    51125124  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default" 
    5113 if test "x$ac_cv_header_openssl_evp_h" = x""yes; then : 
     5125if test "x$ac_cv_header_openssl_evp_h" = xyes; then : 
    51145126  cat >>confdefs.h <<_ACEOF 
    51155127#define HAVE_OPENSSL_EVP_H 1 
     
    51235135do : 
    51245136  ac_fn_c_check_header_mongrel "$LINENO" "openssl/crypto.h" "ac_cv_header_openssl_crypto_h" "$ac_includes_default" 
    5125 if test "x$ac_cv_header_openssl_crypto_h" = x""yes; then : 
     5137if test "x$ac_cv_header_openssl_crypto_h" = xyes; then : 
    51265138  cat >>confdefs.h <<_ACEOF 
    51275139#define HAVE_OPENSSL_CRYPTO_H 1 
     
    51995211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    52005212$as_echo_n "checking for $ac_word... " >&6; } 
    5201 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then : 
     5213if ${ac_cv_prog_HAVE_PKGCONFIG+:} false; then : 
    52025214  $as_echo_n "(cached) " >&6 
    52035215else 
     
    53315343 
    53325344       if test "$set_redhat24" = 0 || test "$set_nptl_workaround" = 0 ; then 
    5333            as_fn_error " 
     5345           as_fn_error $? " 
    53345346    You appear to be configuring PVFS2 on a RedHat distribution that 
    53355347    likely ships with a heavily modified kernel and c library.  You must 
     
    54445456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    54455457$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    5446 if test "${ac_cv_c_bigendian+set}" = set; then : 
     5458if ${ac_cv_c_bigendian+:} false; then : 
    54475459  $as_echo_n "(cached) " >&6 
    54485460else 
     
    56625674     ;; #( 
    56635675   *) 
    5664      as_fn_error "unknown endianness 
     5676     as_fn_error $? "unknown endianness 
    56655677 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    56665678 esac 
     
    56735685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 
    56745686$as_echo_n "checking size of void *... " >&6; } 
    5675 if test "${ac_cv_sizeof_void_p+set}" = set; then : 
     5687if ${ac_cv_sizeof_void_p+:} false; then : 
    56765688  $as_echo_n "(cached) " >&6 
    56775689else 
     
    56825694     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    56835695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    5684 { as_fn_set_status 77 
    5685 as_fn_error "cannot compute sizeof (void *) 
    5686 See \`config.log' for more details." "$LINENO" 5; }; } 
     5696as_fn_error 77 "cannot compute sizeof (void *) 
     5697See \`config.log' for more details" "$LINENO" 5; } 
    56875698   else 
    56885699     ac_cv_sizeof_void_p=0 
     
    57305741if test "${with_tau+set}" = set; then : 
    57315742  withval=$with_tau; if test "x$withval" = "xyes" ; then 
    5732            as_fn_error "--with-tau must be given a pathname" "$LINENO" 5 
     5743           as_fn_error $? "--with-tau must be given a pathname" "$LINENO" 5 
    57335744    else 
    57345745       TAU_INCS="-I$withval/include" 
     
    57375748       tau_mkfile=$withval/$(uname -m)/lib/Makefile.*-profile-trace 
    57385749       if test ! -f $tau_mkfile; then 
    5739            as_fn_error "TAU not compiled with profiling and tracing support" "$LINENO" 5 
     5750           as_fn_error $? "TAU not compiled with profiling and tracing support" "$LINENO" 5 
    57405751       fi 
    57415752       tau_config=$(echo $tau_mkfile | sed -e "s|.*Makefile.tau-||") 
     
    57595770if test "${with_kernel+set}" = set; then : 
    57605771  withval=$with_kernel; if test "x$withval" = "xyes" -o "x$withval" = "x" ; then 
    5761            as_fn_error "--with-kernel must be given the path to your kernel source." "$LINENO" 5 
     5772           as_fn_error $? "--with-kernel must be given the path to your kernel source." "$LINENO" 5 
    57625773    fi 
    57635774    if ! test -d $withval ; then 
    5764            as_fn_error "The --with-kernel path $withval is not a directory." "$LINENO" 5 
     5775           as_fn_error $? "The --with-kernel path $withval is not a directory." "$LINENO" 5 
    57655776    fi 
    57665777    if ! test -r $withval/include/linux/version.h ; then 
    5767        as_fn_error "The kernel source tree must have been configured." "$LINENO" 5 
     5778       as_fn_error $? "The kernel source tree must have been configured." "$LINENO" 5 
    57685779    fi 
    57695780 
     
    57755786        vers=`sed -n '/UTS_RELEASE/{; s/.*"\(0-9\.0-9\).*".*/\1/; p; }' $withval/include/generated/utsrelease.h` 
    57765787    else 
    5777         as_fn_error "The kernel source tree does not appear to be 2.6" "$LINENO" 5 
     5788        as_fn_error $? "The kernel source tree does not appear to be 2.6" "$LINENO" 5 
    57785789    fi 
    57795790 
     
    57945805if test "${with_kernel24+set}" = set; then : 
    57955806  withval=$with_kernel24; if test "x$withval" = "xyes" -o "x$withval" = "x" ; then 
    5796            as_fn_error "--with-kernel24 must be given the path to your kernel 2.4.x source." "$LINENO" 5 
     5807           as_fn_error $? "--with-kernel24 must be given the path to your kernel 2.4.x source." "$LINENO" 5 
    57975808    fi 
    57985809    if ! test -d $withval ; then 
    5799            as_fn_error "The --with-kernel path $withval is not a directory." "$LINENO" 5 
     5810           as_fn_error $? "The --with-kernel path $withval is not a directory." "$LINENO" 5 
    58005811    fi 
    58015812    if ! test -r $withval/include/linux/version.h ; then 
    5802        as_fn_error "The kernel source tree must have been configured." "$LINENO" 5 
     5813       as_fn_error $? "The kernel source tree must have been configured." "$LINENO" 5 
    58035814    fi 
    58045815    vers=`sed -n '/UTS_RELEASE/{; s/.*"\(0-9\.0-9\).*".*/\1/; p; }' $withval/include/linux/version.h` 
    58055816    if ! grep -q UTS_RELEASE..2\\.4\\. $withval/include/linux/version.h ; then 
    5806        as_fn_error "The kernel source tree does not appear to be 2.4" "$LINENO" 5 
     5817       as_fn_error $? "The kernel source tree does not appear to be 2.4" "$LINENO" 5 
    58075818    fi 
    58085819    k24_minor_ver=`echo $vers | cut -b 26- | sed -n 's/\"//p' | head -n 1` 
     
    58555866        NOSTDINCFLAGS="-Werror-implicit-function-declaration -nostdinc -isystem `$CC -print-file-name=include`" 
    58565867 
    5857         CFLAGS="$USR_CFLAGS $NOSTDINCFLAGS -I$lk_src/include -I$lk_src/include/asm/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)" 
     5868                                CFLAGS="-O2 $USR_CFLAGS $NOSTDINCFLAGS -I$lk_src/include -I$lk_src/include/asm/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)" 
    58585869 
    58595870                if test -f $lk_src/include/generated/autoconf.h ; then 
     
    68106821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    68116822 
     6823        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_sb_nodev" >&5 
     6824$as_echo_n "checking for get_sb_nodev... " >&6; } 
     6825        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6826/* end confdefs.h.  */ 
     6827 
     6828                #define __KERNEL__ 
     6829                #include <linux/fs.h> 
     6830                int v_fill_sb(struct super_block *sb, void *data, int s) 
     6831                { 
     6832                        return 0; 
     6833                } 
     6834 
     6835int 
     6836main () 
     6837{ 
     6838 
     6839                        int ret = 0; 
     6840                        struct super_block *sb = NULL; 
     6841#ifdef HAVE_VFSMOUNT_GETSB 
     6842                        ret = get_sb_nodev(NULL, 0, NULL, v_fill_sb, NULL ); 
     6843#else 
     6844                        sb = get_sb_nodev(NULL, 0, NULL, v_fill_sb); 
     6845#endif 
     6846 
     6847  ; 
     6848  return 0; 
     6849} 
     6850_ACEOF 
     6851if ac_fn_c_try_compile "$LINENO"; then : 
     6852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6853$as_echo "yes" >&6; } 
     6854 
     6855$as_echo "#define HAVE_GETSB_NODEV 1" >>confdefs.h 
     6856 
     6857else 
     6858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     6859$as_echo "no" >&6; } 
     6860 
     6861fi 
     6862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6863 
     6864        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file_system_type get_sb" >&5 
     6865$as_echo_n "checking for file_system_type get_sb... " >&6; } 
     6866        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6867/* end confdefs.h.  */ 
     6868 
     6869                #define __KERNEL__ 
     6870                #include <linux/fs.h> 
     6871 
     6872int 
     6873main () 
     6874{ 
     6875 
     6876                    struct file_system_type f; 
     6877                    f.get_sb = NULL; 
     6878 
     6879  ; 
     6880  return 0; 
     6881} 
     6882_ACEOF 
     6883if ac_fn_c_try_compile "$LINENO"; then : 
     6884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6885$as_echo "yes" >&6; } 
     6886 
     6887$as_echo "#define HAVE_FSTYPE_GET_SB 1" >>confdefs.h 
     6888 
     6889else 
     6890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     6891$as_echo "no" >&6; } 
     6892 
     6893fi 
     6894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6895 
     6896 
     6897 
     6898        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file_system_type mount exclusively" >&5 
     6899$as_echo_n "checking for file_system_type mount exclusively... " >&6; } 
     6900        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6901/* end confdefs.h.  */ 
     6902 
     6903                #define __KERNEL__ 
     6904                #include <linux/fs.h> 
     6905 
     6906int 
     6907main () 
     6908{ 
     6909 
     6910#ifdef HAVE_FSTYPE_GET_SB 
     6911                    assert(0); 
     6912#else 
     6913                    struct file_system_type f; 
     6914                    f.mount = NULL; 
     6915#endif 
     6916 
     6917  ; 
     6918  return 0; 
     6919} 
     6920_ACEOF 
     6921if ac_fn_c_try_compile "$LINENO"; then : 
     6922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6923$as_echo "yes" >&6; } 
     6924 
     6925$as_echo "#define HAVE_FSTYPE_MOUNT_ONLY 1" >>confdefs.h 
     6926 
     6927else 
     6928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     6929$as_echo "no" >&6; } 
     6930 
     6931fi 
     6932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6933 
    68126934        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xattr support in kernel" >&5 
    68136935$as_echo_n "checking for xattr support in kernel... " >&6; } 
     
    69727094 
    69737095" 
    6974 if test "x$ac_cv_header_linux_posix_acl_h" = x""yes; then : 
     7096if test "x$ac_cv_header_linux_posix_acl_h" = xyes; then : 
    69757097  cat >>confdefs.h <<_ACEOF 
    69767098#define HAVE_LINUX_POSIX_ACL_H 1 
     
    69917113 
    69927114" 
    6993 if test "x$ac_cv_header_linux_posix_acl_xattr_h" = x""yes; then : 
     7115if test "x$ac_cv_header_linux_posix_acl_xattr_h" = xyes; then : 
    69947116  cat >>confdefs.h <<_ACEOF 
    69957117#define HAVE_LINUX_POSIX_ACL_XATTR_H 1 
     
    70107132 
    70117133" 
    7012 if test "x$ac_cv_header_linux_xattr_acl_h" = x""yes; then : 
     7134if test "x$ac_cv_header_linux_xattr_acl_h" = xyes; then : 
    70137135  cat >>confdefs.h <<_ACEOF 
    70147136#define HAVE_LINUX_XATTR_ACL_H 1 
     
    70267148 
    70277149" 
    7028 if test "x$ac_cv_header_linux_mount_h" = x""yes; then : 
     7150if test "x$ac_cv_header_linux_mount_h" = xyes; then : 
    70297151  cat >>confdefs.h <<_ACEOF 
    70307152#define HAVE_LINUX_MOUNT_H 1 
     
    70417163 
    70427164" 
    7043 if test "x$ac_cv_header_linux_ioctl32_h" = x""yes; then : 
     7165if test "x$ac_cv_header_linux_ioctl32_h" = xyes; then : 
    70447166  cat >>confdefs.h <<_ACEOF 
    70457167#define HAVE_LINUX_IOCTL32_H 1 
     
    70567178 
    70577179" 
    7058 if test "x$ac_cv_header_linux_compat_h" = x""yes; then : 
     7180if test "x$ac_cv_header_linux_compat_h" = xyes; then : 
    70597181  cat >>confdefs.h <<_ACEOF 
    70607182#define HAVE_LINUX_COMPAT_H 1 
     
    70717193 
    70727194" 
    7073 if test "x$ac_cv_header_linux_syscalls_h" = x""yes; then : 
     7195if test "x$ac_cv_header_linux_syscalls_h" = xyes; then : 
    70747196  cat >>confdefs.h <<_ACEOF 
    70757197#define HAVE_LINUX_SYSCALLS_H 1 
     
    70867208 
    70877209" 
    7088 if test "x$ac_cv_header_asm_ioctl32_h" = x""yes; then : 
     7210if test "x$ac_cv_header_asm_ioctl32_h" = xyes; then : 
    70897211  cat >>confdefs.h <<_ACEOF 
    70907212#define HAVE_ASM_IOCTL32_H 1 
     
    71017223 
    71027224" 
    7103 if test "x$ac_cv_header_linux_exportfs_h" = x""yes; then : 
     7225if test "x$ac_cv_header_linux_exportfs_h" = xyes; then : 
    71047226  cat >>confdefs.h <<_ACEOF 
    71057227#define HAVE_LINUX_EXPORTFS_H 1 
     
    71097231 
    71107232done 
     7233 
     7234 
     7235                ac_fn_c_check_header_compile "$LINENO" "linux/smp_lock.h" "ac_cv_header_linux_smp_lock_h" "#define __KERNEL__ 
     7236                 #include <linux/smp_lock.h> 
     7237 
     7238" 
     7239if test "x$ac_cv_header_linux_smp_lock_h" = xyes; then : 
     7240 
     7241fi 
     7242 
    71117243 
    71127244 
     
    89909122        CFLAGS=$tmp_cflags 
    89919123 
     9124                        tmp_cflags=$CFLAGS 
     9125        CFLAGS="$CFLAGS -Werror" 
     9126        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPIN_LOCK_UNLOCKED " >&5 
     9127$as_echo_n "checking for SPIN_LOCK_UNLOCKED ... " >&6; } 
     9128        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9129/* end confdefs.h.  */ 
     9130 
     9131                #define __KERNEL__ 
     9132                #include <linux/spinlock.h> 
     9133                spinlock_t test_lock = SPIN_LOCK_UNLOCKED; 
     9134                struct inode *i; 
     9135 
     9136int 
     9137main () 
     9138{ 
     9139 
     9140  ; 
     9141  return 0; 
     9142} 
     9143_ACEOF 
     9144if ac_fn_c_try_compile "$LINENO"; then : 
     9145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     9146$as_echo "yes" >&6; } 
     9147 
     9148$as_echo "#define HAVE_SPIN_LOCK_UNLOCKED 1" >>confdefs.h 
     9149 
     9150else 
     9151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     9152$as_echo "no" >&6; } 
     9153 
     9154fi 
     9155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9156        CFLAGS=$tmp_cflags 
     9157 
     9158                tmp_cflags=$CFLAGS 
     9159        CFLAGS="$CFLAGS -Werror" 
     9160        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_sb " >&5 
     9161$as_echo_n "checking for get_sb ... " >&6; } 
     9162        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9163/* end confdefs.h.  */ 
     9164 
     9165                #define __KERNEL__ 
     9166                #include <linux/fs.h> 
     9167                struct file_system_type f; 
     9168 
     9169int 
     9170main () 
     9171{ 
     9172 
     9173                f.get_sb = NULL; 
     9174 
     9175  ; 
     9176  return 0; 
     9177} 
     9178_ACEOF 
     9179if ac_fn_c_try_compile "$LINENO"; then : 
     9180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     9181$as_echo "yes" >&6; } 
     9182 
     9183$as_echo "#define HAVE_GET_SB_MEMBER_FILE_SYSTEM_TYPE 1" >>confdefs.h 
     9184 
     9185else 
     9186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     9187$as_echo "no" >&6; } 
     9188 
     9189fi 
     9190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9191 
     9192        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirty_inode flag" >&5 
     9193$as_echo_n "checking for dirty_inode flag... " >&6; } 
     9194        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9195/* end confdefs.h.  */ 
     9196 
     9197                #define __KERNEL__ 
     9198                #include <linux/fs.h> 
     9199                void di(struct inode *i, int f) 
     9200                { 
     9201                        return; 
     9202                } 
     9203 
     9204int 
     9205main () 
     9206{ 
     9207 
     9208                        struct super_operations s; 
     9209                        s.dirty_inode = di; 
     9210 
     9211  ; 
     9212  return 0; 
     9213} 
     9214_ACEOF 
     9215if ac_fn_c_try_compile "$LINENO"; then : 
     9216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     9217$as_echo "yes" >&6; } 
     9218 
     9219$as_echo "#define HAVE_DIRTY_INODE_FLAGS 1" >>confdefs.h 
     9220 
     9221else 
     9222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     9223$as_echo "no" >&6; } 
     9224 
     9225fi 
     9226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9227        CFLAGS=$tmp_cflags 
    89929228 
    89939229        CFLAGS=$oldcflags 
     
    90369272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    90379273$as_echo_n "checking for $ac_word... " >&6; } 
    9038 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then : 
     9274if ${ac_cv_prog_HAVE_PKGCONFIG+:} false; then : 
    90399275  $as_echo_n "(cached) " >&6 
    90409276else 
     
    90849320 
    90859321    else 
    9086             as_fn_error "FUSE: FUSE library not found. Check LD_LIBRARY_PATH." "$LINENO" 5 
     9322            as_fn_error $? "FUSE: FUSE library not found. Check LD_LIBRARY_PATH." "$LINENO" 5 
    90879323    fi 
    90889324  else 
    9089           as_fn_error "FUSE: pkg-config not available. Please install pkg-config." "$LINENO" 5 
     9325          as_fn_error $? "FUSE: pkg-config not available. Please install pkg-config." "$LINENO" 5 
    90909326  fi 
    90919327} 
     
    91339369do : 
    91349370  ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" 
    9135 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then : 
     9371if test "x$ac_cv_header_sys_epoll_h" = xyes; then : 
    91369372  cat >>confdefs.h <<_ACEOF 
    91379373#define HAVE_SYS_EPOLL_H 1 
     
    92379473 
    92389474if test "x$build_shared" = "xno" -a "x$build_static" = "xno" ; then 
    9239     as_fn_error "Must do --enable-shared or --enable-static or both." "$LINENO" 5 
     9475    as_fn_error $? "Must do --enable-shared or --enable-static or both." "$LINENO" 5 
    92409476fi 
    92419477 
     
    92869522       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lefence" >&5 
    92879523$as_echo_n "checking for malloc in -lefence... " >&6; } 
    9288 if test "${ac_cv_lib_efence_malloc+set}" = set; then : 
     9524if ${ac_cv_lib_efence_malloc+:} false; then : 
    92899525  $as_echo_n "(cached) " >&6 
    92909526else 
     
    93209556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_efence_malloc" >&5 
    93219557$as_echo "$ac_cv_lib_efence_malloc" >&6; } 
    9322 if test "x$ac_cv_lib_efence_malloc" = x""yes; then : 
     9558if test "x$ac_cv_lib_efence_malloc" = xyes; then : 
    93239559  cat >>confdefs.h <<_ACEOF 
    93249560#define HAVE_LIBEFENCE 1 
     
    94319667  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    94329668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    9433 as_fn_error "Invalid libdb path specified. No db.h found. 
    9434 See \`config.log' for more details." "$LINENO" 5; } 
     9669as_fn_error $? "Invalid libdb path specified. No db.h found. 
     9670See \`config.log' for more details" "$LINENO" 5; } 
    94359671fi 
    94369672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     
    94869722        LIBS=$oldlibs 
    94879723    if test "x$lib" = "xnotfound" ; then 
    9488            as_fn_error "could not find DB libraries" "$LINENO" 5 
     9724           as_fn_error $? "could not find DB libraries" "$LINENO" 5 
    94899725    else 
    94909726           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lib" >&5 
     
    985410090  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    985510091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    9856 as_fn_error "Invalid libdb path specified. No db.h found. 
    9857 See \`config.log' for more details." "$LINENO" 5; } 
     10092as_fn_error $? "Invalid libdb path specified. No db.h found. 
     10093See \`config.log' for more details" "$LINENO" 5; } 
    985810094fi 
    985910095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     
    990910145        LIBS=$oldlibs 
    991010146    if test "x$lib" = "xnotfound" ; then 
    9911            as_fn_error "could not find DB libraries" "$LINENO" 5 
     10147           as_fn_error $? "could not find DB libraries" "$LINENO" 5 
    991210148    else 
    991310149           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lib" >&5 
     
    1029110527$as_echo "yes" >&6; } 
    1029210528else 
    10293   as_fn_error "failed attempting to link lio_listio" "$LINENO" 5 
     10529  as_fn_error $? "failed attempting to link lio_listio" "$LINENO" 5 
    1029410530fi 
    1029510531rm -f core conftest.err conftest.$ac_objext \ 
     
    1032410560do : 
    1032510561  ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    10326 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     10562if test "x$ac_cv_header_netdb_h" = xyes; then : 
    1032710563  cat >>confdefs.h <<_ACEOF 
    1032810564#define HAVE_NETDB_H 1 
     
    1033610572do : 
    1033710573  ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    10338 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     10574if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 
    1033910575  cat >>confdefs.h <<_ACEOF 
    1034010576#define HAVE_ARPA_INET_H 1 
     
    1034810584do : 
    1034910585  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    10350 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     10586if test "x$ac_cv_header_sys_socket_h" = xyes; then : 
    1035110587  cat >>confdefs.h <<_ACEOF 
    1035210588#define HAVE_SYS_SOCKET_H 1 
     
    1043010666        BUILD_BMI_TCP= 
    1043110667    else 
    10432         as_fn_error "Option --with-tcp requires yes/no argument." "$LINENO" 5 
     10668        as_fn_error $? "Option --with-tcp requires yes/no argument." "$LINENO" 5 
    1043310669    fi 
    1043410670 
     
    1044310679if test "${with_gm+set}" = set; then : 
    1044410680  withval=$with_gm; if test -z "$withval" -o "$withval" = yes ; then 
    10445             as_fn_error "Option --with-gm requires the path to your GM tree." "$LINENO" 5 
     10681            as_fn_error $? "Option --with-gm requires the path to your GM tree." "$LINENO" 5 
    1044610682        elif test "$withval" != no ; then 
    1044710683            gm_home="$withval" 
     
    1045410690if test "${with_gm_includes+set}" = set; then : 
    1045510691  withval=$with_gm_includes; if test -z "$withval" -o "$withval" = yes ; then 
    10456             as_fn_error "Option --with-gm-includes requires path to GM headers." "$LINENO" 5 
     10692            as_fn_error $? "Option --with-gm-includes requires path to GM headers." "$LINENO" 5 
    1045710693        elif test "$withval" != no ; then 
    1045810694            GM_INCDIR="$withval" 
     
    1046510701if test "${with_gm_libs+set}" = set; then : 
    1046610702  withval=$with_gm_libs; if test -z "$withval" -o "$withval" = yes ; then 
    10467             as_fn_error "Option --with-gm-libs requires path to GM libraries." "$LINENO" 5 
     10703            as_fn_error $? "Option --with-gm-libs requires path to GM libraries." "$LINENO" 5 
    1046810704        elif test "$withval" != no ; then 
    1046910705            GM_LIBDIR="$withval" 
     
    1048710723        CPPFLAGS="$CPPFLAGS -I$GM_INCDIR -I$GM_INCDIR/gm" 
    1048810724        ac_fn_c_check_header_mongrel "$LINENO" "gm.h" "ac_cv_header_gm_h" "$ac_includes_default" 
    10489 if test "x$ac_cv_header_gm_h" = x""yes; then : 
    10490  
    10491 else 
    10492   as_fn_error "Header gm.h not found." "$LINENO" 5 
     10725if test "x$ac_cv_header_gm_h" = xyes; then : 
     10726 
     10727else 
     10728  as_fn_error $? "Header gm.h not found." "$LINENO" 5 
    1049310729fi 
    1049410730 
     
    1049610732                        if test ! -f $GM_LIBDIR/libgm.so ; then 
    1049710733            if test ! -f $GM_LIBDIR/libgm.a ; then 
    10498                 as_fn_error "Neither GM library libgm.so or libgm.a found." "$LINENO" 5 
     10734                as_fn_error $? "Neither GM library libgm.so or libgm.a found." "$LINENO" 5 
    1049910735            fi 
    1050010736        fi 
     
    1051310749if test "${with_mx+set}" = set; then : 
    1051410750  withval=$with_mx; if test -z "$withval" -o "$withval" = yes ; then 
    10515             as_fn_error "Option --with-mx requires the path to your MX tree." "$LINENO" 5 
     10751            as_fn_error $? "Option --with-mx requires the path to your MX tree." "$LINENO" 5 
    1051610752        elif test "$withval" != no ; then 
    1051710753            mx_home="$withval" 
     
    1052410760if test "${with_mx_includes+set}" = set; then : 
    1052510761  withval=$with_mx_includes; if test -z "$withval" -o "$withval" = yes ; then 
    10526             as_fn_error "Option --with-mx-includes requires path to MX headers." "$LINENO" 5 
     10762            as_fn_error $? "Option --with-mx-includes requires path to MX headers." "$LINENO" 5 
    1052710763        elif test "$withval" != no ; then 
    1052810764            MX_INCDIR="$withval" 
     
    1053510771if test "${with_mx_libs+set}" = set; then : 
    1053610772  withval=$with_mx_libs; if test -z "$withval" -o "$withval" = yes ; then 
    10537             as_fn_error "Option --with-mx-libs requires path to MX libraries." "$LINENO" 5 
     10773            as_fn_error $? "Option --with-mx-libs requires path to MX libraries." "$LINENO" 5 
    1053810774        elif test "$withval" != no ; then 
    1053910775            MX_LIBDIR="$withval" 
     
    1055710793        CPPFLAGS="$CPPFLAGS -I$MX_INCDIR -I$MX_INCDIR/mx" 
    1055810794        ac_fn_c_check_header_mongrel "$LINENO" "myriexpress.h" "ac_cv_header_myriexpress_h" "$ac_includes_default" 
    10559 if test "x$ac_cv_header_myriexpress_h" = x""yes; then : 
    10560  
    10561 else 
    10562   as_fn_error "Header myriexpress.h not found." "$LINENO" 5 
     10795if test "x$ac_cv_header_myriexpress_h" = xyes; then : 
     10796 
     10797else 
     10798  as_fn_error $? "Header myriexpress.h not found." "$LINENO" 5 
    1056310799fi 
    1056410800 
     
    1056610802                        if test ! -f $MX_LIBDIR/libmyriexpress.so ; then 
    1056710803            if test ! -f $MX_LIBDIR/libmyriexpress.a ; then 
    10568                 as_fn_error "Neither MX library libmyriexpress.so or libmyriexpress.a found." "$LINENO" 5 
     10804                as_fn_error $? "Neither MX library libmyriexpress.so or libmyriexpress.a found." "$LINENO" 5 
    1056910805            fi 
    1057010806        fi 
     
    1060910845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    1061010846$as_echo "no" >&6; } 
    10611             as_fn_error "Function mx_decompose_endpoint_addr2() not found." "$LINENO" 5 
     10847            as_fn_error $? "Function mx_decompose_endpoint_addr2() not found." "$LINENO" 5 
    1061210848 
    1061310849fi 
     
    1062710863if test "${with_ib+set}" = set; then : 
    1062810864  withval=$with_ib; if test -z "$withval" -o "$withval" = yes ; then 
    10629             as_fn_error "Option --with-ib requires the path to your IB tree." "$LINENO" 5 
     10865            as_fn_error $? "Option --with-ib requires the path to your IB tree." "$LINENO" 5 
    1063010866        elif test "$withval" != no ; then 
    1063110867            ib_home="$withval" 
     
    1063810874if test "${with_ib_includes+set}" = set; then : 
    1063910875  withval=$with_ib_includes; if test -z "$withval" -o "$withval" = yes ; then 
    10640             as_fn_error "Option --with-ib-includes requires path to IB headers." "$LINENO" 5 
     10876            as_fn_error $? "Option --with-ib-includes requires path to IB headers." "$LINENO" 5 
    1064110877        elif test "$withval" != no ; then 
    1064210878            IB_INCDIR="$withval" 
     
    1064910885if test "${with_ib_libs+set}" = set; then : 
    1065010886  withval=$with_ib_libs; if test -z "$withval" -o "$withval" = yes ; then 
    10651             as_fn_error "Option --with-ib-libs requires path to IB libraries." "$LINENO" 5 
     10887            as_fn_error $? "Option --with-ib-libs requires path to IB libraries." "$LINENO" 5 
    1065210888        elif test "$withval" != no ; then 
    1065310889            IB_LIBDIR="$withval" 
     
    1067110907        CPPFLAGS="$CPPFLAGS -I$IB_INCDIR" 
    1067210908        ac_fn_c_check_header_mongrel "$LINENO" "vapi.h" "ac_cv_header_vapi_h" "$ac_includes_default" 
    10673 if test "x$ac_cv_header_vapi_h" = x""yes; then : 
    10674  
    10675 else 
    10676   as_fn_error "Header vapi.h not found." "$LINENO" 5 
     10909if test "x$ac_cv_header_vapi_h" = xyes; then : 
     10910 
     10911else 
     10912  as_fn_error $? "Header vapi.h not found." "$LINENO" 5 
    1067710913fi 
    1067810914 
     
    1068010916                                if test ! -f $IB_LIBDIR/libvapi.so ; then 
    1068110917            if test ! -f $IB_LIBDIR/libvapi.a ; then 
    10682                 as_fn_error "Infiniband library libvapi.so not found." "$LINENO" 5 
     10918                as_fn_error $? "Infiniband library libvapi.so not found." "$LINENO" 5 
    1068310919            fi 
    1068410920        fi 
     
    1068610922        ac_fn_c_check_header_compile "$LINENO" "wrap_common.h" "ac_cv_header_wrap_common_h" "#include <vapi.h> 
    1068710923" 
    10688 if test "x$ac_cv_header_wrap_common_h" = x""yes; then : 
     10924if test "x$ac_cv_header_wrap_common_h" = xyes; then : 
    1068910925 
    1069010926$as_echo "#define HAVE_IB_WRAP_COMMON_H 1" >>confdefs.h 
     
    1070410940if test "${with_openib+set}" = set; then : 
    1070510941  withval=$with_openib; if test -z "$withval" -o "$withval" = yes ; then 
    10706             as_fn_error "Option --with-openib requires the path to your OpenIB tree." "$LINENO" 5 
     10942            as_fn_error $? "Option --with-openib requires the path to your OpenIB tree." "$LINENO" 5 
    1070710943        elif test "$withval" != no ; then 
    1070810944            openib_home="$withval" 
     
    1071510951if test "${with_openib_includes+set}" = set; then : 
    1071610952  withval=$with_openib_includes; if test -z "$withval" -o "$withval" = yes ; then 
    10717             as_fn_error "Option --with-openib-includes requires path to OpenIB headers." "$LINENO" 5 
     10953            as_fn_error $? "Option --with-openib-includes requires path to OpenIB headers." "$LINENO" 5 
    1071810954        elif test "$withval" != no ; then 
    1071910955            OPENIB_INCDIR="$withval" 
     
    1072610962if test "${with_openib_libs+set}" = set; then : 
    1072710963  withval=$with_openib_libs; if test -z "$withval" -o "$withval" = yes ; then 
    10728             as_fn_error "Option --with-openib-libs requires path to OpenIB libraries." "$LINENO" 5 
     10964            as_fn_error $? "Option --with-openib-libs requires path to OpenIB libraries." "$LINENO" 5 
    1072910965        elif test "$withval" != no ; then 
    1073010966            OPENIB_LIBDIR="$withval" 
     
    1074810984        CPPFLAGS="$CPPFLAGS -I$OPENIB_INCDIR" 
    1074910985        ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default" 
    10750 if test "x$ac_cv_header_infiniband_verbs_h" = x""yes; then : 
    10751  
    10752 else 
    10753   as_fn_error "Header infiniband/verbs.h not found." "$LINENO" 5 
     10986if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then : 
     10987 
     10988else 
     10989  as_fn_error $? "Header infiniband/verbs.h not found." "$LINENO" 5 
    1075410990fi 
    1075510991 
     
    1075710993                        if test ! -f $OPENIB_LIBDIR/libibverbs.so ; then 
    1075810994            if test ! -f $OPENIB_LIBDIR/libibverbs.a ; then 
    10759                 as_fn_error "OpenIB library libibverbs.so not found." "$LINENO" 5 
     10995                as_fn_error $? "OpenIB library libibverbs.so not found." "$LINENO" 5 
    1076010996            fi 
    1076110997        fi 
     
    1085711093if test "${with_portals_includes+set}" = set; then : 
    1085811094  withval=$with_portals_includes; if test -z "$withval" -o "$withval" = yes ; then 
    10859             as_fn_error "Option --with-portals-includes requires an argument." "$LINENO" 5 
     11095            as_fn_error $? "Option --with-portals-includes requires an argument." "$LINENO" 5 
    1086011096        elif test "$withval" != no ; then 
    1086111097            incs="$withval" 
     
    1086811104if test "${with_portals_libs+set}" = set; then : 
    1086911105  withval=$with_portals_libs; if test -z "$withval" -o "$withval" = yes ; then 
    10870             as_fn_error "Option --with-portals-libs requires an argument." "$LINENO" 5 
     11106            as_fn_error $? "Option --with-portals-libs requires an argument." "$LINENO" 5 
    1087111107        elif test "$withval" != no ; then 
    1087211108            libs="$withval" 
     
    1092611162            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    1092711163$as_echo "no" >&6; } 
    10928             as_fn_error "Header portals/portals3.h not found." "$LINENO" 5 
     11164            as_fn_error $? "Header portals/portals3.h not found." "$LINENO" 5 
    1092911165        fi 
    1093011166 
     
    1099811234            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    1099911235$as_echo "no" >&6; } 
    11000             as_fn_error "Could not link Portals library." "$LINENO" 5 
     11236            as_fn_error $? "Could not link Portals library." "$LINENO" 5 
    1100111237        fi 
    1100211238 
     
    1100711243do : 
    1100811244  ac_fn_c_check_func "$LINENO" "PtlErrorStr" "ac_cv_func_PtlErrorStr" 
    11009 if test "x$ac_cv_func_PtlErrorStr" = x""yes; then : 
     11245if test "x$ac_cv_func_PtlErrorStr" = xyes; then : 
    1101011246  cat >>confdefs.h <<_ACEOF 
    1101111247#define HAVE_PTLERRORSTR 1 
     
    1101811254do : 
    1101911255  ac_fn_c_check_func "$LINENO" "PtlEventKindStr" "ac_cv_func_PtlEventKindStr" 
    11020 if test "x$ac_cv_func_PtlEventKindStr" = x""yes; then : 
     11256if test "x$ac_cv_func_PtlEventKindStr" = xyes; then : 
    1102111257  cat >>confdefs.h <<_ACEOF 
    1102211258#define HAVE_PTLEVENTKINDSTR 1 
     
    1106011296if test "${with_zoid+set}" = set; then : 
    1106111297  withval=$with_zoid; if test -z "$withval" -o "$withval" = yes ; then 
    11062             as_fn_error "Option --with-zoid requires the path to your ZOID source tree." "$LINENO" 5 
     11298            as_fn_error $? "Option --with-zoid requires the path to your ZOID source tree." "$LINENO" 5 
    1106311299        elif test "$withval" != no ; then 
    1106411300            ZOID_SRCDIR="$withval" 
     
    1107111307        CPPFLAGS="$CPPFLAGS -Isrc/io/bmi -I$ZOID_SRCDIR/include -I$ZOID_SRCDIR/zbmi -I$ZOID_SRCDIR/zbmi/implementation" 
    1107211308        ac_fn_c_check_header_mongrel "$LINENO" "zbmi.h" "ac_cv_header_zbmi_h" "$ac_includes_default" 
    11073 if test "x$ac_cv_header_zbmi_h" = x""yes; then : 
    11074  
    11075 else 
    11076   as_fn_error "Header zbmi.h not found." "$LINENO" 5 
     11309if test "x$ac_cv_header_zbmi_h" = xyes; then : 
     11310 
     11311else 
     11312  as_fn_error $? "Header zbmi.h not found." "$LINENO" 5 
    1107711313fi 
    1107811314 
    1107911315 
    1108011316        ac_fn_c_check_header_mongrel "$LINENO" "zoid_api.h" "ac_cv_header_zoid_api_h" "$ac_includes_default" 
    11081 if test "x$ac_cv_header_zoid_api_h" = x""yes; then : 
    11082  
    11083 else 
    11084   as_fn_error "Header zoid_api.h not found." "$LINENO" 5 
     11317if test "x$ac_cv_header_zoid_api_h" = xyes; then : 
     11318 
     11319else 
     11320  as_fn_error $? "Header zoid_api.h not found." "$LINENO" 5 
    1108511321fi 
    1108611322 
    1108711323 
    1108811324        ac_fn_c_check_header_mongrel "$LINENO" "zbmi_protocol.h" "ac_cv_header_zbmi_protocol_h" "$ac_includes_default" 
    11089 if test "x$ac_cv_header_zbmi_protocol_h" = x""yes; then : 
    11090  
    11091 else 
    11092   as_fn_error "Header zbmi_protocol.h not found." "$LINENO" 5 
     11325if test "x$ac_cv_header_zbmi_protocol_h" = xyes; then : 
     11326 
     11327else 
     11328  as_fn_error $? "Header zbmi_protocol.h not found." "$LINENO" 5 
    1109311329fi 
    1109411330 
     
    1113811374 
    1113911375ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" 
    11140 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then : 
     11376if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 
    1114111377 
    1114211378$as_echo "#define HAVE_SYSINFO 1" >>confdefs.h 
     
    1115011386do : 
    1115111387  ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" 
    11152 if test "x$ac_cv_func_strnlen" = x""yes; then : 
     11388if test "x$ac_cv_func_strnlen" = xyes; then : 
    1115311389  cat >>confdefs.h <<_ACEOF 
    1115411390#define HAVE_STRNLEN 1 
     
    1116111397do : 
    1116211398  ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" 
    11163 if test "x$ac_cv_func_strtoull" = x""yes; then : 
     11399if test "x$ac_cv_func_strtoull" = xyes; then : 
    1116411400  cat >>confdefs.h <<_ACEOF 
    1116511401#define HAVE_STRTOULL 1 
     
    1117211408do : 
    1117311409  ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 
    11174 if test "x$ac_cv_func_strstr" = x""yes; then : 
     11410if test "x$ac_cv_func_strstr" = xyes; then : 
    1117511411  cat >>confdefs.h <<_ACEOF 
    1117611412#define HAVE_STRSTR 1 
     
    1118311419do : 
    1118411420  ac_fn_c_check_func "$LINENO" "fgetxattr" "ac_cv_func_fgetxattr" 
    11185 if test "x$ac_cv_func_fgetxattr" = x""yes; then : 
     11421if test "x$ac_cv_func_fgetxattr" = xyes; then : 
    1118611422  cat >>confdefs.h <<_ACEOF 
    1118711423#define HAVE_FGETXATTR 1 
     
    1119411430do : 
    1119511431  ac_fn_c_check_func "$LINENO" "fsetxattr" "ac_cv_func_fsetxattr" 
    11196 if test "x$ac_cv_func_fsetxattr" = x""yes; then : 
     11432if test "x$ac_cv_func_fsetxattr" = xyes; then : 
    1119711433  cat >>confdefs.h <<_ACEOF 
    1119811434#define HAVE_FSETXATTR 1 
     
    1132011556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5 
    1132111557$as_echo_n "checking for library containing getmntent... " >&6; } 
    11322 if test "${ac_cv_search_getmntent+set}" = set; then : 
     11558if ${ac_cv_search_getmntent+:} false; then : 
    1132311559  $as_echo_n "(cached) " >&6 
    1132411560else 
     
    1135411590rm -f core conftest.err conftest.$ac_objext \ 
    1135511591    conftest$ac_exeext 
    11356   if test "${ac_cv_search_getmntent+set}" = set; then : 
     11592  if ${ac_cv_search_getmntent+:} false; then : 
    1135711593  break 
    1135811594fi 
    1135911595done 
    11360 if test "${ac_cv_search_getmntent+set}" = set; then : 
     11596if ${ac_cv_search_getmntent+:} false; then : 
    1136111597 
    1136211598else 
     
    1138411620do : 
    1138511621  ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    11386 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     11622if test "x$ac_cv_header_malloc_h" = xyes; then : 
    1138711623  cat >>confdefs.h <<_ACEOF 
    1138811624#define HAVE_MALLOC_H 1 
     
    1139611632do : 
    1139711633  ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default" 
    11398 if test "x$ac_cv_header_mntent_h" = x""yes; then : 
     11634if test "x$ac_cv_header_mntent_h" = xyes; then : 
    1139911635  cat >>confdefs.h <<_ACEOF 
    1140011636#define HAVE_MNTENT_H 1 
     
    1142511661do : 
    1142611662  ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" 
    11427 if test "x$ac_cv_header_execinfo_h" = x""yes; then : 
     11663if test "x$ac_cv_header_execinfo_h" = xyes; then : 
    1142811664  cat >>confdefs.h <<_ACEOF 
    1142911665#define HAVE_EXECINFO_H 1 
     
    1145111687do : 
    1145211688  ac_fn_c_check_header_mongrel "$LINENO" "SDL_ttf.h" "ac_cv_header_SDL_ttf_h" "$ac_includes_default" 
    11453 if test "x$ac_cv_header_SDL_ttf_h" = x""yes; then : 
     11689if test "x$ac_cv_header_SDL_ttf_h" = xyes; then : 
    1145411690  cat >>confdefs.h <<_ACEOF 
    1145511691#define HAVE_SDL_TTF_H 1 
     
    1146111697do : 
    1146211698  ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL_ttf.h" "ac_cv_header_SDL_SDL_ttf_h" "$ac_includes_default" 
    11463 if test "x$ac_cv_header_SDL_SDL_ttf_h" = x""yes; then : 
     11699if test "x$ac_cv_header_SDL_SDL_ttf_h" = xyes; then : 
    1146411700  cat >>confdefs.h <<_ACEOF 
    1146511701#define HAVE_SDL_SDL_TTF_H 1 
     
    1158511821if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 
    1158611822  if test -w "$cache_file"; then 
    11587     test "x$cache_file" != "x/dev/null" && 
     11823    if test "x$cache_file" != "x/dev/null"; then 
    1158811824      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    1158911825$as_echo "$as_me: updating cache $cache_file" >&6;} 
    11590     cat confcache >$cache_file 
     11826      if test ! -f "$cache_file" || test -h "$cache_file"; then 
     11827        cat confcache >"$cache_file" 
     11828      else 
     11829        case $cache_file in #( 
     11830        */* | ?:*) 
     11831          mv -f confcache "$cache_file"$$ && 
     11832          mv -f "$cache_file"$$ "$cache_file" ;; #( 
     11833        *) 
     11834          mv -f confcache "$cache_file" ;; 
     11835        esac 
     11836      fi 
     11837    fi 
    1159111838  else 
    1159211839    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     
    1160411851ac_libobjs= 
    1160511852ac_ltlibobjs= 
     11853U= 
    1160611854for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
    1160711855  # 1. Remove the extension, and $U if already installed. 
     
    1162011868 
    1162111869 
    11622 : ${CONFIG_STATUS=./config.status} 
     11870: "${CONFIG_STATUS=./config.status}" 
    1162311871ac_write_fail=0 
    1162411872ac_clean_files_save=$ac_clean_files 
     
    1172111969 
    1172211970# Find who we are.  Look in the path if we contain no directory separator. 
     11971as_myself= 
    1172311972case $0 in #(( 
    1172411973  *[\\/]* ) as_myself=$0 ;; 
     
    1176612015 
    1176712016 
    11768 # as_fn_error ERROR [LINENO LOG_FD] 
    11769 # --------------------------------- 
     12017# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     12018# ---------------------------------------- 
    1177012019# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    1177112020# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    11772 # script with status $?, using 1 if that was 0. 
     12021# script with STATUS, using 1 if that was 0. 
    1177312022as_fn_error () 
    1177412023{ 
    11775   as_status=$?; test $as_status -eq 0 && as_status=1 
    11776   if test "$3"; then 
    11777     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    11778     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     12024  as_status=$1; test $as_status -eq 0 && as_status=1 
     12025  if test "$4"; then 
     12026    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     12027    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    1177912028  fi 
    11780   $as_echo "$as_me: error: $1" >&2 
     12029  $as_echo "$as_me: error: $2" >&2 
    1178112030  as_fn_exit $as_status 
    1178212031} # as_fn_error 
     
    1197412223    done 
    1197512224    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    11976   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     12225  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    1197712226 
    1197812227 
     
    1202812277ac_log=" 
    1202912278This file was extended by $as_me, which was 
    12030 generated by GNU Autoconf 2.65.  Invocation command line was 
     12279generated by GNU Autoconf 2.68.  Invocation command line was 
    1203112280 
    1203212281  CONFIG_FILES    = $CONFIG_FILES 
     
    1209012339ac_cs_version="\\ 
    1209112340config.status 
    12092 configured by $0, generated by GNU Autoconf 2.65, 
     12341configured by $0, generated by GNU Autoconf 2.68, 
    1209312342  with options \\"\$ac_cs_config\\" 
    1209412343 
    12095 Copyright (C) 2009 Free Software Foundation, Inc. 
     12344Copyright (C) 2010 Free Software Foundation, Inc. 
    1209612345This config.status script is free software; the Free Software Foundation 
    1209712346gives unlimited permission to copy, distribute and modify it." 
     
    1210912358do 
    1211012359  case $1 in 
    12111   --*=*) 
     12360  --*=?*) 
    1211212361    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    1211312362    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     12363    ac_shift=: 
     12364    ;; 
     12365  --*=) 
     12366    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     12367    ac_optarg= 
    1211412368    ac_shift=: 
    1211512369    ;; 
     
    1213512389    case $ac_optarg in 
    1213612390    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     12391    '') as_fn_error $? "missing file argument" ;; 
    1213712392    esac 
    1213812393    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     
    1214712402  --he | --h) 
    1214812403    # Conflict between --help and --header 
    12149     as_fn_error "ambiguous option: \`$1' 
     12404    as_fn_error $? "ambiguous option: \`$1' 
    1215012405Try \`$0 --help' for more information.";; 
    1215112406  --help | --hel | -h ) 
     
    1215612411 
    1215712412  # This is an error. 
    12158   -*) as_fn_error "unrecognized option: \`$1' 
     12413  -*) as_fn_error $? "unrecognized option: \`$1' 
    1215912414Try \`$0 --help' for more information." ;; 
    1216012415 
     
    1226012515    "doc/doxygen/pvfs2-doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen/pvfs2-doxygen.conf" ;; 
    1226112516 
    12262   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     12517  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    1226312518  esac 
    1226412519done 
     
    1228212537$debug || 
    1228312538{ 
    12284   tmp= 
     12539  tmp= ac_tmp= 
    1228512540  trap 'exit_status=$? 
    12286   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     12541  : "${ac_tmp:=$tmp}" 
     12542  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 
    1228712543' 0 
    1228812544  trap 'as_fn_exit 1' 1 2 13 15 
     
    1229212548{ 
    1229312549  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    12294   test -n "$tmp" && test -d "$tmp" 
     12550  test -d "$tmp" 
    1229512551}  || 
    1229612552{ 
    1229712553  tmp=./conf$$-$RANDOM 
    1229812554  (umask 077 && mkdir "$tmp") 
    12299 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     12555} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
     12556ac_tmp=$tmp 
    1230012557 
    1230112558# Set up the scripts for CONFIG_FILES section. 
     
    1231412571ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    1231512572if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    12316   ac_cs_awk_cr='\r' 
     12573  ac_cs_awk_cr='\\r' 
    1231712574else 
    1231812575  ac_cs_awk_cr=$ac_cr 
    1231912576fi 
    1232012577 
    12321 echo 'BEGIN {' >"$tmp/subs1.awk" && 
     12578echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 
    1232212579_ACEOF 
    1232312580 
     
    1232812585  echo "_ACEOF" 
    1232912586} >conf$$subs.sh || 
    12330   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    12331 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     12587  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
     12588ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 
    1233212589ac_delim='%!_!# ' 
    1233312590for ac_last_try in false false false false false :; do 
    1233412591  . ./conf$$subs.sh || 
    12335     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     12592    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    1233612593 
    1233712594  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     
    1233912596    break 
    1234012597  elif $ac_last_try; then 
    12341     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     12598    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    1234212599  else 
    1234312600    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    1234712604 
    1234812605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    12349 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     12606cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 
    1235012607_ACEOF 
    1235112608sed -n ' 
     
    1239512652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    1239612653_ACAWK 
    12397 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     12654cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 
    1239812655  for (key in S) S_is_set[key] = 1 
    1239912656  FS = "" 
     
    1242712684else 
    1242812685  cat 
    12429 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    12430   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    12431 _ACEOF 
    12432  
    12433 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    12434 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     12686fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 
     12687  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
     12688_ACEOF 
     12689 
     12690# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 
     12691# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 
    1243512692# trailing colons and then remove the whole line if VPATH becomes empty 
    1243612693# (actually we leave an empty line to preserve line numbers). 
    1243712694if test "x$srcdir" = x.; then 
    12438   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    12439 s/:*\$(srcdir):*/:/ 
    12440 s/:*\${srcdir}:*/:/ 
    12441 s/:*@srcdir@:*/:/ 
    12442 s/^\([^=]*=[     ]*\):*/\1/ 
     12695  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{ 
     12696h 
     12697s/// 
     12698s/^/:/ 
     12699s/[      ]*$/:/ 
     12700s/:\$(srcdir):/:/g 
     12701s/:\${srcdir}:/:/g 
     12702s/:@srcdir@:/:/g 
     12703s/^:*// 
    1244312704s/:*$// 
     12705x 
     12706s/\(=[   ]*\).*/\1/ 
     12707G 
     12708s/\n// 
    1244412709s/^[^=]*=[       ]*$// 
    1244512710}' 
     
    1245312718# This happens for instance with `./config.status Makefile'. 
    1245412719if test -n "$CONFIG_HEADERS"; then 
    12455 cat >"$tmp/defines.awk" <<\_ACAWK || 
     12720cat >"$ac_tmp/defines.awk" <<\_ACAWK || 
    1245612721BEGIN { 
    1245712722_ACEOF 
     
    1246512730ac_delim='%!_!# ' 
    1246612731for ac_last_try in false false :; do 
    12467   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    12468   if test -z "$ac_t"; then 
     12732  ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 
     12733  if test -z "$ac_tt"; then 
    1246912734    break 
    1247012735  elif $ac_last_try; then 
    12471     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     12736    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
    1247212737  else 
    1247312738    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    1255412819_ACEOF 
    1255512820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    12556   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     12821  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
    1255712822fi # test -n "$CONFIG_HEADERS" 
    1255812823 
     
    1256712832  case $ac_mode$ac_tag in 
    1256812833  :[FHL]*:*);; 
    12569   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     12834  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    1257012835  :[FH]-) ac_tag=-:-;; 
    1257112836  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    1258612851    do 
    1258712852      case $ac_f in 
    12588       -) ac_f="$tmp/stdin";; 
     12853      -) ac_f="$ac_tmp/stdin";; 
    1258912854      *) # Look for the file first in the build tree, then in the source tree 
    1259012855         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     
    1259512860           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    1259612861           esac || 
    12597            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     12862           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    1259812863      esac 
    1259912864      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     
    1262112886 
    1262212887    case $ac_tag in 
    12623     *:-:* | *:-) cat >"$tmp/stdin" \ 
    12624       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     12888    *:-:* | *:-) cat >"$ac_tmp/stdin" \ 
     12889      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 
    1262512890    esac 
    1262612891    ;; 
     
    1275213017$ac_datarootdir_hack 
    1275313018" 
    12754 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    12755   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13019eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 
     13020  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    1275613021 
    1275713022test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    12758   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    12759   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
     13023  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 
     13024  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ 
     13025      "$ac_tmp/out"`; test -z "$ac_out"; } && 
    1276013026  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    12761 which seems to be undefined.  Please make sure it is defined." >&5 
     13027which seems to be undefined.  Please make sure it is defined" >&5 
    1276213028$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    12763 which seems to be undefined.  Please make sure it is defined." >&2;} 
    12764  
    12765   rm -f "$tmp/stdin" 
     13029which seems to be undefined.  Please make sure it is defined" >&2;} 
     13030 
     13031  rm -f "$ac_tmp/stdin" 
    1276613032  case $ac_file in 
    12767   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    12768   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     13033  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 
     13034  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 
    1276913035  esac \ 
    12770   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13036  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    1277113037 ;; 
    1277213038  :H) 
     
    1277713043    { 
    1277813044      $as_echo "/* $configure_input  */" \ 
    12779       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    12780     } >"$tmp/config.h" \ 
    12781       || as_fn_error "could not create $ac_file" "$LINENO" 5 
    12782     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     13045      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 
     13046    } >"$ac_tmp/config.h" \ 
     13047      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
     13048    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 
    1278313049      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    1278413050$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    1278513051    else 
    1278613052      rm -f "$ac_file" 
    12787       mv "$tmp/config.h" "$ac_file" \ 
    12788         || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13053      mv "$ac_tmp/config.h" "$ac_file" \ 
     13054        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    1278913055    fi 
    1279013056  else 
    1279113057    $as_echo "/* $configure_input  */" \ 
    12792       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    12793       || as_fn_error "could not create -" "$LINENO" 5 
     13058      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 
     13059      || as_fn_error $? "could not create -" "$LINENO" 5 
    1279413060  fi 
    1279513061 ;; 
     
    1280613072 
    1280713073test $ac_write_fail = 0 || 
    12808   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
     13074  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    1280913075 
    1281013076 
     
    1282713093  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    1282813094  # would make configure fail if this is the last instruction. 
    12829   $ac_cs_success || as_fn_exit $? 
     13095  $ac_cs_success || as_fn_exit 1 
    1283013096fi 
    1283113097if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
  • branches/Orange-Branch/maint/config/kernel.m4

    r8842 r9022  
    1616        NOSTDINCFLAGS="-Werror-implicit-function-declaration -nostdinc -isystem `$CC -print-file-name=include`" 
    1717 
    18         CFLAGS="$USR_CFLAGS $NOSTDINCFLAGS -I$lk_src/include -I$lk_src/include/asm/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)" 
     18        dnl add optimizations to the flags. for some reason rcupdate.h in  
     19        dnl 2.6.40 causes compilation failures when no optimzation is used.  
     20        dnl no clear answer why this is. 
     21        CFLAGS="-O2 $USR_CFLAGS $NOSTDINCFLAGS -I$lk_src/include -I$lk_src/include/asm/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty)" 
    1922 
    2023        dnl kernels > 2.6.32 now use generated/autoconf.h 
     
    517520                AC_MSG_RESULT(yes) 
    518521                AC_DEFINE(HAVE_VFSMOUNT_GETSB, 1, Define if file_system_type get_sb has vfsmount argument), 
     522                AC_MSG_RESULT(no) 
     523        ) 
     524 
     525        AC_MSG_CHECKING(for get_sb_nodev) 
     526        AC_TRY_COMPILE([ 
     527                #define __KERNEL__ 
     528                #include <linux/fs.h> 
     529                int v_fill_sb(struct super_block *sb, void *data, int s) 
     530                { 
     531                        return 0; 
     532                } 
     533                ], 
     534                [ 
     535                        int ret = 0; 
     536                        struct super_block *sb = NULL; 
     537#ifdef HAVE_VFSMOUNT_GETSB 
     538                        ret = get_sb_nodev(NULL, 0, NULL, v_fill_sb, NULL ); 
     539#else 
     540                        sb = get_sb_nodev(NULL, 0, NULL, v_fill_sb); 
     541#endif 
     542                ],  
     543                AC_MSG_RESULT(yes) 
     544                AC_DEFINE(HAVE_GETSB_NODEV, 1, Define if get_sb_nodev function exists ), 
     545                AC_MSG_RESULT(no) 
     546        ) 
     547 
     548        AC_MSG_CHECKING(for file_system_type get_sb) 
     549        AC_TRY_COMPILE([ 
     550                #define __KERNEL__ 
     551                #include <linux/fs.h> 
     552                ], 
     553                [ 
     554                    struct file_system_type f; 
     555                    f.get_sb = NULL; 
     556                ],  
     557                AC_MSG_RESULT(yes) 
     558                AC_DEFINE(HAVE_FSTYPE_GET_SB, 1, Define if only filesystem_type has get_sb), 
     559                AC_MSG_RESULT(no) 
     560        ) 
     561 
     562 
     563 
     564        AC_MSG_CHECKING(for file_system_type mount exclusively) 
     565        AC_TRY_COMPILE([ 
     566                #define __KERNEL__ 
     567                #include <linux/fs.h> 
     568                ], 
     569                [ 
     570#ifdef HAVE_FSTYPE_GET_SB 
     571                    assert(0); 
     572#else 
     573                    struct file_system_type f; 
     574                    f.mount = NULL; 
     575#endif 
     576                ],  
     577                AC_MSG_RESULT(yes) 
     578                AC_DEFINE(HAVE_FSTYPE_MOUNT_ONLY, 1, Define if only filesystem_type has mount and HAVE_FSTYPE_GET_SB is false), 
    519579                AC_MSG_RESULT(no) 
    520580        ) 
     
    672732                ]) 
    673733 
     734        dnl no bkl, no need for smp_lock.h 
     735        AC_CHECK_HEADER([linux/smp_lock.h], [], [], 
     736                [#define __KERNEL__ 
     737                 #include <linux/smp_lock.h> 
     738                ]) 
     739 
    674740        AC_MSG_CHECKING(for generic_file_readv api in kernel) 
    675741        dnl if this test passes, the kernel does not have it 
     
    16341700        CFLAGS=$tmp_cflags 
    16351701 
     1702        dnl SPIN_LOCK_UNLOCKED has gone away in 2.6.39 in lieu of  
     1703        dnl DEFINE_SPINLOCK() 
     1704        tmp_cflags=$CFLAGS 
     1705        CFLAGS="$CFLAGS -Werror" 
     1706        AC_MSG_CHECKING(for SPIN_LOCK_UNLOCKED ) 
     1707        AC_TRY_COMPILE([ 
     1708                #define __KERNEL__ 
     1709                #include <linux/spinlock.h> 
     1710                spinlock_t test_lock = SPIN_LOCK_UNLOCKED; 
     1711                struct inode *i; 
     1712        ], [ ], 
     1713        AC_MSG_RESULT(yes) 
     1714        AC_DEFINE(HAVE_SPIN_LOCK_UNLOCKED, 1, [Define if SPIN_LOCK_UNLOCKED defined]), 
     1715        AC_MSG_RESULT(no) 
     1716        ) 
     1717        CFLAGS=$tmp_cflags 
     1718 
     1719        dnl get_sb goes away in 2.6.39 for mount_X 
     1720        tmp_cflags=$CFLAGS 
     1721        CFLAGS="$CFLAGS -Werror" 
     1722        AC_MSG_CHECKING(for get_sb ) 
     1723        AC_TRY_COMPILE([ 
     1724                #define __KERNEL__ 
     1725                #include <linux/fs.h> 
     1726                struct file_system_type f; 
     1727        ],  
     1728        [ 
     1729                f.get_sb = NULL; 
     1730        ], 
     1731        AC_MSG_RESULT(yes) 
     1732        AC_DEFINE(HAVE_GET_SB_MEMBER_FILE_SYSTEM_TYPE, 1, [Define if get_sb is a member of file_system_type struct]), 
     1733        AC_MSG_RESULT(no) 
     1734        ) 
     1735 
     1736        AC_MSG_CHECKING(for dirty_inode flag) 
     1737        AC_TRY_COMPILE([ 
     1738                #define __KERNEL__ 
     1739                #include <linux/fs.h> 
     1740                void di(struct inode *i, int f) 
     1741                { 
     1742                        return; 
     1743                } 
     1744                ], 
     1745                [ 
     1746                        struct super_operations s; 
     1747                        s.dirty_inode = di; 
     1748                ],  
     1749                AC_MSG_RESULT(yes) 
     1750                AC_DEFINE(HAVE_DIRTY_INODE_FLAGS, 1, Define if dirty_inode takes a flag argument ), 
     1751                AC_MSG_RESULT(no) 
     1752        ) 
     1753        CFLAGS=$tmp_cflags 
    16361754 
    16371755        CFLAGS=$oldcflags 
  • branches/Orange-Branch/pvfs2-config.h.in

    r8842 r9022  
    8080#undef HAVE_DENTRY_STATFS_SOP 
    8181 
     82/* Define if dirty_inode takes a flag argument */ 
     83#undef HAVE_DIRTY_INODE_FLAGS 
     84 
    8285/* Define if kernel super_operations contains drop_inode field */ 
    8386#undef HAVE_DROP_INODE 
     
    126129#undef HAVE_FSTAB_H 
    127130 
     131/* Define if only filesystem_type has get_sb */ 
     132#undef HAVE_FSTYPE_GET_SB 
     133 
     134/* Define if only filesystem_type has mount and HAVE_FSTYPE_GET_SB is false */ 
     135#undef HAVE_FSTYPE_MOUNT_ONLY 
     136 
    128137/* Define if fsync function in file_operations struct wants a dentry pointer 
    129138   as the second parameter */ 
     
    154163#undef HAVE_GETPWUID 
    155164 
     165/* Define if get_sb_nodev function exists */ 
     166#undef HAVE_GETSB_NODEV 
     167 
    156168/* Define if struct super_operations in kernel has get_fs_key callback */ 
    157169#undef HAVE_GET_FS_KEY_SUPER_OPERATIONS 
     170 
     171/* Define if get_sb is a member of file_system_type struct */ 
     172#undef HAVE_GET_SB_MEMBER_FILE_SYSTEM_TYPE 
    158173 
    159174/* Define if strerror_r is GNU-specific */ 
     
    367382   tree_lock */ 
    368383#undef HAVE_SPIN_LOCK_TREE_ADDR_SPACE_STRUCT 
     384 
     385/* Define if SPIN_LOCK_UNLOCKED defined */ 
     386#undef HAVE_SPIN_LOCK_UNLOCKED 
    369387 
    370388/* Define if struct super_operations in kernel has statfs_lite callback */ 
  • branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-bufmap.c

    r8968 r9022  
    3030/* array to track usage of buffer descriptors */ 
    3131static int *buffer_index_array = NULL; 
     32#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    3233static spinlock_t buffer_index_lock = SPIN_LOCK_UNLOCKED; 
     34#else 
     35static DEFINE_SPINLOCK(buffer_index_lock); 
     36#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
    3337 
    3438/* array to track usage of buffer descriptors for readdir/readdirplus */ 
    3539static int readdir_index_array[PVFS2_READDIR_DEFAULT_DESC_COUNT] = {0}; 
     40#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    3641static spinlock_t readdir_index_lock = SPIN_LOCK_UNLOCKED; 
     42#else 
     43static DEFINE_SPINLOCK(readdir_index_lock); 
     44#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
    3745 
    3846static struct pvfs_bufmap_desc *desc_array = NULL; 
  • branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-cache.c

    r8886 r9022  
    88 
    99/* A list of all allocated pvfs2 inode objects */ 
     10#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    1011static spinlock_t pvfs2_inode_list_lock = SPIN_LOCK_UNLOCKED; 
     12#else 
     13static DEFINE_SPINLOCK(pvfs2_inode_list_lock); 
     14#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
     15 
    1116static LIST_HEAD(pvfs2_inode_list); 
    1217 
    1318/* tags assigned to kernel upcall operations */ 
    1419static uint64_t next_tag_value; 
     20#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    1521static spinlock_t next_tag_value_lock = SPIN_LOCK_UNLOCKED; 
    16  
     22#else 
     23static DEFINE_SPINLOCK(next_tag_value_lock); 
     24#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
    1725/* the pvfs2 memory caches */ 
    1826 
  • branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-kernel.h

    r8982 r9022  
    2424#include <linux/config.h> 
    2525#endif 
     26#include <linux/kernel.h> 
    2627 
    2728#ifdef PVFS2_LINUX_KERNEL_2_4 
     
    4243 
    4344#else /* !(PVFS2_LINUX_KERNEL_2_4) */ 
    44  
    4545#include <linux/moduleparam.h> 
    4646#include <linux/vermagic.h> 
     
    5555#endif /* PVFS2_LINUX_KERNEL_2_4 */ 
    5656 
    57 #include <linux/kernel.h> 
    5857#include <linux/init.h> 
    5958#include <linux/module.h> 
     
    9493#include <linux/mm.h> 
    9594#include <asm/atomic.h> 
     95#ifdef HAVE_SMP_LOCK_H 
    9696#include <linux/smp_lock.h> 
     97#endif 
    9798#include <linux/wait.h> 
    9899#include <linux/dcache.h> 
     
    776777    int silent); 
    777778#else 
     779#ifdef HAVE_FSTYPE_MOUNT_ONLY 
     780struct dentry *pvfs2_mount( 
     781    struct file_system_type *fst, int flags, 
     782    const char *devname, void *data); 
     783#else 
    778784#ifdef HAVE_VFSMOUNT_GETSB 
    779785int pvfs2_get_sb( 
     
    785791    struct file_system_type *fst, int flags, 
    786792    const char *devname, void *data); 
    787 #endif 
     793#endif /* HAVE_VFSMOUNT_GETSB */ 
     794#endif /* HAVE_FSTYPE_MOUNT_ONLY */ 
    788795#endif 
    789796 
  • branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-mod.c

    r8251 r9022  
    8484{ 
    8585    .name = "pvfs2", 
     86/* only define mount if the kernel no longer supports get_sb */ 
     87#ifdef HAVE_FSTYPE_MOUNT_ONLY 
     88    .mount = pvfs2_mount, 
     89#else 
    8690    .get_sb = pvfs2_get_sb, 
     91#endif /* HAVE_FSTYPE_MOUNT_ONLY */ 
    8792    .kill_sb = pvfs2_kill_sb, 
    8893    .owner = THIS_MODULE, 
     
    121126 
    122127/* used to protect the above pvfs2_request_list */ 
     128#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    123129spinlock_t pvfs2_request_list_lock = SPIN_LOCK_UNLOCKED; 
     130#else  
     131DEFINE_SPINLOCK(pvfs2_request_list_lock); 
     132#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
    124133 
    125134/* used for incoming request notification */ 
  • branches/Orange-Branch/src/kernel/linux-2.6/super.c

    r8317 r9022  
    1313 
    1414/* used to protect the above superblock list */ 
     15#ifdef HAVE_SPIN_LOCK_UNLOCKED 
    1516spinlock_t pvfs2_superblocks_lock = SPIN_LOCK_UNLOCKED; 
     17#else 
     18DEFINE_SPINLOCK(pvfs2_superblocks_lock); 
     19#endif /* HAVE_SPIN_LOCK_UNLOCKED */ 
    1620 
    1721#ifdef HAVE_GET_FS_KEY_SUPER_OPERATIONS 
     
    890894 
    891895/* Called whenever the VFS dirties the inode in response to atime updates */ 
    892 static void pvfs2_dirty_inode(struct inode *inode) 
     896static void pvfs2_dirty_inode(struct inode *inode 
     897#ifdef HAVE_DIRTY_INODE_FLAGS 
     898                              ,int flags 
     899#endif 
     900                             ) 
    893901{ 
    894902    if (inode) 
     
    12891297    return 0; 
    12901298} 
    1291  
     1299#ifdef HAVE_FSTYPE_MOUNT_ONLY 
     1300struct dentry *pvfs2_mount( 
     1301    struct file_system_type *fst, 
     1302    int flags, 
     1303    const char *devname, 
     1304    void *data) 
     1305#else 
    12921306#ifdef HAVE_VFSMOUNT_GETSB 
    12931307int pvfs2_get_sb( 
     
    13031317    const char *devname, 
    13041318    void *data) 
    1305 #endif 
     1319#endif /* HAVE_VFSMOUNT_GETSB */ 
     1320#endif /* HAVE_FSTYPE_MOUNT_ONLY */ 
    13061321{ 
    13071322    int ret = -EINVAL; 
     
    13091324    pvfs2_kernel_op_t *new_op; 
    13101325    pvfs2_mount_sb_info_t mount_sb_info; 
     1326#ifdef HAVE_FSTYPE_MOUNT_ONLY 
     1327    struct dentry *mnt_sb_d = ERR_PTR(-EINVAL); 
     1328#endif 
    13111329 
    13121330    gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: called with devname %s\n", devname); 
     
    13181336        { 
    13191337            ret = -ENOMEM; 
    1320 #ifdef HAVE_VFSMOUNT_GETSB 
     1338#if defined(HAVE_VFSMOUNT_GETSB) && !defined(HAVE_FSTYPE_MOUNT_ONLY) 
    13211339            return ret; 
    13221340#else 
     
    13611379          to fill_sb where it's properly copied out 
    13621380        */ 
     1381        /* kernels beyond 2.6.38 no longer have get_sb_nodev in favor of 
     1382         * mount_nodev. if the kernel still has get_sb_nodev use that in 
     1383         * favor of mount_nodev to minimize changes for currently working 
     1384         * kernels. */ 
     1385#ifdef HAVE_GETSB_NODEV 
    13631386#ifdef HAVE_VFSMOUNT_GETSB 
    13641387        ret = get_sb_nodev( 
     
    13701393        sb = get_sb_nodev( 
    13711394            fst, flags, (void *)&mount_sb_info, pvfs2_fill_sb); 
    1372 #endif 
     1395#endif /* HAVE_VFSMOUNT_GETSB */ 
     1396#else /* !HAVE_GETSB_NODEV */ 
     1397        mnt_sb_d = mount_nodev( 
     1398                    fst, flags, (void *)&mount_sb_info, pvfs2_fill_sb); 
     1399        if( !IS_ERR(mnt_sb_d) ) 
     1400        { 
     1401            sb = mnt_sb_d->d_sb; 
     1402        } 
     1403        else 
     1404        { 
     1405            sb = ERR_CAST(mnt_sb_d); 
     1406            goto free_op; 
     1407        } 
     1408#endif /* HAVE_GETSB_NODEV */ 
    13731409 
    13741410        if (sb && !IS_ERR(sb) && (PVFS2_SB(sb))) 
     
    14091445        gossip_err("ERROR: device name not specified.\n"); 
    14101446    } 
    1411  
     1447#ifdef HAVE_FSTYPE_MOUNT_ONLY 
     1448    return mnt_sb_d; 
     1449#else 
    14121450#ifdef HAVE_VFSMOUNT_GETSB 
    14131451    return ret; 
    14141452#else 
    14151453    return sb; 
    1416 #endif 
     1454#endif /* HAVE_VFSMOUNT_GETSB */ 
     1455#endif /* HAVE_FSTYPE_MOUNT_ONLY */ 
    14171456 
    14181457error_exit: 
    14191458    if (ret || IS_ERR(sb)) 
    14201459    { 
     1460#if !defined(HAVE_FSTYPE_MOUNT_ONLY) 
    14211461        sb = ERR_PTR(ret); 
     1462#endif /* HAVE_FSTYPE_MOUNT_ONLY */ 
    14221463    } 
    14231464#ifdef HAVE_VFSMOUNT_GETSB 
     
    14351476        op_release(new_op); 
    14361477    } 
    1437 #ifdef HAVE_VFSMOUNT_GETSB 
     1478#if defined(HAVE_VFSMOUNT_GETSB) && !defined(HAVE_FSTYPE_MOUNT_ONLY) 
    14381479    gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: returning %d\n", ret); 
    14391480    return ret; 
     1481#elif defined(HAVE_FSTYPE_MOUNT_ONLY) 
     1482    gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: returning dentry %p\n",  
     1483        mnt_sb_d); 
     1484    return mnt_sb_d; 
    14401485#else 
    14411486    gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: returning sb %p\n", sb);