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.64. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
5 | # |
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # Foundation, Inc. |
7 | # |
8 | # |
8 | # |
9 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
11 | ## -------------------- ## |
11 | ## -------------------- ## |
12 | ## M4sh Initialization. ## |
12 | ## M4sh Initialization. ## |
… | |
… | |
85 | # (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 |
86 | # splitting by setting IFS to empty value.) |
86 | # splitting by setting IFS to empty value.) |
87 | IFS=" "" $as_nl" |
87 | IFS=" "" $as_nl" |
88 | |
88 | |
89 | # 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= |
90 | case $0 in #(( |
91 | case $0 in #(( |
91 | *[\\/]* ) as_myself=$0 ;; |
92 | *[\\/]* ) as_myself=$0 ;; |
92 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | for as_dir in $PATH |
94 | for as_dir in $PATH |
94 | do |
95 | do |
… | |
… | |
129 | export LANGUAGE |
130 | export LANGUAGE |
130 | |
131 | |
131 | # CDPATH. |
132 | # CDPATH. |
132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | |
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;} |
134 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
135 | 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 : |
136 | emulate sh |
162 | emulate sh |
137 | NULLCMD=: |
163 | NULLCMD=: |
138 | # 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 |
… | |
… | |
162 | 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 : |
163 | |
189 | |
164 | else |
190 | else |
165 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
166 | fi |
192 | fi |
167 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
168 | 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 |
169 | 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 |
170 | 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'\" && |
171 | 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 |
|
|
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
172 | if (eval "$as_required") 2>/dev/null; then : |
200 | if (eval "$as_required") 2>/dev/null; then : |
173 | as_have_required=yes |
201 | as_have_required=yes |
174 | else |
202 | else |
175 | as_have_required=no |
203 | as_have_required=no |
176 | fi |
204 | fi |
… | |
… | |
206 | fi; } |
234 | fi; } |
207 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
208 | |
236 | |
209 | |
237 | |
210 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
211 | # 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 |
212 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
213 | # 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. |
214 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
215 | ENV=/dev/null |
245 | ENV=/dev/null |
216 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
217 | 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 |
218 | 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 |
219 | fi |
258 | fi |
220 | |
259 | |
221 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
222 | $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" |
223 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
311 | } |
350 | } |
312 | s/.*/./; q'` |
351 | s/.*/./; q'` |
313 | test -d "$as_dir" && break |
352 | test -d "$as_dir" && break |
314 | done |
353 | done |
315 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
316 | } || 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" |
317 | |
356 | |
318 | |
357 | |
319 | } # 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 |
320 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
321 | # ---------------------- |
368 | # ---------------------- |
322 | # 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 |
323 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
324 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
351 | as_val=`expr "$@" || test $? -eq 1` |
398 | as_val=`expr "$@" || test $? -eq 1` |
352 | } |
399 | } |
353 | fi # as_fn_arith |
400 | fi # as_fn_arith |
354 | |
401 | |
355 | |
402 | |
356 | # as_fn_error ERROR [LINENO LOG_FD] |
403 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
357 | # --------------------------------- |
404 | # ---------------------------------------- |
358 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
405 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
359 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
406 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
360 | # script with status $?, using 1 if that was 0. |
407 | # script with STATUS, using 1 if that was 0. |
361 | as_fn_error () |
408 | as_fn_error () |
362 | { |
409 | { |
363 | as_status=$?; test $as_status -eq 0 && as_status=1 |
410 | as_status=$1; test $as_status -eq 0 && as_status=1 |
364 | if test "$3"; then |
411 | if test "$4"; then |
365 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
412 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
366 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
413 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
367 | fi |
414 | fi |
368 | $as_echo "$as_me: error: $1" >&2 |
415 | $as_echo "$as_me: error: $2" >&2 |
369 | as_fn_exit $as_status |
416 | as_fn_exit $as_status |
370 | } # as_fn_error |
417 | } # as_fn_error |
371 | |
418 | |
372 | if expr a : '\(a\)' >/dev/null 2>&1 && |
419 | if expr a : '\(a\)' >/dev/null 2>&1 && |
373 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
420 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
… | |
… | |
436 | s/-\n.*// |
483 | s/-\n.*// |
437 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
438 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
439 | { $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; } |
440 | |
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 |
441 | # 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 |
442 | # (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 |
443 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
444 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
445 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
470 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
471 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
472 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
473 | # 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. |
474 | # 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. |
475 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
476 | 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 || |
477 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
478 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
479 | as_ln_s=ln |
530 | as_ln_s=ln |
480 | else |
531 | else |
481 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
482 | fi |
533 | fi |
483 | else |
534 | else |
484 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
485 | fi |
536 | fi |
486 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
487 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
488 | |
539 | |
489 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
491 | else |
542 | else |
492 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
493 | as_mkdir_p=false |
544 | as_mkdir_p=false |
494 | fi |
545 | fi |
495 | |
546 | |
496 | if test -x / >/dev/null 2>&1; then |
|
|
497 | as_test_x='test -x' |
547 | as_test_x='test -x' |
498 | else |
548 | as_executable_p=as_fn_executable_p |
499 | if ls -dL / >/dev/null 2>&1; then |
|
|
500 | as_ls_L_option=L |
|
|
501 | else |
|
|
502 | as_ls_L_option= |
|
|
503 | fi |
|
|
504 | as_test_x=' |
|
|
505 | eval sh -c '\'' |
|
|
506 | if test -d "$1"; then |
|
|
507 | test -d "$1/."; |
|
|
508 | else |
|
|
509 | case $1 in #( |
|
|
510 | -*)set "./$1";; |
|
|
511 | esac; |
|
|
512 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
513 | ???[sx]*):;;*)false;;esac;fi |
|
|
514 | '\'' sh |
|
|
515 | ' |
|
|
516 | fi |
|
|
517 | as_executable_p=$as_test_x |
|
|
518 | |
549 | |
519 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
520 | 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'" |
521 | |
552 | |
522 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
523 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
554 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
524 | |
555 | |
525 | |
556 | |
526 | exec 7<&0 </dev/null 6>&1 |
557 | test -n "$DJDIR" || exec 7<&0 </dev/null |
|
|
558 | exec 6>&1 |
527 | |
559 | |
528 | # Name of the host. |
560 | # Name of the host. |
529 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
561 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
530 | # so uname gets run too. |
562 | # so uname gets run too. |
531 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
563 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
532 | |
564 | |
533 | # |
565 | # |
534 | # Initializations. |
566 | # Initializations. |
… | |
… | |
549 | PACKAGE_STRING= |
581 | PACKAGE_STRING= |
550 | PACKAGE_BUGREPORT= |
582 | PACKAGE_BUGREPORT= |
551 | PACKAGE_URL= |
583 | PACKAGE_URL= |
552 | |
584 | |
553 | ac_unique_file="libeio/eio.h" |
585 | ac_unique_file="libeio/eio.h" |
|
|
586 | # Factoring default headers for most tests. |
|
|
587 | ac_includes_default="\ |
|
|
588 | #include <stdio.h> |
|
|
589 | #ifdef HAVE_SYS_TYPES_H |
|
|
590 | # include <sys/types.h> |
|
|
591 | #endif |
|
|
592 | #ifdef HAVE_SYS_STAT_H |
|
|
593 | # include <sys/stat.h> |
|
|
594 | #endif |
|
|
595 | #ifdef STDC_HEADERS |
|
|
596 | # include <stdlib.h> |
|
|
597 | # include <stddef.h> |
|
|
598 | #else |
|
|
599 | # ifdef HAVE_STDLIB_H |
|
|
600 | # include <stdlib.h> |
|
|
601 | # endif |
|
|
602 | #endif |
|
|
603 | #ifdef HAVE_STRING_H |
|
|
604 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
|
605 | # include <memory.h> |
|
|
606 | # endif |
|
|
607 | # include <string.h> |
|
|
608 | #endif |
|
|
609 | #ifdef HAVE_STRINGS_H |
|
|
610 | # include <strings.h> |
|
|
611 | #endif |
|
|
612 | #ifdef HAVE_INTTYPES_H |
|
|
613 | # include <inttypes.h> |
|
|
614 | #endif |
|
|
615 | #ifdef HAVE_STDINT_H |
|
|
616 | # include <stdint.h> |
|
|
617 | #endif |
|
|
618 | #ifdef HAVE_UNISTD_H |
|
|
619 | # include <unistd.h> |
|
|
620 | #endif" |
|
|
621 | |
554 | ac_subst_vars='LTLIBOBJS |
622 | ac_subst_vars='LTLIBOBJS |
555 | LIBOBJS |
623 | LIBOBJS |
|
|
624 | EGREP |
|
|
625 | GREP |
|
|
626 | CPP |
556 | OBJEXT |
627 | OBJEXT |
557 | EXEEXT |
628 | EXEEXT |
558 | ac_ct_CC |
629 | ac_ct_CC |
559 | CPPFLAGS |
630 | CPPFLAGS |
560 | LDFLAGS |
631 | LDFLAGS |
… | |
… | |
577 | htmldir |
648 | htmldir |
578 | infodir |
649 | infodir |
579 | docdir |
650 | docdir |
580 | oldincludedir |
651 | oldincludedir |
581 | includedir |
652 | includedir |
|
|
653 | runstatedir |
582 | localstatedir |
654 | localstatedir |
583 | sharedstatedir |
655 | sharedstatedir |
584 | sysconfdir |
656 | sysconfdir |
585 | datadir |
657 | datadir |
586 | datarootdir |
658 | datarootdir |
… | |
… | |
607 | target_alias |
679 | target_alias |
608 | CC |
680 | CC |
609 | CFLAGS |
681 | CFLAGS |
610 | LDFLAGS |
682 | LDFLAGS |
611 | LIBS |
683 | LIBS |
612 | CPPFLAGS' |
684 | CPPFLAGS |
|
|
685 | CPP' |
613 | |
686 | |
614 | |
687 | |
615 | # Initialize some variables set by options. |
688 | # Initialize some variables set by options. |
616 | ac_init_help= |
689 | ac_init_help= |
617 | ac_init_version=false |
690 | ac_init_version=false |
… | |
… | |
646 | datarootdir='${prefix}/share' |
719 | datarootdir='${prefix}/share' |
647 | datadir='${datarootdir}' |
720 | datadir='${datarootdir}' |
648 | sysconfdir='${prefix}/etc' |
721 | sysconfdir='${prefix}/etc' |
649 | sharedstatedir='${prefix}/com' |
722 | sharedstatedir='${prefix}/com' |
650 | localstatedir='${prefix}/var' |
723 | localstatedir='${prefix}/var' |
|
|
724 | runstatedir='${localstatedir}/run' |
651 | includedir='${prefix}/include' |
725 | includedir='${prefix}/include' |
652 | oldincludedir='/usr/include' |
726 | oldincludedir='/usr/include' |
653 | docdir='${datarootdir}/doc/${PACKAGE}' |
727 | docdir='${datarootdir}/doc/${PACKAGE}' |
654 | infodir='${datarootdir}/info' |
728 | infodir='${datarootdir}/info' |
655 | htmldir='${docdir}' |
729 | htmldir='${docdir}' |
… | |
… | |
670 | ac_prev= |
744 | ac_prev= |
671 | continue |
745 | continue |
672 | fi |
746 | fi |
673 | |
747 | |
674 | case $ac_option in |
748 | case $ac_option in |
675 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
749 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
750 | *=) ac_optarg= ;; |
676 | *) ac_optarg=yes ;; |
751 | *) ac_optarg=yes ;; |
677 | esac |
752 | esac |
678 | |
753 | |
679 | # Accept the important Cygnus configure options, so we can diagnose typos. |
754 | # Accept the important Cygnus configure options, so we can diagnose typos. |
680 | |
755 | |
681 | case $ac_dashdash$ac_option in |
756 | case $ac_dashdash$ac_option in |
… | |
… | |
716 | |
791 | |
717 | -disable-* | --disable-*) |
792 | -disable-* | --disable-*) |
718 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
793 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
719 | # Reject names that are not valid shell variable names. |
794 | # Reject names that are not valid shell variable names. |
720 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
795 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
721 | as_fn_error "invalid feature name: $ac_useropt" |
796 | as_fn_error $? "invalid feature name: $ac_useropt" |
722 | ac_useropt_orig=$ac_useropt |
797 | ac_useropt_orig=$ac_useropt |
723 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
798 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
724 | case $ac_user_opts in |
799 | case $ac_user_opts in |
725 | *" |
800 | *" |
726 | "enable_$ac_useropt" |
801 | "enable_$ac_useropt" |
… | |
… | |
742 | |
817 | |
743 | -enable-* | --enable-*) |
818 | -enable-* | --enable-*) |
744 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
819 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
745 | # Reject names that are not valid shell variable names. |
820 | # Reject names that are not valid shell variable names. |
746 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
821 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
747 | as_fn_error "invalid feature name: $ac_useropt" |
822 | as_fn_error $? "invalid feature name: $ac_useropt" |
748 | ac_useropt_orig=$ac_useropt |
823 | ac_useropt_orig=$ac_useropt |
749 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
824 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
750 | case $ac_user_opts in |
825 | case $ac_user_opts in |
751 | *" |
826 | *" |
752 | "enable_$ac_useropt" |
827 | "enable_$ac_useropt" |
… | |
… | |
897 | |
972 | |
898 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
973 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
899 | | -silent | --silent | --silen | --sile | --sil) |
974 | | -silent | --silent | --silen | --sile | --sil) |
900 | silent=yes ;; |
975 | silent=yes ;; |
901 | |
976 | |
|
|
977 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
978 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
979 | | --run | --ru | --r) |
|
|
980 | ac_prev=runstatedir ;; |
|
|
981 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
982 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
983 | | --run=* | --ru=* | --r=*) |
|
|
984 | runstatedir=$ac_optarg ;; |
|
|
985 | |
902 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
986 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
903 | ac_prev=sbindir ;; |
987 | ac_prev=sbindir ;; |
904 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
988 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
905 | | --sbi=* | --sb=*) |
989 | | --sbi=* | --sb=*) |
906 | sbindir=$ac_optarg ;; |
990 | sbindir=$ac_optarg ;; |
… | |
… | |
946 | |
1030 | |
947 | -with-* | --with-*) |
1031 | -with-* | --with-*) |
948 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1032 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
949 | # Reject names that are not valid shell variable names. |
1033 | # Reject names that are not valid shell variable names. |
950 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1034 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
951 | as_fn_error "invalid package name: $ac_useropt" |
1035 | as_fn_error $? "invalid package name: $ac_useropt" |
952 | ac_useropt_orig=$ac_useropt |
1036 | ac_useropt_orig=$ac_useropt |
953 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1037 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
954 | case $ac_user_opts in |
1038 | case $ac_user_opts in |
955 | *" |
1039 | *" |
956 | "with_$ac_useropt" |
1040 | "with_$ac_useropt" |
… | |
… | |
962 | |
1046 | |
963 | -without-* | --without-*) |
1047 | -without-* | --without-*) |
964 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1048 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
965 | # Reject names that are not valid shell variable names. |
1049 | # Reject names that are not valid shell variable names. |
966 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1050 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
967 | as_fn_error "invalid package name: $ac_useropt" |
1051 | as_fn_error $? "invalid package name: $ac_useropt" |
968 | ac_useropt_orig=$ac_useropt |
1052 | ac_useropt_orig=$ac_useropt |
969 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1053 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
970 | case $ac_user_opts in |
1054 | case $ac_user_opts in |
971 | *" |
1055 | *" |
972 | "with_$ac_useropt" |
1056 | "with_$ac_useropt" |
… | |
… | |
992 | ac_prev=x_libraries ;; |
1076 | ac_prev=x_libraries ;; |
993 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1077 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
994 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1078 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
995 | x_libraries=$ac_optarg ;; |
1079 | x_libraries=$ac_optarg ;; |
996 | |
1080 | |
997 | -*) as_fn_error "unrecognized option: \`$ac_option' |
1081 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
998 | Try \`$0 --help' for more information." |
1082 | Try \`$0 --help' for more information" |
999 | ;; |
1083 | ;; |
1000 | |
1084 | |
1001 | *=*) |
1085 | *=*) |
1002 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1086 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1003 | # Reject names that are not valid shell variable names. |
1087 | # Reject names that are not valid shell variable names. |
1004 | case $ac_envvar in #( |
1088 | case $ac_envvar in #( |
1005 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1089 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1006 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1090 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1007 | esac |
1091 | esac |
1008 | eval $ac_envvar=\$ac_optarg |
1092 | eval $ac_envvar=\$ac_optarg |
1009 | export $ac_envvar ;; |
1093 | export $ac_envvar ;; |
1010 | |
1094 | |
1011 | *) |
1095 | *) |
1012 | # FIXME: should be removed in autoconf 3.0. |
1096 | # FIXME: should be removed in autoconf 3.0. |
1013 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1097 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1014 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1098 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1015 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1099 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1016 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1100 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1017 | ;; |
1101 | ;; |
1018 | |
1102 | |
1019 | esac |
1103 | esac |
1020 | done |
1104 | done |
1021 | |
1105 | |
1022 | if test -n "$ac_prev"; then |
1106 | if test -n "$ac_prev"; then |
1023 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1107 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1024 | as_fn_error "missing argument to $ac_option" |
1108 | as_fn_error $? "missing argument to $ac_option" |
1025 | fi |
1109 | fi |
1026 | |
1110 | |
1027 | if test -n "$ac_unrecognized_opts"; then |
1111 | if test -n "$ac_unrecognized_opts"; then |
1028 | case $enable_option_checking in |
1112 | case $enable_option_checking in |
1029 | no) ;; |
1113 | no) ;; |
1030 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1114 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1031 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1115 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1032 | esac |
1116 | esac |
1033 | fi |
1117 | fi |
1034 | |
1118 | |
1035 | # Check all directory arguments for consistency. |
1119 | # Check all directory arguments for consistency. |
1036 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1120 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1037 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1121 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1038 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1122 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1039 | libdir localedir mandir |
1123 | libdir localedir mandir runstatedir |
1040 | do |
1124 | do |
1041 | eval ac_val=\$$ac_var |
1125 | eval ac_val=\$$ac_var |
1042 | # Remove trailing slashes. |
1126 | # Remove trailing slashes. |
1043 | case $ac_val in |
1127 | case $ac_val in |
1044 | */ ) |
1128 | */ ) |
… | |
… | |
1048 | # Be sure to have absolute directory names. |
1132 | # Be sure to have absolute directory names. |
1049 | case $ac_val in |
1133 | case $ac_val in |
1050 | [\\/$]* | ?:[\\/]* ) continue;; |
1134 | [\\/$]* | ?:[\\/]* ) continue;; |
1051 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1135 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1052 | esac |
1136 | esac |
1053 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1137 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1054 | done |
1138 | done |
1055 | |
1139 | |
1056 | # There might be people who depend on the old broken behavior: `$host' |
1140 | # There might be people who depend on the old broken behavior: `$host' |
1057 | # used to hold the argument of --host etc. |
1141 | # used to hold the argument of --host etc. |
1058 | # FIXME: To remove some day. |
1142 | # FIXME: To remove some day. |
… | |
… | |
1062 | |
1146 | |
1063 | # FIXME: To remove some day. |
1147 | # FIXME: To remove some day. |
1064 | if test "x$host_alias" != x; then |
1148 | if test "x$host_alias" != x; then |
1065 | if test "x$build_alias" = x; then |
1149 | if test "x$build_alias" = x; then |
1066 | cross_compiling=maybe |
1150 | cross_compiling=maybe |
1067 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
1068 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
1069 | elif test "x$build_alias" != "x$host_alias"; then |
1151 | elif test "x$build_alias" != "x$host_alias"; then |
1070 | cross_compiling=yes |
1152 | cross_compiling=yes |
1071 | fi |
1153 | fi |
1072 | fi |
1154 | fi |
1073 | |
1155 | |
… | |
… | |
1078 | |
1160 | |
1079 | |
1161 | |
1080 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1162 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1081 | ac_ls_di=`ls -di .` && |
1163 | ac_ls_di=`ls -di .` && |
1082 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1164 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1083 | as_fn_error "working directory cannot be determined" |
1165 | as_fn_error $? "working directory cannot be determined" |
1084 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1166 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1085 | as_fn_error "pwd does not report name of working directory" |
1167 | as_fn_error $? "pwd does not report name of working directory" |
1086 | |
1168 | |
1087 | |
1169 | |
1088 | # Find the source files, if location was not specified. |
1170 | # Find the source files, if location was not specified. |
1089 | if test -z "$srcdir"; then |
1171 | if test -z "$srcdir"; then |
1090 | ac_srcdir_defaulted=yes |
1172 | ac_srcdir_defaulted=yes |
… | |
… | |
1119 | else |
1201 | else |
1120 | ac_srcdir_defaulted=no |
1202 | ac_srcdir_defaulted=no |
1121 | fi |
1203 | fi |
1122 | if test ! -r "$srcdir/$ac_unique_file"; then |
1204 | if test ! -r "$srcdir/$ac_unique_file"; then |
1123 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1205 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1124 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1206 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1125 | fi |
1207 | fi |
1126 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1208 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1127 | ac_abs_confdir=`( |
1209 | ac_abs_confdir=`( |
1128 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1210 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1129 | pwd)` |
1211 | pwd)` |
1130 | # When building in place, set srcdir=. |
1212 | # When building in place, set srcdir=. |
1131 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1213 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1132 | srcdir=. |
1214 | srcdir=. |
1133 | fi |
1215 | fi |
… | |
… | |
1163 | Configuration: |
1245 | Configuration: |
1164 | -h, --help display this help and exit |
1246 | -h, --help display this help and exit |
1165 | --help=short display options specific to this package |
1247 | --help=short display options specific to this package |
1166 | --help=recursive display the short help of all the included packages |
1248 | --help=recursive display the short help of all the included packages |
1167 | -V, --version display version information and exit |
1249 | -V, --version display version information and exit |
1168 | -q, --quiet, --silent do not print \`checking...' messages |
1250 | -q, --quiet, --silent do not print \`checking ...' messages |
1169 | --cache-file=FILE cache test results in FILE [disabled] |
1251 | --cache-file=FILE cache test results in FILE [disabled] |
1170 | -C, --config-cache alias for \`--cache-file=config.cache' |
1252 | -C, --config-cache alias for \`--cache-file=config.cache' |
1171 | -n, --no-create do not create output files |
1253 | -n, --no-create do not create output files |
1172 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1254 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1173 | |
1255 | |
… | |
… | |
1189 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1271 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1190 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1272 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1191 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1273 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1192 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1274 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1193 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1275 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1276 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1194 | --libdir=DIR object code libraries [EPREFIX/lib] |
1277 | --libdir=DIR object code libraries [EPREFIX/lib] |
1195 | --includedir=DIR C header files [PREFIX/include] |
1278 | --includedir=DIR C header files [PREFIX/include] |
1196 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1279 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1197 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1280 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1198 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1281 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
1218 | CC C compiler command |
1301 | CC C compiler command |
1219 | CFLAGS C compiler flags |
1302 | CFLAGS C compiler flags |
1220 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1303 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1221 | nonstandard directory <lib dir> |
1304 | nonstandard directory <lib dir> |
1222 | LIBS libraries to pass to the linker, e.g. -l<library> |
1305 | LIBS libraries to pass to the linker, e.g. -l<library> |
1223 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1306 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1224 | you have headers in a nonstandard directory <include dir> |
1307 | you have headers in a nonstandard directory <include dir> |
|
|
1308 | CPP C preprocessor |
1225 | |
1309 | |
1226 | Use these variables to override the choices made by `configure' or to help |
1310 | Use these variables to override the choices made by `configure' or to help |
1227 | it to find libraries and programs with nonstandard names/locations. |
1311 | it to find libraries and programs with nonstandard names/locations. |
1228 | |
1312 | |
1229 | Report bugs to the package provider. |
1313 | Report bugs to the package provider. |
… | |
… | |
1288 | |
1372 | |
1289 | test -n "$ac_init_help" && exit $ac_status |
1373 | test -n "$ac_init_help" && exit $ac_status |
1290 | if $ac_init_version; then |
1374 | if $ac_init_version; then |
1291 | cat <<\_ACEOF |
1375 | cat <<\_ACEOF |
1292 | configure |
1376 | configure |
1293 | generated by GNU Autoconf 2.64 |
1377 | generated by GNU Autoconf 2.69 |
1294 | |
1378 | |
1295 | Copyright (C) 2009 Free Software Foundation, Inc. |
1379 | Copyright (C) 2012 Free Software Foundation, Inc. |
1296 | This configure script is free software; the Free Software Foundation |
1380 | This configure script is free software; the Free Software Foundation |
1297 | gives unlimited permission to copy, distribute and modify it. |
1381 | gives unlimited permission to copy, distribute and modify it. |
1298 | _ACEOF |
1382 | _ACEOF |
1299 | exit |
1383 | exit |
1300 | fi |
1384 | fi |
… | |
… | |
1334 | $as_echo "$as_me: failed program was:" >&5 |
1418 | $as_echo "$as_me: failed program was:" >&5 |
1335 | sed 's/^/| /' conftest.$ac_ext >&5 |
1419 | sed 's/^/| /' conftest.$ac_ext >&5 |
1336 | |
1420 | |
1337 | ac_retval=1 |
1421 | ac_retval=1 |
1338 | fi |
1422 | fi |
1339 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1423 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1340 | return $ac_retval |
1424 | as_fn_set_status $ac_retval |
1341 | |
1425 | |
1342 | } # ac_fn_c_try_compile |
1426 | } # ac_fn_c_try_compile |
|
|
1427 | |
|
|
1428 | # ac_fn_c_try_cpp LINENO |
|
|
1429 | # ---------------------- |
|
|
1430 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1431 | ac_fn_c_try_cpp () |
|
|
1432 | { |
|
|
1433 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1434 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1435 | case "(($ac_try" in |
|
|
1436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1437 | *) ac_try_echo=$ac_try;; |
|
|
1438 | esac |
|
|
1439 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1440 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1441 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1442 | ac_status=$? |
|
|
1443 | if test -s conftest.err; then |
|
|
1444 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1445 | cat conftest.er1 >&5 |
|
|
1446 | mv -f conftest.er1 conftest.err |
|
|
1447 | fi |
|
|
1448 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1449 | test $ac_status = 0; } > conftest.i && { |
|
|
1450 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
1451 | test ! -s conftest.err |
|
|
1452 | }; then : |
|
|
1453 | ac_retval=0 |
|
|
1454 | else |
|
|
1455 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1456 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1457 | |
|
|
1458 | ac_retval=1 |
|
|
1459 | fi |
|
|
1460 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1461 | as_fn_set_status $ac_retval |
|
|
1462 | |
|
|
1463 | } # ac_fn_c_try_cpp |
|
|
1464 | |
|
|
1465 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1466 | # ------------------------------------------------------- |
|
|
1467 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1468 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1469 | # accordingly. |
|
|
1470 | ac_fn_c_check_header_mongrel () |
|
|
1471 | { |
|
|
1472 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1473 | if eval \${$3+:} false; then : |
|
|
1474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1475 | $as_echo_n "checking for $2... " >&6; } |
|
|
1476 | if eval \${$3+:} false; then : |
|
|
1477 | $as_echo_n "(cached) " >&6 |
|
|
1478 | fi |
|
|
1479 | eval ac_res=\$$3 |
|
|
1480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1481 | $as_echo "$ac_res" >&6; } |
|
|
1482 | else |
|
|
1483 | # Is the header compilable? |
|
|
1484 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1485 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1486 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1487 | /* end confdefs.h. */ |
|
|
1488 | $4 |
|
|
1489 | #include <$2> |
|
|
1490 | _ACEOF |
|
|
1491 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1492 | ac_header_compiler=yes |
|
|
1493 | else |
|
|
1494 | ac_header_compiler=no |
|
|
1495 | fi |
|
|
1496 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1498 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1499 | |
|
|
1500 | # Is the header present? |
|
|
1501 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1502 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1503 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1504 | /* end confdefs.h. */ |
|
|
1505 | #include <$2> |
|
|
1506 | _ACEOF |
|
|
1507 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
1508 | ac_header_preproc=yes |
|
|
1509 | else |
|
|
1510 | ac_header_preproc=no |
|
|
1511 | fi |
|
|
1512 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1514 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1515 | |
|
|
1516 | # So? What about this header? |
|
|
1517 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
|
1518 | yes:no: ) |
|
|
1519 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1520 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1521 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1522 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1523 | ;; |
|
|
1524 | no:yes:* ) |
|
|
1525 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1526 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1527 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1528 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1529 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1530 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1531 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1532 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1533 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1534 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1535 | ;; |
|
|
1536 | esac |
|
|
1537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1538 | $as_echo_n "checking for $2... " >&6; } |
|
|
1539 | if eval \${$3+:} false; then : |
|
|
1540 | $as_echo_n "(cached) " >&6 |
|
|
1541 | else |
|
|
1542 | eval "$3=\$ac_header_compiler" |
|
|
1543 | fi |
|
|
1544 | eval ac_res=\$$3 |
|
|
1545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1546 | $as_echo "$ac_res" >&6; } |
|
|
1547 | fi |
|
|
1548 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1549 | |
|
|
1550 | } # ac_fn_c_check_header_mongrel |
|
|
1551 | |
|
|
1552 | # ac_fn_c_try_run LINENO |
|
|
1553 | # ---------------------- |
|
|
1554 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1555 | # that executables *can* be run. |
|
|
1556 | ac_fn_c_try_run () |
|
|
1557 | { |
|
|
1558 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1559 | if { { ac_try="$ac_link" |
|
|
1560 | case "(($ac_try" in |
|
|
1561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1562 | *) ac_try_echo=$ac_try;; |
|
|
1563 | esac |
|
|
1564 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1565 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1566 | (eval "$ac_link") 2>&5 |
|
|
1567 | ac_status=$? |
|
|
1568 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1569 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1570 | { { case "(($ac_try" in |
|
|
1571 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1572 | *) ac_try_echo=$ac_try;; |
|
|
1573 | esac |
|
|
1574 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1575 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1576 | (eval "$ac_try") 2>&5 |
|
|
1577 | ac_status=$? |
|
|
1578 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1579 | test $ac_status = 0; }; }; then : |
|
|
1580 | ac_retval=0 |
|
|
1581 | else |
|
|
1582 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1583 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1584 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1585 | |
|
|
1586 | ac_retval=$ac_status |
|
|
1587 | fi |
|
|
1588 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1589 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1590 | as_fn_set_status $ac_retval |
|
|
1591 | |
|
|
1592 | } # ac_fn_c_try_run |
|
|
1593 | |
|
|
1594 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1595 | # ------------------------------------------------------- |
|
|
1596 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1597 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1598 | ac_fn_c_check_header_compile () |
|
|
1599 | { |
|
|
1600 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1602 | $as_echo_n "checking for $2... " >&6; } |
|
|
1603 | if eval \${$3+:} false; then : |
|
|
1604 | $as_echo_n "(cached) " >&6 |
|
|
1605 | else |
|
|
1606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1607 | /* end confdefs.h. */ |
|
|
1608 | $4 |
|
|
1609 | #include <$2> |
|
|
1610 | _ACEOF |
|
|
1611 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1612 | eval "$3=yes" |
|
|
1613 | else |
|
|
1614 | eval "$3=no" |
|
|
1615 | fi |
|
|
1616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1617 | fi |
|
|
1618 | eval ac_res=\$$3 |
|
|
1619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1620 | $as_echo "$ac_res" >&6; } |
|
|
1621 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1622 | |
|
|
1623 | } # ac_fn_c_check_header_compile |
1343 | |
1624 | |
1344 | # ac_fn_c_try_link LINENO |
1625 | # ac_fn_c_try_link LINENO |
1345 | # ----------------------- |
1626 | # ----------------------- |
1346 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1627 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1347 | ac_fn_c_try_link () |
1628 | ac_fn_c_try_link () |
… | |
… | |
1366 | test $ac_status = 0; } && { |
1647 | test $ac_status = 0; } && { |
1367 | test -z "$ac_c_werror_flag" || |
1648 | test -z "$ac_c_werror_flag" || |
1368 | test ! -s conftest.err |
1649 | test ! -s conftest.err |
1369 | } && test -s conftest$ac_exeext && { |
1650 | } && test -s conftest$ac_exeext && { |
1370 | test "$cross_compiling" = yes || |
1651 | test "$cross_compiling" = yes || |
1371 | $as_test_x conftest$ac_exeext |
1652 | test -x conftest$ac_exeext |
1372 | }; then : |
1653 | }; then : |
1373 | ac_retval=0 |
1654 | ac_retval=0 |
1374 | else |
1655 | else |
1375 | $as_echo "$as_me: failed program was:" >&5 |
1656 | $as_echo "$as_me: failed program was:" >&5 |
1376 | sed 's/^/| /' conftest.$ac_ext >&5 |
1657 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1380 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1661 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1381 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1662 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1382 | # interfere with the next link command; also delete a directory that is |
1663 | # interfere with the next link command; also delete a directory that is |
1383 | # left behind by Apple's compiler. We do this before executing the actions. |
1664 | # left behind by Apple's compiler. We do this before executing the actions. |
1384 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1665 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1666 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1386 | return $ac_retval |
1667 | as_fn_set_status $ac_retval |
1387 | |
1668 | |
1388 | } # ac_fn_c_try_link |
1669 | } # ac_fn_c_try_link |
1389 | cat >config.log <<_ACEOF |
1670 | cat >config.log <<_ACEOF |
1390 | This file contains any messages produced by compilers while |
1671 | This file contains any messages produced by compilers while |
1391 | running configure, to aid debugging if configure makes a mistake. |
1672 | running configure, to aid debugging if configure makes a mistake. |
1392 | |
1673 | |
1393 | It was created by $as_me, which was |
1674 | It was created by $as_me, which was |
1394 | generated by GNU Autoconf 2.64. Invocation command line was |
1675 | generated by GNU Autoconf 2.69. Invocation command line was |
1395 | |
1676 | |
1396 | $ $0 $@ |
1677 | $ $0 $@ |
1397 | |
1678 | |
1398 | _ACEOF |
1679 | _ACEOF |
1399 | exec 5>>config.log |
1680 | exec 5>>config.log |
… | |
… | |
1499 | trap 'exit_status=$? |
1780 | trap 'exit_status=$? |
1500 | # Save into config.log some information that might help in debugging. |
1781 | # Save into config.log some information that might help in debugging. |
1501 | { |
1782 | { |
1502 | echo |
1783 | echo |
1503 | |
1784 | |
1504 | cat <<\_ASBOX |
|
|
1505 | ## ---------------- ## |
1785 | $as_echo "## ---------------- ## |
1506 | ## Cache variables. ## |
1786 | ## Cache variables. ## |
1507 | ## ---------------- ## |
1787 | ## ---------------- ##" |
1508 | _ASBOX |
|
|
1509 | echo |
1788 | echo |
1510 | # The following way of writing the cache mishandles newlines in values, |
1789 | # The following way of writing the cache mishandles newlines in values, |
1511 | ( |
1790 | ( |
1512 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1791 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1513 | eval ac_val=\$$ac_var |
1792 | eval ac_val=\$$ac_var |
… | |
… | |
1537 | esac | |
1816 | esac | |
1538 | sort |
1817 | sort |
1539 | ) |
1818 | ) |
1540 | echo |
1819 | echo |
1541 | |
1820 | |
1542 | cat <<\_ASBOX |
|
|
1543 | ## ----------------- ## |
1821 | $as_echo "## ----------------- ## |
1544 | ## Output variables. ## |
1822 | ## Output variables. ## |
1545 | ## ----------------- ## |
1823 | ## ----------------- ##" |
1546 | _ASBOX |
|
|
1547 | echo |
1824 | echo |
1548 | for ac_var in $ac_subst_vars |
1825 | for ac_var in $ac_subst_vars |
1549 | do |
1826 | do |
1550 | eval ac_val=\$$ac_var |
1827 | eval ac_val=\$$ac_var |
1551 | case $ac_val in |
1828 | case $ac_val in |
… | |
… | |
1554 | $as_echo "$ac_var='\''$ac_val'\''" |
1831 | $as_echo "$ac_var='\''$ac_val'\''" |
1555 | done | sort |
1832 | done | sort |
1556 | echo |
1833 | echo |
1557 | |
1834 | |
1558 | if test -n "$ac_subst_files"; then |
1835 | if test -n "$ac_subst_files"; then |
1559 | cat <<\_ASBOX |
|
|
1560 | ## ------------------- ## |
1836 | $as_echo "## ------------------- ## |
1561 | ## File substitutions. ## |
1837 | ## File substitutions. ## |
1562 | ## ------------------- ## |
1838 | ## ------------------- ##" |
1563 | _ASBOX |
|
|
1564 | echo |
1839 | echo |
1565 | for ac_var in $ac_subst_files |
1840 | for ac_var in $ac_subst_files |
1566 | do |
1841 | do |
1567 | eval ac_val=\$$ac_var |
1842 | eval ac_val=\$$ac_var |
1568 | case $ac_val in |
1843 | case $ac_val in |
… | |
… | |
1572 | done | sort |
1847 | done | sort |
1573 | echo |
1848 | echo |
1574 | fi |
1849 | fi |
1575 | |
1850 | |
1576 | if test -s confdefs.h; then |
1851 | if test -s confdefs.h; then |
1577 | cat <<\_ASBOX |
1852 | $as_echo "## ----------- ## |
1578 | ## ----------- ## |
|
|
1579 | ## confdefs.h. ## |
1853 | ## confdefs.h. ## |
1580 | ## ----------- ## |
1854 | ## ----------- ##" |
1581 | _ASBOX |
|
|
1582 | echo |
1855 | echo |
1583 | cat confdefs.h |
1856 | cat confdefs.h |
1584 | echo |
1857 | echo |
1585 | fi |
1858 | fi |
1586 | test "$ac_signal" != 0 && |
1859 | test "$ac_signal" != 0 && |
… | |
… | |
1631 | # Let the site file select an alternate cache file if it wants to. |
1904 | # Let the site file select an alternate cache file if it wants to. |
1632 | # Prefer an explicitly selected file to automatically selected ones. |
1905 | # Prefer an explicitly selected file to automatically selected ones. |
1633 | ac_site_file1=NONE |
1906 | ac_site_file1=NONE |
1634 | ac_site_file2=NONE |
1907 | ac_site_file2=NONE |
1635 | if test -n "$CONFIG_SITE"; then |
1908 | if test -n "$CONFIG_SITE"; then |
|
|
1909 | # We do not want a PATH search for config.site. |
|
|
1910 | case $CONFIG_SITE in #(( |
|
|
1911 | -*) ac_site_file1=./$CONFIG_SITE;; |
1636 | ac_site_file1=$CONFIG_SITE |
1912 | */*) ac_site_file1=$CONFIG_SITE;; |
|
|
1913 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
1914 | esac |
1637 | elif test "x$prefix" != xNONE; then |
1915 | elif test "x$prefix" != xNONE; then |
1638 | ac_site_file1=$prefix/share/config.site |
1916 | ac_site_file1=$prefix/share/config.site |
1639 | ac_site_file2=$prefix/etc/config.site |
1917 | ac_site_file2=$prefix/etc/config.site |
1640 | else |
1918 | else |
1641 | ac_site_file1=$ac_default_prefix/share/config.site |
1919 | ac_site_file1=$ac_default_prefix/share/config.site |
1642 | ac_site_file2=$ac_default_prefix/etc/config.site |
1920 | ac_site_file2=$ac_default_prefix/etc/config.site |
1643 | fi |
1921 | fi |
1644 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1922 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1645 | do |
1923 | do |
1646 | test "x$ac_site_file" = xNONE && continue |
1924 | test "x$ac_site_file" = xNONE && continue |
1647 | if test -r "$ac_site_file"; then |
1925 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1648 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1649 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1927 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1650 | sed 's/^/| /' "$ac_site_file" >&5 |
1928 | sed 's/^/| /' "$ac_site_file" >&5 |
1651 | . "$ac_site_file" |
1929 | . "$ac_site_file" \ |
|
|
1930 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1931 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
1932 | as_fn_error $? "failed to load site script $ac_site_file |
|
|
1933 | See \`config.log' for more details" "$LINENO" 5; } |
1652 | fi |
1934 | fi |
1653 | done |
1935 | done |
1654 | |
1936 | |
1655 | if test -r "$cache_file"; then |
1937 | if test -r "$cache_file"; then |
1656 | # Some versions of bash will fail to source /dev/null (special |
1938 | # Some versions of bash will fail to source /dev/null (special files |
1657 | # files actually), so we avoid doing that. |
1939 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1658 | if test -f "$cache_file"; then |
1940 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1659 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1941 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1660 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1942 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1661 | case $cache_file in |
1943 | case $cache_file in |
1662 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1944 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1663 | *) . "./$cache_file";; |
1945 | *) . "./$cache_file";; |
… | |
… | |
1722 | if $ac_cache_corrupted; then |
2004 | if $ac_cache_corrupted; then |
1723 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2005 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1724 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2006 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1725 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2007 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1726 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2008 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1727 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2009 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1728 | fi |
2010 | fi |
1729 | ## -------------------- ## |
2011 | ## -------------------- ## |
1730 | ## Main body of script. ## |
2012 | ## Main body of script. ## |
1731 | ## -------------------- ## |
2013 | ## -------------------- ## |
1732 | |
2014 | |
… | |
… | |
1737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2019 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1738 | |
2020 | |
1739 | |
2021 | |
1740 | |
2022 | |
1741 | ac_config_headers="$ac_config_headers libeio/config.h" |
2023 | ac_config_headers="$ac_config_headers libeio/config.h" |
|
|
2024 | |
1742 | |
2025 | |
1743 | |
2026 | |
1744 | ac_ext=c |
2027 | ac_ext=c |
1745 | ac_cpp='$CPP $CPPFLAGS' |
2028 | ac_cpp='$CPP $CPPFLAGS' |
1746 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2029 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
1749 | if test -n "$ac_tool_prefix"; then |
2032 | if test -n "$ac_tool_prefix"; then |
1750 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2033 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1751 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2034 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1753 | $as_echo_n "checking for $ac_word... " >&6; } |
2036 | $as_echo_n "checking for $ac_word... " >&6; } |
1754 | if test "${ac_cv_prog_CC+set}" = set; then : |
2037 | if ${ac_cv_prog_CC+:} false; then : |
1755 | $as_echo_n "(cached) " >&6 |
2038 | $as_echo_n "(cached) " >&6 |
1756 | else |
2039 | else |
1757 | if test -n "$CC"; then |
2040 | if test -n "$CC"; then |
1758 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2041 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1759 | else |
2042 | else |
… | |
… | |
1761 | for as_dir in $PATH |
2044 | for as_dir in $PATH |
1762 | do |
2045 | do |
1763 | IFS=$as_save_IFS |
2046 | IFS=$as_save_IFS |
1764 | test -z "$as_dir" && as_dir=. |
2047 | test -z "$as_dir" && as_dir=. |
1765 | for ac_exec_ext in '' $ac_executable_extensions; do |
2048 | for ac_exec_ext in '' $ac_executable_extensions; do |
1766 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2049 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1767 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2050 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1768 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2051 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1769 | break 2 |
2052 | break 2 |
1770 | fi |
2053 | fi |
1771 | done |
2054 | done |
… | |
… | |
1789 | ac_ct_CC=$CC |
2072 | ac_ct_CC=$CC |
1790 | # Extract the first word of "gcc", so it can be a program name with args. |
2073 | # Extract the first word of "gcc", so it can be a program name with args. |
1791 | set dummy gcc; ac_word=$2 |
2074 | set dummy gcc; ac_word=$2 |
1792 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1793 | $as_echo_n "checking for $ac_word... " >&6; } |
2076 | $as_echo_n "checking for $ac_word... " >&6; } |
1794 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2077 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1795 | $as_echo_n "(cached) " >&6 |
2078 | $as_echo_n "(cached) " >&6 |
1796 | else |
2079 | else |
1797 | if test -n "$ac_ct_CC"; then |
2080 | if test -n "$ac_ct_CC"; then |
1798 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2081 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1799 | else |
2082 | else |
… | |
… | |
1801 | for as_dir in $PATH |
2084 | for as_dir in $PATH |
1802 | do |
2085 | do |
1803 | IFS=$as_save_IFS |
2086 | IFS=$as_save_IFS |
1804 | test -z "$as_dir" && as_dir=. |
2087 | test -z "$as_dir" && as_dir=. |
1805 | for ac_exec_ext in '' $ac_executable_extensions; do |
2088 | for ac_exec_ext in '' $ac_executable_extensions; do |
1806 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2089 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1807 | ac_cv_prog_ac_ct_CC="gcc" |
2090 | ac_cv_prog_ac_ct_CC="gcc" |
1808 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2091 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1809 | break 2 |
2092 | break 2 |
1810 | fi |
2093 | fi |
1811 | done |
2094 | done |
… | |
… | |
1842 | if test -n "$ac_tool_prefix"; then |
2125 | if test -n "$ac_tool_prefix"; then |
1843 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2126 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1844 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2127 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1846 | $as_echo_n "checking for $ac_word... " >&6; } |
2129 | $as_echo_n "checking for $ac_word... " >&6; } |
1847 | if test "${ac_cv_prog_CC+set}" = set; then : |
2130 | if ${ac_cv_prog_CC+:} false; then : |
1848 | $as_echo_n "(cached) " >&6 |
2131 | $as_echo_n "(cached) " >&6 |
1849 | else |
2132 | else |
1850 | if test -n "$CC"; then |
2133 | if test -n "$CC"; then |
1851 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2134 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1852 | else |
2135 | else |
… | |
… | |
1854 | for as_dir in $PATH |
2137 | for as_dir in $PATH |
1855 | do |
2138 | do |
1856 | IFS=$as_save_IFS |
2139 | IFS=$as_save_IFS |
1857 | test -z "$as_dir" && as_dir=. |
2140 | test -z "$as_dir" && as_dir=. |
1858 | for ac_exec_ext in '' $ac_executable_extensions; do |
2141 | for ac_exec_ext in '' $ac_executable_extensions; do |
1859 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2142 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1860 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2143 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1861 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2144 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1862 | break 2 |
2145 | break 2 |
1863 | fi |
2146 | fi |
1864 | done |
2147 | done |
… | |
… | |
1882 | if test -z "$CC"; then |
2165 | if test -z "$CC"; then |
1883 | # Extract the first word of "cc", so it can be a program name with args. |
2166 | # Extract the first word of "cc", so it can be a program name with args. |
1884 | set dummy cc; ac_word=$2 |
2167 | set dummy cc; ac_word=$2 |
1885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1886 | $as_echo_n "checking for $ac_word... " >&6; } |
2169 | $as_echo_n "checking for $ac_word... " >&6; } |
1887 | if test "${ac_cv_prog_CC+set}" = set; then : |
2170 | if ${ac_cv_prog_CC+:} false; then : |
1888 | $as_echo_n "(cached) " >&6 |
2171 | $as_echo_n "(cached) " >&6 |
1889 | else |
2172 | else |
1890 | if test -n "$CC"; then |
2173 | if test -n "$CC"; then |
1891 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2174 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1892 | else |
2175 | else |
… | |
… | |
1895 | for as_dir in $PATH |
2178 | for as_dir in $PATH |
1896 | do |
2179 | do |
1897 | IFS=$as_save_IFS |
2180 | IFS=$as_save_IFS |
1898 | test -z "$as_dir" && as_dir=. |
2181 | test -z "$as_dir" && as_dir=. |
1899 | for ac_exec_ext in '' $ac_executable_extensions; do |
2182 | for ac_exec_ext in '' $ac_executable_extensions; do |
1900 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2183 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1901 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2184 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1902 | ac_prog_rejected=yes |
2185 | ac_prog_rejected=yes |
1903 | continue |
2186 | continue |
1904 | fi |
2187 | fi |
1905 | ac_cv_prog_CC="cc" |
2188 | ac_cv_prog_CC="cc" |
… | |
… | |
1941 | do |
2224 | do |
1942 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2225 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1943 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1945 | $as_echo_n "checking for $ac_word... " >&6; } |
2228 | $as_echo_n "checking for $ac_word... " >&6; } |
1946 | if test "${ac_cv_prog_CC+set}" = set; then : |
2229 | if ${ac_cv_prog_CC+:} false; then : |
1947 | $as_echo_n "(cached) " >&6 |
2230 | $as_echo_n "(cached) " >&6 |
1948 | else |
2231 | else |
1949 | if test -n "$CC"; then |
2232 | if test -n "$CC"; then |
1950 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2233 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1951 | else |
2234 | else |
… | |
… | |
1953 | for as_dir in $PATH |
2236 | for as_dir in $PATH |
1954 | do |
2237 | do |
1955 | IFS=$as_save_IFS |
2238 | IFS=$as_save_IFS |
1956 | test -z "$as_dir" && as_dir=. |
2239 | test -z "$as_dir" && as_dir=. |
1957 | for ac_exec_ext in '' $ac_executable_extensions; do |
2240 | for ac_exec_ext in '' $ac_executable_extensions; do |
1958 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2241 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1959 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2242 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1960 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2243 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1961 | break 2 |
2244 | break 2 |
1962 | fi |
2245 | fi |
1963 | done |
2246 | done |
… | |
… | |
1985 | do |
2268 | do |
1986 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2269 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1987 | set dummy $ac_prog; ac_word=$2 |
2270 | set dummy $ac_prog; ac_word=$2 |
1988 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1989 | $as_echo_n "checking for $ac_word... " >&6; } |
2272 | $as_echo_n "checking for $ac_word... " >&6; } |
1990 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2273 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1991 | $as_echo_n "(cached) " >&6 |
2274 | $as_echo_n "(cached) " >&6 |
1992 | else |
2275 | else |
1993 | if test -n "$ac_ct_CC"; then |
2276 | if test -n "$ac_ct_CC"; then |
1994 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2277 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1995 | else |
2278 | else |
… | |
… | |
1997 | for as_dir in $PATH |
2280 | for as_dir in $PATH |
1998 | do |
2281 | do |
1999 | IFS=$as_save_IFS |
2282 | IFS=$as_save_IFS |
2000 | test -z "$as_dir" && as_dir=. |
2283 | test -z "$as_dir" && as_dir=. |
2001 | for ac_exec_ext in '' $ac_executable_extensions; do |
2284 | for ac_exec_ext in '' $ac_executable_extensions; do |
2002 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2285 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2003 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2286 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2004 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2287 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2005 | break 2 |
2288 | break 2 |
2006 | fi |
2289 | fi |
2007 | done |
2290 | done |
… | |
… | |
2039 | fi |
2322 | fi |
2040 | |
2323 | |
2041 | |
2324 | |
2042 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2325 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2043 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2326 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2044 | as_fn_error "no acceptable C compiler found in \$PATH |
2327 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2045 | See \`config.log' for more details." "$LINENO" 5; } |
2328 | See \`config.log' for more details" "$LINENO" 5; } |
2046 | |
2329 | |
2047 | # Provide some information about the compiler. |
2330 | # Provide some information about the compiler. |
2048 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2331 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2049 | set X $ac_compile |
2332 | set X $ac_compile |
2050 | ac_compiler=$2 |
2333 | ac_compiler=$2 |
… | |
… | |
2061 | if test -s conftest.err; then |
2344 | if test -s conftest.err; then |
2062 | sed '10a\ |
2345 | sed '10a\ |
2063 | ... rest of stderr output deleted ... |
2346 | ... rest of stderr output deleted ... |
2064 | 10q' conftest.err >conftest.er1 |
2347 | 10q' conftest.err >conftest.er1 |
2065 | cat conftest.er1 >&5 |
2348 | cat conftest.er1 >&5 |
2066 | rm -f conftest.er1 conftest.err |
|
|
2067 | fi |
2349 | fi |
|
|
2350 | rm -f conftest.er1 conftest.err |
2068 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2351 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2069 | test $ac_status = 0; } |
2352 | test $ac_status = 0; } |
2070 | done |
2353 | done |
2071 | |
2354 | |
2072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2073 | /* end confdefs.h. */ |
2356 | /* end confdefs.h. */ |
2074 | #include <stdio.h> |
2357 | |
2075 | int |
2358 | int |
2076 | main () |
2359 | main () |
2077 | { |
2360 | { |
2078 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2079 | return ferror (f) || fclose (f) != 0; |
|
|
2080 | |
2361 | |
2081 | ; |
2362 | ; |
2082 | return 0; |
2363 | return 0; |
2083 | } |
2364 | } |
2084 | _ACEOF |
2365 | _ACEOF |
2085 | ac_clean_files_save=$ac_clean_files |
2366 | ac_clean_files_save=$ac_clean_files |
2086 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
2367 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2087 | # Try to create an executable without -o first, disregard a.out. |
2368 | # Try to create an executable without -o first, disregard a.out. |
2088 | # It will help us diagnose broken compilers, and finding out an intuition |
2369 | # It will help us diagnose broken compilers, and finding out an intuition |
2089 | # of exeext. |
2370 | # of exeext. |
2090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2091 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2372 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2092 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2373 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2093 | |
2374 | |
2094 | # The possible output files: |
2375 | # The possible output files: |
2095 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2376 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2096 | |
2377 | |
… | |
… | |
2148 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2429 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2149 | |
2430 | |
2150 | else |
2431 | else |
2151 | ac_file='' |
2432 | ac_file='' |
2152 | fi |
2433 | fi |
|
|
2434 | if test -z "$ac_file"; then : |
|
|
2435 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2436 | $as_echo "no" >&6; } |
|
|
2437 | $as_echo "$as_me: failed program was:" >&5 |
|
|
2438 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2439 | |
|
|
2440 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2441 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2442 | as_fn_error 77 "C compiler cannot create executables |
|
|
2443 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
2444 | else |
|
|
2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2446 | $as_echo "yes" >&6; } |
|
|
2447 | fi |
|
|
2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
|
2449 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2154 | $as_echo "$ac_file" >&6; } |
2451 | $as_echo "$ac_file" >&6; } |
2155 | if test -z "$ac_file"; then : |
|
|
2156 | $as_echo "$as_me: failed program was:" >&5 |
|
|
2157 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2158 | |
|
|
2159 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2160 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2161 | { as_fn_set_status 77 |
|
|
2162 | as_fn_error "C compiler cannot create executables |
|
|
2163 | See \`config.log' for more details." "$LINENO" 5; }; } |
|
|
2164 | fi |
|
|
2165 | ac_exeext=$ac_cv_exeext |
2452 | ac_exeext=$ac_cv_exeext |
2166 | |
2453 | |
2167 | # Check that the compiler produces executables we can run. If not, either |
|
|
2168 | # the compiler is broken, or we cross compile. |
|
|
2169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
|
2170 | $as_echo_n "checking whether the C compiler works... " >&6; } |
|
|
2171 | # If not cross compiling, check that we can run a simple program. |
|
|
2172 | if test "$cross_compiling" != yes; then |
|
|
2173 | if { ac_try='./$ac_file' |
|
|
2174 | { { case "(($ac_try" in |
|
|
2175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2176 | *) ac_try_echo=$ac_try;; |
|
|
2177 | esac |
|
|
2178 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2179 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2180 | (eval "$ac_try") 2>&5 |
|
|
2181 | ac_status=$? |
|
|
2182 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2183 | test $ac_status = 0; }; }; then |
|
|
2184 | cross_compiling=no |
|
|
2185 | else |
|
|
2186 | if test "$cross_compiling" = maybe; then |
|
|
2187 | cross_compiling=yes |
|
|
2188 | else |
|
|
2189 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2190 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2191 | as_fn_error "cannot run C compiled programs. |
|
|
2192 | If you meant to cross compile, use \`--host'. |
|
|
2193 | See \`config.log' for more details." "$LINENO" 5; } |
|
|
2194 | fi |
|
|
2195 | fi |
|
|
2196 | fi |
|
|
2197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2198 | $as_echo "yes" >&6; } |
|
|
2199 | |
|
|
2200 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
2454 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2201 | ac_clean_files=$ac_clean_files_save |
2455 | ac_clean_files=$ac_clean_files_save |
2202 | # Check that the compiler produces executables we can run. If not, either |
|
|
2203 | # the compiler is broken, or we cross compile. |
|
|
2204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
2205 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
2207 | $as_echo "$cross_compiling" >&6; } |
|
|
2208 | |
|
|
2209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2456 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2210 | $as_echo_n "checking for suffix of executables... " >&6; } |
2457 | $as_echo_n "checking for suffix of executables... " >&6; } |
2211 | if { { ac_try="$ac_link" |
2458 | if { { ac_try="$ac_link" |
2212 | case "(($ac_try" in |
2459 | case "(($ac_try" in |
2213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
2233 | esac |
2480 | esac |
2234 | done |
2481 | done |
2235 | else |
2482 | else |
2236 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2483 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2237 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2484 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2238 | as_fn_error "cannot compute suffix of executables: cannot compile and link |
2485 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2239 | See \`config.log' for more details." "$LINENO" 5; } |
2486 | See \`config.log' for more details" "$LINENO" 5; } |
2240 | fi |
2487 | fi |
2241 | rm -f conftest$ac_cv_exeext |
2488 | rm -f conftest conftest$ac_cv_exeext |
2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2243 | $as_echo "$ac_cv_exeext" >&6; } |
2490 | $as_echo "$ac_cv_exeext" >&6; } |
2244 | |
2491 | |
2245 | rm -f conftest.$ac_ext |
2492 | rm -f conftest.$ac_ext |
2246 | EXEEXT=$ac_cv_exeext |
2493 | EXEEXT=$ac_cv_exeext |
2247 | ac_exeext=$EXEEXT |
2494 | ac_exeext=$EXEEXT |
|
|
2495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2496 | /* end confdefs.h. */ |
|
|
2497 | #include <stdio.h> |
|
|
2498 | int |
|
|
2499 | main () |
|
|
2500 | { |
|
|
2501 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2502 | return ferror (f) || fclose (f) != 0; |
|
|
2503 | |
|
|
2504 | ; |
|
|
2505 | return 0; |
|
|
2506 | } |
|
|
2507 | _ACEOF |
|
|
2508 | ac_clean_files="$ac_clean_files conftest.out" |
|
|
2509 | # Check that the compiler produces executables we can run. If not, either |
|
|
2510 | # the compiler is broken, or we cross compile. |
|
|
2511 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
2512 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2513 | if test "$cross_compiling" != yes; then |
|
|
2514 | { { ac_try="$ac_link" |
|
|
2515 | case "(($ac_try" in |
|
|
2516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2517 | *) ac_try_echo=$ac_try;; |
|
|
2518 | esac |
|
|
2519 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2520 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2521 | (eval "$ac_link") 2>&5 |
|
|
2522 | ac_status=$? |
|
|
2523 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2524 | test $ac_status = 0; } |
|
|
2525 | if { ac_try='./conftest$ac_cv_exeext' |
|
|
2526 | { { case "(($ac_try" in |
|
|
2527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2528 | *) ac_try_echo=$ac_try;; |
|
|
2529 | esac |
|
|
2530 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2531 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2532 | (eval "$ac_try") 2>&5 |
|
|
2533 | ac_status=$? |
|
|
2534 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2535 | test $ac_status = 0; }; }; then |
|
|
2536 | cross_compiling=no |
|
|
2537 | else |
|
|
2538 | if test "$cross_compiling" = maybe; then |
|
|
2539 | cross_compiling=yes |
|
|
2540 | else |
|
|
2541 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2542 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2543 | as_fn_error $? "cannot run C compiled programs. |
|
|
2544 | If you meant to cross compile, use \`--host'. |
|
|
2545 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
2546 | fi |
|
|
2547 | fi |
|
|
2548 | fi |
|
|
2549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
2550 | $as_echo "$cross_compiling" >&6; } |
|
|
2551 | |
|
|
2552 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
|
2553 | ac_clean_files=$ac_clean_files_save |
2248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2249 | $as_echo_n "checking for suffix of object files... " >&6; } |
2555 | $as_echo_n "checking for suffix of object files... " >&6; } |
2250 | if test "${ac_cv_objext+set}" = set; then : |
2556 | if ${ac_cv_objext+:} false; then : |
2251 | $as_echo_n "(cached) " >&6 |
2557 | $as_echo_n "(cached) " >&6 |
2252 | else |
2558 | else |
2253 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2559 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2254 | /* end confdefs.h. */ |
2560 | /* end confdefs.h. */ |
2255 | |
2561 | |
… | |
… | |
2285 | $as_echo "$as_me: failed program was:" >&5 |
2591 | $as_echo "$as_me: failed program was:" >&5 |
2286 | sed 's/^/| /' conftest.$ac_ext >&5 |
2592 | sed 's/^/| /' conftest.$ac_ext >&5 |
2287 | |
2593 | |
2288 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2594 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2289 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2595 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2290 | as_fn_error "cannot compute suffix of object files: cannot compile |
2596 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2291 | See \`config.log' for more details." "$LINENO" 5; } |
2597 | See \`config.log' for more details" "$LINENO" 5; } |
2292 | fi |
2598 | fi |
2293 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2599 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2294 | fi |
2600 | fi |
2295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2601 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2296 | $as_echo "$ac_cv_objext" >&6; } |
2602 | $as_echo "$ac_cv_objext" >&6; } |
2297 | OBJEXT=$ac_cv_objext |
2603 | OBJEXT=$ac_cv_objext |
2298 | ac_objext=$OBJEXT |
2604 | ac_objext=$OBJEXT |
2299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2300 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2606 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2301 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2607 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2302 | $as_echo_n "(cached) " >&6 |
2608 | $as_echo_n "(cached) " >&6 |
2303 | else |
2609 | else |
2304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2305 | /* end confdefs.h. */ |
2611 | /* end confdefs.h. */ |
2306 | |
2612 | |
… | |
… | |
2333 | fi |
2639 | fi |
2334 | ac_test_CFLAGS=${CFLAGS+set} |
2640 | ac_test_CFLAGS=${CFLAGS+set} |
2335 | ac_save_CFLAGS=$CFLAGS |
2641 | ac_save_CFLAGS=$CFLAGS |
2336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2337 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2643 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2338 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2644 | if ${ac_cv_prog_cc_g+:} false; then : |
2339 | $as_echo_n "(cached) " >&6 |
2645 | $as_echo_n "(cached) " >&6 |
2340 | else |
2646 | else |
2341 | ac_save_c_werror_flag=$ac_c_werror_flag |
2647 | ac_save_c_werror_flag=$ac_c_werror_flag |
2342 | ac_c_werror_flag=yes |
2648 | ac_c_werror_flag=yes |
2343 | ac_cv_prog_cc_g=no |
2649 | ac_cv_prog_cc_g=no |
… | |
… | |
2411 | CFLAGS= |
2717 | CFLAGS= |
2412 | fi |
2718 | fi |
2413 | fi |
2719 | fi |
2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2720 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2415 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2721 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2416 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2722 | if ${ac_cv_prog_cc_c89+:} false; then : |
2417 | $as_echo_n "(cached) " >&6 |
2723 | $as_echo_n "(cached) " >&6 |
2418 | else |
2724 | else |
2419 | ac_cv_prog_cc_c89=no |
2725 | ac_cv_prog_cc_c89=no |
2420 | ac_save_CC=$CC |
2726 | ac_save_CC=$CC |
2421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2727 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2422 | /* end confdefs.h. */ |
2728 | /* end confdefs.h. */ |
2423 | #include <stdarg.h> |
2729 | #include <stdarg.h> |
2424 | #include <stdio.h> |
2730 | #include <stdio.h> |
2425 | #include <sys/types.h> |
2731 | struct stat; |
2426 | #include <sys/stat.h> |
|
|
2427 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2732 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2428 | struct buf { int x; }; |
2733 | struct buf { int x; }; |
2429 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2734 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2430 | static char *e (p, i) |
2735 | static char *e (p, i) |
2431 | char **p; |
2736 | char **p; |
… | |
… | |
2507 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2812 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2508 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2813 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2509 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2814 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2510 | |
2815 | |
2511 | |
2816 | |
|
|
2817 | ac_ext=c |
|
|
2818 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2822 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
2823 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
2824 | # On Suns, sometimes $CPP names a directory. |
|
|
2825 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
2826 | CPP= |
|
|
2827 | fi |
|
|
2828 | if test -z "$CPP"; then |
|
|
2829 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
2830 | $as_echo_n "(cached) " >&6 |
|
|
2831 | else |
|
|
2832 | # Double quotes because CPP needs to be expanded |
|
|
2833 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
2834 | do |
|
|
2835 | ac_preproc_ok=false |
|
|
2836 | for ac_c_preproc_warn_flag in '' yes |
|
|
2837 | do |
|
|
2838 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2839 | # with a fresh cross-compiler works. |
|
|
2840 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2841 | # <limits.h> exists even on freestanding compilers. |
|
|
2842 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2843 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2844 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2845 | /* end confdefs.h. */ |
|
|
2846 | #ifdef __STDC__ |
|
|
2847 | # include <limits.h> |
|
|
2848 | #else |
|
|
2849 | # include <assert.h> |
|
|
2850 | #endif |
|
|
2851 | Syntax error |
|
|
2852 | _ACEOF |
|
|
2853 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2854 | |
|
|
2855 | else |
|
|
2856 | # Broken: fails on valid input. |
|
|
2857 | continue |
|
|
2858 | fi |
|
|
2859 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2860 | |
|
|
2861 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2862 | # can be detected and how. |
|
|
2863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2864 | /* end confdefs.h. */ |
|
|
2865 | #include <ac_nonexistent.h> |
|
|
2866 | _ACEOF |
|
|
2867 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2868 | # Broken: success on invalid input. |
|
|
2869 | continue |
|
|
2870 | else |
|
|
2871 | # Passes both tests. |
|
|
2872 | ac_preproc_ok=: |
|
|
2873 | break |
|
|
2874 | fi |
|
|
2875 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2876 | |
|
|
2877 | done |
|
|
2878 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2879 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2880 | if $ac_preproc_ok; then : |
|
|
2881 | break |
|
|
2882 | fi |
|
|
2883 | |
|
|
2884 | done |
|
|
2885 | ac_cv_prog_CPP=$CPP |
|
|
2886 | |
|
|
2887 | fi |
|
|
2888 | CPP=$ac_cv_prog_CPP |
|
|
2889 | else |
|
|
2890 | ac_cv_prog_CPP=$CPP |
|
|
2891 | fi |
|
|
2892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
2893 | $as_echo "$CPP" >&6; } |
|
|
2894 | ac_preproc_ok=false |
|
|
2895 | for ac_c_preproc_warn_flag in '' yes |
|
|
2896 | do |
|
|
2897 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2898 | # with a fresh cross-compiler works. |
|
|
2899 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2900 | # <limits.h> exists even on freestanding compilers. |
|
|
2901 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2902 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2903 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2904 | /* end confdefs.h. */ |
|
|
2905 | #ifdef __STDC__ |
|
|
2906 | # include <limits.h> |
|
|
2907 | #else |
|
|
2908 | # include <assert.h> |
|
|
2909 | #endif |
|
|
2910 | Syntax error |
|
|
2911 | _ACEOF |
|
|
2912 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2913 | |
|
|
2914 | else |
|
|
2915 | # Broken: fails on valid input. |
|
|
2916 | continue |
|
|
2917 | fi |
|
|
2918 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2919 | |
|
|
2920 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2921 | # can be detected and how. |
|
|
2922 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2923 | /* end confdefs.h. */ |
|
|
2924 | #include <ac_nonexistent.h> |
|
|
2925 | _ACEOF |
|
|
2926 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2927 | # Broken: success on invalid input. |
|
|
2928 | continue |
|
|
2929 | else |
|
|
2930 | # Passes both tests. |
|
|
2931 | ac_preproc_ok=: |
|
|
2932 | break |
|
|
2933 | fi |
|
|
2934 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2935 | |
|
|
2936 | done |
|
|
2937 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2938 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2939 | if $ac_preproc_ok; then : |
|
|
2940 | |
|
|
2941 | else |
|
|
2942 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2943 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2944 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
2945 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
2946 | fi |
|
|
2947 | |
|
|
2948 | ac_ext=c |
|
|
2949 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2950 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2951 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2952 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2953 | |
|
|
2954 | |
|
|
2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
|
2956 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
|
2957 | if ${ac_cv_path_GREP+:} false; then : |
|
|
2958 | $as_echo_n "(cached) " >&6 |
|
|
2959 | else |
|
|
2960 | if test -z "$GREP"; then |
|
|
2961 | ac_path_GREP_found=false |
|
|
2962 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
2963 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2964 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
2965 | do |
|
|
2966 | IFS=$as_save_IFS |
|
|
2967 | test -z "$as_dir" && as_dir=. |
|
|
2968 | for ac_prog in grep ggrep; do |
|
|
2969 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2970 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
2971 | as_fn_executable_p "$ac_path_GREP" || continue |
|
|
2972 | # Check for GNU ac_path_GREP and select it if it is found. |
|
|
2973 | # Check for GNU $ac_path_GREP |
|
|
2974 | case `"$ac_path_GREP" --version 2>&1` in |
|
|
2975 | *GNU*) |
|
|
2976 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
2977 | *) |
|
|
2978 | ac_count=0 |
|
|
2979 | $as_echo_n 0123456789 >"conftest.in" |
|
|
2980 | while : |
|
|
2981 | do |
|
|
2982 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
2983 | mv "conftest.tmp" "conftest.in" |
|
|
2984 | cp "conftest.in" "conftest.nl" |
|
|
2985 | $as_echo 'GREP' >> "conftest.nl" |
|
|
2986 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
2987 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
2988 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
2989 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
2990 | # Best one so far, save it but keep looking for a better one |
|
|
2991 | ac_cv_path_GREP="$ac_path_GREP" |
|
|
2992 | ac_path_GREP_max=$ac_count |
|
|
2993 | fi |
|
|
2994 | # 10*(2^10) chars as input seems more than enough |
|
|
2995 | test $ac_count -gt 10 && break |
|
|
2996 | done |
|
|
2997 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
2998 | esac |
|
|
2999 | |
|
|
3000 | $ac_path_GREP_found && break 3 |
|
|
3001 | done |
|
|
3002 | done |
|
|
3003 | done |
|
|
3004 | IFS=$as_save_IFS |
|
|
3005 | if test -z "$ac_cv_path_GREP"; then |
|
|
3006 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
3007 | fi |
|
|
3008 | else |
|
|
3009 | ac_cv_path_GREP=$GREP |
|
|
3010 | fi |
|
|
3011 | |
|
|
3012 | fi |
|
|
3013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
|
3014 | $as_echo "$ac_cv_path_GREP" >&6; } |
|
|
3015 | GREP="$ac_cv_path_GREP" |
|
|
3016 | |
|
|
3017 | |
|
|
3018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
|
3019 | $as_echo_n "checking for egrep... " >&6; } |
|
|
3020 | if ${ac_cv_path_EGREP+:} false; then : |
|
|
3021 | $as_echo_n "(cached) " >&6 |
|
|
3022 | else |
|
|
3023 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
3024 | then ac_cv_path_EGREP="$GREP -E" |
|
|
3025 | else |
|
|
3026 | if test -z "$EGREP"; then |
|
|
3027 | ac_path_EGREP_found=false |
|
|
3028 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
3029 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3030 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
3031 | do |
|
|
3032 | IFS=$as_save_IFS |
|
|
3033 | test -z "$as_dir" && as_dir=. |
|
|
3034 | for ac_prog in egrep; do |
|
|
3035 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3036 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3037 | as_fn_executable_p "$ac_path_EGREP" || continue |
|
|
3038 | # Check for GNU ac_path_EGREP and select it if it is found. |
|
|
3039 | # Check for GNU $ac_path_EGREP |
|
|
3040 | case `"$ac_path_EGREP" --version 2>&1` in |
|
|
3041 | *GNU*) |
|
|
3042 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
3043 | *) |
|
|
3044 | ac_count=0 |
|
|
3045 | $as_echo_n 0123456789 >"conftest.in" |
|
|
3046 | while : |
|
|
3047 | do |
|
|
3048 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3049 | mv "conftest.tmp" "conftest.in" |
|
|
3050 | cp "conftest.in" "conftest.nl" |
|
|
3051 | $as_echo 'EGREP' >> "conftest.nl" |
|
|
3052 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3053 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3054 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
3055 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
3056 | # Best one so far, save it but keep looking for a better one |
|
|
3057 | ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
3058 | ac_path_EGREP_max=$ac_count |
|
|
3059 | fi |
|
|
3060 | # 10*(2^10) chars as input seems more than enough |
|
|
3061 | test $ac_count -gt 10 && break |
|
|
3062 | done |
|
|
3063 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3064 | esac |
|
|
3065 | |
|
|
3066 | $ac_path_EGREP_found && break 3 |
|
|
3067 | done |
|
|
3068 | done |
|
|
3069 | done |
|
|
3070 | IFS=$as_save_IFS |
|
|
3071 | if test -z "$ac_cv_path_EGREP"; then |
|
|
3072 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
3073 | fi |
|
|
3074 | else |
|
|
3075 | ac_cv_path_EGREP=$EGREP |
|
|
3076 | fi |
|
|
3077 | |
|
|
3078 | fi |
|
|
3079 | fi |
|
|
3080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
|
3081 | $as_echo "$ac_cv_path_EGREP" >&6; } |
|
|
3082 | EGREP="$ac_cv_path_EGREP" |
|
|
3083 | |
|
|
3084 | |
|
|
3085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
|
3086 | $as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
3087 | if ${ac_cv_header_stdc+:} false; then : |
|
|
3088 | $as_echo_n "(cached) " >&6 |
|
|
3089 | else |
|
|
3090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3091 | /* end confdefs.h. */ |
|
|
3092 | #include <stdlib.h> |
|
|
3093 | #include <stdarg.h> |
|
|
3094 | #include <string.h> |
|
|
3095 | #include <float.h> |
|
|
3096 | |
|
|
3097 | int |
|
|
3098 | main () |
|
|
3099 | { |
|
|
3100 | |
|
|
3101 | ; |
|
|
3102 | return 0; |
|
|
3103 | } |
|
|
3104 | _ACEOF |
|
|
3105 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3106 | ac_cv_header_stdc=yes |
|
|
3107 | else |
|
|
3108 | ac_cv_header_stdc=no |
|
|
3109 | fi |
|
|
3110 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3111 | |
|
|
3112 | if test $ac_cv_header_stdc = yes; then |
|
|
3113 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
3114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3115 | /* end confdefs.h. */ |
|
|
3116 | #include <string.h> |
|
|
3117 | |
|
|
3118 | _ACEOF |
|
|
3119 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3120 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
3121 | |
|
|
3122 | else |
|
|
3123 | ac_cv_header_stdc=no |
|
|
3124 | fi |
|
|
3125 | rm -f conftest* |
|
|
3126 | |
|
|
3127 | fi |
|
|
3128 | |
|
|
3129 | if test $ac_cv_header_stdc = yes; then |
|
|
3130 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
3131 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3132 | /* end confdefs.h. */ |
|
|
3133 | #include <stdlib.h> |
|
|
3134 | |
|
|
3135 | _ACEOF |
|
|
3136 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3137 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
3138 | |
|
|
3139 | else |
|
|
3140 | ac_cv_header_stdc=no |
|
|
3141 | fi |
|
|
3142 | rm -f conftest* |
|
|
3143 | |
|
|
3144 | fi |
|
|
3145 | |
|
|
3146 | if test $ac_cv_header_stdc = yes; then |
|
|
3147 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
3148 | if test "$cross_compiling" = yes; then : |
|
|
3149 | : |
|
|
3150 | else |
|
|
3151 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3152 | /* end confdefs.h. */ |
|
|
3153 | #include <ctype.h> |
|
|
3154 | #include <stdlib.h> |
|
|
3155 | #if ((' ' & 0x0FF) == 0x020) |
|
|
3156 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
3157 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
3158 | #else |
|
|
3159 | # define ISLOWER(c) \ |
|
|
3160 | (('a' <= (c) && (c) <= 'i') \ |
|
|
3161 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
3162 | || ('s' <= (c) && (c) <= 'z')) |
|
|
3163 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
3164 | #endif |
|
|
3165 | |
|
|
3166 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
3167 | int |
|
|
3168 | main () |
|
|
3169 | { |
|
|
3170 | int i; |
|
|
3171 | for (i = 0; i < 256; i++) |
|
|
3172 | if (XOR (islower (i), ISLOWER (i)) |
|
|
3173 | || toupper (i) != TOUPPER (i)) |
|
|
3174 | return 2; |
|
|
3175 | return 0; |
|
|
3176 | } |
|
|
3177 | _ACEOF |
|
|
3178 | if ac_fn_c_try_run "$LINENO"; then : |
|
|
3179 | |
|
|
3180 | else |
|
|
3181 | ac_cv_header_stdc=no |
|
|
3182 | fi |
|
|
3183 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
3184 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
3185 | fi |
|
|
3186 | |
|
|
3187 | fi |
|
|
3188 | fi |
|
|
3189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
|
3190 | $as_echo "$ac_cv_header_stdc" >&6; } |
|
|
3191 | if test $ac_cv_header_stdc = yes; then |
|
|
3192 | |
|
|
3193 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
3194 | |
|
|
3195 | fi |
|
|
3196 | |
|
|
3197 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
3198 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
3199 | inttypes.h stdint.h unistd.h |
|
|
3200 | do : |
|
|
3201 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3202 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
|
3203 | " |
|
|
3204 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3205 | cat >>confdefs.h <<_ACEOF |
|
|
3206 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3207 | _ACEOF |
|
|
3208 | |
|
|
3209 | fi |
|
|
3210 | |
|
|
3211 | done |
|
|
3212 | |
|
|
3213 | |
|
|
3214 | |
|
|
3215 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
|
|
3216 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
|
|
3217 | MINIX=yes |
|
|
3218 | else |
|
|
3219 | MINIX= |
|
|
3220 | fi |
|
|
3221 | |
|
|
3222 | |
|
|
3223 | if test "$MINIX" = yes; then |
|
|
3224 | |
|
|
3225 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
|
|
3226 | |
|
|
3227 | |
|
|
3228 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
|
3229 | |
|
|
3230 | |
|
|
3231 | $as_echo "#define _MINIX 1" >>confdefs.h |
|
|
3232 | |
|
|
3233 | fi |
|
|
3234 | |
|
|
3235 | |
|
|
3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
|
|
3237 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
|
|
3238 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
|
|
3239 | $as_echo_n "(cached) " >&6 |
|
|
3240 | else |
|
|
3241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3242 | /* end confdefs.h. */ |
|
|
3243 | |
|
|
3244 | # define __EXTENSIONS__ 1 |
|
|
3245 | $ac_includes_default |
|
|
3246 | int |
|
|
3247 | main () |
|
|
3248 | { |
|
|
3249 | |
|
|
3250 | ; |
|
|
3251 | return 0; |
|
|
3252 | } |
|
|
3253 | _ACEOF |
|
|
3254 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3255 | ac_cv_safe_to_define___extensions__=yes |
|
|
3256 | else |
|
|
3257 | ac_cv_safe_to_define___extensions__=no |
|
|
3258 | fi |
|
|
3259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3260 | fi |
|
|
3261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
|
|
3262 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
|
|
3263 | test $ac_cv_safe_to_define___extensions__ = yes && |
|
|
3264 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
3265 | |
|
|
3266 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
|
3267 | |
|
|
3268 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
|
3269 | |
|
|
3270 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
|
|
3271 | |
|
|
3272 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
|
3273 | |
|
|
3274 | |
|
|
3275 | |
|
|
3276 | ac_ext=c |
|
|
3277 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3278 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3279 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3280 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3281 | if test -n "$ac_tool_prefix"; then |
|
|
3282 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
3283 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
3284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3285 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3286 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3287 | $as_echo_n "(cached) " >&6 |
|
|
3288 | else |
|
|
3289 | if test -n "$CC"; then |
|
|
3290 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3291 | else |
|
|
3292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3293 | for as_dir in $PATH |
|
|
3294 | do |
|
|
3295 | IFS=$as_save_IFS |
|
|
3296 | test -z "$as_dir" && as_dir=. |
|
|
3297 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3298 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3299 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
3300 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3301 | break 2 |
|
|
3302 | fi |
|
|
3303 | done |
|
|
3304 | done |
|
|
3305 | IFS=$as_save_IFS |
|
|
3306 | |
|
|
3307 | fi |
|
|
3308 | fi |
|
|
3309 | CC=$ac_cv_prog_CC |
|
|
3310 | if test -n "$CC"; then |
|
|
3311 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3312 | $as_echo "$CC" >&6; } |
|
|
3313 | else |
|
|
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3315 | $as_echo "no" >&6; } |
|
|
3316 | fi |
|
|
3317 | |
|
|
3318 | |
|
|
3319 | fi |
|
|
3320 | if test -z "$ac_cv_prog_CC"; then |
|
|
3321 | ac_ct_CC=$CC |
|
|
3322 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
3323 | set dummy gcc; ac_word=$2 |
|
|
3324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3325 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3326 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3327 | $as_echo_n "(cached) " >&6 |
|
|
3328 | else |
|
|
3329 | if test -n "$ac_ct_CC"; then |
|
|
3330 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3331 | else |
|
|
3332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3333 | for as_dir in $PATH |
|
|
3334 | do |
|
|
3335 | IFS=$as_save_IFS |
|
|
3336 | test -z "$as_dir" && as_dir=. |
|
|
3337 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3338 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3339 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
3340 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3341 | break 2 |
|
|
3342 | fi |
|
|
3343 | done |
|
|
3344 | done |
|
|
3345 | IFS=$as_save_IFS |
|
|
3346 | |
|
|
3347 | fi |
|
|
3348 | fi |
|
|
3349 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3350 | if test -n "$ac_ct_CC"; then |
|
|
3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3352 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3353 | else |
|
|
3354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3355 | $as_echo "no" >&6; } |
|
|
3356 | fi |
|
|
3357 | |
|
|
3358 | if test "x$ac_ct_CC" = x; then |
|
|
3359 | CC="" |
|
|
3360 | else |
|
|
3361 | case $cross_compiling:$ac_tool_warned in |
|
|
3362 | yes:) |
|
|
3363 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3364 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3365 | ac_tool_warned=yes ;; |
|
|
3366 | esac |
|
|
3367 | CC=$ac_ct_CC |
|
|
3368 | fi |
|
|
3369 | else |
|
|
3370 | CC="$ac_cv_prog_CC" |
|
|
3371 | fi |
|
|
3372 | |
|
|
3373 | if test -z "$CC"; then |
|
|
3374 | if test -n "$ac_tool_prefix"; then |
|
|
3375 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
3376 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3378 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3379 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3380 | $as_echo_n "(cached) " >&6 |
|
|
3381 | else |
|
|
3382 | if test -n "$CC"; then |
|
|
3383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3384 | else |
|
|
3385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3386 | for as_dir in $PATH |
|
|
3387 | do |
|
|
3388 | IFS=$as_save_IFS |
|
|
3389 | test -z "$as_dir" && as_dir=. |
|
|
3390 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3391 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3392 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
3393 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3394 | break 2 |
|
|
3395 | fi |
|
|
3396 | done |
|
|
3397 | done |
|
|
3398 | IFS=$as_save_IFS |
|
|
3399 | |
|
|
3400 | fi |
|
|
3401 | fi |
|
|
3402 | CC=$ac_cv_prog_CC |
|
|
3403 | if test -n "$CC"; then |
|
|
3404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3405 | $as_echo "$CC" >&6; } |
|
|
3406 | else |
|
|
3407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3408 | $as_echo "no" >&6; } |
|
|
3409 | fi |
|
|
3410 | |
|
|
3411 | |
|
|
3412 | fi |
|
|
3413 | fi |
|
|
3414 | if test -z "$CC"; then |
|
|
3415 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
3416 | set dummy cc; ac_word=$2 |
|
|
3417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3418 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3419 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3420 | $as_echo_n "(cached) " >&6 |
|
|
3421 | else |
|
|
3422 | if test -n "$CC"; then |
|
|
3423 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3424 | else |
|
|
3425 | ac_prog_rejected=no |
|
|
3426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3427 | for as_dir in $PATH |
|
|
3428 | do |
|
|
3429 | IFS=$as_save_IFS |
|
|
3430 | test -z "$as_dir" && as_dir=. |
|
|
3431 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3432 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3433 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
3434 | ac_prog_rejected=yes |
|
|
3435 | continue |
|
|
3436 | fi |
|
|
3437 | ac_cv_prog_CC="cc" |
|
|
3438 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3439 | break 2 |
|
|
3440 | fi |
|
|
3441 | done |
|
|
3442 | done |
|
|
3443 | IFS=$as_save_IFS |
|
|
3444 | |
|
|
3445 | if test $ac_prog_rejected = yes; then |
|
|
3446 | # We found a bogon in the path, so make sure we never use it. |
|
|
3447 | set dummy $ac_cv_prog_CC |
|
|
3448 | shift |
|
|
3449 | if test $# != 0; then |
|
|
3450 | # We chose a different compiler from the bogus one. |
|
|
3451 | # However, it has the same basename, so the bogon will be chosen |
|
|
3452 | # first if we set CC to just the basename; use the full file name. |
|
|
3453 | shift |
|
|
3454 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
3455 | fi |
|
|
3456 | fi |
|
|
3457 | fi |
|
|
3458 | fi |
|
|
3459 | CC=$ac_cv_prog_CC |
|
|
3460 | if test -n "$CC"; then |
|
|
3461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3462 | $as_echo "$CC" >&6; } |
|
|
3463 | else |
|
|
3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3465 | $as_echo "no" >&6; } |
|
|
3466 | fi |
|
|
3467 | |
|
|
3468 | |
|
|
3469 | fi |
|
|
3470 | if test -z "$CC"; then |
|
|
3471 | if test -n "$ac_tool_prefix"; then |
|
|
3472 | for ac_prog in cl.exe |
|
|
3473 | do |
|
|
3474 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
3475 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3477 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3478 | if ${ac_cv_prog_CC+:} false; then : |
|
|
3479 | $as_echo_n "(cached) " >&6 |
|
|
3480 | else |
|
|
3481 | if test -n "$CC"; then |
|
|
3482 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3483 | else |
|
|
3484 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3485 | for as_dir in $PATH |
|
|
3486 | do |
|
|
3487 | IFS=$as_save_IFS |
|
|
3488 | test -z "$as_dir" && as_dir=. |
|
|
3489 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3490 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3491 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
3492 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3493 | break 2 |
|
|
3494 | fi |
|
|
3495 | done |
|
|
3496 | done |
|
|
3497 | IFS=$as_save_IFS |
|
|
3498 | |
|
|
3499 | fi |
|
|
3500 | fi |
|
|
3501 | CC=$ac_cv_prog_CC |
|
|
3502 | if test -n "$CC"; then |
|
|
3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3504 | $as_echo "$CC" >&6; } |
|
|
3505 | else |
|
|
3506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3507 | $as_echo "no" >&6; } |
|
|
3508 | fi |
|
|
3509 | |
|
|
3510 | |
|
|
3511 | test -n "$CC" && break |
|
|
3512 | done |
|
|
3513 | fi |
|
|
3514 | if test -z "$CC"; then |
|
|
3515 | ac_ct_CC=$CC |
|
|
3516 | for ac_prog in cl.exe |
|
|
3517 | do |
|
|
3518 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3519 | set dummy $ac_prog; ac_word=$2 |
|
|
3520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3521 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3522 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
|
3523 | $as_echo_n "(cached) " >&6 |
|
|
3524 | else |
|
|
3525 | if test -n "$ac_ct_CC"; then |
|
|
3526 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3527 | else |
|
|
3528 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3529 | for as_dir in $PATH |
|
|
3530 | do |
|
|
3531 | IFS=$as_save_IFS |
|
|
3532 | test -z "$as_dir" && as_dir=. |
|
|
3533 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3534 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3535 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
3536 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3537 | break 2 |
|
|
3538 | fi |
|
|
3539 | done |
|
|
3540 | done |
|
|
3541 | IFS=$as_save_IFS |
|
|
3542 | |
|
|
3543 | fi |
|
|
3544 | fi |
|
|
3545 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3546 | if test -n "$ac_ct_CC"; then |
|
|
3547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3548 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3549 | else |
|
|
3550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3551 | $as_echo "no" >&6; } |
|
|
3552 | fi |
|
|
3553 | |
|
|
3554 | |
|
|
3555 | test -n "$ac_ct_CC" && break |
|
|
3556 | done |
|
|
3557 | |
|
|
3558 | if test "x$ac_ct_CC" = x; then |
|
|
3559 | CC="" |
|
|
3560 | else |
|
|
3561 | case $cross_compiling:$ac_tool_warned in |
|
|
3562 | yes:) |
|
|
3563 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3564 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3565 | ac_tool_warned=yes ;; |
|
|
3566 | esac |
|
|
3567 | CC=$ac_ct_CC |
|
|
3568 | fi |
|
|
3569 | fi |
|
|
3570 | |
|
|
3571 | fi |
|
|
3572 | |
|
|
3573 | |
|
|
3574 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3575 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3576 | as_fn_error $? "no acceptable C compiler found in \$PATH |
|
|
3577 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3578 | |
|
|
3579 | # Provide some information about the compiler. |
|
|
3580 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
|
3581 | set X $ac_compile |
|
|
3582 | ac_compiler=$2 |
|
|
3583 | for ac_option in --version -v -V -qversion; do |
|
|
3584 | { { ac_try="$ac_compiler $ac_option >&5" |
|
|
3585 | case "(($ac_try" in |
|
|
3586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3587 | *) ac_try_echo=$ac_try;; |
|
|
3588 | esac |
|
|
3589 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3590 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3591 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
|
3592 | ac_status=$? |
|
|
3593 | if test -s conftest.err; then |
|
|
3594 | sed '10a\ |
|
|
3595 | ... rest of stderr output deleted ... |
|
|
3596 | 10q' conftest.err >conftest.er1 |
|
|
3597 | cat conftest.er1 >&5 |
|
|
3598 | fi |
|
|
3599 | rm -f conftest.er1 conftest.err |
|
|
3600 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3601 | test $ac_status = 0; } |
|
|
3602 | done |
|
|
3603 | |
|
|
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
|
3605 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
|
3606 | if ${ac_cv_c_compiler_gnu+:} false; then : |
|
|
3607 | $as_echo_n "(cached) " >&6 |
|
|
3608 | else |
|
|
3609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3610 | /* end confdefs.h. */ |
|
|
3611 | |
|
|
3612 | int |
|
|
3613 | main () |
|
|
3614 | { |
|
|
3615 | #ifndef __GNUC__ |
|
|
3616 | choke me |
|
|
3617 | #endif |
|
|
3618 | |
|
|
3619 | ; |
|
|
3620 | return 0; |
|
|
3621 | } |
|
|
3622 | _ACEOF |
|
|
3623 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3624 | ac_compiler_gnu=yes |
|
|
3625 | else |
|
|
3626 | ac_compiler_gnu=no |
|
|
3627 | fi |
|
|
3628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3629 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
3630 | |
|
|
3631 | fi |
|
|
3632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
3633 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3634 | if test $ac_compiler_gnu = yes; then |
|
|
3635 | GCC=yes |
|
|
3636 | else |
|
|
3637 | GCC= |
|
|
3638 | fi |
|
|
3639 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
3640 | ac_save_CFLAGS=$CFLAGS |
|
|
3641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
|
3642 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
|
3643 | if ${ac_cv_prog_cc_g+:} false; then : |
|
|
3644 | $as_echo_n "(cached) " >&6 |
|
|
3645 | else |
|
|
3646 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3647 | ac_c_werror_flag=yes |
|
|
3648 | ac_cv_prog_cc_g=no |
|
|
3649 | CFLAGS="-g" |
|
|
3650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3651 | /* end confdefs.h. */ |
|
|
3652 | |
|
|
3653 | int |
|
|
3654 | main () |
|
|
3655 | { |
|
|
3656 | |
|
|
3657 | ; |
|
|
3658 | return 0; |
|
|
3659 | } |
|
|
3660 | _ACEOF |
|
|
3661 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3662 | ac_cv_prog_cc_g=yes |
|
|
3663 | else |
|
|
3664 | CFLAGS="" |
|
|
3665 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3666 | /* end confdefs.h. */ |
|
|
3667 | |
|
|
3668 | int |
|
|
3669 | main () |
|
|
3670 | { |
|
|
3671 | |
|
|
3672 | ; |
|
|
3673 | return 0; |
|
|
3674 | } |
|
|
3675 | _ACEOF |
|
|
3676 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3677 | |
|
|
3678 | else |
|
|
3679 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3680 | CFLAGS="-g" |
|
|
3681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3682 | /* end confdefs.h. */ |
|
|
3683 | |
|
|
3684 | int |
|
|
3685 | main () |
|
|
3686 | { |
|
|
3687 | |
|
|
3688 | ; |
|
|
3689 | return 0; |
|
|
3690 | } |
|
|
3691 | _ACEOF |
|
|
3692 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3693 | ac_cv_prog_cc_g=yes |
|
|
3694 | fi |
|
|
3695 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3696 | fi |
|
|
3697 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3698 | fi |
|
|
3699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3700 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3701 | fi |
|
|
3702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
|
3703 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
|
3704 | if test "$ac_test_CFLAGS" = set; then |
|
|
3705 | CFLAGS=$ac_save_CFLAGS |
|
|
3706 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
3707 | if test "$GCC" = yes; then |
|
|
3708 | CFLAGS="-g -O2" |
|
|
3709 | else |
|
|
3710 | CFLAGS="-g" |
|
|
3711 | fi |
|
|
3712 | else |
|
|
3713 | if test "$GCC" = yes; then |
|
|
3714 | CFLAGS="-O2" |
|
|
3715 | else |
|
|
3716 | CFLAGS= |
|
|
3717 | fi |
|
|
3718 | fi |
|
|
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
|
3720 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
|
3721 | if ${ac_cv_prog_cc_c89+:} false; then : |
|
|
3722 | $as_echo_n "(cached) " >&6 |
|
|
3723 | else |
|
|
3724 | ac_cv_prog_cc_c89=no |
|
|
3725 | ac_save_CC=$CC |
|
|
3726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3727 | /* end confdefs.h. */ |
|
|
3728 | #include <stdarg.h> |
|
|
3729 | #include <stdio.h> |
|
|
3730 | struct stat; |
|
|
3731 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
3732 | struct buf { int x; }; |
|
|
3733 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
3734 | static char *e (p, i) |
|
|
3735 | char **p; |
|
|
3736 | int i; |
|
|
3737 | { |
|
|
3738 | return p[i]; |
|
|
3739 | } |
|
|
3740 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
3741 | { |
|
|
3742 | char *s; |
|
|
3743 | va_list v; |
|
|
3744 | va_start (v,p); |
|
|
3745 | s = g (p, va_arg (v,int)); |
|
|
3746 | va_end (v); |
|
|
3747 | return s; |
|
|
3748 | } |
|
|
3749 | |
|
|
3750 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
3751 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
3752 | These don't provoke an error unfortunately, instead are silently treated |
|
|
3753 | as 'x'. The following induces an error, until -std is added to get |
|
|
3754 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
3755 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
3756 | that's true only with -std. */ |
|
|
3757 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3758 | |
|
|
3759 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3760 | inside strings and character constants. */ |
|
|
3761 | #define FOO(x) 'x' |
|
|
3762 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
3763 | |
|
|
3764 | int test (int i, double x); |
|
|
3765 | struct s1 {int (*f) (int a);}; |
|
|
3766 | struct s2 {int (*f) (double a);}; |
|
|
3767 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
3768 | int argc; |
|
|
3769 | char **argv; |
|
|
3770 | int |
|
|
3771 | main () |
|
|
3772 | { |
|
|
3773 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
3774 | ; |
|
|
3775 | return 0; |
|
|
3776 | } |
|
|
3777 | _ACEOF |
|
|
3778 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
3779 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
3780 | do |
|
|
3781 | CC="$ac_save_CC $ac_arg" |
|
|
3782 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3783 | ac_cv_prog_cc_c89=$ac_arg |
|
|
3784 | fi |
|
|
3785 | rm -f core conftest.err conftest.$ac_objext |
|
|
3786 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
3787 | done |
|
|
3788 | rm -f conftest.$ac_ext |
|
|
3789 | CC=$ac_save_CC |
|
|
3790 | |
|
|
3791 | fi |
|
|
3792 | # AC_CACHE_VAL |
|
|
3793 | case "x$ac_cv_prog_cc_c89" in |
|
|
3794 | x) |
|
|
3795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3796 | $as_echo "none needed" >&6; } ;; |
|
|
3797 | xno) |
|
|
3798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3799 | $as_echo "unsupported" >&6; } ;; |
|
|
3800 | *) |
|
|
3801 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
3802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3803 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
3804 | esac |
|
|
3805 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
3806 | |
|
|
3807 | fi |
|
|
3808 | |
|
|
3809 | ac_ext=c |
|
|
3810 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3811 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3812 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3813 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3814 | |
|
|
3815 | |
|
|
3816 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
|
|
3817 | do : |
|
|
3818 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3819 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
3820 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3821 | cat >>confdefs.h <<_ACEOF |
|
|
3822 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3823 | _ACEOF |
|
|
3824 | |
|
|
3825 | fi |
|
|
3826 | |
|
|
3827 | done |
|
|
3828 | |
2512 | |
3829 | |
2513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
2514 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3831 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
2515 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3832 | if ${ac_cv_search_pthread_create+:} false; then : |
2516 | $as_echo_n "(cached) " >&6 |
3833 | $as_echo_n "(cached) " >&6 |
2517 | else |
3834 | else |
2518 | ac_func_search_save_LIBS=$LIBS |
3835 | ac_func_search_save_LIBS=$LIBS |
2519 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3836 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2520 | /* end confdefs.h. */ |
3837 | /* end confdefs.h. */ |
… | |
… | |
2544 | if ac_fn_c_try_link "$LINENO"; then : |
3861 | if ac_fn_c_try_link "$LINENO"; then : |
2545 | ac_cv_search_pthread_create=$ac_res |
3862 | ac_cv_search_pthread_create=$ac_res |
2546 | fi |
3863 | fi |
2547 | rm -f core conftest.err conftest.$ac_objext \ |
3864 | rm -f core conftest.err conftest.$ac_objext \ |
2548 | conftest$ac_exeext |
3865 | conftest$ac_exeext |
2549 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3866 | if ${ac_cv_search_pthread_create+:} false; then : |
2550 | break |
3867 | break |
2551 | fi |
3868 | fi |
2552 | done |
3869 | done |
2553 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3870 | if ${ac_cv_search_pthread_create+:} false; then : |
2554 | |
3871 | |
2555 | else |
3872 | else |
2556 | ac_cv_search_pthread_create=no |
3873 | ac_cv_search_pthread_create=no |
2557 | fi |
3874 | fi |
2558 | rm conftest.$ac_ext |
3875 | rm conftest.$ac_ext |
… | |
… | |
2563 | ac_res=$ac_cv_search_pthread_create |
3880 | ac_res=$ac_cv_search_pthread_create |
2564 | if test "$ac_res" != no; then : |
3881 | if test "$ac_res" != no; then : |
2565 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
3882 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2566 | |
3883 | |
2567 | else |
3884 | else |
2568 | as_fn_error "pthread functions not found" "$LINENO" 5 |
3885 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
2569 | |
3886 | |
2570 | fi |
3887 | fi |
|
|
3888 | |
|
|
3889 | |
|
|
3890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
|
|
3891 | $as_echo_n "checking for utimes... " >&6; } |
|
|
3892 | if ${ac_cv_utimes+:} false; then : |
|
|
3893 | $as_echo_n "(cached) " >&6 |
|
|
3894 | else |
|
|
3895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3896 | /* end confdefs.h. */ |
|
|
3897 | |
|
|
3898 | #include <sys/types.h> |
|
|
3899 | #include <sys/time.h> |
|
|
3900 | #include <utime.h> |
|
|
3901 | struct timeval tv[2]; |
|
|
3902 | int res; |
|
|
3903 | int main (void) |
|
|
3904 | { |
|
|
3905 | res = utimes ("/", tv); |
|
|
3906 | return 0; |
|
|
3907 | } |
|
|
3908 | |
|
|
3909 | _ACEOF |
|
|
3910 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3911 | ac_cv_utimes=yes |
|
|
3912 | else |
|
|
3913 | ac_cv_utimes=no |
|
|
3914 | fi |
|
|
3915 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3916 | conftest$ac_exeext conftest.$ac_ext |
|
|
3917 | fi |
|
|
3918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_utimes" >&5 |
|
|
3919 | $as_echo "$ac_cv_utimes" >&6; } |
|
|
3920 | test $ac_cv_utimes = yes && |
|
|
3921 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
2571 | |
3922 | |
2572 | |
3923 | |
2573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2574 | $as_echo_n "checking for futimes... " >&6; } |
3925 | $as_echo_n "checking for futimes... " >&6; } |
2575 | if test "${ac_cv_futimes+set}" = set; then : |
3926 | if ${ac_cv_futimes+:} false; then : |
2576 | $as_echo_n "(cached) " >&6 |
3927 | $as_echo_n "(cached) " >&6 |
2577 | else |
3928 | else |
2578 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3929 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2579 | /* end confdefs.h. */ |
3930 | /* end confdefs.h. */ |
2580 | |
3931 | |
… | |
… | |
2582 | #include <sys/time.h> |
3933 | #include <sys/time.h> |
2583 | #include <utime.h> |
3934 | #include <utime.h> |
2584 | struct timeval tv[2]; |
3935 | struct timeval tv[2]; |
2585 | int res; |
3936 | int res; |
2586 | int fd; |
3937 | int fd; |
2587 | int main(void) |
3938 | int main (void) |
2588 | { |
3939 | { |
2589 | res = futimes (fd, tv); |
3940 | res = futimes (fd, tv); |
2590 | return 0; |
3941 | return 0; |
2591 | } |
3942 | } |
2592 | |
3943 | |
… | |
… | |
2605 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
3956 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
2606 | |
3957 | |
2607 | |
3958 | |
2608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
2609 | $as_echo_n "checking for readahead... " >&6; } |
3960 | $as_echo_n "checking for readahead... " >&6; } |
2610 | if test "${ac_cv_readahead+set}" = set; then : |
3961 | if ${ac_cv_readahead+:} false; then : |
2611 | $as_echo_n "(cached) " >&6 |
3962 | $as_echo_n "(cached) " >&6 |
2612 | else |
3963 | else |
2613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2614 | /* end confdefs.h. */ |
3965 | /* end confdefs.h. */ |
2615 | |
3966 | |
2616 | #include <fcntl.h> |
3967 | #include <fcntl.h> |
2617 | int main(void) |
3968 | int main (void) |
2618 | { |
3969 | { |
2619 | int fd = 0; |
3970 | int fd = 0; |
2620 | size_t count = 2; |
3971 | size_t count = 2; |
2621 | ssize_t res; |
3972 | ssize_t res; |
2622 | res = readahead (fd, 0, count); |
3973 | res = readahead (fd, 0, count); |
… | |
… | |
2638 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
3989 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
2639 | |
3990 | |
2640 | |
3991 | |
2641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
3992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
2642 | $as_echo_n "checking for fdatasync... " >&6; } |
3993 | $as_echo_n "checking for fdatasync... " >&6; } |
2643 | if test "${ac_cv_fdatasync+set}" = set; then : |
3994 | if ${ac_cv_fdatasync+:} false; then : |
2644 | $as_echo_n "(cached) " >&6 |
3995 | $as_echo_n "(cached) " >&6 |
2645 | else |
3996 | else |
2646 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2647 | /* end confdefs.h. */ |
3998 | /* end confdefs.h. */ |
2648 | |
3999 | |
2649 | #include <unistd.h> |
4000 | #include <unistd.h> |
2650 | int main(void) |
4001 | int main (void) |
2651 | { |
4002 | { |
2652 | int fd = 0; |
4003 | int fd = 0; |
2653 | fdatasync (fd); |
4004 | fdatasync (fd); |
2654 | return 0; |
4005 | return 0; |
2655 | } |
4006 | } |
… | |
… | |
2667 | $as_echo "$ac_cv_fdatasync" >&6; } |
4018 | $as_echo "$ac_cv_fdatasync" >&6; } |
2668 | test $ac_cv_fdatasync = yes && |
4019 | test $ac_cv_fdatasync = yes && |
2669 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
4020 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
2670 | |
4021 | |
2671 | |
4022 | |
2672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
|
|
2673 | $as_echo_n "checking for pread and pwrite... " >&6; } |
|
|
2674 | if test "${ac_cv_preadwrite+set}" = set; then : |
|
|
2675 | $as_echo_n "(cached) " >&6 |
|
|
2676 | else |
|
|
2677 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2678 | /* end confdefs.h. */ |
|
|
2679 | |
|
|
2680 | #include <unistd.h> |
|
|
2681 | int main(void) |
|
|
2682 | { |
|
|
2683 | int fd = 0; |
|
|
2684 | size_t count = 1; |
|
|
2685 | char buf; |
|
|
2686 | off_t offset = 1; |
|
|
2687 | ssize_t res; |
|
|
2688 | res = pread (fd, &buf, count, offset); |
|
|
2689 | res = pwrite (fd, &buf, count, offset); |
|
|
2690 | return 0; |
|
|
2691 | } |
|
|
2692 | |
|
|
2693 | _ACEOF |
|
|
2694 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2695 | ac_cv_preadwrite=yes |
|
|
2696 | else |
|
|
2697 | ac_cv_preadwrite=no |
|
|
2698 | fi |
|
|
2699 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2700 | conftest$ac_exeext conftest.$ac_ext |
|
|
2701 | fi |
|
|
2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
|
|
2703 | $as_echo "$ac_cv_preadwrite" >&6; } |
|
|
2704 | test $ac_cv_preadwrite = yes && |
|
|
2705 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
|
|
2706 | |
|
|
2707 | |
|
|
2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
4023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
2709 | $as_echo_n "checking for sendfile... " >&6; } |
4024 | $as_echo_n "checking for sendfile... " >&6; } |
2710 | if test "${ac_cv_sendfile+set}" = set; then : |
4025 | if ${ac_cv_sendfile+:} false; then : |
2711 | $as_echo_n "(cached) " >&6 |
4026 | $as_echo_n "(cached) " >&6 |
2712 | else |
4027 | else |
2713 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2714 | /* end confdefs.h. */ |
4029 | /* end confdefs.h. */ |
2715 | |
4030 | |
2716 | # include <sys/types.h> |
4031 | # include <sys/types.h> |
2717 | #if __linux |
4032 | #if __linux |
2718 | # include <sys/sendfile.h> |
4033 | # include <sys/sendfile.h> |
2719 | #elif __freebsd || defined (__APPLE__) |
4034 | #elif __FreeBSD__ || defined __APPLE__ |
2720 | # include <sys/socket.h> |
4035 | # include <sys/socket.h> |
2721 | # include <sys/uio.h> |
4036 | # include <sys/uio.h> |
2722 | #elif __hpux |
4037 | #elif __hpux |
2723 | # include <sys/socket.h> |
4038 | # include <sys/socket.h> |
2724 | #else |
4039 | #else |
2725 | # error unsupported architecture |
4040 | # error unsupported architecture |
2726 | #endif |
4041 | #endif |
2727 | int main(void) |
4042 | int main (void) |
2728 | { |
4043 | { |
2729 | int fd = 0; |
4044 | int fd = 0; |
2730 | off_t offset = 1; |
4045 | off_t offset = 1; |
2731 | size_t count = 2; |
4046 | size_t count = 2; |
2732 | ssize_t res; |
4047 | ssize_t res; |
2733 | #if __linux |
4048 | #if __linux |
2734 | res = sendfile (fd, fd, offset, count); |
4049 | res = sendfile (fd, fd, &offset, count); |
2735 | #elif __freebsd |
4050 | #elif __FreeBSD__ |
2736 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4051 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
2737 | #elif __hpux |
4052 | #elif __hpux |
2738 | res = sendfile (fd, fd, offset, count, 0, 0); |
4053 | res = sendfile (fd, fd, offset, count, 0, 0); |
2739 | #endif |
4054 | #endif |
2740 | return 0; |
4055 | return 0; |
… | |
… | |
2755 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
4070 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
2756 | |
4071 | |
2757 | |
4072 | |
2758 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
4073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
2759 | $as_echo_n "checking for sync_file_range... " >&6; } |
4074 | $as_echo_n "checking for sync_file_range... " >&6; } |
2760 | if test "${ac_cv_sync_file_range+set}" = set; then : |
4075 | if ${ac_cv_sync_file_range+:} false; then : |
2761 | $as_echo_n "(cached) " >&6 |
4076 | $as_echo_n "(cached) " >&6 |
2762 | else |
4077 | else |
2763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2764 | /* end confdefs.h. */ |
4079 | /* end confdefs.h. */ |
2765 | |
4080 | |
2766 | #include <fcntl.h> |
4081 | #include <fcntl.h> |
2767 | int main(void) |
4082 | int main (void) |
2768 | { |
4083 | { |
2769 | int fd = 0; |
4084 | int fd = 0; |
2770 | off64_t offset = 1; |
4085 | off64_t offset = 1; |
2771 | off64_t nbytes = 1; |
4086 | off64_t nbytes = 1; |
2772 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
4087 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
… | |
… | |
2786 | fi |
4101 | fi |
2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
4102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
2788 | $as_echo "$ac_cv_sync_file_range" >&6; } |
4103 | $as_echo "$ac_cv_sync_file_range" >&6; } |
2789 | test $ac_cv_sync_file_range = yes && |
4104 | test $ac_cv_sync_file_range = yes && |
2790 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4105 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
|
|
4106 | |
|
|
4107 | |
|
|
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
|
|
4109 | $as_echo_n "checking for fallocate... " >&6; } |
|
|
4110 | if ${ac_cv_linux_fallocate+:} false; then : |
|
|
4111 | $as_echo_n "(cached) " >&6 |
|
|
4112 | else |
|
|
4113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4114 | /* end confdefs.h. */ |
|
|
4115 | |
|
|
4116 | #include <fcntl.h> |
|
|
4117 | int main (void) |
|
|
4118 | { |
|
|
4119 | int fd = 0; |
|
|
4120 | int mode = 0; |
|
|
4121 | off_t offset = 1; |
|
|
4122 | off_t len = 1; |
|
|
4123 | int res; |
|
|
4124 | res = fallocate (fd, mode, offset, len); |
|
|
4125 | return 0; |
|
|
4126 | } |
|
|
4127 | |
|
|
4128 | _ACEOF |
|
|
4129 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4130 | ac_cv_linux_fallocate=yes |
|
|
4131 | else |
|
|
4132 | ac_cv_linux_fallocate=no |
|
|
4133 | fi |
|
|
4134 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4135 | conftest$ac_exeext conftest.$ac_ext |
|
|
4136 | fi |
|
|
4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5 |
|
|
4138 | $as_echo "$ac_cv_linux_fallocate" >&6; } |
|
|
4139 | test $ac_cv_linux_fallocate = yes && |
|
|
4140 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
|
|
4141 | |
|
|
4142 | |
|
|
4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
|
|
4144 | $as_echo_n "checking for sys_syncfs... " >&6; } |
|
|
4145 | if ${ac_cv_sys_syncfs+:} false; then : |
|
|
4146 | $as_echo_n "(cached) " >&6 |
|
|
4147 | else |
|
|
4148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4149 | /* end confdefs.h. */ |
|
|
4150 | |
|
|
4151 | #include <unistd.h> |
|
|
4152 | #include <sys/syscall.h> |
|
|
4153 | int main (void) |
|
|
4154 | { |
|
|
4155 | int res = syscall (__NR_syncfs, (int)0); |
|
|
4156 | } |
|
|
4157 | |
|
|
4158 | _ACEOF |
|
|
4159 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4160 | ac_cv_sys_syncfs=yes |
|
|
4161 | else |
|
|
4162 | ac_cv_sys_syncfs=no |
|
|
4163 | fi |
|
|
4164 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4165 | conftest$ac_exeext conftest.$ac_ext |
|
|
4166 | fi |
|
|
4167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
|
|
4168 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
|
|
4169 | test $ac_cv_sys_syncfs = yes && |
|
|
4170 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
4171 | |
|
|
4172 | |
|
|
4173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
4174 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
4175 | if ${ac_cv_prctl_set_name+:} false; then : |
|
|
4176 | $as_echo_n "(cached) " >&6 |
|
|
4177 | else |
|
|
4178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4179 | /* end confdefs.h. */ |
|
|
4180 | |
|
|
4181 | #include <sys/prctl.h> |
|
|
4182 | int main (void) |
|
|
4183 | { |
|
|
4184 | char *name = "test123"; |
|
|
4185 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
4186 | } |
|
|
4187 | |
|
|
4188 | _ACEOF |
|
|
4189 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4190 | ac_cv_prctl_set_name=yes |
|
|
4191 | else |
|
|
4192 | ac_cv_prctl_set_name=no |
|
|
4193 | fi |
|
|
4194 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4195 | conftest$ac_exeext conftest.$ac_ext |
|
|
4196 | fi |
|
|
4197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
4198 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
4199 | test $ac_cv_prctl_set_name = yes && |
|
|
4200 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
|
|
4201 | |
|
|
4202 | |
|
|
4203 | |
|
|
4204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
|
|
4205 | $as_echo_n "checking for posix_madvise... " >&6; } |
|
|
4206 | if ${ac_cv_posix_madvise+:} false; then : |
|
|
4207 | $as_echo_n "(cached) " >&6 |
|
|
4208 | else |
|
|
4209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4210 | /* end confdefs.h. */ |
|
|
4211 | |
|
|
4212 | #include <sys/mman.h> |
|
|
4213 | int main (void) |
|
|
4214 | { |
|
|
4215 | int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL); |
|
|
4216 | int a = POSIX_MADV_SEQUENTIAL; |
|
|
4217 | int b = POSIX_MADV_RANDOM; |
|
|
4218 | int c = POSIX_MADV_WILLNEED; |
|
|
4219 | int d = POSIX_MADV_DONTNEED; |
|
|
4220 | return 0; |
|
|
4221 | } |
|
|
4222 | |
|
|
4223 | _ACEOF |
|
|
4224 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4225 | ac_cv_posix_madvise=yes |
|
|
4226 | else |
|
|
4227 | ac_cv_posix_madvise=no |
|
|
4228 | fi |
|
|
4229 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4230 | conftest$ac_exeext conftest.$ac_ext |
|
|
4231 | fi |
|
|
4232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5 |
|
|
4233 | $as_echo "$ac_cv_posix_madvise" >&6; } |
|
|
4234 | test $ac_cv_posix_madvise = yes && |
|
|
4235 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
|
|
4236 | |
|
|
4237 | |
|
|
4238 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
|
|
4239 | $as_echo_n "checking for posix_fadvise... " >&6; } |
|
|
4240 | if ${ac_cv_posix_fadvise+:} false; then : |
|
|
4241 | $as_echo_n "(cached) " >&6 |
|
|
4242 | else |
|
|
4243 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4244 | /* end confdefs.h. */ |
|
|
4245 | |
|
|
4246 | #define _XOPEN_SOURCE 600 |
|
|
4247 | #include <fcntl.h> |
|
|
4248 | int main (void) |
|
|
4249 | { |
|
|
4250 | int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL); |
|
|
4251 | int a = POSIX_FADV_SEQUENTIAL; |
|
|
4252 | int b = POSIX_FADV_NOREUSE; |
|
|
4253 | int c = POSIX_FADV_RANDOM; |
|
|
4254 | int d = POSIX_FADV_WILLNEED; |
|
|
4255 | int e = POSIX_FADV_DONTNEED; |
|
|
4256 | return 0; |
|
|
4257 | } |
|
|
4258 | |
|
|
4259 | _ACEOF |
|
|
4260 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4261 | ac_cv_posix_fadvise=yes |
|
|
4262 | else |
|
|
4263 | ac_cv_posix_fadvise=no |
|
|
4264 | fi |
|
|
4265 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4266 | conftest$ac_exeext conftest.$ac_ext |
|
|
4267 | fi |
|
|
4268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
|
|
4269 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
|
|
4270 | test $ac_cv_posix_fadvise = yes && |
|
|
4271 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
|
|
4272 | |
|
|
4273 | |
|
|
4274 | for ac_header in linux/fs.h linux/fiemap.h |
|
|
4275 | do : |
|
|
4276 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4277 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
4278 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
4279 | cat >>confdefs.h <<_ACEOF |
|
|
4280 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4281 | _ACEOF |
|
|
4282 | |
|
|
4283 | fi |
|
|
4284 | |
|
|
4285 | done |
|
|
4286 | |
|
|
4287 | |
|
|
4288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
|
|
4289 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
|
|
4290 | if ${ac_cv_linux_splice+:} false; then : |
|
|
4291 | $as_echo_n "(cached) " >&6 |
|
|
4292 | else |
|
|
4293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4294 | /* end confdefs.h. */ |
|
|
4295 | |
|
|
4296 | #include <fcntl.h> |
|
|
4297 | int main (void) |
|
|
4298 | { |
|
|
4299 | ssize_t res; |
|
|
4300 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
|
|
4301 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
|
|
4302 | res = vmsplice ((int)0, (struct iovec *)0, 0, SPLICE_F_NONBLOCK | SPLICE_F_GIFT); |
|
|
4303 | return 0; |
|
|
4304 | } |
|
|
4305 | |
|
|
4306 | _ACEOF |
|
|
4307 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4308 | ac_cv_linux_splice=yes |
|
|
4309 | else |
|
|
4310 | ac_cv_linux_splice=no |
|
|
4311 | fi |
|
|
4312 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4313 | conftest$ac_exeext conftest.$ac_ext |
|
|
4314 | fi |
|
|
4315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
|
|
4316 | $as_echo "$ac_cv_linux_splice" >&6; } |
|
|
4317 | test $ac_cv_linux_splice = yes && |
|
|
4318 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
|
|
4319 | |
|
|
4320 | |
|
|
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5 |
|
|
4322 | $as_echo_n "checking for pipe2... " >&6; } |
|
|
4323 | if ${ac_cv_pipe2+:} false; then : |
|
|
4324 | $as_echo_n "(cached) " >&6 |
|
|
4325 | else |
|
|
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4327 | /* end confdefs.h. */ |
|
|
4328 | |
|
|
4329 | #include <fcntl.h> |
|
|
4330 | #include <unistd.h> |
|
|
4331 | int res; |
|
|
4332 | int main (void) |
|
|
4333 | { |
|
|
4334 | res = pipe2 (0, 0); |
|
|
4335 | return 0; |
|
|
4336 | } |
|
|
4337 | |
|
|
4338 | _ACEOF |
|
|
4339 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4340 | ac_cv_pipe2=yes |
|
|
4341 | else |
|
|
4342 | ac_cv_pipe2=no |
|
|
4343 | fi |
|
|
4344 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4345 | conftest$ac_exeext conftest.$ac_ext |
|
|
4346 | fi |
|
|
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5 |
|
|
4348 | $as_echo "$ac_cv_pipe2" >&6; } |
|
|
4349 | test $ac_cv_pipe2 = yes && |
|
|
4350 | $as_echo "#define HAVE_PIPE2 1" >>confdefs.h |
|
|
4351 | |
|
|
4352 | |
|
|
4353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for renameat2" >&5 |
|
|
4354 | $as_echo_n "checking for renameat2... " >&6; } |
|
|
4355 | if ${ac_cv_renameat2+:} false; then : |
|
|
4356 | $as_echo_n "(cached) " >&6 |
|
|
4357 | else |
|
|
4358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4359 | /* end confdefs.h. */ |
|
|
4360 | |
|
|
4361 | #include <unistd.h> |
|
|
4362 | #include <sys/syscall.h> |
|
|
4363 | #include <linux/fs.h> |
|
|
4364 | int res; |
|
|
4365 | int main (void) |
|
|
4366 | { |
|
|
4367 | res = syscall (SYS_renameat2, 0, 0, 0, 0, RENAME_EXCHANGE | RENAME_NOREPLACE); |
|
|
4368 | return 0; |
|
|
4369 | } |
|
|
4370 | |
|
|
4371 | _ACEOF |
|
|
4372 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4373 | ac_cv_renameat2=yes |
|
|
4374 | else |
|
|
4375 | ac_cv_renameat2=no |
|
|
4376 | fi |
|
|
4377 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4378 | conftest$ac_exeext conftest.$ac_ext |
|
|
4379 | fi |
|
|
4380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_renameat2" >&5 |
|
|
4381 | $as_echo "$ac_cv_renameat2" >&6; } |
|
|
4382 | test $ac_cv_renameat2 = yes && |
|
|
4383 | $as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h |
2791 | |
4384 | |
2792 | |
4385 | |
2793 | |
4386 | |
2794 | |
4387 | |
2795 | cat >confcache <<\_ACEOF |
4388 | cat >confcache <<\_ACEOF |
… | |
… | |
2854 | t end |
4447 | t end |
2855 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4448 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2856 | :end' >>confcache |
4449 | :end' >>confcache |
2857 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4450 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2858 | if test -w "$cache_file"; then |
4451 | if test -w "$cache_file"; then |
2859 | test "x$cache_file" != "x/dev/null" && |
4452 | if test "x$cache_file" != "x/dev/null"; then |
2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4453 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2861 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
4454 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
4455 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
2862 | cat confcache >$cache_file |
4456 | cat confcache >"$cache_file" |
|
|
4457 | else |
|
|
4458 | case $cache_file in #( |
|
|
4459 | */* | ?:*) |
|
|
4460 | mv -f confcache "$cache_file"$$ && |
|
|
4461 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
4462 | *) |
|
|
4463 | mv -f confcache "$cache_file" ;; |
|
|
4464 | esac |
|
|
4465 | fi |
|
|
4466 | fi |
2863 | else |
4467 | else |
2864 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4468 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2865 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4469 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2866 | fi |
4470 | fi |
2867 | fi |
4471 | fi |
… | |
… | |
2873 | |
4477 | |
2874 | DEFS=-DHAVE_CONFIG_H |
4478 | DEFS=-DHAVE_CONFIG_H |
2875 | |
4479 | |
2876 | ac_libobjs= |
4480 | ac_libobjs= |
2877 | ac_ltlibobjs= |
4481 | ac_ltlibobjs= |
|
|
4482 | U= |
2878 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4483 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2879 | # 1. Remove the extension, and $U if already installed. |
4484 | # 1. Remove the extension, and $U if already installed. |
2880 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
4485 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2881 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
4486 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
2882 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
4487 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
… | |
… | |
2888 | |
4493 | |
2889 | LTLIBOBJS=$ac_ltlibobjs |
4494 | LTLIBOBJS=$ac_ltlibobjs |
2890 | |
4495 | |
2891 | |
4496 | |
2892 | |
4497 | |
2893 | : ${CONFIG_STATUS=./config.status} |
4498 | : "${CONFIG_STATUS=./config.status}" |
2894 | ac_write_fail=0 |
4499 | ac_write_fail=0 |
2895 | ac_clean_files_save=$ac_clean_files |
4500 | ac_clean_files_save=$ac_clean_files |
2896 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4501 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4502 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
2898 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4503 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
2989 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4594 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
2990 | # splitting by setting IFS to empty value.) |
4595 | # splitting by setting IFS to empty value.) |
2991 | IFS=" "" $as_nl" |
4596 | IFS=" "" $as_nl" |
2992 | |
4597 | |
2993 | # Find who we are. Look in the path if we contain no directory separator. |
4598 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
4599 | as_myself= |
2994 | case $0 in #(( |
4600 | case $0 in #(( |
2995 | *[\\/]* ) as_myself=$0 ;; |
4601 | *[\\/]* ) as_myself=$0 ;; |
2996 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4602 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2997 | for as_dir in $PATH |
4603 | for as_dir in $PATH |
2998 | do |
4604 | do |
… | |
… | |
3034 | |
4640 | |
3035 | # CDPATH. |
4641 | # CDPATH. |
3036 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4642 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3037 | |
4643 | |
3038 | |
4644 | |
3039 | # as_fn_error ERROR [LINENO LOG_FD] |
4645 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
3040 | # --------------------------------- |
4646 | # ---------------------------------------- |
3041 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
4647 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3042 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
4648 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3043 | # script with status $?, using 1 if that was 0. |
4649 | # script with STATUS, using 1 if that was 0. |
3044 | as_fn_error () |
4650 | as_fn_error () |
3045 | { |
4651 | { |
3046 | as_status=$?; test $as_status -eq 0 && as_status=1 |
4652 | as_status=$1; test $as_status -eq 0 && as_status=1 |
3047 | if test "$3"; then |
4653 | if test "$4"; then |
3048 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4654 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
4655 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3050 | fi |
4656 | fi |
3051 | $as_echo "$as_me: error: $1" >&2 |
4657 | $as_echo "$as_me: error: $2" >&2 |
3052 | as_fn_exit $as_status |
4658 | as_fn_exit $as_status |
3053 | } # as_fn_error |
4659 | } # as_fn_error |
3054 | |
4660 | |
3055 | |
4661 | |
3056 | # as_fn_set_status STATUS |
4662 | # as_fn_set_status STATUS |
… | |
… | |
3184 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4790 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
3185 | as_ln_s='ln -s' |
4791 | as_ln_s='ln -s' |
3186 | # ... but there are two gotchas: |
4792 | # ... but there are two gotchas: |
3187 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4793 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3188 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4794 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3189 | # In both cases, we have to default to `cp -p'. |
4795 | # In both cases, we have to default to `cp -pR'. |
3190 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4796 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3191 | as_ln_s='cp -p' |
4797 | as_ln_s='cp -pR' |
3192 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4798 | elif ln conf$$.file conf$$ 2>/dev/null; then |
3193 | as_ln_s=ln |
4799 | as_ln_s=ln |
3194 | else |
4800 | else |
3195 | as_ln_s='cp -p' |
4801 | as_ln_s='cp -pR' |
3196 | fi |
4802 | fi |
3197 | else |
4803 | else |
3198 | as_ln_s='cp -p' |
4804 | as_ln_s='cp -pR' |
3199 | fi |
4805 | fi |
3200 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4806 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3201 | rmdir conf$$.dir 2>/dev/null |
4807 | rmdir conf$$.dir 2>/dev/null |
3202 | |
4808 | |
3203 | |
4809 | |
… | |
… | |
3242 | } |
4848 | } |
3243 | s/.*/./; q'` |
4849 | s/.*/./; q'` |
3244 | test -d "$as_dir" && break |
4850 | test -d "$as_dir" && break |
3245 | done |
4851 | done |
3246 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4852 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3247 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
4853 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3248 | |
4854 | |
3249 | |
4855 | |
3250 | } # as_fn_mkdir_p |
4856 | } # as_fn_mkdir_p |
3251 | if mkdir -p . 2>/dev/null; then |
4857 | if mkdir -p . 2>/dev/null; then |
3252 | as_mkdir_p='mkdir -p "$as_dir"' |
4858 | as_mkdir_p='mkdir -p "$as_dir"' |
3253 | else |
4859 | else |
3254 | test -d ./-p && rmdir ./-p |
4860 | test -d ./-p && rmdir ./-p |
3255 | as_mkdir_p=false |
4861 | as_mkdir_p=false |
3256 | fi |
4862 | fi |
3257 | |
4863 | |
3258 | if test -x / >/dev/null 2>&1; then |
4864 | |
|
|
4865 | # as_fn_executable_p FILE |
|
|
4866 | # ----------------------- |
|
|
4867 | # Test if FILE is an executable regular file. |
|
|
4868 | as_fn_executable_p () |
|
|
4869 | { |
|
|
4870 | test -f "$1" && test -x "$1" |
|
|
4871 | } # as_fn_executable_p |
3259 | as_test_x='test -x' |
4872 | as_test_x='test -x' |
3260 | else |
4873 | as_executable_p=as_fn_executable_p |
3261 | if ls -dL / >/dev/null 2>&1; then |
|
|
3262 | as_ls_L_option=L |
|
|
3263 | else |
|
|
3264 | as_ls_L_option= |
|
|
3265 | fi |
|
|
3266 | as_test_x=' |
|
|
3267 | eval sh -c '\'' |
|
|
3268 | if test -d "$1"; then |
|
|
3269 | test -d "$1/."; |
|
|
3270 | else |
|
|
3271 | case $1 in #( |
|
|
3272 | -*)set "./$1";; |
|
|
3273 | esac; |
|
|
3274 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
3275 | ???[sx]*):;;*)false;;esac;fi |
|
|
3276 | '\'' sh |
|
|
3277 | ' |
|
|
3278 | fi |
|
|
3279 | as_executable_p=$as_test_x |
|
|
3280 | |
4874 | |
3281 | # Sed expression to map a string onto a valid CPP name. |
4875 | # Sed expression to map a string onto a valid CPP name. |
3282 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4876 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3283 | |
4877 | |
3284 | # Sed expression to map a string onto a valid variable name. |
4878 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
3296 | # Save the log message, to keep $0 and so on meaningful, and to |
4890 | # Save the log message, to keep $0 and so on meaningful, and to |
3297 | # report actual input values of CONFIG_FILES etc. instead of their |
4891 | # report actual input values of CONFIG_FILES etc. instead of their |
3298 | # values after options handling. |
4892 | # values after options handling. |
3299 | ac_log=" |
4893 | ac_log=" |
3300 | This file was extended by $as_me, which was |
4894 | This file was extended by $as_me, which was |
3301 | generated by GNU Autoconf 2.64. Invocation command line was |
4895 | generated by GNU Autoconf 2.69. Invocation command line was |
3302 | |
4896 | |
3303 | CONFIG_FILES = $CONFIG_FILES |
4897 | CONFIG_FILES = $CONFIG_FILES |
3304 | CONFIG_HEADERS = $CONFIG_HEADERS |
4898 | CONFIG_HEADERS = $CONFIG_HEADERS |
3305 | CONFIG_LINKS = $CONFIG_LINKS |
4899 | CONFIG_LINKS = $CONFIG_LINKS |
3306 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
4900 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
3331 | |
4925 | |
3332 | Usage: $0 [OPTION]... [TAG]... |
4926 | Usage: $0 [OPTION]... [TAG]... |
3333 | |
4927 | |
3334 | -h, --help print this help, then exit |
4928 | -h, --help print this help, then exit |
3335 | -V, --version print version number and configuration settings, then exit |
4929 | -V, --version print version number and configuration settings, then exit |
|
|
4930 | --config print configuration, then exit |
3336 | -q, --quiet, --silent |
4931 | -q, --quiet, --silent |
3337 | do not print progress messages |
4932 | do not print progress messages |
3338 | -d, --debug don't remove temporary files |
4933 | -d, --debug don't remove temporary files |
3339 | --recheck update $as_me by reconfiguring in the same conditions |
4934 | --recheck update $as_me by reconfiguring in the same conditions |
3340 | --header=FILE[:TEMPLATE] |
4935 | --header=FILE[:TEMPLATE] |
… | |
… | |
3345 | |
4940 | |
3346 | Report bugs to the package provider." |
4941 | Report bugs to the package provider." |
3347 | |
4942 | |
3348 | _ACEOF |
4943 | _ACEOF |
3349 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4944 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4945 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3350 | ac_cs_version="\\ |
4946 | ac_cs_version="\\ |
3351 | config.status |
4947 | config.status |
3352 | configured by $0, generated by GNU Autoconf 2.64, |
4948 | configured by $0, generated by GNU Autoconf 2.69, |
3353 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
4949 | with options \\"\$ac_cs_config\\" |
3354 | |
4950 | |
3355 | Copyright (C) 2009 Free Software Foundation, Inc. |
4951 | Copyright (C) 2012 Free Software Foundation, Inc. |
3356 | This config.status script is free software; the Free Software Foundation |
4952 | This config.status script is free software; the Free Software Foundation |
3357 | gives unlimited permission to copy, distribute and modify it." |
4953 | gives unlimited permission to copy, distribute and modify it." |
3358 | |
4954 | |
3359 | ac_pwd='$ac_pwd' |
4955 | ac_pwd='$ac_pwd' |
3360 | srcdir='$srcdir' |
4956 | srcdir='$srcdir' |
… | |
… | |
3365 | # The default lists apply if the user does not specify any file. |
4961 | # The default lists apply if the user does not specify any file. |
3366 | ac_need_defaults=: |
4962 | ac_need_defaults=: |
3367 | while test $# != 0 |
4963 | while test $# != 0 |
3368 | do |
4964 | do |
3369 | case $1 in |
4965 | case $1 in |
3370 | --*=*) |
4966 | --*=?*) |
3371 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
4967 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3372 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
4968 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
4969 | ac_shift=: |
|
|
4970 | ;; |
|
|
4971 | --*=) |
|
|
4972 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
4973 | ac_optarg= |
3373 | ac_shift=: |
4974 | ac_shift=: |
3374 | ;; |
4975 | ;; |
3375 | *) |
4976 | *) |
3376 | ac_option=$1 |
4977 | ac_option=$1 |
3377 | ac_optarg=$2 |
4978 | ac_optarg=$2 |
… | |
… | |
3383 | # Handling of the options. |
4984 | # Handling of the options. |
3384 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
4985 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3385 | ac_cs_recheck=: ;; |
4986 | ac_cs_recheck=: ;; |
3386 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
4987 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
3387 | $as_echo "$ac_cs_version"; exit ;; |
4988 | $as_echo "$ac_cs_version"; exit ;; |
|
|
4989 | --config | --confi | --conf | --con | --co | --c ) |
|
|
4990 | $as_echo "$ac_cs_config"; exit ;; |
3388 | --debug | --debu | --deb | --de | --d | -d ) |
4991 | --debug | --debu | --deb | --de | --d | -d ) |
3389 | debug=: ;; |
4992 | debug=: ;; |
3390 | --header | --heade | --head | --hea ) |
4993 | --header | --heade | --head | --hea ) |
3391 | $ac_shift |
4994 | $ac_shift |
3392 | case $ac_optarg in |
4995 | case $ac_optarg in |
… | |
… | |
3394 | esac |
4997 | esac |
3395 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
4998 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
3396 | ac_need_defaults=false;; |
4999 | ac_need_defaults=false;; |
3397 | --he | --h) |
5000 | --he | --h) |
3398 | # Conflict between --help and --header |
5001 | # Conflict between --help and --header |
3399 | as_fn_error "ambiguous option: \`$1' |
5002 | as_fn_error $? "ambiguous option: \`$1' |
3400 | Try \`$0 --help' for more information.";; |
5003 | Try \`$0 --help' for more information.";; |
3401 | --help | --hel | -h ) |
5004 | --help | --hel | -h ) |
3402 | $as_echo "$ac_cs_usage"; exit ;; |
5005 | $as_echo "$ac_cs_usage"; exit ;; |
3403 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
5006 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3404 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
5007 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
3405 | ac_cs_silent=: ;; |
5008 | ac_cs_silent=: ;; |
3406 | |
5009 | |
3407 | # This is an error. |
5010 | # This is an error. |
3408 | -*) as_fn_error "unrecognized option: \`$1' |
5011 | -*) as_fn_error $? "unrecognized option: \`$1' |
3409 | Try \`$0 --help' for more information." ;; |
5012 | Try \`$0 --help' for more information." ;; |
3410 | |
5013 | |
3411 | *) as_fn_append ac_config_targets " $1" |
5014 | *) as_fn_append ac_config_targets " $1" |
3412 | ac_need_defaults=false ;; |
5015 | ac_need_defaults=false ;; |
3413 | |
5016 | |
… | |
… | |
3423 | fi |
5026 | fi |
3424 | |
5027 | |
3425 | _ACEOF |
5028 | _ACEOF |
3426 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5029 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3427 | if \$ac_cs_recheck; then |
5030 | if \$ac_cs_recheck; then |
3428 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
5031 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
3429 | shift |
5032 | shift |
3430 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
5033 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3431 | CONFIG_SHELL='$SHELL' |
5034 | CONFIG_SHELL='$SHELL' |
3432 | export CONFIG_SHELL |
5035 | export CONFIG_SHELL |
3433 | exec "\$@" |
5036 | exec "\$@" |
… | |
… | |
3454 | for ac_config_target in $ac_config_targets |
5057 | for ac_config_target in $ac_config_targets |
3455 | do |
5058 | do |
3456 | case $ac_config_target in |
5059 | case $ac_config_target in |
3457 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
5060 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
3458 | |
5061 | |
3459 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
5062 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
3460 | esac |
5063 | esac |
3461 | done |
5064 | done |
3462 | |
5065 | |
3463 | |
5066 | |
3464 | # If the user did not use the arguments to specify the items to instantiate, |
5067 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
3475 | # Hook for its removal unless debugging. |
5078 | # Hook for its removal unless debugging. |
3476 | # Note that there is a small window in which the directory will not be cleaned: |
5079 | # Note that there is a small window in which the directory will not be cleaned: |
3477 | # after its creation but before its name has been assigned to `$tmp'. |
5080 | # after its creation but before its name has been assigned to `$tmp'. |
3478 | $debug || |
5081 | $debug || |
3479 | { |
5082 | { |
3480 | tmp= |
5083 | tmp= ac_tmp= |
3481 | trap 'exit_status=$? |
5084 | trap 'exit_status=$? |
|
|
5085 | : "${ac_tmp:=$tmp}" |
3482 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
5086 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
3483 | ' 0 |
5087 | ' 0 |
3484 | trap 'as_fn_exit 1' 1 2 13 15 |
5088 | trap 'as_fn_exit 1' 1 2 13 15 |
3485 | } |
5089 | } |
3486 | # Create a (secure) tmp directory for tmp files. |
5090 | # Create a (secure) tmp directory for tmp files. |
3487 | |
5091 | |
3488 | { |
5092 | { |
3489 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5093 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3490 | test -n "$tmp" && test -d "$tmp" |
5094 | test -d "$tmp" |
3491 | } || |
5095 | } || |
3492 | { |
5096 | { |
3493 | tmp=./conf$$-$RANDOM |
5097 | tmp=./conf$$-$RANDOM |
3494 | (umask 077 && mkdir "$tmp") |
5098 | (umask 077 && mkdir "$tmp") |
3495 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
5099 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
5100 | ac_tmp=$tmp |
3496 | |
5101 | |
3497 | # Set up the scripts for CONFIG_HEADERS section. |
5102 | # Set up the scripts for CONFIG_HEADERS section. |
3498 | # No need to generate them if there are no CONFIG_HEADERS. |
5103 | # No need to generate them if there are no CONFIG_HEADERS. |
3499 | # This happens for instance with `./config.status Makefile'. |
5104 | # This happens for instance with `./config.status Makefile'. |
3500 | if test -n "$CONFIG_HEADERS"; then |
5105 | if test -n "$CONFIG_HEADERS"; then |
3501 | cat >"$tmp/defines.awk" <<\_ACAWK || |
5106 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
3502 | BEGIN { |
5107 | BEGIN { |
3503 | _ACEOF |
5108 | _ACEOF |
3504 | |
5109 | |
3505 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
5110 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
3506 | # here-document in config.status, that substitutes the proper values into |
5111 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
3508 | |
5113 | |
3509 | # Create a delimiter string that does not exist in confdefs.h, to ease |
5114 | # Create a delimiter string that does not exist in confdefs.h, to ease |
3510 | # handling of long lines. |
5115 | # handling of long lines. |
3511 | ac_delim='%!_!# ' |
5116 | ac_delim='%!_!# ' |
3512 | for ac_last_try in false false :; do |
5117 | for ac_last_try in false false :; do |
3513 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
5118 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
3514 | if test -z "$ac_t"; then |
5119 | if test -z "$ac_tt"; then |
3515 | break |
5120 | break |
3516 | elif $ac_last_try; then |
5121 | elif $ac_last_try; then |
3517 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5122 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
3518 | else |
5123 | else |
3519 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5124 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3520 | fi |
5125 | fi |
3521 | done |
5126 | done |
3522 | |
5127 | |
… | |
… | |
3597 | } |
5202 | } |
3598 | { print } |
5203 | { print } |
3599 | _ACAWK |
5204 | _ACAWK |
3600 | _ACEOF |
5205 | _ACEOF |
3601 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5206 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3602 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
5207 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
3603 | fi # test -n "$CONFIG_HEADERS" |
5208 | fi # test -n "$CONFIG_HEADERS" |
3604 | |
5209 | |
3605 | |
5210 | |
3606 | eval set X " :H $CONFIG_HEADERS " |
5211 | eval set X " :H $CONFIG_HEADERS " |
3607 | shift |
5212 | shift |
… | |
… | |
3610 | case $ac_tag in |
5215 | case $ac_tag in |
3611 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5216 | :[FHLC]) ac_mode=$ac_tag; continue;; |
3612 | esac |
5217 | esac |
3613 | case $ac_mode$ac_tag in |
5218 | case $ac_mode$ac_tag in |
3614 | :[FHL]*:*);; |
5219 | :[FHL]*:*);; |
3615 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
5220 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
3616 | :[FH]-) ac_tag=-:-;; |
5221 | :[FH]-) ac_tag=-:-;; |
3617 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5222 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3618 | esac |
5223 | esac |
3619 | ac_save_IFS=$IFS |
5224 | ac_save_IFS=$IFS |
3620 | IFS=: |
5225 | IFS=: |
… | |
… | |
3629 | :[FH]) |
5234 | :[FH]) |
3630 | ac_file_inputs= |
5235 | ac_file_inputs= |
3631 | for ac_f |
5236 | for ac_f |
3632 | do |
5237 | do |
3633 | case $ac_f in |
5238 | case $ac_f in |
3634 | -) ac_f="$tmp/stdin";; |
5239 | -) ac_f="$ac_tmp/stdin";; |
3635 | *) # Look for the file first in the build tree, then in the source tree |
5240 | *) # Look for the file first in the build tree, then in the source tree |
3636 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5241 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
3637 | # because $ac_f cannot contain `:'. |
5242 | # because $ac_f cannot contain `:'. |
3638 | test -f "$ac_f" || |
5243 | test -f "$ac_f" || |
3639 | case $ac_f in |
5244 | case $ac_f in |
3640 | [\\/$]*) false;; |
5245 | [\\/$]*) false;; |
3641 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5246 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3642 | esac || |
5247 | esac || |
3643 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
5248 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
3644 | esac |
5249 | esac |
3645 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5250 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3646 | as_fn_append ac_file_inputs " '$ac_f'" |
5251 | as_fn_append ac_file_inputs " '$ac_f'" |
3647 | done |
5252 | done |
3648 | |
5253 | |
… | |
… | |
3664 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5269 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
3665 | *) ac_sed_conf_input=$configure_input;; |
5270 | *) ac_sed_conf_input=$configure_input;; |
3666 | esac |
5271 | esac |
3667 | |
5272 | |
3668 | case $ac_tag in |
5273 | case $ac_tag in |
3669 | *:-:* | *:-) cat >"$tmp/stdin" \ |
5274 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
3670 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
5275 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
3671 | esac |
5276 | esac |
3672 | ;; |
5277 | ;; |
3673 | esac |
5278 | esac |
3674 | |
5279 | |
3675 | ac_dir=`$as_dirname -- "$ac_file" || |
5280 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
3738 | # CONFIG_HEADER |
5343 | # CONFIG_HEADER |
3739 | # |
5344 | # |
3740 | if test x"$ac_file" != x-; then |
5345 | if test x"$ac_file" != x-; then |
3741 | { |
5346 | { |
3742 | $as_echo "/* $configure_input */" \ |
5347 | $as_echo "/* $configure_input */" \ |
3743 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
5348 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
3744 | } >"$tmp/config.h" \ |
5349 | } >"$ac_tmp/config.h" \ |
3745 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
5350 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3746 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
5351 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
3747 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5352 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
3748 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5353 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
3749 | else |
5354 | else |
3750 | rm -f "$ac_file" |
5355 | rm -f "$ac_file" |
3751 | mv "$tmp/config.h" "$ac_file" \ |
5356 | mv "$ac_tmp/config.h" "$ac_file" \ |
3752 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
5357 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3753 | fi |
5358 | fi |
3754 | else |
5359 | else |
3755 | $as_echo "/* $configure_input */" \ |
5360 | $as_echo "/* $configure_input */" \ |
3756 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
5361 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
3757 | || as_fn_error "could not create -" "$LINENO" 5 |
5362 | || as_fn_error $? "could not create -" "$LINENO" 5 |
3758 | fi |
5363 | fi |
3759 | ;; |
5364 | ;; |
3760 | |
5365 | |
3761 | |
5366 | |
3762 | esac |
5367 | esac |
… | |
… | |
3767 | as_fn_exit 0 |
5372 | as_fn_exit 0 |
3768 | _ACEOF |
5373 | _ACEOF |
3769 | ac_clean_files=$ac_clean_files_save |
5374 | ac_clean_files=$ac_clean_files_save |
3770 | |
5375 | |
3771 | test $ac_write_fail = 0 || |
5376 | test $ac_write_fail = 0 || |
3772 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
5377 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3773 | |
5378 | |
3774 | |
5379 | |
3775 | # configure is writing to config.log, and then calls config.status. |
5380 | # configure is writing to config.log, and then calls config.status. |
3776 | # config.status does its own redirection, appending to config.log. |
5381 | # config.status does its own redirection, appending to config.log. |
3777 | # Unfortunately, on DOS this fails, as config.log is still kept open |
5382 | # Unfortunately, on DOS this fails, as config.log is still kept open |
… | |
… | |
3788 | exec 5>/dev/null |
5393 | exec 5>/dev/null |
3789 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
5394 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3790 | exec 5>>config.log |
5395 | exec 5>>config.log |
3791 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5396 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3792 | # would make configure fail if this is the last instruction. |
5397 | # would make configure fail if this is the last instruction. |
3793 | $ac_cs_success || as_fn_exit $? |
5398 | $ac_cs_success || as_fn_exit 1 |
3794 | fi |
5399 | fi |
3795 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
5400 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
3796 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
5401 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
3797 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
5402 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
3798 | fi |
5403 | fi |