1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.67. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
7 | # |
10 | # |
8 | # |
11 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## |
11 | ## -------------------- ## |
… | |
… | |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) |
86 | # splitting by setting IFS to empty value.) |
89 | IFS=" "" $as_nl" |
87 | IFS=" "" $as_nl" |
90 | |
88 | |
91 | # Find who we are. Look in the path if we contain no directory separator. |
89 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
90 | as_myself= |
92 | case $0 in #(( |
91 | case $0 in #(( |
93 | *[\\/]* ) as_myself=$0 ;; |
92 | *[\\/]* ) as_myself=$0 ;; |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 | for as_dir in $PATH |
94 | for as_dir in $PATH |
96 | do |
95 | do |
… | |
… | |
131 | export LANGUAGE |
130 | export LANGUAGE |
132 | |
131 | |
133 | # CDPATH. |
132 | # CDPATH. |
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 | |
134 | |
|
|
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;} |
136 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
138 | emulate sh |
162 | emulate sh |
139 | NULLCMD=: |
163 | NULLCMD=: |
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
… | |
… | |
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
165 | |
189 | |
166 | else |
190 | else |
167 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
168 | fi |
192 | fi |
169 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
174 | test \$(( 1 + 1 )) = 2 || exit 1" |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
… | |
… | |
209 | fi; } |
234 | fi; } |
210 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
211 | |
236 | |
212 | |
237 | |
213 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
214 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
215 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
216 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
|
|
243 | # Preserve -v and -x to the replacement shell. |
217 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
218 | ENV=/dev/null |
245 | ENV=/dev/null |
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
220 | export CONFIG_SHELL |
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 |
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
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 |
222 | fi |
258 | fi |
223 | |
259 | |
224 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
225 | $as_echo "$0: This script requires a shell more modern than all" |
261 | $as_echo "$0: This script requires a shell more modern than all" |
226 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | |
356 | |
321 | |
357 | |
322 | } # as_fn_mkdir_p |
358 | } # 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 |
323 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
324 | # ---------------------- |
368 | # ---------------------- |
325 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
326 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
327 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
439 | s/-\n.*// |
483 | s/-\n.*// |
440 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
441 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
443 | |
487 | |
|
|
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 |
444 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
445 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
446 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
447 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
448 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
473 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
474 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
475 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
478 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
480 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
481 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s=ln |
530 | as_ln_s=ln |
483 | else |
531 | else |
484 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
485 | fi |
533 | fi |
486 | else |
534 | else |
487 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
488 | fi |
536 | fi |
489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
490 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
491 | |
539 | |
492 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
494 | else |
542 | else |
495 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
496 | as_mkdir_p=false |
544 | as_mkdir_p=false |
497 | fi |
545 | fi |
498 | |
546 | |
499 | if test -x / >/dev/null 2>&1; then |
|
|
500 | as_test_x='test -x' |
547 | as_test_x='test -x' |
501 | else |
548 | as_executable_p=as_fn_executable_p |
502 | if ls -dL / >/dev/null 2>&1; then |
|
|
503 | as_ls_L_option=L |
|
|
504 | else |
|
|
505 | as_ls_L_option= |
|
|
506 | fi |
|
|
507 | as_test_x=' |
|
|
508 | eval sh -c '\'' |
|
|
509 | if test -d "$1"; then |
|
|
510 | test -d "$1/."; |
|
|
511 | else |
|
|
512 | case $1 in #( |
|
|
513 | -*)set "./$1";; |
|
|
514 | esac; |
|
|
515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
516 | ???[sx]*):;;*)false;;esac;fi |
|
|
517 | '\'' sh |
|
|
518 | ' |
|
|
519 | fi |
|
|
520 | as_executable_p=$as_test_x |
|
|
521 | |
549 | |
522 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
523 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
524 | |
552 | |
525 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
620 | htmldir |
648 | htmldir |
621 | infodir |
649 | infodir |
622 | docdir |
650 | docdir |
623 | oldincludedir |
651 | oldincludedir |
624 | includedir |
652 | includedir |
|
|
653 | runstatedir |
625 | localstatedir |
654 | localstatedir |
626 | sharedstatedir |
655 | sharedstatedir |
627 | sysconfdir |
656 | sysconfdir |
628 | datadir |
657 | datadir |
629 | datarootdir |
658 | datarootdir |
… | |
… | |
690 | datarootdir='${prefix}/share' |
719 | datarootdir='${prefix}/share' |
691 | datadir='${datarootdir}' |
720 | datadir='${datarootdir}' |
692 | sysconfdir='${prefix}/etc' |
721 | sysconfdir='${prefix}/etc' |
693 | sharedstatedir='${prefix}/com' |
722 | sharedstatedir='${prefix}/com' |
694 | localstatedir='${prefix}/var' |
723 | localstatedir='${prefix}/var' |
|
|
724 | runstatedir='${localstatedir}/run' |
695 | includedir='${prefix}/include' |
725 | includedir='${prefix}/include' |
696 | oldincludedir='/usr/include' |
726 | oldincludedir='/usr/include' |
697 | docdir='${datarootdir}/doc/${PACKAGE}' |
727 | docdir='${datarootdir}/doc/${PACKAGE}' |
698 | infodir='${datarootdir}/info' |
728 | infodir='${datarootdir}/info' |
699 | htmldir='${docdir}' |
729 | htmldir='${docdir}' |
… | |
… | |
942 | |
972 | |
943 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
973 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
944 | | -silent | --silent | --silen | --sile | --sil) |
974 | | -silent | --silent | --silen | --sile | --sil) |
945 | silent=yes ;; |
975 | silent=yes ;; |
946 | |
976 | |
|
|
977 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
978 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
979 | | --run | --ru | --r) |
|
|
980 | ac_prev=runstatedir ;; |
|
|
981 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
982 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
983 | | --run=* | --ru=* | --r=*) |
|
|
984 | runstatedir=$ac_optarg ;; |
|
|
985 | |
947 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
986 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
948 | ac_prev=sbindir ;; |
987 | ac_prev=sbindir ;; |
949 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
988 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
950 | | --sbi=* | --sb=*) |
989 | | --sbi=* | --sb=*) |
951 | sbindir=$ac_optarg ;; |
990 | sbindir=$ac_optarg ;; |
… | |
… | |
1056 | *) |
1095 | *) |
1057 | # FIXME: should be removed in autoconf 3.0. |
1096 | # FIXME: should be removed in autoconf 3.0. |
1058 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1097 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1059 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1098 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1060 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1099 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1061 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1100 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1062 | ;; |
1101 | ;; |
1063 | |
1102 | |
1064 | esac |
1103 | esac |
1065 | done |
1104 | done |
1066 | |
1105 | |
… | |
… | |
1079 | |
1118 | |
1080 | # Check all directory arguments for consistency. |
1119 | # Check all directory arguments for consistency. |
1081 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1120 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1082 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1121 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1083 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1122 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1084 | libdir localedir mandir |
1123 | libdir localedir mandir runstatedir |
1085 | do |
1124 | do |
1086 | eval ac_val=\$$ac_var |
1125 | eval ac_val=\$$ac_var |
1087 | # Remove trailing slashes. |
1126 | # Remove trailing slashes. |
1088 | case $ac_val in |
1127 | case $ac_val in |
1089 | */ ) |
1128 | */ ) |
… | |
… | |
1107 | |
1146 | |
1108 | # FIXME: To remove some day. |
1147 | # FIXME: To remove some day. |
1109 | if test "x$host_alias" != x; then |
1148 | if test "x$host_alias" != x; then |
1110 | if test "x$build_alias" = x; then |
1149 | if test "x$build_alias" = x; then |
1111 | cross_compiling=maybe |
1150 | cross_compiling=maybe |
1112 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1113 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1114 | elif test "x$build_alias" != "x$host_alias"; then |
1151 | elif test "x$build_alias" != "x$host_alias"; then |
1115 | cross_compiling=yes |
1152 | cross_compiling=yes |
1116 | fi |
1153 | fi |
1117 | fi |
1154 | fi |
1118 | |
1155 | |
… | |
… | |
1234 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1271 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1235 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1272 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1236 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1273 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1237 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1274 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1238 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1275 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1276 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1239 | --libdir=DIR object code libraries [EPREFIX/lib] |
1277 | --libdir=DIR object code libraries [EPREFIX/lib] |
1240 | --includedir=DIR C header files [PREFIX/include] |
1278 | --includedir=DIR C header files [PREFIX/include] |
1241 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1279 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1242 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1280 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1243 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1281 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
1334 | |
1372 | |
1335 | test -n "$ac_init_help" && exit $ac_status |
1373 | test -n "$ac_init_help" && exit $ac_status |
1336 | if $ac_init_version; then |
1374 | if $ac_init_version; then |
1337 | cat <<\_ACEOF |
1375 | cat <<\_ACEOF |
1338 | configure |
1376 | configure |
1339 | generated by GNU Autoconf 2.67 |
1377 | generated by GNU Autoconf 2.69 |
1340 | |
1378 | |
1341 | Copyright (C) 2010 Free Software Foundation, Inc. |
1379 | Copyright (C) 2012 Free Software Foundation, Inc. |
1342 | This configure script is free software; the Free Software Foundation |
1380 | This configure script is free software; the Free Software Foundation |
1343 | gives unlimited permission to copy, distribute and modify it. |
1381 | gives unlimited permission to copy, distribute and modify it. |
1344 | _ACEOF |
1382 | _ACEOF |
1345 | exit |
1383 | exit |
1346 | fi |
1384 | fi |
… | |
… | |
1380 | $as_echo "$as_me: failed program was:" >&5 |
1418 | $as_echo "$as_me: failed program was:" >&5 |
1381 | sed 's/^/| /' conftest.$ac_ext >&5 |
1419 | sed 's/^/| /' conftest.$ac_ext >&5 |
1382 | |
1420 | |
1383 | ac_retval=1 |
1421 | ac_retval=1 |
1384 | fi |
1422 | fi |
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1423 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1386 | as_fn_set_status $ac_retval |
1424 | as_fn_set_status $ac_retval |
1387 | |
1425 | |
1388 | } # ac_fn_c_try_compile |
1426 | } # ac_fn_c_try_compile |
1389 | |
1427 | |
1390 | # ac_fn_c_try_cpp LINENO |
1428 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1417 | $as_echo "$as_me: failed program was:" >&5 |
1455 | $as_echo "$as_me: failed program was:" >&5 |
1418 | sed 's/^/| /' conftest.$ac_ext >&5 |
1456 | sed 's/^/| /' conftest.$ac_ext >&5 |
1419 | |
1457 | |
1420 | ac_retval=1 |
1458 | ac_retval=1 |
1421 | fi |
1459 | fi |
1422 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1460 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1423 | as_fn_set_status $ac_retval |
1461 | as_fn_set_status $ac_retval |
1424 | |
1462 | |
1425 | } # ac_fn_c_try_cpp |
1463 | } # ac_fn_c_try_cpp |
1426 | |
1464 | |
1427 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1465 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1430 | # the include files in INCLUDES and setting the cache variable VAR |
1468 | # the include files in INCLUDES and setting the cache variable VAR |
1431 | # accordingly. |
1469 | # accordingly. |
1432 | ac_fn_c_check_header_mongrel () |
1470 | ac_fn_c_check_header_mongrel () |
1433 | { |
1471 | { |
1434 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1472 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1435 | if eval "test \"\${$3+set}\"" = set; then : |
1473 | if eval \${$3+:} false; then : |
1436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1437 | $as_echo_n "checking for $2... " >&6; } |
1475 | $as_echo_n "checking for $2... " >&6; } |
1438 | if eval "test \"\${$3+set}\"" = set; then : |
1476 | if eval \${$3+:} false; then : |
1439 | $as_echo_n "(cached) " >&6 |
1477 | $as_echo_n "(cached) " >&6 |
1440 | fi |
1478 | fi |
1441 | eval ac_res=\$$3 |
1479 | eval ac_res=\$$3 |
1442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1443 | $as_echo "$ac_res" >&6; } |
1481 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1496 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1534 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1497 | ;; |
1535 | ;; |
1498 | esac |
1536 | esac |
1499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1500 | $as_echo_n "checking for $2... " >&6; } |
1538 | $as_echo_n "checking for $2... " >&6; } |
1501 | if eval "test \"\${$3+set}\"" = set; then : |
1539 | if eval \${$3+:} false; then : |
1502 | $as_echo_n "(cached) " >&6 |
1540 | $as_echo_n "(cached) " >&6 |
1503 | else |
1541 | else |
1504 | eval "$3=\$ac_header_compiler" |
1542 | eval "$3=\$ac_header_compiler" |
1505 | fi |
1543 | fi |
1506 | eval ac_res=\$$3 |
1544 | eval ac_res=\$$3 |
1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1508 | $as_echo "$ac_res" >&6; } |
1546 | $as_echo "$ac_res" >&6; } |
1509 | fi |
1547 | fi |
1510 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1548 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1511 | |
1549 | |
1512 | } # ac_fn_c_check_header_mongrel |
1550 | } # ac_fn_c_check_header_mongrel |
1513 | |
1551 | |
1514 | # ac_fn_c_try_run LINENO |
1552 | # ac_fn_c_try_run LINENO |
1515 | # ---------------------- |
1553 | # ---------------------- |
… | |
… | |
1546 | sed 's/^/| /' conftest.$ac_ext >&5 |
1584 | sed 's/^/| /' conftest.$ac_ext >&5 |
1547 | |
1585 | |
1548 | ac_retval=$ac_status |
1586 | ac_retval=$ac_status |
1549 | fi |
1587 | fi |
1550 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1588 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1551 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1589 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1552 | as_fn_set_status $ac_retval |
1590 | as_fn_set_status $ac_retval |
1553 | |
1591 | |
1554 | } # ac_fn_c_try_run |
1592 | } # ac_fn_c_try_run |
1555 | |
1593 | |
1556 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1594 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1560 | ac_fn_c_check_header_compile () |
1598 | ac_fn_c_check_header_compile () |
1561 | { |
1599 | { |
1562 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1600 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1564 | $as_echo_n "checking for $2... " >&6; } |
1602 | $as_echo_n "checking for $2... " >&6; } |
1565 | if eval "test \"\${$3+set}\"" = set; then : |
1603 | if eval \${$3+:} false; then : |
1566 | $as_echo_n "(cached) " >&6 |
1604 | $as_echo_n "(cached) " >&6 |
1567 | else |
1605 | else |
1568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1569 | /* end confdefs.h. */ |
1607 | /* end confdefs.h. */ |
1570 | $4 |
1608 | $4 |
… | |
… | |
1578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1579 | fi |
1617 | fi |
1580 | eval ac_res=\$$3 |
1618 | eval ac_res=\$$3 |
1581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1582 | $as_echo "$ac_res" >&6; } |
1620 | $as_echo "$ac_res" >&6; } |
1583 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1621 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1584 | |
1622 | |
1585 | } # ac_fn_c_check_header_compile |
1623 | } # ac_fn_c_check_header_compile |
1586 | |
1624 | |
1587 | # ac_fn_c_try_link LINENO |
1625 | # ac_fn_c_try_link LINENO |
1588 | # ----------------------- |
1626 | # ----------------------- |
… | |
… | |
1609 | test $ac_status = 0; } && { |
1647 | test $ac_status = 0; } && { |
1610 | test -z "$ac_c_werror_flag" || |
1648 | test -z "$ac_c_werror_flag" || |
1611 | test ! -s conftest.err |
1649 | test ! -s conftest.err |
1612 | } && test -s conftest$ac_exeext && { |
1650 | } && test -s conftest$ac_exeext && { |
1613 | test "$cross_compiling" = yes || |
1651 | test "$cross_compiling" = yes || |
1614 | $as_test_x conftest$ac_exeext |
1652 | test -x conftest$ac_exeext |
1615 | }; then : |
1653 | }; then : |
1616 | ac_retval=0 |
1654 | ac_retval=0 |
1617 | else |
1655 | else |
1618 | $as_echo "$as_me: failed program was:" >&5 |
1656 | $as_echo "$as_me: failed program was:" >&5 |
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
1657 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1623 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1661 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1624 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1662 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1625 | # interfere with the next link command; also delete a directory that is |
1663 | # interfere with the next link command; also delete a directory that is |
1626 | # left behind by Apple's compiler. We do this before executing the actions. |
1664 | # left behind by Apple's compiler. We do this before executing the actions. |
1627 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1665 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1628 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1666 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1629 | as_fn_set_status $ac_retval |
1667 | as_fn_set_status $ac_retval |
1630 | |
1668 | |
1631 | } # ac_fn_c_try_link |
1669 | } # ac_fn_c_try_link |
1632 | cat >config.log <<_ACEOF |
1670 | cat >config.log <<_ACEOF |
1633 | This file contains any messages produced by compilers while |
1671 | This file contains any messages produced by compilers while |
1634 | running configure, to aid debugging if configure makes a mistake. |
1672 | running configure, to aid debugging if configure makes a mistake. |
1635 | |
1673 | |
1636 | It was created by $as_me, which was |
1674 | It was created by $as_me, which was |
1637 | generated by GNU Autoconf 2.67. Invocation command line was |
1675 | generated by GNU Autoconf 2.69. Invocation command line was |
1638 | |
1676 | |
1639 | $ $0 $@ |
1677 | $ $0 $@ |
1640 | |
1678 | |
1641 | _ACEOF |
1679 | _ACEOF |
1642 | exec 5>>config.log |
1680 | exec 5>>config.log |
… | |
… | |
1890 | sed 's/^/| /' "$ac_site_file" >&5 |
1928 | sed 's/^/| /' "$ac_site_file" >&5 |
1891 | . "$ac_site_file" \ |
1929 | . "$ac_site_file" \ |
1892 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1930 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1893 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1931 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1894 | as_fn_error $? "failed to load site script $ac_site_file |
1932 | as_fn_error $? "failed to load site script $ac_site_file |
1895 | See \`config.log' for more details" "$LINENO" 5 ; } |
1933 | See \`config.log' for more details" "$LINENO" 5; } |
1896 | fi |
1934 | fi |
1897 | done |
1935 | done |
1898 | |
1936 | |
1899 | if test -r "$cache_file"; then |
1937 | if test -r "$cache_file"; then |
1900 | # Some versions of bash will fail to source /dev/null (special files |
1938 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
1983 | |
2021 | |
1984 | |
2022 | |
1985 | ac_config_headers="$ac_config_headers libeio/config.h" |
2023 | ac_config_headers="$ac_config_headers libeio/config.h" |
1986 | |
2024 | |
1987 | |
2025 | |
|
|
2026 | |
1988 | ac_ext=c |
2027 | ac_ext=c |
1989 | ac_cpp='$CPP $CPPFLAGS' |
2028 | ac_cpp='$CPP $CPPFLAGS' |
1990 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2029 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1991 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2030 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1992 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2031 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1993 | if test -n "$ac_tool_prefix"; then |
2032 | if test -n "$ac_tool_prefix"; then |
1994 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2033 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1995 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2034 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1997 | $as_echo_n "checking for $ac_word... " >&6; } |
2036 | $as_echo_n "checking for $ac_word... " >&6; } |
1998 | if test "${ac_cv_prog_CC+set}" = set; then : |
2037 | if ${ac_cv_prog_CC+:} false; then : |
1999 | $as_echo_n "(cached) " >&6 |
2038 | $as_echo_n "(cached) " >&6 |
2000 | else |
2039 | else |
2001 | if test -n "$CC"; then |
2040 | if test -n "$CC"; then |
2002 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2041 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2003 | else |
2042 | else |
… | |
… | |
2005 | for as_dir in $PATH |
2044 | for as_dir in $PATH |
2006 | do |
2045 | do |
2007 | IFS=$as_save_IFS |
2046 | IFS=$as_save_IFS |
2008 | test -z "$as_dir" && as_dir=. |
2047 | test -z "$as_dir" && as_dir=. |
2009 | for ac_exec_ext in '' $ac_executable_extensions; do |
2048 | for ac_exec_ext in '' $ac_executable_extensions; do |
2010 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2049 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2011 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2050 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2012 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2051 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2013 | break 2 |
2052 | break 2 |
2014 | fi |
2053 | fi |
2015 | done |
2054 | done |
… | |
… | |
2033 | ac_ct_CC=$CC |
2072 | ac_ct_CC=$CC |
2034 | # Extract the first word of "gcc", so it can be a program name with args. |
2073 | # Extract the first word of "gcc", so it can be a program name with args. |
2035 | set dummy gcc; ac_word=$2 |
2074 | set dummy gcc; ac_word=$2 |
2036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2037 | $as_echo_n "checking for $ac_word... " >&6; } |
2076 | $as_echo_n "checking for $ac_word... " >&6; } |
2038 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2077 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2039 | $as_echo_n "(cached) " >&6 |
2078 | $as_echo_n "(cached) " >&6 |
2040 | else |
2079 | else |
2041 | if test -n "$ac_ct_CC"; then |
2080 | if test -n "$ac_ct_CC"; then |
2042 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2081 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2043 | else |
2082 | else |
… | |
… | |
2045 | for as_dir in $PATH |
2084 | for as_dir in $PATH |
2046 | do |
2085 | do |
2047 | IFS=$as_save_IFS |
2086 | IFS=$as_save_IFS |
2048 | test -z "$as_dir" && as_dir=. |
2087 | test -z "$as_dir" && as_dir=. |
2049 | for ac_exec_ext in '' $ac_executable_extensions; do |
2088 | for ac_exec_ext in '' $ac_executable_extensions; do |
2050 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2089 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2051 | ac_cv_prog_ac_ct_CC="gcc" |
2090 | ac_cv_prog_ac_ct_CC="gcc" |
2052 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2091 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2053 | break 2 |
2092 | break 2 |
2054 | fi |
2093 | fi |
2055 | done |
2094 | done |
… | |
… | |
2086 | if test -n "$ac_tool_prefix"; then |
2125 | if test -n "$ac_tool_prefix"; then |
2087 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2126 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2088 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2127 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2089 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2090 | $as_echo_n "checking for $ac_word... " >&6; } |
2129 | $as_echo_n "checking for $ac_word... " >&6; } |
2091 | if test "${ac_cv_prog_CC+set}" = set; then : |
2130 | if ${ac_cv_prog_CC+:} false; then : |
2092 | $as_echo_n "(cached) " >&6 |
2131 | $as_echo_n "(cached) " >&6 |
2093 | else |
2132 | else |
2094 | if test -n "$CC"; then |
2133 | if test -n "$CC"; then |
2095 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2134 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2096 | else |
2135 | else |
… | |
… | |
2098 | for as_dir in $PATH |
2137 | for as_dir in $PATH |
2099 | do |
2138 | do |
2100 | IFS=$as_save_IFS |
2139 | IFS=$as_save_IFS |
2101 | test -z "$as_dir" && as_dir=. |
2140 | test -z "$as_dir" && as_dir=. |
2102 | for ac_exec_ext in '' $ac_executable_extensions; do |
2141 | for ac_exec_ext in '' $ac_executable_extensions; do |
2103 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2142 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2104 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2143 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2105 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2144 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2106 | break 2 |
2145 | break 2 |
2107 | fi |
2146 | fi |
2108 | done |
2147 | done |
… | |
… | |
2126 | if test -z "$CC"; then |
2165 | if test -z "$CC"; then |
2127 | # Extract the first word of "cc", so it can be a program name with args. |
2166 | # Extract the first word of "cc", so it can be a program name with args. |
2128 | set dummy cc; ac_word=$2 |
2167 | set dummy cc; ac_word=$2 |
2129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2130 | $as_echo_n "checking for $ac_word... " >&6; } |
2169 | $as_echo_n "checking for $ac_word... " >&6; } |
2131 | if test "${ac_cv_prog_CC+set}" = set; then : |
2170 | if ${ac_cv_prog_CC+:} false; then : |
2132 | $as_echo_n "(cached) " >&6 |
2171 | $as_echo_n "(cached) " >&6 |
2133 | else |
2172 | else |
2134 | if test -n "$CC"; then |
2173 | if test -n "$CC"; then |
2135 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2174 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2136 | else |
2175 | else |
… | |
… | |
2139 | for as_dir in $PATH |
2178 | for as_dir in $PATH |
2140 | do |
2179 | do |
2141 | IFS=$as_save_IFS |
2180 | IFS=$as_save_IFS |
2142 | test -z "$as_dir" && as_dir=. |
2181 | test -z "$as_dir" && as_dir=. |
2143 | for ac_exec_ext in '' $ac_executable_extensions; do |
2182 | for ac_exec_ext in '' $ac_executable_extensions; do |
2144 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2183 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2145 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2184 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2146 | ac_prog_rejected=yes |
2185 | ac_prog_rejected=yes |
2147 | continue |
2186 | continue |
2148 | fi |
2187 | fi |
2149 | ac_cv_prog_CC="cc" |
2188 | ac_cv_prog_CC="cc" |
… | |
… | |
2185 | do |
2224 | do |
2186 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2225 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2187 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2189 | $as_echo_n "checking for $ac_word... " >&6; } |
2228 | $as_echo_n "checking for $ac_word... " >&6; } |
2190 | if test "${ac_cv_prog_CC+set}" = set; then : |
2229 | if ${ac_cv_prog_CC+:} false; then : |
2191 | $as_echo_n "(cached) " >&6 |
2230 | $as_echo_n "(cached) " >&6 |
2192 | else |
2231 | else |
2193 | if test -n "$CC"; then |
2232 | if test -n "$CC"; then |
2194 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2233 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2195 | else |
2234 | else |
… | |
… | |
2197 | for as_dir in $PATH |
2236 | for as_dir in $PATH |
2198 | do |
2237 | do |
2199 | IFS=$as_save_IFS |
2238 | IFS=$as_save_IFS |
2200 | test -z "$as_dir" && as_dir=. |
2239 | test -z "$as_dir" && as_dir=. |
2201 | for ac_exec_ext in '' $ac_executable_extensions; do |
2240 | for ac_exec_ext in '' $ac_executable_extensions; do |
2202 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2241 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2203 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2242 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2204 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2243 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2205 | break 2 |
2244 | break 2 |
2206 | fi |
2245 | fi |
2207 | done |
2246 | done |
… | |
… | |
2229 | do |
2268 | do |
2230 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2269 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2231 | set dummy $ac_prog; ac_word=$2 |
2270 | set dummy $ac_prog; ac_word=$2 |
2232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2233 | $as_echo_n "checking for $ac_word... " >&6; } |
2272 | $as_echo_n "checking for $ac_word... " >&6; } |
2234 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2273 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2235 | $as_echo_n "(cached) " >&6 |
2274 | $as_echo_n "(cached) " >&6 |
2236 | else |
2275 | else |
2237 | if test -n "$ac_ct_CC"; then |
2276 | if test -n "$ac_ct_CC"; then |
2238 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2277 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2239 | else |
2278 | else |
… | |
… | |
2241 | for as_dir in $PATH |
2280 | for as_dir in $PATH |
2242 | do |
2281 | do |
2243 | IFS=$as_save_IFS |
2282 | IFS=$as_save_IFS |
2244 | test -z "$as_dir" && as_dir=. |
2283 | test -z "$as_dir" && as_dir=. |
2245 | for ac_exec_ext in '' $ac_executable_extensions; do |
2284 | for ac_exec_ext in '' $ac_executable_extensions; do |
2246 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2285 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2247 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2286 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2248 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2287 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2249 | break 2 |
2288 | break 2 |
2250 | fi |
2289 | fi |
2251 | done |
2290 | done |
… | |
… | |
2284 | |
2323 | |
2285 | |
2324 | |
2286 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2325 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2287 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2326 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2288 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2327 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2289 | See \`config.log' for more details" "$LINENO" 5 ; } |
2328 | See \`config.log' for more details" "$LINENO" 5; } |
2290 | |
2329 | |
2291 | # Provide some information about the compiler. |
2330 | # Provide some information about the compiler. |
2292 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2331 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2293 | set X $ac_compile |
2332 | set X $ac_compile |
2294 | ac_compiler=$2 |
2333 | ac_compiler=$2 |
… | |
… | |
2399 | sed 's/^/| /' conftest.$ac_ext >&5 |
2438 | sed 's/^/| /' conftest.$ac_ext >&5 |
2400 | |
2439 | |
2401 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2440 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2402 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2441 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2403 | as_fn_error 77 "C compiler cannot create executables |
2442 | as_fn_error 77 "C compiler cannot create executables |
2404 | See \`config.log' for more details" "$LINENO" 5 ; } |
2443 | See \`config.log' for more details" "$LINENO" 5; } |
2405 | else |
2444 | else |
2406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2407 | $as_echo "yes" >&6; } |
2446 | $as_echo "yes" >&6; } |
2408 | fi |
2447 | fi |
2409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
2442 | done |
2481 | done |
2443 | else |
2482 | else |
2444 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2483 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2445 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2484 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2446 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2485 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2447 | See \`config.log' for more details" "$LINENO" 5 ; } |
2486 | See \`config.log' for more details" "$LINENO" 5; } |
2448 | fi |
2487 | fi |
2449 | rm -f conftest conftest$ac_cv_exeext |
2488 | rm -f conftest conftest$ac_cv_exeext |
2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2451 | $as_echo "$ac_cv_exeext" >&6; } |
2490 | $as_echo "$ac_cv_exeext" >&6; } |
2452 | |
2491 | |
… | |
… | |
2501 | else |
2540 | else |
2502 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2541 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2542 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 | as_fn_error $? "cannot run C compiled programs. |
2543 | as_fn_error $? "cannot run C compiled programs. |
2505 | If you meant to cross compile, use \`--host'. |
2544 | If you meant to cross compile, use \`--host'. |
2506 | See \`config.log' for more details" "$LINENO" 5 ; } |
2545 | See \`config.log' for more details" "$LINENO" 5; } |
2507 | fi |
2546 | fi |
2508 | fi |
2547 | fi |
2509 | fi |
2548 | fi |
2510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2511 | $as_echo "$cross_compiling" >&6; } |
2550 | $as_echo "$cross_compiling" >&6; } |
2512 | |
2551 | |
2513 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2552 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2514 | ac_clean_files=$ac_clean_files_save |
2553 | ac_clean_files=$ac_clean_files_save |
2515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2516 | $as_echo_n "checking for suffix of object files... " >&6; } |
2555 | $as_echo_n "checking for suffix of object files... " >&6; } |
2517 | if test "${ac_cv_objext+set}" = set; then : |
2556 | if ${ac_cv_objext+:} false; then : |
2518 | $as_echo_n "(cached) " >&6 |
2557 | $as_echo_n "(cached) " >&6 |
2519 | else |
2558 | else |
2520 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2559 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2521 | /* end confdefs.h. */ |
2560 | /* end confdefs.h. */ |
2522 | |
2561 | |
… | |
… | |
2553 | sed 's/^/| /' conftest.$ac_ext >&5 |
2592 | sed 's/^/| /' conftest.$ac_ext >&5 |
2554 | |
2593 | |
2555 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2594 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2556 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2595 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2557 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2596 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2558 | See \`config.log' for more details" "$LINENO" 5 ; } |
2597 | See \`config.log' for more details" "$LINENO" 5; } |
2559 | fi |
2598 | fi |
2560 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2599 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2561 | fi |
2600 | fi |
2562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2601 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2563 | $as_echo "$ac_cv_objext" >&6; } |
2602 | $as_echo "$ac_cv_objext" >&6; } |
2564 | OBJEXT=$ac_cv_objext |
2603 | OBJEXT=$ac_cv_objext |
2565 | ac_objext=$OBJEXT |
2604 | ac_objext=$OBJEXT |
2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2567 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2606 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2568 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2607 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2569 | $as_echo_n "(cached) " >&6 |
2608 | $as_echo_n "(cached) " >&6 |
2570 | else |
2609 | else |
2571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2572 | /* end confdefs.h. */ |
2611 | /* end confdefs.h. */ |
2573 | |
2612 | |
… | |
… | |
2600 | fi |
2639 | fi |
2601 | ac_test_CFLAGS=${CFLAGS+set} |
2640 | ac_test_CFLAGS=${CFLAGS+set} |
2602 | ac_save_CFLAGS=$CFLAGS |
2641 | ac_save_CFLAGS=$CFLAGS |
2603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2604 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2643 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2605 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2644 | if ${ac_cv_prog_cc_g+:} false; then : |
2606 | $as_echo_n "(cached) " >&6 |
2645 | $as_echo_n "(cached) " >&6 |
2607 | else |
2646 | else |
2608 | ac_save_c_werror_flag=$ac_c_werror_flag |
2647 | ac_save_c_werror_flag=$ac_c_werror_flag |
2609 | ac_c_werror_flag=yes |
2648 | ac_c_werror_flag=yes |
2610 | ac_cv_prog_cc_g=no |
2649 | ac_cv_prog_cc_g=no |
… | |
… | |
2678 | CFLAGS= |
2717 | CFLAGS= |
2679 | fi |
2718 | fi |
2680 | fi |
2719 | fi |
2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2720 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2682 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2721 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2683 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2722 | if ${ac_cv_prog_cc_c89+:} false; then : |
2684 | $as_echo_n "(cached) " >&6 |
2723 | $as_echo_n "(cached) " >&6 |
2685 | else |
2724 | else |
2686 | ac_cv_prog_cc_c89=no |
2725 | ac_cv_prog_cc_c89=no |
2687 | ac_save_CC=$CC |
2726 | ac_save_CC=$CC |
2688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2727 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2689 | /* end confdefs.h. */ |
2728 | /* end confdefs.h. */ |
2690 | #include <stdarg.h> |
2729 | #include <stdarg.h> |
2691 | #include <stdio.h> |
2730 | #include <stdio.h> |
2692 | #include <sys/types.h> |
2731 | struct stat; |
2693 | #include <sys/stat.h> |
|
|
2694 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2732 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2695 | struct buf { int x; }; |
2733 | struct buf { int x; }; |
2696 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2734 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2697 | static char *e (p, i) |
2735 | static char *e (p, i) |
2698 | char **p; |
2736 | char **p; |
… | |
… | |
2774 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2812 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2775 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2813 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2776 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2814 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2777 | |
2815 | |
2778 | |
2816 | |
2779 | |
|
|
2780 | ac_ext=c |
2817 | ac_ext=c |
2781 | ac_cpp='$CPP $CPPFLAGS' |
2818 | ac_cpp='$CPP $CPPFLAGS' |
2782 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2783 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2784 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
2787 | # On Suns, sometimes $CPP names a directory. |
2824 | # On Suns, sometimes $CPP names a directory. |
2788 | if test -n "$CPP" && test -d "$CPP"; then |
2825 | if test -n "$CPP" && test -d "$CPP"; then |
2789 | CPP= |
2826 | CPP= |
2790 | fi |
2827 | fi |
2791 | if test -z "$CPP"; then |
2828 | if test -z "$CPP"; then |
2792 | if test "${ac_cv_prog_CPP+set}" = set; then : |
2829 | if ${ac_cv_prog_CPP+:} false; then : |
2793 | $as_echo_n "(cached) " >&6 |
2830 | $as_echo_n "(cached) " >&6 |
2794 | else |
2831 | else |
2795 | # Double quotes because CPP needs to be expanded |
2832 | # Double quotes because CPP needs to be expanded |
2796 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2833 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2797 | do |
2834 | do |
… | |
… | |
2903 | |
2940 | |
2904 | else |
2941 | else |
2905 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2942 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2906 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2943 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2907 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
2944 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
2908 | See \`config.log' for more details" "$LINENO" 5 ; } |
2945 | See \`config.log' for more details" "$LINENO" 5; } |
2909 | fi |
2946 | fi |
2910 | |
2947 | |
2911 | ac_ext=c |
2948 | ac_ext=c |
2912 | ac_cpp='$CPP $CPPFLAGS' |
2949 | ac_cpp='$CPP $CPPFLAGS' |
2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2950 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2952 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2916 | |
2953 | |
2917 | |
2954 | |
2918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
2919 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
2956 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
2920 | if test "${ac_cv_path_GREP+set}" = set; then : |
2957 | if ${ac_cv_path_GREP+:} false; then : |
2921 | $as_echo_n "(cached) " >&6 |
2958 | $as_echo_n "(cached) " >&6 |
2922 | else |
2959 | else |
2923 | if test -z "$GREP"; then |
2960 | if test -z "$GREP"; then |
2924 | ac_path_GREP_found=false |
2961 | ac_path_GREP_found=false |
2925 | # Loop through the user's path and test for each of PROGNAME-LIST |
2962 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
2929 | IFS=$as_save_IFS |
2966 | IFS=$as_save_IFS |
2930 | test -z "$as_dir" && as_dir=. |
2967 | test -z "$as_dir" && as_dir=. |
2931 | for ac_prog in grep ggrep; do |
2968 | for ac_prog in grep ggrep; do |
2932 | for ac_exec_ext in '' $ac_executable_extensions; do |
2969 | for ac_exec_ext in '' $ac_executable_extensions; do |
2933 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
2970 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
2934 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
2971 | as_fn_executable_p "$ac_path_GREP" || continue |
2935 | # Check for GNU ac_path_GREP and select it if it is found. |
2972 | # Check for GNU ac_path_GREP and select it if it is found. |
2936 | # Check for GNU $ac_path_GREP |
2973 | # Check for GNU $ac_path_GREP |
2937 | case `"$ac_path_GREP" --version 2>&1` in |
2974 | case `"$ac_path_GREP" --version 2>&1` in |
2938 | *GNU*) |
2975 | *GNU*) |
2939 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
2976 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
2978 | GREP="$ac_cv_path_GREP" |
3015 | GREP="$ac_cv_path_GREP" |
2979 | |
3016 | |
2980 | |
3017 | |
2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
2982 | $as_echo_n "checking for egrep... " >&6; } |
3019 | $as_echo_n "checking for egrep... " >&6; } |
2983 | if test "${ac_cv_path_EGREP+set}" = set; then : |
3020 | if ${ac_cv_path_EGREP+:} false; then : |
2984 | $as_echo_n "(cached) " >&6 |
3021 | $as_echo_n "(cached) " >&6 |
2985 | else |
3022 | else |
2986 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3023 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
2987 | then ac_cv_path_EGREP="$GREP -E" |
3024 | then ac_cv_path_EGREP="$GREP -E" |
2988 | else |
3025 | else |
… | |
… | |
2995 | IFS=$as_save_IFS |
3032 | IFS=$as_save_IFS |
2996 | test -z "$as_dir" && as_dir=. |
3033 | test -z "$as_dir" && as_dir=. |
2997 | for ac_prog in egrep; do |
3034 | for ac_prog in egrep; do |
2998 | for ac_exec_ext in '' $ac_executable_extensions; do |
3035 | for ac_exec_ext in '' $ac_executable_extensions; do |
2999 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3036 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3000 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3037 | as_fn_executable_p "$ac_path_EGREP" || continue |
3001 | # Check for GNU ac_path_EGREP and select it if it is found. |
3038 | # Check for GNU ac_path_EGREP and select it if it is found. |
3002 | # Check for GNU $ac_path_EGREP |
3039 | # Check for GNU $ac_path_EGREP |
3003 | case `"$ac_path_EGREP" --version 2>&1` in |
3040 | case `"$ac_path_EGREP" --version 2>&1` in |
3004 | *GNU*) |
3041 | *GNU*) |
3005 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3042 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
3045 | EGREP="$ac_cv_path_EGREP" |
3082 | EGREP="$ac_cv_path_EGREP" |
3046 | |
3083 | |
3047 | |
3084 | |
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3049 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3086 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3050 | if test "${ac_cv_header_stdc+set}" = set; then : |
3087 | if ${ac_cv_header_stdc+:} false; then : |
3051 | $as_echo_n "(cached) " >&6 |
3088 | $as_echo_n "(cached) " >&6 |
3052 | else |
3089 | else |
3053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3054 | /* end confdefs.h. */ |
3091 | /* end confdefs.h. */ |
3055 | #include <stdlib.h> |
3092 | #include <stdlib.h> |
… | |
… | |
3172 | fi |
3209 | fi |
3173 | |
3210 | |
3174 | done |
3211 | done |
3175 | |
3212 | |
3176 | |
3213 | |
3177 | for ac_header in stdint.h |
3214 | |
|
|
3215 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
|
|
3216 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
|
|
3217 | MINIX=yes |
|
|
3218 | else |
|
|
3219 | MINIX= |
|
|
3220 | fi |
|
|
3221 | |
|
|
3222 | |
|
|
3223 | if test "$MINIX" = yes; then |
|
|
3224 | |
|
|
3225 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
|
|
3226 | |
|
|
3227 | |
|
|
3228 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
|
3229 | |
|
|
3230 | |
|
|
3231 | $as_echo "#define _MINIX 1" >>confdefs.h |
|
|
3232 | |
|
|
3233 | fi |
|
|
3234 | |
|
|
3235 | |
|
|
3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
|
|
3237 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
|
|
3238 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
|
|
3239 | $as_echo_n "(cached) " >&6 |
|
|
3240 | else |
|
|
3241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3242 | /* end confdefs.h. */ |
|
|
3243 | |
|
|
3244 | # define __EXTENSIONS__ 1 |
|
|
3245 | $ac_includes_default |
|
|
3246 | int |
|
|
3247 | main () |
|
|
3248 | { |
|
|
3249 | |
|
|
3250 | ; |
|
|
3251 | return 0; |
|
|
3252 | } |
|
|
3253 | _ACEOF |
|
|
3254 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3255 | ac_cv_safe_to_define___extensions__=yes |
|
|
3256 | else |
|
|
3257 | ac_cv_safe_to_define___extensions__=no |
|
|
3258 | fi |
|
|
3259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3260 | fi |
|
|
3261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
|
|
3262 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
|
|
3263 | test $ac_cv_safe_to_define___extensions__ = yes && |
|
|
3264 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
3265 | |
|
|
3266 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
|
3267 | |
|
|
3268 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
|
3269 | |
|
|
3270 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
|
|
3271 | |
|
|
3272 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
|
3273 | |
|
|
3274 | |
|
|
3275 | |
|
|
3276 | ac_ext=c |
|
|
3277 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3278 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3279 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3280 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3281 | if test -n "$ac_tool_prefix"; then |
|
|
3282 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
3283 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
3284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3285 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3286 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3287 | $as_echo_n "(cached) " >&6 |
|
|
3288 | else |
|
|
3289 | if test -n "$CC"; then |
|
|
3290 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3291 | else |
|
|
3292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3293 | for as_dir in $PATH |
|
|
3294 | do |
|
|
3295 | IFS=$as_save_IFS |
|
|
3296 | test -z "$as_dir" && as_dir=. |
|
|
3297 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3298 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3299 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
3300 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3301 | break 2 |
|
|
3302 | fi |
|
|
3303 | done |
|
|
3304 | done |
|
|
3305 | IFS=$as_save_IFS |
|
|
3306 | |
|
|
3307 | fi |
|
|
3308 | fi |
|
|
3309 | CC=$ac_cv_prog_CC |
|
|
3310 | if test -n "$CC"; then |
|
|
3311 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3312 | $as_echo "$CC" >&6; } |
|
|
3313 | else |
|
|
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3315 | $as_echo "no" >&6; } |
|
|
3316 | fi |
|
|
3317 | |
|
|
3318 | |
|
|
3319 | fi |
|
|
3320 | if test -z "$ac_cv_prog_CC"; then |
|
|
3321 | ac_ct_CC=$CC |
|
|
3322 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
3323 | set dummy gcc; ac_word=$2 |
|
|
3324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3325 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3326 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3327 | $as_echo_n "(cached) " >&6 |
|
|
3328 | else |
|
|
3329 | if test -n "$ac_ct_CC"; then |
|
|
3330 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3331 | else |
|
|
3332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3333 | for as_dir in $PATH |
|
|
3334 | do |
|
|
3335 | IFS=$as_save_IFS |
|
|
3336 | test -z "$as_dir" && as_dir=. |
|
|
3337 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3338 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3339 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
3340 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3341 | break 2 |
|
|
3342 | fi |
|
|
3343 | done |
|
|
3344 | done |
|
|
3345 | IFS=$as_save_IFS |
|
|
3346 | |
|
|
3347 | fi |
|
|
3348 | fi |
|
|
3349 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3350 | if test -n "$ac_ct_CC"; then |
|
|
3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3352 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3353 | else |
|
|
3354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3355 | $as_echo "no" >&6; } |
|
|
3356 | fi |
|
|
3357 | |
|
|
3358 | if test "x$ac_ct_CC" = x; then |
|
|
3359 | CC="" |
|
|
3360 | else |
|
|
3361 | case $cross_compiling:$ac_tool_warned in |
|
|
3362 | yes:) |
|
|
3363 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3364 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3365 | ac_tool_warned=yes ;; |
|
|
3366 | esac |
|
|
3367 | CC=$ac_ct_CC |
|
|
3368 | fi |
|
|
3369 | else |
|
|
3370 | CC="$ac_cv_prog_CC" |
|
|
3371 | fi |
|
|
3372 | |
|
|
3373 | if test -z "$CC"; then |
|
|
3374 | if test -n "$ac_tool_prefix"; then |
|
|
3375 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
3376 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3378 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3379 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3380 | $as_echo_n "(cached) " >&6 |
|
|
3381 | else |
|
|
3382 | if test -n "$CC"; then |
|
|
3383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3384 | else |
|
|
3385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3386 | for as_dir in $PATH |
|
|
3387 | do |
|
|
3388 | IFS=$as_save_IFS |
|
|
3389 | test -z "$as_dir" && as_dir=. |
|
|
3390 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3391 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3392 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
3393 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3394 | break 2 |
|
|
3395 | fi |
|
|
3396 | done |
|
|
3397 | done |
|
|
3398 | IFS=$as_save_IFS |
|
|
3399 | |
|
|
3400 | fi |
|
|
3401 | fi |
|
|
3402 | CC=$ac_cv_prog_CC |
|
|
3403 | if test -n "$CC"; then |
|
|
3404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3405 | $as_echo "$CC" >&6; } |
|
|
3406 | else |
|
|
3407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3408 | $as_echo "no" >&6; } |
|
|
3409 | fi |
|
|
3410 | |
|
|
3411 | |
|
|
3412 | fi |
|
|
3413 | fi |
|
|
3414 | if test -z "$CC"; then |
|
|
3415 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
3416 | set dummy cc; ac_word=$2 |
|
|
3417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3418 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3419 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3420 | $as_echo_n "(cached) " >&6 |
|
|
3421 | else |
|
|
3422 | if test -n "$CC"; then |
|
|
3423 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3424 | else |
|
|
3425 | ac_prog_rejected=no |
|
|
3426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3427 | for as_dir in $PATH |
|
|
3428 | do |
|
|
3429 | IFS=$as_save_IFS |
|
|
3430 | test -z "$as_dir" && as_dir=. |
|
|
3431 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3432 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3433 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
3434 | ac_prog_rejected=yes |
|
|
3435 | continue |
|
|
3436 | fi |
|
|
3437 | ac_cv_prog_CC="cc" |
|
|
3438 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3439 | break 2 |
|
|
3440 | fi |
|
|
3441 | done |
|
|
3442 | done |
|
|
3443 | IFS=$as_save_IFS |
|
|
3444 | |
|
|
3445 | if test $ac_prog_rejected = yes; then |
|
|
3446 | # We found a bogon in the path, so make sure we never use it. |
|
|
3447 | set dummy $ac_cv_prog_CC |
|
|
3448 | shift |
|
|
3449 | if test $# != 0; then |
|
|
3450 | # We chose a different compiler from the bogus one. |
|
|
3451 | # However, it has the same basename, so the bogon will be chosen |
|
|
3452 | # first if we set CC to just the basename; use the full file name. |
|
|
3453 | shift |
|
|
3454 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
3455 | fi |
|
|
3456 | fi |
|
|
3457 | fi |
|
|
3458 | fi |
|
|
3459 | CC=$ac_cv_prog_CC |
|
|
3460 | if test -n "$CC"; then |
|
|
3461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3462 | $as_echo "$CC" >&6; } |
|
|
3463 | else |
|
|
3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3465 | $as_echo "no" >&6; } |
|
|
3466 | fi |
|
|
3467 | |
|
|
3468 | |
|
|
3469 | fi |
|
|
3470 | if test -z "$CC"; then |
|
|
3471 | if test -n "$ac_tool_prefix"; then |
|
|
3472 | for ac_prog in cl.exe |
|
|
3473 | do |
|
|
3474 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
3475 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3477 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3478 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3479 | $as_echo_n "(cached) " >&6 |
|
|
3480 | else |
|
|
3481 | if test -n "$CC"; then |
|
|
3482 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3483 | else |
|
|
3484 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3485 | for as_dir in $PATH |
|
|
3486 | do |
|
|
3487 | IFS=$as_save_IFS |
|
|
3488 | test -z "$as_dir" && as_dir=. |
|
|
3489 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3490 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3491 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
3492 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3493 | break 2 |
|
|
3494 | fi |
|
|
3495 | done |
|
|
3496 | done |
|
|
3497 | IFS=$as_save_IFS |
|
|
3498 | |
|
|
3499 | fi |
|
|
3500 | fi |
|
|
3501 | CC=$ac_cv_prog_CC |
|
|
3502 | if test -n "$CC"; then |
|
|
3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3504 | $as_echo "$CC" >&6; } |
|
|
3505 | else |
|
|
3506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3507 | $as_echo "no" >&6; } |
|
|
3508 | fi |
|
|
3509 | |
|
|
3510 | |
|
|
3511 | test -n "$CC" && break |
|
|
3512 | done |
|
|
3513 | fi |
|
|
3514 | if test -z "$CC"; then |
|
|
3515 | ac_ct_CC=$CC |
|
|
3516 | for ac_prog in cl.exe |
|
|
3517 | do |
|
|
3518 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3519 | set dummy $ac_prog; ac_word=$2 |
|
|
3520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3521 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3522 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3523 | $as_echo_n "(cached) " >&6 |
|
|
3524 | else |
|
|
3525 | if test -n "$ac_ct_CC"; then |
|
|
3526 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3527 | else |
|
|
3528 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3529 | for as_dir in $PATH |
|
|
3530 | do |
|
|
3531 | IFS=$as_save_IFS |
|
|
3532 | test -z "$as_dir" && as_dir=. |
|
|
3533 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3534 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3535 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
3536 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3537 | break 2 |
|
|
3538 | fi |
|
|
3539 | done |
|
|
3540 | done |
|
|
3541 | IFS=$as_save_IFS |
|
|
3542 | |
|
|
3543 | fi |
|
|
3544 | fi |
|
|
3545 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3546 | if test -n "$ac_ct_CC"; then |
|
|
3547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3548 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3549 | else |
|
|
3550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3551 | $as_echo "no" >&6; } |
|
|
3552 | fi |
|
|
3553 | |
|
|
3554 | |
|
|
3555 | test -n "$ac_ct_CC" && break |
|
|
3556 | done |
|
|
3557 | |
|
|
3558 | if test "x$ac_ct_CC" = x; then |
|
|
3559 | CC="" |
|
|
3560 | else |
|
|
3561 | case $cross_compiling:$ac_tool_warned in |
|
|
3562 | yes:) |
|
|
3563 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3564 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3565 | ac_tool_warned=yes ;; |
|
|
3566 | esac |
|
|
3567 | CC=$ac_ct_CC |
|
|
3568 | fi |
|
|
3569 | fi |
|
|
3570 | |
|
|
3571 | fi |
|
|
3572 | |
|
|
3573 | |
|
|
3574 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3575 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3576 | as_fn_error $? "no acceptable C compiler found in \$PATH |
|
|
3577 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3578 | |
|
|
3579 | # Provide some information about the compiler. |
|
|
3580 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
|
3581 | set X $ac_compile |
|
|
3582 | ac_compiler=$2 |
|
|
3583 | for ac_option in --version -v -V -qversion; do |
|
|
3584 | { { ac_try="$ac_compiler $ac_option >&5" |
|
|
3585 | case "(($ac_try" in |
|
|
3586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3587 | *) ac_try_echo=$ac_try;; |
|
|
3588 | esac |
|
|
3589 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3590 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3591 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
|
3592 | ac_status=$? |
|
|
3593 | if test -s conftest.err; then |
|
|
3594 | sed '10a\ |
|
|
3595 | ... rest of stderr output deleted ... |
|
|
3596 | 10q' conftest.err >conftest.er1 |
|
|
3597 | cat conftest.er1 >&5 |
|
|
3598 | fi |
|
|
3599 | rm -f conftest.er1 conftest.err |
|
|
3600 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3601 | test $ac_status = 0; } |
|
|
3602 | done |
|
|
3603 | |
|
|
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
|
3605 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
|
3606 | if ${ac_cv_c_compiler_gnu+:} false; then : |
|
|
3607 | $as_echo_n "(cached) " >&6 |
|
|
3608 | else |
|
|
3609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3610 | /* end confdefs.h. */ |
|
|
3611 | |
|
|
3612 | int |
|
|
3613 | main () |
|
|
3614 | { |
|
|
3615 | #ifndef __GNUC__ |
|
|
3616 | choke me |
|
|
3617 | #endif |
|
|
3618 | |
|
|
3619 | ; |
|
|
3620 | return 0; |
|
|
3621 | } |
|
|
3622 | _ACEOF |
|
|
3623 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3624 | ac_compiler_gnu=yes |
|
|
3625 | else |
|
|
3626 | ac_compiler_gnu=no |
|
|
3627 | fi |
|
|
3628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3629 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
3630 | |
|
|
3631 | fi |
|
|
3632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
3633 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3634 | if test $ac_compiler_gnu = yes; then |
|
|
3635 | GCC=yes |
|
|
3636 | else |
|
|
3637 | GCC= |
|
|
3638 | fi |
|
|
3639 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
3640 | ac_save_CFLAGS=$CFLAGS |
|
|
3641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
|
3642 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
|
3643 | if ${ac_cv_prog_cc_g+:} false; then : |
|
|
3644 | $as_echo_n "(cached) " >&6 |
|
|
3645 | else |
|
|
3646 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3647 | ac_c_werror_flag=yes |
|
|
3648 | ac_cv_prog_cc_g=no |
|
|
3649 | CFLAGS="-g" |
|
|
3650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3651 | /* end confdefs.h. */ |
|
|
3652 | |
|
|
3653 | int |
|
|
3654 | main () |
|
|
3655 | { |
|
|
3656 | |
|
|
3657 | ; |
|
|
3658 | return 0; |
|
|
3659 | } |
|
|
3660 | _ACEOF |
|
|
3661 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3662 | ac_cv_prog_cc_g=yes |
|
|
3663 | else |
|
|
3664 | CFLAGS="" |
|
|
3665 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3666 | /* end confdefs.h. */ |
|
|
3667 | |
|
|
3668 | int |
|
|
3669 | main () |
|
|
3670 | { |
|
|
3671 | |
|
|
3672 | ; |
|
|
3673 | return 0; |
|
|
3674 | } |
|
|
3675 | _ACEOF |
|
|
3676 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3677 | |
|
|
3678 | else |
|
|
3679 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3680 | CFLAGS="-g" |
|
|
3681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3682 | /* end confdefs.h. */ |
|
|
3683 | |
|
|
3684 | int |
|
|
3685 | main () |
|
|
3686 | { |
|
|
3687 | |
|
|
3688 | ; |
|
|
3689 | return 0; |
|
|
3690 | } |
|
|
3691 | _ACEOF |
|
|
3692 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3693 | ac_cv_prog_cc_g=yes |
|
|
3694 | fi |
|
|
3695 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3696 | fi |
|
|
3697 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3698 | fi |
|
|
3699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3700 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3701 | fi |
|
|
3702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
|
3703 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
|
3704 | if test "$ac_test_CFLAGS" = set; then |
|
|
3705 | CFLAGS=$ac_save_CFLAGS |
|
|
3706 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
3707 | if test "$GCC" = yes; then |
|
|
3708 | CFLAGS="-g -O2" |
|
|
3709 | else |
|
|
3710 | CFLAGS="-g" |
|
|
3711 | fi |
|
|
3712 | else |
|
|
3713 | if test "$GCC" = yes; then |
|
|
3714 | CFLAGS="-O2" |
|
|
3715 | else |
|
|
3716 | CFLAGS= |
|
|
3717 | fi |
|
|
3718 | fi |
|
|
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
|
3720 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
|
3721 | if ${ac_cv_prog_cc_c89+:} false; then : |
|
|
3722 | $as_echo_n "(cached) " >&6 |
|
|
3723 | else |
|
|
3724 | ac_cv_prog_cc_c89=no |
|
|
3725 | ac_save_CC=$CC |
|
|
3726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3727 | /* end confdefs.h. */ |
|
|
3728 | #include <stdarg.h> |
|
|
3729 | #include <stdio.h> |
|
|
3730 | struct stat; |
|
|
3731 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
3732 | struct buf { int x; }; |
|
|
3733 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
3734 | static char *e (p, i) |
|
|
3735 | char **p; |
|
|
3736 | int i; |
|
|
3737 | { |
|
|
3738 | return p[i]; |
|
|
3739 | } |
|
|
3740 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
3741 | { |
|
|
3742 | char *s; |
|
|
3743 | va_list v; |
|
|
3744 | va_start (v,p); |
|
|
3745 | s = g (p, va_arg (v,int)); |
|
|
3746 | va_end (v); |
|
|
3747 | return s; |
|
|
3748 | } |
|
|
3749 | |
|
|
3750 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
3751 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
3752 | These don't provoke an error unfortunately, instead are silently treated |
|
|
3753 | as 'x'. The following induces an error, until -std is added to get |
|
|
3754 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
3755 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
3756 | that's true only with -std. */ |
|
|
3757 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3758 | |
|
|
3759 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3760 | inside strings and character constants. */ |
|
|
3761 | #define FOO(x) 'x' |
|
|
3762 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
3763 | |
|
|
3764 | int test (int i, double x); |
|
|
3765 | struct s1 {int (*f) (int a);}; |
|
|
3766 | struct s2 {int (*f) (double a);}; |
|
|
3767 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
3768 | int argc; |
|
|
3769 | char **argv; |
|
|
3770 | int |
|
|
3771 | main () |
|
|
3772 | { |
|
|
3773 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
3774 | ; |
|
|
3775 | return 0; |
|
|
3776 | } |
|
|
3777 | _ACEOF |
|
|
3778 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
3779 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
3780 | do |
|
|
3781 | CC="$ac_save_CC $ac_arg" |
|
|
3782 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3783 | ac_cv_prog_cc_c89=$ac_arg |
|
|
3784 | fi |
|
|
3785 | rm -f core conftest.err conftest.$ac_objext |
|
|
3786 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
3787 | done |
|
|
3788 | rm -f conftest.$ac_ext |
|
|
3789 | CC=$ac_save_CC |
|
|
3790 | |
|
|
3791 | fi |
|
|
3792 | # AC_CACHE_VAL |
|
|
3793 | case "x$ac_cv_prog_cc_c89" in |
|
|
3794 | x) |
|
|
3795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3796 | $as_echo "none needed" >&6; } ;; |
|
|
3797 | xno) |
|
|
3798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3799 | $as_echo "unsupported" >&6; } ;; |
|
|
3800 | *) |
|
|
3801 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
3802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3803 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
3804 | esac |
|
|
3805 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
3806 | |
|
|
3807 | fi |
|
|
3808 | |
|
|
3809 | ac_ext=c |
|
|
3810 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3811 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3812 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3813 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3814 | |
|
|
3815 | |
|
|
3816 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
3178 | do : |
3817 | do : |
|
|
3818 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3179 | ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" |
3819 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3180 | if test "x$ac_cv_header_stdint_h" = x""yes; then : |
3820 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3181 | cat >>confdefs.h <<_ACEOF |
3821 | cat >>confdefs.h <<_ACEOF |
3182 | #define HAVE_STDINT_H 1 |
3822 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3183 | _ACEOF |
3823 | _ACEOF |
3184 | |
3824 | |
3185 | fi |
3825 | fi |
3186 | |
3826 | |
3187 | done |
3827 | done |
3188 | |
3828 | |
3189 | |
3829 | |
3190 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3191 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3831 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3192 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3832 | if ${ac_cv_search_pthread_create+:} false; then : |
3193 | $as_echo_n "(cached) " >&6 |
3833 | $as_echo_n "(cached) " >&6 |
3194 | else |
3834 | else |
3195 | ac_func_search_save_LIBS=$LIBS |
3835 | ac_func_search_save_LIBS=$LIBS |
3196 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3836 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3197 | /* end confdefs.h. */ |
3837 | /* end confdefs.h. */ |
… | |
… | |
3221 | if ac_fn_c_try_link "$LINENO"; then : |
3861 | if ac_fn_c_try_link "$LINENO"; then : |
3222 | ac_cv_search_pthread_create=$ac_res |
3862 | ac_cv_search_pthread_create=$ac_res |
3223 | fi |
3863 | fi |
3224 | rm -f core conftest.err conftest.$ac_objext \ |
3864 | rm -f core conftest.err conftest.$ac_objext \ |
3225 | conftest$ac_exeext |
3865 | conftest$ac_exeext |
3226 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3866 | if ${ac_cv_search_pthread_create+:} false; then : |
3227 | break |
3867 | break |
3228 | fi |
3868 | fi |
3229 | done |
3869 | done |
3230 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3870 | if ${ac_cv_search_pthread_create+:} false; then : |
3231 | |
3871 | |
3232 | else |
3872 | else |
3233 | ac_cv_search_pthread_create=no |
3873 | ac_cv_search_pthread_create=no |
3234 | fi |
3874 | fi |
3235 | rm conftest.$ac_ext |
3875 | rm conftest.$ac_ext |
… | |
… | |
3247 | fi |
3887 | fi |
3248 | |
3888 | |
3249 | |
3889 | |
3250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3251 | $as_echo_n "checking for utimes... " >&6; } |
3891 | $as_echo_n "checking for utimes... " >&6; } |
3252 | if test "${ac_cv_utimes+set}" = set; then : |
3892 | if ${ac_cv_utimes+:} false; then : |
3253 | $as_echo_n "(cached) " >&6 |
3893 | $as_echo_n "(cached) " >&6 |
3254 | else |
3894 | else |
3255 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3256 | /* end confdefs.h. */ |
3896 | /* end confdefs.h. */ |
3257 | |
3897 | |
… | |
… | |
3281 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3921 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3282 | |
3922 | |
3283 | |
3923 | |
3284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3285 | $as_echo_n "checking for futimes... " >&6; } |
3925 | $as_echo_n "checking for futimes... " >&6; } |
3286 | if test "${ac_cv_futimes+set}" = set; then : |
3926 | if ${ac_cv_futimes+:} false; then : |
3287 | $as_echo_n "(cached) " >&6 |
3927 | $as_echo_n "(cached) " >&6 |
3288 | else |
3928 | else |
3289 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3929 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3290 | /* end confdefs.h. */ |
3930 | /* end confdefs.h. */ |
3291 | |
3931 | |
… | |
… | |
3316 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3956 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3317 | |
3957 | |
3318 | |
3958 | |
3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3320 | $as_echo_n "checking for readahead... " >&6; } |
3960 | $as_echo_n "checking for readahead... " >&6; } |
3321 | if test "${ac_cv_readahead+set}" = set; then : |
3961 | if ${ac_cv_readahead+:} false; then : |
3322 | $as_echo_n "(cached) " >&6 |
3962 | $as_echo_n "(cached) " >&6 |
3323 | else |
3963 | else |
3324 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3325 | /* end confdefs.h. */ |
3965 | /* end confdefs.h. */ |
3326 | |
3966 | |
… | |
… | |
3349 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3989 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3350 | |
3990 | |
3351 | |
3991 | |
3352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3353 | $as_echo_n "checking for fdatasync... " >&6; } |
3993 | $as_echo_n "checking for fdatasync... " >&6; } |
3354 | if test "${ac_cv_fdatasync+set}" = set; then : |
3994 | if ${ac_cv_fdatasync+:} false; then : |
3355 | $as_echo_n "(cached) " >&6 |
3995 | $as_echo_n "(cached) " >&6 |
3356 | else |
3996 | else |
3357 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3358 | /* end confdefs.h. */ |
3998 | /* end confdefs.h. */ |
3359 | |
3999 | |
… | |
… | |
3378 | $as_echo "$ac_cv_fdatasync" >&6; } |
4018 | $as_echo "$ac_cv_fdatasync" >&6; } |
3379 | test $ac_cv_fdatasync = yes && |
4019 | test $ac_cv_fdatasync = yes && |
3380 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
4020 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
3381 | |
4021 | |
3382 | |
4022 | |
3383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
|
|
3384 | $as_echo_n "checking for pread and pwrite... " >&6; } |
|
|
3385 | if test "${ac_cv_preadwrite+set}" = set; then : |
|
|
3386 | $as_echo_n "(cached) " >&6 |
|
|
3387 | else |
|
|
3388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3389 | /* end confdefs.h. */ |
|
|
3390 | |
|
|
3391 | #include <unistd.h> |
|
|
3392 | int main (void) |
|
|
3393 | { |
|
|
3394 | int fd = 0; |
|
|
3395 | size_t count = 1; |
|
|
3396 | char buf; |
|
|
3397 | off_t offset = 1; |
|
|
3398 | ssize_t res; |
|
|
3399 | res = pread (fd, &buf, count, offset); |
|
|
3400 | res = pwrite (fd, &buf, count, offset); |
|
|
3401 | return 0; |
|
|
3402 | } |
|
|
3403 | |
|
|
3404 | _ACEOF |
|
|
3405 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3406 | ac_cv_preadwrite=yes |
|
|
3407 | else |
|
|
3408 | ac_cv_preadwrite=no |
|
|
3409 | fi |
|
|
3410 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3411 | conftest$ac_exeext conftest.$ac_ext |
|
|
3412 | fi |
|
|
3413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
|
|
3414 | $as_echo "$ac_cv_preadwrite" >&6; } |
|
|
3415 | test $ac_cv_preadwrite = yes && |
|
|
3416 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
|
|
3417 | |
|
|
3418 | |
|
|
3419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
4023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
3420 | $as_echo_n "checking for sendfile... " >&6; } |
4024 | $as_echo_n "checking for sendfile... " >&6; } |
3421 | if test "${ac_cv_sendfile+set}" = set; then : |
4025 | if ${ac_cv_sendfile+:} false; then : |
3422 | $as_echo_n "(cached) " >&6 |
4026 | $as_echo_n "(cached) " >&6 |
3423 | else |
4027 | else |
3424 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3425 | /* end confdefs.h. */ |
4029 | /* end confdefs.h. */ |
3426 | |
4030 | |
… | |
… | |
3440 | int fd = 0; |
4044 | int fd = 0; |
3441 | off_t offset = 1; |
4045 | off_t offset = 1; |
3442 | size_t count = 2; |
4046 | size_t count = 2; |
3443 | ssize_t res; |
4047 | ssize_t res; |
3444 | #if __linux |
4048 | #if __linux |
3445 | res = sendfile (fd, fd, offset, count); |
4049 | res = sendfile (fd, fd, &offset, count); |
3446 | #elif __FreeBSD__ |
4050 | #elif __FreeBSD__ |
3447 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4051 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
3448 | #elif __hpux |
4052 | #elif __hpux |
3449 | res = sendfile (fd, fd, offset, count, 0, 0); |
4053 | res = sendfile (fd, fd, offset, count, 0, 0); |
3450 | #endif |
4054 | #endif |
… | |
… | |
3466 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
4070 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
3467 | |
4071 | |
3468 | |
4072 | |
3469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
4073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
3470 | $as_echo_n "checking for sync_file_range... " >&6; } |
4074 | $as_echo_n "checking for sync_file_range... " >&6; } |
3471 | if test "${ac_cv_sync_file_range+set}" = set; then : |
4075 | if ${ac_cv_sync_file_range+:} false; then : |
3472 | $as_echo_n "(cached) " >&6 |
4076 | $as_echo_n "(cached) " >&6 |
3473 | else |
4077 | else |
3474 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3475 | /* end confdefs.h. */ |
4079 | /* end confdefs.h. */ |
3476 | |
4080 | |
… | |
… | |
3501 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4105 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
3502 | |
4106 | |
3503 | |
4107 | |
3504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
3505 | $as_echo_n "checking for fallocate... " >&6; } |
4109 | $as_echo_n "checking for fallocate... " >&6; } |
3506 | if test "${ac_cv_fallocate+set}" = set; then : |
4110 | if ${ac_cv_linux_fallocate+:} false; then : |
3507 | $as_echo_n "(cached) " >&6 |
4111 | $as_echo_n "(cached) " >&6 |
3508 | else |
4112 | else |
3509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3510 | /* end confdefs.h. */ |
4114 | /* end confdefs.h. */ |
3511 | |
4115 | |
3512 | #include <fcntl.h> |
4116 | #include <fcntl.h> |
3513 | int main (void) |
4117 | int main (void) |
3514 | { |
4118 | { |
3515 | int fd = 0; |
4119 | int fd = 0; |
3516 | int mode = FALLOC_FL_KEEP_SIZE; |
4120 | int mode = 0; |
3517 | off_t offset = 1; |
4121 | off_t offset = 1; |
3518 | off_t len = 1; |
4122 | off_t len = 1; |
3519 | int res; |
4123 | int res; |
3520 | res = fallocate (fd, mode, offset, len); |
4124 | res = fallocate (fd, mode, offset, len); |
3521 | return 0; |
4125 | return 0; |
3522 | } |
4126 | } |
3523 | |
4127 | |
3524 | _ACEOF |
4128 | _ACEOF |
3525 | if ac_fn_c_try_link "$LINENO"; then : |
4129 | if ac_fn_c_try_link "$LINENO"; then : |
3526 | ac_cv_fallocate=yes |
4130 | ac_cv_linux_fallocate=yes |
3527 | else |
4131 | else |
3528 | ac_cv_fallocate=no |
4132 | ac_cv_linux_fallocate=no |
3529 | fi |
4133 | fi |
3530 | rm -f core conftest.err conftest.$ac_objext \ |
4134 | rm -f core conftest.err conftest.$ac_objext \ |
3531 | conftest$ac_exeext conftest.$ac_ext |
4135 | conftest$ac_exeext conftest.$ac_ext |
3532 | fi |
4136 | fi |
3533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 |
4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5 |
3534 | $as_echo "$ac_cv_fallocate" >&6; } |
4138 | $as_echo "$ac_cv_linux_fallocate" >&6; } |
3535 | test $ac_cv_fallocate = yes && |
4139 | test $ac_cv_linux_fallocate = yes && |
3536 | $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
4140 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
3537 | |
4141 | |
|
|
4142 | |
|
|
4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
|
|
4144 | $as_echo_n "checking for sys_syncfs... " >&6; } |
|
|
4145 | if ${ac_cv_sys_syncfs+:} false; then : |
|
|
4146 | $as_echo_n "(cached) " >&6 |
|
|
4147 | else |
|
|
4148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4149 | /* end confdefs.h. */ |
|
|
4150 | |
|
|
4151 | #include <unistd.h> |
|
|
4152 | #include <sys/syscall.h> |
|
|
4153 | int main (void) |
|
|
4154 | { |
|
|
4155 | int res = syscall (__NR_syncfs, (int)0); |
|
|
4156 | } |
|
|
4157 | |
|
|
4158 | _ACEOF |
|
|
4159 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4160 | ac_cv_sys_syncfs=yes |
|
|
4161 | else |
|
|
4162 | ac_cv_sys_syncfs=no |
|
|
4163 | fi |
|
|
4164 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4165 | conftest$ac_exeext conftest.$ac_ext |
|
|
4166 | fi |
|
|
4167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
|
|
4168 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
|
|
4169 | test $ac_cv_sys_syncfs = yes && |
|
|
4170 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
4171 | |
|
|
4172 | |
|
|
4173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
4174 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
4175 | if ${ac_cv_prctl_set_name+:} false; then : |
|
|
4176 | $as_echo_n "(cached) " >&6 |
|
|
4177 | else |
|
|
4178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4179 | /* end confdefs.h. */ |
|
|
4180 | |
|
|
4181 | #include <sys/prctl.h> |
|
|
4182 | int main (void) |
|
|
4183 | { |
|
|
4184 | char *name = "test123"; |
|
|
4185 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
4186 | } |
|
|
4187 | |
|
|
4188 | _ACEOF |
|
|
4189 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4190 | ac_cv_prctl_set_name=yes |
|
|
4191 | else |
|
|
4192 | ac_cv_prctl_set_name=no |
|
|
4193 | fi |
|
|
4194 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4195 | conftest$ac_exeext conftest.$ac_ext |
|
|
4196 | fi |
|
|
4197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
4198 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
4199 | test $ac_cv_prctl_set_name = yes && |
|
|
4200 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
|
|
4201 | |
|
|
4202 | |
|
|
4203 | |
|
|
4204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set/getrlimit" >&5 |
|
|
4205 | $as_echo_n "checking for set/getrlimit... " >&6; } |
|
|
4206 | if ${ac_cv_rlimits+:} false; then : |
|
|
4207 | $as_echo_n "(cached) " >&6 |
|
|
4208 | else |
|
|
4209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4210 | /* end confdefs.h. */ |
|
|
4211 | |
|
|
4212 | #include <sys/time.h> |
|
|
4213 | #include <sys/resource.h> |
|
|
4214 | int res; |
|
|
4215 | int main (void) |
|
|
4216 | { |
|
|
4217 | struct rlimit srl; |
|
|
4218 | srl.rlim_cur = srl.rlim_max = RLIM_INFINITY; |
|
|
4219 | res = getrlimit (RLIMIT_NOFILE, &srl); |
|
|
4220 | res = setrlimit (RLIMIT_NOFILE, &srl); |
|
|
4221 | return 0; |
|
|
4222 | } |
|
|
4223 | |
|
|
4224 | _ACEOF |
|
|
4225 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4226 | ac_cv_rlimits=yes |
|
|
4227 | else |
|
|
4228 | ac_cv_rlimits=no |
|
|
4229 | fi |
|
|
4230 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4231 | conftest$ac_exeext conftest.$ac_ext |
|
|
4232 | fi |
|
|
4233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rlimits" >&5 |
|
|
4234 | $as_echo "$ac_cv_rlimits" >&6; } |
|
|
4235 | test $ac_cv_rlimits = yes && |
|
|
4236 | $as_echo "#define HAVE_RLIMITS 1" >>confdefs.h |
3538 | |
4237 | |
3539 | |
4238 | |
3540 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
4239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3541 | $as_echo_n "checking for posix_madvise... " >&6; } |
4240 | $as_echo_n "checking for posix_madvise... " >&6; } |
3542 | if test "${ac_cv_posix_madvise+set}" = set; then : |
4241 | if ${ac_cv_posix_madvise+:} false; then : |
3543 | $as_echo_n "(cached) " >&6 |
4242 | $as_echo_n "(cached) " >&6 |
3544 | else |
4243 | else |
3545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4244 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3546 | /* end confdefs.h. */ |
4245 | /* end confdefs.h. */ |
3547 | |
4246 | |
… | |
… | |
3571 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
4270 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
3572 | |
4271 | |
3573 | |
4272 | |
3574 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
4273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
3575 | $as_echo_n "checking for posix_fadvise... " >&6; } |
4274 | $as_echo_n "checking for posix_fadvise... " >&6; } |
3576 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
4275 | if ${ac_cv_posix_fadvise+:} false; then : |
3577 | $as_echo_n "(cached) " >&6 |
4276 | $as_echo_n "(cached) " >&6 |
3578 | else |
4277 | else |
3579 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4278 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3580 | /* end confdefs.h. */ |
4279 | /* end confdefs.h. */ |
3581 | |
4280 | |
… | |
… | |
3603 | fi |
4302 | fi |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
4303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
3605 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
4304 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
3606 | test $ac_cv_posix_fadvise = yes && |
4305 | test $ac_cv_posix_fadvise = yes && |
3607 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
4306 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
|
|
4307 | |
|
|
4308 | |
|
|
4309 | for ac_header in linux/fs.h linux/fiemap.h |
|
|
4310 | do : |
|
|
4311 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4312 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
4313 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
4314 | cat >>confdefs.h <<_ACEOF |
|
|
4315 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4316 | _ACEOF |
|
|
4317 | |
|
|
4318 | fi |
|
|
4319 | |
|
|
4320 | done |
|
|
4321 | |
|
|
4322 | |
|
|
4323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
|
|
4324 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
|
|
4325 | if ${ac_cv_linux_splice+:} false; then : |
|
|
4326 | $as_echo_n "(cached) " >&6 |
|
|
4327 | else |
|
|
4328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4329 | /* end confdefs.h. */ |
|
|
4330 | |
|
|
4331 | #include <fcntl.h> |
|
|
4332 | int main (void) |
|
|
4333 | { |
|
|
4334 | ssize_t res; |
|
|
4335 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
|
|
4336 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
|
|
4337 | res = vmsplice ((int)0, (struct iovec *)0, 0, SPLICE_F_NONBLOCK | SPLICE_F_GIFT); |
|
|
4338 | return 0; |
|
|
4339 | } |
|
|
4340 | |
|
|
4341 | _ACEOF |
|
|
4342 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4343 | ac_cv_linux_splice=yes |
|
|
4344 | else |
|
|
4345 | ac_cv_linux_splice=no |
|
|
4346 | fi |
|
|
4347 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4348 | conftest$ac_exeext conftest.$ac_ext |
|
|
4349 | fi |
|
|
4350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
|
|
4351 | $as_echo "$ac_cv_linux_splice" >&6; } |
|
|
4352 | test $ac_cv_linux_splice = yes && |
|
|
4353 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
|
|
4354 | |
|
|
4355 | |
|
|
4356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
|
|
4357 | $as_echo_n "checking for pipe2... " >&6; } |
|
|
4358 | if ${ac_cv_pipe2+:} false; then : |
|
|
4359 | $as_echo_n "(cached) " >&6 |
|
|
4360 | else |
|
|
4361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4362 | /* end confdefs.h. */ |
|
|
4363 | |
|
|
4364 | #include <fcntl.h> |
|
|
4365 | #include <unistd.h> |
|
|
4366 | int res; |
|
|
4367 | int main (void) |
|
|
4368 | { |
|
|
4369 | res = pipe2 (0, 0); |
|
|
4370 | return 0; |
|
|
4371 | } |
|
|
4372 | |
|
|
4373 | _ACEOF |
|
|
4374 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4375 | ac_cv_pipe2=yes |
|
|
4376 | else |
|
|
4377 | ac_cv_pipe2=no |
|
|
4378 | fi |
|
|
4379 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4380 | conftest$ac_exeext conftest.$ac_ext |
|
|
4381 | fi |
|
|
4382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
|
|
4383 | $as_echo "$ac_cv_pipe2" >&6; } |
|
|
4384 | test $ac_cv_pipe2 = yes && |
|
|
4385 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
|
|
4386 | |
|
|
4387 | |
|
|
4388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5 |
|
|
4389 | $as_echo_n "checking for eventfd... " >&6; } |
|
|
4390 | if ${ac_cv_eventfd+:} false; then : |
|
|
4391 | $as_echo_n "(cached) " >&6 |
|
|
4392 | else |
|
|
4393 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4394 | /* end confdefs.h. */ |
|
|
4395 | |
|
|
4396 | #include <sys/eventfd.h> |
|
|
4397 | int res; |
|
|
4398 | int main (void) |
|
|
4399 | { |
|
|
4400 | res = eventfd (1, EFD_CLOEXEC | EFD_NONBLOCK); |
|
|
4401 | return 0; |
|
|
4402 | } |
|
|
4403 | |
|
|
4404 | _ACEOF |
|
|
4405 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4406 | ac_cv_eventfd=yes |
|
|
4407 | else |
|
|
4408 | ac_cv_eventfd=no |
|
|
4409 | fi |
|
|
4410 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4411 | conftest$ac_exeext conftest.$ac_ext |
|
|
4412 | fi |
|
|
4413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_eventfd" >&5 |
|
|
4414 | $as_echo "$ac_cv_eventfd" >&6; } |
|
|
4415 | test $ac_cv_eventfd = yes && |
|
|
4416 | $as_echo "#define HAVE_EVENTFD 1" >>confdefs.h |
|
|
4417 | |
|
|
4418 | |
|
|
4419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerfd" >&5 |
|
|
4420 | $as_echo_n "checking for timerfd... " >&6; } |
|
|
4421 | if ${ac_cv_timerfd+:} false; then : |
|
|
4422 | $as_echo_n "(cached) " >&6 |
|
|
4423 | else |
|
|
4424 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4425 | /* end confdefs.h. */ |
|
|
4426 | |
|
|
4427 | #include <sys/timerfd.h> |
|
|
4428 | int res; |
|
|
4429 | int main (void) |
|
|
4430 | { |
|
|
4431 | struct itimerspec its; |
|
|
4432 | res = timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC | TFD_NONBLOCK); |
|
|
4433 | res = timerfd_settime (res, TFD_TIMER_ABSTIME /*| TFD_TIMER_CANCEL_ON_SET*/, &its, 0); |
|
|
4434 | res = timerfd_gettime (res, &its); |
|
|
4435 | return 0; |
|
|
4436 | } |
|
|
4437 | |
|
|
4438 | _ACEOF |
|
|
4439 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4440 | ac_cv_timerfd=yes |
|
|
4441 | else |
|
|
4442 | ac_cv_timerfd=no |
|
|
4443 | fi |
|
|
4444 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4445 | conftest$ac_exeext conftest.$ac_ext |
|
|
4446 | fi |
|
|
4447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_timerfd" >&5 |
|
|
4448 | $as_echo "$ac_cv_timerfd" >&6; } |
|
|
4449 | test $ac_cv_timerfd = yes && |
|
|
4450 | $as_echo "#define HAVE_TIMERFD 1" >>confdefs.h |
|
|
4451 | |
|
|
4452 | |
|
|
4453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for renameat2" >&5 |
|
|
4454 | $as_echo_n "checking for renameat2... " >&6; } |
|
|
4455 | if ${ac_cv_renameat2+:} false; then : |
|
|
4456 | $as_echo_n "(cached) " >&6 |
|
|
4457 | else |
|
|
4458 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4459 | /* end confdefs.h. */ |
|
|
4460 | |
|
|
4461 | #include <unistd.h> |
|
|
4462 | #include <sys/syscall.h> |
|
|
4463 | #include <linux/fs.h> |
|
|
4464 | int res; |
|
|
4465 | int main (void) |
|
|
4466 | { |
|
|
4467 | res = syscall (SYS_renameat2, 0, 0, 0, 0, RENAME_EXCHANGE | RENAME_NOREPLACE); |
|
|
4468 | return 0; |
|
|
4469 | } |
|
|
4470 | |
|
|
4471 | _ACEOF |
|
|
4472 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4473 | ac_cv_renameat2=yes |
|
|
4474 | else |
|
|
4475 | ac_cv_renameat2=no |
|
|
4476 | fi |
|
|
4477 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4478 | conftest$ac_exeext conftest.$ac_ext |
|
|
4479 | fi |
|
|
4480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_renameat2" >&5 |
|
|
4481 | $as_echo "$ac_cv_renameat2" >&6; } |
|
|
4482 | test $ac_cv_renameat2 = yes && |
|
|
4483 | $as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h |
|
|
4484 | |
|
|
4485 | |
|
|
4486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 |
|
|
4487 | $as_echo_n "checking for copy_file_range... " >&6; } |
|
|
4488 | if ${ac_cv_copy_file_range+:} false; then : |
|
|
4489 | $as_echo_n "(cached) " >&6 |
|
|
4490 | else |
|
|
4491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4492 | /* end confdefs.h. */ |
|
|
4493 | |
|
|
4494 | #include <unistd.h> |
|
|
4495 | #include <sys/syscall.h> |
|
|
4496 | /*#include <linux/copy.h>*/ |
|
|
4497 | int res; |
|
|
4498 | int main (void) |
|
|
4499 | { |
|
|
4500 | /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/ |
|
|
4501 | res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0); |
|
|
4502 | return 0; |
|
|
4503 | } |
|
|
4504 | |
|
|
4505 | _ACEOF |
|
|
4506 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4507 | ac_cv_copy_file_range=yes |
|
|
4508 | else |
|
|
4509 | ac_cv_copy_file_range=no |
|
|
4510 | fi |
|
|
4511 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4512 | conftest$ac_exeext conftest.$ac_ext |
|
|
4513 | fi |
|
|
4514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5 |
|
|
4515 | $as_echo "$ac_cv_copy_file_range" >&6; } |
|
|
4516 | test $ac_cv_copy_file_range = yes && |
|
|
4517 | $as_echo "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h |
|
|
4518 | |
|
|
4519 | |
|
|
4520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_close" >&5 |
|
|
4521 | $as_echo_n "checking for posix_close... " >&6; } |
|
|
4522 | if ${ac_cv_posix_close+:} false; then : |
|
|
4523 | $as_echo_n "(cached) " >&6 |
|
|
4524 | else |
|
|
4525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4526 | /* end confdefs.h. */ |
|
|
4527 | |
|
|
4528 | #include <unistd.h> |
|
|
4529 | int res; |
|
|
4530 | int main (void) |
|
|
4531 | { |
|
|
4532 | res = posix_close (0, 0); /* we do not need any flags */ |
|
|
4533 | return 0; |
|
|
4534 | } |
|
|
4535 | |
|
|
4536 | _ACEOF |
|
|
4537 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4538 | ac_cv_posix_close=yes |
|
|
4539 | else |
|
|
4540 | ac_cv_posix_close=no |
|
|
4541 | fi |
|
|
4542 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4543 | conftest$ac_exeext conftest.$ac_ext |
|
|
4544 | fi |
|
|
4545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_close" >&5 |
|
|
4546 | $as_echo "$ac_cv_posix_close" >&6; } |
|
|
4547 | test $ac_cv_posix_close = yes && |
|
|
4548 | $as_echo "#define HAVE_POSIX_CLOSE 1" >>confdefs.h |
3608 | |
4549 | |
3609 | |
4550 | |
3610 | |
4551 | |
3611 | |
4552 | |
3612 | cat >confcache <<\_ACEOF |
4553 | cat >confcache <<\_ACEOF |
… | |
… | |
3671 | t end |
4612 | t end |
3672 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4613 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3673 | :end' >>confcache |
4614 | :end' >>confcache |
3674 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4615 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3675 | if test -w "$cache_file"; then |
4616 | if test -w "$cache_file"; then |
3676 | test "x$cache_file" != "x/dev/null" && |
4617 | if test "x$cache_file" != "x/dev/null"; then |
3677 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4618 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3678 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
4619 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
4620 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
3679 | cat confcache >$cache_file |
4621 | cat confcache >"$cache_file" |
|
|
4622 | else |
|
|
4623 | case $cache_file in #( |
|
|
4624 | */* | ?:*) |
|
|
4625 | mv -f confcache "$cache_file"$$ && |
|
|
4626 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
4627 | *) |
|
|
4628 | mv -f confcache "$cache_file" ;; |
|
|
4629 | esac |
|
|
4630 | fi |
|
|
4631 | fi |
3680 | else |
4632 | else |
3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4633 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3682 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4634 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3683 | fi |
4635 | fi |
3684 | fi |
4636 | fi |
… | |
… | |
3706 | |
4658 | |
3707 | LTLIBOBJS=$ac_ltlibobjs |
4659 | LTLIBOBJS=$ac_ltlibobjs |
3708 | |
4660 | |
3709 | |
4661 | |
3710 | |
4662 | |
3711 | : ${CONFIG_STATUS=./config.status} |
4663 | : "${CONFIG_STATUS=./config.status}" |
3712 | ac_write_fail=0 |
4664 | ac_write_fail=0 |
3713 | ac_clean_files_save=$ac_clean_files |
4665 | ac_clean_files_save=$ac_clean_files |
3714 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4666 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3715 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4667 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3716 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4668 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
3807 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4759 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3808 | # splitting by setting IFS to empty value.) |
4760 | # splitting by setting IFS to empty value.) |
3809 | IFS=" "" $as_nl" |
4761 | IFS=" "" $as_nl" |
3810 | |
4762 | |
3811 | # Find who we are. Look in the path if we contain no directory separator. |
4763 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
4764 | as_myself= |
3812 | case $0 in #(( |
4765 | case $0 in #(( |
3813 | *[\\/]* ) as_myself=$0 ;; |
4766 | *[\\/]* ) as_myself=$0 ;; |
3814 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4767 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3815 | for as_dir in $PATH |
4768 | for as_dir in $PATH |
3816 | do |
4769 | do |
… | |
… | |
4002 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4955 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4003 | as_ln_s='ln -s' |
4956 | as_ln_s='ln -s' |
4004 | # ... but there are two gotchas: |
4957 | # ... but there are two gotchas: |
4005 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4958 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4006 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4959 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4007 | # In both cases, we have to default to `cp -p'. |
4960 | # In both cases, we have to default to `cp -pR'. |
4008 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4961 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4009 | as_ln_s='cp -p' |
4962 | as_ln_s='cp -pR' |
4010 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4963 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4011 | as_ln_s=ln |
4964 | as_ln_s=ln |
4012 | else |
4965 | else |
4013 | as_ln_s='cp -p' |
4966 | as_ln_s='cp -pR' |
4014 | fi |
4967 | fi |
4015 | else |
4968 | else |
4016 | as_ln_s='cp -p' |
4969 | as_ln_s='cp -pR' |
4017 | fi |
4970 | fi |
4018 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4971 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4019 | rmdir conf$$.dir 2>/dev/null |
4972 | rmdir conf$$.dir 2>/dev/null |
4020 | |
4973 | |
4021 | |
4974 | |
… | |
… | |
4071 | else |
5024 | else |
4072 | test -d ./-p && rmdir ./-p |
5025 | test -d ./-p && rmdir ./-p |
4073 | as_mkdir_p=false |
5026 | as_mkdir_p=false |
4074 | fi |
5027 | fi |
4075 | |
5028 | |
4076 | if test -x / >/dev/null 2>&1; then |
5029 | |
|
|
5030 | # as_fn_executable_p FILE |
|
|
5031 | # ----------------------- |
|
|
5032 | # Test if FILE is an executable regular file. |
|
|
5033 | as_fn_executable_p () |
|
|
5034 | { |
|
|
5035 | test -f "$1" && test -x "$1" |
|
|
5036 | } # as_fn_executable_p |
4077 | as_test_x='test -x' |
5037 | as_test_x='test -x' |
4078 | else |
5038 | as_executable_p=as_fn_executable_p |
4079 | if ls -dL / >/dev/null 2>&1; then |
|
|
4080 | as_ls_L_option=L |
|
|
4081 | else |
|
|
4082 | as_ls_L_option= |
|
|
4083 | fi |
|
|
4084 | as_test_x=' |
|
|
4085 | eval sh -c '\'' |
|
|
4086 | if test -d "$1"; then |
|
|
4087 | test -d "$1/."; |
|
|
4088 | else |
|
|
4089 | case $1 in #( |
|
|
4090 | -*)set "./$1";; |
|
|
4091 | esac; |
|
|
4092 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
4093 | ???[sx]*):;;*)false;;esac;fi |
|
|
4094 | '\'' sh |
|
|
4095 | ' |
|
|
4096 | fi |
|
|
4097 | as_executable_p=$as_test_x |
|
|
4098 | |
5039 | |
4099 | # Sed expression to map a string onto a valid CPP name. |
5040 | # Sed expression to map a string onto a valid CPP name. |
4100 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
5041 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4101 | |
5042 | |
4102 | # Sed expression to map a string onto a valid variable name. |
5043 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
4114 | # Save the log message, to keep $0 and so on meaningful, and to |
5055 | # Save the log message, to keep $0 and so on meaningful, and to |
4115 | # report actual input values of CONFIG_FILES etc. instead of their |
5056 | # report actual input values of CONFIG_FILES etc. instead of their |
4116 | # values after options handling. |
5057 | # values after options handling. |
4117 | ac_log=" |
5058 | ac_log=" |
4118 | This file was extended by $as_me, which was |
5059 | This file was extended by $as_me, which was |
4119 | generated by GNU Autoconf 2.67. Invocation command line was |
5060 | generated by GNU Autoconf 2.69. Invocation command line was |
4120 | |
5061 | |
4121 | CONFIG_FILES = $CONFIG_FILES |
5062 | CONFIG_FILES = $CONFIG_FILES |
4122 | CONFIG_HEADERS = $CONFIG_HEADERS |
5063 | CONFIG_HEADERS = $CONFIG_HEADERS |
4123 | CONFIG_LINKS = $CONFIG_LINKS |
5064 | CONFIG_LINKS = $CONFIG_LINKS |
4124 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
5065 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
4167 | _ACEOF |
5108 | _ACEOF |
4168 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5109 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4169 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
5110 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4170 | ac_cs_version="\\ |
5111 | ac_cs_version="\\ |
4171 | config.status |
5112 | config.status |
4172 | configured by $0, generated by GNU Autoconf 2.67, |
5113 | configured by $0, generated by GNU Autoconf 2.69, |
4173 | with options \\"\$ac_cs_config\\" |
5114 | with options \\"\$ac_cs_config\\" |
4174 | |
5115 | |
4175 | Copyright (C) 2010 Free Software Foundation, Inc. |
5116 | Copyright (C) 2012 Free Software Foundation, Inc. |
4176 | This config.status script is free software; the Free Software Foundation |
5117 | This config.status script is free software; the Free Software Foundation |
4177 | gives unlimited permission to copy, distribute and modify it." |
5118 | gives unlimited permission to copy, distribute and modify it." |
4178 | |
5119 | |
4179 | ac_pwd='$ac_pwd' |
5120 | ac_pwd='$ac_pwd' |
4180 | srcdir='$srcdir' |
5121 | srcdir='$srcdir' |
… | |
… | |
4250 | fi |
5191 | fi |
4251 | |
5192 | |
4252 | _ACEOF |
5193 | _ACEOF |
4253 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5194 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4254 | if \$ac_cs_recheck; then |
5195 | if \$ac_cs_recheck; then |
4255 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
5196 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4256 | shift |
5197 | shift |
4257 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
5198 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4258 | CONFIG_SHELL='$SHELL' |
5199 | CONFIG_SHELL='$SHELL' |
4259 | export CONFIG_SHELL |
5200 | export CONFIG_SHELL |
4260 | exec "\$@" |
5201 | exec "\$@" |
… | |
… | |
4281 | for ac_config_target in $ac_config_targets |
5222 | for ac_config_target in $ac_config_targets |
4282 | do |
5223 | do |
4283 | case $ac_config_target in |
5224 | case $ac_config_target in |
4284 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
5225 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
4285 | |
5226 | |
4286 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
5227 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4287 | esac |
5228 | esac |
4288 | done |
5229 | done |
4289 | |
5230 | |
4290 | |
5231 | |
4291 | # If the user did not use the arguments to specify the items to instantiate, |
5232 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
4302 | # Hook for its removal unless debugging. |
5243 | # Hook for its removal unless debugging. |
4303 | # Note that there is a small window in which the directory will not be cleaned: |
5244 | # Note that there is a small window in which the directory will not be cleaned: |
4304 | # after its creation but before its name has been assigned to `$tmp'. |
5245 | # after its creation but before its name has been assigned to `$tmp'. |
4305 | $debug || |
5246 | $debug || |
4306 | { |
5247 | { |
4307 | tmp= |
5248 | tmp= ac_tmp= |
4308 | trap 'exit_status=$? |
5249 | trap 'exit_status=$? |
|
|
5250 | : "${ac_tmp:=$tmp}" |
4309 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
5251 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
4310 | ' 0 |
5252 | ' 0 |
4311 | trap 'as_fn_exit 1' 1 2 13 15 |
5253 | trap 'as_fn_exit 1' 1 2 13 15 |
4312 | } |
5254 | } |
4313 | # Create a (secure) tmp directory for tmp files. |
5255 | # Create a (secure) tmp directory for tmp files. |
4314 | |
5256 | |
4315 | { |
5257 | { |
4316 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5258 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
4317 | test -n "$tmp" && test -d "$tmp" |
5259 | test -d "$tmp" |
4318 | } || |
5260 | } || |
4319 | { |
5261 | { |
4320 | tmp=./conf$$-$RANDOM |
5262 | tmp=./conf$$-$RANDOM |
4321 | (umask 077 && mkdir "$tmp") |
5263 | (umask 077 && mkdir "$tmp") |
4322 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
5264 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
5265 | ac_tmp=$tmp |
4323 | |
5266 | |
4324 | # Set up the scripts for CONFIG_HEADERS section. |
5267 | # Set up the scripts for CONFIG_HEADERS section. |
4325 | # No need to generate them if there are no CONFIG_HEADERS. |
5268 | # No need to generate them if there are no CONFIG_HEADERS. |
4326 | # This happens for instance with `./config.status Makefile'. |
5269 | # This happens for instance with `./config.status Makefile'. |
4327 | if test -n "$CONFIG_HEADERS"; then |
5270 | if test -n "$CONFIG_HEADERS"; then |
4328 | cat >"$tmp/defines.awk" <<\_ACAWK || |
5271 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
4329 | BEGIN { |
5272 | BEGIN { |
4330 | _ACEOF |
5273 | _ACEOF |
4331 | |
5274 | |
4332 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
5275 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
4333 | # here-document in config.status, that substitutes the proper values into |
5276 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
4335 | |
5278 | |
4336 | # Create a delimiter string that does not exist in confdefs.h, to ease |
5279 | # Create a delimiter string that does not exist in confdefs.h, to ease |
4337 | # handling of long lines. |
5280 | # handling of long lines. |
4338 | ac_delim='%!_!# ' |
5281 | ac_delim='%!_!# ' |
4339 | for ac_last_try in false false :; do |
5282 | for ac_last_try in false false :; do |
4340 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
5283 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
4341 | if test -z "$ac_t"; then |
5284 | if test -z "$ac_tt"; then |
4342 | break |
5285 | break |
4343 | elif $ac_last_try; then |
5286 | elif $ac_last_try; then |
4344 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5287 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
4345 | else |
5288 | else |
4346 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5289 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
4437 | case $ac_tag in |
5380 | case $ac_tag in |
4438 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5381 | :[FHLC]) ac_mode=$ac_tag; continue;; |
4439 | esac |
5382 | esac |
4440 | case $ac_mode$ac_tag in |
5383 | case $ac_mode$ac_tag in |
4441 | :[FHL]*:*);; |
5384 | :[FHL]*:*);; |
4442 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
5385 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
4443 | :[FH]-) ac_tag=-:-;; |
5386 | :[FH]-) ac_tag=-:-;; |
4444 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5387 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
4445 | esac |
5388 | esac |
4446 | ac_save_IFS=$IFS |
5389 | ac_save_IFS=$IFS |
4447 | IFS=: |
5390 | IFS=: |
… | |
… | |
4456 | :[FH]) |
5399 | :[FH]) |
4457 | ac_file_inputs= |
5400 | ac_file_inputs= |
4458 | for ac_f |
5401 | for ac_f |
4459 | do |
5402 | do |
4460 | case $ac_f in |
5403 | case $ac_f in |
4461 | -) ac_f="$tmp/stdin";; |
5404 | -) ac_f="$ac_tmp/stdin";; |
4462 | *) # Look for the file first in the build tree, then in the source tree |
5405 | *) # Look for the file first in the build tree, then in the source tree |
4463 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5406 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
4464 | # because $ac_f cannot contain `:'. |
5407 | # because $ac_f cannot contain `:'. |
4465 | test -f "$ac_f" || |
5408 | test -f "$ac_f" || |
4466 | case $ac_f in |
5409 | case $ac_f in |
4467 | [\\/$]*) false;; |
5410 | [\\/$]*) false;; |
4468 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5411 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
4469 | esac || |
5412 | esac || |
4470 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
5413 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
4471 | esac |
5414 | esac |
4472 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5415 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
4473 | as_fn_append ac_file_inputs " '$ac_f'" |
5416 | as_fn_append ac_file_inputs " '$ac_f'" |
4474 | done |
5417 | done |
4475 | |
5418 | |
… | |
… | |
4491 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5434 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
4492 | *) ac_sed_conf_input=$configure_input;; |
5435 | *) ac_sed_conf_input=$configure_input;; |
4493 | esac |
5436 | esac |
4494 | |
5437 | |
4495 | case $ac_tag in |
5438 | case $ac_tag in |
4496 | *:-:* | *:-) cat >"$tmp/stdin" \ |
5439 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
4497 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
5440 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
4498 | esac |
5441 | esac |
4499 | ;; |
5442 | ;; |
4500 | esac |
5443 | esac |
4501 | |
5444 | |
4502 | ac_dir=`$as_dirname -- "$ac_file" || |
5445 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
4565 | # CONFIG_HEADER |
5508 | # CONFIG_HEADER |
4566 | # |
5509 | # |
4567 | if test x"$ac_file" != x-; then |
5510 | if test x"$ac_file" != x-; then |
4568 | { |
5511 | { |
4569 | $as_echo "/* $configure_input */" \ |
5512 | $as_echo "/* $configure_input */" \ |
4570 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
5513 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
4571 | } >"$tmp/config.h" \ |
5514 | } >"$ac_tmp/config.h" \ |
4572 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5515 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4573 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
5516 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
4574 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5517 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
4575 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5518 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
4576 | else |
5519 | else |
4577 | rm -f "$ac_file" |
5520 | rm -f "$ac_file" |
4578 | mv "$tmp/config.h" "$ac_file" \ |
5521 | mv "$ac_tmp/config.h" "$ac_file" \ |
4579 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5522 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4580 | fi |
5523 | fi |
4581 | else |
5524 | else |
4582 | $as_echo "/* $configure_input */" \ |
5525 | $as_echo "/* $configure_input */" \ |
4583 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
5526 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
4584 | || as_fn_error $? "could not create -" "$LINENO" 5 |
5527 | || as_fn_error $? "could not create -" "$LINENO" 5 |
4585 | fi |
5528 | fi |
4586 | ;; |
5529 | ;; |
4587 | |
5530 | |
4588 | |
5531 | |