diff -Naur e2fsprogs-1.43/configure e2fsprogs-1.43-haiku/configure
|
old
|
new
|
|
| 1 | 1 | #! /bin/sh |
| 2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | | # Generated by GNU Autoconf 2.69. |
| | 3 | # Generated by GNU Autoconf 2.68. |
| 4 | 4 | # |
| 5 | 5 | # |
| 6 | | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| | 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
| | 8 | # Foundation, Inc. |
| 7 | 9 | # |
| 8 | 10 | # |
| 9 | 11 | # This configure script is free software; the Free Software Foundation |
| … |
… |
|
| 132 | 134 | # CDPATH. |
| 133 | 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 134 | 136 | |
| 135 | | # Use a proper internal environment variable to ensure we don't fall |
| 136 | | # into an infinite loop, continuously re-executing ourselves. |
| 137 | | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 138 | | _as_can_reexec=no; export _as_can_reexec; |
| 139 | | # We cannot yet assume a decent shell, so we have to provide a |
| 140 | | # neutralization value for shells without unset; and this also |
| 141 | | # works around shells that cannot unset nonexistent variables. |
| 142 | | # Preserve -v and -x to the replacement shell. |
| 143 | | BASH_ENV=/dev/null |
| 144 | | ENV=/dev/null |
| 145 | | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 146 | | case $- in # (((( |
| 147 | | *v*x* | *x*v* ) as_opts=-vx ;; |
| 148 | | *v* ) as_opts=-v ;; |
| 149 | | *x* ) as_opts=-x ;; |
| 150 | | * ) as_opts= ;; |
| 151 | | esac |
| 152 | | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 153 | | # Admittedly, this is quite paranoid, since all the known shells bail |
| 154 | | # out after a failed `exec'. |
| 155 | | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 156 | | as_fn_exit 255 |
| 157 | | fi |
| 158 | | # We don't want this to propagate to other subprocesses. |
| 159 | | { _as_can_reexec=; unset _as_can_reexec;} |
| 160 | 137 | if test "x$CONFIG_SHELL" = x; then |
| 161 | 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 162 | 139 | emulate sh |
| … |
… |
|
| 190 | 167 | else |
| 191 | 168 | exitcode=1; echo positional parameters were not saved. |
| 192 | 169 | fi |
| 193 | | test x\$exitcode = x0 || exit 1 |
| 194 | | test -x / || exit 1" |
| | 170 | test x\$exitcode = x0 || exit 1" |
| 195 | 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 196 | 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 197 | 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| … |
… |
|
| 236 | 212 | |
| 237 | 213 | |
| 238 | 214 | if test "x$CONFIG_SHELL" != x; then : |
| 239 | | export CONFIG_SHELL |
| 240 | | # We cannot yet assume a decent shell, so we have to provide a |
| 241 | | # neutralization value for shells without unset; and this also |
| 242 | | # works around shells that cannot unset nonexistent variables. |
| 243 | | # Preserve -v and -x to the replacement shell. |
| 244 | | BASH_ENV=/dev/null |
| 245 | | ENV=/dev/null |
| 246 | | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 247 | | case $- in # (((( |
| 248 | | *v*x* | *x*v* ) as_opts=-vx ;; |
| 249 | | *v* ) as_opts=-v ;; |
| 250 | | *x* ) as_opts=-x ;; |
| 251 | | * ) as_opts= ;; |
| 252 | | esac |
| 253 | | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 254 | | # Admittedly, this is quite paranoid, since all the known shells bail |
| 255 | | # out after a failed `exec'. |
| 256 | | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 257 | | exit 255 |
| | 215 | # We cannot yet assume a decent shell, so we have to provide a |
| | 216 | # neutralization value for shells without unset; and this also |
| | 217 | # works around shells that cannot unset nonexistent variables. |
| | 218 | # Preserve -v and -x to the replacement shell. |
| | 219 | BASH_ENV=/dev/null |
| | 220 | ENV=/dev/null |
| | 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| | 222 | export CONFIG_SHELL |
| | 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+"$@"} |
| 258 | 230 | fi |
| 259 | 231 | |
| 260 | 232 | if test x$as_have_required = xno; then : |
| … |
… |
|
| 356 | 328 | |
| 357 | 329 | |
| 358 | 330 | } # as_fn_mkdir_p |
| 359 | | |
| 360 | | # as_fn_executable_p FILE |
| 361 | | # ----------------------- |
| 362 | | # Test if FILE is an executable regular file. |
| 363 | | as_fn_executable_p () |
| 364 | | { |
| 365 | | test -f "$1" && test -x "$1" |
| 366 | | } # as_fn_executable_p |
| 367 | 331 | # as_fn_append VAR VALUE |
| 368 | 332 | # ---------------------- |
| 369 | 333 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| … |
… |
|
| 485 | 449 | chmod +x "$as_me.lineno" || |
| 486 | 450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 487 | 451 | |
| 488 | | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 489 | | # already done that, so ensure we don't try to do so again and fall |
| 490 | | # in an infinite loop. This has already happened in practice. |
| 491 | | _as_can_reexec=no; export _as_can_reexec |
| 492 | 452 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 493 | 453 | # (the dirname of $[0] is not the place where we might find the |
| 494 | 454 | # original and so on. Autoconf is especially sensitive to this). |
| … |
… |
|
| 523 | 483 | # ... but there are two gotchas: |
| 524 | 484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 525 | 485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 526 | | # In both cases, we have to default to `cp -pR'. |
| | 486 | # In both cases, we have to default to `cp -p'. |
| 527 | 487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 528 | | as_ln_s='cp -pR' |
| | 488 | as_ln_s='cp -p' |
| 529 | 489 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 530 | 490 | as_ln_s=ln |
| 531 | 491 | else |
| 532 | | as_ln_s='cp -pR' |
| | 492 | as_ln_s='cp -p' |
| 533 | 493 | fi |
| 534 | 494 | else |
| 535 | | as_ln_s='cp -pR' |
| | 495 | as_ln_s='cp -p' |
| 536 | 496 | fi |
| 537 | 497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 538 | 498 | rmdir conf$$.dir 2>/dev/null |
| … |
… |
|
| 544 | 504 | as_mkdir_p=false |
| 545 | 505 | fi |
| 546 | 506 | |
| 547 | | as_test_x='test -x' |
| 548 | | as_executable_p=as_fn_executable_p |
| | 507 | if test -x / >/dev/null 2>&1; then |
| | 508 | as_test_x='test -x' |
| | 509 | else |
| | 510 | if ls -dL / >/dev/null 2>&1; then |
| | 511 | as_ls_L_option=L |
| | 512 | else |
| | 513 | as_ls_L_option= |
| | 514 | fi |
| | 515 | as_test_x=' |
| | 516 | eval sh -c '\'' |
| | 517 | if test -d "$1"; then |
| | 518 | test -d "$1/."; |
| | 519 | else |
| | 520 | case $1 in #( |
| | 521 | -*)set "./$1";; |
| | 522 | esac; |
| | 523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| | 524 | ???[sx]*):;;*)false;;esac;fi |
| | 525 | '\'' sh |
| | 526 | ' |
| | 527 | fi |
| | 528 | as_executable_p=$as_test_x |
| 549 | 529 | |
| 550 | 530 | # Sed expression to map a string onto a valid CPP name. |
| 551 | 531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| … |
… |
|
| 916 | 896 | dvidir='${docdir}' |
| 917 | 897 | pdfdir='${docdir}' |
| 918 | 898 | psdir='${docdir}' |
| 919 | | libdir='${exec_prefix}/lib' |
| | 899 | libdir='${exec_prefix}' |
| 920 | 900 | localedir='${datarootdir}/locale' |
| 921 | 901 | mandir='${datarootdir}/man' |
| 922 | 902 | |
| … |
… |
|
| 1325 | 1305 | if test "x$host_alias" != x; then |
| 1326 | 1306 | if test "x$build_alias" = x; then |
| 1327 | 1307 | cross_compiling=maybe |
| | 1308 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| | 1309 | If a cross compiler is detected then cross compile mode will be used" >&2 |
| 1328 | 1310 | elif test "x$build_alias" != "x$host_alias"; then |
| 1329 | 1311 | cross_compiling=yes |
| 1330 | 1312 | fi |
| … |
… |
|
| 1498 | 1480 | --disable-testio-debug disable the use of the test I/O manager for debugging |
| 1499 | 1481 | --disable-libuuid do not build private uuid library |
| 1500 | 1482 | --disable-libblkid do not build private blkid library |
| 1501 | | --enable-libquota enable quota support |
| | 1483 | --disable-quota disable quota support |
| 1502 | 1484 | --disable-debugfs disable support of debugfs program |
| 1503 | 1485 | --disable-imager disable support of e2image program |
| 1504 | 1486 | --disable-resizer disable support of e2resize program |
| … |
… |
|
| 1607 | 1589 | if $ac_init_version; then |
| 1608 | 1590 | cat <<\_ACEOF |
| 1609 | 1591 | configure |
| 1610 | | generated by GNU Autoconf 2.69 |
| | 1592 | generated by GNU Autoconf 2.68 |
| 1611 | 1593 | |
| 1612 | | Copyright (C) 2012 Free Software Foundation, Inc. |
| | 1594 | Copyright (C) 2010 Free Software Foundation, Inc. |
| 1613 | 1595 | This configure script is free software; the Free Software Foundation |
| 1614 | 1596 | gives unlimited permission to copy, distribute and modify it. |
| 1615 | 1597 | _ACEOF |
| … |
… |
|
| 1685 | 1667 | test ! -s conftest.err |
| 1686 | 1668 | } && test -s conftest$ac_exeext && { |
| 1687 | 1669 | test "$cross_compiling" = yes || |
| 1688 | | test -x conftest$ac_exeext |
| | 1670 | $as_test_x conftest$ac_exeext |
| 1689 | 1671 | }; then : |
| 1690 | 1672 | ac_retval=0 |
| 1691 | 1673 | else |
| … |
… |
|
| 2039 | 2021 | main () |
| 2040 | 2022 | { |
| 2041 | 2023 | static int test_array [1 - 2 * !(($2) >= 0)]; |
| 2042 | | test_array [0] = 0; |
| 2043 | | return test_array [0]; |
| | 2024 | test_array [0] = 0 |
| 2044 | 2025 | |
| 2045 | 2026 | ; |
| 2046 | 2027 | return 0; |
| … |
… |
|
| 2056 | 2037 | main () |
| 2057 | 2038 | { |
| 2058 | 2039 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2059 | | test_array [0] = 0; |
| 2060 | | return test_array [0]; |
| | 2040 | test_array [0] = 0 |
| 2061 | 2041 | |
| 2062 | 2042 | ; |
| 2063 | 2043 | return 0; |
| … |
… |
|
| 2083 | 2063 | main () |
| 2084 | 2064 | { |
| 2085 | 2065 | static int test_array [1 - 2 * !(($2) < 0)]; |
| 2086 | | test_array [0] = 0; |
| 2087 | | return test_array [0]; |
| | 2066 | test_array [0] = 0 |
| 2088 | 2067 | |
| 2089 | 2068 | ; |
| 2090 | 2069 | return 0; |
| … |
… |
|
| 2100 | 2079 | main () |
| 2101 | 2080 | { |
| 2102 | 2081 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2103 | | test_array [0] = 0; |
| 2104 | | return test_array [0]; |
| | 2082 | test_array [0] = 0 |
| 2105 | 2083 | |
| 2106 | 2084 | ; |
| 2107 | 2085 | return 0; |
| … |
… |
|
| 2135 | 2113 | main () |
| 2136 | 2114 | { |
| 2137 | 2115 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2138 | | test_array [0] = 0; |
| 2139 | | return test_array [0]; |
| | 2116 | test_array [0] = 0 |
| 2140 | 2117 | |
| 2141 | 2118 | ; |
| 2142 | 2119 | return 0; |
| … |
… |
|
| 2312 | 2289 | running configure, to aid debugging if configure makes a mistake. |
| 2313 | 2290 | |
| 2314 | 2291 | It was created by $as_me, which was |
| 2315 | | generated by GNU Autoconf 2.69. Invocation command line was |
| | 2292 | generated by GNU Autoconf 2.68. Invocation command line was |
| 2316 | 2293 | |
| 2317 | 2294 | $ $0 $@ |
| 2318 | 2295 | |
| … |
… |
|
| 2849 | 2826 | IFS=$as_save_IFS |
| 2850 | 2827 | test -z "$as_dir" && as_dir=. |
| 2851 | 2828 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2852 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 2829 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2853 | 2830 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2854 | 2831 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2855 | 2832 | break 2 |
| … |
… |
|
| 2889 | 2866 | IFS=$as_save_IFS |
| 2890 | 2867 | test -z "$as_dir" && as_dir=. |
| 2891 | 2868 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2892 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 2869 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2893 | 2870 | ac_cv_prog_ac_ct_CC="gcc" |
| 2894 | 2871 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2895 | 2872 | break 2 |
| … |
… |
|
| 2942 | 2919 | IFS=$as_save_IFS |
| 2943 | 2920 | test -z "$as_dir" && as_dir=. |
| 2944 | 2921 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2945 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 2922 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2946 | 2923 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2947 | 2924 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2948 | 2925 | break 2 |
| … |
… |
|
| 2983 | 2960 | IFS=$as_save_IFS |
| 2984 | 2961 | test -z "$as_dir" && as_dir=. |
| 2985 | 2962 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2986 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 2963 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2987 | 2964 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2988 | 2965 | ac_prog_rejected=yes |
| 2989 | 2966 | continue |
| … |
… |
|
| 3041 | 3018 | IFS=$as_save_IFS |
| 3042 | 3019 | test -z "$as_dir" && as_dir=. |
| 3043 | 3020 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3044 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3021 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3045 | 3022 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3046 | 3023 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3047 | 3024 | break 2 |
| … |
… |
|
| 3085 | 3062 | IFS=$as_save_IFS |
| 3086 | 3063 | test -z "$as_dir" && as_dir=. |
| 3087 | 3064 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3088 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3065 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3089 | 3066 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3090 | 3067 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3091 | 3068 | break 2 |
| … |
… |
|
| 3531 | 3508 | /* end confdefs.h. */ |
| 3532 | 3509 | #include <stdarg.h> |
| 3533 | 3510 | #include <stdio.h> |
| 3534 | | struct stat; |
| | 3511 | #include <sys/types.h> |
| | 3512 | #include <sys/stat.h> |
| 3535 | 3513 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3536 | 3514 | struct buf { int x; }; |
| 3537 | 3515 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| … |
… |
|
| 3710 | 3688 | IFS=$as_save_IFS |
| 3711 | 3689 | test -z "$as_dir" && as_dir=. |
| 3712 | 3690 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3713 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3691 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3714 | 3692 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3715 | 3693 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3716 | 3694 | break 2 |
| … |
… |
|
| 3750 | 3728 | IFS=$as_save_IFS |
| 3751 | 3729 | test -z "$as_dir" && as_dir=. |
| 3752 | 3730 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3753 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3731 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3754 | 3732 | ac_cv_prog_ac_ct_CC="gcc" |
| 3755 | 3733 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3756 | 3734 | break 2 |
| … |
… |
|
| 3803 | 3781 | IFS=$as_save_IFS |
| 3804 | 3782 | test -z "$as_dir" && as_dir=. |
| 3805 | 3783 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3806 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3784 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3807 | 3785 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3808 | 3786 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3809 | 3787 | break 2 |
| … |
… |
|
| 3844 | 3822 | IFS=$as_save_IFS |
| 3845 | 3823 | test -z "$as_dir" && as_dir=. |
| 3846 | 3824 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3847 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3825 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3848 | 3826 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3849 | 3827 | ac_prog_rejected=yes |
| 3850 | 3828 | continue |
| … |
… |
|
| 3902 | 3880 | IFS=$as_save_IFS |
| 3903 | 3881 | test -z "$as_dir" && as_dir=. |
| 3904 | 3882 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3905 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3883 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3906 | 3884 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3907 | 3885 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3908 | 3886 | break 2 |
| … |
… |
|
| 3946 | 3924 | IFS=$as_save_IFS |
| 3947 | 3925 | test -z "$as_dir" && as_dir=. |
| 3948 | 3926 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3949 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 3927 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3950 | 3928 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3951 | 3929 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3952 | 3930 | break 2 |
| … |
… |
|
| 4142 | 4120 | /* end confdefs.h. */ |
| 4143 | 4121 | #include <stdarg.h> |
| 4144 | 4122 | #include <stdio.h> |
| 4145 | | struct stat; |
| | 4123 | #include <sys/types.h> |
| | 4124 | #include <sys/stat.h> |
| 4146 | 4125 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4147 | 4126 | struct buf { int x; }; |
| 4148 | 4127 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| … |
… |
|
| 4228 | 4207 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4229 | 4208 | |
| 4230 | 4209 | if test "$GCC" = yes; then |
| 4231 | | RDYNAMIC="-rdynamic" |
| | 4210 | case "$host_os" in |
| | 4211 | haiku*) RDYNAMIC="-Wl,-export-dynamic" ;; |
| | 4212 | *) RDYNAMIC="-rdynamic" ;; |
| | 4213 | esac |
| 4232 | 4214 | |
| 4233 | 4215 | fi |
| 4234 | 4216 | ac_ext=c |
| … |
… |
|
| 4791 | 4773 | IFS=$as_save_IFS |
| 4792 | 4774 | test -z "$as_dir" && as_dir=. |
| 4793 | 4775 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4794 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 4776 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4795 | 4777 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 4796 | 4778 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4797 | 4779 | break 2 |
| … |
… |
|
| 4834 | 4816 | IFS=$as_save_IFS |
| 4835 | 4817 | test -z "$as_dir" && as_dir=. |
| 4836 | 4818 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4837 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 4819 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4838 | 4820 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 4839 | 4821 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4840 | 4822 | break 2 |
| … |
… |
|
| 4998 | 4980 | IFS=$as_save_IFS |
| 4999 | 4981 | test -z "$as_dir" && as_dir=. |
| 5000 | 4982 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5001 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 4983 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5002 | 4984 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5003 | 4985 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5004 | 4986 | break 2 |
| … |
… |
|
| 5041 | 5023 | IFS=$as_save_IFS |
| 5042 | 5024 | test -z "$as_dir" && as_dir=. |
| 5043 | 5025 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5044 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 5026 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5045 | 5027 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5046 | 5028 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5047 | 5029 | break 2 |
| … |
… |
|
| 5188 | 5170 | |
| 5189 | 5171 | |
| 5190 | 5172 | |
| | 5173 | QUOTA_CMT= |
| 5191 | 5174 | |
| 5192 | 5175 | |
| 5193 | 5176 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| … |
… |
|
| 5210 | 5193 | IFS=$as_save_IFS |
| 5211 | 5194 | test -z "$as_dir" && as_dir=. |
| 5212 | 5195 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5213 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 5196 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5214 | 5197 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5215 | 5198 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5216 | 5199 | break 2 |
| … |
… |
|
| 5253 | 5236 | IFS=$as_save_IFS |
| 5254 | 5237 | test -z "$as_dir" && as_dir=. |
| 5255 | 5238 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5256 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 5239 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5257 | 5240 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5258 | 5241 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5259 | 5242 | break 2 |
| … |
… |
|
| 5311 | 5294 | then |
| 5312 | 5295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling quota support" >&5 |
| 5313 | 5296 | $as_echo "Disabling quota support" >&6; } |
| | 5297 | QUOTA_CMT=# |
| 5314 | 5298 | else |
| 5315 | 5299 | $as_echo "#define CONFIG_QUOTA 1" >>confdefs.h |
| 5316 | 5300 | |
| 5317 | 5301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support" >&5 |
| 5318 | 5302 | $as_echo "Enabling quota support" >&6; } |
| | 5303 | LIBQUOTA='$(LIB)/libquota'$LIB_EXT |
| | 5304 | DEPLIBQUOTA=$LIBQUOTA |
| | 5305 | STATIC_LIBQUOTA='$(LIB)/libquota'$STATIC_LIB_EXT |
| | 5306 | DEPSTATIC_LIBQUOTA=$STATIC_LIBQUOTA |
| | 5307 | PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT |
| | 5308 | DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA |
| 5319 | 5309 | fi |
| 5320 | 5310 | |
| 5321 | 5311 | else |
| 5322 | | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling quota support by default" >&5 |
| 5323 | | $as_echo "Disabling quota support by default" >&6; } |
| 5324 | | |
| 5325 | | fi |
| | 5312 | $as_echo "#define CONFIG_QUOTA 1" >>confdefs.h |
| 5326 | 5313 | |
| | 5314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support by default" >&5 |
| | 5315 | $as_echo "Enabling quota support by default" >&6; } |
| 5327 | 5316 | LIBQUOTA='$(LIB)/libquota'$LIB_EXT |
| 5328 | 5317 | DEPLIBQUOTA=$LIBQUOTA |
| 5329 | 5318 | STATIC_LIBQUOTA='$(LIB)/libquota'$STATIC_LIB_EXT |
| … |
… |
|
| 5331 | 5320 | PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT |
| 5332 | 5321 | DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA |
| 5333 | 5322 | |
| | 5323 | fi |
| | 5324 | |
| | 5325 | |
| 5334 | 5326 | |
| 5335 | 5327 | |
| 5336 | 5328 | |
| … |
… |
|
| 5739 | 5731 | # by default. |
| 5740 | 5732 | for ac_prog in ginstall scoinst install; do |
| 5741 | 5733 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5742 | | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| | 5734 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 5743 | 5735 | if test $ac_prog = install && |
| 5744 | 5736 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 5745 | 5737 | # AIX install. It has an incompatible calling convention. |
| … |
… |
|
| 5912 | 5904 | IFS=$as_save_IFS |
| 5913 | 5905 | test -z "$as_dir" && as_dir=. |
| 5914 | 5906 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5915 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 5907 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5916 | 5908 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
| 5917 | 5909 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5918 | 5910 | break 2 |
| … |
… |
|
| 6120 | 6112 | IFS=$as_save_IFS |
| 6121 | 6113 | test -z "$as_dir" && as_dir=. |
| 6122 | 6114 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6123 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 6115 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6124 | 6116 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6125 | 6117 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6126 | 6118 | break 2 |
| … |
… |
|
| 6160 | 6152 | IFS=$as_save_IFS |
| 6161 | 6153 | test -z "$as_dir" && as_dir=. |
| 6162 | 6154 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6163 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 6155 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6164 | 6156 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6165 | 6157 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6166 | 6158 | break 2 |
| … |
… |
|
| 6255 | 6247 | for ac_prog in grep ggrep; do |
| 6256 | 6248 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6257 | 6249 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 6258 | | as_fn_executable_p "$ac_path_GREP" || continue |
| | 6250 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 6259 | 6251 | # Check for GNU ac_path_GREP and select it if it is found. |
| 6260 | 6252 | # Check for GNU $ac_path_GREP |
| 6261 | 6253 | case `"$ac_path_GREP" --version 2>&1` in |
| … |
… |
|
| 6321 | 6313 | for ac_prog in egrep; do |
| 6322 | 6314 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6323 | 6315 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 6324 | | as_fn_executable_p "$ac_path_EGREP" || continue |
| | 6316 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 6325 | 6317 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 6326 | 6318 | # Check for GNU $ac_path_EGREP |
| 6327 | 6319 | case `"$ac_path_EGREP" --version 2>&1` in |
| … |
… |
|
| 6492 | 6484 | int |
| 6493 | 6485 | main () |
| 6494 | 6486 | { |
| 6495 | | |
| | 6487 | /* FIXME: Include the comments suggested by Paul. */ |
| 6496 | 6488 | #ifndef __cplusplus |
| 6497 | | /* Ultrix mips cc rejects this sort of thing. */ |
| | 6489 | /* Ultrix mips cc rejects this. */ |
| 6498 | 6490 | typedef int charset[2]; |
| 6499 | | const charset cs = { 0, 0 }; |
| | 6491 | const charset cs; |
| 6500 | 6492 | /* SunOS 4.1.1 cc rejects this. */ |
| 6501 | 6493 | char const *const *pcpcc; |
| 6502 | 6494 | char **ppc; |
| … |
… |
|
| 6513 | 6505 | ++pcpcc; |
| 6514 | 6506 | ppc = (char**) pcpcc; |
| 6515 | 6507 | pcpcc = (char const *const *) ppc; |
| 6516 | | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
| 6517 | | char tx; |
| 6518 | | char *t = &tx; |
| | 6508 | { /* SCO 3.2v4 cc rejects this. */ |
| | 6509 | char *t; |
| 6519 | 6510 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 6520 | 6511 | |
| 6521 | 6512 | *t++ = 0; |
| … |
… |
|
| 6531 | 6522 | iptr p = 0; |
| 6532 | 6523 | ++p; |
| 6533 | 6524 | } |
| 6534 | | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
| | 6525 | { /* AIX XL C 1.02.0.0 rejects this saying |
| 6535 | 6526 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 6536 | | struct s { int j; const int *ap[3]; } bx; |
| 6537 | | struct s *b = &bx; b->j = 5; |
| | 6527 | struct s { int j; const int *ap[3]; }; |
| | 6528 | struct s *b; b->j = 5; |
| 6538 | 6529 | } |
| 6539 | 6530 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 6540 | 6531 | const int foo = 10; |
| … |
… |
|
| 7144 | 7135 | /* end confdefs.h. */ |
| 7145 | 7136 | $ac_includes_default |
| 7146 | 7137 | int |
| 7147 | | find_stack_direction (int *addr, int depth) |
| | 7138 | find_stack_direction () |
| 7148 | 7139 | { |
| 7149 | | int dir, dummy = 0; |
| 7150 | | if (! addr) |
| 7151 | | addr = &dummy; |
| 7152 | | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; |
| 7153 | | dir = depth ? find_stack_direction (addr, depth - 1) : 0; |
| 7154 | | return dir + dummy; |
| | 7140 | static char *addr = 0; |
| | 7141 | auto char dummy; |
| | 7142 | if (addr == 0) |
| | 7143 | { |
| | 7144 | addr = &dummy; |
| | 7145 | return find_stack_direction (); |
| | 7146 | } |
| | 7147 | else |
| | 7148 | return (&dummy > addr) ? 1 : -1; |
| 7155 | 7149 | } |
| 7156 | 7150 | |
| 7157 | 7151 | int |
| 7158 | | main (int argc, char **argv) |
| | 7152 | main () |
| 7159 | 7153 | { |
| 7160 | | return find_stack_direction (0, argc + !argv + 20) < 0; |
| | 7154 | return find_stack_direction () < 0; |
| 7161 | 7155 | } |
| 7162 | 7156 | _ACEOF |
| 7163 | 7157 | if ac_fn_c_try_run "$LINENO"; then : |
| … |
… |
|
| 8803 | 8797 | IFS=$as_save_IFS |
| 8804 | 8798 | test -z "$as_dir" && as_dir=. |
| 8805 | 8799 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8806 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 8800 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8807 | 8801 | ac_cv_prog_INTLBISON="$ac_prog" |
| 8808 | 8802 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8809 | 8803 | break 2 |
| … |
… |
|
| 9608 | 9602 | IFS=$as_save_IFS |
| 9609 | 9603 | test -z "$as_dir" && as_dir=. |
| 9610 | 9604 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9611 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9605 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9612 | 9606 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
| 9613 | 9607 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9614 | 9608 | break 2 |
| … |
… |
|
| 9660 | 9654 | IFS=$as_save_IFS |
| 9661 | 9655 | test -z "$as_dir" && as_dir=. |
| 9662 | 9656 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9663 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9657 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9664 | 9658 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
| 9665 | 9659 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9666 | 9660 | break 2 |
| … |
… |
|
| 9701 | 9695 | IFS=$as_save_IFS |
| 9702 | 9696 | test -z "$as_dir" && as_dir=. |
| 9703 | 9697 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9704 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9698 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9705 | 9699 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
| 9706 | 9700 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9707 | 9701 | break 2 |
| … |
… |
|
| 9742 | 9736 | IFS=$as_save_IFS |
| 9743 | 9737 | test -z "$as_dir" && as_dir=. |
| 9744 | 9738 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9745 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9739 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9746 | 9740 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
| 9747 | 9741 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9748 | 9742 | break 2 |
| … |
… |
|
| 9783 | 9777 | IFS=$as_save_IFS |
| 9784 | 9778 | test -z "$as_dir" && as_dir=. |
| 9785 | 9779 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9786 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9780 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9787 | 9781 | ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext" |
| 9788 | 9782 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9789 | 9783 | break 2 |
| … |
… |
|
| 9824 | 9818 | IFS=$as_save_IFS |
| 9825 | 9819 | test -z "$as_dir" && as_dir=. |
| 9826 | 9820 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9827 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9821 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9828 | 9822 | ac_cv_prog_AWK="$ac_prog" |
| 9829 | 9823 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9830 | 9824 | break 2 |
| … |
… |
|
| 9867 | 9861 | for ac_prog in egrep; do |
| 9868 | 9862 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9869 | 9863 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 9870 | | as_fn_executable_p "$ac_path_EGREP" || continue |
| | 9864 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 9871 | 9865 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 9872 | 9866 | # Check for GNU $ac_path_EGREP |
| 9873 | 9867 | case `"$ac_path_EGREP" --version 2>&1` in |
| … |
… |
|
| 9933 | 9927 | IFS=$as_save_IFS |
| 9934 | 9928 | test -z "$as_dir" && as_dir=. |
| 9935 | 9929 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9936 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9930 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9937 | 9931 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
| 9938 | 9932 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9939 | 9933 | break 2 |
| … |
… |
|
| 9974 | 9968 | IFS=$as_save_IFS |
| 9975 | 9969 | test -z "$as_dir" && as_dir=. |
| 9976 | 9970 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9977 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 9971 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9978 | 9972 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
| 9979 | 9973 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9980 | 9974 | break 2 |
| … |
… |
|
| 10015 | 10009 | IFS=$as_save_IFS |
| 10016 | 10010 | test -z "$as_dir" && as_dir=. |
| 10017 | 10011 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10018 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10012 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10019 | 10013 | ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 10020 | 10014 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10021 | 10015 | break 2 |
| … |
… |
|
| 10055 | 10049 | IFS=$as_save_IFS |
| 10056 | 10050 | test -z "$as_dir" && as_dir=. |
| 10057 | 10051 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10058 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10052 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10059 | 10053 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 10060 | 10054 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10061 | 10055 | break 2 |
| … |
… |
|
| 10095 | 10089 | IFS=$as_save_IFS |
| 10096 | 10090 | test -z "$as_dir" && as_dir=. |
| 10097 | 10091 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10098 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10092 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10099 | 10093 | ac_cv_prog_ac_ct_AR="ar" |
| 10100 | 10094 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10101 | 10095 | break 2 |
| … |
… |
|
| 10147 | 10141 | IFS=$as_save_IFS |
| 10148 | 10142 | test -z "$as_dir" && as_dir=. |
| 10149 | 10143 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10150 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10144 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10151 | 10145 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 10152 | 10146 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10153 | 10147 | break 2 |
| … |
… |
|
| 10187 | 10181 | IFS=$as_save_IFS |
| 10188 | 10182 | test -z "$as_dir" && as_dir=. |
| 10189 | 10183 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10190 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10184 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10191 | 10185 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 10192 | 10186 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10193 | 10187 | break 2 |
| … |
… |
|
| 10239 | 10233 | IFS=$as_save_IFS |
| 10240 | 10234 | test -z "$as_dir" && as_dir=. |
| 10241 | 10235 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10242 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10236 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10243 | 10237 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 10244 | 10238 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10245 | 10239 | break 2 |
| … |
… |
|
| 10279 | 10273 | IFS=$as_save_IFS |
| 10280 | 10274 | test -z "$as_dir" && as_dir=. |
| 10281 | 10275 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10282 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10276 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10283 | 10277 | ac_cv_prog_ac_ct_STRIP="strip" |
| 10284 | 10278 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10285 | 10279 | break 2 |
| … |
… |
|
| 10330 | 10324 | IFS=$as_save_IFS |
| 10331 | 10325 | test -z "$as_dir" && as_dir=. |
| 10332 | 10326 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10333 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10327 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10334 | 10328 | ac_cv_prog_MAKEINFO="makeinfo" |
| 10335 | 10329 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10336 | 10330 | break 2 |
| … |
… |
|
| 10390 | 10384 | IFS=$as_save_IFS |
| 10391 | 10385 | test -z "$as_dir" && as_dir=. |
| 10392 | 10386 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10393 | | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | 10387 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10394 | 10388 | ac_cv_prog_BUILD_CC="$ac_prog" |
| 10395 | 10389 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10396 | 10390 | break 2 |
| … |
… |
|
| 11051 | 11045 | fi |
| 11052 | 11046 | |
| 11053 | 11047 | fi |
| 11054 | | for ac_func in __secure_getenv backtrace blkid_probe_get_topology chflags fallocate fallocate64 fchown fdatasync fstat64 ftruncate64 getdtablesize getmntinfo getpwuid_r getrlimit getrusage jrand48 llseek lseek64 mallinfo mbstowcs memalign mmap msync nanosleep open64 pathconf posix_fadvise posix_memalign prctl setmntent setresgid setresuid srandom strcasecmp strdup strnlen strptime strtoull sync_file_range sysconf usleep utime valloc |
| | 11048 | for ac_func in __secure_getenv backtrace blkid_probe_get_topology chflags daemon fallocate fallocate64 fchown fdatasync fstat64 ftruncate64 getdtablesize getmntinfo getpwuid_r getrlimit getrusage jrand48 llseek lseek64 mallinfo mbstowcs memalign mmap msync nanosleep open64 pathconf posix_fadvise posix_memalign prctl setmntent setresgid setresuid srandom strcasecmp strdup strnlen strptime strtoull sync_file_range sysconf usleep utime valloc |
| 11055 | 11049 | do : |
| 11056 | 11050 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11057 | 11051 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| … |
… |
|
| 11102 | 11096 | $as_echo "$ac_cv_lib_socket_socket" >&6; } |
| 11103 | 11097 | if test "x$ac_cv_lib_socket_socket" = xyes; then : |
| 11104 | 11098 | SOCKET_LIB=-lsocket |
| | 11099 | else |
| | 11100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 |
| | 11101 | $as_echo_n "checking for socket in -lnetwork... " >&6; } |
| | 11102 | if ${ac_cv_lib_network_socket+:} false; then : |
| | 11103 | $as_echo_n "(cached) " >&6 |
| | 11104 | else |
| | 11105 | ac_check_lib_save_LIBS=$LIBS |
| | 11106 | LIBS="-lnetwork $LIBS" |
| | 11107 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| | 11108 | /* end confdefs.h. */ |
| | 11109 | |
| | 11110 | /* Override any GCC internal prototype to avoid an error. |
| | 11111 | Use char because int might match the return type of a GCC |
| | 11112 | builtin and then its argument prototype would still apply. */ |
| | 11113 | #ifdef __cplusplus |
| | 11114 | extern "C" |
| | 11115 | #endif |
| | 11116 | char socket (); |
| | 11117 | int |
| | 11118 | main () |
| | 11119 | { |
| | 11120 | return socket (); |
| | 11121 | ; |
| | 11122 | return 0; |
| | 11123 | } |
| | 11124 | _ACEOF |
| | 11125 | if ac_fn_c_try_link "$LINENO"; then : |
| | 11126 | ac_cv_lib_network_socket=yes |
| | 11127 | else |
| | 11128 | ac_cv_lib_network_socket=no |
| | 11129 | fi |
| | 11130 | rm -f core conftest.err conftest.$ac_objext \ |
| | 11131 | conftest$ac_exeext conftest.$ac_ext |
| | 11132 | LIBS=$ac_check_lib_save_LIBS |
| | 11133 | fi |
| | 11134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5 |
| | 11135 | $as_echo "$ac_cv_lib_network_socket" >&6; } |
| | 11136 | if test "x$ac_cv_lib_network_socket" = xyes; then : |
| | 11137 | SOCKET_LIB=-lnetwork |
| | 11138 | fi |
| | 11139 | |
| 11105 | 11140 | fi |
| 11106 | 11141 | |
| 11107 | 11142 | |
| … |
… |
|
| 11321 | 11356 | fi |
| 11322 | 11357 | fi |
| 11323 | 11358 | ;; |
| | 11359 | haiku*) |
| | 11360 | if test "$prefix" = NONE ; then |
| | 11361 | prefix="`finddir B_COMMON_DIRECTORY`"; |
| | 11362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to \`finddir B_COMMON_DIRECTORY\`" >&5 |
| | 11363 | $as_echo "On $host_os systems, prefix defaults to \`finddir B_COMMON_DIRECTORY\`" >&6; } |
| | 11364 | if test "$sbindir" = '${prefix}/sbin' ; then |
| | 11365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and sbindir defaults to \`finddir B_COMMON_DIRECTORY\`/bin" >&5 |
| | 11366 | $as_echo "...and sbindir defaults to \`finddir B_COMMON_DIRECTORY\`/bin" >&6; } |
| | 11367 | mandir="`finddir B_COMMON_DIRECTORY`/bin" |
| | 11368 | fi |
| | 11369 | fi |
| | 11370 | ;; |
| 11324 | 11371 | esac |
| 11325 | 11372 | if test "$root_prefix" = NONE ; then |
| 11326 | 11373 | if test "$prefix" = NONE ; then |
| … |
… |
|
| 11875 | 11922 | # ... but there are two gotchas: |
| 11876 | 11923 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 11877 | 11924 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 11878 | | # In both cases, we have to default to `cp -pR'. |
| | 11925 | # In both cases, we have to default to `cp -p'. |
| 11879 | 11926 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 11880 | | as_ln_s='cp -pR' |
| | 11927 | as_ln_s='cp -p' |
| 11881 | 11928 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 11882 | 11929 | as_ln_s=ln |
| 11883 | 11930 | else |
| 11884 | | as_ln_s='cp -pR' |
| | 11931 | as_ln_s='cp -p' |
| 11885 | 11932 | fi |
| 11886 | 11933 | else |
| 11887 | | as_ln_s='cp -pR' |
| | 11934 | as_ln_s='cp -p' |
| 11888 | 11935 | fi |
| 11889 | 11936 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 11890 | 11937 | rmdir conf$$.dir 2>/dev/null |
| … |
… |
|
| 11944 | 11991 | as_mkdir_p=false |
| 11945 | 11992 | fi |
| 11946 | 11993 | |
| 11947 | | |
| 11948 | | # as_fn_executable_p FILE |
| 11949 | | # ----------------------- |
| 11950 | | # Test if FILE is an executable regular file. |
| 11951 | | as_fn_executable_p () |
| 11952 | | { |
| 11953 | | test -f "$1" && test -x "$1" |
| 11954 | | } # as_fn_executable_p |
| 11955 | | as_test_x='test -x' |
| 11956 | | as_executable_p=as_fn_executable_p |
| | 11994 | if test -x / >/dev/null 2>&1; then |
| | 11995 | as_test_x='test -x' |
| | 11996 | else |
| | 11997 | if ls -dL / >/dev/null 2>&1; then |
| | 11998 | as_ls_L_option=L |
| | 11999 | else |
| | 12000 | as_ls_L_option= |
| | 12001 | fi |
| | 12002 | as_test_x=' |
| | 12003 | eval sh -c '\'' |
| | 12004 | if test -d "$1"; then |
| | 12005 | test -d "$1/."; |
| | 12006 | else |
| | 12007 | case $1 in #( |
| | 12008 | -*)set "./$1";; |
| | 12009 | esac; |
| | 12010 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| | 12011 | ???[sx]*):;;*)false;;esac;fi |
| | 12012 | '\'' sh |
| | 12013 | ' |
| | 12014 | fi |
| | 12015 | as_executable_p=$as_test_x |
| 11957 | 12016 | |
| 11958 | 12017 | # Sed expression to map a string onto a valid CPP name. |
| 11959 | 12018 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| … |
… |
|
| 11975 | 12034 | # values after options handling. |
| 11976 | 12035 | ac_log=" |
| 11977 | 12036 | This file was extended by $as_me, which was |
| 11978 | | generated by GNU Autoconf 2.69. Invocation command line was |
| | 12037 | generated by GNU Autoconf 2.68. Invocation command line was |
| 11979 | 12038 | |
| 11980 | 12039 | CONFIG_FILES = $CONFIG_FILES |
| 11981 | 12040 | CONFIG_HEADERS = $CONFIG_HEADERS |
| … |
… |
|
| 12041 | 12100 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 12042 | 12101 | ac_cs_version="\\ |
| 12043 | 12102 | config.status |
| 12044 | | configured by $0, generated by GNU Autoconf 2.69, |
| | 12103 | configured by $0, generated by GNU Autoconf 2.68, |
| 12045 | 12104 | with options \\"\$ac_cs_config\\" |
| 12046 | 12105 | |
| 12047 | | Copyright (C) 2012 Free Software Foundation, Inc. |
| | 12106 | Copyright (C) 2010 Free Software Foundation, Inc. |
| 12048 | 12107 | This config.status script is free software; the Free Software Foundation |
| 12049 | 12108 | gives unlimited permission to copy, distribute and modify it." |
| 12050 | 12109 | |
| … |
… |
|
| 12134 | 12193 | _ACEOF |
| 12135 | 12194 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 12136 | 12195 | if \$ac_cs_recheck; then |
| 12137 | | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| | 12196 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 12138 | 12197 | shift |
| 12139 | 12198 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 12140 | 12199 | CONFIG_SHELL='$SHELL' |
diff -Naur e2fsprogs-1.43/configure.in e2fsprogs-1.43-haiku/configure.in
|
old
|
new
|
|
| 96 | 96 | dnl |
| 97 | 97 | AC_PROG_CC |
| 98 | 98 | if test "$GCC" = yes; then |
| 99 | | RDYNAMIC="-rdynamic" |
| | 99 | case "$host_os" in |
| | 100 | haiku*) RDYNAMIC="-Wl,-export-dynamic" ;; |
| | 101 | *) RDYNAMIC="-rdynamic" ;; |
| | 102 | esac |
| 100 | 103 | AC_SUBST(RDYNAMIC) |
| 101 | 104 | fi |
| 102 | 105 | AC_PROG_CPP |
| … |
… |
|
| 565 | 568 | dnl |
| 566 | 569 | dnl handle --enable-quota |
| 567 | 570 | dnl |
| | 571 | QUOTA_CMT= |
| 568 | 572 | PKG_PROG_PKG_CONFIG |
| 569 | 573 | AH_TEMPLATE([CONFIG_QUOTA], [Define to 1 to enable quota support]) |
| 570 | 574 | AC_ARG_ENABLE([quota], |
| 571 | | [ --enable-libquota enable quota support], |
| | 575 | [ --disable-quota disable quota support], |
| 572 | 576 | if test "$enableval" = "no" |
| 573 | 577 | then |
| 574 | 578 | AC_MSG_RESULT([Disabling quota support]) |
| | 579 | QUOTA_CMT=# |
| 575 | 580 | else |
| 576 | 581 | AC_DEFINE(CONFIG_QUOTA, 1) |
| 577 | 582 | AC_MSG_RESULT([Enabling quota support]) |
| | 583 | LIBQUOTA='$(LIB)/libquota'$LIB_EXT |
| | 584 | DEPLIBQUOTA=$LIBQUOTA |
| | 585 | STATIC_LIBQUOTA='$(LIB)/libquota'$STATIC_LIB_EXT |
| | 586 | DEPSTATIC_LIBQUOTA=$STATIC_LIBQUOTA |
| | 587 | PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT |
| | 588 | DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA |
| 578 | 589 | fi |
| 579 | 590 | , |
| 580 | | AC_MSG_RESULT([Disabling quota support by default]) |
| 581 | | ) |
| | 591 | AC_DEFINE(CONFIG_QUOTA, 1) |
| | 592 | AC_MSG_RESULT([Enabling quota support by default]) |
| 582 | 593 | dnl |
| 583 | 594 | dnl Define stuff expected for quota library |
| 584 | 595 | dnl |
| … |
… |
|
| 588 | 599 | DEPSTATIC_LIBQUOTA=$STATIC_LIBQUOTA |
| 589 | 600 | PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT |
| 590 | 601 | DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA |
| | 602 | ) |
| 591 | 603 | AC_SUBST(LIBQUOTA) |
| 592 | 604 | AC_SUBST(DEPLIBQUOTA) |
| 593 | 605 | AC_SUBST(STATIC_LIBQUOTA) |
| … |
… |
|
| 1051 | 1063 | backtrace |
| 1052 | 1064 | blkid_probe_get_topology |
| 1053 | 1065 | chflags |
| | 1066 | daemon |
| 1054 | 1067 | fallocate |
| 1055 | 1068 | fallocate64 |
| 1056 | 1069 | fchown |
| … |
… |
|
| 1094 | 1107 | dnl |
| 1095 | 1108 | dnl Check to see if -lsocket is required (solaris) to make something |
| 1096 | 1109 | dnl that uses socket() to compile; this is needed for the UUID library |
| | 1110 | dnl Haiku needs -lnetwork to get socket(). |
| 1097 | 1111 | dnl |
| 1098 | 1112 | SOCKET_LIB='' |
| 1099 | | AC_CHECK_LIB(socket, socket, [SOCKET_LIB=-lsocket]) |
| | 1113 | AC_CHECK_LIB(socket, socket, [SOCKET_LIB=-lsocket],[AC_CHECK_LIB(network, socket, [SOCKET_LIB=-lnetwork])]) |
| 1100 | 1114 | AC_SUBST(SOCKET_LIB) |
| 1101 | 1115 | dnl |
| 1102 | 1116 | dnl See if optreset exists |
| … |
… |
|
| 1187 | 1201 | fi |
| 1188 | 1202 | fi |
| 1189 | 1203 | ;; |
| | 1204 | haiku*) |
| | 1205 | if test "$prefix" = NONE ; then |
| | 1206 | prefix="`finddir B_COMMON_DIRECTORY`"; |
| | 1207 | AC_MSG_RESULT([On $host_os systems, prefix defaults to `finddir B_COMMON_DIRECTORY`]) |
| | 1208 | if test "$sbindir" = '${prefix}/sbin' ; then |
| | 1209 | AC_MSG_RESULT([...and sbindir defaults to `finddir B_COMMON_DIRECTORY`/bin]) |
| | 1210 | mandir="`finddir B_COMMON_DIRECTORY`/bin" |
| | 1211 | fi |
| | 1212 | fi |
| | 1213 | ;; |
| 1190 | 1214 | esac |
| 1191 | 1215 | if test "$root_prefix" = NONE ; then |
| 1192 | 1216 | if test "$prefix" = NONE ; then |
diff -Naur e2fsprogs-1.43/contrib/spd_readdir.c e2fsprogs-1.43-haiku/contrib/spd_readdir.c
|
old
|
new
|
|
| 213 | 213 | dirstruct = alloc_dirstruct(dir); |
| 214 | 214 | if (!dirstruct) { |
| 215 | 215 | (*real_closedir)(dir); |
| 216 | | errno = -ENOMEM; |
| | 216 | errno = ENOMEM; |
| 217 | 217 | return NULL; |
| 218 | 218 | } |
| 219 | 219 | |
| … |
… |
|
| 246 | 246 | dirstruct = alloc_dirstruct(dir); |
| 247 | 247 | if (!dirstruct) { |
| 248 | 248 | (*real_closedir)(dir); |
| 249 | | errno = -ENOMEM; |
| | 249 | errno = ENOMEM; |
| 250 | 250 | return NULL; |
| 251 | 251 | } |
| 252 | 252 | |
diff -Naur e2fsprogs-1.43/e2fsck/e2fsck.h e2fsprogs-1.43-haiku/e2fsck/e2fsck.h
|
old
|
new
|
|
| 67 | 67 | #define E2FSCK_ATTR(x) |
| 68 | 68 | #endif |
| 69 | 69 | |
| | 70 | #ifdef CONFIG_QUOTA |
| 70 | 71 | #include "quota/mkquota.h" |
| | 72 | #endif |
| 71 | 73 | |
| 72 | 74 | /* |
| 73 | 75 | * Exit codes used by fsck-type programs |
| … |
… |
|
| 320 | 322 | /* |
| 321 | 323 | * Ext4 quota support |
| 322 | 324 | */ |
| | 325 | #ifdef CONFIG_QUOTA |
| 323 | 326 | quota_ctx_t qctx; |
| | 327 | #endif |
| 324 | 328 | #ifdef RESOURCE_TRACK |
| 325 | 329 | /* |
| 326 | 330 | * For timing purposes |
diff -Naur e2fsprogs-1.43/e2fsck/logfile.c e2fsprogs-1.43-haiku/e2fsck/logfile.c
|
old
|
new
|
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | if (pid == 0) { |
| | 230 | #ifdef HAVE_DAEMON |
| 230 | 231 | if (daemon(0, 0) < 0) { |
| 231 | 232 | perror("daemon"); |
| 232 | 233 | exit(1); |
| 233 | 234 | } |
| | 235 | #else |
| | 236 | #warning daemon() not present |
| | 237 | #endif |
| 234 | 238 | /* |
| 235 | 239 | * Grab the output from our parent |
| 236 | 240 | */ |
diff -Naur e2fsprogs-1.43/e2fsck/pass1.c e2fsprogs-1.43-haiku/e2fsck/pass1.c
|
old
|
new
|
|
| 2177 | 2177 | } |
| 2178 | 2178 | } |
| 2179 | 2179 | |
| | 2180 | #ifdef CONFIG_QUOTA |
| 2180 | 2181 | if (ino == EXT2_ROOT_INO || ino >= EXT2_FIRST_INODE(ctx->fs->super)) { |
| 2181 | 2182 | quota_data_add(ctx->qctx, inode, ino, |
| 2182 | 2183 | pb.num_blocks * fs->blocksize); |
| 2183 | 2184 | quota_data_inodes(ctx->qctx, inode, ino, +1); |
| 2184 | 2185 | } |
| | 2186 | #endif |
| 2185 | 2187 | |
| 2186 | 2188 | if (!(fs->super->s_feature_ro_compat & |
| 2187 | 2189 | EXT4_FEATURE_RO_COMPAT_HUGE_FILE) || |
diff -Naur e2fsprogs-1.43/e2fsck/pass1b.c e2fsprogs-1.43-haiku/e2fsck/pass1b.c
|
old
|
new
|
|
| 644 | 644 | if (ctx->inode_bad_map) |
| 645 | 645 | ext2fs_unmark_inode_bitmap2(ctx->inode_bad_map, ino); |
| 646 | 646 | ext2fs_inode_alloc_stats2(fs, ino, -1, LINUX_S_ISDIR(inode.i_mode)); |
| | 647 | #ifdef CONFIG_QUOTA |
| 647 | 648 | quota_data_sub(ctx->qctx, &inode, ino, pb.dup_blocks * fs->blocksize); |
| 648 | 649 | quota_data_inodes(ctx->qctx, &inode, ino, -1); |
| | 650 | #endif |
| 649 | 651 | |
| 650 | 652 | /* Inode may have changed by block_iterate, so reread it */ |
| 651 | 653 | e2fsck_read_inode(ctx, ino, &inode, "delete_file"); |
| … |
… |
|
| 677 | 679 | delete_file_block(fs, &blk, |
| 678 | 680 | BLOCK_COUNT_EXTATTR, 0, 0, &pb); |
| 679 | 681 | ext2fs_file_acl_block_set(fs, &inode, blk); |
| | 682 | #ifdef CONFIG_QUOTA |
| 680 | 683 | quota_data_sub(ctx->qctx, &inode, ino, fs->blocksize); |
| | 684 | #endif |
| 681 | 685 | } |
| 682 | 686 | } |
| 683 | 687 | } |
diff -Naur e2fsprogs-1.43/e2fsck/pass3.c e2fsprogs-1.43-haiku/e2fsck/pass3.c
|
old
|
new
|
|
| 491 | 491 | ext2fs_icount_store(ctx->inode_count, ino, 2); |
| 492 | 492 | ext2fs_icount_store(ctx->inode_link_info, ino, 2); |
| 493 | 493 | ctx->lost_and_found = ino; |
| | 494 | #ifdef CONFIG_QUOTA |
| 494 | 495 | quota_data_add(ctx->qctx, &inode, ino, fs->blocksize); |
| 495 | 496 | quota_data_inodes(ctx->qctx, &inode, ino, +1); |
| | 497 | #endif |
| 496 | 498 | #if 0 |
| 497 | 499 | printf("/lost+found created; inode #%lu\n", ino); |
| 498 | 500 | #endif |
| … |
… |
|
| 802 | 804 | |
| 803 | 805 | inode.i_size = (es.last_block + 1) * fs->blocksize; |
| 804 | 806 | ext2fs_iblk_add_blocks(fs, &inode, es.newblocks); |
| | 807 | #ifdef CONFIG_QUOTA |
| 805 | 808 | quota_data_add(ctx->qctx, &inode, dir, es.newblocks * fs->blocksize); |
| | 809 | #endif |
| 806 | 810 | |
| 807 | 811 | e2fsck_write_inode(ctx, dir, &inode, "expand_directory"); |
| 808 | 812 | |
diff -Naur e2fsprogs-1.43/e2fsck/pass4.c e2fsprogs-1.43-haiku/e2fsck/pass4.c
|
old
|
new
|
|
| 64 | 64 | e2fsck_read_bitmaps(ctx); |
| 65 | 65 | ext2fs_inode_alloc_stats2(fs, i, -1, |
| 66 | 66 | LINUX_S_ISDIR(inode->i_mode)); |
| | 67 | #ifdef CONFIG_QUOTA |
| 67 | 68 | quota_data_inodes(ctx->qctx, inode, i, -1); |
| | 69 | #endif |
| 68 | 70 | return 0; |
| 69 | 71 | } |
| 70 | 72 | } |
diff -Naur e2fsprogs-1.43/e2fsck/quota.c e2fsprogs-1.43-haiku/e2fsck/quota.c
|
old
|
new
|
|
| 21 | 21 | static void move_quota_inode(ext2_filsys fs, ext2_ino_t from_ino, |
| 22 | 22 | ext2_ino_t to_ino, int qtype) |
| 23 | 23 | { |
| | 24 | #ifdef CONFIG_QUOTA |
| 24 | 25 | struct ext2_inode inode; |
| 25 | 26 | char qf_name[QUOTA_NAME_LEN]; |
| 26 | 27 | |
| … |
… |
|
| 46 | 47 | /* Clear out the original inode in the inode-table block. */ |
| 47 | 48 | memset(&inode, 0, sizeof(struct ext2_inode)); |
| 48 | 49 | ext2fs_write_inode(fs, from_ino, &inode); |
| | 50 | #endif |
| 49 | 51 | } |
| 50 | 52 | |
| 51 | 53 | void e2fsck_hide_quota(e2fsck_t ctx) |
| 52 | 54 | { |
| | 55 | #ifdef CONFIG_QUOTA |
| 53 | 56 | struct ext2_super_block *sb = ctx->fs->super; |
| 54 | 57 | struct problem_context pctx; |
| 55 | 58 | ext2_filsys fs = ctx->fs; |
| … |
… |
|
| 79 | 82 | } |
| 80 | 83 | |
| 81 | 84 | return; |
| | 85 | #endif |
| 82 | 86 | } |
diff -Naur e2fsprogs-1.43/e2fsck/unix.c e2fsprogs-1.43-haiku/e2fsck/unix.c
|
old
|
new
|
|
| 1618 | 1618 | journal_size = -1; |
| 1619 | 1619 | |
| 1620 | 1620 | if (sb->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_QUOTA) { |
| | 1621 | #ifdef CONFIG_QUOTA |
| 1621 | 1622 | /* Quotas were enabled. Do quota accounting during fsck. */ |
| 1622 | 1623 | if ((sb->s_usr_quota_inum && sb->s_grp_quota_inum) || |
| 1623 | 1624 | (!sb->s_usr_quota_inum && !sb->s_grp_quota_inum)) |
| … |
… |
|
| 1626 | 1627 | qtype = sb->s_usr_quota_inum ? USRQUOTA : GRPQUOTA; |
| 1627 | 1628 | |
| 1628 | 1629 | quota_init_context(&ctx->qctx, ctx->fs, qtype); |
| | 1630 | #else |
| | 1631 | log_err(ctx, _("%s: e2fsck not compiled with QUOTA support,\n\t" |
| | 1632 | "but filesystem %s has QUOTA enabled.\n"), |
| | 1633 | ctx->program_name, ctx->device_name); |
| | 1634 | #endif |
| 1629 | 1635 | } |
| 1630 | 1636 | |
| 1631 | 1637 | run_result = e2fsck_run(ctx); |
| … |
… |
|
| 1660 | 1666 | } |
| 1661 | 1667 | no_journal: |
| 1662 | 1668 | |
| | 1669 | #ifdef CONFIG_QUOTA |
| 1663 | 1670 | if (ctx->qctx) { |
| 1664 | 1671 | int i, needs_writeout; |
| 1665 | 1672 | for (i = 0; i < MAXQUOTAS; i++) { |
| … |
… |
|
| 1675 | 1682 | } |
| 1676 | 1683 | quota_release_context(&ctx->qctx); |
| 1677 | 1684 | } |
| | 1685 | #endif |
| 1678 | 1686 | |
| 1679 | 1687 | if (run_result == E2F_FLAG_RESTART) { |
| 1680 | 1688 | log_out(ctx, _("Restarting e2fsck from the beginning...\n")); |
diff -Naur e2fsprogs-1.43/lib/blkid/devname.c e2fsprogs-1.43-haiku/lib/blkid/devname.c
|
old
|
new
|
|
| 40 | 40 | |
| 41 | 41 | #include "blkidP.h" |
| 42 | 42 | |
| | 43 | #ifndef makedev |
| | 44 | #define makedev(major,minor) (-1) |
| | 45 | #endif |
| | 46 | |
| 43 | 47 | /* |
| 44 | 48 | * Find a dev struct in the cache by device name, if available. |
| 45 | 49 | * |
diff -Naur e2fsprogs-1.43/lib/ext2fs/bmap64.h e2fsprogs-1.43-haiku/lib/ext2fs/bmap64.h
|
old
|
new
|
|
| 9 | 9 | * %End-Header% |
| 10 | 10 | */ |
| 11 | 11 | |
| | 12 | #include <sys/time.h> |
| | 13 | |
| 12 | 14 | struct ext2_bmap_statistics { |
| 13 | 15 | int type; |
| 14 | 16 | struct timeval created; |
diff -Naur e2fsprogs-1.43/lib/ext2fs/csum.c e2fsprogs-1.43-haiku/lib/ext2fs/csum.c
|
old
|
new
|
|
| 724 | 724 | __u16 crc = 0; |
| 725 | 725 | struct ext2_group_desc *desc; |
| 726 | 726 | size_t size; |
| | 727 | size_t offset; |
| 727 | 728 | |
| 728 | 729 | size = fs->super->s_desc_size; |
| 729 | 730 | if (size < EXT2_MIN_DESC_SIZE) |
| … |
… |
|
| 766 | 767 | } |
| 767 | 768 | |
| 768 | 769 | /* old crc16 code */ |
| 769 | | size_t offset = offsetof(struct ext2_group_desc, bg_checksum); |
| | 770 | offset = offsetof(struct ext2_group_desc, bg_checksum); |
| 770 | 771 | crc = ext2fs_crc16(~0, fs->super->s_uuid, |
| 771 | 772 | sizeof(fs->super->s_uuid)); |
| 772 | 773 | crc = ext2fs_crc16(crc, &group, sizeof(group)); |
diff -Naur e2fsprogs-1.43/lib/ext2fs/dblist.c e2fsprogs-1.43-haiku/lib/ext2fs/dblist.c
|
old
|
new
|
|
| 365 | 365 | errcode_t ext2fs_dblist_get_last(ext2_dblist dblist, |
| 366 | 366 | struct ext2_db_entry **entry) |
| 367 | 367 | { |
| 368 | | EXT2_CHECK_MAGIC(dblist, EXT2_ET_MAGIC_DBLIST); |
| 369 | 368 | static struct ext2_db_entry ret_entry; |
| 370 | 369 | struct ext2_db_entry2 *last; |
| | 370 | EXT2_CHECK_MAGIC(dblist, EXT2_ET_MAGIC_DBLIST); |
| 371 | 371 | |
| 372 | 372 | if (dblist->count == 0) |
| 373 | 373 | return EXT2_ET_DBLIST_EMPTY; |
diff -Naur e2fsprogs-1.43/lib/ext2fs/unix_io.c e2fsprogs-1.43-haiku/lib/ext2fs/unix_io.c
|
old
|
new
|
|
| 24 | 24 | #include "config.h" |
| 25 | 25 | #include <stdio.h> |
| 26 | 26 | #include <string.h> |
| | 27 | #if HAVE_STDINT_H |
| | 28 | #include <stdint.h> |
| | 29 | #endif |
| 27 | 30 | #if HAVE_UNISTD_H |
| 28 | 31 | #include <unistd.h> |
| 29 | 32 | #endif |
| … |
… |
|
| 914 | 917 | unsigned long long count) |
| 915 | 918 | { |
| 916 | 919 | struct unix_private_data *data; |
| 917 | | __uint64_t range[2]; |
| | 920 | uint64_t range[2]; |
| 918 | 921 | int ret; |
| 919 | 922 | |
| 920 | 923 | EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); |
diff -Naur e2fsprogs-1.43/lib/quota/quotaio_tree.h e2fsprogs-1.43-haiku/lib/quota/quotaio_tree.h
|
old
|
new
|
|
| 6 | 6 | #define _LINUX_QUOTA_TREE_H |
| 7 | 7 | |
| 8 | 8 | #include <sys/types.h> |
| | 9 | #include <stdint.h> |
| 9 | 10 | |
| 10 | 11 | typedef u_int32_t qid_t; /* Type in which we store ids in memory */ |
| 11 | 12 | |
diff -Naur e2fsprogs-1.43/misc/mke2fs.c e2fsprogs-1.43-haiku/misc/mke2fs.c
|
old
|
new
|
|
| 2282 | 2282 | ext2fs_free_blocks_count_set(fs->super, EXT2FS_C2B(fs, tot_free)); |
| 2283 | 2283 | } |
| 2284 | 2284 | |
| | 2285 | #ifdef CONFIG_QUOTA |
| 2285 | 2286 | static int create_quota_inodes(ext2_filsys fs) |
| 2286 | 2287 | { |
| 2287 | 2288 | quota_ctx_t qctx; |
| … |
… |
|
| 2293 | 2294 | |
| 2294 | 2295 | return 0; |
| 2295 | 2296 | } |
| | 2297 | #endif |
| 2296 | 2298 | |
| 2297 | 2299 | int main (int argc, char *argv[]) |
| 2298 | 2300 | { |
| … |
… |
|
| 2677 | 2679 | if (EXT2_HAS_RO_COMPAT_FEATURE(&fs_param, |
| 2678 | 2680 | EXT4_FEATURE_RO_COMPAT_BIGALLOC)) |
| 2679 | 2681 | fix_cluster_bg_counts(fs); |
| | 2682 | #ifdef CONFIG_QUOTA |
| 2680 | 2683 | if (EXT2_HAS_RO_COMPAT_FEATURE(&fs_param, |
| 2681 | 2684 | EXT4_FEATURE_RO_COMPAT_QUOTA)) |
| 2682 | 2685 | create_quota_inodes(fs); |
| | 2686 | #endif |
| 2683 | 2687 | |
| 2684 | 2688 | if (!quiet) |
| 2685 | 2689 | printf(_("Writing superblocks and " |
File e2fsprogs-1.43/misc/partinfo.c is a weird file while file e2fsprogs-1.43-haiku/misc/partinfo.c is a regular file
diff -Naur e2fsprogs-1.43/misc/tune2fs.c e2fsprogs-1.43-haiku/misc/tune2fs.c
|
old
|
new
|
|
| 56 | 56 | #include "jfs_user.h" |
| 57 | 57 | #include "util.h" |
| 58 | 58 | #include "blkid/blkid.h" |
| | 59 | #ifdef CONFIG_QUOTA |
| 59 | 60 | #include "quota/mkquota.h" |
| | 61 | #endif |
| 60 | 62 | |
| 61 | 63 | #include "../version.h" |
| 62 | 64 | #include "nls-enable.h" |
| … |
… |
|
| 145 | 147 | EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE| |
| 146 | 148 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM | |
| 147 | 149 | EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER | |
| | 150 | #ifdef CONFIG_QUOTA |
| 148 | 151 | EXT4_FEATURE_RO_COMPAT_QUOTA | |
| | 152 | #endif |
| 149 | 153 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM |
| 150 | 154 | }; |
| 151 | 155 | |
| … |
… |
|
| 164 | 168 | EXT4_FEATURE_RO_COMPAT_DIR_NLINK| |
| 165 | 169 | EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE| |
| 166 | 170 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM | |
| | 171 | #ifdef CONFIG_QUOTA |
| 167 | 172 | EXT4_FEATURE_RO_COMPAT_QUOTA | |
| | 173 | #endif |
| 168 | 174 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM |
| 169 | 175 | }; |
| 170 | 176 | |
| … |
… |
|
| 473 | 479 | dcl->limit = ext2fs_cpu_to_le16(max_entries); |
| 474 | 480 | } |
| 475 | 481 | } else { |
| | 482 | int max_entries; |
| 476 | 483 | /* If htree block is full then rebuild the dir */ |
| 477 | 484 | if (ext2fs_le16_to_cpu(dcl->count) == |
| 478 | 485 | ext2fs_le16_to_cpu(dcl->limit)) { |
| … |
… |
|
| 483 | 490 | * Ensure dcl->limit is small enough to leave room for |
| 484 | 491 | * the checksum tail. |
| 485 | 492 | */ |
| 486 | | int max_entries = (fs->blocksize - (dcl_offset + |
| | 493 | max_entries = (fs->blocksize - (dcl_offset + |
| 487 | 494 | sizeof(struct ext2_dx_tail))) / |
| 488 | 495 | sizeof(struct ext2_dx_entry); |
| 489 | 496 | if (ext2fs_le16_to_cpu(dcl->limit) != max_entries) |
| … |
… |
|
| 1124 | 1131 | return 1; |
| 1125 | 1132 | } |
| 1126 | 1133 | |
| | 1134 | #ifdef CONFIG_QUOTA |
| 1127 | 1135 | void handle_quota_options(ext2_filsys fs) |
| 1128 | 1136 | { |
| 1129 | 1137 | quota_ctx_t qctx; |
| … |
… |
|
| 1169 | 1177 | |
| 1170 | 1178 | return; |
| 1171 | 1179 | } |
| | 1180 | #endif |
| 1172 | 1181 | |
| 1173 | 1182 | void parse_quota_opts(const char *opts) |
| 1174 | 1183 | { |
| … |
… |
|
| 2540 | 2549 | rc = 1; |
| 2541 | 2550 | goto closefs; |
| 2542 | 2551 | } |
| | 2552 | #ifdef CONFIG_QUOTA |
| 2543 | 2553 | handle_quota_options(fs); |
| | 2554 | #else |
| | 2555 | fputs(_("The quota feature is disabled.\n"), stderr); |
| | 2556 | rc = 1; |
| | 2557 | goto closefs; |
| | 2558 | #endif |
| 2544 | 2559 | } |
| 2545 | 2560 | |
| 2546 | 2561 | if (U_flag) { |