Changeset 9022
- Timestamp:
- 08/22/11 19:20:29 (22 months ago)
- Location:
- branches/Orange-Branch
- Files:
-
- 8 modified
-
configure (modified) (235 diffs)
-
maint/config/kernel.m4 (modified) (4 diffs)
-
pvfs2-config.h.in (modified) (4 diffs)
-
src/kernel/linux-2.6/pvfs2-bufmap.c (modified) (1 diff)
-
src/kernel/linux-2.6/pvfs2-cache.c (modified) (1 diff)
-
src/kernel/linux-2.6/pvfs2-kernel.h (modified) (6 diffs)
-
src/kernel/linux-2.6/pvfs2-mod.c (modified) (2 diffs)
-
src/kernel/linux-2.6/super.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/Orange-Branch/configure
r8842 r9022 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 5.3 # Generated by GNU Autoconf 2.68. 4 4 # 5 5 # 6 6 # 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. 9 9 # 10 10 # … … 90 90 91 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 92 93 case $0 in #(( 93 94 *[\\/]* ) as_myself=$0 ;; … … 215 216 # neutralization value for shells without unset; and this also 216 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 217 219 BASH_ENV=/dev/null 218 220 ENV=/dev/null 219 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 222 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+"$@"} 222 230 fi 223 231 … … 317 325 done 318 326 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" 320 328 321 329 … … 357 365 358 366 359 # as_fn_error ERROR [LINENO LOG_FD]360 # --------------------------------- 367 # as_fn_error STATUS ERROR [LINENO LOG_FD] 368 # ---------------------------------------- 361 369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 370 # 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. 364 372 as_fn_error () 365 373 { 366 as_status=$ ?; test $as_status -eq 0 && as_status=1367 if test "$ 3"; then368 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$3374 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 370 378 fi 371 $as_echo "$as_me: error: $ 1" >&2379 $as_echo "$as_me: error: $2" >&2 372 380 as_fn_exit $as_status 373 381 } # as_fn_error … … 531 539 532 540 # 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, 534 542 # so uname gets run too. 535 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 852 860 853 861 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 ;; 856 865 esac 857 866 … … 898 907 # Reject names that are not valid shell variable names. 899 908 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" 901 910 ac_useropt_orig=$ac_useropt 902 911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 924 933 # Reject names that are not valid shell variable names. 925 934 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" 927 936 ac_useropt_orig=$ac_useropt 928 937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1128 1137 # Reject names that are not valid shell variable names. 1129 1138 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" 1131 1140 ac_useropt_orig=$ac_useropt 1132 1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1144 1153 # Reject names that are not valid shell variable names. 1145 1154 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" 1147 1156 ac_useropt_orig=$ac_useropt 1148 1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1174 1183 x_libraries=$ac_optarg ;; 1175 1184 1176 -*) as_fn_error "unrecognized option: \`$ac_option'1177 Try \`$0 --help' for more information ."1185 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1186 Try \`$0 --help' for more information" 1178 1187 ;; 1179 1188 … … 1183 1192 case $ac_envvar in #( 1184 1193 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1185 as_fn_error "invalid variable name: \`$ac_envvar'" ;;1194 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1186 1195 esac 1187 1196 eval $ac_envvar=\$ac_optarg … … 1193 1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1194 1203 $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}" 1196 1205 ;; 1197 1206 … … 1201 1210 if test -n "$ac_prev"; then 1202 1211 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" 1204 1213 fi 1205 1214 … … 1207 1216 case $enable_option_checking in 1208 1217 no) ;; 1209 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;1218 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1210 1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1211 1220 esac … … 1230 1239 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1231 1240 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" 1233 1242 done 1234 1243 … … 1244 1253 if test "x$build_alias" = x; then 1245 1254 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 ." >&21255 $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 1248 1257 elif test "x$build_alias" != "x$host_alias"; then 1249 1258 cross_compiling=yes … … 1260 1269 ac_ls_di=`ls -di .` && 1261 1270 ac_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" 1263 1272 test "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" 1265 1274 1266 1275 … … 1301 1310 if test ! -r "$srcdir/$ac_unique_file"; then 1302 1311 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" 1304 1313 fi 1305 1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1306 1315 ac_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" 1308 1317 pwd)` 1309 1318 # When building in place, set srcdir=. … … 1345 1354 --help=recursive display the short help of all the included packages 1346 1355 -V, --version display version information and exit 1347 -q, --quiet, --silent do not print \`checking ...' messages1356 -q, --quiet, --silent do not print \`checking ...' messages 1348 1357 --cache-file=FILE cache test results in FILE [disabled] 1349 1358 -C, --config-cache alias for \`--cache-file=config.cache' … … 1555 1564 cat <<\_ACEOF 1556 1565 configure 1557 generated by GNU Autoconf 2.6 51558 1559 Copyright (C) 20 09Free Software Foundation, Inc.1566 generated by GNU Autoconf 2.68 1567 1568 Copyright (C) 2010 Free Software Foundation, Inc. 1560 1569 This configure script is free software; the Free Software Foundation 1561 1570 gives unlimited permission to copy, distribute and modify it. … … 1601 1610 ac_retval=1 1602 1611 fi 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 1604 1613 as_fn_set_status $ac_retval 1605 1614 … … 1627 1636 fi 1628 1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1629 test $ac_status = 0; } > /dev/null&& {1638 test $ac_status = 0; } > conftest.i && { 1630 1639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1631 1640 test ! -s conftest.err … … 1638 1647 ac_retval=1 1639 1648 fi 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 1641 1650 as_fn_set_status $ac_retval 1642 1651 … … 1651 1660 { 1652 1661 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 : 1654 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1655 1664 $as_echo_n "checking for $2... " >&6; } 1656 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1665 if eval \${$3+:} false; then : 1657 1666 $as_echo_n "(cached) " >&6 1658 1667 fi … … 1690 1699 ac_header_preproc=no 1691 1700 fi 1692 rm -f conftest.err conftest. $ac_ext1701 rm -f conftest.err conftest.i conftest.$ac_ext 1693 1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1694 1703 $as_echo "$ac_header_preproc" >&6; } … … 1717 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1718 1727 $as_echo_n "checking for $2... " >&6; } 1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1728 if eval \${$3+:} false; then : 1720 1729 $as_echo_n "(cached) " >&6 1721 1730 else … … 1726 1735 $as_echo "$ac_res" >&6; } 1727 1736 fi 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 1729 1738 1730 1739 } # ac_fn_c_check_header_mongrel … … 1767 1776 fi 1768 1777 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 1770 1779 as_fn_set_status $ac_retval 1771 1780 … … 1781 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1782 1791 $as_echo_n "checking for $2... " >&6; } 1783 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1792 if eval \${$3+:} false; then : 1784 1793 $as_echo_n "(cached) " >&6 1785 1794 else … … 1799 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1800 1809 $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 1802 1811 1803 1812 } # ac_fn_c_check_header_compile … … 1976 1985 1977 1986 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 1979 1988 as_fn_set_status $ac_retval 1980 1989 … … 2022 2031 # left behind by Apple's compiler. We do this before executing the actions. 2023 2032 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 2025 2034 as_fn_set_status $ac_retval 2026 2035 … … 2035 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2036 2045 $as_echo_n "checking for $2... " >&6; } 2037 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :2046 if eval \${$3+:} false; then : 2038 2047 $as_echo_n "(cached) " >&6 2039 2048 else … … 2090 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2091 2100 $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 2093 2102 2094 2103 } # ac_fn_c_check_func … … 2098 2107 2099 2108 It was created by $as_me, which was 2100 generated by GNU Autoconf 2.6 5. Invocation command line was2109 generated by GNU Autoconf 2.68. Invocation command line was 2101 2110 2102 2111 $ $0 $@ … … 2208 2217 echo 2209 2218 2210 cat <<\_ASBOX 2211 ## ---------------- ## 2219 $as_echo "## ---------------- ## 2212 2220 ## Cache variables. ## 2213 ## ---------------- ## 2214 _ASBOX 2221 ## ---------------- ##" 2215 2222 echo 2216 2223 # The following way of writing the cache mishandles newlines in values, … … 2246 2253 echo 2247 2254 2248 cat <<\_ASBOX 2249 ## ----------------- ## 2255 $as_echo "## ----------------- ## 2250 2256 ## Output variables. ## 2251 ## ----------------- ## 2252 _ASBOX 2257 ## ----------------- ##" 2253 2258 echo 2254 2259 for ac_var in $ac_subst_vars … … 2263 2268 2264 2269 if test -n "$ac_subst_files"; then 2265 cat <<\_ASBOX 2266 ## ------------------- ## 2270 $as_echo "## ------------------- ## 2267 2271 ## File substitutions. ## 2268 ## ------------------- ## 2269 _ASBOX 2272 ## ------------------- ##" 2270 2273 echo 2271 2274 for ac_var in $ac_subst_files … … 2281 2284 2282 2285 if test -s confdefs.h; then 2283 cat <<\_ASBOX 2284 ## ----------- ## 2286 $as_echo "## ----------- ## 2285 2287 ## confdefs.h. ## 2286 ## ----------- ## 2287 _ASBOX 2288 ## ----------- ##" 2288 2289 echo 2289 2290 cat confdefs.h … … 2340 2341 ac_site_file2=NONE 2341 2342 if 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 2343 2349 elif test "x$prefix" != xNONE; then 2344 2350 ac_site_file1=$prefix/share/config.site … … 2355 2361 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2356 2362 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;} 2366 as_fn_error $? "failed to load site script $ac_site_file 2367 See \`config.log' for more details" "$LINENO" 5; } 2358 2368 fi 2359 2369 done … … 2431 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2432 2442 $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" 52443 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2434 2444 fi 2435 2445 ## -------------------- ## … … 2447 2457 ac_aux_dir= 2448 2458 for 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 2456 2472 done 2457 2473 if 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" 52474 as_fn_error $? "cannot find install-sh, install.sh, or shtool in maint/config \"$srcdir\"/maint/config" "$LINENO" 5 2459 2475 fi 2460 2476 … … 2503 2519 # Make sure we can run config.sub. 2504 2520 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2505 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 52521 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2506 2522 2507 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2508 2524 $as_echo_n "checking build system type... " >&6; } 2509 if test "${ac_cv_build+set}" = set; then :2525 if ${ac_cv_build+:} false; then : 2510 2526 $as_echo_n "(cached) " >&6 2511 2527 else … … 2514 2530 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2515 2531 test "x$ac_build_alias" = x && 2516 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 52532 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2517 2533 ac_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" 52534 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2519 2535 2520 2536 fi … … 2523 2539 case $ac_cv_build in 2524 2540 *-*-*) ;; 2525 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;2541 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2526 2542 esac 2527 2543 build=$ac_cv_build … … 2541 2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2542 2558 $as_echo_n "checking host system type... " >&6; } 2543 if test "${ac_cv_host+set}" = set; then :2559 if ${ac_cv_host+:} false; then : 2544 2560 $as_echo_n "(cached) " >&6 2545 2561 else … … 2548 2564 else 2549 2565 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" 52566 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2551 2567 fi 2552 2568 … … 2556 2572 case $ac_cv_host in 2557 2573 *-*-*) ;; 2558 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;2574 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2559 2575 esac 2560 2576 host=$ac_cv_host … … 2591 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2592 2608 $as_echo_n "checking for $ac_word... " >&6; } 2593 if test "${ac_cv_prog_CC+set}" = set; then :2609 if ${ac_cv_prog_CC+:} false; then : 2594 2610 $as_echo_n "(cached) " >&6 2595 2611 else … … 2631 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2632 2648 $as_echo_n "checking for $ac_word... " >&6; } 2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2649 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2634 2650 $as_echo_n "(cached) " >&6 2635 2651 else … … 2684 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2685 2701 $as_echo_n "checking for $ac_word... " >&6; } 2686 if test "${ac_cv_prog_CC+set}" = set; then :2702 if ${ac_cv_prog_CC+:} false; then : 2687 2703 $as_echo_n "(cached) " >&6 2688 2704 else … … 2724 2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2725 2741 $as_echo_n "checking for $ac_word... " >&6; } 2726 if test "${ac_cv_prog_CC+set}" = set; then :2742 if ${ac_cv_prog_CC+:} false; then : 2727 2743 $as_echo_n "(cached) " >&6 2728 2744 else … … 2783 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2784 2800 $as_echo_n "checking for $ac_word... " >&6; } 2785 if test "${ac_cv_prog_CC+set}" = set; then :2801 if ${ac_cv_prog_CC+:} false; then : 2786 2802 $as_echo_n "(cached) " >&6 2787 2803 else … … 2827 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2828 2844 $as_echo_n "checking for $ac_word... " >&6; } 2829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2845 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2830 2846 $as_echo_n "(cached) " >&6 2831 2847 else … … 2881 2897 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2882 2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2883 as_fn_error "no acceptable C compiler found in \$PATH2884 See \`config.log' for more details ." "$LINENO" 5; }2899 as_fn_error $? "no acceptable C compiler found in \$PATH 2900 See \`config.log' for more details" "$LINENO" 5; } 2885 2901 2886 2902 # Provide some information about the compiler. … … 2996 3012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2997 3013 $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; }; } 3014 as_fn_error 77 "C compiler cannot create executables 3015 See \`config.log' for more details" "$LINENO" 5; } 3001 3016 else 3002 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 3040 3055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3041 3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3042 as_fn_error "cannot compute suffix of executables: cannot compile and link3043 See \`config.log' for more details ." "$LINENO" 5; }3057 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3058 See \`config.log' for more details" "$LINENO" 5; } 3044 3059 fi 3045 3060 rm -f conftest conftest$ac_cv_exeext … … 3098 3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3099 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3100 as_fn_error "cannot run C compiled programs.3115 as_fn_error $? "cannot run C compiled programs. 3101 3116 If you meant to cross compile, use \`--host'. 3102 See \`config.log' for more details ." "$LINENO" 5; }3117 See \`config.log' for more details" "$LINENO" 5; } 3103 3118 fi 3104 3119 fi … … 3111 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3112 3127 $as_echo_n "checking for suffix of object files... " >&6; } 3113 if test "${ac_cv_objext+set}" = set; then :3128 if ${ac_cv_objext+:} false; then : 3114 3129 $as_echo_n "(cached) " >&6 3115 3130 else … … 3151 3166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3152 3167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3153 as_fn_error "cannot compute suffix of object files: cannot compile3154 See \`config.log' for more details ." "$LINENO" 5; }3168 as_fn_error $? "cannot compute suffix of object files: cannot compile 3169 See \`config.log' for more details" "$LINENO" 5; } 3155 3170 fi 3156 3171 rm -f conftest.$ac_cv_objext conftest.$ac_ext … … 3162 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3163 3178 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3164 if test "${ac_cv_c_compiler_gnu+set}" = set; then :3179 if ${ac_cv_c_compiler_gnu+:} false; then : 3165 3180 $as_echo_n "(cached) " >&6 3166 3181 else … … 3199 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3200 3215 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3201 if test "${ac_cv_prog_cc_g+set}" = set; then :3216 if ${ac_cv_prog_cc_g+:} false; then : 3202 3217 $as_echo_n "(cached) " >&6 3203 3218 else … … 3277 3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3278 3293 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3279 if test "${ac_cv_prog_cc_c89+set}" = set; then :3294 if ${ac_cv_prog_cc_c89+:} false; then : 3280 3295 $as_echo_n "(cached) " >&6 3281 3296 else … … 3385 3400 fi 3386 3401 if test -z "$CPP"; then 3387 if test "${ac_cv_prog_CPP+set}" = set; then :3402 if ${ac_cv_prog_CPP+:} false; then : 3388 3403 $as_echo_n "(cached) " >&6 3389 3404 else … … 3415 3430 continue 3416 3431 fi 3417 rm -f conftest.err conftest. $ac_ext3432 rm -f conftest.err conftest.i conftest.$ac_ext 3418 3433 3419 3434 # OK, works on sane cases. Now check whether nonexistent headers … … 3431 3446 break 3432 3447 fi 3433 rm -f conftest.err conftest. $ac_ext3448 rm -f conftest.err conftest.i conftest.$ac_ext 3434 3449 3435 3450 done 3436 3451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3437 rm -f conftest. err conftest.$ac_ext3452 rm -f conftest.i conftest.err conftest.$ac_ext 3438 3453 if $ac_preproc_ok; then : 3439 3454 break … … 3474 3489 continue 3475 3490 fi 3476 rm -f conftest.err conftest. $ac_ext3491 rm -f conftest.err conftest.i conftest.$ac_ext 3477 3492 3478 3493 # OK, works on sane cases. Now check whether nonexistent headers … … 3490 3505 break 3491 3506 fi 3492 rm -f conftest.err conftest. $ac_ext3507 rm -f conftest.err conftest.i conftest.$ac_ext 3493 3508 3494 3509 done 3495 3510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3496 rm -f conftest. err conftest.$ac_ext3511 rm -f conftest.i conftest.err conftest.$ac_ext 3497 3512 if $ac_preproc_ok; then : 3498 3513 … … 3500 3515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3501 3516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3502 as_fn_error "C preprocessor \"$CPP\" fails sanity check3503 See \`config.log' for more details ." "$LINENO" 5; }3517 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3518 See \`config.log' for more details" "$LINENO" 5; } 3504 3519 fi 3505 3520 … … 3513 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3514 3529 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3515 if test "${ac_cv_path_GREP+set}" = set; then :3530 if ${ac_cv_path_GREP+:} false; then : 3516 3531 $as_echo_n "(cached) " >&6 3517 3532 else … … 3562 3577 IFS=$as_save_IFS 3563 3578 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" 53579 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3565 3580 fi 3566 3581 else … … 3576 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3577 3592 $as_echo_n "checking for egrep... " >&6; } 3578 if test "${ac_cv_path_EGREP+set}" = set; then :3593 if ${ac_cv_path_EGREP+:} false; then : 3579 3594 $as_echo_n "(cached) " >&6 3580 3595 else … … 3628 3643 IFS=$as_save_IFS 3629 3644 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" 53645 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3631 3646 fi 3632 3647 else … … 3643 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3644 3659 $as_echo_n "checking for ANSI C header files... " >&6; } 3645 if test "${ac_cv_header_stdc+set}" = set; then :3660 if ${ac_cv_header_stdc+:} false; then : 3646 3661 $as_echo_n "(cached) " >&6 3647 3662 else … … 3760 3775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3761 3776 " 3762 eval as_val=\$$as_ac_Header 3763 if test "x$as_val" = x""yes; then : 3777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3764 3778 cat >>confdefs.h <<_ACEOF 3765 3779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3772 3786 3773 3787 ac_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 :3788 if test "x$ac_cv_header_pwd_h" = xyes; then : 3775 3789 3776 3790 $as_echo "#define HAVE_GETPWUID 1" >>confdefs.h … … 3780 3794 3781 3795 ac_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 :3796 if test "x$ac_cv_header_sys_vfs_h" = xyes; then : 3783 3797 3784 3798 $as_echo "#define HAVE_SYS_VFS_H 1" >>confdefs.h … … 3788 3802 3789 3803 ac_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 :3804 if test "x$ac_cv_header_sys_mount_h" = xyes; then : 3791 3805 3792 3806 $as_echo "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h … … 3800 3814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3801 3815 ac_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 : 3816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3804 3817 cat >>confdefs.h <<_ACEOF 3805 3818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3814 3827 do : 3815 3828 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 :3829 if test "x$ac_cv_header_stdarg_h" = xyes; then : 3817 3830 cat >>confdefs.h <<_ACEOF 3818 3831 #define HAVE_STDARG_H 1 … … 3827 3840 do : 3828 3841 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 :3842 if test "x$ac_cv_header_attr_xattr_h" = xyes; then : 3830 3843 cat >>confdefs.h <<_ACEOF 3831 3844 #define HAVE_ATTR_XATTR_H 1 … … 3839 3852 do : 3840 3853 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 :3854 if test "x$ac_cv_header_sys_xattr_h" = xyes; then : 3842 3855 cat >>confdefs.h <<_ACEOF 3843 3856 #define HAVE_SYS_XATTR_H 1 … … 3855 3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 3856 3869 $as_echo_n "checking size of long int... " >&6; } 3857 if test "${ac_cv_sizeof_long_int+set}" = set; then :3870 if ${ac_cv_sizeof_long_int+:} false; then : 3858 3871 $as_echo_n "(cached) " >&6 3859 3872 else … … 3864 3877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3865 3878 $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; }; } 3879 as_fn_error 77 "cannot compute sizeof (long int) 3880 See \`config.log' for more details" "$LINENO" 5; } 3869 3881 else 3870 3882 ac_cv_sizeof_long_int=0 … … 3901 3913 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3902 3914 if test -z "$INSTALL"; then 3903 if test "${ac_cv_path_install+set}" = set; then :3915 if ${ac_cv_path_install+:} false; then : 3904 3916 $as_echo_n "(cached) " >&6 3905 3917 else … … 3987 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3988 4000 $as_echo_n "checking for $ac_word... " >&6; } 3989 if test "${ac_cv_prog_CC+set}" = set; then :4001 if ${ac_cv_prog_CC+:} false; then : 3990 4002 $as_echo_n "(cached) " >&6 3991 4003 else … … 4027 4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4028 4040 $as_echo_n "checking for $ac_word... " >&6; } 4029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :4041 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4030 4042 $as_echo_n "(cached) " >&6 4031 4043 else … … 4080 4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4081 4093 $as_echo_n "checking for $ac_word... " >&6; } 4082 if test "${ac_cv_prog_CC+set}" = set; then :4094 if ${ac_cv_prog_CC+:} false; then : 4083 4095 $as_echo_n "(cached) " >&6 4084 4096 else … … 4120 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4121 4133 $as_echo_n "checking for $ac_word... " >&6; } 4122 if test "${ac_cv_prog_CC+set}" = set; then :4134 if ${ac_cv_prog_CC+:} false; then : 4123 4135 $as_echo_n "(cached) " >&6 4124 4136 else … … 4179 4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4180 4192 $as_echo_n "checking for $ac_word... " >&6; } 4181 if test "${ac_cv_prog_CC+set}" = set; then :4193 if ${ac_cv_prog_CC+:} false; then : 4182 4194 $as_echo_n "(cached) " >&6 4183 4195 else … … 4223 4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4224 4236 $as_echo_n "checking for $ac_word... " >&6; } 4225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :4237 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4226 4238 $as_echo_n "(cached) " >&6 4227 4239 else … … 4277 4289 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4278 4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4279 as_fn_error "no acceptable C compiler found in \$PATH4280 See \`config.log' for more details ." "$LINENO" 5; }4291 as_fn_error $? "no acceptable C compiler found in \$PATH 4292 See \`config.log' for more details" "$LINENO" 5; } 4281 4293 4282 4294 # Provide some information about the compiler. … … 4307 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4308 4320 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4309 if test "${ac_cv_c_compiler_gnu+set}" = set; then :4321 if ${ac_cv_c_compiler_gnu+:} false; then : 4310 4322 $as_echo_n "(cached) " >&6 4311 4323 else … … 4344 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4345 4357 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4346 if test "${ac_cv_prog_cc_g+set}" = set; then :4358 if ${ac_cv_prog_cc_g+:} false; then : 4347 4359 $as_echo_n "(cached) " >&6 4348 4360 else … … 4422 4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4423 4435 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4424 if test "${ac_cv_prog_cc_c89+set}" = set; then :4436 if ${ac_cv_prog_cc_c89+:} false; then : 4425 4437 $as_echo_n "(cached) " >&6 4426 4438 else … … 4521 4533 $as_echo_n "checking for required gcc... " >&6; } 4522 4534 if test "x$GCC" = "x"; then 4523 as_fn_error "no" "$LINENO" 54535 as_fn_error $? "no" "$LINENO" 5 4524 4536 fi 4525 4537 … … 4538 4550 fi 4539 4551 if test -z "$CPP"; then 4540 if test "${ac_cv_prog_CPP+set}" = set; then :4552 if ${ac_cv_prog_CPP+:} false; then : 4541 4553 $as_echo_n "(cached) " >&6 4542 4554 else … … 4568 4580 continue 4569 4581 fi 4570 rm -f conftest.err conftest. $ac_ext4582 rm -f conftest.err conftest.i conftest.$ac_ext 4571 4583 4572 4584 # OK, works on sane cases. Now check whether nonexistent headers … … 4584 4596 break 4585 4597 fi 4586 rm -f conftest.err conftest. $ac_ext4598 rm -f conftest.err conftest.i conftest.$ac_ext 4587 4599 4588 4600 done 4589 4601 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4590 rm -f conftest. err conftest.$ac_ext4602 rm -f conftest.i conftest.err conftest.$ac_ext 4591 4603 if $ac_preproc_ok; then : 4592 4604 break … … 4627 4639 continue 4628 4640 fi 4629 rm -f conftest.err conftest. $ac_ext4641 rm -f conftest.err conftest.i conftest.$ac_ext 4630 4642 4631 4643 # OK, works on sane cases. Now check whether nonexistent headers … … 4643 4655 break 4644 4656 fi 4645 rm -f conftest.err conftest. $ac_ext4657 rm -f conftest.err conftest.i conftest.$ac_ext 4646 4658 4647 4659 done 4648 4660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4649 rm -f conftest. err conftest.$ac_ext4661 rm -f conftest.i conftest.err conftest.$ac_ext 4650 4662 if $ac_preproc_ok; then : 4651 4663 … … 4653 4665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4654 4666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4655 as_fn_error "C preprocessor \"$CPP\" fails sanity check4656 See \`config.log' for more details ." "$LINENO" 5; }4667 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4668 See \`config.log' for more details" "$LINENO" 5; } 4657 4669 fi 4658 4670 … … 4667 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4668 4680 $as_echo_n "checking for $ac_word... " >&6; } 4669 if test "${ac_cv_prog_HAVE_PERL+set}" = set; then :4681 if ${ac_cv_prog_HAVE_PERL+:} false; then : 4670 4682 $as_echo_n "(cached) " >&6 4671 4683 else … … 4702 4714 4703 4715 if test $HAVE_PERL = "no"; then 4704 as_fn_error "\"perl required in PATH to complete build\"" "$LINENO" 54716 as_fn_error $? "\"perl required in PATH to complete build\"" "$LINENO" 5 4705 4717 fi 4706 4718 … … 4709 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4710 4722 $as_echo_n "checking for $ac_word... " >&6; } 4711 if test "${ac_cv_prog_HAVE_FIND+set}" = set; then :4723 if ${ac_cv_prog_HAVE_FIND+:} false; then : 4712 4724 $as_echo_n "(cached) " >&6 4713 4725 else … … 4744 4756 4745 4757 if test $HAVE_FIND = "no"; then 4746 as_fn_error "\"find required in PATH complete build\"" "$LINENO" 54758 as_fn_error $? "\"find required in PATH complete build\"" "$LINENO" 5 4747 4759 fi 4748 4760 … … 4751 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4752 4764 $as_echo_n "checking for $ac_word... " >&6; } 4753 if test "${ac_cv_prog_HAVE_BISON+set}" = set; then :4765 if ${ac_cv_prog_HAVE_BISON+:} false; then : 4754 4766 $as_echo_n "(cached) " >&6 4755 4767 else … … 4786 4798 4787 4799 if test $HAVE_BISON = "no"; then 4788 as_fn_error "\"bison required in PATH to complete build\"" "$LINENO" 54800 as_fn_error $? "\"bison required in PATH to complete build\"" "$LINENO" 5 4789 4801 fi 4790 4802 … … 4793 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4794 4806 $as_echo_n "checking for $ac_word... " >&6; } 4795 if test "${ac_cv_prog_HAVE_FLEX+set}" = set; then :4807 if ${ac_cv_prog_HAVE_FLEX+:} false; then : 4796 4808 $as_echo_n "(cached) " >&6 4797 4809 else … … 4828 4840 4829 4841 if test $HAVE_FLEX = "no"; then 4830 as_fn_error "\"flex required in PATH to complete build\"" "$LINENO" 54842 as_fn_error $? "\"flex required in PATH to complete build\"" "$LINENO" 5 4831 4843 fi 4832 4844 … … 4835 4847 perl -e "use Math::BigInt" 2>&1 > /dev/null 4836 4848 if test $? != 0; then 4837 as_fn_error "no" "$LINENO" 54849 as_fn_error $? "no" "$LINENO" 5 4838 4850 else 4839 4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 4848 4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4849 4861 $as_echo_n "checking for $ac_word... " >&6; } 4850 if test "${ac_cv_prog_BUILD_CC+set}" = set; then :4862 if ${ac_cv_prog_BUILD_CC+:} false; then : 4851 4863 $as_echo_n "(cached) " >&6 4852 4864 else … … 5007 5019 5008 5020 else 5009 as_fn_error "Invalid openssl path specified. No openssl/bio.h found." "$LINENO" 55021 as_fn_error $? "Invalid openssl path specified. No openssl/bio.h found." "$LINENO" 5 5010 5022 fi 5011 5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 5026 5038 $as_echo "yes" >&6; } 5027 5039 else 5028 as_fn_error "could not find openssl libs" "$LINENO" 55040 as_fn_error $? "could not find openssl libs" "$LINENO" 5 5029 5041 fi 5030 5042 rm -f core conftest.err conftest.$ac_objext \ … … 5038 5050 do : 5039 5051 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 :5052 if test "x$ac_cv_header_openssl_evp_h" = xyes; then : 5041 5053 cat >>confdefs.h <<_ACEOF 5042 5054 #define HAVE_OPENSSL_EVP_H 1 … … 5050 5062 do : 5051 5063 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 :5064 if test "x$ac_cv_header_openssl_crypto_h" = xyes; then : 5053 5065 cat >>confdefs.h <<_ACEOF 5054 5066 #define HAVE_OPENSSL_CRYPTO_H 1 … … 5111 5123 do : 5112 5124 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 :5125 if test "x$ac_cv_header_openssl_evp_h" = xyes; then : 5114 5126 cat >>confdefs.h <<_ACEOF 5115 5127 #define HAVE_OPENSSL_EVP_H 1 … … 5123 5135 do : 5124 5136 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 :5137 if test "x$ac_cv_header_openssl_crypto_h" = xyes; then : 5126 5138 cat >>confdefs.h <<_ACEOF 5127 5139 #define HAVE_OPENSSL_CRYPTO_H 1 … … 5199 5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5200 5212 $as_echo_n "checking for $ac_word... " >&6; } 5201 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then :5213 if ${ac_cv_prog_HAVE_PKGCONFIG+:} false; then : 5202 5214 $as_echo_n "(cached) " >&6 5203 5215 else … … 5331 5343 5332 5344 if test "$set_redhat24" = 0 || test "$set_nptl_workaround" = 0 ; then 5333 as_fn_error "5345 as_fn_error $? " 5334 5346 You appear to be configuring PVFS2 on a RedHat distribution that 5335 5347 likely ships with a heavily modified kernel and c library. You must … … 5444 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5445 5457 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5446 if test "${ac_cv_c_bigendian+set}" = set; then :5458 if ${ac_cv_c_bigendian+:} false; then : 5447 5459 $as_echo_n "(cached) " >&6 5448 5460 else … … 5662 5674 ;; #( 5663 5675 *) 5664 as_fn_error "unknown endianness5676 as_fn_error $? "unknown endianness 5665 5677 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 5666 5678 esac … … 5673 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 5674 5686 $as_echo_n "checking size of void *... " >&6; } 5675 if test "${ac_cv_sizeof_void_p+set}" = set; then :5687 if ${ac_cv_sizeof_void_p+:} false; then : 5676 5688 $as_echo_n "(cached) " >&6 5677 5689 else … … 5682 5694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5683 5695 $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; }; } 5696 as_fn_error 77 "cannot compute sizeof (void *) 5697 See \`config.log' for more details" "$LINENO" 5; } 5687 5698 else 5688 5699 ac_cv_sizeof_void_p=0 … … 5730 5741 if test "${with_tau+set}" = set; then : 5731 5742 withval=$with_tau; if test "x$withval" = "xyes" ; then 5732 as_fn_error "--with-tau must be given a pathname" "$LINENO" 55743 as_fn_error $? "--with-tau must be given a pathname" "$LINENO" 5 5733 5744 else 5734 5745 TAU_INCS="-I$withval/include" … … 5737 5748 tau_mkfile=$withval/$(uname -m)/lib/Makefile.*-profile-trace 5738 5749 if test ! -f $tau_mkfile; then 5739 as_fn_error "TAU not compiled with profiling and tracing support" "$LINENO" 55750 as_fn_error $? "TAU not compiled with profiling and tracing support" "$LINENO" 5 5740 5751 fi 5741 5752 tau_config=$(echo $tau_mkfile | sed -e "s|.*Makefile.tau-||") … … 5759 5770 if test "${with_kernel+set}" = set; then : 5760 5771 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" 55772 as_fn_error $? "--with-kernel must be given the path to your kernel source." "$LINENO" 5 5762 5773 fi 5763 5774 if ! test -d $withval ; then 5764 as_fn_error "The --with-kernel path $withval is not a directory." "$LINENO" 55775 as_fn_error $? "The --with-kernel path $withval is not a directory." "$LINENO" 5 5765 5776 fi 5766 5777 if ! test -r $withval/include/linux/version.h ; then 5767 as_fn_error "The kernel source tree must have been configured." "$LINENO" 55778 as_fn_error $? "The kernel source tree must have been configured." "$LINENO" 5 5768 5779 fi 5769 5780 … … 5775 5786 vers=`sed -n '/UTS_RELEASE/{; s/.*"\(0-9\.0-9\).*".*/\1/; p; }' $withval/include/generated/utsrelease.h` 5776 5787 else 5777 as_fn_error "The kernel source tree does not appear to be 2.6" "$LINENO" 55788 as_fn_error $? "The kernel source tree does not appear to be 2.6" "$LINENO" 5 5778 5789 fi 5779 5790 … … 5794 5805 if test "${with_kernel24+set}" = set; then : 5795 5806 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" 55807 as_fn_error $? "--with-kernel24 must be given the path to your kernel 2.4.x source." "$LINENO" 5 5797 5808 fi 5798 5809 if ! test -d $withval ; then 5799 as_fn_error "The --with-kernel path $withval is not a directory." "$LINENO" 55810 as_fn_error $? "The --with-kernel path $withval is not a directory." "$LINENO" 5 5800 5811 fi 5801 5812 if ! test -r $withval/include/linux/version.h ; then 5802 as_fn_error "The kernel source tree must have been configured." "$LINENO" 55813 as_fn_error $? "The kernel source tree must have been configured." "$LINENO" 5 5803 5814 fi 5804 5815 vers=`sed -n '/UTS_RELEASE/{; s/.*"\(0-9\.0-9\).*".*/\1/; p; }' $withval/include/linux/version.h` 5805 5816 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" 55817 as_fn_error $? "The kernel source tree does not appear to be 2.4" "$LINENO" 5 5807 5818 fi 5808 5819 k24_minor_ver=`echo $vers | cut -b 26- | sed -n 's/\"//p' | head -n 1` … … 5855 5866 NOSTDINCFLAGS="-Werror-implicit-function-declaration -nostdinc -isystem `$CC -print-file-name=include`" 5856 5867 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)" 5858 5869 5859 5870 if test -f $lk_src/include/generated/autoconf.h ; then … … 6810 6821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6811 6822 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 6835 int 6836 main () 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 6851 if 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 6857 else 6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6859 $as_echo "no" >&6; } 6860 6861 fi 6862 rm -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 6872 int 6873 main () 6874 { 6875 6876 struct file_system_type f; 6877 f.get_sb = NULL; 6878 6879 ; 6880 return 0; 6881 } 6882 _ACEOF 6883 if 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 6889 else 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6891 $as_echo "no" >&6; } 6892 6893 fi 6894 rm -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 6906 int 6907 main () 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 6921 if 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 6927 else 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6929 $as_echo "no" >&6; } 6930 6931 fi 6932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6933 6812 6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xattr support in kernel" >&5 6813 6935 $as_echo_n "checking for xattr support in kernel... " >&6; } … … 6972 7094 6973 7095 " 6974 if test "x$ac_cv_header_linux_posix_acl_h" = x ""yes; then :7096 if test "x$ac_cv_header_linux_posix_acl_h" = xyes; then : 6975 7097 cat >>confdefs.h <<_ACEOF 6976 7098 #define HAVE_LINUX_POSIX_ACL_H 1 … … 6991 7113 6992 7114 " 6993 if test "x$ac_cv_header_linux_posix_acl_xattr_h" = x ""yes; then :7115 if test "x$ac_cv_header_linux_posix_acl_xattr_h" = xyes; then : 6994 7116 cat >>confdefs.h <<_ACEOF 6995 7117 #define HAVE_LINUX_POSIX_ACL_XATTR_H 1 … … 7010 7132 7011 7133 " 7012 if test "x$ac_cv_header_linux_xattr_acl_h" = x ""yes; then :7134 if test "x$ac_cv_header_linux_xattr_acl_h" = xyes; then : 7013 7135 cat >>confdefs.h <<_ACEOF 7014 7136 #define HAVE_LINUX_XATTR_ACL_H 1 … … 7026 7148 7027 7149 " 7028 if test "x$ac_cv_header_linux_mount_h" = x ""yes; then :7150 if test "x$ac_cv_header_linux_mount_h" = xyes; then : 7029 7151 cat >>confdefs.h <<_ACEOF 7030 7152 #define HAVE_LINUX_MOUNT_H 1 … … 7041 7163 7042 7164 " 7043 if test "x$ac_cv_header_linux_ioctl32_h" = x ""yes; then :7165 if test "x$ac_cv_header_linux_ioctl32_h" = xyes; then : 7044 7166 cat >>confdefs.h <<_ACEOF 7045 7167 #define HAVE_LINUX_IOCTL32_H 1 … … 7056 7178 7057 7179 " 7058 if test "x$ac_cv_header_linux_compat_h" = x ""yes; then :7180 if test "x$ac_cv_header_linux_compat_h" = xyes; then : 7059 7181 cat >>confdefs.h <<_ACEOF 7060 7182 #define HAVE_LINUX_COMPAT_H 1 … … 7071 7193 7072 7194 " 7073 if test "x$ac_cv_header_linux_syscalls_h" = x ""yes; then :7195 if test "x$ac_cv_header_linux_syscalls_h" = xyes; then : 7074 7196 cat >>confdefs.h <<_ACEOF 7075 7197 #define HAVE_LINUX_SYSCALLS_H 1 … … 7086 7208 7087 7209 " 7088 if test "x$ac_cv_header_asm_ioctl32_h" = x ""yes; then :7210 if test "x$ac_cv_header_asm_ioctl32_h" = xyes; then : 7089 7211 cat >>confdefs.h <<_ACEOF 7090 7212 #define HAVE_ASM_IOCTL32_H 1 … … 7101 7223 7102 7224 " 7103 if test "x$ac_cv_header_linux_exportfs_h" = x ""yes; then :7225 if test "x$ac_cv_header_linux_exportfs_h" = xyes; then : 7104 7226 cat >>confdefs.h <<_ACEOF 7105 7227 #define HAVE_LINUX_EXPORTFS_H 1 … … 7109 7231 7110 7232 done 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 " 7239 if test "x$ac_cv_header_linux_smp_lock_h" = xyes; then : 7240 7241 fi 7242 7111 7243 7112 7244 … … 8990 9122 CFLAGS=$tmp_cflags 8991 9123 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 9136 int 9137 main () 9138 { 9139 9140 ; 9141 return 0; 9142 } 9143 _ACEOF 9144 if 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 9150 else 9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9152 $as_echo "no" >&6; } 9153 9154 fi 9155 rm -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 9169 int 9170 main () 9171 { 9172 9173 f.get_sb = NULL; 9174 9175 ; 9176 return 0; 9177 } 9178 _ACEOF 9179 if 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 9185 else 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9187 $as_echo "no" >&6; } 9188 9189 fi 9190 rm -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 9204 int 9205 main () 9206 { 9207 9208 struct super_operations s; 9209 s.dirty_inode = di; 9210 9211 ; 9212 return 0; 9213 } 9214 _ACEOF 9215 if 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 9221 else 9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9223 $as_echo "no" >&6; } 9224 9225 fi 9226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9227 CFLAGS=$tmp_cflags 8992 9228 8993 9229 CFLAGS=$oldcflags … … 9036 9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9037 9273 $as_echo_n "checking for $ac_word... " >&6; } 9038 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then :9274 if ${ac_cv_prog_HAVE_PKGCONFIG+:} false; then : 9039 9275 $as_echo_n "(cached) " >&6 9040 9276 else … … 9084 9320 9085 9321 else 9086 as_fn_error "FUSE: FUSE library not found. Check LD_LIBRARY_PATH." "$LINENO" 59322 as_fn_error $? "FUSE: FUSE library not found. Check LD_LIBRARY_PATH." "$LINENO" 5 9087 9323 fi 9088 9324 else 9089 as_fn_error "FUSE: pkg-config not available. Please install pkg-config." "$LINENO" 59325 as_fn_error $? "FUSE: pkg-config not available. Please install pkg-config." "$LINENO" 5 9090 9326 fi 9091 9327 } … … 9133 9369 do : 9134 9370 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 :9371 if test "x$ac_cv_header_sys_epoll_h" = xyes; then : 9136 9372 cat >>confdefs.h <<_ACEOF 9137 9373 #define HAVE_SYS_EPOLL_H 1 … … 9237 9473 9238 9474 if 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" 59475 as_fn_error $? "Must do --enable-shared or --enable-static or both." "$LINENO" 5 9240 9476 fi 9241 9477 … … 9286 9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lefence" >&5 9287 9523 $as_echo_n "checking for malloc in -lefence... " >&6; } 9288 if test "${ac_cv_lib_efence_malloc+set}" = set; then :9524 if ${ac_cv_lib_efence_malloc+:} false; then : 9289 9525 $as_echo_n "(cached) " >&6 9290 9526 else … … 9320 9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_efence_malloc" >&5 9321 9557 $as_echo "$ac_cv_lib_efence_malloc" >&6; } 9322 if test "x$ac_cv_lib_efence_malloc" = x ""yes; then :9558 if test "x$ac_cv_lib_efence_malloc" = xyes; then : 9323 9559 cat >>confdefs.h <<_ACEOF 9324 9560 #define HAVE_LIBEFENCE 1 … … 9431 9667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9432 9668 $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; }9669 as_fn_error $? "Invalid libdb path specified. No db.h found. 9670 See \`config.log' for more details" "$LINENO" 5; } 9435 9671 fi 9436 9672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 9486 9722 LIBS=$oldlibs 9487 9723 if test "x$lib" = "xnotfound" ; then 9488 as_fn_error "could not find DB libraries" "$LINENO" 59724 as_fn_error $? "could not find DB libraries" "$LINENO" 5 9489 9725 else 9490 9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lib" >&5 … … 9854 10090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9855 10091 $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; }10092 as_fn_error $? "Invalid libdb path specified. No db.h found. 10093 See \`config.log' for more details" "$LINENO" 5; } 9858 10094 fi 9859 10095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 9909 10145 LIBS=$oldlibs 9910 10146 if test "x$lib" = "xnotfound" ; then 9911 as_fn_error "could not find DB libraries" "$LINENO" 510147 as_fn_error $? "could not find DB libraries" "$LINENO" 5 9912 10148 else 9913 10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lib" >&5 … … 10291 10527 $as_echo "yes" >&6; } 10292 10528 else 10293 as_fn_error "failed attempting to link lio_listio" "$LINENO" 510529 as_fn_error $? "failed attempting to link lio_listio" "$LINENO" 5 10294 10530 fi 10295 10531 rm -f core conftest.err conftest.$ac_objext \ … … 10324 10560 do : 10325 10561 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 :10562 if test "x$ac_cv_header_netdb_h" = xyes; then : 10327 10563 cat >>confdefs.h <<_ACEOF 10328 10564 #define HAVE_NETDB_H 1 … … 10336 10572 do : 10337 10573 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 :10574 if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 10339 10575 cat >>confdefs.h <<_ACEOF 10340 10576 #define HAVE_ARPA_INET_H 1 … … 10348 10584 do : 10349 10585 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 :10586 if test "x$ac_cv_header_sys_socket_h" = xyes; then : 10351 10587 cat >>confdefs.h <<_ACEOF 10352 10588 #define HAVE_SYS_SOCKET_H 1 … … 10430 10666 BUILD_BMI_TCP= 10431 10667 else 10432 as_fn_error "Option --with-tcp requires yes/no argument." "$LINENO" 510668 as_fn_error $? "Option --with-tcp requires yes/no argument." "$LINENO" 5 10433 10669 fi 10434 10670 … … 10443 10679 if test "${with_gm+set}" = set; then : 10444 10680 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" 510681 as_fn_error $? "Option --with-gm requires the path to your GM tree." "$LINENO" 5 10446 10682 elif test "$withval" != no ; then 10447 10683 gm_home="$withval" … … 10454 10690 if test "${with_gm_includes+set}" = set; then : 10455 10691 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" 510692 as_fn_error $? "Option --with-gm-includes requires path to GM headers." "$LINENO" 5 10457 10693 elif test "$withval" != no ; then 10458 10694 GM_INCDIR="$withval" … … 10465 10701 if test "${with_gm_libs+set}" = set; then : 10466 10702 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" 510703 as_fn_error $? "Option --with-gm-libs requires path to GM libraries." "$LINENO" 5 10468 10704 elif test "$withval" != no ; then 10469 10705 GM_LIBDIR="$withval" … … 10487 10723 CPPFLAGS="$CPPFLAGS -I$GM_INCDIR -I$GM_INCDIR/gm" 10488 10724 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" 510725 if test "x$ac_cv_header_gm_h" = xyes; then : 10726 10727 else 10728 as_fn_error $? "Header gm.h not found." "$LINENO" 5 10493 10729 fi 10494 10730 … … 10496 10732 if test ! -f $GM_LIBDIR/libgm.so ; then 10497 10733 if test ! -f $GM_LIBDIR/libgm.a ; then 10498 as_fn_error "Neither GM library libgm.so or libgm.a found." "$LINENO" 510734 as_fn_error $? "Neither GM library libgm.so or libgm.a found." "$LINENO" 5 10499 10735 fi 10500 10736 fi … … 10513 10749 if test "${with_mx+set}" = set; then : 10514 10750 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" 510751 as_fn_error $? "Option --with-mx requires the path to your MX tree." "$LINENO" 5 10516 10752 elif test "$withval" != no ; then 10517 10753 mx_home="$withval" … … 10524 10760 if test "${with_mx_includes+set}" = set; then : 10525 10761 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" 510762 as_fn_error $? "Option --with-mx-includes requires path to MX headers." "$LINENO" 5 10527 10763 elif test "$withval" != no ; then 10528 10764 MX_INCDIR="$withval" … … 10535 10771 if test "${with_mx_libs+set}" = set; then : 10536 10772 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" 510773 as_fn_error $? "Option --with-mx-libs requires path to MX libraries." "$LINENO" 5 10538 10774 elif test "$withval" != no ; then 10539 10775 MX_LIBDIR="$withval" … … 10557 10793 CPPFLAGS="$CPPFLAGS -I$MX_INCDIR -I$MX_INCDIR/mx" 10558 10794 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" 510795 if test "x$ac_cv_header_myriexpress_h" = xyes; then : 10796 10797 else 10798 as_fn_error $? "Header myriexpress.h not found." "$LINENO" 5 10563 10799 fi 10564 10800 … … 10566 10802 if test ! -f $MX_LIBDIR/libmyriexpress.so ; then 10567 10803 if test ! -f $MX_LIBDIR/libmyriexpress.a ; then 10568 as_fn_error "Neither MX library libmyriexpress.so or libmyriexpress.a found." "$LINENO" 510804 as_fn_error $? "Neither MX library libmyriexpress.so or libmyriexpress.a found." "$LINENO" 5 10569 10805 fi 10570 10806 fi … … 10609 10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10610 10846 $as_echo "no" >&6; } 10611 as_fn_error "Function mx_decompose_endpoint_addr2() not found." "$LINENO" 510847 as_fn_error $? "Function mx_decompose_endpoint_addr2() not found." "$LINENO" 5 10612 10848 10613 10849 fi … … 10627 10863 if test "${with_ib+set}" = set; then : 10628 10864 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" 510865 as_fn_error $? "Option --with-ib requires the path to your IB tree." "$LINENO" 5 10630 10866 elif test "$withval" != no ; then 10631 10867 ib_home="$withval" … … 10638 10874 if test "${with_ib_includes+set}" = set; then : 10639 10875 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" 510876 as_fn_error $? "Option --with-ib-includes requires path to IB headers." "$LINENO" 5 10641 10877 elif test "$withval" != no ; then 10642 10878 IB_INCDIR="$withval" … … 10649 10885 if test "${with_ib_libs+set}" = set; then : 10650 10886 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" 510887 as_fn_error $? "Option --with-ib-libs requires path to IB libraries." "$LINENO" 5 10652 10888 elif test "$withval" != no ; then 10653 10889 IB_LIBDIR="$withval" … … 10671 10907 CPPFLAGS="$CPPFLAGS -I$IB_INCDIR" 10672 10908 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" 510909 if test "x$ac_cv_header_vapi_h" = xyes; then : 10910 10911 else 10912 as_fn_error $? "Header vapi.h not found." "$LINENO" 5 10677 10913 fi 10678 10914 … … 10680 10916 if test ! -f $IB_LIBDIR/libvapi.so ; then 10681 10917 if test ! -f $IB_LIBDIR/libvapi.a ; then 10682 as_fn_error "Infiniband library libvapi.so not found." "$LINENO" 510918 as_fn_error $? "Infiniband library libvapi.so not found." "$LINENO" 5 10683 10919 fi 10684 10920 fi … … 10686 10922 ac_fn_c_check_header_compile "$LINENO" "wrap_common.h" "ac_cv_header_wrap_common_h" "#include <vapi.h> 10687 10923 " 10688 if test "x$ac_cv_header_wrap_common_h" = x ""yes; then :10924 if test "x$ac_cv_header_wrap_common_h" = xyes; then : 10689 10925 10690 10926 $as_echo "#define HAVE_IB_WRAP_COMMON_H 1" >>confdefs.h … … 10704 10940 if test "${with_openib+set}" = set; then : 10705 10941 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" 510942 as_fn_error $? "Option --with-openib requires the path to your OpenIB tree." "$LINENO" 5 10707 10943 elif test "$withval" != no ; then 10708 10944 openib_home="$withval" … … 10715 10951 if test "${with_openib_includes+set}" = set; then : 10716 10952 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" 510953 as_fn_error $? "Option --with-openib-includes requires path to OpenIB headers." "$LINENO" 5 10718 10954 elif test "$withval" != no ; then 10719 10955 OPENIB_INCDIR="$withval" … … 10726 10962 if test "${with_openib_libs+set}" = set; then : 10727 10963 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" 510964 as_fn_error $? "Option --with-openib-libs requires path to OpenIB libraries." "$LINENO" 5 10729 10965 elif test "$withval" != no ; then 10730 10966 OPENIB_LIBDIR="$withval" … … 10748 10984 CPPFLAGS="$CPPFLAGS -I$OPENIB_INCDIR" 10749 10985 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" 510986 if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then : 10987 10988 else 10989 as_fn_error $? "Header infiniband/verbs.h not found." "$LINENO" 5 10754 10990 fi 10755 10991 … … 10757 10993 if test ! -f $OPENIB_LIBDIR/libibverbs.so ; then 10758 10994 if test ! -f $OPENIB_LIBDIR/libibverbs.a ; then 10759 as_fn_error "OpenIB library libibverbs.so not found." "$LINENO" 510995 as_fn_error $? "OpenIB library libibverbs.so not found." "$LINENO" 5 10760 10996 fi 10761 10997 fi … … 10857 11093 if test "${with_portals_includes+set}" = set; then : 10858 11094 withval=$with_portals_includes; if test -z "$withval" -o "$withval" = yes ; then 10859 as_fn_error "Option --with-portals-includes requires an argument." "$LINENO" 511095 as_fn_error $? "Option --with-portals-includes requires an argument." "$LINENO" 5 10860 11096 elif test "$withval" != no ; then 10861 11097 incs="$withval" … … 10868 11104 if test "${with_portals_libs+set}" = set; then : 10869 11105 withval=$with_portals_libs; if test -z "$withval" -o "$withval" = yes ; then 10870 as_fn_error "Option --with-portals-libs requires an argument." "$LINENO" 511106 as_fn_error $? "Option --with-portals-libs requires an argument." "$LINENO" 5 10871 11107 elif test "$withval" != no ; then 10872 11108 libs="$withval" … … 10926 11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10927 11163 $as_echo "no" >&6; } 10928 as_fn_error "Header portals/portals3.h not found." "$LINENO" 511164 as_fn_error $? "Header portals/portals3.h not found." "$LINENO" 5 10929 11165 fi 10930 11166 … … 10998 11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10999 11235 $as_echo "no" >&6; } 11000 as_fn_error "Could not link Portals library." "$LINENO" 511236 as_fn_error $? "Could not link Portals library." "$LINENO" 5 11001 11237 fi 11002 11238 … … 11007 11243 do : 11008 11244 ac_fn_c_check_func "$LINENO" "PtlErrorStr" "ac_cv_func_PtlErrorStr" 11009 if test "x$ac_cv_func_PtlErrorStr" = x ""yes; then :11245 if test "x$ac_cv_func_PtlErrorStr" = xyes; then : 11010 11246 cat >>confdefs.h <<_ACEOF 11011 11247 #define HAVE_PTLERRORSTR 1 … … 11018 11254 do : 11019 11255 ac_fn_c_check_func "$LINENO" "PtlEventKindStr" "ac_cv_func_PtlEventKindStr" 11020 if test "x$ac_cv_func_PtlEventKindStr" = x ""yes; then :11256 if test "x$ac_cv_func_PtlEventKindStr" = xyes; then : 11021 11257 cat >>confdefs.h <<_ACEOF 11022 11258 #define HAVE_PTLEVENTKINDSTR 1 … … 11060 11296 if test "${with_zoid+set}" = set; then : 11061 11297 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" 511298 as_fn_error $? "Option --with-zoid requires the path to your ZOID source tree." "$LINENO" 5 11063 11299 elif test "$withval" != no ; then 11064 11300 ZOID_SRCDIR="$withval" … … 11071 11307 CPPFLAGS="$CPPFLAGS -Isrc/io/bmi -I$ZOID_SRCDIR/include -I$ZOID_SRCDIR/zbmi -I$ZOID_SRCDIR/zbmi/implementation" 11072 11308 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" 511309 if test "x$ac_cv_header_zbmi_h" = xyes; then : 11310 11311 else 11312 as_fn_error $? "Header zbmi.h not found." "$LINENO" 5 11077 11313 fi 11078 11314 11079 11315 11080 11316 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" 511317 if test "x$ac_cv_header_zoid_api_h" = xyes; then : 11318 11319 else 11320 as_fn_error $? "Header zoid_api.h not found." "$LINENO" 5 11085 11321 fi 11086 11322 11087 11323 11088 11324 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" 511325 if test "x$ac_cv_header_zbmi_protocol_h" = xyes; then : 11326 11327 else 11328 as_fn_error $? "Header zbmi_protocol.h not found." "$LINENO" 5 11093 11329 fi 11094 11330 … … 11138 11374 11139 11375 ac_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 :11376 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then : 11141 11377 11142 11378 $as_echo "#define HAVE_SYSINFO 1" >>confdefs.h … … 11150 11386 do : 11151 11387 ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" 11152 if test "x$ac_cv_func_strnlen" = x ""yes; then :11388 if test "x$ac_cv_func_strnlen" = xyes; then : 11153 11389 cat >>confdefs.h <<_ACEOF 11154 11390 #define HAVE_STRNLEN 1 … … 11161 11397 do : 11162 11398 ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" 11163 if test "x$ac_cv_func_strtoull" = x ""yes; then :11399 if test "x$ac_cv_func_strtoull" = xyes; then : 11164 11400 cat >>confdefs.h <<_ACEOF 11165 11401 #define HAVE_STRTOULL 1 … … 11172 11408 do : 11173 11409 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 11174 if test "x$ac_cv_func_strstr" = x ""yes; then :11410 if test "x$ac_cv_func_strstr" = xyes; then : 11175 11411 cat >>confdefs.h <<_ACEOF 11176 11412 #define HAVE_STRSTR 1 … … 11183 11419 do : 11184 11420 ac_fn_c_check_func "$LINENO" "fgetxattr" "ac_cv_func_fgetxattr" 11185 if test "x$ac_cv_func_fgetxattr" = x ""yes; then :11421 if test "x$ac_cv_func_fgetxattr" = xyes; then : 11186 11422 cat >>confdefs.h <<_ACEOF 11187 11423 #define HAVE_FGETXATTR 1 … … 11194 11430 do : 11195 11431 ac_fn_c_check_func "$LINENO" "fsetxattr" "ac_cv_func_fsetxattr" 11196 if test "x$ac_cv_func_fsetxattr" = x ""yes; then :11432 if test "x$ac_cv_func_fsetxattr" = xyes; then : 11197 11433 cat >>confdefs.h <<_ACEOF 11198 11434 #define HAVE_FSETXATTR 1 … … 11320 11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5 11321 11557 $as_echo_n "checking for library containing getmntent... " >&6; } 11322 if test "${ac_cv_search_getmntent+set}" = set; then :11558 if ${ac_cv_search_getmntent+:} false; then : 11323 11559 $as_echo_n "(cached) " >&6 11324 11560 else … … 11354 11590 rm -f core conftest.err conftest.$ac_objext \ 11355 11591 conftest$ac_exeext 11356 if test "${ac_cv_search_getmntent+set}" = set; then :11592 if ${ac_cv_search_getmntent+:} false; then : 11357 11593 break 11358 11594 fi 11359 11595 done 11360 if test "${ac_cv_search_getmntent+set}" = set; then :11596 if ${ac_cv_search_getmntent+:} false; then : 11361 11597 11362 11598 else … … 11384 11620 do : 11385 11621 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 :11622 if test "x$ac_cv_header_malloc_h" = xyes; then : 11387 11623 cat >>confdefs.h <<_ACEOF 11388 11624 #define HAVE_MALLOC_H 1 … … 11396 11632 do : 11397 11633 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 :11634 if test "x$ac_cv_header_mntent_h" = xyes; then : 11399 11635 cat >>confdefs.h <<_ACEOF 11400 11636 #define HAVE_MNTENT_H 1 … … 11425 11661 do : 11426 11662 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 :11663 if test "x$ac_cv_header_execinfo_h" = xyes; then : 11428 11664 cat >>confdefs.h <<_ACEOF 11429 11665 #define HAVE_EXECINFO_H 1 … … 11451 11687 do : 11452 11688 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 :11689 if test "x$ac_cv_header_SDL_ttf_h" = xyes; then : 11454 11690 cat >>confdefs.h <<_ACEOF 11455 11691 #define HAVE_SDL_TTF_H 1 … … 11461 11697 do : 11462 11698 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 :11699 if test "x$ac_cv_header_SDL_SDL_ttf_h" = xyes; then : 11464 11700 cat >>confdefs.h <<_ACEOF 11465 11701 #define HAVE_SDL_SDL_TTF_H 1 … … 11585 11821 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11586 11822 if test -w "$cache_file"; then 11587 test "x$cache_file" != "x/dev/null" &&11823 if test "x$cache_file" != "x/dev/null"; then 11588 11824 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11589 11825 $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 11591 11838 else 11592 11839 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 … … 11604 11851 ac_libobjs= 11605 11852 ac_ltlibobjs= 11853 U= 11606 11854 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11607 11855 # 1. Remove the extension, and $U if already installed. … … 11620 11868 11621 11869 11622 : ${CONFIG_STATUS=./config.status}11870 : "${CONFIG_STATUS=./config.status}" 11623 11871 ac_write_fail=0 11624 11872 ac_clean_files_save=$ac_clean_files … … 11721 11969 11722 11970 # Find who we are. Look in the path if we contain no directory separator. 11971 as_myself= 11723 11972 case $0 in #(( 11724 11973 *[\\/]* ) as_myself=$0 ;; … … 11766 12015 11767 12016 11768 # as_fn_error ERROR [LINENO LOG_FD]11769 # --------------------------------- 12017 # as_fn_error STATUS ERROR [LINENO LOG_FD] 12018 # ---------------------------------------- 11770 12019 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11771 12020 # 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. 11773 12022 as_fn_error () 11774 12023 { 11775 as_status=$ ?; test $as_status -eq 0 && as_status=111776 if test "$ 3"; then11777 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack11778 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$312024 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 11779 12028 fi 11780 $as_echo "$as_me: error: $ 1" >&212029 $as_echo "$as_me: error: $2" >&2 11781 12030 as_fn_exit $as_status 11782 12031 } # as_fn_error … … 11974 12223 done 11975 12224 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" 11977 12226 11978 12227 … … 12028 12277 ac_log=" 12029 12278 This file was extended by $as_me, which was 12030 generated by GNU Autoconf 2.6 5. Invocation command line was12279 generated by GNU Autoconf 2.68. Invocation command line was 12031 12280 12032 12281 CONFIG_FILES = $CONFIG_FILES … … 12090 12339 ac_cs_version="\\ 12091 12340 config.status 12092 configured by $0, generated by GNU Autoconf 2.6 5,12341 configured by $0, generated by GNU Autoconf 2.68, 12093 12342 with options \\"\$ac_cs_config\\" 12094 12343 12095 Copyright (C) 20 09Free Software Foundation, Inc.12344 Copyright (C) 2010 Free Software Foundation, Inc. 12096 12345 This config.status script is free software; the Free Software Foundation 12097 12346 gives unlimited permission to copy, distribute and modify it." … … 12109 12358 do 12110 12359 case $1 in 12111 --*= *)12360 --*=?*) 12112 12361 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12113 12362 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12363 ac_shift=: 12364 ;; 12365 --*=) 12366 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12367 ac_optarg= 12114 12368 ac_shift=: 12115 12369 ;; … … 12135 12389 case $ac_optarg in 12136 12390 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12391 '') as_fn_error $? "missing file argument" ;; 12137 12392 esac 12138 12393 as_fn_append CONFIG_FILES " '$ac_optarg'" … … 12147 12402 --he | --h) 12148 12403 # Conflict between --help and --header 12149 as_fn_error "ambiguous option: \`$1'12404 as_fn_error $? "ambiguous option: \`$1' 12150 12405 Try \`$0 --help' for more information.";; 12151 12406 --help | --hel | -h ) … … 12156 12411 12157 12412 # This is an error. 12158 -*) as_fn_error "unrecognized option: \`$1'12413 -*) as_fn_error $? "unrecognized option: \`$1' 12159 12414 Try \`$0 --help' for more information." ;; 12160 12415 … … 12260 12515 "doc/doxygen/pvfs2-doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen/pvfs2-doxygen.conf" ;; 12261 12516 12262 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;12517 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12263 12518 esac 12264 12519 done … … 12282 12537 $debug || 12283 12538 { 12284 tmp= 12539 tmp= ac_tmp= 12285 12540 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 12287 12543 ' 0 12288 12544 trap 'as_fn_exit 1' 1 2 13 15 … … 12292 12548 { 12293 12549 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12294 test - n "$tmp" && test -d "$tmp"12550 test -d "$tmp" 12295 12551 } || 12296 12552 { 12297 12553 tmp=./conf$$-$RANDOM 12298 12554 (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 12556 ac_tmp=$tmp 12300 12557 12301 12558 # Set up the scripts for CONFIG_FILES section. … … 12314 12571 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12315 12572 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12316 ac_cs_awk_cr='\ r'12573 ac_cs_awk_cr='\\r' 12317 12574 else 12318 12575 ac_cs_awk_cr=$ac_cr 12319 12576 fi 12320 12577 12321 echo 'BEGIN {' >"$ tmp/subs1.awk" &&12578 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12322 12579 _ACEOF 12323 12580 … … 12328 12585 echo "_ACEOF" 12329 12586 } >conf$$subs.sh || 12330 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 512331 ac_delim_num=`echo "$ac_subst_vars" | grep -c ' $'`12587 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12588 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12332 12589 ac_delim='%!_!# ' 12333 12590 for ac_last_try in false false false false false :; do 12334 12591 . ./conf$$subs.sh || 12335 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 512592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12336 12593 12337 12594 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 12339 12596 break 12340 12597 elif $ac_last_try; then 12341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 512598 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12342 12599 else 12343 12600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 12347 12604 12348 12605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12349 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&12606 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12350 12607 _ACEOF 12351 12608 sed -n ' … … 12395 12652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12396 12653 _ACAWK 12397 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&12654 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12398 12655 for (key in S) S_is_set[key] = 1 12399 12656 FS = "" … … 12427 12684 else 12428 12685 cat 12429 fi < "$ tmp/subs1.awk" > "$tmp/subs.awk" \12430 || as_fn_error "could not setup config files machinery" "$LINENO" 512431 _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 and12686 fi < "$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 12435 12692 # trailing colons and then remove the whole line if VPATH becomes empty 12436 12693 # (actually we leave an empty line to preserve line numbers). 12437 12694 if 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[ ]*=[ ]*/{ 12696 h 12697 s/// 12698 s/^/:/ 12699 s/[ ]*$/:/ 12700 s/:\$(srcdir):/:/g 12701 s/:\${srcdir}:/:/g 12702 s/:@srcdir@:/:/g 12703 s/^:*// 12443 12704 s/:*$// 12705 x 12706 s/\(=[ ]*\).*/\1/ 12707 G 12708 s/\n// 12444 12709 s/^[^=]*=[ ]*$// 12445 12710 }' … … 12453 12718 # This happens for instance with `./config.status Makefile'. 12454 12719 if test -n "$CONFIG_HEADERS"; then 12455 cat >"$ tmp/defines.awk" <<\_ACAWK ||12720 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 12456 12721 BEGIN { 12457 12722 _ACEOF … … 12465 12730 ac_delim='%!_!# ' 12466 12731 for ac_last_try in false false :; do 12467 ac_t =`sed -n "/$ac_delim/p" confdefs.h`12468 if test -z "$ac_t "; then12732 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 12733 if test -z "$ac_tt"; then 12469 12734 break 12470 12735 elif $ac_last_try; then 12471 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 512736 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 12472 12737 else 12473 12738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 12554 12819 _ACEOF 12555 12820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12556 as_fn_error "could not setup config headers machinery" "$LINENO" 512821 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 12557 12822 fi # test -n "$CONFIG_HEADERS" 12558 12823 … … 12567 12832 case $ac_mode$ac_tag in 12568 12833 :[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;; 12570 12835 :[FH]-) ac_tag=-:-;; 12571 12836 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 12586 12851 do 12587 12852 case $ac_f in 12588 -) ac_f="$ tmp/stdin";;12853 -) ac_f="$ac_tmp/stdin";; 12589 12854 *) # Look for the file first in the build tree, then in the source tree 12590 12855 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 12595 12860 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12596 12861 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;; 12598 12863 esac 12599 12864 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 12621 12886 12622 12887 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 ;; 12625 12890 esac 12626 12891 ;; … … 12752 13017 $ac_datarootdir_hack 12753 13018 " 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" 513019 eval 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 12756 13021 12757 13022 test -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"; } && 12760 13026 { $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 ." >&513027 which seems to be undefined. Please make sure it is defined" >&5 12762 13028 $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"13029 which seems to be undefined. Please make sure it is defined" >&2;} 13030 13031 rm -f "$ac_tmp/stdin" 12766 13032 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";; 12769 13035 esac \ 12770 || as_fn_error "could not create $ac_file" "$LINENO" 513036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12771 13037 ;; 12772 13038 :H) … … 12777 13043 { 12778 13044 $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" 512782 if diff "$ac_file" "$ tmp/config.h" >/dev/null 2>&1; then13045 && 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 12783 13049 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12784 13050 $as_echo "$as_me: $ac_file is unchanged" >&6;} 12785 13051 else 12786 13052 rm -f "$ac_file" 12787 mv "$ tmp/config.h" "$ac_file" \12788 || as_fn_error "could not create $ac_file" "$LINENO" 513053 mv "$ac_tmp/config.h" "$ac_file" \ 13054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12789 13055 fi 12790 13056 else 12791 13057 $as_echo "/* $configure_input */" \ 12792 && eval '$AWK -f "$ tmp/defines.awk"' "$ac_file_inputs" \12793 || as_fn_error "could not create -" "$LINENO" 513058 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 13059 || as_fn_error $? "could not create -" "$LINENO" 5 12794 13060 fi 12795 13061 ;; … … 12806 13072 12807 13073 test $ac_write_fail = 0 || 12808 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 513074 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 12809 13075 12810 13076 … … 12827 13093 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12828 13094 # 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 12830 13096 fi 12831 13097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -
branches/Orange-Branch/maint/config/kernel.m4
r8842 r9022 16 16 NOSTDINCFLAGS="-Werror-implicit-function-declaration -nostdinc -isystem `$CC -print-file-name=include`" 17 17 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)" 19 22 20 23 dnl kernels > 2.6.32 now use generated/autoconf.h … … 517 520 AC_MSG_RESULT(yes) 518 521 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), 519 579 AC_MSG_RESULT(no) 520 580 ) … … 672 732 ]) 673 733 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 674 740 AC_MSG_CHECKING(for generic_file_readv api in kernel) 675 741 dnl if this test passes, the kernel does not have it … … 1634 1700 CFLAGS=$tmp_cflags 1635 1701 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 1636 1754 1637 1755 CFLAGS=$oldcflags -
branches/Orange-Branch/pvfs2-config.h.in
r8842 r9022 80 80 #undef HAVE_DENTRY_STATFS_SOP 81 81 82 /* Define if dirty_inode takes a flag argument */ 83 #undef HAVE_DIRTY_INODE_FLAGS 84 82 85 /* Define if kernel super_operations contains drop_inode field */ 83 86 #undef HAVE_DROP_INODE … … 126 129 #undef HAVE_FSTAB_H 127 130 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 128 137 /* Define if fsync function in file_operations struct wants a dentry pointer 129 138 as the second parameter */ … … 154 163 #undef HAVE_GETPWUID 155 164 165 /* Define if get_sb_nodev function exists */ 166 #undef HAVE_GETSB_NODEV 167 156 168 /* Define if struct super_operations in kernel has get_fs_key callback */ 157 169 #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 158 173 159 174 /* Define if strerror_r is GNU-specific */ … … 367 382 tree_lock */ 368 383 #undef HAVE_SPIN_LOCK_TREE_ADDR_SPACE_STRUCT 384 385 /* Define if SPIN_LOCK_UNLOCKED defined */ 386 #undef HAVE_SPIN_LOCK_UNLOCKED 369 387 370 388 /* Define if struct super_operations in kernel has statfs_lite callback */ -
branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-bufmap.c
r8968 r9022 30 30 /* array to track usage of buffer descriptors */ 31 31 static int *buffer_index_array = NULL; 32 #ifdef HAVE_SPIN_LOCK_UNLOCKED 32 33 static spinlock_t buffer_index_lock = SPIN_LOCK_UNLOCKED; 34 #else 35 static DEFINE_SPINLOCK(buffer_index_lock); 36 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 33 37 34 38 /* array to track usage of buffer descriptors for readdir/readdirplus */ 35 39 static int readdir_index_array[PVFS2_READDIR_DEFAULT_DESC_COUNT] = {0}; 40 #ifdef HAVE_SPIN_LOCK_UNLOCKED 36 41 static spinlock_t readdir_index_lock = SPIN_LOCK_UNLOCKED; 42 #else 43 static DEFINE_SPINLOCK(readdir_index_lock); 44 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 37 45 38 46 static struct pvfs_bufmap_desc *desc_array = NULL; -
branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-cache.c
r8886 r9022 8 8 9 9 /* A list of all allocated pvfs2 inode objects */ 10 #ifdef HAVE_SPIN_LOCK_UNLOCKED 10 11 static spinlock_t pvfs2_inode_list_lock = SPIN_LOCK_UNLOCKED; 12 #else 13 static DEFINE_SPINLOCK(pvfs2_inode_list_lock); 14 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 15 11 16 static LIST_HEAD(pvfs2_inode_list); 12 17 13 18 /* tags assigned to kernel upcall operations */ 14 19 static uint64_t next_tag_value; 20 #ifdef HAVE_SPIN_LOCK_UNLOCKED 15 21 static spinlock_t next_tag_value_lock = SPIN_LOCK_UNLOCKED; 16 22 #else 23 static DEFINE_SPINLOCK(next_tag_value_lock); 24 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 17 25 /* the pvfs2 memory caches */ 18 26 -
branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-kernel.h
r8982 r9022 24 24 #include <linux/config.h> 25 25 #endif 26 #include <linux/kernel.h> 26 27 27 28 #ifdef PVFS2_LINUX_KERNEL_2_4 … … 42 43 43 44 #else /* !(PVFS2_LINUX_KERNEL_2_4) */ 44 45 45 #include <linux/moduleparam.h> 46 46 #include <linux/vermagic.h> … … 55 55 #endif /* PVFS2_LINUX_KERNEL_2_4 */ 56 56 57 #include <linux/kernel.h>58 57 #include <linux/init.h> 59 58 #include <linux/module.h> … … 94 93 #include <linux/mm.h> 95 94 #include <asm/atomic.h> 95 #ifdef HAVE_SMP_LOCK_H 96 96 #include <linux/smp_lock.h> 97 #endif 97 98 #include <linux/wait.h> 98 99 #include <linux/dcache.h> … … 776 777 int silent); 777 778 #else 779 #ifdef HAVE_FSTYPE_MOUNT_ONLY 780 struct dentry *pvfs2_mount( 781 struct file_system_type *fst, int flags, 782 const char *devname, void *data); 783 #else 778 784 #ifdef HAVE_VFSMOUNT_GETSB 779 785 int pvfs2_get_sb( … … 785 791 struct file_system_type *fst, int flags, 786 792 const char *devname, void *data); 787 #endif 793 #endif /* HAVE_VFSMOUNT_GETSB */ 794 #endif /* HAVE_FSTYPE_MOUNT_ONLY */ 788 795 #endif 789 796 -
branches/Orange-Branch/src/kernel/linux-2.6/pvfs2-mod.c
r8251 r9022 84 84 { 85 85 .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 86 90 .get_sb = pvfs2_get_sb, 91 #endif /* HAVE_FSTYPE_MOUNT_ONLY */ 87 92 .kill_sb = pvfs2_kill_sb, 88 93 .owner = THIS_MODULE, … … 121 126 122 127 /* used to protect the above pvfs2_request_list */ 128 #ifdef HAVE_SPIN_LOCK_UNLOCKED 123 129 spinlock_t pvfs2_request_list_lock = SPIN_LOCK_UNLOCKED; 130 #else 131 DEFINE_SPINLOCK(pvfs2_request_list_lock); 132 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 124 133 125 134 /* used for incoming request notification */ -
branches/Orange-Branch/src/kernel/linux-2.6/super.c
r8317 r9022 13 13 14 14 /* used to protect the above superblock list */ 15 #ifdef HAVE_SPIN_LOCK_UNLOCKED 15 16 spinlock_t pvfs2_superblocks_lock = SPIN_LOCK_UNLOCKED; 17 #else 18 DEFINE_SPINLOCK(pvfs2_superblocks_lock); 19 #endif /* HAVE_SPIN_LOCK_UNLOCKED */ 16 20 17 21 #ifdef HAVE_GET_FS_KEY_SUPER_OPERATIONS … … 890 894 891 895 /* Called whenever the VFS dirties the inode in response to atime updates */ 892 static void pvfs2_dirty_inode(struct inode *inode) 896 static void pvfs2_dirty_inode(struct inode *inode 897 #ifdef HAVE_DIRTY_INODE_FLAGS 898 ,int flags 899 #endif 900 ) 893 901 { 894 902 if (inode) … … 1289 1297 return 0; 1290 1298 } 1291 1299 #ifdef HAVE_FSTYPE_MOUNT_ONLY 1300 struct dentry *pvfs2_mount( 1301 struct file_system_type *fst, 1302 int flags, 1303 const char *devname, 1304 void *data) 1305 #else 1292 1306 #ifdef HAVE_VFSMOUNT_GETSB 1293 1307 int pvfs2_get_sb( … … 1303 1317 const char *devname, 1304 1318 void *data) 1305 #endif 1319 #endif /* HAVE_VFSMOUNT_GETSB */ 1320 #endif /* HAVE_FSTYPE_MOUNT_ONLY */ 1306 1321 { 1307 1322 int ret = -EINVAL; … … 1309 1324 pvfs2_kernel_op_t *new_op; 1310 1325 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 1311 1329 1312 1330 gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: called with devname %s\n", devname); … … 1318 1336 { 1319 1337 ret = -ENOMEM; 1320 #if def HAVE_VFSMOUNT_GETSB1338 #if defined(HAVE_VFSMOUNT_GETSB) && !defined(HAVE_FSTYPE_MOUNT_ONLY) 1321 1339 return ret; 1322 1340 #else … … 1361 1379 to fill_sb where it's properly copied out 1362 1380 */ 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 1363 1386 #ifdef HAVE_VFSMOUNT_GETSB 1364 1387 ret = get_sb_nodev( … … 1370 1393 sb = get_sb_nodev( 1371 1394 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 */ 1373 1409 1374 1410 if (sb && !IS_ERR(sb) && (PVFS2_SB(sb))) … … 1409 1445 gossip_err("ERROR: device name not specified.\n"); 1410 1446 } 1411 1447 #ifdef HAVE_FSTYPE_MOUNT_ONLY 1448 return mnt_sb_d; 1449 #else 1412 1450 #ifdef HAVE_VFSMOUNT_GETSB 1413 1451 return ret; 1414 1452 #else 1415 1453 return sb; 1416 #endif 1454 #endif /* HAVE_VFSMOUNT_GETSB */ 1455 #endif /* HAVE_FSTYPE_MOUNT_ONLY */ 1417 1456 1418 1457 error_exit: 1419 1458 if (ret || IS_ERR(sb)) 1420 1459 { 1460 #if !defined(HAVE_FSTYPE_MOUNT_ONLY) 1421 1461 sb = ERR_PTR(ret); 1462 #endif /* HAVE_FSTYPE_MOUNT_ONLY */ 1422 1463 } 1423 1464 #ifdef HAVE_VFSMOUNT_GETSB … … 1435 1476 op_release(new_op); 1436 1477 } 1437 #if def HAVE_VFSMOUNT_GETSB1478 #if defined(HAVE_VFSMOUNT_GETSB) && !defined(HAVE_FSTYPE_MOUNT_ONLY) 1438 1479 gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: returning %d\n", ret); 1439 1480 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; 1440 1485 #else 1441 1486 gossip_debug(GOSSIP_SUPER_DEBUG, "pvfs2_get_sb: returning sb %p\n", sb);
