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. |
… | |
… | |
1056 | *) |
1084 | *) |
1057 | # FIXME: should be removed in autoconf 3.0. |
1085 | # FIXME: should be removed in autoconf 3.0. |
1058 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1086 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1059 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1087 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1060 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1088 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1061 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1089 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1062 | ;; |
1090 | ;; |
1063 | |
1091 | |
1064 | esac |
1092 | esac |
1065 | done |
1093 | done |
1066 | |
1094 | |
… | |
… | |
1107 | |
1135 | |
1108 | # FIXME: To remove some day. |
1136 | # FIXME: To remove some day. |
1109 | if test "x$host_alias" != x; then |
1137 | if test "x$host_alias" != x; then |
1110 | if test "x$build_alias" = x; then |
1138 | if test "x$build_alias" = x; then |
1111 | cross_compiling=maybe |
1139 | 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 |
1140 | elif test "x$build_alias" != "x$host_alias"; then |
1115 | cross_compiling=yes |
1141 | cross_compiling=yes |
1116 | fi |
1142 | fi |
1117 | fi |
1143 | fi |
1118 | |
1144 | |
… | |
… | |
1334 | |
1360 | |
1335 | test -n "$ac_init_help" && exit $ac_status |
1361 | test -n "$ac_init_help" && exit $ac_status |
1336 | if $ac_init_version; then |
1362 | if $ac_init_version; then |
1337 | cat <<\_ACEOF |
1363 | cat <<\_ACEOF |
1338 | configure |
1364 | configure |
1339 | generated by GNU Autoconf 2.67 |
1365 | generated by GNU Autoconf 2.69 |
1340 | |
1366 | |
1341 | Copyright (C) 2010 Free Software Foundation, Inc. |
1367 | Copyright (C) 2012 Free Software Foundation, Inc. |
1342 | This configure script is free software; the Free Software Foundation |
1368 | This configure script is free software; the Free Software Foundation |
1343 | gives unlimited permission to copy, distribute and modify it. |
1369 | gives unlimited permission to copy, distribute and modify it. |
1344 | _ACEOF |
1370 | _ACEOF |
1345 | exit |
1371 | exit |
1346 | fi |
1372 | fi |
… | |
… | |
1380 | $as_echo "$as_me: failed program was:" >&5 |
1406 | $as_echo "$as_me: failed program was:" >&5 |
1381 | sed 's/^/| /' conftest.$ac_ext >&5 |
1407 | sed 's/^/| /' conftest.$ac_ext >&5 |
1382 | |
1408 | |
1383 | ac_retval=1 |
1409 | ac_retval=1 |
1384 | fi |
1410 | fi |
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1411 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1386 | as_fn_set_status $ac_retval |
1412 | as_fn_set_status $ac_retval |
1387 | |
1413 | |
1388 | } # ac_fn_c_try_compile |
1414 | } # ac_fn_c_try_compile |
1389 | |
1415 | |
1390 | # ac_fn_c_try_cpp LINENO |
1416 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1417 | $as_echo "$as_me: failed program was:" >&5 |
1443 | $as_echo "$as_me: failed program was:" >&5 |
1418 | sed 's/^/| /' conftest.$ac_ext >&5 |
1444 | sed 's/^/| /' conftest.$ac_ext >&5 |
1419 | |
1445 | |
1420 | ac_retval=1 |
1446 | ac_retval=1 |
1421 | fi |
1447 | fi |
1422 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1448 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1423 | as_fn_set_status $ac_retval |
1449 | as_fn_set_status $ac_retval |
1424 | |
1450 | |
1425 | } # ac_fn_c_try_cpp |
1451 | } # ac_fn_c_try_cpp |
1426 | |
1452 | |
1427 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1453 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1430 | # the include files in INCLUDES and setting the cache variable VAR |
1456 | # the include files in INCLUDES and setting the cache variable VAR |
1431 | # accordingly. |
1457 | # accordingly. |
1432 | ac_fn_c_check_header_mongrel () |
1458 | ac_fn_c_check_header_mongrel () |
1433 | { |
1459 | { |
1434 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1460 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1435 | if eval "test \"\${$3+set}\"" = set; then : |
1461 | if eval \${$3+:} false; then : |
1436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1462 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1437 | $as_echo_n "checking for $2... " >&6; } |
1463 | $as_echo_n "checking for $2... " >&6; } |
1438 | if eval "test \"\${$3+set}\"" = set; then : |
1464 | if eval \${$3+:} false; then : |
1439 | $as_echo_n "(cached) " >&6 |
1465 | $as_echo_n "(cached) " >&6 |
1440 | fi |
1466 | fi |
1441 | eval ac_res=\$$3 |
1467 | eval ac_res=\$$3 |
1442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1443 | $as_echo "$ac_res" >&6; } |
1469 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1496 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1522 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1497 | ;; |
1523 | ;; |
1498 | esac |
1524 | esac |
1499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1500 | $as_echo_n "checking for $2... " >&6; } |
1526 | $as_echo_n "checking for $2... " >&6; } |
1501 | if eval "test \"\${$3+set}\"" = set; then : |
1527 | if eval \${$3+:} false; then : |
1502 | $as_echo_n "(cached) " >&6 |
1528 | $as_echo_n "(cached) " >&6 |
1503 | else |
1529 | else |
1504 | eval "$3=\$ac_header_compiler" |
1530 | eval "$3=\$ac_header_compiler" |
1505 | fi |
1531 | fi |
1506 | eval ac_res=\$$3 |
1532 | eval ac_res=\$$3 |
1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1508 | $as_echo "$ac_res" >&6; } |
1534 | $as_echo "$ac_res" >&6; } |
1509 | fi |
1535 | fi |
1510 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1536 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1511 | |
1537 | |
1512 | } # ac_fn_c_check_header_mongrel |
1538 | } # ac_fn_c_check_header_mongrel |
1513 | |
1539 | |
1514 | # ac_fn_c_try_run LINENO |
1540 | # ac_fn_c_try_run LINENO |
1515 | # ---------------------- |
1541 | # ---------------------- |
… | |
… | |
1546 | sed 's/^/| /' conftest.$ac_ext >&5 |
1572 | sed 's/^/| /' conftest.$ac_ext >&5 |
1547 | |
1573 | |
1548 | ac_retval=$ac_status |
1574 | ac_retval=$ac_status |
1549 | fi |
1575 | fi |
1550 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1576 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1551 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1577 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1552 | as_fn_set_status $ac_retval |
1578 | as_fn_set_status $ac_retval |
1553 | |
1579 | |
1554 | } # ac_fn_c_try_run |
1580 | } # ac_fn_c_try_run |
1555 | |
1581 | |
1556 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1582 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1560 | ac_fn_c_check_header_compile () |
1586 | ac_fn_c_check_header_compile () |
1561 | { |
1587 | { |
1562 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1588 | 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 |
1589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1564 | $as_echo_n "checking for $2... " >&6; } |
1590 | $as_echo_n "checking for $2... " >&6; } |
1565 | if eval "test \"\${$3+set}\"" = set; then : |
1591 | if eval \${$3+:} false; then : |
1566 | $as_echo_n "(cached) " >&6 |
1592 | $as_echo_n "(cached) " >&6 |
1567 | else |
1593 | else |
1568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1569 | /* end confdefs.h. */ |
1595 | /* end confdefs.h. */ |
1570 | $4 |
1596 | $4 |
… | |
… | |
1578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1604 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1579 | fi |
1605 | fi |
1580 | eval ac_res=\$$3 |
1606 | eval ac_res=\$$3 |
1581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1607 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1582 | $as_echo "$ac_res" >&6; } |
1608 | $as_echo "$ac_res" >&6; } |
1583 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1609 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1584 | |
1610 | |
1585 | } # ac_fn_c_check_header_compile |
1611 | } # ac_fn_c_check_header_compile |
1586 | |
1612 | |
1587 | # ac_fn_c_try_link LINENO |
1613 | # ac_fn_c_try_link LINENO |
1588 | # ----------------------- |
1614 | # ----------------------- |
… | |
… | |
1609 | test $ac_status = 0; } && { |
1635 | test $ac_status = 0; } && { |
1610 | test -z "$ac_c_werror_flag" || |
1636 | test -z "$ac_c_werror_flag" || |
1611 | test ! -s conftest.err |
1637 | test ! -s conftest.err |
1612 | } && test -s conftest$ac_exeext && { |
1638 | } && test -s conftest$ac_exeext && { |
1613 | test "$cross_compiling" = yes || |
1639 | test "$cross_compiling" = yes || |
1614 | $as_test_x conftest$ac_exeext |
1640 | test -x conftest$ac_exeext |
1615 | }; then : |
1641 | }; then : |
1616 | ac_retval=0 |
1642 | ac_retval=0 |
1617 | else |
1643 | else |
1618 | $as_echo "$as_me: failed program was:" >&5 |
1644 | $as_echo "$as_me: failed program was:" >&5 |
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
1645 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1623 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1649 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1624 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1650 | # 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 |
1651 | # 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. |
1652 | # left behind by Apple's compiler. We do this before executing the actions. |
1627 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1653 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1628 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1654 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1629 | as_fn_set_status $ac_retval |
1655 | as_fn_set_status $ac_retval |
1630 | |
1656 | |
1631 | } # ac_fn_c_try_link |
1657 | } # ac_fn_c_try_link |
1632 | cat >config.log <<_ACEOF |
1658 | cat >config.log <<_ACEOF |
1633 | This file contains any messages produced by compilers while |
1659 | This file contains any messages produced by compilers while |
1634 | running configure, to aid debugging if configure makes a mistake. |
1660 | running configure, to aid debugging if configure makes a mistake. |
1635 | |
1661 | |
1636 | It was created by $as_me, which was |
1662 | It was created by $as_me, which was |
1637 | generated by GNU Autoconf 2.67. Invocation command line was |
1663 | generated by GNU Autoconf 2.69. Invocation command line was |
1638 | |
1664 | |
1639 | $ $0 $@ |
1665 | $ $0 $@ |
1640 | |
1666 | |
1641 | _ACEOF |
1667 | _ACEOF |
1642 | exec 5>>config.log |
1668 | exec 5>>config.log |
… | |
… | |
1890 | sed 's/^/| /' "$ac_site_file" >&5 |
1916 | sed 's/^/| /' "$ac_site_file" >&5 |
1891 | . "$ac_site_file" \ |
1917 | . "$ac_site_file" \ |
1892 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1918 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1893 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1919 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1894 | as_fn_error $? "failed to load site script $ac_site_file |
1920 | as_fn_error $? "failed to load site script $ac_site_file |
1895 | See \`config.log' for more details" "$LINENO" 5 ; } |
1921 | See \`config.log' for more details" "$LINENO" 5; } |
1896 | fi |
1922 | fi |
1897 | done |
1923 | done |
1898 | |
1924 | |
1899 | if test -r "$cache_file"; then |
1925 | if test -r "$cache_file"; then |
1900 | # Some versions of bash will fail to source /dev/null (special files |
1926 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
1983 | |
2009 | |
1984 | |
2010 | |
1985 | ac_config_headers="$ac_config_headers libeio/config.h" |
2011 | ac_config_headers="$ac_config_headers libeio/config.h" |
1986 | |
2012 | |
1987 | |
2013 | |
|
|
2014 | |
1988 | ac_ext=c |
2015 | ac_ext=c |
1989 | ac_cpp='$CPP $CPPFLAGS' |
2016 | ac_cpp='$CPP $CPPFLAGS' |
1990 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2017 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1991 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2018 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1992 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2019 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1993 | if test -n "$ac_tool_prefix"; then |
2020 | if test -n "$ac_tool_prefix"; then |
1994 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2021 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1995 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2022 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1997 | $as_echo_n "checking for $ac_word... " >&6; } |
2024 | $as_echo_n "checking for $ac_word... " >&6; } |
1998 | if test "${ac_cv_prog_CC+set}" = set; then : |
2025 | if ${ac_cv_prog_CC+:} false; then : |
1999 | $as_echo_n "(cached) " >&6 |
2026 | $as_echo_n "(cached) " >&6 |
2000 | else |
2027 | else |
2001 | if test -n "$CC"; then |
2028 | if test -n "$CC"; then |
2002 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2029 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2003 | else |
2030 | else |
… | |
… | |
2005 | for as_dir in $PATH |
2032 | for as_dir in $PATH |
2006 | do |
2033 | do |
2007 | IFS=$as_save_IFS |
2034 | IFS=$as_save_IFS |
2008 | test -z "$as_dir" && as_dir=. |
2035 | test -z "$as_dir" && as_dir=. |
2009 | for ac_exec_ext in '' $ac_executable_extensions; do |
2036 | for ac_exec_ext in '' $ac_executable_extensions; do |
2010 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2037 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2011 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2038 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2012 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2039 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2013 | break 2 |
2040 | break 2 |
2014 | fi |
2041 | fi |
2015 | done |
2042 | done |
… | |
… | |
2033 | ac_ct_CC=$CC |
2060 | ac_ct_CC=$CC |
2034 | # Extract the first word of "gcc", so it can be a program name with args. |
2061 | # Extract the first word of "gcc", so it can be a program name with args. |
2035 | set dummy gcc; ac_word=$2 |
2062 | set dummy gcc; ac_word=$2 |
2036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2037 | $as_echo_n "checking for $ac_word... " >&6; } |
2064 | $as_echo_n "checking for $ac_word... " >&6; } |
2038 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2065 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2039 | $as_echo_n "(cached) " >&6 |
2066 | $as_echo_n "(cached) " >&6 |
2040 | else |
2067 | else |
2041 | if test -n "$ac_ct_CC"; then |
2068 | if test -n "$ac_ct_CC"; then |
2042 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2069 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2043 | else |
2070 | else |
… | |
… | |
2045 | for as_dir in $PATH |
2072 | for as_dir in $PATH |
2046 | do |
2073 | do |
2047 | IFS=$as_save_IFS |
2074 | IFS=$as_save_IFS |
2048 | test -z "$as_dir" && as_dir=. |
2075 | test -z "$as_dir" && as_dir=. |
2049 | for ac_exec_ext in '' $ac_executable_extensions; do |
2076 | for ac_exec_ext in '' $ac_executable_extensions; do |
2050 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2077 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2051 | ac_cv_prog_ac_ct_CC="gcc" |
2078 | ac_cv_prog_ac_ct_CC="gcc" |
2052 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2079 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2053 | break 2 |
2080 | break 2 |
2054 | fi |
2081 | fi |
2055 | done |
2082 | done |
… | |
… | |
2086 | if test -n "$ac_tool_prefix"; then |
2113 | if test -n "$ac_tool_prefix"; then |
2087 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2114 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2088 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2115 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2089 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2090 | $as_echo_n "checking for $ac_word... " >&6; } |
2117 | $as_echo_n "checking for $ac_word... " >&6; } |
2091 | if test "${ac_cv_prog_CC+set}" = set; then : |
2118 | if ${ac_cv_prog_CC+:} false; then : |
2092 | $as_echo_n "(cached) " >&6 |
2119 | $as_echo_n "(cached) " >&6 |
2093 | else |
2120 | else |
2094 | if test -n "$CC"; then |
2121 | if test -n "$CC"; then |
2095 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2122 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2096 | else |
2123 | else |
… | |
… | |
2098 | for as_dir in $PATH |
2125 | for as_dir in $PATH |
2099 | do |
2126 | do |
2100 | IFS=$as_save_IFS |
2127 | IFS=$as_save_IFS |
2101 | test -z "$as_dir" && as_dir=. |
2128 | test -z "$as_dir" && as_dir=. |
2102 | for ac_exec_ext in '' $ac_executable_extensions; do |
2129 | for ac_exec_ext in '' $ac_executable_extensions; do |
2103 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2130 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2104 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2131 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2105 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2132 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2106 | break 2 |
2133 | break 2 |
2107 | fi |
2134 | fi |
2108 | done |
2135 | done |
… | |
… | |
2126 | if test -z "$CC"; then |
2153 | if test -z "$CC"; then |
2127 | # Extract the first word of "cc", so it can be a program name with args. |
2154 | # Extract the first word of "cc", so it can be a program name with args. |
2128 | set dummy cc; ac_word=$2 |
2155 | set dummy cc; ac_word=$2 |
2129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2130 | $as_echo_n "checking for $ac_word... " >&6; } |
2157 | $as_echo_n "checking for $ac_word... " >&6; } |
2131 | if test "${ac_cv_prog_CC+set}" = set; then : |
2158 | if ${ac_cv_prog_CC+:} false; then : |
2132 | $as_echo_n "(cached) " >&6 |
2159 | $as_echo_n "(cached) " >&6 |
2133 | else |
2160 | else |
2134 | if test -n "$CC"; then |
2161 | if test -n "$CC"; then |
2135 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2162 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2136 | else |
2163 | else |
… | |
… | |
2139 | for as_dir in $PATH |
2166 | for as_dir in $PATH |
2140 | do |
2167 | do |
2141 | IFS=$as_save_IFS |
2168 | IFS=$as_save_IFS |
2142 | test -z "$as_dir" && as_dir=. |
2169 | test -z "$as_dir" && as_dir=. |
2143 | for ac_exec_ext in '' $ac_executable_extensions; do |
2170 | for ac_exec_ext in '' $ac_executable_extensions; do |
2144 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2171 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2145 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2172 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2146 | ac_prog_rejected=yes |
2173 | ac_prog_rejected=yes |
2147 | continue |
2174 | continue |
2148 | fi |
2175 | fi |
2149 | ac_cv_prog_CC="cc" |
2176 | ac_cv_prog_CC="cc" |
… | |
… | |
2185 | do |
2212 | do |
2186 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2213 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2187 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2214 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2189 | $as_echo_n "checking for $ac_word... " >&6; } |
2216 | $as_echo_n "checking for $ac_word... " >&6; } |
2190 | if test "${ac_cv_prog_CC+set}" = set; then : |
2217 | if ${ac_cv_prog_CC+:} false; then : |
2191 | $as_echo_n "(cached) " >&6 |
2218 | $as_echo_n "(cached) " >&6 |
2192 | else |
2219 | else |
2193 | if test -n "$CC"; then |
2220 | if test -n "$CC"; then |
2194 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2221 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2195 | else |
2222 | else |
… | |
… | |
2197 | for as_dir in $PATH |
2224 | for as_dir in $PATH |
2198 | do |
2225 | do |
2199 | IFS=$as_save_IFS |
2226 | IFS=$as_save_IFS |
2200 | test -z "$as_dir" && as_dir=. |
2227 | test -z "$as_dir" && as_dir=. |
2201 | for ac_exec_ext in '' $ac_executable_extensions; do |
2228 | for ac_exec_ext in '' $ac_executable_extensions; do |
2202 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2229 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2203 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2230 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2204 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2231 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2205 | break 2 |
2232 | break 2 |
2206 | fi |
2233 | fi |
2207 | done |
2234 | done |
… | |
… | |
2229 | do |
2256 | do |
2230 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2257 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2231 | set dummy $ac_prog; ac_word=$2 |
2258 | set dummy $ac_prog; ac_word=$2 |
2232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2259 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2233 | $as_echo_n "checking for $ac_word... " >&6; } |
2260 | $as_echo_n "checking for $ac_word... " >&6; } |
2234 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2261 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2235 | $as_echo_n "(cached) " >&6 |
2262 | $as_echo_n "(cached) " >&6 |
2236 | else |
2263 | else |
2237 | if test -n "$ac_ct_CC"; then |
2264 | if test -n "$ac_ct_CC"; then |
2238 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2265 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2239 | else |
2266 | else |
… | |
… | |
2241 | for as_dir in $PATH |
2268 | for as_dir in $PATH |
2242 | do |
2269 | do |
2243 | IFS=$as_save_IFS |
2270 | IFS=$as_save_IFS |
2244 | test -z "$as_dir" && as_dir=. |
2271 | test -z "$as_dir" && as_dir=. |
2245 | for ac_exec_ext in '' $ac_executable_extensions; do |
2272 | for ac_exec_ext in '' $ac_executable_extensions; do |
2246 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2273 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2247 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2274 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2248 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2275 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2249 | break 2 |
2276 | break 2 |
2250 | fi |
2277 | fi |
2251 | done |
2278 | done |
… | |
… | |
2284 | |
2311 | |
2285 | |
2312 | |
2286 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2313 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2287 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2314 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2288 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2315 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2289 | See \`config.log' for more details" "$LINENO" 5 ; } |
2316 | See \`config.log' for more details" "$LINENO" 5; } |
2290 | |
2317 | |
2291 | # Provide some information about the compiler. |
2318 | # Provide some information about the compiler. |
2292 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2319 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2293 | set X $ac_compile |
2320 | set X $ac_compile |
2294 | ac_compiler=$2 |
2321 | ac_compiler=$2 |
… | |
… | |
2399 | sed 's/^/| /' conftest.$ac_ext >&5 |
2426 | sed 's/^/| /' conftest.$ac_ext >&5 |
2400 | |
2427 | |
2401 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2428 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2402 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2429 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2403 | as_fn_error 77 "C compiler cannot create executables |
2430 | as_fn_error 77 "C compiler cannot create executables |
2404 | See \`config.log' for more details" "$LINENO" 5 ; } |
2431 | See \`config.log' for more details" "$LINENO" 5; } |
2405 | else |
2432 | else |
2406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2407 | $as_echo "yes" >&6; } |
2434 | $as_echo "yes" >&6; } |
2408 | fi |
2435 | fi |
2409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
2442 | done |
2469 | done |
2443 | else |
2470 | else |
2444 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2471 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2445 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2472 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2446 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2473 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2447 | See \`config.log' for more details" "$LINENO" 5 ; } |
2474 | See \`config.log' for more details" "$LINENO" 5; } |
2448 | fi |
2475 | fi |
2449 | rm -f conftest conftest$ac_cv_exeext |
2476 | rm -f conftest conftest$ac_cv_exeext |
2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2451 | $as_echo "$ac_cv_exeext" >&6; } |
2478 | $as_echo "$ac_cv_exeext" >&6; } |
2452 | |
2479 | |
… | |
… | |
2501 | else |
2528 | else |
2502 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2529 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2530 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 | as_fn_error $? "cannot run C compiled programs. |
2531 | as_fn_error $? "cannot run C compiled programs. |
2505 | If you meant to cross compile, use \`--host'. |
2532 | If you meant to cross compile, use \`--host'. |
2506 | See \`config.log' for more details" "$LINENO" 5 ; } |
2533 | See \`config.log' for more details" "$LINENO" 5; } |
2507 | fi |
2534 | fi |
2508 | fi |
2535 | fi |
2509 | fi |
2536 | fi |
2510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2511 | $as_echo "$cross_compiling" >&6; } |
2538 | $as_echo "$cross_compiling" >&6; } |
2512 | |
2539 | |
2513 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2540 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2514 | ac_clean_files=$ac_clean_files_save |
2541 | ac_clean_files=$ac_clean_files_save |
2515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2542 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2516 | $as_echo_n "checking for suffix of object files... " >&6; } |
2543 | $as_echo_n "checking for suffix of object files... " >&6; } |
2517 | if test "${ac_cv_objext+set}" = set; then : |
2544 | if ${ac_cv_objext+:} false; then : |
2518 | $as_echo_n "(cached) " >&6 |
2545 | $as_echo_n "(cached) " >&6 |
2519 | else |
2546 | else |
2520 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2521 | /* end confdefs.h. */ |
2548 | /* end confdefs.h. */ |
2522 | |
2549 | |
… | |
… | |
2553 | sed 's/^/| /' conftest.$ac_ext >&5 |
2580 | sed 's/^/| /' conftest.$ac_ext >&5 |
2554 | |
2581 | |
2555 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2582 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2556 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2583 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2557 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2584 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2558 | See \`config.log' for more details" "$LINENO" 5 ; } |
2585 | See \`config.log' for more details" "$LINENO" 5; } |
2559 | fi |
2586 | fi |
2560 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2587 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2561 | fi |
2588 | fi |
2562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2563 | $as_echo "$ac_cv_objext" >&6; } |
2590 | $as_echo "$ac_cv_objext" >&6; } |
2564 | OBJEXT=$ac_cv_objext |
2591 | OBJEXT=$ac_cv_objext |
2565 | ac_objext=$OBJEXT |
2592 | ac_objext=$OBJEXT |
2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2593 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2567 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2594 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2568 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2595 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2569 | $as_echo_n "(cached) " >&6 |
2596 | $as_echo_n "(cached) " >&6 |
2570 | else |
2597 | else |
2571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2598 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2572 | /* end confdefs.h. */ |
2599 | /* end confdefs.h. */ |
2573 | |
2600 | |
… | |
… | |
2600 | fi |
2627 | fi |
2601 | ac_test_CFLAGS=${CFLAGS+set} |
2628 | ac_test_CFLAGS=${CFLAGS+set} |
2602 | ac_save_CFLAGS=$CFLAGS |
2629 | ac_save_CFLAGS=$CFLAGS |
2603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2604 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2631 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2605 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2632 | if ${ac_cv_prog_cc_g+:} false; then : |
2606 | $as_echo_n "(cached) " >&6 |
2633 | $as_echo_n "(cached) " >&6 |
2607 | else |
2634 | else |
2608 | ac_save_c_werror_flag=$ac_c_werror_flag |
2635 | ac_save_c_werror_flag=$ac_c_werror_flag |
2609 | ac_c_werror_flag=yes |
2636 | ac_c_werror_flag=yes |
2610 | ac_cv_prog_cc_g=no |
2637 | ac_cv_prog_cc_g=no |
… | |
… | |
2678 | CFLAGS= |
2705 | CFLAGS= |
2679 | fi |
2706 | fi |
2680 | fi |
2707 | fi |
2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2682 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2709 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2683 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2710 | if ${ac_cv_prog_cc_c89+:} false; then : |
2684 | $as_echo_n "(cached) " >&6 |
2711 | $as_echo_n "(cached) " >&6 |
2685 | else |
2712 | else |
2686 | ac_cv_prog_cc_c89=no |
2713 | ac_cv_prog_cc_c89=no |
2687 | ac_save_CC=$CC |
2714 | ac_save_CC=$CC |
2688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2715 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2689 | /* end confdefs.h. */ |
2716 | /* end confdefs.h. */ |
2690 | #include <stdarg.h> |
2717 | #include <stdarg.h> |
2691 | #include <stdio.h> |
2718 | #include <stdio.h> |
2692 | #include <sys/types.h> |
2719 | struct stat; |
2693 | #include <sys/stat.h> |
|
|
2694 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2720 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2695 | struct buf { int x; }; |
2721 | struct buf { int x; }; |
2696 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2722 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2697 | static char *e (p, i) |
2723 | static char *e (p, i) |
2698 | char **p; |
2724 | char **p; |
… | |
… | |
2774 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2800 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2775 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2801 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2776 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2802 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2777 | |
2803 | |
2778 | |
2804 | |
2779 | |
|
|
2780 | ac_ext=c |
2805 | ac_ext=c |
2781 | ac_cpp='$CPP $CPPFLAGS' |
2806 | ac_cpp='$CPP $CPPFLAGS' |
2782 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2807 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2783 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2808 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2784 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2809 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
2787 | # On Suns, sometimes $CPP names a directory. |
2812 | # On Suns, sometimes $CPP names a directory. |
2788 | if test -n "$CPP" && test -d "$CPP"; then |
2813 | if test -n "$CPP" && test -d "$CPP"; then |
2789 | CPP= |
2814 | CPP= |
2790 | fi |
2815 | fi |
2791 | if test -z "$CPP"; then |
2816 | if test -z "$CPP"; then |
2792 | if test "${ac_cv_prog_CPP+set}" = set; then : |
2817 | if ${ac_cv_prog_CPP+:} false; then : |
2793 | $as_echo_n "(cached) " >&6 |
2818 | $as_echo_n "(cached) " >&6 |
2794 | else |
2819 | else |
2795 | # Double quotes because CPP needs to be expanded |
2820 | # Double quotes because CPP needs to be expanded |
2796 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2821 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2797 | do |
2822 | do |
… | |
… | |
2903 | |
2928 | |
2904 | else |
2929 | else |
2905 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2930 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2906 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2931 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2907 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
2932 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
2908 | See \`config.log' for more details" "$LINENO" 5 ; } |
2933 | See \`config.log' for more details" "$LINENO" 5; } |
2909 | fi |
2934 | fi |
2910 | |
2935 | |
2911 | ac_ext=c |
2936 | ac_ext=c |
2912 | ac_cpp='$CPP $CPPFLAGS' |
2937 | ac_cpp='$CPP $CPPFLAGS' |
2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2938 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2940 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2916 | |
2941 | |
2917 | |
2942 | |
2918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
2943 | { $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; } |
2944 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
2920 | if test "${ac_cv_path_GREP+set}" = set; then : |
2945 | if ${ac_cv_path_GREP+:} false; then : |
2921 | $as_echo_n "(cached) " >&6 |
2946 | $as_echo_n "(cached) " >&6 |
2922 | else |
2947 | else |
2923 | if test -z "$GREP"; then |
2948 | if test -z "$GREP"; then |
2924 | ac_path_GREP_found=false |
2949 | ac_path_GREP_found=false |
2925 | # Loop through the user's path and test for each of PROGNAME-LIST |
2950 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
2929 | IFS=$as_save_IFS |
2954 | IFS=$as_save_IFS |
2930 | test -z "$as_dir" && as_dir=. |
2955 | test -z "$as_dir" && as_dir=. |
2931 | for ac_prog in grep ggrep; do |
2956 | for ac_prog in grep ggrep; do |
2932 | for ac_exec_ext in '' $ac_executable_extensions; do |
2957 | for ac_exec_ext in '' $ac_executable_extensions; do |
2933 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
2958 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
2934 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
2959 | as_fn_executable_p "$ac_path_GREP" || continue |
2935 | # Check for GNU ac_path_GREP and select it if it is found. |
2960 | # Check for GNU ac_path_GREP and select it if it is found. |
2936 | # Check for GNU $ac_path_GREP |
2961 | # Check for GNU $ac_path_GREP |
2937 | case `"$ac_path_GREP" --version 2>&1` in |
2962 | case `"$ac_path_GREP" --version 2>&1` in |
2938 | *GNU*) |
2963 | *GNU*) |
2939 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
2964 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
2978 | GREP="$ac_cv_path_GREP" |
3003 | GREP="$ac_cv_path_GREP" |
2979 | |
3004 | |
2980 | |
3005 | |
2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
2982 | $as_echo_n "checking for egrep... " >&6; } |
3007 | $as_echo_n "checking for egrep... " >&6; } |
2983 | if test "${ac_cv_path_EGREP+set}" = set; then : |
3008 | if ${ac_cv_path_EGREP+:} false; then : |
2984 | $as_echo_n "(cached) " >&6 |
3009 | $as_echo_n "(cached) " >&6 |
2985 | else |
3010 | else |
2986 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3011 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
2987 | then ac_cv_path_EGREP="$GREP -E" |
3012 | then ac_cv_path_EGREP="$GREP -E" |
2988 | else |
3013 | else |
… | |
… | |
2995 | IFS=$as_save_IFS |
3020 | IFS=$as_save_IFS |
2996 | test -z "$as_dir" && as_dir=. |
3021 | test -z "$as_dir" && as_dir=. |
2997 | for ac_prog in egrep; do |
3022 | for ac_prog in egrep; do |
2998 | for ac_exec_ext in '' $ac_executable_extensions; do |
3023 | for ac_exec_ext in '' $ac_executable_extensions; do |
2999 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3024 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3000 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3025 | as_fn_executable_p "$ac_path_EGREP" || continue |
3001 | # Check for GNU ac_path_EGREP and select it if it is found. |
3026 | # Check for GNU ac_path_EGREP and select it if it is found. |
3002 | # Check for GNU $ac_path_EGREP |
3027 | # Check for GNU $ac_path_EGREP |
3003 | case `"$ac_path_EGREP" --version 2>&1` in |
3028 | case `"$ac_path_EGREP" --version 2>&1` in |
3004 | *GNU*) |
3029 | *GNU*) |
3005 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3030 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
3045 | EGREP="$ac_cv_path_EGREP" |
3070 | EGREP="$ac_cv_path_EGREP" |
3046 | |
3071 | |
3047 | |
3072 | |
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3073 | { $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; } |
3074 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3050 | if test "${ac_cv_header_stdc+set}" = set; then : |
3075 | if ${ac_cv_header_stdc+:} false; then : |
3051 | $as_echo_n "(cached) " >&6 |
3076 | $as_echo_n "(cached) " >&6 |
3052 | else |
3077 | else |
3053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3054 | /* end confdefs.h. */ |
3079 | /* end confdefs.h. */ |
3055 | #include <stdlib.h> |
3080 | #include <stdlib.h> |
… | |
… | |
3172 | fi |
3197 | fi |
3173 | |
3198 | |
3174 | done |
3199 | done |
3175 | |
3200 | |
3176 | |
3201 | |
|
|
3202 | |
|
|
3203 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
|
|
3204 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
|
|
3205 | MINIX=yes |
|
|
3206 | else |
|
|
3207 | MINIX= |
|
|
3208 | fi |
|
|
3209 | |
|
|
3210 | |
|
|
3211 | if test "$MINIX" = yes; then |
|
|
3212 | |
|
|
3213 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
|
|
3214 | |
|
|
3215 | |
|
|
3216 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
|
3217 | |
|
|
3218 | |
|
|
3219 | $as_echo "#define _MINIX 1" >>confdefs.h |
|
|
3220 | |
|
|
3221 | fi |
|
|
3222 | |
|
|
3223 | |
|
|
3224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
|
|
3225 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
|
|
3226 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
|
|
3227 | $as_echo_n "(cached) " >&6 |
|
|
3228 | else |
|
|
3229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3230 | /* end confdefs.h. */ |
|
|
3231 | |
|
|
3232 | # define __EXTENSIONS__ 1 |
|
|
3233 | $ac_includes_default |
|
|
3234 | int |
|
|
3235 | main () |
|
|
3236 | { |
|
|
3237 | |
|
|
3238 | ; |
|
|
3239 | return 0; |
|
|
3240 | } |
|
|
3241 | _ACEOF |
|
|
3242 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3243 | ac_cv_safe_to_define___extensions__=yes |
|
|
3244 | else |
|
|
3245 | ac_cv_safe_to_define___extensions__=no |
|
|
3246 | fi |
|
|
3247 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3248 | fi |
|
|
3249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
|
|
3250 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
|
|
3251 | test $ac_cv_safe_to_define___extensions__ = yes && |
|
|
3252 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
3253 | |
|
|
3254 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
|
3255 | |
|
|
3256 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
|
3257 | |
|
|
3258 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
|
|
3259 | |
|
|
3260 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
|
3261 | |
|
|
3262 | |
|
|
3263 | |
|
|
3264 | ac_ext=c |
|
|
3265 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3266 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3267 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3268 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3269 | if test -n "$ac_tool_prefix"; then |
|
|
3270 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
3271 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
3272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3273 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3274 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3275 | $as_echo_n "(cached) " >&6 |
|
|
3276 | else |
|
|
3277 | if test -n "$CC"; then |
|
|
3278 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3279 | else |
|
|
3280 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3281 | for as_dir in $PATH |
|
|
3282 | do |
|
|
3283 | IFS=$as_save_IFS |
|
|
3284 | test -z "$as_dir" && as_dir=. |
|
|
3285 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3286 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3287 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
3288 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3289 | break 2 |
|
|
3290 | fi |
|
|
3291 | done |
|
|
3292 | done |
|
|
3293 | IFS=$as_save_IFS |
|
|
3294 | |
|
|
3295 | fi |
|
|
3296 | fi |
|
|
3297 | CC=$ac_cv_prog_CC |
|
|
3298 | if test -n "$CC"; then |
|
|
3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3300 | $as_echo "$CC" >&6; } |
|
|
3301 | else |
|
|
3302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3303 | $as_echo "no" >&6; } |
|
|
3304 | fi |
|
|
3305 | |
|
|
3306 | |
|
|
3307 | fi |
|
|
3308 | if test -z "$ac_cv_prog_CC"; then |
|
|
3309 | ac_ct_CC=$CC |
|
|
3310 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
3311 | set dummy gcc; ac_word=$2 |
|
|
3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3313 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3314 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3315 | $as_echo_n "(cached) " >&6 |
|
|
3316 | else |
|
|
3317 | if test -n "$ac_ct_CC"; then |
|
|
3318 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3319 | else |
|
|
3320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3321 | for as_dir in $PATH |
|
|
3322 | do |
|
|
3323 | IFS=$as_save_IFS |
|
|
3324 | test -z "$as_dir" && as_dir=. |
|
|
3325 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3326 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3327 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
3328 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3329 | break 2 |
|
|
3330 | fi |
|
|
3331 | done |
|
|
3332 | done |
|
|
3333 | IFS=$as_save_IFS |
|
|
3334 | |
|
|
3335 | fi |
|
|
3336 | fi |
|
|
3337 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3338 | if test -n "$ac_ct_CC"; then |
|
|
3339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3340 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3341 | else |
|
|
3342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3343 | $as_echo "no" >&6; } |
|
|
3344 | fi |
|
|
3345 | |
|
|
3346 | if test "x$ac_ct_CC" = x; then |
|
|
3347 | CC="" |
|
|
3348 | else |
|
|
3349 | case $cross_compiling:$ac_tool_warned in |
|
|
3350 | yes:) |
|
|
3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3352 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3353 | ac_tool_warned=yes ;; |
|
|
3354 | esac |
|
|
3355 | CC=$ac_ct_CC |
|
|
3356 | fi |
|
|
3357 | else |
|
|
3358 | CC="$ac_cv_prog_CC" |
|
|
3359 | fi |
|
|
3360 | |
|
|
3361 | if test -z "$CC"; then |
|
|
3362 | if test -n "$ac_tool_prefix"; then |
|
|
3363 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
3364 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
3365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3366 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3367 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3368 | $as_echo_n "(cached) " >&6 |
|
|
3369 | else |
|
|
3370 | if test -n "$CC"; then |
|
|
3371 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3372 | else |
|
|
3373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3374 | for as_dir in $PATH |
|
|
3375 | do |
|
|
3376 | IFS=$as_save_IFS |
|
|
3377 | test -z "$as_dir" && as_dir=. |
|
|
3378 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3379 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3380 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
3381 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3382 | break 2 |
|
|
3383 | fi |
|
|
3384 | done |
|
|
3385 | done |
|
|
3386 | IFS=$as_save_IFS |
|
|
3387 | |
|
|
3388 | fi |
|
|
3389 | fi |
|
|
3390 | CC=$ac_cv_prog_CC |
|
|
3391 | if test -n "$CC"; then |
|
|
3392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3393 | $as_echo "$CC" >&6; } |
|
|
3394 | else |
|
|
3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3396 | $as_echo "no" >&6; } |
|
|
3397 | fi |
|
|
3398 | |
|
|
3399 | |
|
|
3400 | fi |
|
|
3401 | fi |
|
|
3402 | if test -z "$CC"; then |
|
|
3403 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
3404 | set dummy cc; ac_word=$2 |
|
|
3405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3406 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3407 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3408 | $as_echo_n "(cached) " >&6 |
|
|
3409 | else |
|
|
3410 | if test -n "$CC"; then |
|
|
3411 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3412 | else |
|
|
3413 | ac_prog_rejected=no |
|
|
3414 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3415 | for as_dir in $PATH |
|
|
3416 | do |
|
|
3417 | IFS=$as_save_IFS |
|
|
3418 | test -z "$as_dir" && as_dir=. |
|
|
3419 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3420 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3421 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
3422 | ac_prog_rejected=yes |
|
|
3423 | continue |
|
|
3424 | fi |
|
|
3425 | ac_cv_prog_CC="cc" |
|
|
3426 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3427 | break 2 |
|
|
3428 | fi |
|
|
3429 | done |
|
|
3430 | done |
|
|
3431 | IFS=$as_save_IFS |
|
|
3432 | |
|
|
3433 | if test $ac_prog_rejected = yes; then |
|
|
3434 | # We found a bogon in the path, so make sure we never use it. |
|
|
3435 | set dummy $ac_cv_prog_CC |
|
|
3436 | shift |
|
|
3437 | if test $# != 0; then |
|
|
3438 | # We chose a different compiler from the bogus one. |
|
|
3439 | # However, it has the same basename, so the bogon will be chosen |
|
|
3440 | # first if we set CC to just the basename; use the full file name. |
|
|
3441 | shift |
|
|
3442 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
3443 | fi |
|
|
3444 | fi |
|
|
3445 | fi |
|
|
3446 | fi |
|
|
3447 | CC=$ac_cv_prog_CC |
|
|
3448 | if test -n "$CC"; then |
|
|
3449 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3450 | $as_echo "$CC" >&6; } |
|
|
3451 | else |
|
|
3452 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3453 | $as_echo "no" >&6; } |
|
|
3454 | fi |
|
|
3455 | |
|
|
3456 | |
|
|
3457 | fi |
|
|
3458 | if test -z "$CC"; then |
|
|
3459 | if test -n "$ac_tool_prefix"; then |
|
|
3460 | for ac_prog in cl.exe |
|
|
3461 | do |
|
|
3462 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
3463 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3465 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3466 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3467 | $as_echo_n "(cached) " >&6 |
|
|
3468 | else |
|
|
3469 | if test -n "$CC"; then |
|
|
3470 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3471 | else |
|
|
3472 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3473 | for as_dir in $PATH |
|
|
3474 | do |
|
|
3475 | IFS=$as_save_IFS |
|
|
3476 | test -z "$as_dir" && as_dir=. |
|
|
3477 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3478 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3479 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
3480 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3481 | break 2 |
|
|
3482 | fi |
|
|
3483 | done |
|
|
3484 | done |
|
|
3485 | IFS=$as_save_IFS |
|
|
3486 | |
|
|
3487 | fi |
|
|
3488 | fi |
|
|
3489 | CC=$ac_cv_prog_CC |
|
|
3490 | if test -n "$CC"; then |
|
|
3491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3492 | $as_echo "$CC" >&6; } |
|
|
3493 | else |
|
|
3494 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3495 | $as_echo "no" >&6; } |
|
|
3496 | fi |
|
|
3497 | |
|
|
3498 | |
|
|
3499 | test -n "$CC" && break |
|
|
3500 | done |
|
|
3501 | fi |
|
|
3502 | if test -z "$CC"; then |
|
|
3503 | ac_ct_CC=$CC |
|
|
3504 | for ac_prog in cl.exe |
|
|
3505 | do |
|
|
3506 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3507 | set dummy $ac_prog; ac_word=$2 |
|
|
3508 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3509 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3510 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3511 | $as_echo_n "(cached) " >&6 |
|
|
3512 | else |
|
|
3513 | if test -n "$ac_ct_CC"; then |
|
|
3514 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3515 | else |
|
|
3516 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3517 | for as_dir in $PATH |
|
|
3518 | do |
|
|
3519 | IFS=$as_save_IFS |
|
|
3520 | test -z "$as_dir" && as_dir=. |
|
|
3521 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3522 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3523 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
3524 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3525 | break 2 |
|
|
3526 | fi |
|
|
3527 | done |
|
|
3528 | done |
|
|
3529 | IFS=$as_save_IFS |
|
|
3530 | |
|
|
3531 | fi |
|
|
3532 | fi |
|
|
3533 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3534 | if test -n "$ac_ct_CC"; then |
|
|
3535 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3536 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3537 | else |
|
|
3538 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3539 | $as_echo "no" >&6; } |
|
|
3540 | fi |
|
|
3541 | |
|
|
3542 | |
|
|
3543 | test -n "$ac_ct_CC" && break |
|
|
3544 | done |
|
|
3545 | |
|
|
3546 | if test "x$ac_ct_CC" = x; then |
|
|
3547 | CC="" |
|
|
3548 | else |
|
|
3549 | case $cross_compiling:$ac_tool_warned in |
|
|
3550 | yes:) |
|
|
3551 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3552 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3553 | ac_tool_warned=yes ;; |
|
|
3554 | esac |
|
|
3555 | CC=$ac_ct_CC |
|
|
3556 | fi |
|
|
3557 | fi |
|
|
3558 | |
|
|
3559 | fi |
|
|
3560 | |
|
|
3561 | |
|
|
3562 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3563 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3564 | as_fn_error $? "no acceptable C compiler found in \$PATH |
|
|
3565 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3566 | |
|
|
3567 | # Provide some information about the compiler. |
|
|
3568 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
|
3569 | set X $ac_compile |
|
|
3570 | ac_compiler=$2 |
|
|
3571 | for ac_option in --version -v -V -qversion; do |
|
|
3572 | { { ac_try="$ac_compiler $ac_option >&5" |
|
|
3573 | case "(($ac_try" in |
|
|
3574 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3575 | *) ac_try_echo=$ac_try;; |
|
|
3576 | esac |
|
|
3577 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3578 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3579 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
|
3580 | ac_status=$? |
|
|
3581 | if test -s conftest.err; then |
|
|
3582 | sed '10a\ |
|
|
3583 | ... rest of stderr output deleted ... |
|
|
3584 | 10q' conftest.err >conftest.er1 |
|
|
3585 | cat conftest.er1 >&5 |
|
|
3586 | fi |
|
|
3587 | rm -f conftest.er1 conftest.err |
|
|
3588 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3589 | test $ac_status = 0; } |
|
|
3590 | done |
|
|
3591 | |
|
|
3592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
|
3593 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
|
3594 | if ${ac_cv_c_compiler_gnu+:} false; then : |
|
|
3595 | $as_echo_n "(cached) " >&6 |
|
|
3596 | else |
|
|
3597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3598 | /* end confdefs.h. */ |
|
|
3599 | |
|
|
3600 | int |
|
|
3601 | main () |
|
|
3602 | { |
|
|
3603 | #ifndef __GNUC__ |
|
|
3604 | choke me |
|
|
3605 | #endif |
|
|
3606 | |
|
|
3607 | ; |
|
|
3608 | return 0; |
|
|
3609 | } |
|
|
3610 | _ACEOF |
|
|
3611 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3612 | ac_compiler_gnu=yes |
|
|
3613 | else |
|
|
3614 | ac_compiler_gnu=no |
|
|
3615 | fi |
|
|
3616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3617 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
3618 | |
|
|
3619 | fi |
|
|
3620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
3621 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3622 | if test $ac_compiler_gnu = yes; then |
|
|
3623 | GCC=yes |
|
|
3624 | else |
|
|
3625 | GCC= |
|
|
3626 | fi |
|
|
3627 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
3628 | ac_save_CFLAGS=$CFLAGS |
|
|
3629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
|
3630 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
|
3631 | if ${ac_cv_prog_cc_g+:} false; then : |
|
|
3632 | $as_echo_n "(cached) " >&6 |
|
|
3633 | else |
|
|
3634 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3635 | ac_c_werror_flag=yes |
|
|
3636 | ac_cv_prog_cc_g=no |
|
|
3637 | CFLAGS="-g" |
|
|
3638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3639 | /* end confdefs.h. */ |
|
|
3640 | |
|
|
3641 | int |
|
|
3642 | main () |
|
|
3643 | { |
|
|
3644 | |
|
|
3645 | ; |
|
|
3646 | return 0; |
|
|
3647 | } |
|
|
3648 | _ACEOF |
|
|
3649 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3650 | ac_cv_prog_cc_g=yes |
|
|
3651 | else |
|
|
3652 | CFLAGS="" |
|
|
3653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3654 | /* end confdefs.h. */ |
|
|
3655 | |
|
|
3656 | int |
|
|
3657 | main () |
|
|
3658 | { |
|
|
3659 | |
|
|
3660 | ; |
|
|
3661 | return 0; |
|
|
3662 | } |
|
|
3663 | _ACEOF |
|
|
3664 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3665 | |
|
|
3666 | else |
|
|
3667 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3668 | CFLAGS="-g" |
|
|
3669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3670 | /* end confdefs.h. */ |
|
|
3671 | |
|
|
3672 | int |
|
|
3673 | main () |
|
|
3674 | { |
|
|
3675 | |
|
|
3676 | ; |
|
|
3677 | return 0; |
|
|
3678 | } |
|
|
3679 | _ACEOF |
|
|
3680 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3681 | ac_cv_prog_cc_g=yes |
|
|
3682 | fi |
|
|
3683 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3684 | fi |
|
|
3685 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3686 | fi |
|
|
3687 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3688 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3689 | fi |
|
|
3690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
|
3691 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
|
3692 | if test "$ac_test_CFLAGS" = set; then |
|
|
3693 | CFLAGS=$ac_save_CFLAGS |
|
|
3694 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
3695 | if test "$GCC" = yes; then |
|
|
3696 | CFLAGS="-g -O2" |
|
|
3697 | else |
|
|
3698 | CFLAGS="-g" |
|
|
3699 | fi |
|
|
3700 | else |
|
|
3701 | if test "$GCC" = yes; then |
|
|
3702 | CFLAGS="-O2" |
|
|
3703 | else |
|
|
3704 | CFLAGS= |
|
|
3705 | fi |
|
|
3706 | fi |
|
|
3707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
|
3708 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
|
3709 | if ${ac_cv_prog_cc_c89+:} false; then : |
|
|
3710 | $as_echo_n "(cached) " >&6 |
|
|
3711 | else |
|
|
3712 | ac_cv_prog_cc_c89=no |
|
|
3713 | ac_save_CC=$CC |
|
|
3714 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3715 | /* end confdefs.h. */ |
|
|
3716 | #include <stdarg.h> |
|
|
3717 | #include <stdio.h> |
|
|
3718 | struct stat; |
|
|
3719 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
3720 | struct buf { int x; }; |
|
|
3721 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
3722 | static char *e (p, i) |
|
|
3723 | char **p; |
|
|
3724 | int i; |
|
|
3725 | { |
|
|
3726 | return p[i]; |
|
|
3727 | } |
|
|
3728 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
3729 | { |
|
|
3730 | char *s; |
|
|
3731 | va_list v; |
|
|
3732 | va_start (v,p); |
|
|
3733 | s = g (p, va_arg (v,int)); |
|
|
3734 | va_end (v); |
|
|
3735 | return s; |
|
|
3736 | } |
|
|
3737 | |
|
|
3738 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
3739 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
3740 | These don't provoke an error unfortunately, instead are silently treated |
|
|
3741 | as 'x'. The following induces an error, until -std is added to get |
|
|
3742 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
3743 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
3744 | that's true only with -std. */ |
|
|
3745 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3746 | |
|
|
3747 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3748 | inside strings and character constants. */ |
|
|
3749 | #define FOO(x) 'x' |
|
|
3750 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
3751 | |
|
|
3752 | int test (int i, double x); |
|
|
3753 | struct s1 {int (*f) (int a);}; |
|
|
3754 | struct s2 {int (*f) (double a);}; |
|
|
3755 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
3756 | int argc; |
|
|
3757 | char **argv; |
|
|
3758 | int |
|
|
3759 | main () |
|
|
3760 | { |
|
|
3761 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
3762 | ; |
|
|
3763 | return 0; |
|
|
3764 | } |
|
|
3765 | _ACEOF |
|
|
3766 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
3767 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
3768 | do |
|
|
3769 | CC="$ac_save_CC $ac_arg" |
|
|
3770 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3771 | ac_cv_prog_cc_c89=$ac_arg |
|
|
3772 | fi |
|
|
3773 | rm -f core conftest.err conftest.$ac_objext |
|
|
3774 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
3775 | done |
|
|
3776 | rm -f conftest.$ac_ext |
|
|
3777 | CC=$ac_save_CC |
|
|
3778 | |
|
|
3779 | fi |
|
|
3780 | # AC_CACHE_VAL |
|
|
3781 | case "x$ac_cv_prog_cc_c89" in |
|
|
3782 | x) |
|
|
3783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3784 | $as_echo "none needed" >&6; } ;; |
|
|
3785 | xno) |
|
|
3786 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3787 | $as_echo "unsupported" >&6; } ;; |
|
|
3788 | *) |
|
|
3789 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
3790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3791 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
3792 | esac |
|
|
3793 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
3794 | |
|
|
3795 | fi |
|
|
3796 | |
|
|
3797 | ac_ext=c |
|
|
3798 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3799 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3800 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3801 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3802 | |
|
|
3803 | |
3177 | for ac_header in stdint.h sys/syscall.h |
3804 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
3178 | do : |
3805 | do : |
3179 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3806 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3180 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3807 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3181 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3808 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3182 | cat >>confdefs.h <<_ACEOF |
3809 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
3188 | done |
3815 | done |
3189 | |
3816 | |
3190 | |
3817 | |
3191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3192 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3819 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3193 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3820 | if ${ac_cv_search_pthread_create+:} false; then : |
3194 | $as_echo_n "(cached) " >&6 |
3821 | $as_echo_n "(cached) " >&6 |
3195 | else |
3822 | else |
3196 | ac_func_search_save_LIBS=$LIBS |
3823 | ac_func_search_save_LIBS=$LIBS |
3197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3198 | /* end confdefs.h. */ |
3825 | /* end confdefs.h. */ |
… | |
… | |
3222 | if ac_fn_c_try_link "$LINENO"; then : |
3849 | if ac_fn_c_try_link "$LINENO"; then : |
3223 | ac_cv_search_pthread_create=$ac_res |
3850 | ac_cv_search_pthread_create=$ac_res |
3224 | fi |
3851 | fi |
3225 | rm -f core conftest.err conftest.$ac_objext \ |
3852 | rm -f core conftest.err conftest.$ac_objext \ |
3226 | conftest$ac_exeext |
3853 | conftest$ac_exeext |
3227 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3854 | if ${ac_cv_search_pthread_create+:} false; then : |
3228 | break |
3855 | break |
3229 | fi |
3856 | fi |
3230 | done |
3857 | done |
3231 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3858 | if ${ac_cv_search_pthread_create+:} false; then : |
3232 | |
3859 | |
3233 | else |
3860 | else |
3234 | ac_cv_search_pthread_create=no |
3861 | ac_cv_search_pthread_create=no |
3235 | fi |
3862 | fi |
3236 | rm conftest.$ac_ext |
3863 | rm conftest.$ac_ext |
… | |
… | |
3248 | fi |
3875 | fi |
3249 | |
3876 | |
3250 | |
3877 | |
3251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3878 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
3252 | $as_echo_n "checking for utimes... " >&6; } |
3879 | $as_echo_n "checking for utimes... " >&6; } |
3253 | if test "${ac_cv_utimes+set}" = set; then : |
3880 | if ${ac_cv_utimes+:} false; then : |
3254 | $as_echo_n "(cached) " >&6 |
3881 | $as_echo_n "(cached) " >&6 |
3255 | else |
3882 | else |
3256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3883 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3257 | /* end confdefs.h. */ |
3884 | /* end confdefs.h. */ |
3258 | |
3885 | |
… | |
… | |
3282 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3909 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
3283 | |
3910 | |
3284 | |
3911 | |
3285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3912 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3286 | $as_echo_n "checking for futimes... " >&6; } |
3913 | $as_echo_n "checking for futimes... " >&6; } |
3287 | if test "${ac_cv_futimes+set}" = set; then : |
3914 | if ${ac_cv_futimes+:} false; then : |
3288 | $as_echo_n "(cached) " >&6 |
3915 | $as_echo_n "(cached) " >&6 |
3289 | else |
3916 | else |
3290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3291 | /* end confdefs.h. */ |
3918 | /* end confdefs.h. */ |
3292 | |
3919 | |
… | |
… | |
3317 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3944 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3318 | |
3945 | |
3319 | |
3946 | |
3320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3321 | $as_echo_n "checking for readahead... " >&6; } |
3948 | $as_echo_n "checking for readahead... " >&6; } |
3322 | if test "${ac_cv_readahead+set}" = set; then : |
3949 | if ${ac_cv_readahead+:} false; then : |
3323 | $as_echo_n "(cached) " >&6 |
3950 | $as_echo_n "(cached) " >&6 |
3324 | else |
3951 | else |
3325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3952 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3326 | /* end confdefs.h. */ |
3953 | /* end confdefs.h. */ |
3327 | |
3954 | |
… | |
… | |
3350 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3977 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3351 | |
3978 | |
3352 | |
3979 | |
3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3354 | $as_echo_n "checking for fdatasync... " >&6; } |
3981 | $as_echo_n "checking for fdatasync... " >&6; } |
3355 | if test "${ac_cv_fdatasync+set}" = set; then : |
3982 | if ${ac_cv_fdatasync+:} false; then : |
3356 | $as_echo_n "(cached) " >&6 |
3983 | $as_echo_n "(cached) " >&6 |
3357 | else |
3984 | else |
3358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3359 | /* end confdefs.h. */ |
3986 | /* end confdefs.h. */ |
3360 | |
3987 | |
… | |
… | |
3379 | $as_echo "$ac_cv_fdatasync" >&6; } |
4006 | $as_echo "$ac_cv_fdatasync" >&6; } |
3380 | test $ac_cv_fdatasync = yes && |
4007 | test $ac_cv_fdatasync = yes && |
3381 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
4008 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
3382 | |
4009 | |
3383 | |
4010 | |
3384 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
|
|
3385 | $as_echo_n "checking for pread and pwrite... " >&6; } |
|
|
3386 | if test "${ac_cv_preadwrite+set}" = set; then : |
|
|
3387 | $as_echo_n "(cached) " >&6 |
|
|
3388 | else |
|
|
3389 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3390 | /* end confdefs.h. */ |
|
|
3391 | |
|
|
3392 | #include <unistd.h> |
|
|
3393 | int main (void) |
|
|
3394 | { |
|
|
3395 | int fd = 0; |
|
|
3396 | size_t count = 1; |
|
|
3397 | char buf; |
|
|
3398 | off_t offset = 1; |
|
|
3399 | ssize_t res; |
|
|
3400 | res = pread (fd, &buf, count, offset); |
|
|
3401 | res = pwrite (fd, &buf, count, offset); |
|
|
3402 | return 0; |
|
|
3403 | } |
|
|
3404 | |
|
|
3405 | _ACEOF |
|
|
3406 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3407 | ac_cv_preadwrite=yes |
|
|
3408 | else |
|
|
3409 | ac_cv_preadwrite=no |
|
|
3410 | fi |
|
|
3411 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3412 | conftest$ac_exeext conftest.$ac_ext |
|
|
3413 | fi |
|
|
3414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
|
|
3415 | $as_echo "$ac_cv_preadwrite" >&6; } |
|
|
3416 | test $ac_cv_preadwrite = yes && |
|
|
3417 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
|
|
3418 | |
|
|
3419 | |
|
|
3420 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
3421 | $as_echo_n "checking for sendfile... " >&6; } |
4012 | $as_echo_n "checking for sendfile... " >&6; } |
3422 | if test "${ac_cv_sendfile+set}" = set; then : |
4013 | if ${ac_cv_sendfile+:} false; then : |
3423 | $as_echo_n "(cached) " >&6 |
4014 | $as_echo_n "(cached) " >&6 |
3424 | else |
4015 | else |
3425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3426 | /* end confdefs.h. */ |
4017 | /* end confdefs.h. */ |
3427 | |
4018 | |
… | |
… | |
3467 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
4058 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
3468 | |
4059 | |
3469 | |
4060 | |
3470 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
4061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
3471 | $as_echo_n "checking for sync_file_range... " >&6; } |
4062 | $as_echo_n "checking for sync_file_range... " >&6; } |
3472 | if test "${ac_cv_sync_file_range+set}" = set; then : |
4063 | if ${ac_cv_sync_file_range+:} false; then : |
3473 | $as_echo_n "(cached) " >&6 |
4064 | $as_echo_n "(cached) " >&6 |
3474 | else |
4065 | else |
3475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4066 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3476 | /* end confdefs.h. */ |
4067 | /* end confdefs.h. */ |
3477 | |
4068 | |
… | |
… | |
3502 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4093 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
3503 | |
4094 | |
3504 | |
4095 | |
3505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
4096 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
3506 | $as_echo_n "checking for fallocate... " >&6; } |
4097 | $as_echo_n "checking for fallocate... " >&6; } |
3507 | if test "${ac_cv_fallocate+set}" = set; then : |
4098 | if ${ac_cv_linux_fallocate+:} false; then : |
3508 | $as_echo_n "(cached) " >&6 |
4099 | $as_echo_n "(cached) " >&6 |
3509 | else |
4100 | else |
3510 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4101 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3511 | /* end confdefs.h. */ |
4102 | /* end confdefs.h. */ |
3512 | |
4103 | |
… | |
… | |
3522 | return 0; |
4113 | return 0; |
3523 | } |
4114 | } |
3524 | |
4115 | |
3525 | _ACEOF |
4116 | _ACEOF |
3526 | if ac_fn_c_try_link "$LINENO"; then : |
4117 | if ac_fn_c_try_link "$LINENO"; then : |
3527 | ac_cv_fallocate=yes |
4118 | ac_cv_linux_fallocate=yes |
3528 | else |
4119 | else |
3529 | ac_cv_fallocate=no |
4120 | ac_cv_linux_fallocate=no |
3530 | fi |
4121 | fi |
3531 | rm -f core conftest.err conftest.$ac_objext \ |
4122 | rm -f core conftest.err conftest.$ac_objext \ |
3532 | conftest$ac_exeext conftest.$ac_ext |
4123 | conftest$ac_exeext conftest.$ac_ext |
3533 | fi |
4124 | fi |
3534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 |
4125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5 |
3535 | $as_echo "$ac_cv_fallocate" >&6; } |
4126 | $as_echo "$ac_cv_linux_fallocate" >&6; } |
3536 | test $ac_cv_fallocate = yes && |
4127 | test $ac_cv_linux_fallocate = yes && |
3537 | $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
4128 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
3538 | |
4129 | |
3539 | |
4130 | |
3540 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
4131 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
3541 | $as_echo_n "checking for sys_syncfs... " >&6; } |
4132 | $as_echo_n "checking for sys_syncfs... " >&6; } |
3542 | if test "${ac_cv_sys_syncfs+set}" = set; then : |
4133 | if ${ac_cv_sys_syncfs+:} false; then : |
3543 | $as_echo_n "(cached) " >&6 |
4134 | $as_echo_n "(cached) " >&6 |
3544 | else |
4135 | else |
3545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3546 | /* end confdefs.h. */ |
4137 | /* end confdefs.h. */ |
3547 | |
4138 | |
… | |
… | |
3565 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
4156 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
3566 | test $ac_cv_sys_syncfs = yes && |
4157 | test $ac_cv_sys_syncfs = yes && |
3567 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
4158 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
3568 | |
4159 | |
3569 | |
4160 | |
|
|
4161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
4162 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
4163 | if ${ac_cv_prctl_set_name+:} false; then : |
|
|
4164 | $as_echo_n "(cached) " >&6 |
|
|
4165 | else |
|
|
4166 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4167 | /* end confdefs.h. */ |
|
|
4168 | |
|
|
4169 | #include <sys/prctl.h> |
|
|
4170 | int main (void) |
|
|
4171 | { |
|
|
4172 | char name = "test123"; |
|
|
4173 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
4174 | } |
|
|
4175 | |
|
|
4176 | _ACEOF |
|
|
4177 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4178 | ac_cv_prctl_set_name=yes |
|
|
4179 | else |
|
|
4180 | ac_cv_prctl_set_name=no |
|
|
4181 | fi |
|
|
4182 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4183 | conftest$ac_exeext conftest.$ac_ext |
|
|
4184 | fi |
|
|
4185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
4186 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
4187 | test $ac_cv_prctl_set_name = yes && |
|
|
4188 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
|
|
4189 | |
|
|
4190 | |
3570 | |
4191 | |
3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
4192 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3572 | $as_echo_n "checking for posix_madvise... " >&6; } |
4193 | $as_echo_n "checking for posix_madvise... " >&6; } |
3573 | if test "${ac_cv_posix_madvise+set}" = set; then : |
4194 | if ${ac_cv_posix_madvise+:} false; then : |
3574 | $as_echo_n "(cached) " >&6 |
4195 | $as_echo_n "(cached) " >&6 |
3575 | else |
4196 | else |
3576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3577 | /* end confdefs.h. */ |
4198 | /* end confdefs.h. */ |
3578 | |
4199 | |
… | |
… | |
3602 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
4223 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
3603 | |
4224 | |
3604 | |
4225 | |
3605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
4226 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
3606 | $as_echo_n "checking for posix_fadvise... " >&6; } |
4227 | $as_echo_n "checking for posix_fadvise... " >&6; } |
3607 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
4228 | if ${ac_cv_posix_fadvise+:} false; then : |
3608 | $as_echo_n "(cached) " >&6 |
4229 | $as_echo_n "(cached) " >&6 |
3609 | else |
4230 | else |
3610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4231 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3611 | /* end confdefs.h. */ |
4232 | /* end confdefs.h. */ |
3612 | |
4233 | |
… | |
… | |
3636 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
4257 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
3637 | test $ac_cv_posix_fadvise = yes && |
4258 | test $ac_cv_posix_fadvise = yes && |
3638 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
4259 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
3639 | |
4260 | |
3640 | |
4261 | |
|
|
4262 | for ac_header in linux/fs.h linux/fiemap.h |
|
|
4263 | do : |
|
|
4264 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4265 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
4266 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
4267 | cat >>confdefs.h <<_ACEOF |
|
|
4268 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4269 | _ACEOF |
|
|
4270 | |
|
|
4271 | fi |
|
|
4272 | |
|
|
4273 | done |
|
|
4274 | |
|
|
4275 | |
|
|
4276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
|
|
4277 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
|
|
4278 | if ${ac_cv_linux_splice+:} false; then : |
|
|
4279 | $as_echo_n "(cached) " >&6 |
|
|
4280 | else |
|
|
4281 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4282 | /* end confdefs.h. */ |
|
|
4283 | |
|
|
4284 | #include <fcntl.h> |
|
|
4285 | int main (void) |
|
|
4286 | { |
|
|
4287 | ssize_t res; |
|
|
4288 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
|
|
4289 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
|
|
4290 | res = vmsplice ((int)0, (struct iovec *)0, 0, SPLICE_F_NONBLOCK | SPLICE_F_GIFT); |
|
|
4291 | return 0; |
|
|
4292 | } |
|
|
4293 | |
|
|
4294 | _ACEOF |
|
|
4295 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4296 | ac_cv_linux_splice=yes |
|
|
4297 | else |
|
|
4298 | ac_cv_linux_splice=no |
|
|
4299 | fi |
|
|
4300 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4301 | conftest$ac_exeext conftest.$ac_ext |
|
|
4302 | fi |
|
|
4303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
|
|
4304 | $as_echo "$ac_cv_linux_splice" >&6; } |
|
|
4305 | test $ac_cv_linux_splice = yes && |
|
|
4306 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
|
|
4307 | |
|
|
4308 | |
|
|
4309 | |
|
|
4310 | |
|
|
4311 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
|
|
4312 | $as_echo_n "checking for pipe2... " >&6; } |
|
|
4313 | if ${ac_cv_pipe2+:} false; then : |
|
|
4314 | $as_echo_n "(cached) " >&6 |
|
|
4315 | else |
|
|
4316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4317 | /* end confdefs.h. */ |
|
|
4318 | |
|
|
4319 | #include <fcntl.h> |
|
|
4320 | #include <unistd.h> |
|
|
4321 | int res; |
|
|
4322 | int main (void) |
|
|
4323 | { |
|
|
4324 | res = pipe2 (0, 0); |
|
|
4325 | return 0; |
|
|
4326 | } |
|
|
4327 | |
|
|
4328 | _ACEOF |
|
|
4329 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4330 | ac_cv_pipe2=yes |
|
|
4331 | else |
|
|
4332 | ac_cv_pipe2=no |
|
|
4333 | fi |
|
|
4334 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4335 | conftest$ac_exeext conftest.$ac_ext |
|
|
4336 | fi |
|
|
4337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
|
|
4338 | $as_echo "$ac_cv_pipe2" >&6; } |
|
|
4339 | test $ac_cv_pipe2 = yes && |
|
|
4340 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
3641 | |
4341 | |
3642 | |
4342 | |
3643 | cat >confcache <<\_ACEOF |
4343 | cat >confcache <<\_ACEOF |
3644 | # This file is a shell script that caches the results of configure |
4344 | # This file is a shell script that caches the results of configure |
3645 | # tests run on this system so they can be shared between configure |
4345 | # tests run on this system so they can be shared between configure |
… | |
… | |
3702 | t end |
4402 | t end |
3703 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4403 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3704 | :end' >>confcache |
4404 | :end' >>confcache |
3705 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4405 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3706 | if test -w "$cache_file"; then |
4406 | if test -w "$cache_file"; then |
3707 | test "x$cache_file" != "x/dev/null" && |
4407 | if test "x$cache_file" != "x/dev/null"; then |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4408 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3709 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
4409 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
4410 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
3710 | cat confcache >$cache_file |
4411 | cat confcache >"$cache_file" |
|
|
4412 | else |
|
|
4413 | case $cache_file in #( |
|
|
4414 | */* | ?:*) |
|
|
4415 | mv -f confcache "$cache_file"$$ && |
|
|
4416 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
4417 | *) |
|
|
4418 | mv -f confcache "$cache_file" ;; |
|
|
4419 | esac |
|
|
4420 | fi |
|
|
4421 | fi |
3711 | else |
4422 | else |
3712 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4423 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3713 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4424 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3714 | fi |
4425 | fi |
3715 | fi |
4426 | fi |
… | |
… | |
3737 | |
4448 | |
3738 | LTLIBOBJS=$ac_ltlibobjs |
4449 | LTLIBOBJS=$ac_ltlibobjs |
3739 | |
4450 | |
3740 | |
4451 | |
3741 | |
4452 | |
3742 | : ${CONFIG_STATUS=./config.status} |
4453 | : "${CONFIG_STATUS=./config.status}" |
3743 | ac_write_fail=0 |
4454 | ac_write_fail=0 |
3744 | ac_clean_files_save=$ac_clean_files |
4455 | ac_clean_files_save=$ac_clean_files |
3745 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4456 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3746 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4457 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3747 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4458 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
3838 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4549 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3839 | # splitting by setting IFS to empty value.) |
4550 | # splitting by setting IFS to empty value.) |
3840 | IFS=" "" $as_nl" |
4551 | IFS=" "" $as_nl" |
3841 | |
4552 | |
3842 | # Find who we are. Look in the path if we contain no directory separator. |
4553 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
4554 | as_myself= |
3843 | case $0 in #(( |
4555 | case $0 in #(( |
3844 | *[\\/]* ) as_myself=$0 ;; |
4556 | *[\\/]* ) as_myself=$0 ;; |
3845 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4557 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3846 | for as_dir in $PATH |
4558 | for as_dir in $PATH |
3847 | do |
4559 | do |
… | |
… | |
4033 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4745 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4034 | as_ln_s='ln -s' |
4746 | as_ln_s='ln -s' |
4035 | # ... but there are two gotchas: |
4747 | # ... but there are two gotchas: |
4036 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4748 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4037 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4749 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4038 | # In both cases, we have to default to `cp -p'. |
4750 | # In both cases, we have to default to `cp -pR'. |
4039 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4751 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4040 | as_ln_s='cp -p' |
4752 | as_ln_s='cp -pR' |
4041 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4753 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4042 | as_ln_s=ln |
4754 | as_ln_s=ln |
4043 | else |
4755 | else |
4044 | as_ln_s='cp -p' |
4756 | as_ln_s='cp -pR' |
4045 | fi |
4757 | fi |
4046 | else |
4758 | else |
4047 | as_ln_s='cp -p' |
4759 | as_ln_s='cp -pR' |
4048 | fi |
4760 | fi |
4049 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4761 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4050 | rmdir conf$$.dir 2>/dev/null |
4762 | rmdir conf$$.dir 2>/dev/null |
4051 | |
4763 | |
4052 | |
4764 | |
… | |
… | |
4102 | else |
4814 | else |
4103 | test -d ./-p && rmdir ./-p |
4815 | test -d ./-p && rmdir ./-p |
4104 | as_mkdir_p=false |
4816 | as_mkdir_p=false |
4105 | fi |
4817 | fi |
4106 | |
4818 | |
4107 | if test -x / >/dev/null 2>&1; then |
4819 | |
|
|
4820 | # as_fn_executable_p FILE |
|
|
4821 | # ----------------------- |
|
|
4822 | # Test if FILE is an executable regular file. |
|
|
4823 | as_fn_executable_p () |
|
|
4824 | { |
|
|
4825 | test -f "$1" && test -x "$1" |
|
|
4826 | } # as_fn_executable_p |
4108 | as_test_x='test -x' |
4827 | as_test_x='test -x' |
4109 | else |
4828 | as_executable_p=as_fn_executable_p |
4110 | if ls -dL / >/dev/null 2>&1; then |
|
|
4111 | as_ls_L_option=L |
|
|
4112 | else |
|
|
4113 | as_ls_L_option= |
|
|
4114 | fi |
|
|
4115 | as_test_x=' |
|
|
4116 | eval sh -c '\'' |
|
|
4117 | if test -d "$1"; then |
|
|
4118 | test -d "$1/."; |
|
|
4119 | else |
|
|
4120 | case $1 in #( |
|
|
4121 | -*)set "./$1";; |
|
|
4122 | esac; |
|
|
4123 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
4124 | ???[sx]*):;;*)false;;esac;fi |
|
|
4125 | '\'' sh |
|
|
4126 | ' |
|
|
4127 | fi |
|
|
4128 | as_executable_p=$as_test_x |
|
|
4129 | |
4829 | |
4130 | # Sed expression to map a string onto a valid CPP name. |
4830 | # Sed expression to map a string onto a valid CPP name. |
4131 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4831 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4132 | |
4832 | |
4133 | # Sed expression to map a string onto a valid variable name. |
4833 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
4145 | # Save the log message, to keep $0 and so on meaningful, and to |
4845 | # Save the log message, to keep $0 and so on meaningful, and to |
4146 | # report actual input values of CONFIG_FILES etc. instead of their |
4846 | # report actual input values of CONFIG_FILES etc. instead of their |
4147 | # values after options handling. |
4847 | # values after options handling. |
4148 | ac_log=" |
4848 | ac_log=" |
4149 | This file was extended by $as_me, which was |
4849 | This file was extended by $as_me, which was |
4150 | generated by GNU Autoconf 2.67. Invocation command line was |
4850 | generated by GNU Autoconf 2.69. Invocation command line was |
4151 | |
4851 | |
4152 | CONFIG_FILES = $CONFIG_FILES |
4852 | CONFIG_FILES = $CONFIG_FILES |
4153 | CONFIG_HEADERS = $CONFIG_HEADERS |
4853 | CONFIG_HEADERS = $CONFIG_HEADERS |
4154 | CONFIG_LINKS = $CONFIG_LINKS |
4854 | CONFIG_LINKS = $CONFIG_LINKS |
4155 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
4855 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
4198 | _ACEOF |
4898 | _ACEOF |
4199 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4899 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4200 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4900 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4201 | ac_cs_version="\\ |
4901 | ac_cs_version="\\ |
4202 | config.status |
4902 | config.status |
4203 | configured by $0, generated by GNU Autoconf 2.67, |
4903 | configured by $0, generated by GNU Autoconf 2.69, |
4204 | with options \\"\$ac_cs_config\\" |
4904 | with options \\"\$ac_cs_config\\" |
4205 | |
4905 | |
4206 | Copyright (C) 2010 Free Software Foundation, Inc. |
4906 | Copyright (C) 2012 Free Software Foundation, Inc. |
4207 | This config.status script is free software; the Free Software Foundation |
4907 | This config.status script is free software; the Free Software Foundation |
4208 | gives unlimited permission to copy, distribute and modify it." |
4908 | gives unlimited permission to copy, distribute and modify it." |
4209 | |
4909 | |
4210 | ac_pwd='$ac_pwd' |
4910 | ac_pwd='$ac_pwd' |
4211 | srcdir='$srcdir' |
4911 | srcdir='$srcdir' |
… | |
… | |
4281 | fi |
4981 | fi |
4282 | |
4982 | |
4283 | _ACEOF |
4983 | _ACEOF |
4284 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4984 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4285 | if \$ac_cs_recheck; then |
4985 | if \$ac_cs_recheck; then |
4286 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4986 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4287 | shift |
4987 | shift |
4288 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4988 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4289 | CONFIG_SHELL='$SHELL' |
4989 | CONFIG_SHELL='$SHELL' |
4290 | export CONFIG_SHELL |
4990 | export CONFIG_SHELL |
4291 | exec "\$@" |
4991 | exec "\$@" |
… | |
… | |
4312 | for ac_config_target in $ac_config_targets |
5012 | for ac_config_target in $ac_config_targets |
4313 | do |
5013 | do |
4314 | case $ac_config_target in |
5014 | case $ac_config_target in |
4315 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
5015 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
4316 | |
5016 | |
4317 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
5017 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4318 | esac |
5018 | esac |
4319 | done |
5019 | done |
4320 | |
5020 | |
4321 | |
5021 | |
4322 | # If the user did not use the arguments to specify the items to instantiate, |
5022 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
4333 | # Hook for its removal unless debugging. |
5033 | # Hook for its removal unless debugging. |
4334 | # Note that there is a small window in which the directory will not be cleaned: |
5034 | # Note that there is a small window in which the directory will not be cleaned: |
4335 | # after its creation but before its name has been assigned to `$tmp'. |
5035 | # after its creation but before its name has been assigned to `$tmp'. |
4336 | $debug || |
5036 | $debug || |
4337 | { |
5037 | { |
4338 | tmp= |
5038 | tmp= ac_tmp= |
4339 | trap 'exit_status=$? |
5039 | trap 'exit_status=$? |
|
|
5040 | : "${ac_tmp:=$tmp}" |
4340 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
5041 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
4341 | ' 0 |
5042 | ' 0 |
4342 | trap 'as_fn_exit 1' 1 2 13 15 |
5043 | trap 'as_fn_exit 1' 1 2 13 15 |
4343 | } |
5044 | } |
4344 | # Create a (secure) tmp directory for tmp files. |
5045 | # Create a (secure) tmp directory for tmp files. |
4345 | |
5046 | |
4346 | { |
5047 | { |
4347 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5048 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
4348 | test -n "$tmp" && test -d "$tmp" |
5049 | test -d "$tmp" |
4349 | } || |
5050 | } || |
4350 | { |
5051 | { |
4351 | tmp=./conf$$-$RANDOM |
5052 | tmp=./conf$$-$RANDOM |
4352 | (umask 077 && mkdir "$tmp") |
5053 | (umask 077 && mkdir "$tmp") |
4353 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
5054 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
5055 | ac_tmp=$tmp |
4354 | |
5056 | |
4355 | # Set up the scripts for CONFIG_HEADERS section. |
5057 | # Set up the scripts for CONFIG_HEADERS section. |
4356 | # No need to generate them if there are no CONFIG_HEADERS. |
5058 | # No need to generate them if there are no CONFIG_HEADERS. |
4357 | # This happens for instance with `./config.status Makefile'. |
5059 | # This happens for instance with `./config.status Makefile'. |
4358 | if test -n "$CONFIG_HEADERS"; then |
5060 | if test -n "$CONFIG_HEADERS"; then |
4359 | cat >"$tmp/defines.awk" <<\_ACAWK || |
5061 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
4360 | BEGIN { |
5062 | BEGIN { |
4361 | _ACEOF |
5063 | _ACEOF |
4362 | |
5064 | |
4363 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
5065 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
4364 | # here-document in config.status, that substitutes the proper values into |
5066 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
4366 | |
5068 | |
4367 | # Create a delimiter string that does not exist in confdefs.h, to ease |
5069 | # Create a delimiter string that does not exist in confdefs.h, to ease |
4368 | # handling of long lines. |
5070 | # handling of long lines. |
4369 | ac_delim='%!_!# ' |
5071 | ac_delim='%!_!# ' |
4370 | for ac_last_try in false false :; do |
5072 | for ac_last_try in false false :; do |
4371 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
5073 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
4372 | if test -z "$ac_t"; then |
5074 | if test -z "$ac_tt"; then |
4373 | break |
5075 | break |
4374 | elif $ac_last_try; then |
5076 | elif $ac_last_try; then |
4375 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5077 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
4376 | else |
5078 | else |
4377 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5079 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
4468 | case $ac_tag in |
5170 | case $ac_tag in |
4469 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5171 | :[FHLC]) ac_mode=$ac_tag; continue;; |
4470 | esac |
5172 | esac |
4471 | case $ac_mode$ac_tag in |
5173 | case $ac_mode$ac_tag in |
4472 | :[FHL]*:*);; |
5174 | :[FHL]*:*);; |
4473 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
5175 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
4474 | :[FH]-) ac_tag=-:-;; |
5176 | :[FH]-) ac_tag=-:-;; |
4475 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5177 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
4476 | esac |
5178 | esac |
4477 | ac_save_IFS=$IFS |
5179 | ac_save_IFS=$IFS |
4478 | IFS=: |
5180 | IFS=: |
… | |
… | |
4487 | :[FH]) |
5189 | :[FH]) |
4488 | ac_file_inputs= |
5190 | ac_file_inputs= |
4489 | for ac_f |
5191 | for ac_f |
4490 | do |
5192 | do |
4491 | case $ac_f in |
5193 | case $ac_f in |
4492 | -) ac_f="$tmp/stdin";; |
5194 | -) ac_f="$ac_tmp/stdin";; |
4493 | *) # Look for the file first in the build tree, then in the source tree |
5195 | *) # Look for the file first in the build tree, then in the source tree |
4494 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5196 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
4495 | # because $ac_f cannot contain `:'. |
5197 | # because $ac_f cannot contain `:'. |
4496 | test -f "$ac_f" || |
5198 | test -f "$ac_f" || |
4497 | case $ac_f in |
5199 | case $ac_f in |
4498 | [\\/$]*) false;; |
5200 | [\\/$]*) false;; |
4499 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5201 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
4500 | esac || |
5202 | esac || |
4501 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
5203 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
4502 | esac |
5204 | esac |
4503 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5205 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
4504 | as_fn_append ac_file_inputs " '$ac_f'" |
5206 | as_fn_append ac_file_inputs " '$ac_f'" |
4505 | done |
5207 | done |
4506 | |
5208 | |
… | |
… | |
4522 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5224 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
4523 | *) ac_sed_conf_input=$configure_input;; |
5225 | *) ac_sed_conf_input=$configure_input;; |
4524 | esac |
5226 | esac |
4525 | |
5227 | |
4526 | case $ac_tag in |
5228 | case $ac_tag in |
4527 | *:-:* | *:-) cat >"$tmp/stdin" \ |
5229 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
4528 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
5230 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
4529 | esac |
5231 | esac |
4530 | ;; |
5232 | ;; |
4531 | esac |
5233 | esac |
4532 | |
5234 | |
4533 | ac_dir=`$as_dirname -- "$ac_file" || |
5235 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
4596 | # CONFIG_HEADER |
5298 | # CONFIG_HEADER |
4597 | # |
5299 | # |
4598 | if test x"$ac_file" != x-; then |
5300 | if test x"$ac_file" != x-; then |
4599 | { |
5301 | { |
4600 | $as_echo "/* $configure_input */" \ |
5302 | $as_echo "/* $configure_input */" \ |
4601 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
5303 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
4602 | } >"$tmp/config.h" \ |
5304 | } >"$ac_tmp/config.h" \ |
4603 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5305 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4604 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
5306 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
4605 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5307 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
4606 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5308 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
4607 | else |
5309 | else |
4608 | rm -f "$ac_file" |
5310 | rm -f "$ac_file" |
4609 | mv "$tmp/config.h" "$ac_file" \ |
5311 | mv "$ac_tmp/config.h" "$ac_file" \ |
4610 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5312 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4611 | fi |
5313 | fi |
4612 | else |
5314 | else |
4613 | $as_echo "/* $configure_input */" \ |
5315 | $as_echo "/* $configure_input */" \ |
4614 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
5316 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
4615 | || as_fn_error $? "could not create -" "$LINENO" 5 |
5317 | || as_fn_error $? "could not create -" "$LINENO" 5 |
4616 | fi |
5318 | fi |
4617 | ;; |
5319 | ;; |
4618 | |
5320 | |
4619 | |
5321 | |