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 |
… | |
… | |
1994 | if test -n "$ac_tool_prefix"; then |
2032 | if test -n "$ac_tool_prefix"; then |
1995 | # 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. |
1996 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2034 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1997 | { $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 |
1998 | $as_echo_n "checking for $ac_word... " >&6; } |
2036 | $as_echo_n "checking for $ac_word... " >&6; } |
1999 | if test "${ac_cv_prog_CC+set}" = set; then : |
2037 | if ${ac_cv_prog_CC+:} false; then : |
2000 | $as_echo_n "(cached) " >&6 |
2038 | $as_echo_n "(cached) " >&6 |
2001 | else |
2039 | else |
2002 | if test -n "$CC"; then |
2040 | if test -n "$CC"; then |
2003 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2041 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2004 | else |
2042 | else |
… | |
… | |
2006 | for as_dir in $PATH |
2044 | for as_dir in $PATH |
2007 | do |
2045 | do |
2008 | IFS=$as_save_IFS |
2046 | IFS=$as_save_IFS |
2009 | test -z "$as_dir" && as_dir=. |
2047 | test -z "$as_dir" && as_dir=. |
2010 | for ac_exec_ext in '' $ac_executable_extensions; do |
2048 | for ac_exec_ext in '' $ac_executable_extensions; do |
2011 | 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 |
2012 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2050 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2013 | $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 |
2014 | break 2 |
2052 | break 2 |
2015 | fi |
2053 | fi |
2016 | done |
2054 | done |
… | |
… | |
2034 | ac_ct_CC=$CC |
2072 | ac_ct_CC=$CC |
2035 | # 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. |
2036 | set dummy gcc; ac_word=$2 |
2074 | set dummy gcc; ac_word=$2 |
2037 | { $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 |
2038 | $as_echo_n "checking for $ac_word... " >&6; } |
2076 | $as_echo_n "checking for $ac_word... " >&6; } |
2039 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2077 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2040 | $as_echo_n "(cached) " >&6 |
2078 | $as_echo_n "(cached) " >&6 |
2041 | else |
2079 | else |
2042 | if test -n "$ac_ct_CC"; then |
2080 | if test -n "$ac_ct_CC"; then |
2043 | 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. |
2044 | else |
2082 | else |
… | |
… | |
2046 | for as_dir in $PATH |
2084 | for as_dir in $PATH |
2047 | do |
2085 | do |
2048 | IFS=$as_save_IFS |
2086 | IFS=$as_save_IFS |
2049 | test -z "$as_dir" && as_dir=. |
2087 | test -z "$as_dir" && as_dir=. |
2050 | for ac_exec_ext in '' $ac_executable_extensions; do |
2088 | for ac_exec_ext in '' $ac_executable_extensions; do |
2051 | 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 |
2052 | ac_cv_prog_ac_ct_CC="gcc" |
2090 | ac_cv_prog_ac_ct_CC="gcc" |
2053 | $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 |
2054 | break 2 |
2092 | break 2 |
2055 | fi |
2093 | fi |
2056 | done |
2094 | done |
… | |
… | |
2087 | if test -n "$ac_tool_prefix"; then |
2125 | if test -n "$ac_tool_prefix"; then |
2088 | # 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. |
2089 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2127 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2090 | { $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 |
2091 | $as_echo_n "checking for $ac_word... " >&6; } |
2129 | $as_echo_n "checking for $ac_word... " >&6; } |
2092 | if test "${ac_cv_prog_CC+set}" = set; then : |
2130 | if ${ac_cv_prog_CC+:} false; then : |
2093 | $as_echo_n "(cached) " >&6 |
2131 | $as_echo_n "(cached) " >&6 |
2094 | else |
2132 | else |
2095 | if test -n "$CC"; then |
2133 | if test -n "$CC"; then |
2096 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2134 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2097 | else |
2135 | else |
… | |
… | |
2099 | for as_dir in $PATH |
2137 | for as_dir in $PATH |
2100 | do |
2138 | do |
2101 | IFS=$as_save_IFS |
2139 | IFS=$as_save_IFS |
2102 | test -z "$as_dir" && as_dir=. |
2140 | test -z "$as_dir" && as_dir=. |
2103 | for ac_exec_ext in '' $ac_executable_extensions; do |
2141 | for ac_exec_ext in '' $ac_executable_extensions; do |
2104 | 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 |
2105 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2143 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2106 | $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 |
2107 | break 2 |
2145 | break 2 |
2108 | fi |
2146 | fi |
2109 | done |
2147 | done |
… | |
… | |
2127 | if test -z "$CC"; then |
2165 | if test -z "$CC"; then |
2128 | # 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. |
2129 | set dummy cc; ac_word=$2 |
2167 | set dummy cc; ac_word=$2 |
2130 | { $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 |
2131 | $as_echo_n "checking for $ac_word... " >&6; } |
2169 | $as_echo_n "checking for $ac_word... " >&6; } |
2132 | if test "${ac_cv_prog_CC+set}" = set; then : |
2170 | if ${ac_cv_prog_CC+:} false; then : |
2133 | $as_echo_n "(cached) " >&6 |
2171 | $as_echo_n "(cached) " >&6 |
2134 | else |
2172 | else |
2135 | if test -n "$CC"; then |
2173 | if test -n "$CC"; then |
2136 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2174 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2137 | else |
2175 | else |
… | |
… | |
2140 | for as_dir in $PATH |
2178 | for as_dir in $PATH |
2141 | do |
2179 | do |
2142 | IFS=$as_save_IFS |
2180 | IFS=$as_save_IFS |
2143 | test -z "$as_dir" && as_dir=. |
2181 | test -z "$as_dir" && as_dir=. |
2144 | for ac_exec_ext in '' $ac_executable_extensions; do |
2182 | for ac_exec_ext in '' $ac_executable_extensions; do |
2145 | 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 |
2146 | 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 |
2147 | ac_prog_rejected=yes |
2185 | ac_prog_rejected=yes |
2148 | continue |
2186 | continue |
2149 | fi |
2187 | fi |
2150 | ac_cv_prog_CC="cc" |
2188 | ac_cv_prog_CC="cc" |
… | |
… | |
2186 | do |
2224 | do |
2187 | # 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. |
2188 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2189 | { $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 |
2190 | $as_echo_n "checking for $ac_word... " >&6; } |
2228 | $as_echo_n "checking for $ac_word... " >&6; } |
2191 | if test "${ac_cv_prog_CC+set}" = set; then : |
2229 | if ${ac_cv_prog_CC+:} false; then : |
2192 | $as_echo_n "(cached) " >&6 |
2230 | $as_echo_n "(cached) " >&6 |
2193 | else |
2231 | else |
2194 | if test -n "$CC"; then |
2232 | if test -n "$CC"; then |
2195 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2233 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2196 | else |
2234 | else |
… | |
… | |
2198 | for as_dir in $PATH |
2236 | for as_dir in $PATH |
2199 | do |
2237 | do |
2200 | IFS=$as_save_IFS |
2238 | IFS=$as_save_IFS |
2201 | test -z "$as_dir" && as_dir=. |
2239 | test -z "$as_dir" && as_dir=. |
2202 | for ac_exec_ext in '' $ac_executable_extensions; do |
2240 | for ac_exec_ext in '' $ac_executable_extensions; do |
2203 | 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 |
2204 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2242 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2205 | $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 |
2206 | break 2 |
2244 | break 2 |
2207 | fi |
2245 | fi |
2208 | done |
2246 | done |
… | |
… | |
2230 | do |
2268 | do |
2231 | # 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. |
2232 | set dummy $ac_prog; ac_word=$2 |
2270 | set dummy $ac_prog; ac_word=$2 |
2233 | { $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 |
2234 | $as_echo_n "checking for $ac_word... " >&6; } |
2272 | $as_echo_n "checking for $ac_word... " >&6; } |
2235 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2273 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2236 | $as_echo_n "(cached) " >&6 |
2274 | $as_echo_n "(cached) " >&6 |
2237 | else |
2275 | else |
2238 | if test -n "$ac_ct_CC"; then |
2276 | if test -n "$ac_ct_CC"; then |
2239 | 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. |
2240 | else |
2278 | else |
… | |
… | |
2242 | for as_dir in $PATH |
2280 | for as_dir in $PATH |
2243 | do |
2281 | do |
2244 | IFS=$as_save_IFS |
2282 | IFS=$as_save_IFS |
2245 | test -z "$as_dir" && as_dir=. |
2283 | test -z "$as_dir" && as_dir=. |
2246 | for ac_exec_ext in '' $ac_executable_extensions; do |
2284 | for ac_exec_ext in '' $ac_executable_extensions; do |
2247 | 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 |
2248 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2286 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2249 | $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 |
2250 | break 2 |
2288 | break 2 |
2251 | fi |
2289 | fi |
2252 | done |
2290 | done |
… | |
… | |
2285 | |
2323 | |
2286 | |
2324 | |
2287 | 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 |
2288 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2326 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2289 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2327 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2290 | See \`config.log' for more details" "$LINENO" 5 ; } |
2328 | See \`config.log' for more details" "$LINENO" 5; } |
2291 | |
2329 | |
2292 | # Provide some information about the compiler. |
2330 | # Provide some information about the compiler. |
2293 | $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 |
2294 | set X $ac_compile |
2332 | set X $ac_compile |
2295 | ac_compiler=$2 |
2333 | ac_compiler=$2 |
… | |
… | |
2400 | sed 's/^/| /' conftest.$ac_ext >&5 |
2438 | sed 's/^/| /' conftest.$ac_ext >&5 |
2401 | |
2439 | |
2402 | { { $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 |
2403 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2441 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2404 | as_fn_error 77 "C compiler cannot create executables |
2442 | as_fn_error 77 "C compiler cannot create executables |
2405 | See \`config.log' for more details" "$LINENO" 5 ; } |
2443 | See \`config.log' for more details" "$LINENO" 5; } |
2406 | else |
2444 | else |
2407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2408 | $as_echo "yes" >&6; } |
2446 | $as_echo "yes" >&6; } |
2409 | fi |
2447 | fi |
2410 | { $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 |
… | |
… | |
2443 | done |
2481 | done |
2444 | else |
2482 | else |
2445 | { { $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 |
2446 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2484 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2447 | 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 |
2448 | See \`config.log' for more details" "$LINENO" 5 ; } |
2486 | See \`config.log' for more details" "$LINENO" 5; } |
2449 | fi |
2487 | fi |
2450 | rm -f conftest conftest$ac_cv_exeext |
2488 | rm -f conftest conftest$ac_cv_exeext |
2451 | { $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 |
2452 | $as_echo "$ac_cv_exeext" >&6; } |
2490 | $as_echo "$ac_cv_exeext" >&6; } |
2453 | |
2491 | |
… | |
… | |
2502 | else |
2540 | else |
2503 | { { $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 |
2504 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2542 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2505 | as_fn_error $? "cannot run C compiled programs. |
2543 | as_fn_error $? "cannot run C compiled programs. |
2506 | If you meant to cross compile, use \`--host'. |
2544 | If you meant to cross compile, use \`--host'. |
2507 | See \`config.log' for more details" "$LINENO" 5 ; } |
2545 | See \`config.log' for more details" "$LINENO" 5; } |
2508 | fi |
2546 | fi |
2509 | fi |
2547 | fi |
2510 | fi |
2548 | fi |
2511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2512 | $as_echo "$cross_compiling" >&6; } |
2550 | $as_echo "$cross_compiling" >&6; } |
2513 | |
2551 | |
2514 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2552 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2515 | ac_clean_files=$ac_clean_files_save |
2553 | ac_clean_files=$ac_clean_files_save |
2516 | { $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 |
2517 | $as_echo_n "checking for suffix of object files... " >&6; } |
2555 | $as_echo_n "checking for suffix of object files... " >&6; } |
2518 | if test "${ac_cv_objext+set}" = set; then : |
2556 | if ${ac_cv_objext+:} false; then : |
2519 | $as_echo_n "(cached) " >&6 |
2557 | $as_echo_n "(cached) " >&6 |
2520 | else |
2558 | else |
2521 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2559 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2522 | /* end confdefs.h. */ |
2560 | /* end confdefs.h. */ |
2523 | |
2561 | |
… | |
… | |
2554 | sed 's/^/| /' conftest.$ac_ext >&5 |
2592 | sed 's/^/| /' conftest.$ac_ext >&5 |
2555 | |
2593 | |
2556 | { { $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 |
2557 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2595 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2558 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2596 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2559 | See \`config.log' for more details" "$LINENO" 5 ; } |
2597 | See \`config.log' for more details" "$LINENO" 5; } |
2560 | fi |
2598 | fi |
2561 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2599 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2562 | fi |
2600 | fi |
2563 | { $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 |
2564 | $as_echo "$ac_cv_objext" >&6; } |
2602 | $as_echo "$ac_cv_objext" >&6; } |
2565 | OBJEXT=$ac_cv_objext |
2603 | OBJEXT=$ac_cv_objext |
2566 | ac_objext=$OBJEXT |
2604 | ac_objext=$OBJEXT |
2567 | { $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 |
2568 | $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; } |
2569 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2607 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2570 | $as_echo_n "(cached) " >&6 |
2608 | $as_echo_n "(cached) " >&6 |
2571 | else |
2609 | else |
2572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2573 | /* end confdefs.h. */ |
2611 | /* end confdefs.h. */ |
2574 | |
2612 | |
… | |
… | |
2601 | fi |
2639 | fi |
2602 | ac_test_CFLAGS=${CFLAGS+set} |
2640 | ac_test_CFLAGS=${CFLAGS+set} |
2603 | ac_save_CFLAGS=$CFLAGS |
2641 | ac_save_CFLAGS=$CFLAGS |
2604 | { $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 |
2605 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2643 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2606 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2644 | if ${ac_cv_prog_cc_g+:} false; then : |
2607 | $as_echo_n "(cached) " >&6 |
2645 | $as_echo_n "(cached) " >&6 |
2608 | else |
2646 | else |
2609 | ac_save_c_werror_flag=$ac_c_werror_flag |
2647 | ac_save_c_werror_flag=$ac_c_werror_flag |
2610 | ac_c_werror_flag=yes |
2648 | ac_c_werror_flag=yes |
2611 | ac_cv_prog_cc_g=no |
2649 | ac_cv_prog_cc_g=no |
… | |
… | |
2679 | CFLAGS= |
2717 | CFLAGS= |
2680 | fi |
2718 | fi |
2681 | fi |
2719 | fi |
2682 | { $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 |
2683 | $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; } |
2684 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2722 | if ${ac_cv_prog_cc_c89+:} false; then : |
2685 | $as_echo_n "(cached) " >&6 |
2723 | $as_echo_n "(cached) " >&6 |
2686 | else |
2724 | else |
2687 | ac_cv_prog_cc_c89=no |
2725 | ac_cv_prog_cc_c89=no |
2688 | ac_save_CC=$CC |
2726 | ac_save_CC=$CC |
2689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2727 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2690 | /* end confdefs.h. */ |
2728 | /* end confdefs.h. */ |
2691 | #include <stdarg.h> |
2729 | #include <stdarg.h> |
2692 | #include <stdio.h> |
2730 | #include <stdio.h> |
2693 | #include <sys/types.h> |
2731 | struct stat; |
2694 | #include <sys/stat.h> |
|
|
2695 | /* 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. */ |
2696 | struct buf { int x; }; |
2733 | struct buf { int x; }; |
2697 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2734 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2698 | static char *e (p, i) |
2735 | static char *e (p, i) |
2699 | char **p; |
2736 | char **p; |
… | |
… | |
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> |
… | |
… | |
3174 | done |
3211 | done |
3175 | |
3212 | |
3176 | |
3213 | |
3177 | |
3214 | |
3178 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
3215 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
3179 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
3216 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
3180 | MINIX=yes |
3217 | MINIX=yes |
3181 | else |
3218 | else |
3182 | MINIX= |
3219 | MINIX= |
3183 | fi |
3220 | fi |
3184 | |
3221 | |
… | |
… | |
3196 | fi |
3233 | fi |
3197 | |
3234 | |
3198 | |
3235 | |
3199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
3200 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
3237 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
3201 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
3238 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
3202 | $as_echo_n "(cached) " >&6 |
3239 | $as_echo_n "(cached) " >&6 |
3203 | else |
3240 | else |
3204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3205 | /* end confdefs.h. */ |
3242 | /* end confdefs.h. */ |
3206 | |
3243 | |
3207 | # define __EXTENSIONS__ 1 |
3244 | # define __EXTENSIONS__ 1 |
3208 | $ac_includes_default |
3245 | $ac_includes_default |
3209 | int |
3246 | int |
3210 | main () |
3247 | main () |
3211 | { |
3248 | { |
3212 | |
3249 | |
3213 | ; |
3250 | ; |
… | |
… | |
3244 | if test -n "$ac_tool_prefix"; then |
3281 | if test -n "$ac_tool_prefix"; then |
3245 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3282 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3246 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3283 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3248 | $as_echo_n "checking for $ac_word... " >&6; } |
3285 | $as_echo_n "checking for $ac_word... " >&6; } |
3249 | if test "${ac_cv_prog_CC+set}" = set; then : |
3286 | if ${ac_cv_prog_CC+:} false; then : |
3250 | $as_echo_n "(cached) " >&6 |
3287 | $as_echo_n "(cached) " >&6 |
3251 | else |
3288 | else |
3252 | if test -n "$CC"; then |
3289 | if test -n "$CC"; then |
3253 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3290 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3254 | else |
3291 | else |
… | |
… | |
3256 | for as_dir in $PATH |
3293 | for as_dir in $PATH |
3257 | do |
3294 | do |
3258 | IFS=$as_save_IFS |
3295 | IFS=$as_save_IFS |
3259 | test -z "$as_dir" && as_dir=. |
3296 | test -z "$as_dir" && as_dir=. |
3260 | for ac_exec_ext in '' $ac_executable_extensions; do |
3297 | for ac_exec_ext in '' $ac_executable_extensions; do |
3261 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3298 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3262 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3299 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3263 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3300 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3264 | break 2 |
3301 | break 2 |
3265 | fi |
3302 | fi |
3266 | done |
3303 | done |
… | |
… | |
3284 | ac_ct_CC=$CC |
3321 | ac_ct_CC=$CC |
3285 | # Extract the first word of "gcc", so it can be a program name with args. |
3322 | # Extract the first word of "gcc", so it can be a program name with args. |
3286 | set dummy gcc; ac_word=$2 |
3323 | set dummy gcc; ac_word=$2 |
3287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3288 | $as_echo_n "checking for $ac_word... " >&6; } |
3325 | $as_echo_n "checking for $ac_word... " >&6; } |
3289 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3326 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3290 | $as_echo_n "(cached) " >&6 |
3327 | $as_echo_n "(cached) " >&6 |
3291 | else |
3328 | else |
3292 | if test -n "$ac_ct_CC"; then |
3329 | if test -n "$ac_ct_CC"; then |
3293 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3330 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3294 | else |
3331 | else |
… | |
… | |
3296 | for as_dir in $PATH |
3333 | for as_dir in $PATH |
3297 | do |
3334 | do |
3298 | IFS=$as_save_IFS |
3335 | IFS=$as_save_IFS |
3299 | test -z "$as_dir" && as_dir=. |
3336 | test -z "$as_dir" && as_dir=. |
3300 | for ac_exec_ext in '' $ac_executable_extensions; do |
3337 | for ac_exec_ext in '' $ac_executable_extensions; do |
3301 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3338 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3302 | ac_cv_prog_ac_ct_CC="gcc" |
3339 | ac_cv_prog_ac_ct_CC="gcc" |
3303 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3340 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3304 | break 2 |
3341 | break 2 |
3305 | fi |
3342 | fi |
3306 | done |
3343 | done |
… | |
… | |
3337 | if test -n "$ac_tool_prefix"; then |
3374 | if test -n "$ac_tool_prefix"; then |
3338 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3375 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3339 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3376 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3341 | $as_echo_n "checking for $ac_word... " >&6; } |
3378 | $as_echo_n "checking for $ac_word... " >&6; } |
3342 | if test "${ac_cv_prog_CC+set}" = set; then : |
3379 | if ${ac_cv_prog_CC+:} false; then : |
3343 | $as_echo_n "(cached) " >&6 |
3380 | $as_echo_n "(cached) " >&6 |
3344 | else |
3381 | else |
3345 | if test -n "$CC"; then |
3382 | if test -n "$CC"; then |
3346 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3347 | else |
3384 | else |
… | |
… | |
3349 | for as_dir in $PATH |
3386 | for as_dir in $PATH |
3350 | do |
3387 | do |
3351 | IFS=$as_save_IFS |
3388 | IFS=$as_save_IFS |
3352 | test -z "$as_dir" && as_dir=. |
3389 | test -z "$as_dir" && as_dir=. |
3353 | for ac_exec_ext in '' $ac_executable_extensions; do |
3390 | for ac_exec_ext in '' $ac_executable_extensions; do |
3354 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3391 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3355 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3392 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3356 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3393 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3357 | break 2 |
3394 | break 2 |
3358 | fi |
3395 | fi |
3359 | done |
3396 | done |
… | |
… | |
3377 | if test -z "$CC"; then |
3414 | if test -z "$CC"; then |
3378 | # Extract the first word of "cc", so it can be a program name with args. |
3415 | # Extract the first word of "cc", so it can be a program name with args. |
3379 | set dummy cc; ac_word=$2 |
3416 | set dummy cc; ac_word=$2 |
3380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3381 | $as_echo_n "checking for $ac_word... " >&6; } |
3418 | $as_echo_n "checking for $ac_word... " >&6; } |
3382 | if test "${ac_cv_prog_CC+set}" = set; then : |
3419 | if ${ac_cv_prog_CC+:} false; then : |
3383 | $as_echo_n "(cached) " >&6 |
3420 | $as_echo_n "(cached) " >&6 |
3384 | else |
3421 | else |
3385 | if test -n "$CC"; then |
3422 | if test -n "$CC"; then |
3386 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3423 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3387 | else |
3424 | else |
… | |
… | |
3390 | for as_dir in $PATH |
3427 | for as_dir in $PATH |
3391 | do |
3428 | do |
3392 | IFS=$as_save_IFS |
3429 | IFS=$as_save_IFS |
3393 | test -z "$as_dir" && as_dir=. |
3430 | test -z "$as_dir" && as_dir=. |
3394 | for ac_exec_ext in '' $ac_executable_extensions; do |
3431 | for ac_exec_ext in '' $ac_executable_extensions; do |
3395 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3432 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3396 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3433 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3397 | ac_prog_rejected=yes |
3434 | ac_prog_rejected=yes |
3398 | continue |
3435 | continue |
3399 | fi |
3436 | fi |
3400 | ac_cv_prog_CC="cc" |
3437 | ac_cv_prog_CC="cc" |
… | |
… | |
3436 | do |
3473 | do |
3437 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3474 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3438 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3475 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3440 | $as_echo_n "checking for $ac_word... " >&6; } |
3477 | $as_echo_n "checking for $ac_word... " >&6; } |
3441 | if test "${ac_cv_prog_CC+set}" = set; then : |
3478 | if ${ac_cv_prog_CC+:} false; then : |
3442 | $as_echo_n "(cached) " >&6 |
3479 | $as_echo_n "(cached) " >&6 |
3443 | else |
3480 | else |
3444 | if test -n "$CC"; then |
3481 | if test -n "$CC"; then |
3445 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3482 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3446 | else |
3483 | else |
… | |
… | |
3448 | for as_dir in $PATH |
3485 | for as_dir in $PATH |
3449 | do |
3486 | do |
3450 | IFS=$as_save_IFS |
3487 | IFS=$as_save_IFS |
3451 | test -z "$as_dir" && as_dir=. |
3488 | test -z "$as_dir" && as_dir=. |
3452 | for ac_exec_ext in '' $ac_executable_extensions; do |
3489 | for ac_exec_ext in '' $ac_executable_extensions; do |
3453 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3490 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3454 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3491 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3455 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3492 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3456 | break 2 |
3493 | break 2 |
3457 | fi |
3494 | fi |
3458 | done |
3495 | done |
… | |
… | |
3480 | do |
3517 | do |
3481 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3518 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3482 | set dummy $ac_prog; ac_word=$2 |
3519 | set dummy $ac_prog; ac_word=$2 |
3483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3484 | $as_echo_n "checking for $ac_word... " >&6; } |
3521 | $as_echo_n "checking for $ac_word... " >&6; } |
3485 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3522 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3486 | $as_echo_n "(cached) " >&6 |
3523 | $as_echo_n "(cached) " >&6 |
3487 | else |
3524 | else |
3488 | if test -n "$ac_ct_CC"; then |
3525 | if test -n "$ac_ct_CC"; then |
3489 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3526 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3490 | else |
3527 | else |
… | |
… | |
3492 | for as_dir in $PATH |
3529 | for as_dir in $PATH |
3493 | do |
3530 | do |
3494 | IFS=$as_save_IFS |
3531 | IFS=$as_save_IFS |
3495 | test -z "$as_dir" && as_dir=. |
3532 | test -z "$as_dir" && as_dir=. |
3496 | for ac_exec_ext in '' $ac_executable_extensions; do |
3533 | for ac_exec_ext in '' $ac_executable_extensions; do |
3497 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3534 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3498 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3535 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3499 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3536 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3500 | break 2 |
3537 | break 2 |
3501 | fi |
3538 | fi |
3502 | done |
3539 | done |
… | |
… | |
3535 | |
3572 | |
3536 | |
3573 | |
3537 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3574 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3538 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3575 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3539 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3576 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3540 | See \`config.log' for more details" "$LINENO" 5 ; } |
3577 | See \`config.log' for more details" "$LINENO" 5; } |
3541 | |
3578 | |
3542 | # Provide some information about the compiler. |
3579 | # Provide some information about the compiler. |
3543 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3580 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3544 | set X $ac_compile |
3581 | set X $ac_compile |
3545 | ac_compiler=$2 |
3582 | ac_compiler=$2 |
… | |
… | |
3564 | test $ac_status = 0; } |
3601 | test $ac_status = 0; } |
3565 | done |
3602 | done |
3566 | |
3603 | |
3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3568 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3605 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3569 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3606 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3570 | $as_echo_n "(cached) " >&6 |
3607 | $as_echo_n "(cached) " >&6 |
3571 | else |
3608 | else |
3572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3573 | /* end confdefs.h. */ |
3610 | /* end confdefs.h. */ |
3574 | |
3611 | |
… | |
… | |
3601 | fi |
3638 | fi |
3602 | ac_test_CFLAGS=${CFLAGS+set} |
3639 | ac_test_CFLAGS=${CFLAGS+set} |
3603 | ac_save_CFLAGS=$CFLAGS |
3640 | ac_save_CFLAGS=$CFLAGS |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3605 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3642 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3606 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3643 | if ${ac_cv_prog_cc_g+:} false; then : |
3607 | $as_echo_n "(cached) " >&6 |
3644 | $as_echo_n "(cached) " >&6 |
3608 | else |
3645 | else |
3609 | ac_save_c_werror_flag=$ac_c_werror_flag |
3646 | ac_save_c_werror_flag=$ac_c_werror_flag |
3610 | ac_c_werror_flag=yes |
3647 | ac_c_werror_flag=yes |
3611 | ac_cv_prog_cc_g=no |
3648 | ac_cv_prog_cc_g=no |
… | |
… | |
3679 | CFLAGS= |
3716 | CFLAGS= |
3680 | fi |
3717 | fi |
3681 | fi |
3718 | fi |
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3683 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3720 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3684 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3721 | if ${ac_cv_prog_cc_c89+:} false; then : |
3685 | $as_echo_n "(cached) " >&6 |
3722 | $as_echo_n "(cached) " >&6 |
3686 | else |
3723 | else |
3687 | ac_cv_prog_cc_c89=no |
3724 | ac_cv_prog_cc_c89=no |
3688 | ac_save_CC=$CC |
3725 | ac_save_CC=$CC |
3689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3690 | /* end confdefs.h. */ |
3727 | /* end confdefs.h. */ |
3691 | #include <stdarg.h> |
3728 | #include <stdarg.h> |
3692 | #include <stdio.h> |
3729 | #include <stdio.h> |
3693 | #include <sys/types.h> |
3730 | struct stat; |
3694 | #include <sys/stat.h> |
|
|
3695 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3731 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3696 | struct buf { int x; }; |
3732 | struct buf { int x; }; |
3697 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3733 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3698 | static char *e (p, i) |
3734 | static char *e (p, i) |
3699 | char **p; |
3735 | char **p; |
… | |
… | |
3791 | done |
3827 | done |
3792 | |
3828 | |
3793 | |
3829 | |
3794 | { $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 |
3795 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3831 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3796 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3832 | if ${ac_cv_search_pthread_create+:} false; then : |
3797 | $as_echo_n "(cached) " >&6 |
3833 | $as_echo_n "(cached) " >&6 |
3798 | else |
3834 | else |
3799 | ac_func_search_save_LIBS=$LIBS |
3835 | ac_func_search_save_LIBS=$LIBS |
3800 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3836 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3801 | /* end confdefs.h. */ |
3837 | /* end confdefs.h. */ |
… | |
… | |
3825 | if ac_fn_c_try_link "$LINENO"; then : |
3861 | if ac_fn_c_try_link "$LINENO"; then : |
3826 | ac_cv_search_pthread_create=$ac_res |
3862 | ac_cv_search_pthread_create=$ac_res |
3827 | fi |
3863 | fi |
3828 | rm -f core conftest.err conftest.$ac_objext \ |
3864 | rm -f core conftest.err conftest.$ac_objext \ |
3829 | conftest$ac_exeext |
3865 | conftest$ac_exeext |
3830 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3866 | if ${ac_cv_search_pthread_create+:} false; then : |
3831 | break |
3867 | break |
3832 | fi |
3868 | fi |
3833 | done |
3869 | done |
3834 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3870 | if ${ac_cv_search_pthread_create+:} false; then : |
3835 | |
3871 | |
3836 | else |
3872 | else |
3837 | ac_cv_search_pthread_create=no |
3873 | ac_cv_search_pthread_create=no |
3838 | fi |
3874 | fi |
3839 | rm conftest.$ac_ext |
3875 | rm conftest.$ac_ext |
… | |
… | |
3851 | fi |
3887 | fi |
3852 | |
3888 | |
3853 | |
3889 | |
3854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3855 | $as_echo_n "checking for utimes... " >&6; } |
3891 | $as_echo_n "checking for utimes... " >&6; } |
3856 | if test "${ac_cv_utimes+set}" = set; then : |
3892 | if ${ac_cv_utimes+:} false; then : |
3857 | $as_echo_n "(cached) " >&6 |
3893 | $as_echo_n "(cached) " >&6 |
3858 | else |
3894 | else |
3859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3860 | /* end confdefs.h. */ |
3896 | /* end confdefs.h. */ |
3861 | |
3897 | |
… | |
… | |
3885 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3921 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3886 | |
3922 | |
3887 | |
3923 | |
3888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3889 | $as_echo_n "checking for futimes... " >&6; } |
3925 | $as_echo_n "checking for futimes... " >&6; } |
3890 | if test "${ac_cv_futimes+set}" = set; then : |
3926 | if ${ac_cv_futimes+:} false; then : |
3891 | $as_echo_n "(cached) " >&6 |
3927 | $as_echo_n "(cached) " >&6 |
3892 | else |
3928 | else |
3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3929 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3894 | /* end confdefs.h. */ |
3930 | /* end confdefs.h. */ |
3895 | |
3931 | |
… | |
… | |
3920 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3956 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3921 | |
3957 | |
3922 | |
3958 | |
3923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3924 | $as_echo_n "checking for readahead... " >&6; } |
3960 | $as_echo_n "checking for readahead... " >&6; } |
3925 | if test "${ac_cv_readahead+set}" = set; then : |
3961 | if ${ac_cv_readahead+:} false; then : |
3926 | $as_echo_n "(cached) " >&6 |
3962 | $as_echo_n "(cached) " >&6 |
3927 | else |
3963 | else |
3928 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3929 | /* end confdefs.h. */ |
3965 | /* end confdefs.h. */ |
3930 | |
3966 | |
… | |
… | |
3953 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3989 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3954 | |
3990 | |
3955 | |
3991 | |
3956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3957 | $as_echo_n "checking for fdatasync... " >&6; } |
3993 | $as_echo_n "checking for fdatasync... " >&6; } |
3958 | if test "${ac_cv_fdatasync+set}" = set; then : |
3994 | if ${ac_cv_fdatasync+:} false; then : |
3959 | $as_echo_n "(cached) " >&6 |
3995 | $as_echo_n "(cached) " >&6 |
3960 | else |
3996 | else |
3961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3962 | /* end confdefs.h. */ |
3998 | /* end confdefs.h. */ |
3963 | |
3999 | |
… | |
… | |
3984 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
4020 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
3985 | |
4021 | |
3986 | |
4022 | |
3987 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
4023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
3988 | $as_echo_n "checking for sendfile... " >&6; } |
4024 | $as_echo_n "checking for sendfile... " >&6; } |
3989 | if test "${ac_cv_sendfile+set}" = set; then : |
4025 | if ${ac_cv_sendfile+:} false; then : |
3990 | $as_echo_n "(cached) " >&6 |
4026 | $as_echo_n "(cached) " >&6 |
3991 | else |
4027 | else |
3992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3993 | /* end confdefs.h. */ |
4029 | /* end confdefs.h. */ |
3994 | |
4030 | |
… | |
… | |
4008 | int fd = 0; |
4044 | int fd = 0; |
4009 | off_t offset = 1; |
4045 | off_t offset = 1; |
4010 | size_t count = 2; |
4046 | size_t count = 2; |
4011 | ssize_t res; |
4047 | ssize_t res; |
4012 | #if __linux |
4048 | #if __linux |
4013 | res = sendfile (fd, fd, offset, count); |
4049 | res = sendfile (fd, fd, &offset, count); |
4014 | #elif __FreeBSD__ |
4050 | #elif __FreeBSD__ |
4015 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4051 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4016 | #elif __hpux |
4052 | #elif __hpux |
4017 | res = sendfile (fd, fd, offset, count, 0, 0); |
4053 | res = sendfile (fd, fd, offset, count, 0, 0); |
4018 | #endif |
4054 | #endif |
… | |
… | |
4034 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
4070 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
4035 | |
4071 | |
4036 | |
4072 | |
4037 | { $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 |
4038 | $as_echo_n "checking for sync_file_range... " >&6; } |
4074 | $as_echo_n "checking for sync_file_range... " >&6; } |
4039 | if test "${ac_cv_sync_file_range+set}" = set; then : |
4075 | if ${ac_cv_sync_file_range+:} false; then : |
4040 | $as_echo_n "(cached) " >&6 |
4076 | $as_echo_n "(cached) " >&6 |
4041 | else |
4077 | else |
4042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4043 | /* end confdefs.h. */ |
4079 | /* end confdefs.h. */ |
4044 | |
4080 | |
… | |
… | |
4069 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4105 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4070 | |
4106 | |
4071 | |
4107 | |
4072 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
4073 | $as_echo_n "checking for fallocate... " >&6; } |
4109 | $as_echo_n "checking for fallocate... " >&6; } |
4074 | if test "${ac_cv_linux_fallocate+set}" = set; then : |
4110 | if ${ac_cv_linux_fallocate+:} false; then : |
4075 | $as_echo_n "(cached) " >&6 |
4111 | $as_echo_n "(cached) " >&6 |
4076 | else |
4112 | else |
4077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4078 | /* end confdefs.h. */ |
4114 | /* end confdefs.h. */ |
4079 | |
4115 | |
… | |
… | |
4104 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
4140 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
4105 | |
4141 | |
4106 | |
4142 | |
4107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
4108 | $as_echo_n "checking for sys_syncfs... " >&6; } |
4144 | $as_echo_n "checking for sys_syncfs... " >&6; } |
4109 | if test "${ac_cv_sys_syncfs+set}" = set; then : |
4145 | if ${ac_cv_sys_syncfs+:} false; then : |
4110 | $as_echo_n "(cached) " >&6 |
4146 | $as_echo_n "(cached) " >&6 |
4111 | else |
4147 | else |
4112 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4113 | /* end confdefs.h. */ |
4149 | /* end confdefs.h. */ |
4114 | |
4150 | |
… | |
… | |
4134 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
4170 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
4135 | |
4171 | |
4136 | |
4172 | |
4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
4173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
4138 | $as_echo_n "checking for prctl_set_name... " >&6; } |
4174 | $as_echo_n "checking for prctl_set_name... " >&6; } |
4139 | if test "${ac_cv_prctl_set_name+set}" = set; then : |
4175 | if ${ac_cv_prctl_set_name+:} false; then : |
4140 | $as_echo_n "(cached) " >&6 |
4176 | $as_echo_n "(cached) " >&6 |
4141 | else |
4177 | else |
4142 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4143 | /* end confdefs.h. */ |
4179 | /* end confdefs.h. */ |
4144 | |
4180 | |
4145 | #include <sys/prctl.h> |
4181 | #include <sys/prctl.h> |
4146 | int main (void) |
4182 | int main (void) |
4147 | { |
4183 | { |
4148 | char name = "test123"; |
4184 | char *name = "test123"; |
4149 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
4185 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
4150 | } |
4186 | } |
4151 | |
4187 | |
4152 | _ACEOF |
4188 | _ACEOF |
4153 | if ac_fn_c_try_link "$LINENO"; then : |
4189 | if ac_fn_c_try_link "$LINENO"; then : |
… | |
… | |
4165 | |
4201 | |
4166 | |
4202 | |
4167 | |
4203 | |
4168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
4204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
4169 | $as_echo_n "checking for posix_madvise... " >&6; } |
4205 | $as_echo_n "checking for posix_madvise... " >&6; } |
4170 | if test "${ac_cv_posix_madvise+set}" = set; then : |
4206 | if ${ac_cv_posix_madvise+:} false; then : |
4171 | $as_echo_n "(cached) " >&6 |
4207 | $as_echo_n "(cached) " >&6 |
4172 | else |
4208 | else |
4173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4174 | /* end confdefs.h. */ |
4210 | /* end confdefs.h. */ |
4175 | |
4211 | |
… | |
… | |
4199 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
4235 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
4200 | |
4236 | |
4201 | |
4237 | |
4202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
4238 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
4203 | $as_echo_n "checking for posix_fadvise... " >&6; } |
4239 | $as_echo_n "checking for posix_fadvise... " >&6; } |
4204 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
4240 | if ${ac_cv_posix_fadvise+:} false; then : |
4205 | $as_echo_n "(cached) " >&6 |
4241 | $as_echo_n "(cached) " >&6 |
4206 | else |
4242 | else |
4207 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4243 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4208 | /* end confdefs.h. */ |
4244 | /* end confdefs.h. */ |
4209 | |
4245 | |
… | |
… | |
4249 | done |
4285 | done |
4250 | |
4286 | |
4251 | |
4287 | |
4252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4253 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4289 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4254 | if test "${ac_cv_linux_splice+set}" = set; then : |
4290 | if ${ac_cv_linux_splice+:} false; then : |
4255 | $as_echo_n "(cached) " >&6 |
4291 | $as_echo_n "(cached) " >&6 |
4256 | else |
4292 | else |
4257 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4258 | /* end confdefs.h. */ |
4294 | /* end confdefs.h. */ |
4259 | |
4295 | |
… | |
… | |
4278 | fi |
4314 | fi |
4279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
4315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
4280 | $as_echo "$ac_cv_linux_splice" >&6; } |
4316 | $as_echo "$ac_cv_linux_splice" >&6; } |
4281 | test $ac_cv_linux_splice = yes && |
4317 | test $ac_cv_linux_splice = yes && |
4282 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
4318 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
|
|
4319 | |
|
|
4320 | |
|
|
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
|
|
4322 | $as_echo_n "checking for pipe2... " >&6; } |
|
|
4323 | if ${ac_cv_pipe2+:} false; then : |
|
|
4324 | $as_echo_n "(cached) " >&6 |
|
|
4325 | else |
|
|
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4327 | /* end confdefs.h. */ |
|
|
4328 | |
|
|
4329 | #include <fcntl.h> |
|
|
4330 | #include <unistd.h> |
|
|
4331 | int res; |
|
|
4332 | int main (void) |
|
|
4333 | { |
|
|
4334 | res = pipe2 (0, 0); |
|
|
4335 | return 0; |
|
|
4336 | } |
|
|
4337 | |
|
|
4338 | _ACEOF |
|
|
4339 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4340 | ac_cv_pipe2=yes |
|
|
4341 | else |
|
|
4342 | ac_cv_pipe2=no |
|
|
4343 | fi |
|
|
4344 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4345 | conftest$ac_exeext conftest.$ac_ext |
|
|
4346 | fi |
|
|
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
|
|
4348 | $as_echo "$ac_cv_pipe2" >&6; } |
|
|
4349 | test $ac_cv_pipe2 = yes && |
|
|
4350 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
|
|
4351 | |
|
|
4352 | |
|
|
4353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for renameat2" >&5 |
|
|
4354 | $as_echo_n "checking for renameat2... " >&6; } |
|
|
4355 | if ${ac_cv_renameat2+:} false; then : |
|
|
4356 | $as_echo_n "(cached) " >&6 |
|
|
4357 | else |
|
|
4358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4359 | /* end confdefs.h. */ |
|
|
4360 | |
|
|
4361 | #include <unistd.h> |
|
|
4362 | #include <sys/syscall.h> |
|
|
4363 | #include <linux/fs.h> |
|
|
4364 | int res; |
|
|
4365 | int main (void) |
|
|
4366 | { |
|
|
4367 | res = syscall (SYS_renameat2, 0, 0, 0, 0, RENAME_EXCHANGE | RENAME_NOREPLACE); |
|
|
4368 | return 0; |
|
|
4369 | } |
|
|
4370 | |
|
|
4371 | _ACEOF |
|
|
4372 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4373 | ac_cv_renameat2=yes |
|
|
4374 | else |
|
|
4375 | ac_cv_renameat2=no |
|
|
4376 | fi |
|
|
4377 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4378 | conftest$ac_exeext conftest.$ac_ext |
|
|
4379 | fi |
|
|
4380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_renameat2" >&5 |
|
|
4381 | $as_echo "$ac_cv_renameat2" >&6; } |
|
|
4382 | test $ac_cv_renameat2 = yes && |
|
|
4383 | $as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h |
4283 | |
4384 | |
4284 | |
4385 | |
4285 | |
4386 | |
4286 | |
4387 | |
4287 | cat >confcache <<\_ACEOF |
4388 | cat >confcache <<\_ACEOF |
… | |
… | |
4346 | t end |
4447 | t end |
4347 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4448 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4348 | :end' >>confcache |
4449 | :end' >>confcache |
4349 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4450 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4350 | if test -w "$cache_file"; then |
4451 | if test -w "$cache_file"; then |
4351 | test "x$cache_file" != "x/dev/null" && |
4452 | if test "x$cache_file" != "x/dev/null"; then |
4352 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4453 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4353 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
4454 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
4455 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
4354 | cat confcache >$cache_file |
4456 | cat confcache >"$cache_file" |
|
|
4457 | else |
|
|
4458 | case $cache_file in #( |
|
|
4459 | */* | ?:*) |
|
|
4460 | mv -f confcache "$cache_file"$$ && |
|
|
4461 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
4462 | *) |
|
|
4463 | mv -f confcache "$cache_file" ;; |
|
|
4464 | esac |
|
|
4465 | fi |
|
|
4466 | fi |
4355 | else |
4467 | else |
4356 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4468 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4357 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4469 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4358 | fi |
4470 | fi |
4359 | fi |
4471 | fi |
… | |
… | |
4381 | |
4493 | |
4382 | LTLIBOBJS=$ac_ltlibobjs |
4494 | LTLIBOBJS=$ac_ltlibobjs |
4383 | |
4495 | |
4384 | |
4496 | |
4385 | |
4497 | |
4386 | : ${CONFIG_STATUS=./config.status} |
4498 | : "${CONFIG_STATUS=./config.status}" |
4387 | ac_write_fail=0 |
4499 | ac_write_fail=0 |
4388 | ac_clean_files_save=$ac_clean_files |
4500 | ac_clean_files_save=$ac_clean_files |
4389 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4501 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4390 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4502 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4391 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4503 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
4482 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4594 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4483 | # splitting by setting IFS to empty value.) |
4595 | # splitting by setting IFS to empty value.) |
4484 | IFS=" "" $as_nl" |
4596 | IFS=" "" $as_nl" |
4485 | |
4597 | |
4486 | # Find who we are. Look in the path if we contain no directory separator. |
4598 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
4599 | as_myself= |
4487 | case $0 in #(( |
4600 | case $0 in #(( |
4488 | *[\\/]* ) as_myself=$0 ;; |
4601 | *[\\/]* ) as_myself=$0 ;; |
4489 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4602 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4490 | for as_dir in $PATH |
4603 | for as_dir in $PATH |
4491 | do |
4604 | do |
… | |
… | |
4677 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4790 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4678 | as_ln_s='ln -s' |
4791 | as_ln_s='ln -s' |
4679 | # ... but there are two gotchas: |
4792 | # ... but there are two gotchas: |
4680 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4793 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4681 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4794 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4682 | # In both cases, we have to default to `cp -p'. |
4795 | # In both cases, we have to default to `cp -pR'. |
4683 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4796 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4684 | as_ln_s='cp -p' |
4797 | as_ln_s='cp -pR' |
4685 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4798 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4686 | as_ln_s=ln |
4799 | as_ln_s=ln |
4687 | else |
4800 | else |
4688 | as_ln_s='cp -p' |
4801 | as_ln_s='cp -pR' |
4689 | fi |
4802 | fi |
4690 | else |
4803 | else |
4691 | as_ln_s='cp -p' |
4804 | as_ln_s='cp -pR' |
4692 | fi |
4805 | fi |
4693 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4806 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4694 | rmdir conf$$.dir 2>/dev/null |
4807 | rmdir conf$$.dir 2>/dev/null |
4695 | |
4808 | |
4696 | |
4809 | |
… | |
… | |
4746 | else |
4859 | else |
4747 | test -d ./-p && rmdir ./-p |
4860 | test -d ./-p && rmdir ./-p |
4748 | as_mkdir_p=false |
4861 | as_mkdir_p=false |
4749 | fi |
4862 | fi |
4750 | |
4863 | |
4751 | if test -x / >/dev/null 2>&1; then |
4864 | |
|
|
4865 | # as_fn_executable_p FILE |
|
|
4866 | # ----------------------- |
|
|
4867 | # Test if FILE is an executable regular file. |
|
|
4868 | as_fn_executable_p () |
|
|
4869 | { |
|
|
4870 | test -f "$1" && test -x "$1" |
|
|
4871 | } # as_fn_executable_p |
4752 | as_test_x='test -x' |
4872 | as_test_x='test -x' |
4753 | else |
4873 | as_executable_p=as_fn_executable_p |
4754 | if ls -dL / >/dev/null 2>&1; then |
|
|
4755 | as_ls_L_option=L |
|
|
4756 | else |
|
|
4757 | as_ls_L_option= |
|
|
4758 | fi |
|
|
4759 | as_test_x=' |
|
|
4760 | eval sh -c '\'' |
|
|
4761 | if test -d "$1"; then |
|
|
4762 | test -d "$1/."; |
|
|
4763 | else |
|
|
4764 | case $1 in #( |
|
|
4765 | -*)set "./$1";; |
|
|
4766 | esac; |
|
|
4767 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
4768 | ???[sx]*):;;*)false;;esac;fi |
|
|
4769 | '\'' sh |
|
|
4770 | ' |
|
|
4771 | fi |
|
|
4772 | as_executable_p=$as_test_x |
|
|
4773 | |
4874 | |
4774 | # Sed expression to map a string onto a valid CPP name. |
4875 | # Sed expression to map a string onto a valid CPP name. |
4775 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4876 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4776 | |
4877 | |
4777 | # Sed expression to map a string onto a valid variable name. |
4878 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
4789 | # Save the log message, to keep $0 and so on meaningful, and to |
4890 | # Save the log message, to keep $0 and so on meaningful, and to |
4790 | # report actual input values of CONFIG_FILES etc. instead of their |
4891 | # report actual input values of CONFIG_FILES etc. instead of their |
4791 | # values after options handling. |
4892 | # values after options handling. |
4792 | ac_log=" |
4893 | ac_log=" |
4793 | This file was extended by $as_me, which was |
4894 | This file was extended by $as_me, which was |
4794 | generated by GNU Autoconf 2.67. Invocation command line was |
4895 | generated by GNU Autoconf 2.69. Invocation command line was |
4795 | |
4896 | |
4796 | CONFIG_FILES = $CONFIG_FILES |
4897 | CONFIG_FILES = $CONFIG_FILES |
4797 | CONFIG_HEADERS = $CONFIG_HEADERS |
4898 | CONFIG_HEADERS = $CONFIG_HEADERS |
4798 | CONFIG_LINKS = $CONFIG_LINKS |
4899 | CONFIG_LINKS = $CONFIG_LINKS |
4799 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
4900 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
4842 | _ACEOF |
4943 | _ACEOF |
4843 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4944 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4844 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4945 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4845 | ac_cs_version="\\ |
4946 | ac_cs_version="\\ |
4846 | config.status |
4947 | config.status |
4847 | configured by $0, generated by GNU Autoconf 2.67, |
4948 | configured by $0, generated by GNU Autoconf 2.69, |
4848 | with options \\"\$ac_cs_config\\" |
4949 | with options \\"\$ac_cs_config\\" |
4849 | |
4950 | |
4850 | Copyright (C) 2010 Free Software Foundation, Inc. |
4951 | Copyright (C) 2012 Free Software Foundation, Inc. |
4851 | This config.status script is free software; the Free Software Foundation |
4952 | This config.status script is free software; the Free Software Foundation |
4852 | gives unlimited permission to copy, distribute and modify it." |
4953 | gives unlimited permission to copy, distribute and modify it." |
4853 | |
4954 | |
4854 | ac_pwd='$ac_pwd' |
4955 | ac_pwd='$ac_pwd' |
4855 | srcdir='$srcdir' |
4956 | srcdir='$srcdir' |
… | |
… | |
4925 | fi |
5026 | fi |
4926 | |
5027 | |
4927 | _ACEOF |
5028 | _ACEOF |
4928 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5029 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4929 | if \$ac_cs_recheck; then |
5030 | if \$ac_cs_recheck; then |
4930 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
5031 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4931 | shift |
5032 | shift |
4932 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
5033 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4933 | CONFIG_SHELL='$SHELL' |
5034 | CONFIG_SHELL='$SHELL' |
4934 | export CONFIG_SHELL |
5035 | export CONFIG_SHELL |
4935 | exec "\$@" |
5036 | exec "\$@" |
… | |
… | |
4956 | for ac_config_target in $ac_config_targets |
5057 | for ac_config_target in $ac_config_targets |
4957 | do |
5058 | do |
4958 | case $ac_config_target in |
5059 | case $ac_config_target in |
4959 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
5060 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
4960 | |
5061 | |
4961 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
5062 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4962 | esac |
5063 | esac |
4963 | done |
5064 | done |
4964 | |
5065 | |
4965 | |
5066 | |
4966 | # If the user did not use the arguments to specify the items to instantiate, |
5067 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
4977 | # Hook for its removal unless debugging. |
5078 | # Hook for its removal unless debugging. |
4978 | # Note that there is a small window in which the directory will not be cleaned: |
5079 | # Note that there is a small window in which the directory will not be cleaned: |
4979 | # after its creation but before its name has been assigned to `$tmp'. |
5080 | # after its creation but before its name has been assigned to `$tmp'. |
4980 | $debug || |
5081 | $debug || |
4981 | { |
5082 | { |
4982 | tmp= |
5083 | tmp= ac_tmp= |
4983 | trap 'exit_status=$? |
5084 | trap 'exit_status=$? |
|
|
5085 | : "${ac_tmp:=$tmp}" |
4984 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
5086 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
4985 | ' 0 |
5087 | ' 0 |
4986 | trap 'as_fn_exit 1' 1 2 13 15 |
5088 | trap 'as_fn_exit 1' 1 2 13 15 |
4987 | } |
5089 | } |
4988 | # Create a (secure) tmp directory for tmp files. |
5090 | # Create a (secure) tmp directory for tmp files. |
4989 | |
5091 | |
4990 | { |
5092 | { |
4991 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5093 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
4992 | test -n "$tmp" && test -d "$tmp" |
5094 | test -d "$tmp" |
4993 | } || |
5095 | } || |
4994 | { |
5096 | { |
4995 | tmp=./conf$$-$RANDOM |
5097 | tmp=./conf$$-$RANDOM |
4996 | (umask 077 && mkdir "$tmp") |
5098 | (umask 077 && mkdir "$tmp") |
4997 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
5099 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
5100 | ac_tmp=$tmp |
4998 | |
5101 | |
4999 | # Set up the scripts for CONFIG_HEADERS section. |
5102 | # Set up the scripts for CONFIG_HEADERS section. |
5000 | # No need to generate them if there are no CONFIG_HEADERS. |
5103 | # No need to generate them if there are no CONFIG_HEADERS. |
5001 | # This happens for instance with `./config.status Makefile'. |
5104 | # This happens for instance with `./config.status Makefile'. |
5002 | if test -n "$CONFIG_HEADERS"; then |
5105 | if test -n "$CONFIG_HEADERS"; then |
5003 | cat >"$tmp/defines.awk" <<\_ACAWK || |
5106 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
5004 | BEGIN { |
5107 | BEGIN { |
5005 | _ACEOF |
5108 | _ACEOF |
5006 | |
5109 | |
5007 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
5110 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
5008 | # here-document in config.status, that substitutes the proper values into |
5111 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
5010 | |
5113 | |
5011 | # Create a delimiter string that does not exist in confdefs.h, to ease |
5114 | # Create a delimiter string that does not exist in confdefs.h, to ease |
5012 | # handling of long lines. |
5115 | # handling of long lines. |
5013 | ac_delim='%!_!# ' |
5116 | ac_delim='%!_!# ' |
5014 | for ac_last_try in false false :; do |
5117 | for ac_last_try in false false :; do |
5015 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
5118 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
5016 | if test -z "$ac_t"; then |
5119 | if test -z "$ac_tt"; then |
5017 | break |
5120 | break |
5018 | elif $ac_last_try; then |
5121 | elif $ac_last_try; then |
5019 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5122 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5020 | else |
5123 | else |
5021 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5124 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
5112 | case $ac_tag in |
5215 | case $ac_tag in |
5113 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5216 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5114 | esac |
5217 | esac |
5115 | case $ac_mode$ac_tag in |
5218 | case $ac_mode$ac_tag in |
5116 | :[FHL]*:*);; |
5219 | :[FHL]*:*);; |
5117 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
5220 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
5118 | :[FH]-) ac_tag=-:-;; |
5221 | :[FH]-) ac_tag=-:-;; |
5119 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5222 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5120 | esac |
5223 | esac |
5121 | ac_save_IFS=$IFS |
5224 | ac_save_IFS=$IFS |
5122 | IFS=: |
5225 | IFS=: |
… | |
… | |
5131 | :[FH]) |
5234 | :[FH]) |
5132 | ac_file_inputs= |
5235 | ac_file_inputs= |
5133 | for ac_f |
5236 | for ac_f |
5134 | do |
5237 | do |
5135 | case $ac_f in |
5238 | case $ac_f in |
5136 | -) ac_f="$tmp/stdin";; |
5239 | -) ac_f="$ac_tmp/stdin";; |
5137 | *) # Look for the file first in the build tree, then in the source tree |
5240 | *) # Look for the file first in the build tree, then in the source tree |
5138 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5241 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5139 | # because $ac_f cannot contain `:'. |
5242 | # because $ac_f cannot contain `:'. |
5140 | test -f "$ac_f" || |
5243 | test -f "$ac_f" || |
5141 | case $ac_f in |
5244 | case $ac_f in |
5142 | [\\/$]*) false;; |
5245 | [\\/$]*) false;; |
5143 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5246 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5144 | esac || |
5247 | esac || |
5145 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
5248 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
5146 | esac |
5249 | esac |
5147 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5250 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5148 | as_fn_append ac_file_inputs " '$ac_f'" |
5251 | as_fn_append ac_file_inputs " '$ac_f'" |
5149 | done |
5252 | done |
5150 | |
5253 | |
… | |
… | |
5166 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5269 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5167 | *) ac_sed_conf_input=$configure_input;; |
5270 | *) ac_sed_conf_input=$configure_input;; |
5168 | esac |
5271 | esac |
5169 | |
5272 | |
5170 | case $ac_tag in |
5273 | case $ac_tag in |
5171 | *:-:* | *:-) cat >"$tmp/stdin" \ |
5274 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
5172 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
5275 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
5173 | esac |
5276 | esac |
5174 | ;; |
5277 | ;; |
5175 | esac |
5278 | esac |
5176 | |
5279 | |
5177 | ac_dir=`$as_dirname -- "$ac_file" || |
5280 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
5240 | # CONFIG_HEADER |
5343 | # CONFIG_HEADER |
5241 | # |
5344 | # |
5242 | if test x"$ac_file" != x-; then |
5345 | if test x"$ac_file" != x-; then |
5243 | { |
5346 | { |
5244 | $as_echo "/* $configure_input */" \ |
5347 | $as_echo "/* $configure_input */" \ |
5245 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
5348 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
5246 | } >"$tmp/config.h" \ |
5349 | } >"$ac_tmp/config.h" \ |
5247 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5350 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5248 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
5351 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
5249 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5352 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5250 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5353 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5251 | else |
5354 | else |
5252 | rm -f "$ac_file" |
5355 | rm -f "$ac_file" |
5253 | mv "$tmp/config.h" "$ac_file" \ |
5356 | mv "$ac_tmp/config.h" "$ac_file" \ |
5254 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5357 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5255 | fi |
5358 | fi |
5256 | else |
5359 | else |
5257 | $as_echo "/* $configure_input */" \ |
5360 | $as_echo "/* $configure_input */" \ |
5258 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
5361 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
5259 | || as_fn_error $? "could not create -" "$LINENO" 5 |
5362 | || as_fn_error $? "could not create -" "$LINENO" 5 |
5260 | fi |
5363 | fi |
5261 | ;; |
5364 | ;; |
5262 | |
5365 | |
5263 | |
5366 | |