Mercurial > dwindows
comparison configure @ 80:5e4730c42014
Added dw-config script to solve build problems.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 27 Mar 2002 10:33:44 +0000 |
parents | 67a643a734d9 |
children | 7d2108cbcd3e |
comparison
equal
deleted
inserted
replaced
79:8082cb0e7c2e | 80:5e4730c42014 |
---|---|
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 Autoconf 2.49e. | 3 # Generated by Autoconf 2.52. |
4 # | 4 # |
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6 # Free Software Foundation, Inc. | 6 # Free Software Foundation, Inc. |
7 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
9 | |
10 # Avoid depending upon Character Ranges. | |
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
14 as_cr_digits='0123456789' | |
15 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
16 | |
17 # Sed expression to map a string onto a valid variable name. | |
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
19 | |
20 # Sed expression to map a string onto a valid CPP name. | |
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
9 | 22 |
10 # Be Bourne compatible | 23 # Be Bourne compatible |
11 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
12 emulate sh | 25 emulate sh |
13 NULLCMD=: | 26 NULLCMD=: |
88 | 101 |
89 # Maximum number of lines to put in a shell here document. | 102 # Maximum number of lines to put in a shell here document. |
90 # This variable seems obsolete. It should probably be removed, and | 103 # This variable seems obsolete. It should probably be removed, and |
91 # only ac_max_sed_lines should be used. | 104 # only ac_max_sed_lines should be used. |
92 : ${ac_max_here_lines=38} | 105 : ${ac_max_here_lines=38} |
93 | |
94 # Avoid depending upon Character Ranges. | |
95 ac_cr_az='abcdefghijklmnopqrstuvwxyz' | |
96 ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
97 ac_cr_09='0123456789' | |
98 ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 | |
99 | |
100 # Sed expression to map a string onto a valid sh and CPP variable names. | |
101 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" | |
102 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" | |
103 | 106 |
104 ac_unique_file="winmain.c" | 107 ac_unique_file="winmain.c" |
105 | 108 |
106 # Initialize some variables set by options. | 109 # Initialize some variables set by options. |
107 ac_init_help= | 110 ac_init_help= |
191 datadir=$ac_optarg ;; | 194 datadir=$ac_optarg ;; |
192 | 195 |
193 -disable-* | --disable-*) | 196 -disable-* | --disable-*) |
194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 197 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
195 # Reject names that are not valid shell variable names. | 198 # Reject names that are not valid shell variable names. |
196 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
198 { (exit 1); exit 1; }; } | 201 { (exit 1); exit 1; }; } |
199 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 202 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
200 eval "enable_$ac_feature=no" ;; | 203 eval "enable_$ac_feature=no" ;; |
201 | 204 |
202 -enable-* | --enable-*) | 205 -enable-* | --enable-*) |
203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 206 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
204 # Reject names that are not valid shell variable names. | 207 # Reject names that are not valid shell variable names. |
205 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
207 { (exit 1); exit 1; }; } | 210 { (exit 1); exit 1; }; } |
208 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 211 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
209 case $ac_option in | 212 case $ac_option in |
210 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 213 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
382 ac_init_version=: ;; | 385 ac_init_version=: ;; |
383 | 386 |
384 -with-* | --with-*) | 387 -with-* | --with-*) |
385 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 388 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
386 # Reject names that are not valid shell variable names. | 389 # Reject names that are not valid shell variable names. |
387 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
388 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 391 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
389 { (exit 1); exit 1; }; } | 392 { (exit 1); exit 1; }; } |
390 ac_package=`echo $ac_package| sed 's/-/_/g'` | 393 ac_package=`echo $ac_package| sed 's/-/_/g'` |
391 case $ac_option in | 394 case $ac_option in |
392 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 395 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
395 eval "with_$ac_package='$ac_optarg'" ;; | 398 eval "with_$ac_package='$ac_optarg'" ;; |
396 | 399 |
397 -without-* | --without-*) | 400 -without-* | --without-*) |
398 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 401 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
399 # Reject names that are not valid shell variable names. | 402 # Reject names that are not valid shell variable names. |
400 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
401 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 404 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
402 { (exit 1); exit 1; }; } | 405 { (exit 1); exit 1; }; } |
403 ac_package=`echo $ac_package | sed 's/-/_/g'` | 406 ac_package=`echo $ac_package | sed 's/-/_/g'` |
404 eval "with_$ac_package=no" ;; | 407 eval "with_$ac_package=no" ;; |
405 | 408 |
427 ;; | 430 ;; |
428 | 431 |
429 *=*) | 432 *=*) |
430 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 433 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
431 # Reject names that are not valid shell variable names. | 434 # Reject names that are not valid shell variable names. |
432 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && | 435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
433 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
434 { (exit 1); exit 1; }; } | 437 { (exit 1); exit 1; }; } |
435 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 438 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
436 eval "$ac_envvar='$ac_optarg'" | 439 eval "$ac_envvar='$ac_optarg'" |
437 export $ac_envvar ;; | 440 export $ac_envvar ;; |
438 | 441 |
439 *) | 442 *) |
440 # FIXME: should be removed in autoconf 3.0. | 443 # FIXME: should be removed in autoconf 3.0. |
441 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
442 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && | 445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
443 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
444 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
445 ;; | 448 ;; |
446 | 449 |
447 esac | 450 esac |
452 { echo "$as_me: error: missing argument to $ac_option" >&2 | 455 { echo "$as_me: error: missing argument to $ac_option" >&2 |
453 { (exit 1); exit 1; }; } | 456 { (exit 1); exit 1; }; } |
454 fi | 457 fi |
455 | 458 |
456 # Be sure to have absolute paths. | 459 # Be sure to have absolute paths. |
460 for ac_var in exec_prefix prefix | |
461 do | |
462 eval ac_val=$`echo $ac_var` | |
463 case $ac_val in | |
464 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | |
466 { (exit 1); exit 1; }; };; | |
467 esac | |
468 done | |
469 | |
470 # Be sure to have absolute paths. | |
457 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 471 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
458 localstatedir libdir includedir oldincludedir infodir mandir \ | 472 localstatedir libdir includedir oldincludedir infodir mandir |
459 exec_prefix prefix | |
460 do | 473 do |
461 eval ac_val=$`echo $ac_var` | 474 eval ac_val=$`echo $ac_var` |
462 case $ac_val in | 475 case $ac_val in |
463 [\\/$]* | ?:[\\/]* ) ;; | 476 [\\/$]* | ?:[\\/]* ) ;; |
464 NONE ) ;; | |
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | 477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
466 { (exit 1); exit 1; }; };; | 478 { (exit 1); exit 1; }; };; |
467 esac | 479 esac |
468 done | 480 done |
469 | 481 |
535 ac_cv_env_CFLAGS_value=$CFLAGS | 547 ac_cv_env_CFLAGS_value=$CFLAGS |
536 ac_env_LDFLAGS_set=${LDFLAGS+set} | 548 ac_env_LDFLAGS_set=${LDFLAGS+set} |
537 ac_env_LDFLAGS_value=$LDFLAGS | 549 ac_env_LDFLAGS_value=$LDFLAGS |
538 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 550 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
539 ac_cv_env_LDFLAGS_value=$LDFLAGS | 551 ac_cv_env_LDFLAGS_value=$LDFLAGS |
552 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
553 ac_env_CPPFLAGS_value=$CPPFLAGS | |
554 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
555 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
540 ac_env_CPP_set=${CPP+set} | 556 ac_env_CPP_set=${CPP+set} |
541 ac_env_CPP_value=$CPP | 557 ac_env_CPP_value=$CPP |
542 ac_cv_env_CPP_set=${CPP+set} | 558 ac_cv_env_CPP_set=${CPP+set} |
543 ac_cv_env_CPP_value=$CPP | 559 ac_cv_env_CPP_value=$CPP |
544 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
545 ac_env_CPPFLAGS_value=$CPPFLAGS | |
546 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
547 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
548 | 560 |
549 # | 561 # |
550 # Report the --help message. | 562 # Report the --help message. |
551 # | 563 # |
552 if test "$ac_init_help" = "long"; then | 564 if test "$ac_init_help" = "long"; then |
632 Some influential environment variables: | 644 Some influential environment variables: |
633 CC C compiler command | 645 CC C compiler command |
634 CFLAGS C compiler flags | 646 CFLAGS C compiler flags |
635 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 647 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
636 nonstandard directory <lib dir> | 648 nonstandard directory <lib dir> |
637 CPP C preprocessor | |
638 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 649 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
639 headers in a nonstandard directory <include dir> | 650 headers in a nonstandard directory <include dir> |
651 CPP C preprocessor | |
640 | 652 |
641 Use these variables to override the choices made by `configure' or to help | 653 Use these variables to override the choices made by `configure' or to help |
642 it to find libraries and programs with nonstandard names/locations. | 654 it to find libraries and programs with nonstandard names/locations. |
643 | 655 |
644 EOF | 656 EOF |
695 cat >&5 <<EOF | 707 cat >&5 <<EOF |
696 This file contains any messages produced by compilers while | 708 This file contains any messages produced by compilers while |
697 running configure, to aid debugging if configure makes a mistake. | 709 running configure, to aid debugging if configure makes a mistake. |
698 | 710 |
699 It was created by $as_me, which was | 711 It was created by $as_me, which was |
700 generated by GNU Autoconf 2.49e. Invocation command line was | 712 generated by GNU Autoconf 2.52. Invocation command line was |
701 | 713 |
702 $ $0 $@ | 714 $ $0 $@ |
703 | 715 |
704 EOF | 716 EOF |
705 { | 717 { |
774 (set) 2>&1 | | 786 (set) 2>&1 | |
775 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 787 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
776 *ac_space=\ *) | 788 *ac_space=\ *) |
777 sed -n \ | 789 sed -n \ |
778 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 790 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
779 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
780 ;; | 792 ;; |
781 *) | 793 *) |
782 sed -n \ | 794 sed -n \ |
783 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 795 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
784 ;; | 796 ;; |
785 esac; | 797 esac; |
786 } >&5 | 798 } >&5 |
787 sed "/^$/d" confdefs.h >conftest.log | 799 sed "/^$/d" confdefs.h >conftest.log |
788 if test -s conftest.log; then | 800 if test -s conftest.log; then |
799 echo "$as_me: exit $exit_status" >&5 | 811 echo "$as_me: exit $exit_status" >&5 |
800 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | 812 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
801 exit $exit_status | 813 exit $exit_status |
802 ' 0 | 814 ' 0 |
803 for ac_signal in 1 2 13 15; do | 815 for ac_signal in 1 2 13 15; do |
804 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal | 816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
805 done | 817 done |
806 ac_signal=0 | 818 ac_signal=0 |
807 | 819 |
808 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 820 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
809 rm -rf conftest* confdefs.h | 821 rm -rf conftest* confdefs.h |
819 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 831 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
820 fi | 832 fi |
821 fi | 833 fi |
822 for ac_site_file in $CONFIG_SITE; do | 834 for ac_site_file in $CONFIG_SITE; do |
823 if test -r "$ac_site_file"; then | 835 if test -r "$ac_site_file"; then |
824 { echo "$as_me:824: loading site script $ac_site_file" >&5 | 836 { echo "$as_me:836: loading site script $ac_site_file" >&5 |
825 echo "$as_me: loading site script $ac_site_file" >&6;} | 837 echo "$as_me: loading site script $ac_site_file" >&6;} |
826 cat "$ac_site_file" >&5 | 838 cat "$ac_site_file" >&5 |
827 . "$ac_site_file" | 839 . "$ac_site_file" |
828 fi | 840 fi |
829 done | 841 done |
830 | 842 |
831 if test -r "$cache_file"; then | 843 if test -r "$cache_file"; then |
832 # Some versions of bash will fail to source /dev/null (special | 844 # Some versions of bash will fail to source /dev/null (special |
833 # files actually), so we avoid doing that. | 845 # files actually), so we avoid doing that. |
834 if test -f "$cache_file"; then | 846 if test -f "$cache_file"; then |
835 { echo "$as_me:835: loading cache $cache_file" >&5 | 847 { echo "$as_me:847: loading cache $cache_file" >&5 |
836 echo "$as_me: loading cache $cache_file" >&6;} | 848 echo "$as_me: loading cache $cache_file" >&6;} |
837 case $cache_file in | 849 case $cache_file in |
838 [\\/]* | ?:[\\/]* ) . $cache_file;; | 850 [\\/]* | ?:[\\/]* ) . $cache_file;; |
839 *) . ./$cache_file;; | 851 *) . ./$cache_file;; |
840 esac | 852 esac |
841 fi | 853 fi |
842 else | 854 else |
843 { echo "$as_me:843: creating cache $cache_file" >&5 | 855 { echo "$as_me:855: creating cache $cache_file" >&5 |
844 echo "$as_me: creating cache $cache_file" >&6;} | 856 echo "$as_me: creating cache $cache_file" >&6;} |
845 >$cache_file | 857 >$cache_file |
846 fi | 858 fi |
847 | 859 |
848 # Check that the precious variables saved in the cache have kept the same | 860 # Check that the precious variables saved in the cache have kept the same |
849 # value. | 861 # value. |
850 ac_suggest_removing_cache=false | 862 ac_cache_corrupted=false |
851 for ac_var in `(set) 2>&1 | | 863 for ac_var in `(set) 2>&1 | |
852 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 864 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
853 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 865 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
854 eval ac_new_set=\$ac_env_${ac_var}_set | 866 eval ac_new_set=\$ac_env_${ac_var}_set |
855 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 867 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
856 eval ac_new_val="\$ac_env_${ac_var}_value" | 868 eval ac_new_val="\$ac_env_${ac_var}_value" |
857 case $ac_old_set,$ac_new_set in | 869 case $ac_old_set,$ac_new_set in |
858 set,) | 870 set,) |
859 { echo "$as_me:859: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 871 { echo "$as_me:871: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
860 echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 872 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
861 ac_suggest_removing_cache=: ;; | 873 ac_cache_corrupted=: ;; |
862 ,set) | 874 ,set) |
863 { echo "$as_me:863: WARNING: \`$ac_var' was not set in the previous run" >&5 | 875 { echo "$as_me:875: error: \`$ac_var' was not set in the previous run" >&5 |
864 echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} | 876 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
865 ac_suggest_removing_cache=: ;; | 877 ac_cache_corrupted=: ;; |
866 ,);; | 878 ,);; |
867 *) | 879 *) |
868 if test "x$ac_old_val" != "x$ac_new_val"; then | 880 if test "x$ac_old_val" != "x$ac_new_val"; then |
869 { echo "$as_me:869: WARNING: \`$ac_var' has changed since the previous run:" >&5 | 881 { echo "$as_me:881: error: \`$ac_var' has changed since the previous run:" >&5 |
870 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} | 882 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
871 { echo "$as_me:871: WARNING: former value: $ac_old_val" >&5 | 883 { echo "$as_me:883: former value: $ac_old_val" >&5 |
872 echo "$as_me: WARNING: former value: $ac_old_val" >&2;} | 884 echo "$as_me: former value: $ac_old_val" >&2;} |
873 { echo "$as_me:873: WARNING: current value: $ac_new_val" >&5 | 885 { echo "$as_me:885: current value: $ac_new_val" >&5 |
874 echo "$as_me: WARNING: current value: $ac_new_val" >&2;} | 886 echo "$as_me: current value: $ac_new_val" >&2;} |
875 ac_suggest_removing_cache=: | 887 ac_cache_corrupted=: |
876 fi;; | 888 fi;; |
877 esac | 889 esac |
890 # Pass precious variables to config.status. It doesn't matter if | |
891 # we pass some twice (in addition to the command line arguments). | |
892 if test "$ac_new_set" = set; then | |
893 case $ac_new_val in | |
894 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
895 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` | |
896 ac_configure_args="$ac_configure_args '$ac_arg'" | |
897 ;; | |
898 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" | |
899 ;; | |
900 esac | |
901 fi | |
878 done | 902 done |
879 if $ac_suggest_removing_cache; then | 903 if $ac_cache_corrupted; then |
880 { echo "$as_me:880: WARNING: changes in the environment can compromise the build" >&5 | 904 { echo "$as_me:904: error: changes in the environment can compromise the build" >&5 |
881 echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} | 905 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
882 { echo "$as_me:882: WARNING: consider removing $cache_file and starting over" >&5 | 906 { { echo "$as_me:906: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
883 echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} | 907 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
908 { (exit 1); exit 1; }; } | |
884 fi | 909 fi |
885 | 910 |
886 ac_ext=c | 911 ac_ext=c |
887 ac_cpp='$CPP $CPPFLAGS' | 912 ac_cpp='$CPP $CPPFLAGS' |
888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
896 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 921 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
897 esac | 922 esac |
898 echo "#! $SHELL" >conftest.sh | 923 echo "#! $SHELL" >conftest.sh |
899 echo "exit 0" >>conftest.sh | 924 echo "exit 0" >>conftest.sh |
900 chmod +x conftest.sh | 925 chmod +x conftest.sh |
901 if { (echo "$as_me:901: PATH=\".;.\"; conftest.sh") >&5 | 926 if { (echo "$as_me:926: PATH=\".;.\"; conftest.sh") >&5 |
902 (PATH=".;."; conftest.sh) 2>&5 | 927 (PATH=".;."; conftest.sh) 2>&5 |
903 ac_status=$? | 928 ac_status=$? |
904 echo "$as_me:904: \$? = $ac_status" >&5 | 929 echo "$as_me:929: \$? = $ac_status" >&5 |
905 (exit $ac_status); }; then | 930 (exit $ac_status); }; then |
906 ac_path_separator=';' | 931 ac_path_separator=';' |
907 else | 932 else |
908 ac_path_separator=: | 933 ac_path_separator=: |
909 fi | 934 fi |
910 PATH_SEPARATOR="$ac_path_separator" | 935 PATH_SEPARATOR="$ac_path_separator" |
911 rm -f conftest.sh | 936 rm -f conftest.sh |
912 | 937 |
913 ac_config_headers="$ac_config_headers config.h" | 938 ac_config_headers="$ac_config_headers config.h" |
939 | |
940 DW_MAJOR_VERSION=0 | |
941 DW_MINOR_VERSION=5 | |
942 DW_SUB_VERSION=0 | |
914 | 943 |
915 INCLUDES="-I." | 944 INCLUDES="-I." |
916 | 945 |
917 ac_ext=c | 946 ac_ext=c |
918 ac_cpp='$CPP $CPPFLAGS' | 947 ac_cpp='$CPP $CPPFLAGS' |
920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
921 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 950 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
922 if test -n "$ac_tool_prefix"; then | 951 if test -n "$ac_tool_prefix"; then |
923 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
924 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 953 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
925 echo "$as_me:925: checking for $ac_word" >&5 | 954 echo "$as_me:954: checking for $ac_word" >&5 |
926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
927 if test "${ac_cv_prog_CC+set}" = set; then | 956 if test "${ac_cv_prog_CC+set}" = set; then |
928 echo $ECHO_N "(cached) $ECHO_C" >&6 | 957 echo $ECHO_N "(cached) $ECHO_C" >&6 |
929 else | 958 else |
930 if test -n "$CC"; then | 959 if test -n "$CC"; then |
935 for ac_dir in $ac_dummy; do | 964 for ac_dir in $ac_dummy; do |
936 IFS=$ac_save_IFS | 965 IFS=$ac_save_IFS |
937 test -z "$ac_dir" && ac_dir=. | 966 test -z "$ac_dir" && ac_dir=. |
938 $as_executable_p "$ac_dir/$ac_word" || continue | 967 $as_executable_p "$ac_dir/$ac_word" || continue |
939 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 968 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
940 echo "$as_me:940: found $ac_dir/$ac_word" >&5 | 969 echo "$as_me:969: found $ac_dir/$ac_word" >&5 |
941 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
942 { (eval echo "$as_me:942: \"$ac_try\"") >&5 | |
943 (eval $ac_try) 2>&5 | |
944 ac_status=$? | |
945 echo "$as_me:945: \$? = $ac_status" >&5 | |
946 (exit $ac_status); }; } | |
947 break | 970 break |
948 done | 971 done |
949 | 972 |
950 fi | 973 fi |
951 fi | 974 fi |
952 CC=$ac_cv_prog_CC | 975 CC=$ac_cv_prog_CC |
953 if test -n "$CC"; then | 976 if test -n "$CC"; then |
954 echo "$as_me:954: result: $CC" >&5 | 977 echo "$as_me:977: result: $CC" >&5 |
955 echo "${ECHO_T}$CC" >&6 | 978 echo "${ECHO_T}$CC" >&6 |
956 else | 979 else |
957 echo "$as_me:957: result: no" >&5 | 980 echo "$as_me:980: result: no" >&5 |
958 echo "${ECHO_T}no" >&6 | 981 echo "${ECHO_T}no" >&6 |
959 fi | 982 fi |
960 | 983 |
961 fi | 984 fi |
962 if test -z "$ac_cv_prog_CC"; then | 985 if test -z "$ac_cv_prog_CC"; then |
963 ac_ct_CC=$CC | 986 ac_ct_CC=$CC |
964 # Extract the first word of "gcc", so it can be a program name with args. | 987 # Extract the first word of "gcc", so it can be a program name with args. |
965 set dummy gcc; ac_word=$2 | 988 set dummy gcc; ac_word=$2 |
966 echo "$as_me:966: checking for $ac_word" >&5 | 989 echo "$as_me:989: checking for $ac_word" >&5 |
967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
969 echo $ECHO_N "(cached) $ECHO_C" >&6 | 992 echo $ECHO_N "(cached) $ECHO_C" >&6 |
970 else | 993 else |
971 if test -n "$ac_ct_CC"; then | 994 if test -n "$ac_ct_CC"; then |
976 for ac_dir in $ac_dummy; do | 999 for ac_dir in $ac_dummy; do |
977 IFS=$ac_save_IFS | 1000 IFS=$ac_save_IFS |
978 test -z "$ac_dir" && ac_dir=. | 1001 test -z "$ac_dir" && ac_dir=. |
979 $as_executable_p "$ac_dir/$ac_word" || continue | 1002 $as_executable_p "$ac_dir/$ac_word" || continue |
980 ac_cv_prog_ac_ct_CC="gcc" | 1003 ac_cv_prog_ac_ct_CC="gcc" |
981 echo "$as_me:981: found $ac_dir/$ac_word" >&5 | 1004 echo "$as_me:1004: found $ac_dir/$ac_word" >&5 |
982 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
983 { (eval echo "$as_me:983: \"$ac_try\"") >&5 | |
984 (eval $ac_try) 2>&5 | |
985 ac_status=$? | |
986 echo "$as_me:986: \$? = $ac_status" >&5 | |
987 (exit $ac_status); }; } | |
988 break | 1005 break |
989 done | 1006 done |
990 | 1007 |
991 fi | 1008 fi |
992 fi | 1009 fi |
993 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1010 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
994 if test -n "$ac_ct_CC"; then | 1011 if test -n "$ac_ct_CC"; then |
995 echo "$as_me:995: result: $ac_ct_CC" >&5 | 1012 echo "$as_me:1012: result: $ac_ct_CC" >&5 |
996 echo "${ECHO_T}$ac_ct_CC" >&6 | 1013 echo "${ECHO_T}$ac_ct_CC" >&6 |
997 else | 1014 else |
998 echo "$as_me:998: result: no" >&5 | 1015 echo "$as_me:1015: result: no" >&5 |
999 echo "${ECHO_T}no" >&6 | 1016 echo "${ECHO_T}no" >&6 |
1000 fi | 1017 fi |
1001 | 1018 |
1002 CC=$ac_ct_CC | 1019 CC=$ac_ct_CC |
1003 else | 1020 else |
1006 | 1023 |
1007 if test -z "$CC"; then | 1024 if test -z "$CC"; then |
1008 if test -n "$ac_tool_prefix"; then | 1025 if test -n "$ac_tool_prefix"; then |
1009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1010 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1027 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1011 echo "$as_me:1011: checking for $ac_word" >&5 | 1028 echo "$as_me:1028: checking for $ac_word" >&5 |
1012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1013 if test "${ac_cv_prog_CC+set}" = set; then | 1030 if test "${ac_cv_prog_CC+set}" = set; then |
1014 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1031 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1015 else | 1032 else |
1016 if test -n "$CC"; then | 1033 if test -n "$CC"; then |
1021 for ac_dir in $ac_dummy; do | 1038 for ac_dir in $ac_dummy; do |
1022 IFS=$ac_save_IFS | 1039 IFS=$ac_save_IFS |
1023 test -z "$ac_dir" && ac_dir=. | 1040 test -z "$ac_dir" && ac_dir=. |
1024 $as_executable_p "$ac_dir/$ac_word" || continue | 1041 $as_executable_p "$ac_dir/$ac_word" || continue |
1025 ac_cv_prog_CC="${ac_tool_prefix}cc" | 1042 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1026 echo "$as_me:1026: found $ac_dir/$ac_word" >&5 | 1043 echo "$as_me:1043: found $ac_dir/$ac_word" >&5 |
1027 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1028 { (eval echo "$as_me:1028: \"$ac_try\"") >&5 | |
1029 (eval $ac_try) 2>&5 | |
1030 ac_status=$? | |
1031 echo "$as_me:1031: \$? = $ac_status" >&5 | |
1032 (exit $ac_status); }; } | |
1033 break | 1044 break |
1034 done | 1045 done |
1035 | 1046 |
1036 fi | 1047 fi |
1037 fi | 1048 fi |
1038 CC=$ac_cv_prog_CC | 1049 CC=$ac_cv_prog_CC |
1039 if test -n "$CC"; then | 1050 if test -n "$CC"; then |
1040 echo "$as_me:1040: result: $CC" >&5 | 1051 echo "$as_me:1051: result: $CC" >&5 |
1041 echo "${ECHO_T}$CC" >&6 | 1052 echo "${ECHO_T}$CC" >&6 |
1042 else | 1053 else |
1043 echo "$as_me:1043: result: no" >&5 | 1054 echo "$as_me:1054: result: no" >&5 |
1044 echo "${ECHO_T}no" >&6 | 1055 echo "${ECHO_T}no" >&6 |
1045 fi | 1056 fi |
1046 | 1057 |
1047 fi | 1058 fi |
1048 if test -z "$ac_cv_prog_CC"; then | 1059 if test -z "$ac_cv_prog_CC"; then |
1049 ac_ct_CC=$CC | 1060 ac_ct_CC=$CC |
1050 # Extract the first word of "cc", so it can be a program name with args. | 1061 # Extract the first word of "cc", so it can be a program name with args. |
1051 set dummy cc; ac_word=$2 | 1062 set dummy cc; ac_word=$2 |
1052 echo "$as_me:1052: checking for $ac_word" >&5 | 1063 echo "$as_me:1063: checking for $ac_word" >&5 |
1053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1054 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1055 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1066 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1056 else | 1067 else |
1057 if test -n "$ac_ct_CC"; then | 1068 if test -n "$ac_ct_CC"; then |
1062 for ac_dir in $ac_dummy; do | 1073 for ac_dir in $ac_dummy; do |
1063 IFS=$ac_save_IFS | 1074 IFS=$ac_save_IFS |
1064 test -z "$ac_dir" && ac_dir=. | 1075 test -z "$ac_dir" && ac_dir=. |
1065 $as_executable_p "$ac_dir/$ac_word" || continue | 1076 $as_executable_p "$ac_dir/$ac_word" || continue |
1066 ac_cv_prog_ac_ct_CC="cc" | 1077 ac_cv_prog_ac_ct_CC="cc" |
1067 echo "$as_me:1067: found $ac_dir/$ac_word" >&5 | 1078 echo "$as_me:1078: found $ac_dir/$ac_word" >&5 |
1068 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1069 { (eval echo "$as_me:1069: \"$ac_try\"") >&5 | |
1070 (eval $ac_try) 2>&5 | |
1071 ac_status=$? | |
1072 echo "$as_me:1072: \$? = $ac_status" >&5 | |
1073 (exit $ac_status); }; } | |
1074 break | 1079 break |
1075 done | 1080 done |
1076 | 1081 |
1077 fi | 1082 fi |
1078 fi | 1083 fi |
1079 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1084 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1080 if test -n "$ac_ct_CC"; then | 1085 if test -n "$ac_ct_CC"; then |
1081 echo "$as_me:1081: result: $ac_ct_CC" >&5 | 1086 echo "$as_me:1086: result: $ac_ct_CC" >&5 |
1082 echo "${ECHO_T}$ac_ct_CC" >&6 | 1087 echo "${ECHO_T}$ac_ct_CC" >&6 |
1083 else | 1088 else |
1084 echo "$as_me:1084: result: no" >&5 | 1089 echo "$as_me:1089: result: no" >&5 |
1085 echo "${ECHO_T}no" >&6 | 1090 echo "${ECHO_T}no" >&6 |
1086 fi | 1091 fi |
1087 | 1092 |
1088 CC=$ac_ct_CC | 1093 CC=$ac_ct_CC |
1089 else | 1094 else |
1092 | 1097 |
1093 fi | 1098 fi |
1094 if test -z "$CC"; then | 1099 if test -z "$CC"; then |
1095 # Extract the first word of "cc", so it can be a program name with args. | 1100 # Extract the first word of "cc", so it can be a program name with args. |
1096 set dummy cc; ac_word=$2 | 1101 set dummy cc; ac_word=$2 |
1097 echo "$as_me:1097: checking for $ac_word" >&5 | 1102 echo "$as_me:1102: checking for $ac_word" >&5 |
1098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1099 if test "${ac_cv_prog_CC+set}" = set; then | 1104 if test "${ac_cv_prog_CC+set}" = set; then |
1100 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1105 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1101 else | 1106 else |
1102 if test -n "$CC"; then | 1107 if test -n "$CC"; then |
1112 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1117 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1113 ac_prog_rejected=yes | 1118 ac_prog_rejected=yes |
1114 continue | 1119 continue |
1115 fi | 1120 fi |
1116 ac_cv_prog_CC="cc" | 1121 ac_cv_prog_CC="cc" |
1117 echo "$as_me:1117: found $ac_dir/$ac_word" >&5 | 1122 echo "$as_me:1122: found $ac_dir/$ac_word" >&5 |
1118 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1119 { (eval echo "$as_me:1119: \"$ac_try\"") >&5 | |
1120 (eval $ac_try) 2>&5 | |
1121 ac_status=$? | |
1122 echo "$as_me:1122: \$? = $ac_status" >&5 | |
1123 (exit $ac_status); }; } | |
1124 break | 1123 break |
1125 done | 1124 done |
1126 | 1125 |
1127 if test $ac_prog_rejected = yes; then | 1126 if test $ac_prog_rejected = yes; then |
1128 # We found a bogon in the path, so make sure we never use it. | 1127 # We found a bogon in the path, so make sure we never use it. |
1140 fi | 1139 fi |
1141 fi | 1140 fi |
1142 fi | 1141 fi |
1143 CC=$ac_cv_prog_CC | 1142 CC=$ac_cv_prog_CC |
1144 if test -n "$CC"; then | 1143 if test -n "$CC"; then |
1145 echo "$as_me:1145: result: $CC" >&5 | 1144 echo "$as_me:1144: result: $CC" >&5 |
1146 echo "${ECHO_T}$CC" >&6 | 1145 echo "${ECHO_T}$CC" >&6 |
1147 else | 1146 else |
1148 echo "$as_me:1148: result: no" >&5 | 1147 echo "$as_me:1147: result: no" >&5 |
1149 echo "${ECHO_T}no" >&6 | 1148 echo "${ECHO_T}no" >&6 |
1150 fi | 1149 fi |
1151 | 1150 |
1152 fi | 1151 fi |
1153 if test -z "$CC"; then | 1152 if test -z "$CC"; then |
1154 if test -n "$ac_tool_prefix"; then | 1153 if test -n "$ac_tool_prefix"; then |
1155 for ac_prog in cl | 1154 for ac_prog in cl |
1156 do | 1155 do |
1157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 1156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 1157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1159 echo "$as_me:1159: checking for $ac_word" >&5 | 1158 echo "$as_me:1158: checking for $ac_word" >&5 |
1160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1161 if test "${ac_cv_prog_CC+set}" = set; then | 1160 if test "${ac_cv_prog_CC+set}" = set; then |
1162 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1161 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1163 else | 1162 else |
1164 if test -n "$CC"; then | 1163 if test -n "$CC"; then |
1169 for ac_dir in $ac_dummy; do | 1168 for ac_dir in $ac_dummy; do |
1170 IFS=$ac_save_IFS | 1169 IFS=$ac_save_IFS |
1171 test -z "$ac_dir" && ac_dir=. | 1170 test -z "$ac_dir" && ac_dir=. |
1172 $as_executable_p "$ac_dir/$ac_word" || continue | 1171 $as_executable_p "$ac_dir/$ac_word" || continue |
1173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 1172 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1174 echo "$as_me:1174: found $ac_dir/$ac_word" >&5 | 1173 echo "$as_me:1173: found $ac_dir/$ac_word" >&5 |
1175 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1176 { (eval echo "$as_me:1176: \"$ac_try\"") >&5 | |
1177 (eval $ac_try) 2>&5 | |
1178 ac_status=$? | |
1179 echo "$as_me:1179: \$? = $ac_status" >&5 | |
1180 (exit $ac_status); }; } | |
1181 break | 1174 break |
1182 done | 1175 done |
1183 | 1176 |
1184 fi | 1177 fi |
1185 fi | 1178 fi |
1186 CC=$ac_cv_prog_CC | 1179 CC=$ac_cv_prog_CC |
1187 if test -n "$CC"; then | 1180 if test -n "$CC"; then |
1188 echo "$as_me:1188: result: $CC" >&5 | 1181 echo "$as_me:1181: result: $CC" >&5 |
1189 echo "${ECHO_T}$CC" >&6 | 1182 echo "${ECHO_T}$CC" >&6 |
1190 else | 1183 else |
1191 echo "$as_me:1191: result: no" >&5 | 1184 echo "$as_me:1184: result: no" >&5 |
1192 echo "${ECHO_T}no" >&6 | 1185 echo "${ECHO_T}no" >&6 |
1193 fi | 1186 fi |
1194 | 1187 |
1195 test -n "$CC" && break | 1188 test -n "$CC" && break |
1196 done | 1189 done |
1199 ac_ct_CC=$CC | 1192 ac_ct_CC=$CC |
1200 for ac_prog in cl | 1193 for ac_prog in cl |
1201 do | 1194 do |
1202 # Extract the first word of "$ac_prog", so it can be a program name with args. | 1195 # Extract the first word of "$ac_prog", so it can be a program name with args. |
1203 set dummy $ac_prog; ac_word=$2 | 1196 set dummy $ac_prog; ac_word=$2 |
1204 echo "$as_me:1204: checking for $ac_word" >&5 | 1197 echo "$as_me:1197: checking for $ac_word" >&5 |
1205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1207 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1200 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1208 else | 1201 else |
1209 if test -n "$ac_ct_CC"; then | 1202 if test -n "$ac_ct_CC"; then |
1214 for ac_dir in $ac_dummy; do | 1207 for ac_dir in $ac_dummy; do |
1215 IFS=$ac_save_IFS | 1208 IFS=$ac_save_IFS |
1216 test -z "$ac_dir" && ac_dir=. | 1209 test -z "$ac_dir" && ac_dir=. |
1217 $as_executable_p "$ac_dir/$ac_word" || continue | 1210 $as_executable_p "$ac_dir/$ac_word" || continue |
1218 ac_cv_prog_ac_ct_CC="$ac_prog" | 1211 ac_cv_prog_ac_ct_CC="$ac_prog" |
1219 echo "$as_me:1219: found $ac_dir/$ac_word" >&5 | 1212 echo "$as_me:1212: found $ac_dir/$ac_word" >&5 |
1220 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1221 { (eval echo "$as_me:1221: \"$ac_try\"") >&5 | |
1222 (eval $ac_try) 2>&5 | |
1223 ac_status=$? | |
1224 echo "$as_me:1224: \$? = $ac_status" >&5 | |
1225 (exit $ac_status); }; } | |
1226 break | 1213 break |
1227 done | 1214 done |
1228 | 1215 |
1229 fi | 1216 fi |
1230 fi | 1217 fi |
1231 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1218 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1232 if test -n "$ac_ct_CC"; then | 1219 if test -n "$ac_ct_CC"; then |
1233 echo "$as_me:1233: result: $ac_ct_CC" >&5 | 1220 echo "$as_me:1220: result: $ac_ct_CC" >&5 |
1234 echo "${ECHO_T}$ac_ct_CC" >&6 | 1221 echo "${ECHO_T}$ac_ct_CC" >&6 |
1235 else | 1222 else |
1236 echo "$as_me:1236: result: no" >&5 | 1223 echo "$as_me:1223: result: no" >&5 |
1237 echo "${ECHO_T}no" >&6 | 1224 echo "${ECHO_T}no" >&6 |
1238 fi | 1225 fi |
1239 | 1226 |
1240 test -n "$ac_ct_CC" && break | 1227 test -n "$ac_ct_CC" && break |
1241 done | 1228 done |
1243 CC=$ac_ct_CC | 1230 CC=$ac_ct_CC |
1244 fi | 1231 fi |
1245 | 1232 |
1246 fi | 1233 fi |
1247 | 1234 |
1248 test -z "$CC" && { { echo "$as_me:1248: error: no acceptable cc found in \$PATH" >&5 | 1235 test -z "$CC" && { { echo "$as_me:1235: error: no acceptable cc found in \$PATH" >&5 |
1249 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | 1236 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
1250 { (exit 1); exit 1; }; } | 1237 { (exit 1); exit 1; }; } |
1251 | 1238 |
1239 # Provide some information about the compiler. | |
1240 echo "$as_me:1240:" \ | |
1241 "checking for C compiler version" >&5 | |
1242 ac_compiler=`set X $ac_compile; echo $2` | |
1243 { (eval echo "$as_me:1243: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
1244 (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
1245 ac_status=$? | |
1246 echo "$as_me:1246: \$? = $ac_status" >&5 | |
1247 (exit $ac_status); } | |
1248 { (eval echo "$as_me:1248: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
1249 (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
1250 ac_status=$? | |
1251 echo "$as_me:1251: \$? = $ac_status" >&5 | |
1252 (exit $ac_status); } | |
1253 { (eval echo "$as_me:1253: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
1254 (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
1255 ac_status=$? | |
1256 echo "$as_me:1256: \$? = $ac_status" >&5 | |
1257 (exit $ac_status); } | |
1258 | |
1252 cat >conftest.$ac_ext <<_ACEOF | 1259 cat >conftest.$ac_ext <<_ACEOF |
1253 #line 1253 "configure" | 1260 #line 1260 "configure" |
1254 #include "confdefs.h" | 1261 #include "confdefs.h" |
1255 | 1262 |
1256 int | 1263 int |
1257 main () | 1264 main () |
1258 { | 1265 { |
1262 } | 1269 } |
1263 _ACEOF | 1270 _ACEOF |
1264 ac_clean_files_save=$ac_clean_files | 1271 ac_clean_files_save=$ac_clean_files |
1265 ac_clean_files="$ac_clean_files a.out a.exe" | 1272 ac_clean_files="$ac_clean_files a.out a.exe" |
1266 # Try to create an executable without -o first, disregard a.out. | 1273 # Try to create an executable without -o first, disregard a.out. |
1267 # It will help us diagnose broken compiler, and finding out an intuition | 1274 # It will help us diagnose broken compilers, and finding out an intuition |
1268 # of exeext. | 1275 # of exeext. |
1269 echo "$as_me:1269: checking for C compiler default output" >&5 | 1276 echo "$as_me:1276: checking for C compiler default output" >&5 |
1270 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 1277 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1271 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 1278 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1272 if { (eval echo "$as_me:1272: \"$ac_link_default\"") >&5 | 1279 if { (eval echo "$as_me:1279: \"$ac_link_default\"") >&5 |
1273 (eval $ac_link_default) 2>&5 | 1280 (eval $ac_link_default) 2>&5 |
1274 ac_status=$? | 1281 ac_status=$? |
1275 echo "$as_me:1275: \$? = $ac_status" >&5 | 1282 echo "$as_me:1282: \$? = $ac_status" >&5 |
1276 (exit $ac_status); }; then | 1283 (exit $ac_status); }; then |
1277 for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do | 1284 # Find the output, starting from the most likely. This scheme is |
1285 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1286 # resort. | |
1287 for ac_file in `ls a.exe conftest.exe 2>/dev/null; | |
1288 ls a.out conftest 2>/dev/null; | |
1289 ls a.* conftest.* 2>/dev/null`; do | |
1278 case $ac_file in | 1290 case $ac_file in |
1279 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 1291 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1280 a.out ) # We found the default executable, but exeext='' is most | 1292 a.out ) # We found the default executable, but exeext='' is most |
1281 # certainly right. | 1293 # certainly right. |
1282 break;; | 1294 break;; |
1283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 1295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1296 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | |
1284 export ac_cv_exeext | 1297 export ac_cv_exeext |
1285 break;; | 1298 break;; |
1286 * ) break;; | 1299 * ) break;; |
1287 esac | 1300 esac |
1288 done | 1301 done |
1289 else | 1302 else |
1290 echo "$as_me: failed program was:" >&5 | 1303 echo "$as_me: failed program was:" >&5 |
1291 cat conftest.$ac_ext >&5 | 1304 cat conftest.$ac_ext >&5 |
1292 { { echo "$as_me:1292: error: C compiler cannot create executables" >&5 | 1305 { { echo "$as_me:1305: error: C compiler cannot create executables" >&5 |
1293 echo "$as_me: error: C compiler cannot create executables" >&2;} | 1306 echo "$as_me: error: C compiler cannot create executables" >&2;} |
1294 { (exit 77); exit 77; }; } | 1307 { (exit 77); exit 77; }; } |
1295 fi | 1308 fi |
1296 | 1309 |
1297 ac_exeext=$ac_cv_exeext | 1310 ac_exeext=$ac_cv_exeext |
1298 echo "$as_me:1298: result: $ac_file" >&5 | 1311 echo "$as_me:1311: result: $ac_file" >&5 |
1299 echo "${ECHO_T}$ac_file" >&6 | 1312 echo "${ECHO_T}$ac_file" >&6 |
1300 | 1313 |
1301 # Check the compiler produces executables we can run. If not, either | 1314 # Check the compiler produces executables we can run. If not, either |
1302 # the compiler is broken, or we cross compile. | 1315 # the compiler is broken, or we cross compile. |
1303 echo "$as_me:1303: checking whether the C compiler works" >&5 | 1316 echo "$as_me:1316: checking whether the C compiler works" >&5 |
1304 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 1317 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1305 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 1318 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1306 # If not cross compiling, check that we can run a simple program. | 1319 # If not cross compiling, check that we can run a simple program. |
1307 if test "$cross_compiling" != yes; then | 1320 if test "$cross_compiling" != yes; then |
1308 if { ac_try='./$ac_file' | 1321 if { ac_try='./$ac_file' |
1309 { (eval echo "$as_me:1309: \"$ac_try\"") >&5 | 1322 { (eval echo "$as_me:1322: \"$ac_try\"") >&5 |
1310 (eval $ac_try) 2>&5 | 1323 (eval $ac_try) 2>&5 |
1311 ac_status=$? | 1324 ac_status=$? |
1312 echo "$as_me:1312: \$? = $ac_status" >&5 | 1325 echo "$as_me:1325: \$? = $ac_status" >&5 |
1313 (exit $ac_status); }; }; then | 1326 (exit $ac_status); }; }; then |
1314 cross_compiling=no | 1327 cross_compiling=no |
1315 else | 1328 else |
1316 if test "$cross_compiling" = maybe; then | 1329 if test "$cross_compiling" = maybe; then |
1317 cross_compiling=yes | 1330 cross_compiling=yes |
1318 else | 1331 else |
1319 { { echo "$as_me:1319: error: cannot run C compiled programs. | 1332 { { echo "$as_me:1332: error: cannot run C compiled programs. |
1320 If you meant to cross compile, use \`--host'." >&5 | 1333 If you meant to cross compile, use \`--host'." >&5 |
1321 echo "$as_me: error: cannot run C compiled programs. | 1334 echo "$as_me: error: cannot run C compiled programs. |
1322 If you meant to cross compile, use \`--host'." >&2;} | 1335 If you meant to cross compile, use \`--host'." >&2;} |
1323 { (exit 1); exit 1; }; } | 1336 { (exit 1); exit 1; }; } |
1324 fi | 1337 fi |
1325 fi | 1338 fi |
1326 fi | 1339 fi |
1327 echo "$as_me:1327: result: yes" >&5 | 1340 echo "$as_me:1340: result: yes" >&5 |
1328 echo "${ECHO_T}yes" >&6 | 1341 echo "${ECHO_T}yes" >&6 |
1329 | 1342 |
1330 rm -f a.out a.exe conftest$ac_cv_exeext | 1343 rm -f a.out a.exe conftest$ac_cv_exeext |
1331 ac_clean_files=$ac_clean_files_save | 1344 ac_clean_files=$ac_clean_files_save |
1332 # Check the compiler produces executables we can run. If not, either | 1345 # Check the compiler produces executables we can run. If not, either |
1333 # the compiler is broken, or we cross compile. | 1346 # the compiler is broken, or we cross compile. |
1334 echo "$as_me:1334: checking whether we are cross compiling" >&5 | 1347 echo "$as_me:1347: checking whether we are cross compiling" >&5 |
1335 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 1348 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1336 echo "$as_me:1336: result: $cross_compiling" >&5 | 1349 echo "$as_me:1349: result: $cross_compiling" >&5 |
1337 echo "${ECHO_T}$cross_compiling" >&6 | 1350 echo "${ECHO_T}$cross_compiling" >&6 |
1338 | 1351 |
1339 echo "$as_me:1339: checking for executable suffix" >&5 | 1352 echo "$as_me:1352: checking for executable suffix" >&5 |
1340 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | 1353 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
1341 if { (eval echo "$as_me:1341: \"$ac_link\"") >&5 | 1354 if { (eval echo "$as_me:1354: \"$ac_link\"") >&5 |
1342 (eval $ac_link) 2>&5 | 1355 (eval $ac_link) 2>&5 |
1343 ac_status=$? | 1356 ac_status=$? |
1344 echo "$as_me:1344: \$? = $ac_status" >&5 | 1357 echo "$as_me:1357: \$? = $ac_status" >&5 |
1345 (exit $ac_status); }; then | 1358 (exit $ac_status); }; then |
1346 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 1359 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
1347 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 1360 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1348 # work properly (i.e., refer to `conftest.exe'), while it won't with | 1361 # work properly (i.e., refer to `conftest.exe'), while it won't with |
1349 # `rm'. | 1362 # `rm'. |
1355 break;; | 1368 break;; |
1356 * ) break;; | 1369 * ) break;; |
1357 esac | 1370 esac |
1358 done | 1371 done |
1359 else | 1372 else |
1360 { { echo "$as_me:1360: error: cannot compute EXEEXT: cannot compile and link" >&5 | 1373 { { echo "$as_me:1373: error: cannot compute EXEEXT: cannot compile and link" >&5 |
1361 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | 1374 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
1362 { (exit 1); exit 1; }; } | 1375 { (exit 1); exit 1; }; } |
1363 fi | 1376 fi |
1364 | 1377 |
1365 rm -f conftest$ac_cv_exeext | 1378 rm -f conftest$ac_cv_exeext |
1366 echo "$as_me:1366: result: $ac_cv_exeext" >&5 | 1379 echo "$as_me:1379: result: $ac_cv_exeext" >&5 |
1367 echo "${ECHO_T}$ac_cv_exeext" >&6 | 1380 echo "${ECHO_T}$ac_cv_exeext" >&6 |
1368 | 1381 |
1369 rm -f conftest.$ac_ext | 1382 rm -f conftest.$ac_ext |
1370 EXEEXT=$ac_cv_exeext | 1383 EXEEXT=$ac_cv_exeext |
1371 ac_exeext=$EXEEXT | 1384 ac_exeext=$EXEEXT |
1372 echo "$as_me:1372: checking for object suffix" >&5 | 1385 echo "$as_me:1385: checking for object suffix" >&5 |
1373 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | 1386 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1374 if test "${ac_cv_objext+set}" = set; then | 1387 if test "${ac_cv_objext+set}" = set; then |
1375 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1388 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1376 else | 1389 else |
1377 cat >conftest.$ac_ext <<_ACEOF | 1390 cat >conftest.$ac_ext <<_ACEOF |
1378 #line 1378 "configure" | 1391 #line 1391 "configure" |
1379 #include "confdefs.h" | 1392 #include "confdefs.h" |
1380 | 1393 |
1381 int | 1394 int |
1382 main () | 1395 main () |
1383 { | 1396 { |
1385 ; | 1398 ; |
1386 return 0; | 1399 return 0; |
1387 } | 1400 } |
1388 _ACEOF | 1401 _ACEOF |
1389 rm -f conftest.o conftest.obj | 1402 rm -f conftest.o conftest.obj |
1390 if { (eval echo "$as_me:1390: \"$ac_compile\"") >&5 | 1403 if { (eval echo "$as_me:1403: \"$ac_compile\"") >&5 |
1391 (eval $ac_compile) 2>&5 | 1404 (eval $ac_compile) 2>&5 |
1392 ac_status=$? | 1405 ac_status=$? |
1393 echo "$as_me:1393: \$? = $ac_status" >&5 | 1406 echo "$as_me:1406: \$? = $ac_status" >&5 |
1394 (exit $ac_status); }; then | 1407 (exit $ac_status); }; then |
1395 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 1408 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1396 case $ac_file in | 1409 case $ac_file in |
1397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 1410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1398 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 1411 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1400 esac | 1413 esac |
1401 done | 1414 done |
1402 else | 1415 else |
1403 echo "$as_me: failed program was:" >&5 | 1416 echo "$as_me: failed program was:" >&5 |
1404 cat conftest.$ac_ext >&5 | 1417 cat conftest.$ac_ext >&5 |
1405 { { echo "$as_me:1405: error: cannot compute OBJEXT: cannot compile" >&5 | 1418 { { echo "$as_me:1418: error: cannot compute OBJEXT: cannot compile" >&5 |
1406 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | 1419 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
1407 { (exit 1); exit 1; }; } | 1420 { (exit 1); exit 1; }; } |
1408 fi | 1421 fi |
1409 | 1422 |
1410 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 1423 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1411 fi | 1424 fi |
1412 echo "$as_me:1412: result: $ac_cv_objext" >&5 | 1425 echo "$as_me:1425: result: $ac_cv_objext" >&5 |
1413 echo "${ECHO_T}$ac_cv_objext" >&6 | 1426 echo "${ECHO_T}$ac_cv_objext" >&6 |
1414 OBJEXT=$ac_cv_objext | 1427 OBJEXT=$ac_cv_objext |
1415 ac_objext=$OBJEXT | 1428 ac_objext=$OBJEXT |
1416 echo "$as_me:1416: checking whether we are using the GNU C compiler" >&5 | 1429 echo "$as_me:1429: checking whether we are using the GNU C compiler" >&5 |
1417 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 1430 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1418 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 1431 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1419 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1432 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1420 else | 1433 else |
1421 cat >conftest.$ac_ext <<_ACEOF | 1434 cat >conftest.$ac_ext <<_ACEOF |
1422 #line 1422 "configure" | 1435 #line 1435 "configure" |
1423 #include "confdefs.h" | 1436 #include "confdefs.h" |
1424 | 1437 |
1425 int | 1438 int |
1426 main () | 1439 main () |
1427 { | 1440 { |
1432 ; | 1445 ; |
1433 return 0; | 1446 return 0; |
1434 } | 1447 } |
1435 _ACEOF | 1448 _ACEOF |
1436 rm -f conftest.$ac_objext | 1449 rm -f conftest.$ac_objext |
1437 if { (eval echo "$as_me:1437: \"$ac_compile\"") >&5 | 1450 if { (eval echo "$as_me:1450: \"$ac_compile\"") >&5 |
1438 (eval $ac_compile) 2>&5 | 1451 (eval $ac_compile) 2>&5 |
1439 ac_status=$? | 1452 ac_status=$? |
1440 echo "$as_me:1440: \$? = $ac_status" >&5 | 1453 echo "$as_me:1453: \$? = $ac_status" >&5 |
1441 (exit $ac_status); } && | 1454 (exit $ac_status); } && |
1442 { ac_try='test -s conftest.$ac_objext' | 1455 { ac_try='test -s conftest.$ac_objext' |
1443 { (eval echo "$as_me:1443: \"$ac_try\"") >&5 | 1456 { (eval echo "$as_me:1456: \"$ac_try\"") >&5 |
1444 (eval $ac_try) 2>&5 | 1457 (eval $ac_try) 2>&5 |
1445 ac_status=$? | 1458 ac_status=$? |
1446 echo "$as_me:1446: \$? = $ac_status" >&5 | 1459 echo "$as_me:1459: \$? = $ac_status" >&5 |
1447 (exit $ac_status); }; }; then | 1460 (exit $ac_status); }; }; then |
1448 ac_compiler_gnu=yes | 1461 ac_compiler_gnu=yes |
1449 else | 1462 else |
1450 echo "$as_me: failed program was:" >&5 | 1463 echo "$as_me: failed program was:" >&5 |
1451 cat conftest.$ac_ext >&5 | 1464 cat conftest.$ac_ext >&5 |
1453 fi | 1466 fi |
1454 rm -f conftest.$ac_objext conftest.$ac_ext | 1467 rm -f conftest.$ac_objext conftest.$ac_ext |
1455 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 1468 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1456 | 1469 |
1457 fi | 1470 fi |
1458 echo "$as_me:1458: result: $ac_cv_c_compiler_gnu" >&5 | 1471 echo "$as_me:1471: result: $ac_cv_c_compiler_gnu" >&5 |
1459 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 1472 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1460 GCC=`test $ac_compiler_gnu = yes && echo yes` | 1473 GCC=`test $ac_compiler_gnu = yes && echo yes` |
1461 ac_test_CFLAGS=${CFLAGS+set} | 1474 ac_test_CFLAGS=${CFLAGS+set} |
1462 ac_save_CFLAGS=$CFLAGS | 1475 ac_save_CFLAGS=$CFLAGS |
1463 CFLAGS="-g" | 1476 CFLAGS="-g" |
1464 echo "$as_me:1464: checking whether $CC accepts -g" >&5 | 1477 echo "$as_me:1477: checking whether $CC accepts -g" >&5 |
1465 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 1478 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1466 if test "${ac_cv_prog_cc_g+set}" = set; then | 1479 if test "${ac_cv_prog_cc_g+set}" = set; then |
1467 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1480 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1468 else | 1481 else |
1469 cat >conftest.$ac_ext <<_ACEOF | 1482 cat >conftest.$ac_ext <<_ACEOF |
1470 #line 1470 "configure" | 1483 #line 1483 "configure" |
1471 #include "confdefs.h" | 1484 #include "confdefs.h" |
1472 | 1485 |
1473 int | 1486 int |
1474 main () | 1487 main () |
1475 { | 1488 { |
1477 ; | 1490 ; |
1478 return 0; | 1491 return 0; |
1479 } | 1492 } |
1480 _ACEOF | 1493 _ACEOF |
1481 rm -f conftest.$ac_objext | 1494 rm -f conftest.$ac_objext |
1482 if { (eval echo "$as_me:1482: \"$ac_compile\"") >&5 | 1495 if { (eval echo "$as_me:1495: \"$ac_compile\"") >&5 |
1483 (eval $ac_compile) 2>&5 | 1496 (eval $ac_compile) 2>&5 |
1484 ac_status=$? | 1497 ac_status=$? |
1485 echo "$as_me:1485: \$? = $ac_status" >&5 | 1498 echo "$as_me:1498: \$? = $ac_status" >&5 |
1486 (exit $ac_status); } && | 1499 (exit $ac_status); } && |
1487 { ac_try='test -s conftest.$ac_objext' | 1500 { ac_try='test -s conftest.$ac_objext' |
1488 { (eval echo "$as_me:1488: \"$ac_try\"") >&5 | 1501 { (eval echo "$as_me:1501: \"$ac_try\"") >&5 |
1489 (eval $ac_try) 2>&5 | 1502 (eval $ac_try) 2>&5 |
1490 ac_status=$? | 1503 ac_status=$? |
1491 echo "$as_me:1491: \$? = $ac_status" >&5 | 1504 echo "$as_me:1504: \$? = $ac_status" >&5 |
1492 (exit $ac_status); }; }; then | 1505 (exit $ac_status); }; }; then |
1493 ac_cv_prog_cc_g=yes | 1506 ac_cv_prog_cc_g=yes |
1494 else | 1507 else |
1495 echo "$as_me: failed program was:" >&5 | 1508 echo "$as_me: failed program was:" >&5 |
1496 cat conftest.$ac_ext >&5 | 1509 cat conftest.$ac_ext >&5 |
1497 ac_cv_prog_cc_g=no | 1510 ac_cv_prog_cc_g=no |
1498 fi | 1511 fi |
1499 rm -f conftest.$ac_objext conftest.$ac_ext | 1512 rm -f conftest.$ac_objext conftest.$ac_ext |
1500 fi | 1513 fi |
1501 echo "$as_me:1501: result: $ac_cv_prog_cc_g" >&5 | 1514 echo "$as_me:1514: result: $ac_cv_prog_cc_g" >&5 |
1502 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 1515 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1503 if test "$ac_test_CFLAGS" = set; then | 1516 if test "$ac_test_CFLAGS" = set; then |
1504 CFLAGS=$ac_save_CFLAGS | 1517 CFLAGS=$ac_save_CFLAGS |
1505 elif test $ac_cv_prog_cc_g = yes; then | 1518 elif test $ac_cv_prog_cc_g = yes; then |
1506 if test "$GCC" = yes; then | 1519 if test "$GCC" = yes; then |
1523 #ifndef __cplusplus | 1536 #ifndef __cplusplus |
1524 choke me | 1537 choke me |
1525 #endif | 1538 #endif |
1526 _ACEOF | 1539 _ACEOF |
1527 rm -f conftest.$ac_objext | 1540 rm -f conftest.$ac_objext |
1528 if { (eval echo "$as_me:1528: \"$ac_compile\"") >&5 | 1541 if { (eval echo "$as_me:1541: \"$ac_compile\"") >&5 |
1529 (eval $ac_compile) 2>&5 | 1542 (eval $ac_compile) 2>&5 |
1530 ac_status=$? | 1543 ac_status=$? |
1531 echo "$as_me:1531: \$? = $ac_status" >&5 | 1544 echo "$as_me:1544: \$? = $ac_status" >&5 |
1532 (exit $ac_status); } && | 1545 (exit $ac_status); } && |
1533 { ac_try='test -s conftest.$ac_objext' | 1546 { ac_try='test -s conftest.$ac_objext' |
1534 { (eval echo "$as_me:1534: \"$ac_try\"") >&5 | 1547 { (eval echo "$as_me:1547: \"$ac_try\"") >&5 |
1535 (eval $ac_try) 2>&5 | 1548 (eval $ac_try) 2>&5 |
1536 ac_status=$? | 1549 ac_status=$? |
1537 echo "$as_me:1537: \$? = $ac_status" >&5 | 1550 echo "$as_me:1550: \$? = $ac_status" >&5 |
1538 (exit $ac_status); }; }; then | 1551 (exit $ac_status); }; }; then |
1539 for ac_declaration in \ | 1552 for ac_declaration in \ |
1540 ''\ | 1553 ''\ |
1541 '#include <stdlib.h>' \ | 1554 '#include <stdlib.h>' \ |
1542 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 1555 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
1544 'extern "C" void exit (int) throw ();' \ | 1557 'extern "C" void exit (int) throw ();' \ |
1545 'extern "C" void exit (int);' \ | 1558 'extern "C" void exit (int);' \ |
1546 'void exit (int);' | 1559 'void exit (int);' |
1547 do | 1560 do |
1548 cat >conftest.$ac_ext <<_ACEOF | 1561 cat >conftest.$ac_ext <<_ACEOF |
1549 #line 1549 "configure" | 1562 #line 1562 "configure" |
1550 #include "confdefs.h" | 1563 #include "confdefs.h" |
1551 #include <stdlib.h> | 1564 #include <stdlib.h> |
1552 $ac_declaration | 1565 $ac_declaration |
1553 int | 1566 int |
1554 main () | 1567 main () |
1557 ; | 1570 ; |
1558 return 0; | 1571 return 0; |
1559 } | 1572 } |
1560 _ACEOF | 1573 _ACEOF |
1561 rm -f conftest.$ac_objext | 1574 rm -f conftest.$ac_objext |
1562 if { (eval echo "$as_me:1562: \"$ac_compile\"") >&5 | 1575 if { (eval echo "$as_me:1575: \"$ac_compile\"") >&5 |
1563 (eval $ac_compile) 2>&5 | 1576 (eval $ac_compile) 2>&5 |
1564 ac_status=$? | 1577 ac_status=$? |
1565 echo "$as_me:1565: \$? = $ac_status" >&5 | 1578 echo "$as_me:1578: \$? = $ac_status" >&5 |
1566 (exit $ac_status); } && | 1579 (exit $ac_status); } && |
1567 { ac_try='test -s conftest.$ac_objext' | 1580 { ac_try='test -s conftest.$ac_objext' |
1568 { (eval echo "$as_me:1568: \"$ac_try\"") >&5 | 1581 { (eval echo "$as_me:1581: \"$ac_try\"") >&5 |
1569 (eval $ac_try) 2>&5 | 1582 (eval $ac_try) 2>&5 |
1570 ac_status=$? | 1583 ac_status=$? |
1571 echo "$as_me:1571: \$? = $ac_status" >&5 | 1584 echo "$as_me:1584: \$? = $ac_status" >&5 |
1572 (exit $ac_status); }; }; then | 1585 (exit $ac_status); }; }; then |
1573 : | 1586 : |
1574 else | 1587 else |
1575 echo "$as_me: failed program was:" >&5 | 1588 echo "$as_me: failed program was:" >&5 |
1576 cat conftest.$ac_ext >&5 | 1589 cat conftest.$ac_ext >&5 |
1577 continue | 1590 continue |
1578 fi | 1591 fi |
1579 rm -f conftest.$ac_objext conftest.$ac_ext | 1592 rm -f conftest.$ac_objext conftest.$ac_ext |
1580 cat >conftest.$ac_ext <<_ACEOF | 1593 cat >conftest.$ac_ext <<_ACEOF |
1581 #line 1581 "configure" | 1594 #line 1594 "configure" |
1582 #include "confdefs.h" | 1595 #include "confdefs.h" |
1583 $ac_declaration | 1596 $ac_declaration |
1584 int | 1597 int |
1585 main () | 1598 main () |
1586 { | 1599 { |
1588 ; | 1601 ; |
1589 return 0; | 1602 return 0; |
1590 } | 1603 } |
1591 _ACEOF | 1604 _ACEOF |
1592 rm -f conftest.$ac_objext | 1605 rm -f conftest.$ac_objext |
1593 if { (eval echo "$as_me:1593: \"$ac_compile\"") >&5 | 1606 if { (eval echo "$as_me:1606: \"$ac_compile\"") >&5 |
1594 (eval $ac_compile) 2>&5 | 1607 (eval $ac_compile) 2>&5 |
1595 ac_status=$? | 1608 ac_status=$? |
1596 echo "$as_me:1596: \$? = $ac_status" >&5 | 1609 echo "$as_me:1609: \$? = $ac_status" >&5 |
1597 (exit $ac_status); } && | 1610 (exit $ac_status); } && |
1598 { ac_try='test -s conftest.$ac_objext' | 1611 { ac_try='test -s conftest.$ac_objext' |
1599 { (eval echo "$as_me:1599: \"$ac_try\"") >&5 | 1612 { (eval echo "$as_me:1612: \"$ac_try\"") >&5 |
1600 (eval $ac_try) 2>&5 | 1613 (eval $ac_try) 2>&5 |
1601 ac_status=$? | 1614 ac_status=$? |
1602 echo "$as_me:1602: \$? = $ac_status" >&5 | 1615 echo "$as_me:1615: \$? = $ac_status" >&5 |
1603 (exit $ac_status); }; }; then | 1616 (exit $ac_status); }; }; then |
1604 break | 1617 break |
1605 else | 1618 else |
1606 echo "$as_me: failed program was:" >&5 | 1619 echo "$as_me: failed program was:" >&5 |
1607 cat conftest.$ac_ext >&5 | 1620 cat conftest.$ac_ext >&5 |
1608 fi | 1621 fi |
1609 rm -f conftest.$ac_objext conftest.$ac_ext | 1622 rm -f conftest.$ac_objext conftest.$ac_ext |
1610 done | 1623 done |
1611 echo '#ifdef __cplusplus' >>confdefs.h | 1624 rm -f conftest* |
1612 echo $ac_declaration >>confdefs.h | 1625 if test -n "$ac_declaration"; then |
1613 echo '#endif' >>confdefs.h | 1626 echo '#ifdef __cplusplus' >>confdefs.h |
1627 echo $ac_declaration >>confdefs.h | |
1628 echo '#endif' >>confdefs.h | |
1629 fi | |
1614 | 1630 |
1615 else | 1631 else |
1616 echo "$as_me: failed program was:" >&5 | 1632 echo "$as_me: failed program was:" >&5 |
1617 cat conftest.$ac_ext >&5 | 1633 cat conftest.$ac_ext >&5 |
1618 fi | 1634 fi |
1623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1624 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1640 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1625 | 1641 |
1626 # Extract the first word of "gmake", so it can be a program name with args. | 1642 # Extract the first word of "gmake", so it can be a program name with args. |
1627 set dummy gmake; ac_word=$2 | 1643 set dummy gmake; ac_word=$2 |
1628 echo "$as_me:1628: checking for $ac_word" >&5 | 1644 echo "$as_me:1644: checking for $ac_word" >&5 |
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1630 if test "${ac_cv_prog_MAKE+set}" = set; then | 1646 if test "${ac_cv_prog_MAKE+set}" = set; then |
1631 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1647 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1632 else | 1648 else |
1633 if test -n "$MAKE"; then | 1649 if test -n "$MAKE"; then |
1638 for ac_dir in $ac_dummy; do | 1654 for ac_dir in $ac_dummy; do |
1639 IFS=$ac_save_IFS | 1655 IFS=$ac_save_IFS |
1640 test -z "$ac_dir" && ac_dir=. | 1656 test -z "$ac_dir" && ac_dir=. |
1641 $as_executable_p "$ac_dir/$ac_word" || continue | 1657 $as_executable_p "$ac_dir/$ac_word" || continue |
1642 ac_cv_prog_MAKE="gmake" | 1658 ac_cv_prog_MAKE="gmake" |
1643 echo "$as_me:1643: found $ac_dir/$ac_word" >&5 | 1659 echo "$as_me:1659: found $ac_dir/$ac_word" >&5 |
1644 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1645 { (eval echo "$as_me:1645: \"$ac_try\"") >&5 | |
1646 (eval $ac_try) 2>&5 | |
1647 ac_status=$? | |
1648 echo "$as_me:1648: \$? = $ac_status" >&5 | |
1649 (exit $ac_status); }; } | |
1650 break | 1660 break |
1651 done | 1661 done |
1652 | 1662 |
1653 fi | 1663 fi |
1654 fi | 1664 fi |
1655 MAKE=$ac_cv_prog_MAKE | 1665 MAKE=$ac_cv_prog_MAKE |
1656 if test -n "$MAKE"; then | 1666 if test -n "$MAKE"; then |
1657 echo "$as_me:1657: result: $MAKE" >&5 | 1667 echo "$as_me:1667: result: $MAKE" >&5 |
1658 echo "${ECHO_T}$MAKE" >&6 | 1668 echo "${ECHO_T}$MAKE" >&6 |
1659 else | 1669 else |
1660 echo "$as_me:1660: result: no" >&5 | 1670 echo "$as_me:1670: result: no" >&5 |
1661 echo "${ECHO_T}no" >&6 | 1671 echo "${ECHO_T}no" >&6 |
1662 fi | 1672 fi |
1663 | 1673 |
1664 if test x"$MAKE" = x; then | 1674 if test x"$MAKE" = x; then |
1665 # Extract the first word of "make", so it can be a program name with args. | 1675 # Extract the first word of "make", so it can be a program name with args. |
1666 set dummy make; ac_word=$2 | 1676 set dummy make; ac_word=$2 |
1667 echo "$as_me:1667: checking for $ac_word" >&5 | 1677 echo "$as_me:1677: checking for $ac_word" >&5 |
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1669 if test "${ac_cv_prog_MAKE+set}" = set; then | 1679 if test "${ac_cv_prog_MAKE+set}" = set; then |
1670 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1680 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1671 else | 1681 else |
1672 if test -n "$MAKE"; then | 1682 if test -n "$MAKE"; then |
1677 for ac_dir in $ac_dummy; do | 1687 for ac_dir in $ac_dummy; do |
1678 IFS=$ac_save_IFS | 1688 IFS=$ac_save_IFS |
1679 test -z "$ac_dir" && ac_dir=. | 1689 test -z "$ac_dir" && ac_dir=. |
1680 $as_executable_p "$ac_dir/$ac_word" || continue | 1690 $as_executable_p "$ac_dir/$ac_word" || continue |
1681 ac_cv_prog_MAKE="make" | 1691 ac_cv_prog_MAKE="make" |
1682 echo "$as_me:1682: found $ac_dir/$ac_word" >&5 | 1692 echo "$as_me:1692: found $ac_dir/$ac_word" >&5 |
1683 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
1684 { (eval echo "$as_me:1684: \"$ac_try\"") >&5 | |
1685 (eval $ac_try) 2>&5 | |
1686 ac_status=$? | |
1687 echo "$as_me:1687: \$? = $ac_status" >&5 | |
1688 (exit $ac_status); }; } | |
1689 break | 1693 break |
1690 done | 1694 done |
1691 | 1695 |
1692 fi | 1696 fi |
1693 fi | 1697 fi |
1694 MAKE=$ac_cv_prog_MAKE | 1698 MAKE=$ac_cv_prog_MAKE |
1695 if test -n "$MAKE"; then | 1699 if test -n "$MAKE"; then |
1696 echo "$as_me:1696: result: $MAKE" >&5 | 1700 echo "$as_me:1700: result: $MAKE" >&5 |
1697 echo "${ECHO_T}$MAKE" >&6 | 1701 echo "${ECHO_T}$MAKE" >&6 |
1698 else | 1702 else |
1699 echo "$as_me:1699: result: no" >&5 | 1703 echo "$as_me:1703: result: no" >&5 |
1700 echo "${ECHO_T}no" >&6 | 1704 echo "${ECHO_T}no" >&6 |
1701 fi | 1705 fi |
1702 | 1706 |
1703 fi | 1707 fi |
1704 | 1708 |
1717 ac_install_sh="$ac_aux_dir/shtool install -c" | 1721 ac_install_sh="$ac_aux_dir/shtool install -c" |
1718 break | 1722 break |
1719 fi | 1723 fi |
1720 done | 1724 done |
1721 if test -z "$ac_aux_dir"; then | 1725 if test -z "$ac_aux_dir"; then |
1722 { { echo "$as_me:1722: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 1726 { { echo "$as_me:1726: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1723 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 1727 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1724 { (exit 1); exit 1; }; } | 1728 { (exit 1); exit 1; }; } |
1725 fi | 1729 fi |
1726 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 1730 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1727 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 1731 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1737 # AmigaOS /C/install, which installs bootblocks on floppy discs | 1741 # AmigaOS /C/install, which installs bootblocks on floppy discs |
1738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 1742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 1743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 1744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1741 # ./install, which can be erroneously created by make from ./install.sh. | 1745 # ./install, which can be erroneously created by make from ./install.sh. |
1742 echo "$as_me:1742: checking for a BSD compatible install" >&5 | 1746 echo "$as_me:1746: checking for a BSD compatible install" >&5 |
1743 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | 1747 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
1744 if test -z "$INSTALL"; then | 1748 if test -z "$INSTALL"; then |
1745 if test "${ac_cv_path_install+set}" = set; then | 1749 if test "${ac_cv_path_install+set}" = set; then |
1746 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1750 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1747 else | 1751 else |
1786 # break other packages using the cache if that directory is | 1790 # break other packages using the cache if that directory is |
1787 # removed, or if the path is relative. | 1791 # removed, or if the path is relative. |
1788 INSTALL=$ac_install_sh | 1792 INSTALL=$ac_install_sh |
1789 fi | 1793 fi |
1790 fi | 1794 fi |
1791 echo "$as_me:1791: result: $INSTALL" >&5 | 1795 echo "$as_me:1795: result: $INSTALL" >&5 |
1792 echo "${ECHO_T}$INSTALL" >&6 | 1796 echo "${ECHO_T}$INSTALL" >&6 |
1793 | 1797 |
1794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 1798 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1795 # It thinks the first close brace ends the variable substitution. | 1799 # It thinks the first close brace ends the variable substitution. |
1796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 1800 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1802 ac_ext=c | 1806 ac_ext=c |
1803 ac_cpp='$CPP $CPPFLAGS' | 1807 ac_cpp='$CPP $CPPFLAGS' |
1804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1806 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1807 echo "$as_me:1807: checking how to run the C preprocessor" >&5 | 1811 echo "$as_me:1811: checking how to run the C preprocessor" >&5 |
1808 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 1812 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
1809 # On Suns, sometimes $CPP names a directory. | 1813 # On Suns, sometimes $CPP names a directory. |
1810 if test -n "$CPP" && test -d "$CPP"; then | 1814 if test -n "$CPP" && test -d "$CPP"; then |
1811 CPP= | 1815 CPP= |
1812 fi | 1816 fi |
1815 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1819 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1816 else | 1820 else |
1817 # Double quotes because CPP needs to be expanded | 1821 # Double quotes because CPP needs to be expanded |
1818 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 1822 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
1819 do | 1823 do |
1820 # Use a header file that comes with gcc, so configuring glibc | 1824 ac_preproc_ok=false |
1821 # with a fresh cross-compiler works. | 1825 for ac_c_preproc_warn_flag in '' yes |
1822 # On the NeXT, cc -E runs the code through the compiler's parser, | 1826 do |
1823 # not just through cpp. "Syntax error" is here to catch this case. | 1827 # Use a header file that comes with gcc, so configuring glibc |
1824 ac_c_preproc_warn_flag=maybe | 1828 # with a fresh cross-compiler works. |
1825 cat >conftest.$ac_ext <<_ACEOF | 1829 # On the NeXT, cc -E runs the code through the compiler's parser, |
1826 #line 1826 "configure" | 1830 # not just through cpp. "Syntax error" is here to catch this case. |
1831 cat >conftest.$ac_ext <<_ACEOF | |
1832 #line 1832 "configure" | |
1827 #include "confdefs.h" | 1833 #include "confdefs.h" |
1828 #include <assert.h> | 1834 #include <assert.h> |
1829 Syntax error | 1835 Syntax error |
1830 _ACEOF | 1836 _ACEOF |
1831 if { (eval echo "$as_me:1831: \"$ac_cpp conftest.$ac_ext\"") >&5 | 1837 if { (eval echo "$as_me:1837: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 1838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1833 ac_status=$? | 1839 ac_status=$? |
1834 egrep -v '^ *\+' conftest.er1 >conftest.err | 1840 egrep -v '^ *\+' conftest.er1 >conftest.err |
1835 rm -f conftest.er1 | 1841 rm -f conftest.er1 |
1836 cat conftest.err >&5 | 1842 cat conftest.err >&5 |
1837 echo "$as_me:1837: \$? = $ac_status" >&5 | 1843 echo "$as_me:1843: \$? = $ac_status" >&5 |
1838 (exit $ac_status); } >/dev/null; then | 1844 (exit $ac_status); } >/dev/null; then |
1839 if test -s conftest.err; then | 1845 if test -s conftest.err; then |
1840 ac_cpp_err=$ac_c_preproc_warn_flag | 1846 ac_cpp_err=$ac_c_preproc_warn_flag |
1841 else | 1847 else |
1842 ac_cpp_err= | 1848 ac_cpp_err= |
1843 fi | 1849 fi |
1844 else | 1850 else |
1845 ac_cpp_err=yes | 1851 ac_cpp_err=yes |
1846 fi | 1852 fi |
1847 if test -z "$ac_cpp_err"; then | 1853 if test -z "$ac_cpp_err"; then |
1848 # Now check whether non-existent headers can be detected and how | 1854 : |
1849 # Skip if ac_cpp_err is not empty - ac_cpp is broken | 1855 else |
1850 if test -z "$ac_cpp_err"; then | 1856 echo "$as_me: failed program was:" >&5 |
1857 cat conftest.$ac_ext >&5 | |
1858 # Broken: fails on valid input. | |
1859 continue | |
1860 fi | |
1861 rm -f conftest.err conftest.$ac_ext | |
1862 | |
1863 # OK, works on sane cases. Now check whether non-existent headers | |
1864 # can be detected and how. | |
1851 cat >conftest.$ac_ext <<_ACEOF | 1865 cat >conftest.$ac_ext <<_ACEOF |
1852 #line 1852 "configure" | 1866 #line 1866 "configure" |
1853 #include "confdefs.h" | 1867 #include "confdefs.h" |
1854 #include <ac_nonexistent.h> | 1868 #include <ac_nonexistent.h> |
1855 _ACEOF | 1869 _ACEOF |
1856 if { (eval echo "$as_me:1856: \"$ac_cpp conftest.$ac_ext\"") >&5 | 1870 if { (eval echo "$as_me:1870: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 1871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1858 ac_status=$? | 1872 ac_status=$? |
1859 egrep -v '^ *\+' conftest.er1 >conftest.err | 1873 egrep -v '^ *\+' conftest.er1 >conftest.err |
1860 rm -f conftest.er1 | 1874 rm -f conftest.er1 |
1861 cat conftest.err >&5 | 1875 cat conftest.err >&5 |
1862 echo "$as_me:1862: \$? = $ac_status" >&5 | 1876 echo "$as_me:1876: \$? = $ac_status" >&5 |
1863 (exit $ac_status); } >/dev/null; then | 1877 (exit $ac_status); } >/dev/null; then |
1864 if test -s conftest.err; then | 1878 if test -s conftest.err; then |
1865 ac_cpp_err=$ac_c_preproc_warn_flag | 1879 ac_cpp_err=$ac_c_preproc_warn_flag |
1866 else | 1880 else |
1867 ac_cpp_err= | 1881 ac_cpp_err= |
1868 fi | 1882 fi |
1869 else | 1883 else |
1870 ac_cpp_err=yes | 1884 ac_cpp_err=yes |
1871 fi | 1885 fi |
1872 if test -z "$ac_cpp_err"; then | 1886 if test -z "$ac_cpp_err"; then |
1873 # cannot detect missing includes at all | 1887 # Broken: success on invalid input. |
1874 ac_cpp_err=yes | 1888 continue |
1875 else | 1889 else |
1876 echo "$as_me: failed program was:" >&5 | 1890 echo "$as_me: failed program was:" >&5 |
1877 cat conftest.$ac_ext >&5 | 1891 cat conftest.$ac_ext >&5 |
1878 if test "x$ac_cpp_err" = xmaybe; then | 1892 # Passes both tests. |
1879 ac_c_preproc_warn_flag=yes | 1893 ac_preproc_ok=: |
1880 else | 1894 break |
1881 ac_c_preproc_warn_flag= | |
1882 fi | |
1883 ac_cpp_err= | |
1884 fi | 1895 fi |
1885 rm -f conftest.err conftest.$ac_ext | 1896 rm -f conftest.err conftest.$ac_ext |
1886 fi | 1897 |
1887 else | 1898 done |
1888 echo "$as_me: failed program was:" >&5 | 1899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1889 cat conftest.$ac_ext >&5 | |
1890 | |
1891 fi | |
1892 rm -f conftest.err conftest.$ac_ext | 1900 rm -f conftest.err conftest.$ac_ext |
1893 if test -z "$ac_cpp_err"; then | 1901 if $ac_preproc_ok; then |
1894 break | 1902 break |
1895 fi | 1903 fi |
1904 | |
1896 done | 1905 done |
1897 ac_cv_prog_CPP=$CPP | 1906 ac_cv_prog_CPP=$CPP |
1898 | 1907 |
1899 fi | 1908 fi |
1900 CPP=$ac_cv_prog_CPP | 1909 CPP=$ac_cv_prog_CPP |
1901 else | 1910 else |
1911 ac_cv_prog_CPP=$CPP | |
1912 fi | |
1913 echo "$as_me:1913: result: $CPP" >&5 | |
1914 echo "${ECHO_T}$CPP" >&6 | |
1915 ac_preproc_ok=false | |
1916 for ac_c_preproc_warn_flag in '' yes | |
1917 do | |
1902 # Use a header file that comes with gcc, so configuring glibc | 1918 # Use a header file that comes with gcc, so configuring glibc |
1903 # with a fresh cross-compiler works. | 1919 # with a fresh cross-compiler works. |
1904 # On the NeXT, cc -E runs the code through the compiler's parser, | 1920 # On the NeXT, cc -E runs the code through the compiler's parser, |
1905 # not just through cpp. "Syntax error" is here to catch this case. | 1921 # not just through cpp. "Syntax error" is here to catch this case. |
1906 ac_c_preproc_warn_flag=maybe | 1922 cat >conftest.$ac_ext <<_ACEOF |
1907 cat >conftest.$ac_ext <<_ACEOF | 1923 #line 1923 "configure" |
1908 #line 1908 "configure" | |
1909 #include "confdefs.h" | 1924 #include "confdefs.h" |
1910 #include <assert.h> | 1925 #include <assert.h> |
1911 Syntax error | 1926 Syntax error |
1912 _ACEOF | 1927 _ACEOF |
1913 if { (eval echo "$as_me:1913: \"$ac_cpp conftest.$ac_ext\"") >&5 | 1928 if { (eval echo "$as_me:1928: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 1929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1915 ac_status=$? | 1930 ac_status=$? |
1916 egrep -v '^ *\+' conftest.er1 >conftest.err | 1931 egrep -v '^ *\+' conftest.er1 >conftest.err |
1917 rm -f conftest.er1 | 1932 rm -f conftest.er1 |
1918 cat conftest.err >&5 | 1933 cat conftest.err >&5 |
1919 echo "$as_me:1919: \$? = $ac_status" >&5 | 1934 echo "$as_me:1934: \$? = $ac_status" >&5 |
1920 (exit $ac_status); } >/dev/null; then | 1935 (exit $ac_status); } >/dev/null; then |
1921 if test -s conftest.err; then | 1936 if test -s conftest.err; then |
1922 ac_cpp_err=$ac_c_preproc_warn_flag | 1937 ac_cpp_err=$ac_c_preproc_warn_flag |
1923 else | 1938 else |
1924 ac_cpp_err= | 1939 ac_cpp_err= |
1925 fi | 1940 fi |
1926 else | 1941 else |
1927 ac_cpp_err=yes | 1942 ac_cpp_err=yes |
1928 fi | 1943 fi |
1929 if test -z "$ac_cpp_err"; then | 1944 if test -z "$ac_cpp_err"; then |
1930 # Now check whether non-existent headers can be detected and how | 1945 : |
1931 # Skip if ac_cpp_err is not empty - ac_cpp is broken | 1946 else |
1932 if test -z "$ac_cpp_err"; then | 1947 echo "$as_me: failed program was:" >&5 |
1948 cat conftest.$ac_ext >&5 | |
1949 # Broken: fails on valid input. | |
1950 continue | |
1951 fi | |
1952 rm -f conftest.err conftest.$ac_ext | |
1953 | |
1954 # OK, works on sane cases. Now check whether non-existent headers | |
1955 # can be detected and how. | |
1933 cat >conftest.$ac_ext <<_ACEOF | 1956 cat >conftest.$ac_ext <<_ACEOF |
1934 #line 1934 "configure" | 1957 #line 1957 "configure" |
1935 #include "confdefs.h" | 1958 #include "confdefs.h" |
1936 #include <ac_nonexistent.h> | 1959 #include <ac_nonexistent.h> |
1937 _ACEOF | 1960 _ACEOF |
1938 if { (eval echo "$as_me:1938: \"$ac_cpp conftest.$ac_ext\"") >&5 | 1961 if { (eval echo "$as_me:1961: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 1962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1940 ac_status=$? | 1963 ac_status=$? |
1941 egrep -v '^ *\+' conftest.er1 >conftest.err | 1964 egrep -v '^ *\+' conftest.er1 >conftest.err |
1942 rm -f conftest.er1 | 1965 rm -f conftest.er1 |
1943 cat conftest.err >&5 | 1966 cat conftest.err >&5 |
1944 echo "$as_me:1944: \$? = $ac_status" >&5 | 1967 echo "$as_me:1967: \$? = $ac_status" >&5 |
1945 (exit $ac_status); } >/dev/null; then | 1968 (exit $ac_status); } >/dev/null; then |
1946 if test -s conftest.err; then | 1969 if test -s conftest.err; then |
1947 ac_cpp_err=$ac_c_preproc_warn_flag | 1970 ac_cpp_err=$ac_c_preproc_warn_flag |
1948 else | 1971 else |
1949 ac_cpp_err= | 1972 ac_cpp_err= |
1950 fi | 1973 fi |
1951 else | 1974 else |
1952 ac_cpp_err=yes | 1975 ac_cpp_err=yes |
1953 fi | 1976 fi |
1954 if test -z "$ac_cpp_err"; then | 1977 if test -z "$ac_cpp_err"; then |
1955 # cannot detect missing includes at all | 1978 # Broken: success on invalid input. |
1956 ac_cpp_err=yes | 1979 continue |
1957 else | 1980 else |
1958 echo "$as_me: failed program was:" >&5 | 1981 echo "$as_me: failed program was:" >&5 |
1959 cat conftest.$ac_ext >&5 | 1982 cat conftest.$ac_ext >&5 |
1960 if test "x$ac_cpp_err" = xmaybe; then | 1983 # Passes both tests. |
1961 ac_c_preproc_warn_flag=yes | 1984 ac_preproc_ok=: |
1962 else | 1985 break |
1963 ac_c_preproc_warn_flag= | |
1964 fi | |
1965 ac_cpp_err= | |
1966 fi | 1986 fi |
1967 rm -f conftest.err conftest.$ac_ext | 1987 rm -f conftest.err conftest.$ac_ext |
1968 fi | 1988 |
1969 else | 1989 done |
1970 echo "$as_me: failed program was:" >&5 | 1990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1971 cat conftest.$ac_ext >&5 | |
1972 | |
1973 fi | |
1974 rm -f conftest.err conftest.$ac_ext | 1991 rm -f conftest.err conftest.$ac_ext |
1975 ac_cv_prog_CPP=$CPP | 1992 if $ac_preproc_ok; then |
1976 fi | 1993 : |
1977 echo "$as_me:1977: result: $CPP" >&5 | 1994 else |
1978 echo "${ECHO_T}$CPP" >&6 | 1995 { { echo "$as_me:1995: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
1979 if test -n "$ac_cpp_err"; then | |
1980 { { echo "$as_me:1980: error: C preprocessor \"$CPP\" fails sanity check" >&5 | |
1981 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 1996 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
1982 { (exit 1); exit 1; }; } | 1997 { (exit 1); exit 1; }; } |
1983 fi | 1998 fi |
1999 | |
1984 ac_ext=c | 2000 ac_ext=c |
1985 ac_cpp='$CPP $CPPFLAGS' | 2001 ac_cpp='$CPP $CPPFLAGS' |
1986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1988 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1989 | 2005 |
1990 echo "$as_me:1990: checking for ANSI C header files" >&5 | 2006 echo "$as_me:2006: checking for ANSI C header files" >&5 |
1991 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 2007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
1992 if test "${ac_cv_header_stdc+set}" = set; then | 2008 if test "${ac_cv_header_stdc+set}" = set; then |
1993 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2009 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1994 else | 2010 else |
1995 cat >conftest.$ac_ext <<_ACEOF | 2011 cat >conftest.$ac_ext <<_ACEOF |
1996 #line 1996 "configure" | 2012 #line 2012 "configure" |
1997 #include "confdefs.h" | 2013 #include "confdefs.h" |
1998 #include <stdlib.h> | 2014 #include <stdlib.h> |
1999 #include <stdarg.h> | 2015 #include <stdarg.h> |
2000 #include <string.h> | 2016 #include <string.h> |
2001 #include <float.h> | 2017 #include <float.h> |
2002 | 2018 |
2003 _ACEOF | 2019 _ACEOF |
2004 if { (eval echo "$as_me:2004: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2020 if { (eval echo "$as_me:2020: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2006 ac_status=$? | 2022 ac_status=$? |
2007 egrep -v '^ *\+' conftest.er1 >conftest.err | 2023 egrep -v '^ *\+' conftest.er1 >conftest.err |
2008 rm -f conftest.er1 | 2024 rm -f conftest.er1 |
2009 cat conftest.err >&5 | 2025 cat conftest.err >&5 |
2010 echo "$as_me:2010: \$? = $ac_status" >&5 | 2026 echo "$as_me:2026: \$? = $ac_status" >&5 |
2011 (exit $ac_status); } >/dev/null; then | 2027 (exit $ac_status); } >/dev/null; then |
2012 if test -s conftest.err; then | 2028 if test -s conftest.err; then |
2013 ac_cpp_err=$ac_c_preproc_warn_flag | 2029 ac_cpp_err=$ac_c_preproc_warn_flag |
2014 else | 2030 else |
2015 ac_cpp_err= | 2031 ac_cpp_err= |
2027 rm -f conftest.err conftest.$ac_ext | 2043 rm -f conftest.err conftest.$ac_ext |
2028 | 2044 |
2029 if test $ac_cv_header_stdc = yes; then | 2045 if test $ac_cv_header_stdc = yes; then |
2030 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2046 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2031 cat >conftest.$ac_ext <<_ACEOF | 2047 cat >conftest.$ac_ext <<_ACEOF |
2032 #line 2032 "configure" | 2048 #line 2048 "configure" |
2033 #include "confdefs.h" | 2049 #include "confdefs.h" |
2034 #include <string.h> | 2050 #include <string.h> |
2035 | 2051 |
2036 _ACEOF | 2052 _ACEOF |
2037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2045 fi | 2061 fi |
2046 | 2062 |
2047 if test $ac_cv_header_stdc = yes; then | 2063 if test $ac_cv_header_stdc = yes; then |
2048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2049 cat >conftest.$ac_ext <<_ACEOF | 2065 cat >conftest.$ac_ext <<_ACEOF |
2050 #line 2050 "configure" | 2066 #line 2066 "configure" |
2051 #include "confdefs.h" | 2067 #include "confdefs.h" |
2052 #include <stdlib.h> | 2068 #include <stdlib.h> |
2053 | 2069 |
2054 _ACEOF | 2070 _ACEOF |
2055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2067 if test "$cross_compiling" = yes; then | 2083 if test "$cross_compiling" = yes; then |
2068 : | 2084 : |
2069 else | 2085 else |
2070 cat >conftest.$ac_ext <<_ACEOF | 2086 cat >conftest.$ac_ext <<_ACEOF |
2071 #line 2071 "configure" | 2087 #line 2087 "configure" |
2072 #include "confdefs.h" | 2088 #include "confdefs.h" |
2073 #include <ctype.h> | 2089 #include <ctype.h> |
2074 #if ((' ' & 0x0FF) == 0x020) | 2090 #if ((' ' & 0x0FF) == 0x020) |
2075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2092 exit(2); | 2108 exit(2); |
2093 exit (0); | 2109 exit (0); |
2094 } | 2110 } |
2095 _ACEOF | 2111 _ACEOF |
2096 rm -f conftest$ac_exeext | 2112 rm -f conftest$ac_exeext |
2097 if { (eval echo "$as_me:2097: \"$ac_link\"") >&5 | 2113 if { (eval echo "$as_me:2113: \"$ac_link\"") >&5 |
2098 (eval $ac_link) 2>&5 | 2114 (eval $ac_link) 2>&5 |
2099 ac_status=$? | 2115 ac_status=$? |
2100 echo "$as_me:2100: \$? = $ac_status" >&5 | 2116 echo "$as_me:2116: \$? = $ac_status" >&5 |
2101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 2117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2102 { (eval echo "$as_me:2102: \"$ac_try\"") >&5 | 2118 { (eval echo "$as_me:2118: \"$ac_try\"") >&5 |
2103 (eval $ac_try) 2>&5 | 2119 (eval $ac_try) 2>&5 |
2104 ac_status=$? | 2120 ac_status=$? |
2105 echo "$as_me:2105: \$? = $ac_status" >&5 | 2121 echo "$as_me:2121: \$? = $ac_status" >&5 |
2106 (exit $ac_status); }; }; then | 2122 (exit $ac_status); }; }; then |
2107 : | 2123 : |
2108 else | 2124 else |
2109 echo "$as_me: program exited with status $ac_status" >&5 | 2125 echo "$as_me: program exited with status $ac_status" >&5 |
2110 echo "$as_me: failed program was:" >&5 | 2126 echo "$as_me: failed program was:" >&5 |
2111 cat conftest.$ac_ext >&5 | 2127 cat conftest.$ac_ext >&5 |
2112 ac_cv_header_stdc=no | 2128 ac_cv_header_stdc=no |
2113 fi | 2129 fi |
2114 rm -f conftest$ac_exeext conftest.$ac_ext | 2130 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2115 fi | 2131 fi |
2116 fi | 2132 fi |
2117 fi | 2133 fi |
2118 echo "$as_me:2118: result: $ac_cv_header_stdc" >&5 | 2134 echo "$as_me:2134: result: $ac_cv_header_stdc" >&5 |
2119 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 2135 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
2120 if test $ac_cv_header_stdc = yes; then | 2136 if test $ac_cv_header_stdc = yes; then |
2121 | 2137 |
2122 cat >>confdefs.h <<\EOF | 2138 cat >>confdefs.h <<\EOF |
2123 #define STDC_HEADERS 1 | 2139 #define STDC_HEADERS 1 |
2125 | 2141 |
2126 fi | 2142 fi |
2127 | 2143 |
2128 ac_header_dirent=no | 2144 ac_header_dirent=no |
2129 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 2145 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
2130 ac_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh` | 2146 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
2131 echo "$as_me:2131: checking for $ac_hdr that defines DIR" >&5 | 2147 echo "$as_me:2147: checking for $ac_hdr that defines DIR" >&5 |
2132 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 | 2148 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
2133 if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 2149 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
2134 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2135 else | 2151 else |
2136 cat >conftest.$ac_ext <<_ACEOF | 2152 cat >conftest.$ac_ext <<_ACEOF |
2137 #line 2137 "configure" | 2153 #line 2153 "configure" |
2138 #include "confdefs.h" | 2154 #include "confdefs.h" |
2139 #include <sys/types.h> | 2155 #include <sys/types.h> |
2140 #include <$ac_hdr> | 2156 #include <$ac_hdr> |
2141 | 2157 |
2142 int | 2158 int |
2143 main () | 2159 main () |
2144 { | 2160 { |
2145 DIR *dirp = 0; | 2161 if ((DIR *) 0) |
2162 return 0; | |
2146 ; | 2163 ; |
2147 return 0; | 2164 return 0; |
2148 } | 2165 } |
2149 _ACEOF | 2166 _ACEOF |
2150 rm -f conftest.$ac_objext | 2167 rm -f conftest.$ac_objext |
2151 if { (eval echo "$as_me:2151: \"$ac_compile\"") >&5 | 2168 if { (eval echo "$as_me:2168: \"$ac_compile\"") >&5 |
2152 (eval $ac_compile) 2>&5 | 2169 (eval $ac_compile) 2>&5 |
2153 ac_status=$? | 2170 ac_status=$? |
2154 echo "$as_me:2154: \$? = $ac_status" >&5 | 2171 echo "$as_me:2171: \$? = $ac_status" >&5 |
2155 (exit $ac_status); } && | 2172 (exit $ac_status); } && |
2156 { ac_try='test -s conftest.$ac_objext' | 2173 { ac_try='test -s conftest.$ac_objext' |
2157 { (eval echo "$as_me:2157: \"$ac_try\"") >&5 | 2174 { (eval echo "$as_me:2174: \"$ac_try\"") >&5 |
2158 (eval $ac_try) 2>&5 | 2175 (eval $ac_try) 2>&5 |
2159 ac_status=$? | 2176 ac_status=$? |
2160 echo "$as_me:2160: \$? = $ac_status" >&5 | 2177 echo "$as_me:2177: \$? = $ac_status" >&5 |
2161 (exit $ac_status); }; }; then | 2178 (exit $ac_status); }; }; then |
2162 eval "$ac_ac_Header=yes" | 2179 eval "$as_ac_Header=yes" |
2163 else | 2180 else |
2164 echo "$as_me: failed program was:" >&5 | 2181 echo "$as_me: failed program was:" >&5 |
2165 cat conftest.$ac_ext >&5 | 2182 cat conftest.$ac_ext >&5 |
2166 eval "$ac_ac_Header=no" | 2183 eval "$as_ac_Header=no" |
2167 fi | 2184 fi |
2168 rm -f conftest.$ac_objext conftest.$ac_ext | 2185 rm -f conftest.$ac_objext conftest.$ac_ext |
2169 fi | 2186 fi |
2170 echo "$as_me:2170: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 2187 echo "$as_me:2187: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
2171 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 2188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
2172 if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 2189 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2173 cat >>confdefs.h <<EOF | 2190 cat >>confdefs.h <<EOF |
2174 #define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1 | 2191 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
2175 EOF | 2192 EOF |
2176 | 2193 |
2177 ac_header_dirent=$ac_hdr; break | 2194 ac_header_dirent=$ac_hdr; break |
2178 fi | 2195 fi |
2179 | 2196 |
2180 done | 2197 done |
2181 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 2198 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
2182 if test $ac_header_dirent = dirent.h; then | 2199 if test $ac_header_dirent = dirent.h; then |
2183 echo "$as_me:2183: checking for opendir in -ldir" >&5 | 2200 echo "$as_me:2200: checking for opendir in -ldir" >&5 |
2184 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 | 2201 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 |
2185 if test "${ac_cv_lib_dir_opendir+set}" = set; then | 2202 if test "${ac_cv_lib_dir_opendir+set}" = set; then |
2186 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2203 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2187 else | 2204 else |
2188 ac_check_lib_save_LIBS=$LIBS | 2205 ac_check_lib_save_LIBS=$LIBS |
2189 LIBS="-ldir $LIBS" | 2206 LIBS="-ldir $LIBS" |
2190 cat >conftest.$ac_ext <<_ACEOF | 2207 cat >conftest.$ac_ext <<_ACEOF |
2191 #line 2191 "configure" | 2208 #line 2208 "configure" |
2192 #include "confdefs.h" | 2209 #include "confdefs.h" |
2193 | 2210 |
2194 /* Override any gcc2 internal prototype to avoid an error. */ | 2211 /* Override any gcc2 internal prototype to avoid an error. */ |
2195 #ifdef __cplusplus | 2212 #ifdef __cplusplus |
2196 extern "C" | 2213 extern "C" |
2205 ; | 2222 ; |
2206 return 0; | 2223 return 0; |
2207 } | 2224 } |
2208 _ACEOF | 2225 _ACEOF |
2209 rm -f conftest.$ac_objext conftest$ac_exeext | 2226 rm -f conftest.$ac_objext conftest$ac_exeext |
2210 if { (eval echo "$as_me:2210: \"$ac_link\"") >&5 | 2227 if { (eval echo "$as_me:2227: \"$ac_link\"") >&5 |
2211 (eval $ac_link) 2>&5 | 2228 (eval $ac_link) 2>&5 |
2212 ac_status=$? | 2229 ac_status=$? |
2213 echo "$as_me:2213: \$? = $ac_status" >&5 | 2230 echo "$as_me:2230: \$? = $ac_status" >&5 |
2214 (exit $ac_status); } && | 2231 (exit $ac_status); } && |
2215 { ac_try='test -s conftest$ac_exeext' | 2232 { ac_try='test -s conftest$ac_exeext' |
2216 { (eval echo "$as_me:2216: \"$ac_try\"") >&5 | 2233 { (eval echo "$as_me:2233: \"$ac_try\"") >&5 |
2217 (eval $ac_try) 2>&5 | 2234 (eval $ac_try) 2>&5 |
2218 ac_status=$? | 2235 ac_status=$? |
2219 echo "$as_me:2219: \$? = $ac_status" >&5 | 2236 echo "$as_me:2236: \$? = $ac_status" >&5 |
2220 (exit $ac_status); }; }; then | 2237 (exit $ac_status); }; }; then |
2221 ac_cv_lib_dir_opendir=yes | 2238 ac_cv_lib_dir_opendir=yes |
2222 else | 2239 else |
2223 echo "$as_me: failed program was:" >&5 | 2240 echo "$as_me: failed program was:" >&5 |
2224 cat conftest.$ac_ext >&5 | 2241 cat conftest.$ac_ext >&5 |
2225 ac_cv_lib_dir_opendir=no | 2242 ac_cv_lib_dir_opendir=no |
2226 fi | 2243 fi |
2227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2228 LIBS=$ac_check_lib_save_LIBS | 2245 LIBS=$ac_check_lib_save_LIBS |
2229 fi | 2246 fi |
2230 echo "$as_me:2230: result: $ac_cv_lib_dir_opendir" >&5 | 2247 echo "$as_me:2247: result: $ac_cv_lib_dir_opendir" >&5 |
2231 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 | 2248 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 |
2232 if test $ac_cv_lib_dir_opendir = yes; then | 2249 if test $ac_cv_lib_dir_opendir = yes; then |
2233 LIBS="$LIBS -ldir" | 2250 LIBS="$LIBS -ldir" |
2234 fi | 2251 fi |
2235 | 2252 |
2236 else | 2253 else |
2237 echo "$as_me:2237: checking for opendir in -lx" >&5 | 2254 echo "$as_me:2254: checking for opendir in -lx" >&5 |
2238 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 | 2255 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 |
2239 if test "${ac_cv_lib_x_opendir+set}" = set; then | 2256 if test "${ac_cv_lib_x_opendir+set}" = set; then |
2240 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2241 else | 2258 else |
2242 ac_check_lib_save_LIBS=$LIBS | 2259 ac_check_lib_save_LIBS=$LIBS |
2243 LIBS="-lx $LIBS" | 2260 LIBS="-lx $LIBS" |
2244 cat >conftest.$ac_ext <<_ACEOF | 2261 cat >conftest.$ac_ext <<_ACEOF |
2245 #line 2245 "configure" | 2262 #line 2262 "configure" |
2246 #include "confdefs.h" | 2263 #include "confdefs.h" |
2247 | 2264 |
2248 /* Override any gcc2 internal prototype to avoid an error. */ | 2265 /* Override any gcc2 internal prototype to avoid an error. */ |
2249 #ifdef __cplusplus | 2266 #ifdef __cplusplus |
2250 extern "C" | 2267 extern "C" |
2259 ; | 2276 ; |
2260 return 0; | 2277 return 0; |
2261 } | 2278 } |
2262 _ACEOF | 2279 _ACEOF |
2263 rm -f conftest.$ac_objext conftest$ac_exeext | 2280 rm -f conftest.$ac_objext conftest$ac_exeext |
2264 if { (eval echo "$as_me:2264: \"$ac_link\"") >&5 | 2281 if { (eval echo "$as_me:2281: \"$ac_link\"") >&5 |
2265 (eval $ac_link) 2>&5 | 2282 (eval $ac_link) 2>&5 |
2266 ac_status=$? | 2283 ac_status=$? |
2267 echo "$as_me:2267: \$? = $ac_status" >&5 | 2284 echo "$as_me:2284: \$? = $ac_status" >&5 |
2268 (exit $ac_status); } && | 2285 (exit $ac_status); } && |
2269 { ac_try='test -s conftest$ac_exeext' | 2286 { ac_try='test -s conftest$ac_exeext' |
2270 { (eval echo "$as_me:2270: \"$ac_try\"") >&5 | 2287 { (eval echo "$as_me:2287: \"$ac_try\"") >&5 |
2271 (eval $ac_try) 2>&5 | 2288 (eval $ac_try) 2>&5 |
2272 ac_status=$? | 2289 ac_status=$? |
2273 echo "$as_me:2273: \$? = $ac_status" >&5 | 2290 echo "$as_me:2290: \$? = $ac_status" >&5 |
2274 (exit $ac_status); }; }; then | 2291 (exit $ac_status); }; }; then |
2275 ac_cv_lib_x_opendir=yes | 2292 ac_cv_lib_x_opendir=yes |
2276 else | 2293 else |
2277 echo "$as_me: failed program was:" >&5 | 2294 echo "$as_me: failed program was:" >&5 |
2278 cat conftest.$ac_ext >&5 | 2295 cat conftest.$ac_ext >&5 |
2279 ac_cv_lib_x_opendir=no | 2296 ac_cv_lib_x_opendir=no |
2280 fi | 2297 fi |
2281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2282 LIBS=$ac_check_lib_save_LIBS | 2299 LIBS=$ac_check_lib_save_LIBS |
2283 fi | 2300 fi |
2284 echo "$as_me:2284: result: $ac_cv_lib_x_opendir" >&5 | 2301 echo "$as_me:2301: result: $ac_cv_lib_x_opendir" >&5 |
2285 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 | 2302 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 |
2286 if test $ac_cv_lib_x_opendir = yes; then | 2303 if test $ac_cv_lib_x_opendir = yes; then |
2287 LIBS="$LIBS -lx" | 2304 LIBS="$LIBS -lx" |
2288 fi | 2305 fi |
2289 | 2306 |
2290 fi | 2307 fi |
2291 | 2308 |
2292 for ac_header in unistd.h | 2309 for ac_header in unistd.h |
2293 do | 2310 do |
2294 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 2311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
2295 echo "$as_me:2295: checking for $ac_header" >&5 | 2312 echo "$as_me:2312: checking for $ac_header" >&5 |
2296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 2313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2297 if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 2314 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
2298 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2315 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2299 else | 2316 else |
2300 cat >conftest.$ac_ext <<_ACEOF | 2317 cat >conftest.$ac_ext <<_ACEOF |
2301 #line 2301 "configure" | 2318 #line 2318 "configure" |
2302 #include "confdefs.h" | 2319 #include "confdefs.h" |
2303 #include <$ac_header> | 2320 #include <$ac_header> |
2304 _ACEOF | 2321 _ACEOF |
2305 if { (eval echo "$as_me:2305: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2322 if { (eval echo "$as_me:2322: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2307 ac_status=$? | 2324 ac_status=$? |
2308 egrep -v '^ *\+' conftest.er1 >conftest.err | 2325 egrep -v '^ *\+' conftest.er1 >conftest.err |
2309 rm -f conftest.er1 | 2326 rm -f conftest.er1 |
2310 cat conftest.err >&5 | 2327 cat conftest.err >&5 |
2311 echo "$as_me:2311: \$? = $ac_status" >&5 | 2328 echo "$as_me:2328: \$? = $ac_status" >&5 |
2312 (exit $ac_status); } >/dev/null; then | 2329 (exit $ac_status); } >/dev/null; then |
2313 if test -s conftest.err; then | 2330 if test -s conftest.err; then |
2314 ac_cpp_err=$ac_c_preproc_warn_flag | 2331 ac_cpp_err=$ac_c_preproc_warn_flag |
2315 else | 2332 else |
2316 ac_cpp_err= | 2333 ac_cpp_err= |
2317 fi | 2334 fi |
2318 else | 2335 else |
2319 ac_cpp_err=yes | 2336 ac_cpp_err=yes |
2320 fi | 2337 fi |
2321 if test -z "$ac_cpp_err"; then | 2338 if test -z "$ac_cpp_err"; then |
2322 eval "$ac_ac_Header=yes" | 2339 eval "$as_ac_Header=yes" |
2323 else | 2340 else |
2324 echo "$as_me: failed program was:" >&5 | 2341 echo "$as_me: failed program was:" >&5 |
2325 cat conftest.$ac_ext >&5 | 2342 cat conftest.$ac_ext >&5 |
2326 eval "$ac_ac_Header=no" | 2343 eval "$as_ac_Header=no" |
2327 fi | 2344 fi |
2328 rm -f conftest.err conftest.$ac_ext | 2345 rm -f conftest.err conftest.$ac_ext |
2329 fi | 2346 fi |
2330 echo "$as_me:2330: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 2347 echo "$as_me:2347: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
2331 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 2348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
2332 if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 2349 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2333 cat >>confdefs.h <<EOF | 2350 cat >>confdefs.h <<EOF |
2334 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 2351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2335 EOF | 2352 EOF |
2336 | 2353 |
2337 fi | 2354 fi |
2338 done | 2355 done |
2339 | 2356 |
2340 for ac_header in sys/stat.h | 2357 for ac_header in sys/stat.h |
2341 do | 2358 do |
2342 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 2359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
2343 echo "$as_me:2343: checking for $ac_header" >&5 | 2360 echo "$as_me:2360: checking for $ac_header" >&5 |
2344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 2361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2345 if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 2362 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
2346 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2363 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2347 else | 2364 else |
2348 cat >conftest.$ac_ext <<_ACEOF | 2365 cat >conftest.$ac_ext <<_ACEOF |
2349 #line 2349 "configure" | 2366 #line 2366 "configure" |
2350 #include "confdefs.h" | 2367 #include "confdefs.h" |
2351 #include <$ac_header> | 2368 #include <$ac_header> |
2352 _ACEOF | 2369 _ACEOF |
2353 if { (eval echo "$as_me:2353: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2370 if { (eval echo "$as_me:2370: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2355 ac_status=$? | 2372 ac_status=$? |
2356 egrep -v '^ *\+' conftest.er1 >conftest.err | 2373 egrep -v '^ *\+' conftest.er1 >conftest.err |
2357 rm -f conftest.er1 | 2374 rm -f conftest.er1 |
2358 cat conftest.err >&5 | 2375 cat conftest.err >&5 |
2359 echo "$as_me:2359: \$? = $ac_status" >&5 | 2376 echo "$as_me:2376: \$? = $ac_status" >&5 |
2360 (exit $ac_status); } >/dev/null; then | 2377 (exit $ac_status); } >/dev/null; then |
2361 if test -s conftest.err; then | 2378 if test -s conftest.err; then |
2362 ac_cpp_err=$ac_c_preproc_warn_flag | 2379 ac_cpp_err=$ac_c_preproc_warn_flag |
2363 else | 2380 else |
2364 ac_cpp_err= | 2381 ac_cpp_err= |
2365 fi | 2382 fi |
2366 else | 2383 else |
2367 ac_cpp_err=yes | 2384 ac_cpp_err=yes |
2368 fi | 2385 fi |
2369 if test -z "$ac_cpp_err"; then | 2386 if test -z "$ac_cpp_err"; then |
2370 eval "$ac_ac_Header=yes" | 2387 eval "$as_ac_Header=yes" |
2371 else | 2388 else |
2372 echo "$as_me: failed program was:" >&5 | 2389 echo "$as_me: failed program was:" >&5 |
2373 cat conftest.$ac_ext >&5 | 2390 cat conftest.$ac_ext >&5 |
2374 eval "$ac_ac_Header=no" | 2391 eval "$as_ac_Header=no" |
2375 fi | 2392 fi |
2376 rm -f conftest.err conftest.$ac_ext | 2393 rm -f conftest.err conftest.$ac_ext |
2377 fi | 2394 fi |
2378 echo "$as_me:2378: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 2395 echo "$as_me:2395: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
2379 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 2396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
2380 if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 2397 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2381 cat >>confdefs.h <<EOF | 2398 cat >>confdefs.h <<EOF |
2382 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 2399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2383 EOF | 2400 EOF |
2384 | 2401 |
2385 fi | 2402 fi |
2386 done | 2403 done |
2387 | 2404 |
2388 for ac_func in pipe | 2405 for ac_func in pipe |
2389 do | 2406 do |
2390 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 2407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
2391 echo "$as_me:2391: checking for $ac_func" >&5 | 2408 echo "$as_me:2408: checking for $ac_func" >&5 |
2392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 2409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2393 if eval "test \"\${$ac_ac_var+set}\" = set"; then | 2410 if eval "test \"\${$as_ac_var+set}\" = set"; then |
2394 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2411 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2395 else | 2412 else |
2396 cat >conftest.$ac_ext <<_ACEOF | 2413 cat >conftest.$ac_ext <<_ACEOF |
2397 #line 2397 "configure" | 2414 #line 2414 "configure" |
2398 #include "confdefs.h" | 2415 #include "confdefs.h" |
2399 /* System header to define __stub macros and hopefully few prototypes, | 2416 /* System header to define __stub macros and hopefully few prototypes, |
2400 which can conflict with char $ac_func (); below. */ | 2417 which can conflict with char $ac_func (); below. */ |
2401 #include <assert.h> | 2418 #include <assert.h> |
2402 /* Override any gcc2 internal prototype to avoid an error. */ | 2419 /* Override any gcc2 internal prototype to avoid an error. */ |
2423 ; | 2440 ; |
2424 return 0; | 2441 return 0; |
2425 } | 2442 } |
2426 _ACEOF | 2443 _ACEOF |
2427 rm -f conftest.$ac_objext conftest$ac_exeext | 2444 rm -f conftest.$ac_objext conftest$ac_exeext |
2428 if { (eval echo "$as_me:2428: \"$ac_link\"") >&5 | 2445 if { (eval echo "$as_me:2445: \"$ac_link\"") >&5 |
2429 (eval $ac_link) 2>&5 | 2446 (eval $ac_link) 2>&5 |
2430 ac_status=$? | 2447 ac_status=$? |
2431 echo "$as_me:2431: \$? = $ac_status" >&5 | 2448 echo "$as_me:2448: \$? = $ac_status" >&5 |
2432 (exit $ac_status); } && | 2449 (exit $ac_status); } && |
2433 { ac_try='test -s conftest$ac_exeext' | 2450 { ac_try='test -s conftest$ac_exeext' |
2434 { (eval echo "$as_me:2434: \"$ac_try\"") >&5 | 2451 { (eval echo "$as_me:2451: \"$ac_try\"") >&5 |
2435 (eval $ac_try) 2>&5 | 2452 (eval $ac_try) 2>&5 |
2436 ac_status=$? | 2453 ac_status=$? |
2437 echo "$as_me:2437: \$? = $ac_status" >&5 | 2454 echo "$as_me:2454: \$? = $ac_status" >&5 |
2438 (exit $ac_status); }; }; then | 2455 (exit $ac_status); }; }; then |
2439 eval "$ac_ac_var=yes" | 2456 eval "$as_ac_var=yes" |
2440 else | 2457 else |
2441 echo "$as_me: failed program was:" >&5 | 2458 echo "$as_me: failed program was:" >&5 |
2442 cat conftest.$ac_ext >&5 | 2459 cat conftest.$ac_ext >&5 |
2443 eval "$ac_ac_var=no" | 2460 eval "$as_ac_var=no" |
2444 fi | 2461 fi |
2445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2446 fi | 2463 fi |
2447 echo "$as_me:2447: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 2464 echo "$as_me:2464: result: `eval echo '${'$as_ac_var'}'`" >&5 |
2448 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 2465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
2449 if test `eval echo '${'$ac_ac_var'}'` = yes; then | 2466 if test `eval echo '${'$as_ac_var'}'` = yes; then |
2450 cat >>confdefs.h <<EOF | 2467 cat >>confdefs.h <<EOF |
2451 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 2468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
2452 EOF | 2469 EOF |
2453 | 2470 |
2454 cat >>confdefs.h <<\EOF | 2471 cat >>confdefs.h <<\EOF |
2455 #define HAVE_PIPE 1 | 2472 #define HAVE_PIPE 1 |
2456 EOF | 2473 EOF |
2458 fi | 2475 fi |
2459 done | 2476 done |
2460 | 2477 |
2461 for ac_func in connect | 2478 for ac_func in connect |
2462 do | 2479 do |
2463 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 2480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
2464 echo "$as_me:2464: checking for $ac_func" >&5 | 2481 echo "$as_me:2481: checking for $ac_func" >&5 |
2465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 2482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2466 if eval "test \"\${$ac_ac_var+set}\" = set"; then | 2483 if eval "test \"\${$as_ac_var+set}\" = set"; then |
2467 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2484 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2468 else | 2485 else |
2469 cat >conftest.$ac_ext <<_ACEOF | 2486 cat >conftest.$ac_ext <<_ACEOF |
2470 #line 2470 "configure" | 2487 #line 2487 "configure" |
2471 #include "confdefs.h" | 2488 #include "confdefs.h" |
2472 /* System header to define __stub macros and hopefully few prototypes, | 2489 /* System header to define __stub macros and hopefully few prototypes, |
2473 which can conflict with char $ac_func (); below. */ | 2490 which can conflict with char $ac_func (); below. */ |
2474 #include <assert.h> | 2491 #include <assert.h> |
2475 /* Override any gcc2 internal prototype to avoid an error. */ | 2492 /* Override any gcc2 internal prototype to avoid an error. */ |
2496 ; | 2513 ; |
2497 return 0; | 2514 return 0; |
2498 } | 2515 } |
2499 _ACEOF | 2516 _ACEOF |
2500 rm -f conftest.$ac_objext conftest$ac_exeext | 2517 rm -f conftest.$ac_objext conftest$ac_exeext |
2501 if { (eval echo "$as_me:2501: \"$ac_link\"") >&5 | 2518 if { (eval echo "$as_me:2518: \"$ac_link\"") >&5 |
2502 (eval $ac_link) 2>&5 | 2519 (eval $ac_link) 2>&5 |
2503 ac_status=$? | 2520 ac_status=$? |
2504 echo "$as_me:2504: \$? = $ac_status" >&5 | 2521 echo "$as_me:2521: \$? = $ac_status" >&5 |
2505 (exit $ac_status); } && | 2522 (exit $ac_status); } && |
2506 { ac_try='test -s conftest$ac_exeext' | 2523 { ac_try='test -s conftest$ac_exeext' |
2507 { (eval echo "$as_me:2507: \"$ac_try\"") >&5 | 2524 { (eval echo "$as_me:2524: \"$ac_try\"") >&5 |
2508 (eval $ac_try) 2>&5 | 2525 (eval $ac_try) 2>&5 |
2509 ac_status=$? | 2526 ac_status=$? |
2510 echo "$as_me:2510: \$? = $ac_status" >&5 | 2527 echo "$as_me:2527: \$? = $ac_status" >&5 |
2511 (exit $ac_status); }; }; then | 2528 (exit $ac_status); }; }; then |
2512 eval "$ac_ac_var=yes" | 2529 eval "$as_ac_var=yes" |
2513 else | 2530 else |
2514 echo "$as_me: failed program was:" >&5 | 2531 echo "$as_me: failed program was:" >&5 |
2515 cat conftest.$ac_ext >&5 | 2532 cat conftest.$ac_ext >&5 |
2516 eval "$ac_ac_var=no" | 2533 eval "$as_ac_var=no" |
2517 fi | 2534 fi |
2518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2519 fi | 2536 fi |
2520 echo "$as_me:2520: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 2537 echo "$as_me:2537: result: `eval echo '${'$as_ac_var'}'`" >&5 |
2521 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 2538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
2522 if test `eval echo '${'$ac_ac_var'}'` = yes; then | 2539 if test `eval echo '${'$as_ac_var'}'` = yes; then |
2523 cat >>confdefs.h <<EOF | 2540 cat >>confdefs.h <<EOF |
2524 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 2541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
2525 EOF | 2542 EOF |
2526 | 2543 |
2527 fi | 2544 fi |
2528 done | 2545 done |
2529 | 2546 |
2530 if test x"$ac_cv_func_connect" = x"no"; then | 2547 if test x"$ac_cv_func_connect" = x"no"; then |
2531 if test -z "$libsocket"; then | 2548 if test -z "$libsocket"; then |
2532 echo "$as_me:2532: checking for socket in -lsocket" >&5 | 2549 echo "$as_me:2549: checking for socket in -lsocket" >&5 |
2533 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 | 2550 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
2534 if test "${ac_cv_lib_socket_socket+set}" = set; then | 2551 if test "${ac_cv_lib_socket_socket+set}" = set; then |
2535 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2552 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2536 else | 2553 else |
2537 ac_check_lib_save_LIBS=$LIBS | 2554 ac_check_lib_save_LIBS=$LIBS |
2538 LIBS="-lsocket $LIBS" | 2555 LIBS="-lsocket $LIBS" |
2539 cat >conftest.$ac_ext <<_ACEOF | 2556 cat >conftest.$ac_ext <<_ACEOF |
2540 #line 2540 "configure" | 2557 #line 2557 "configure" |
2541 #include "confdefs.h" | 2558 #include "confdefs.h" |
2542 | 2559 |
2543 /* Override any gcc2 internal prototype to avoid an error. */ | 2560 /* Override any gcc2 internal prototype to avoid an error. */ |
2544 #ifdef __cplusplus | 2561 #ifdef __cplusplus |
2545 extern "C" | 2562 extern "C" |
2554 ; | 2571 ; |
2555 return 0; | 2572 return 0; |
2556 } | 2573 } |
2557 _ACEOF | 2574 _ACEOF |
2558 rm -f conftest.$ac_objext conftest$ac_exeext | 2575 rm -f conftest.$ac_objext conftest$ac_exeext |
2559 if { (eval echo "$as_me:2559: \"$ac_link\"") >&5 | 2576 if { (eval echo "$as_me:2576: \"$ac_link\"") >&5 |
2560 (eval $ac_link) 2>&5 | 2577 (eval $ac_link) 2>&5 |
2561 ac_status=$? | 2578 ac_status=$? |
2562 echo "$as_me:2562: \$? = $ac_status" >&5 | 2579 echo "$as_me:2579: \$? = $ac_status" >&5 |
2563 (exit $ac_status); } && | 2580 (exit $ac_status); } && |
2564 { ac_try='test -s conftest$ac_exeext' | 2581 { ac_try='test -s conftest$ac_exeext' |
2565 { (eval echo "$as_me:2565: \"$ac_try\"") >&5 | 2582 { (eval echo "$as_me:2582: \"$ac_try\"") >&5 |
2566 (eval $ac_try) 2>&5 | 2583 (eval $ac_try) 2>&5 |
2567 ac_status=$? | 2584 ac_status=$? |
2568 echo "$as_me:2568: \$? = $ac_status" >&5 | 2585 echo "$as_me:2585: \$? = $ac_status" >&5 |
2569 (exit $ac_status); }; }; then | 2586 (exit $ac_status); }; }; then |
2570 ac_cv_lib_socket_socket=yes | 2587 ac_cv_lib_socket_socket=yes |
2571 else | 2588 else |
2572 echo "$as_me: failed program was:" >&5 | 2589 echo "$as_me: failed program was:" >&5 |
2573 cat conftest.$ac_ext >&5 | 2590 cat conftest.$ac_ext >&5 |
2574 ac_cv_lib_socket_socket=no | 2591 ac_cv_lib_socket_socket=no |
2575 fi | 2592 fi |
2576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2577 LIBS=$ac_check_lib_save_LIBS | 2594 LIBS=$ac_check_lib_save_LIBS |
2578 fi | 2595 fi |
2579 echo "$as_me:2579: result: $ac_cv_lib_socket_socket" >&5 | 2596 echo "$as_me:2596: result: $ac_cv_lib_socket_socket" >&5 |
2580 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 | 2597 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
2581 if test $ac_cv_lib_socket_socket = yes; then | 2598 if test $ac_cv_lib_socket_socket = yes; then |
2582 LIBS="$LIBS -lsocket" | 2599 LIBS="$LIBS -lsocket" |
2583 fi | 2600 fi |
2584 | 2601 |
2585 fi | 2602 fi |
2586 | 2603 |
2587 if test -z "$libinet"; then | 2604 if test -z "$libinet"; then |
2588 echo "$as_me:2588: checking for socket in -linet" >&5 | 2605 echo "$as_me:2605: checking for socket in -linet" >&5 |
2589 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 | 2606 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
2590 if test "${ac_cv_lib_inet_socket+set}" = set; then | 2607 if test "${ac_cv_lib_inet_socket+set}" = set; then |
2591 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2608 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2592 else | 2609 else |
2593 ac_check_lib_save_LIBS=$LIBS | 2610 ac_check_lib_save_LIBS=$LIBS |
2594 LIBS="-linet $LIBS" | 2611 LIBS="-linet $LIBS" |
2595 cat >conftest.$ac_ext <<_ACEOF | 2612 cat >conftest.$ac_ext <<_ACEOF |
2596 #line 2596 "configure" | 2613 #line 2613 "configure" |
2597 #include "confdefs.h" | 2614 #include "confdefs.h" |
2598 | 2615 |
2599 /* Override any gcc2 internal prototype to avoid an error. */ | 2616 /* Override any gcc2 internal prototype to avoid an error. */ |
2600 #ifdef __cplusplus | 2617 #ifdef __cplusplus |
2601 extern "C" | 2618 extern "C" |
2610 ; | 2627 ; |
2611 return 0; | 2628 return 0; |
2612 } | 2629 } |
2613 _ACEOF | 2630 _ACEOF |
2614 rm -f conftest.$ac_objext conftest$ac_exeext | 2631 rm -f conftest.$ac_objext conftest$ac_exeext |
2615 if { (eval echo "$as_me:2615: \"$ac_link\"") >&5 | 2632 if { (eval echo "$as_me:2632: \"$ac_link\"") >&5 |
2616 (eval $ac_link) 2>&5 | 2633 (eval $ac_link) 2>&5 |
2617 ac_status=$? | 2634 ac_status=$? |
2618 echo "$as_me:2618: \$? = $ac_status" >&5 | 2635 echo "$as_me:2635: \$? = $ac_status" >&5 |
2619 (exit $ac_status); } && | 2636 (exit $ac_status); } && |
2620 { ac_try='test -s conftest$ac_exeext' | 2637 { ac_try='test -s conftest$ac_exeext' |
2621 { (eval echo "$as_me:2621: \"$ac_try\"") >&5 | 2638 { (eval echo "$as_me:2638: \"$ac_try\"") >&5 |
2622 (eval $ac_try) 2>&5 | 2639 (eval $ac_try) 2>&5 |
2623 ac_status=$? | 2640 ac_status=$? |
2624 echo "$as_me:2624: \$? = $ac_status" >&5 | 2641 echo "$as_me:2641: \$? = $ac_status" >&5 |
2625 (exit $ac_status); }; }; then | 2642 (exit $ac_status); }; }; then |
2626 ac_cv_lib_inet_socket=yes | 2643 ac_cv_lib_inet_socket=yes |
2627 else | 2644 else |
2628 echo "$as_me: failed program was:" >&5 | 2645 echo "$as_me: failed program was:" >&5 |
2629 cat conftest.$ac_ext >&5 | 2646 cat conftest.$ac_ext >&5 |
2630 ac_cv_lib_inet_socket=no | 2647 ac_cv_lib_inet_socket=no |
2631 fi | 2648 fi |
2632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2633 LIBS=$ac_check_lib_save_LIBS | 2650 LIBS=$ac_check_lib_save_LIBS |
2634 fi | 2651 fi |
2635 echo "$as_me:2635: result: $ac_cv_lib_inet_socket" >&5 | 2652 echo "$as_me:2652: result: $ac_cv_lib_inet_socket" >&5 |
2636 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 | 2653 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
2637 if test $ac_cv_lib_inet_socket = yes; then | 2654 if test $ac_cv_lib_inet_socket = yes; then |
2638 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 2655 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
2639 fi | 2656 fi |
2640 | 2657 |
2641 fi | 2658 fi |
2642 | 2659 |
2643 if test -z "$libnsl"; then | 2660 if test -z "$libnsl"; then |
2644 echo "$as_me:2644: checking for gethostname in -lnsl" >&5 | 2661 echo "$as_me:2661: checking for gethostname in -lnsl" >&5 |
2645 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 | 2662 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 |
2646 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | 2663 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then |
2647 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2664 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2648 else | 2665 else |
2649 ac_check_lib_save_LIBS=$LIBS | 2666 ac_check_lib_save_LIBS=$LIBS |
2650 LIBS="-lnsl $LIBS" | 2667 LIBS="-lnsl $LIBS" |
2651 cat >conftest.$ac_ext <<_ACEOF | 2668 cat >conftest.$ac_ext <<_ACEOF |
2652 #line 2652 "configure" | 2669 #line 2669 "configure" |
2653 #include "confdefs.h" | 2670 #include "confdefs.h" |
2654 | 2671 |
2655 /* Override any gcc2 internal prototype to avoid an error. */ | 2672 /* Override any gcc2 internal prototype to avoid an error. */ |
2656 #ifdef __cplusplus | 2673 #ifdef __cplusplus |
2657 extern "C" | 2674 extern "C" |
2666 ; | 2683 ; |
2667 return 0; | 2684 return 0; |
2668 } | 2685 } |
2669 _ACEOF | 2686 _ACEOF |
2670 rm -f conftest.$ac_objext conftest$ac_exeext | 2687 rm -f conftest.$ac_objext conftest$ac_exeext |
2671 if { (eval echo "$as_me:2671: \"$ac_link\"") >&5 | 2688 if { (eval echo "$as_me:2688: \"$ac_link\"") >&5 |
2672 (eval $ac_link) 2>&5 | 2689 (eval $ac_link) 2>&5 |
2673 ac_status=$? | 2690 ac_status=$? |
2674 echo "$as_me:2674: \$? = $ac_status" >&5 | 2691 echo "$as_me:2691: \$? = $ac_status" >&5 |
2675 (exit $ac_status); } && | 2692 (exit $ac_status); } && |
2676 { ac_try='test -s conftest$ac_exeext' | 2693 { ac_try='test -s conftest$ac_exeext' |
2677 { (eval echo "$as_me:2677: \"$ac_try\"") >&5 | 2694 { (eval echo "$as_me:2694: \"$ac_try\"") >&5 |
2678 (eval $ac_try) 2>&5 | 2695 (eval $ac_try) 2>&5 |
2679 ac_status=$? | 2696 ac_status=$? |
2680 echo "$as_me:2680: \$? = $ac_status" >&5 | 2697 echo "$as_me:2697: \$? = $ac_status" >&5 |
2681 (exit $ac_status); }; }; then | 2698 (exit $ac_status); }; }; then |
2682 ac_cv_lib_nsl_gethostname=yes | 2699 ac_cv_lib_nsl_gethostname=yes |
2683 else | 2700 else |
2684 echo "$as_me: failed program was:" >&5 | 2701 echo "$as_me: failed program was:" >&5 |
2685 cat conftest.$ac_ext >&5 | 2702 cat conftest.$ac_ext >&5 |
2686 ac_cv_lib_nsl_gethostname=no | 2703 ac_cv_lib_nsl_gethostname=no |
2687 fi | 2704 fi |
2688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2689 LIBS=$ac_check_lib_save_LIBS | 2706 LIBS=$ac_check_lib_save_LIBS |
2690 fi | 2707 fi |
2691 echo "$as_me:2691: result: $ac_cv_lib_nsl_gethostname" >&5 | 2708 echo "$as_me:2708: result: $ac_cv_lib_nsl_gethostname" >&5 |
2692 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 | 2709 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 |
2693 if test $ac_cv_lib_nsl_gethostname = yes; then | 2710 if test $ac_cv_lib_nsl_gethostname = yes; then |
2694 LIBS="$LIBS -lnsl" | 2711 LIBS="$LIBS -lnsl" |
2695 fi | 2712 fi |
2696 | 2713 |
2697 fi | 2714 fi |
2698 fi | 2715 fi |
2699 | 2716 |
2700 echo "$as_me:2700: checking for getpwnam in -lsun" >&5 | 2717 echo "$as_me:2717: checking for getpwnam in -lsun" >&5 |
2701 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 | 2718 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 |
2702 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | 2719 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then |
2703 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2720 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2704 else | 2721 else |
2705 ac_check_lib_save_LIBS=$LIBS | 2722 ac_check_lib_save_LIBS=$LIBS |
2706 LIBS="-lsun $LIBS" | 2723 LIBS="-lsun $LIBS" |
2707 cat >conftest.$ac_ext <<_ACEOF | 2724 cat >conftest.$ac_ext <<_ACEOF |
2708 #line 2708 "configure" | 2725 #line 2725 "configure" |
2709 #include "confdefs.h" | 2726 #include "confdefs.h" |
2710 | 2727 |
2711 /* Override any gcc2 internal prototype to avoid an error. */ | 2728 /* Override any gcc2 internal prototype to avoid an error. */ |
2712 #ifdef __cplusplus | 2729 #ifdef __cplusplus |
2713 extern "C" | 2730 extern "C" |
2722 ; | 2739 ; |
2723 return 0; | 2740 return 0; |
2724 } | 2741 } |
2725 _ACEOF | 2742 _ACEOF |
2726 rm -f conftest.$ac_objext conftest$ac_exeext | 2743 rm -f conftest.$ac_objext conftest$ac_exeext |
2727 if { (eval echo "$as_me:2727: \"$ac_link\"") >&5 | 2744 if { (eval echo "$as_me:2744: \"$ac_link\"") >&5 |
2728 (eval $ac_link) 2>&5 | 2745 (eval $ac_link) 2>&5 |
2729 ac_status=$? | 2746 ac_status=$? |
2730 echo "$as_me:2730: \$? = $ac_status" >&5 | 2747 echo "$as_me:2747: \$? = $ac_status" >&5 |
2731 (exit $ac_status); } && | 2748 (exit $ac_status); } && |
2732 { ac_try='test -s conftest$ac_exeext' | 2749 { ac_try='test -s conftest$ac_exeext' |
2733 { (eval echo "$as_me:2733: \"$ac_try\"") >&5 | 2750 { (eval echo "$as_me:2750: \"$ac_try\"") >&5 |
2734 (eval $ac_try) 2>&5 | 2751 (eval $ac_try) 2>&5 |
2735 ac_status=$? | 2752 ac_status=$? |
2736 echo "$as_me:2736: \$? = $ac_status" >&5 | 2753 echo "$as_me:2753: \$? = $ac_status" >&5 |
2737 (exit $ac_status); }; }; then | 2754 (exit $ac_status); }; }; then |
2738 ac_cv_lib_sun_getpwnam=yes | 2755 ac_cv_lib_sun_getpwnam=yes |
2739 else | 2756 else |
2740 echo "$as_me: failed program was:" >&5 | 2757 echo "$as_me: failed program was:" >&5 |
2741 cat conftest.$ac_ext >&5 | 2758 cat conftest.$ac_ext >&5 |
2742 ac_cv_lib_sun_getpwnam=no | 2759 ac_cv_lib_sun_getpwnam=no |
2743 fi | 2760 fi |
2744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2745 LIBS=$ac_check_lib_save_LIBS | 2762 LIBS=$ac_check_lib_save_LIBS |
2746 fi | 2763 fi |
2747 echo "$as_me:2747: result: $ac_cv_lib_sun_getpwnam" >&5 | 2764 echo "$as_me:2764: result: $ac_cv_lib_sun_getpwnam" >&5 |
2748 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 | 2765 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 |
2749 if test $ac_cv_lib_sun_getpwnam = yes; then | 2766 if test $ac_cv_lib_sun_getpwnam = yes; then |
2750 LIBS="$LIBS -lsun" | 2767 LIBS="$LIBS -lsun" |
2751 fi | 2768 fi |
2752 | 2769 |
2753 echo "$as_me:2753: checking for inet_addr in -ldgc" >&5 | 2770 echo "$as_me:2770: checking for inet_addr in -ldgc" >&5 |
2754 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 | 2771 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 |
2755 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | 2772 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then |
2756 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2773 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2757 else | 2774 else |
2758 ac_check_lib_save_LIBS=$LIBS | 2775 ac_check_lib_save_LIBS=$LIBS |
2759 LIBS="-ldgc $LIBS" | 2776 LIBS="-ldgc $LIBS" |
2760 cat >conftest.$ac_ext <<_ACEOF | 2777 cat >conftest.$ac_ext <<_ACEOF |
2761 #line 2761 "configure" | 2778 #line 2778 "configure" |
2762 #include "confdefs.h" | 2779 #include "confdefs.h" |
2763 | 2780 |
2764 /* Override any gcc2 internal prototype to avoid an error. */ | 2781 /* Override any gcc2 internal prototype to avoid an error. */ |
2765 #ifdef __cplusplus | 2782 #ifdef __cplusplus |
2766 extern "C" | 2783 extern "C" |
2775 ; | 2792 ; |
2776 return 0; | 2793 return 0; |
2777 } | 2794 } |
2778 _ACEOF | 2795 _ACEOF |
2779 rm -f conftest.$ac_objext conftest$ac_exeext | 2796 rm -f conftest.$ac_objext conftest$ac_exeext |
2780 if { (eval echo "$as_me:2780: \"$ac_link\"") >&5 | 2797 if { (eval echo "$as_me:2797: \"$ac_link\"") >&5 |
2781 (eval $ac_link) 2>&5 | 2798 (eval $ac_link) 2>&5 |
2782 ac_status=$? | 2799 ac_status=$? |
2783 echo "$as_me:2783: \$? = $ac_status" >&5 | 2800 echo "$as_me:2800: \$? = $ac_status" >&5 |
2784 (exit $ac_status); } && | 2801 (exit $ac_status); } && |
2785 { ac_try='test -s conftest$ac_exeext' | 2802 { ac_try='test -s conftest$ac_exeext' |
2786 { (eval echo "$as_me:2786: \"$ac_try\"") >&5 | 2803 { (eval echo "$as_me:2803: \"$ac_try\"") >&5 |
2787 (eval $ac_try) 2>&5 | 2804 (eval $ac_try) 2>&5 |
2788 ac_status=$? | 2805 ac_status=$? |
2789 echo "$as_me:2789: \$? = $ac_status" >&5 | 2806 echo "$as_me:2806: \$? = $ac_status" >&5 |
2790 (exit $ac_status); }; }; then | 2807 (exit $ac_status); }; }; then |
2791 ac_cv_lib_dgc_inet_addr=yes | 2808 ac_cv_lib_dgc_inet_addr=yes |
2792 else | 2809 else |
2793 echo "$as_me: failed program was:" >&5 | 2810 echo "$as_me: failed program was:" >&5 |
2794 cat conftest.$ac_ext >&5 | 2811 cat conftest.$ac_ext >&5 |
2795 ac_cv_lib_dgc_inet_addr=no | 2812 ac_cv_lib_dgc_inet_addr=no |
2796 fi | 2813 fi |
2797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2798 LIBS=$ac_check_lib_save_LIBS | 2815 LIBS=$ac_check_lib_save_LIBS |
2799 fi | 2816 fi |
2800 echo "$as_me:2800: result: $ac_cv_lib_dgc_inet_addr" >&5 | 2817 echo "$as_me:2817: result: $ac_cv_lib_dgc_inet_addr" >&5 |
2801 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 | 2818 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 |
2802 if test $ac_cv_lib_dgc_inet_addr = yes; then | 2819 if test $ac_cv_lib_dgc_inet_addr = yes; then |
2803 LIBS="$LIBS -ldgc" | 2820 LIBS="$LIBS -ldgc" |
2804 fi | 2821 fi |
2805 | 2822 |
2806 echo "$as_me:2806: checking for gethostbyname in -lresolv" >&5 | 2823 echo "$as_me:2823: checking for gethostbyname in -lresolv" >&5 |
2807 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 | 2824 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 |
2808 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | 2825 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then |
2809 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2826 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2810 else | 2827 else |
2811 ac_check_lib_save_LIBS=$LIBS | 2828 ac_check_lib_save_LIBS=$LIBS |
2812 LIBS="-lresolv $LIBS" | 2829 LIBS="-lresolv $LIBS" |
2813 cat >conftest.$ac_ext <<_ACEOF | 2830 cat >conftest.$ac_ext <<_ACEOF |
2814 #line 2814 "configure" | 2831 #line 2831 "configure" |
2815 #include "confdefs.h" | 2832 #include "confdefs.h" |
2816 | 2833 |
2817 /* Override any gcc2 internal prototype to avoid an error. */ | 2834 /* Override any gcc2 internal prototype to avoid an error. */ |
2818 #ifdef __cplusplus | 2835 #ifdef __cplusplus |
2819 extern "C" | 2836 extern "C" |
2828 ; | 2845 ; |
2829 return 0; | 2846 return 0; |
2830 } | 2847 } |
2831 _ACEOF | 2848 _ACEOF |
2832 rm -f conftest.$ac_objext conftest$ac_exeext | 2849 rm -f conftest.$ac_objext conftest$ac_exeext |
2833 if { (eval echo "$as_me:2833: \"$ac_link\"") >&5 | 2850 if { (eval echo "$as_me:2850: \"$ac_link\"") >&5 |
2834 (eval $ac_link) 2>&5 | 2851 (eval $ac_link) 2>&5 |
2835 ac_status=$? | 2852 ac_status=$? |
2836 echo "$as_me:2836: \$? = $ac_status" >&5 | 2853 echo "$as_me:2853: \$? = $ac_status" >&5 |
2837 (exit $ac_status); } && | 2854 (exit $ac_status); } && |
2838 { ac_try='test -s conftest$ac_exeext' | 2855 { ac_try='test -s conftest$ac_exeext' |
2839 { (eval echo "$as_me:2839: \"$ac_try\"") >&5 | 2856 { (eval echo "$as_me:2856: \"$ac_try\"") >&5 |
2840 (eval $ac_try) 2>&5 | 2857 (eval $ac_try) 2>&5 |
2841 ac_status=$? | 2858 ac_status=$? |
2842 echo "$as_me:2842: \$? = $ac_status" >&5 | 2859 echo "$as_me:2859: \$? = $ac_status" >&5 |
2843 (exit $ac_status); }; }; then | 2860 (exit $ac_status); }; }; then |
2844 ac_cv_lib_resolv_gethostbyname=yes | 2861 ac_cv_lib_resolv_gethostbyname=yes |
2845 else | 2862 else |
2846 echo "$as_me: failed program was:" >&5 | 2863 echo "$as_me: failed program was:" >&5 |
2847 cat conftest.$ac_ext >&5 | 2864 cat conftest.$ac_ext >&5 |
2848 ac_cv_lib_resolv_gethostbyname=no | 2865 ac_cv_lib_resolv_gethostbyname=no |
2849 fi | 2866 fi |
2850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 2867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2851 LIBS=$ac_check_lib_save_LIBS | 2868 LIBS=$ac_check_lib_save_LIBS |
2852 fi | 2869 fi |
2853 echo "$as_me:2853: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 2870 echo "$as_me:2870: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
2854 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 | 2871 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 |
2855 if test $ac_cv_lib_resolv_gethostbyname = yes; then | 2872 if test $ac_cv_lib_resolv_gethostbyname = yes; then |
2856 LIBS="$LIBS -lresolv" | 2873 LIBS="$LIBS -lresolv" |
2857 fi | 2874 fi |
2858 | 2875 |
2904 esac | 2921 esac |
2905 done | 2922 done |
2906 | 2923 |
2907 # Extract the first word of "glib-config", so it can be a program name with args. | 2924 # Extract the first word of "glib-config", so it can be a program name with args. |
2908 set dummy glib-config; ac_word=$2 | 2925 set dummy glib-config; ac_word=$2 |
2909 echo "$as_me:2909: checking for $ac_word" >&5 | 2926 echo "$as_me:2926: checking for $ac_word" >&5 |
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2911 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | 2928 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then |
2912 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2929 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2913 else | 2930 else |
2914 case $GLIB_CONFIG in | 2931 case $GLIB_CONFIG in |
2921 for ac_dir in $ac_dummy; do | 2938 for ac_dir in $ac_dummy; do |
2922 IFS=$ac_save_IFS | 2939 IFS=$ac_save_IFS |
2923 test -z "$ac_dir" && ac_dir=. | 2940 test -z "$ac_dir" && ac_dir=. |
2924 if $as_executable_p "$ac_dir/$ac_word"; then | 2941 if $as_executable_p "$ac_dir/$ac_word"; then |
2925 ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word" | 2942 ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word" |
2926 echo "$as_me:2926: found $ac_dir/$ac_word" >&5 | 2943 echo "$as_me:2943: found $ac_dir/$ac_word" >&5 |
2927 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
2928 { (eval echo "$as_me:2928: \"$ac_try\"") >&5 | |
2929 (eval $ac_try) 2>&5 | |
2930 ac_status=$? | |
2931 echo "$as_me:2931: \$? = $ac_status" >&5 | |
2932 (exit $ac_status); }; } | |
2933 break | 2944 break |
2934 fi | 2945 fi |
2935 done | 2946 done |
2936 | 2947 |
2937 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | 2948 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" |
2939 esac | 2950 esac |
2940 fi | 2951 fi |
2941 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | 2952 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG |
2942 | 2953 |
2943 if test -n "$GLIB_CONFIG"; then | 2954 if test -n "$GLIB_CONFIG"; then |
2944 echo "$as_me:2944: result: $GLIB_CONFIG" >&5 | 2955 echo "$as_me:2955: result: $GLIB_CONFIG" >&5 |
2945 echo "${ECHO_T}$GLIB_CONFIG" >&6 | 2956 echo "${ECHO_T}$GLIB_CONFIG" >&6 |
2946 else | 2957 else |
2947 echo "$as_me:2947: result: no" >&5 | 2958 echo "$as_me:2958: result: no" >&5 |
2948 echo "${ECHO_T}no" >&6 | 2959 echo "${ECHO_T}no" >&6 |
2949 fi | 2960 fi |
2950 | 2961 |
2951 min_glib_version=1.2.0 | 2962 min_glib_version=1.2.0 |
2952 echo "$as_me:2952: checking for GLIB - version >= $min_glib_version" >&5 | 2963 echo "$as_me:2963: checking for GLIB - version >= $min_glib_version" >&5 |
2953 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 | 2964 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 |
2954 no_glib="" | 2965 no_glib="" |
2955 if test "$GLIB_CONFIG" = "no" ; then | 2966 if test "$GLIB_CONFIG" = "no" ; then |
2956 no_glib=yes | 2967 no_glib=yes |
2957 else | 2968 else |
2971 rm -f conf.glibtest | 2982 rm -f conf.glibtest |
2972 if test "$cross_compiling" = yes; then | 2983 if test "$cross_compiling" = yes; then |
2973 echo $ac_n "cross compiling; assumed OK... $ac_c" | 2984 echo $ac_n "cross compiling; assumed OK... $ac_c" |
2974 else | 2985 else |
2975 cat >conftest.$ac_ext <<_ACEOF | 2986 cat >conftest.$ac_ext <<_ACEOF |
2976 #line 2976 "configure" | 2987 #line 2987 "configure" |
2977 #include "confdefs.h" | 2988 #include "confdefs.h" |
2978 | 2989 |
2979 #include <glib.h> | 2990 #include <glib.h> |
2980 #include <stdio.h> | 2991 #include <stdio.h> |
2981 #include <stdlib.h> | 2992 #include <stdlib.h> |
3048 return 1; | 3059 return 1; |
3049 } | 3060 } |
3050 | 3061 |
3051 _ACEOF | 3062 _ACEOF |
3052 rm -f conftest$ac_exeext | 3063 rm -f conftest$ac_exeext |
3053 if { (eval echo "$as_me:3053: \"$ac_link\"") >&5 | 3064 if { (eval echo "$as_me:3064: \"$ac_link\"") >&5 |
3054 (eval $ac_link) 2>&5 | 3065 (eval $ac_link) 2>&5 |
3055 ac_status=$? | 3066 ac_status=$? |
3056 echo "$as_me:3056: \$? = $ac_status" >&5 | 3067 echo "$as_me:3067: \$? = $ac_status" >&5 |
3057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3058 { (eval echo "$as_me:3058: \"$ac_try\"") >&5 | 3069 { (eval echo "$as_me:3069: \"$ac_try\"") >&5 |
3059 (eval $ac_try) 2>&5 | 3070 (eval $ac_try) 2>&5 |
3060 ac_status=$? | 3071 ac_status=$? |
3061 echo "$as_me:3061: \$? = $ac_status" >&5 | 3072 echo "$as_me:3072: \$? = $ac_status" >&5 |
3062 (exit $ac_status); }; }; then | 3073 (exit $ac_status); }; }; then |
3063 : | 3074 : |
3064 else | 3075 else |
3065 echo "$as_me: program exited with status $ac_status" >&5 | 3076 echo "$as_me: program exited with status $ac_status" >&5 |
3066 echo "$as_me: failed program was:" >&5 | 3077 echo "$as_me: failed program was:" >&5 |
3067 cat conftest.$ac_ext >&5 | 3078 cat conftest.$ac_ext >&5 |
3068 no_glib=yes | 3079 no_glib=yes |
3069 fi | 3080 fi |
3070 rm -f conftest$ac_exeext conftest.$ac_ext | 3081 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3071 fi | 3082 fi |
3072 CFLAGS="$ac_save_CFLAGS" | 3083 CFLAGS="$ac_save_CFLAGS" |
3073 LIBS="$ac_save_LIBS" | 3084 LIBS="$ac_save_LIBS" |
3074 fi | 3085 fi |
3075 fi | 3086 fi |
3076 if test "x$no_glib" = x ; then | 3087 if test "x$no_glib" = x ; then |
3077 echo "$as_me:3077: result: yes" >&5 | 3088 echo "$as_me:3088: result: yes" >&5 |
3078 echo "${ECHO_T}yes" >&6 | 3089 echo "${ECHO_T}yes" >&6 |
3079 : | 3090 : |
3080 else | 3091 else |
3081 echo "$as_me:3081: result: no" >&5 | 3092 echo "$as_me:3092: result: no" >&5 |
3082 echo "${ECHO_T}no" >&6 | 3093 echo "${ECHO_T}no" >&6 |
3083 if test "$GLIB_CONFIG" = "no" ; then | 3094 if test "$GLIB_CONFIG" = "no" ; then |
3084 echo "*** The glib-config script installed by GLIB could not be found" | 3095 echo "*** The glib-config script installed by GLIB could not be found" |
3085 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | 3096 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" |
3086 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | 3097 echo "*** your path, or set the GLIB_CONFIG environment variable to the" |
3091 else | 3102 else |
3092 echo "*** Could not run GLIB test program, checking why..." | 3103 echo "*** Could not run GLIB test program, checking why..." |
3093 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 3104 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
3094 LIBS="$LIBS $GLIB_LIBS" | 3105 LIBS="$LIBS $GLIB_LIBS" |
3095 cat >conftest.$ac_ext <<_ACEOF | 3106 cat >conftest.$ac_ext <<_ACEOF |
3096 #line 3096 "configure" | 3107 #line 3107 "configure" |
3097 #include "confdefs.h" | 3108 #include "confdefs.h" |
3098 | 3109 |
3099 #include <glib.h> | 3110 #include <glib.h> |
3100 #include <stdio.h> | 3111 #include <stdio.h> |
3101 | 3112 |
3106 ; | 3117 ; |
3107 return 0; | 3118 return 0; |
3108 } | 3119 } |
3109 _ACEOF | 3120 _ACEOF |
3110 rm -f conftest.$ac_objext conftest$ac_exeext | 3121 rm -f conftest.$ac_objext conftest$ac_exeext |
3111 if { (eval echo "$as_me:3111: \"$ac_link\"") >&5 | 3122 if { (eval echo "$as_me:3122: \"$ac_link\"") >&5 |
3112 (eval $ac_link) 2>&5 | 3123 (eval $ac_link) 2>&5 |
3113 ac_status=$? | 3124 ac_status=$? |
3114 echo "$as_me:3114: \$? = $ac_status" >&5 | 3125 echo "$as_me:3125: \$? = $ac_status" >&5 |
3115 (exit $ac_status); } && | 3126 (exit $ac_status); } && |
3116 { ac_try='test -s conftest$ac_exeext' | 3127 { ac_try='test -s conftest$ac_exeext' |
3117 { (eval echo "$as_me:3117: \"$ac_try\"") >&5 | 3128 { (eval echo "$as_me:3128: \"$ac_try\"") >&5 |
3118 (eval $ac_try) 2>&5 | 3129 (eval $ac_try) 2>&5 |
3119 ac_status=$? | 3130 ac_status=$? |
3120 echo "$as_me:3120: \$? = $ac_status" >&5 | 3131 echo "$as_me:3131: \$? = $ac_status" >&5 |
3121 (exit $ac_status); }; }; then | 3132 (exit $ac_status); }; }; then |
3122 echo "*** The test program compiled, but did not run. This usually means" | 3133 echo "*** The test program compiled, but did not run. This usually means" |
3123 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | 3134 echo "*** that the run-time linker is not finding GLIB or finding the wrong" |
3124 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | 3135 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" |
3125 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 3136 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
3141 LIBS="$ac_save_LIBS" | 3152 LIBS="$ac_save_LIBS" |
3142 fi | 3153 fi |
3143 fi | 3154 fi |
3144 GLIB_CFLAGS="" | 3155 GLIB_CFLAGS="" |
3145 GLIB_LIBS="" | 3156 GLIB_LIBS="" |
3146 { { echo "$as_me:3146: error: { { echo \"$as_me:3146: error: Cannot find GLIB: Is glib-config in path?\" >&5 | 3157 { { echo "$as_me:3157: error: { { echo \"$as_me:3157: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3147 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | 3158 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
3148 { (exit 1); exit 1; }; }" >&5 | 3159 { (exit 1); exit 1; }; }" >&5 |
3149 echo "$as_me: error: { { echo \"$as_me:3149: error: Cannot find GLIB: Is glib-config in path?\" >&5 | 3160 echo "$as_me: error: { { echo \"$as_me:3160: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
3150 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | 3161 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} |
3151 { (exit 1); exit 1; }; }" >&2;} | 3162 { (exit 1); exit 1; }; }" >&2;} |
3152 { (exit 1); exit 1; }; } | 3163 { (exit 1); exit 1; }; } |
3153 fi | 3164 fi |
3154 | 3165 |
3199 fi | 3210 fi |
3200 fi | 3211 fi |
3201 | 3212 |
3202 # Extract the first word of "gtk-config", so it can be a program name with args. | 3213 # Extract the first word of "gtk-config", so it can be a program name with args. |
3203 set dummy gtk-config; ac_word=$2 | 3214 set dummy gtk-config; ac_word=$2 |
3204 echo "$as_me:3204: checking for $ac_word" >&5 | 3215 echo "$as_me:3215: checking for $ac_word" >&5 |
3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3206 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | 3217 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then |
3207 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3218 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3208 else | 3219 else |
3209 case $GTK_CONFIG in | 3220 case $GTK_CONFIG in |
3216 for ac_dir in $ac_dummy; do | 3227 for ac_dir in $ac_dummy; do |
3217 IFS=$ac_save_IFS | 3228 IFS=$ac_save_IFS |
3218 test -z "$ac_dir" && ac_dir=. | 3229 test -z "$ac_dir" && ac_dir=. |
3219 if $as_executable_p "$ac_dir/$ac_word"; then | 3230 if $as_executable_p "$ac_dir/$ac_word"; then |
3220 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" | 3231 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" |
3221 echo "$as_me:3221: found $ac_dir/$ac_word" >&5 | 3232 echo "$as_me:3232: found $ac_dir/$ac_word" >&5 |
3222 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
3223 { (eval echo "$as_me:3223: \"$ac_try\"") >&5 | |
3224 (eval $ac_try) 2>&5 | |
3225 ac_status=$? | |
3226 echo "$as_me:3226: \$? = $ac_status" >&5 | |
3227 (exit $ac_status); }; } | |
3228 break | 3233 break |
3229 fi | 3234 fi |
3230 done | 3235 done |
3231 | 3236 |
3232 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | 3237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
3234 esac | 3239 esac |
3235 fi | 3240 fi |
3236 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | 3241 GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
3237 | 3242 |
3238 if test -n "$GTK_CONFIG"; then | 3243 if test -n "$GTK_CONFIG"; then |
3239 echo "$as_me:3239: result: $GTK_CONFIG" >&5 | 3244 echo "$as_me:3244: result: $GTK_CONFIG" >&5 |
3240 echo "${ECHO_T}$GTK_CONFIG" >&6 | 3245 echo "${ECHO_T}$GTK_CONFIG" >&6 |
3241 else | 3246 else |
3242 echo "$as_me:3242: result: no" >&5 | 3247 echo "$as_me:3247: result: no" >&5 |
3243 echo "${ECHO_T}no" >&6 | 3248 echo "${ECHO_T}no" >&6 |
3244 fi | 3249 fi |
3245 | 3250 |
3246 min_gtk_version=1.2.0 | 3251 min_gtk_version=1.2.0 |
3247 echo "$as_me:3247: checking for GTK - version >= $min_gtk_version" >&5 | 3252 echo "$as_me:3252: checking for GTK - version >= $min_gtk_version" >&5 |
3248 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 | 3253 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 |
3249 no_gtk="" | 3254 no_gtk="" |
3250 if test "$GTK_CONFIG" = "no" ; then | 3255 if test "$GTK_CONFIG" = "no" ; then |
3251 no_gtk=yes | 3256 no_gtk=yes |
3252 else | 3257 else |
3266 rm -f conf.gtktest | 3271 rm -f conf.gtktest |
3267 if test "$cross_compiling" = yes; then | 3272 if test "$cross_compiling" = yes; then |
3268 echo $ac_n "cross compiling; assumed OK... $ac_c" | 3273 echo $ac_n "cross compiling; assumed OK... $ac_c" |
3269 else | 3274 else |
3270 cat >conftest.$ac_ext <<_ACEOF | 3275 cat >conftest.$ac_ext <<_ACEOF |
3271 #line 3271 "configure" | 3276 #line 3276 "configure" |
3272 #include "confdefs.h" | 3277 #include "confdefs.h" |
3273 | 3278 |
3274 #include <gtk/gtk.h> | 3279 #include <gtk/gtk.h> |
3275 #include <stdio.h> | 3280 #include <stdio.h> |
3276 #include <stdlib.h> | 3281 #include <stdlib.h> |
3345 return 1; | 3350 return 1; |
3346 } | 3351 } |
3347 | 3352 |
3348 _ACEOF | 3353 _ACEOF |
3349 rm -f conftest$ac_exeext | 3354 rm -f conftest$ac_exeext |
3350 if { (eval echo "$as_me:3350: \"$ac_link\"") >&5 | 3355 if { (eval echo "$as_me:3355: \"$ac_link\"") >&5 |
3351 (eval $ac_link) 2>&5 | 3356 (eval $ac_link) 2>&5 |
3352 ac_status=$? | 3357 ac_status=$? |
3353 echo "$as_me:3353: \$? = $ac_status" >&5 | 3358 echo "$as_me:3358: \$? = $ac_status" >&5 |
3354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3355 { (eval echo "$as_me:3355: \"$ac_try\"") >&5 | 3360 { (eval echo "$as_me:3360: \"$ac_try\"") >&5 |
3356 (eval $ac_try) 2>&5 | 3361 (eval $ac_try) 2>&5 |
3357 ac_status=$? | 3362 ac_status=$? |
3358 echo "$as_me:3358: \$? = $ac_status" >&5 | 3363 echo "$as_me:3363: \$? = $ac_status" >&5 |
3359 (exit $ac_status); }; }; then | 3364 (exit $ac_status); }; }; then |
3360 : | 3365 : |
3361 else | 3366 else |
3362 echo "$as_me: program exited with status $ac_status" >&5 | 3367 echo "$as_me: program exited with status $ac_status" >&5 |
3363 echo "$as_me: failed program was:" >&5 | 3368 echo "$as_me: failed program was:" >&5 |
3364 cat conftest.$ac_ext >&5 | 3369 cat conftest.$ac_ext >&5 |
3365 no_gtk=yes | 3370 no_gtk=yes |
3366 fi | 3371 fi |
3367 rm -f conftest$ac_exeext conftest.$ac_ext | 3372 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3368 fi | 3373 fi |
3369 CFLAGS="$ac_save_CFLAGS" | 3374 CFLAGS="$ac_save_CFLAGS" |
3370 LIBS="$ac_save_LIBS" | 3375 LIBS="$ac_save_LIBS" |
3371 fi | 3376 fi |
3372 fi | 3377 fi |
3373 if test "x$no_gtk" = x ; then | 3378 if test "x$no_gtk" = x ; then |
3374 echo "$as_me:3374: result: yes" >&5 | 3379 echo "$as_me:3379: result: yes" >&5 |
3375 echo "${ECHO_T}yes" >&6 | 3380 echo "${ECHO_T}yes" >&6 |
3376 : | 3381 : |
3377 else | 3382 else |
3378 echo "$as_me:3378: result: no" >&5 | 3383 echo "$as_me:3383: result: no" >&5 |
3379 echo "${ECHO_T}no" >&6 | 3384 echo "${ECHO_T}no" >&6 |
3380 if test "$GTK_CONFIG" = "no" ; then | 3385 if test "$GTK_CONFIG" = "no" ; then |
3381 echo "*** The gtk-config script installed by GTK could not be found" | 3386 echo "*** The gtk-config script installed by GTK could not be found" |
3382 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | 3387 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" |
3383 echo "*** your path, or set the GTK_CONFIG environment variable to the" | 3388 echo "*** your path, or set the GTK_CONFIG environment variable to the" |
3388 else | 3393 else |
3389 echo "*** Could not run GTK test program, checking why..." | 3394 echo "*** Could not run GTK test program, checking why..." |
3390 CFLAGS="$CFLAGS $GTK_CFLAGS" | 3395 CFLAGS="$CFLAGS $GTK_CFLAGS" |
3391 LIBS="$LIBS $GTK_LIBS" | 3396 LIBS="$LIBS $GTK_LIBS" |
3392 cat >conftest.$ac_ext <<_ACEOF | 3397 cat >conftest.$ac_ext <<_ACEOF |
3393 #line 3393 "configure" | 3398 #line 3398 "configure" |
3394 #include "confdefs.h" | 3399 #include "confdefs.h" |
3395 | 3400 |
3396 #include <gtk/gtk.h> | 3401 #include <gtk/gtk.h> |
3397 #include <stdio.h> | 3402 #include <stdio.h> |
3398 | 3403 |
3403 ; | 3408 ; |
3404 return 0; | 3409 return 0; |
3405 } | 3410 } |
3406 _ACEOF | 3411 _ACEOF |
3407 rm -f conftest.$ac_objext conftest$ac_exeext | 3412 rm -f conftest.$ac_objext conftest$ac_exeext |
3408 if { (eval echo "$as_me:3408: \"$ac_link\"") >&5 | 3413 if { (eval echo "$as_me:3413: \"$ac_link\"") >&5 |
3409 (eval $ac_link) 2>&5 | 3414 (eval $ac_link) 2>&5 |
3410 ac_status=$? | 3415 ac_status=$? |
3411 echo "$as_me:3411: \$? = $ac_status" >&5 | 3416 echo "$as_me:3416: \$? = $ac_status" >&5 |
3412 (exit $ac_status); } && | 3417 (exit $ac_status); } && |
3413 { ac_try='test -s conftest$ac_exeext' | 3418 { ac_try='test -s conftest$ac_exeext' |
3414 { (eval echo "$as_me:3414: \"$ac_try\"") >&5 | 3419 { (eval echo "$as_me:3419: \"$ac_try\"") >&5 |
3415 (eval $ac_try) 2>&5 | 3420 (eval $ac_try) 2>&5 |
3416 ac_status=$? | 3421 ac_status=$? |
3417 echo "$as_me:3417: \$? = $ac_status" >&5 | 3422 echo "$as_me:3422: \$? = $ac_status" >&5 |
3418 (exit $ac_status); }; }; then | 3423 (exit $ac_status); }; }; then |
3419 echo "*** The test program compiled, but did not run. This usually means" | 3424 echo "*** The test program compiled, but did not run. This usually means" |
3420 echo "*** that the run-time linker is not finding GTK or finding the wrong" | 3425 echo "*** that the run-time linker is not finding GTK or finding the wrong" |
3421 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | 3426 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" |
3422 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 3427 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
3438 LIBS="$ac_save_LIBS" | 3443 LIBS="$ac_save_LIBS" |
3439 fi | 3444 fi |
3440 fi | 3445 fi |
3441 GTK_CFLAGS="" | 3446 GTK_CFLAGS="" |
3442 GTK_LIBS="" | 3447 GTK_LIBS="" |
3443 { { echo "$as_me:3443: error: { { echo \"$as_me:3443: error: Cannot find GTK: Is gtk-config in path?\" >&5 | 3448 { { echo "$as_me:3448: error: { { echo \"$as_me:3448: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3444 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | 3449 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
3445 { (exit 1); exit 1; }; }" >&5 | 3450 { (exit 1); exit 1; }; }" >&5 |
3446 echo "$as_me: error: { { echo \"$as_me:3446: error: Cannot find GTK: Is gtk-config in path?\" >&5 | 3451 echo "$as_me: error: { { echo \"$as_me:3451: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
3447 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | 3452 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} |
3448 { (exit 1); exit 1; }; }" >&2;} | 3453 { (exit 1); exit 1; }; }" >&2;} |
3449 { (exit 1); exit 1; }; } | 3454 { (exit 1); exit 1; }; } |
3450 fi | 3455 fi |
3451 | 3456 |
3452 rm -f conf.gtktest | 3457 rm -f conf.gtktest |
3453 | 3458 |
3454 echo "$as_me:3454: checking for pthread.h" >&5 | 3459 echo "$as_me:3459: checking for pthread.h" >&5 |
3455 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 | 3460 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 |
3456 if test "${ac_cv_header_pthread_h+set}" = set; then | 3461 if test "${ac_cv_header_pthread_h+set}" = set; then |
3457 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3462 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3458 else | 3463 else |
3459 cat >conftest.$ac_ext <<_ACEOF | 3464 cat >conftest.$ac_ext <<_ACEOF |
3460 #line 3460 "configure" | 3465 #line 3465 "configure" |
3461 #include "confdefs.h" | 3466 #include "confdefs.h" |
3462 #include <pthread.h> | 3467 #include <pthread.h> |
3463 _ACEOF | 3468 _ACEOF |
3464 if { (eval echo "$as_me:3464: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3469 if { (eval echo "$as_me:3469: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3466 ac_status=$? | 3471 ac_status=$? |
3467 egrep -v '^ *\+' conftest.er1 >conftest.err | 3472 egrep -v '^ *\+' conftest.er1 >conftest.err |
3468 rm -f conftest.er1 | 3473 rm -f conftest.er1 |
3469 cat conftest.err >&5 | 3474 cat conftest.err >&5 |
3470 echo "$as_me:3470: \$? = $ac_status" >&5 | 3475 echo "$as_me:3475: \$? = $ac_status" >&5 |
3471 (exit $ac_status); } >/dev/null; then | 3476 (exit $ac_status); } >/dev/null; then |
3472 if test -s conftest.err; then | 3477 if test -s conftest.err; then |
3473 ac_cpp_err=$ac_c_preproc_warn_flag | 3478 ac_cpp_err=$ac_c_preproc_warn_flag |
3474 else | 3479 else |
3475 ac_cpp_err= | 3480 ac_cpp_err= |
3484 cat conftest.$ac_ext >&5 | 3489 cat conftest.$ac_ext >&5 |
3485 ac_cv_header_pthread_h=no | 3490 ac_cv_header_pthread_h=no |
3486 fi | 3491 fi |
3487 rm -f conftest.err conftest.$ac_ext | 3492 rm -f conftest.err conftest.$ac_ext |
3488 fi | 3493 fi |
3489 echo "$as_me:3489: result: $ac_cv_header_pthread_h" >&5 | 3494 echo "$as_me:3494: result: $ac_cv_header_pthread_h" >&5 |
3490 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 | 3495 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 |
3491 if test $ac_cv_header_pthread_h = yes; then | 3496 if test $ac_cv_header_pthread_h = yes; then |
3492 : | 3497 : |
3493 else | 3498 else |
3494 { { echo "$as_me:3494: error: pthread header not found. Dynamic Windows cannot build without it." >&5 | 3499 { { echo "$as_me:3499: error: pthread header not found. Dynamic Windows cannot build without it." >&5 |
3495 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} | 3500 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} |
3496 { (exit 1); exit 1; }; } | 3501 { (exit 1); exit 1; }; } |
3497 fi | 3502 fi |
3498 | 3503 |
3499 echo "$as_me:3499: checking for pthread_attr_init in -lpthread" >&5 | 3504 echo "$as_me:3504: checking for pthread_attr_init in -lpthread" >&5 |
3500 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 | 3505 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 |
3501 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | 3506 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then |
3502 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3507 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3503 else | 3508 else |
3504 ac_check_lib_save_LIBS=$LIBS | 3509 ac_check_lib_save_LIBS=$LIBS |
3505 LIBS="-lpthread $LIBS" | 3510 LIBS="-lpthread $LIBS" |
3506 cat >conftest.$ac_ext <<_ACEOF | 3511 cat >conftest.$ac_ext <<_ACEOF |
3507 #line 3507 "configure" | 3512 #line 3512 "configure" |
3508 #include "confdefs.h" | 3513 #include "confdefs.h" |
3509 | 3514 |
3510 /* Override any gcc2 internal prototype to avoid an error. */ | 3515 /* Override any gcc2 internal prototype to avoid an error. */ |
3511 #ifdef __cplusplus | 3516 #ifdef __cplusplus |
3512 extern "C" | 3517 extern "C" |
3521 ; | 3526 ; |
3522 return 0; | 3527 return 0; |
3523 } | 3528 } |
3524 _ACEOF | 3529 _ACEOF |
3525 rm -f conftest.$ac_objext conftest$ac_exeext | 3530 rm -f conftest.$ac_objext conftest$ac_exeext |
3526 if { (eval echo "$as_me:3526: \"$ac_link\"") >&5 | 3531 if { (eval echo "$as_me:3531: \"$ac_link\"") >&5 |
3527 (eval $ac_link) 2>&5 | 3532 (eval $ac_link) 2>&5 |
3528 ac_status=$? | 3533 ac_status=$? |
3529 echo "$as_me:3529: \$? = $ac_status" >&5 | 3534 echo "$as_me:3534: \$? = $ac_status" >&5 |
3530 (exit $ac_status); } && | 3535 (exit $ac_status); } && |
3531 { ac_try='test -s conftest$ac_exeext' | 3536 { ac_try='test -s conftest$ac_exeext' |
3532 { (eval echo "$as_me:3532: \"$ac_try\"") >&5 | 3537 { (eval echo "$as_me:3537: \"$ac_try\"") >&5 |
3533 (eval $ac_try) 2>&5 | 3538 (eval $ac_try) 2>&5 |
3534 ac_status=$? | 3539 ac_status=$? |
3535 echo "$as_me:3535: \$? = $ac_status" >&5 | 3540 echo "$as_me:3540: \$? = $ac_status" >&5 |
3536 (exit $ac_status); }; }; then | 3541 (exit $ac_status); }; }; then |
3537 ac_cv_lib_pthread_pthread_attr_init=yes | 3542 ac_cv_lib_pthread_pthread_attr_init=yes |
3538 else | 3543 else |
3539 echo "$as_me: failed program was:" >&5 | 3544 echo "$as_me: failed program was:" >&5 |
3540 cat conftest.$ac_ext >&5 | 3545 cat conftest.$ac_ext >&5 |
3541 ac_cv_lib_pthread_pthread_attr_init=no | 3546 ac_cv_lib_pthread_pthread_attr_init=no |
3542 fi | 3547 fi |
3543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3544 LIBS=$ac_check_lib_save_LIBS | 3549 LIBS=$ac_check_lib_save_LIBS |
3545 fi | 3550 fi |
3546 echo "$as_me:3546: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 3551 echo "$as_me:3551: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
3547 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6 | 3552 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6 |
3548 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then | 3553 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then |
3549 PTHREAD_LIBS="-lpthread" | 3554 PTHREAD_LIBS="-lpthread" |
3550 else | 3555 else |
3551 echo "$as_me:3551: checking for pthread_attr_init in -lpthreads" >&5 | 3556 echo "$as_me:3556: checking for pthread_attr_init in -lpthreads" >&5 |
3552 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6 | 3557 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6 |
3553 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then | 3558 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then |
3554 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3559 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3555 else | 3560 else |
3556 ac_check_lib_save_LIBS=$LIBS | 3561 ac_check_lib_save_LIBS=$LIBS |
3557 LIBS="-lpthreads $LIBS" | 3562 LIBS="-lpthreads $LIBS" |
3558 cat >conftest.$ac_ext <<_ACEOF | 3563 cat >conftest.$ac_ext <<_ACEOF |
3559 #line 3559 "configure" | 3564 #line 3564 "configure" |
3560 #include "confdefs.h" | 3565 #include "confdefs.h" |
3561 | 3566 |
3562 /* Override any gcc2 internal prototype to avoid an error. */ | 3567 /* Override any gcc2 internal prototype to avoid an error. */ |
3563 #ifdef __cplusplus | 3568 #ifdef __cplusplus |
3564 extern "C" | 3569 extern "C" |
3573 ; | 3578 ; |
3574 return 0; | 3579 return 0; |
3575 } | 3580 } |
3576 _ACEOF | 3581 _ACEOF |
3577 rm -f conftest.$ac_objext conftest$ac_exeext | 3582 rm -f conftest.$ac_objext conftest$ac_exeext |
3578 if { (eval echo "$as_me:3578: \"$ac_link\"") >&5 | 3583 if { (eval echo "$as_me:3583: \"$ac_link\"") >&5 |
3579 (eval $ac_link) 2>&5 | 3584 (eval $ac_link) 2>&5 |
3580 ac_status=$? | 3585 ac_status=$? |
3581 echo "$as_me:3581: \$? = $ac_status" >&5 | 3586 echo "$as_me:3586: \$? = $ac_status" >&5 |
3582 (exit $ac_status); } && | 3587 (exit $ac_status); } && |
3583 { ac_try='test -s conftest$ac_exeext' | 3588 { ac_try='test -s conftest$ac_exeext' |
3584 { (eval echo "$as_me:3584: \"$ac_try\"") >&5 | 3589 { (eval echo "$as_me:3589: \"$ac_try\"") >&5 |
3585 (eval $ac_try) 2>&5 | 3590 (eval $ac_try) 2>&5 |
3586 ac_status=$? | 3591 ac_status=$? |
3587 echo "$as_me:3587: \$? = $ac_status" >&5 | 3592 echo "$as_me:3592: \$? = $ac_status" >&5 |
3588 (exit $ac_status); }; }; then | 3593 (exit $ac_status); }; }; then |
3589 ac_cv_lib_pthreads_pthread_attr_init=yes | 3594 ac_cv_lib_pthreads_pthread_attr_init=yes |
3590 else | 3595 else |
3591 echo "$as_me: failed program was:" >&5 | 3596 echo "$as_me: failed program was:" >&5 |
3592 cat conftest.$ac_ext >&5 | 3597 cat conftest.$ac_ext >&5 |
3593 ac_cv_lib_pthreads_pthread_attr_init=no | 3598 ac_cv_lib_pthreads_pthread_attr_init=no |
3594 fi | 3599 fi |
3595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3596 LIBS=$ac_check_lib_save_LIBS | 3601 LIBS=$ac_check_lib_save_LIBS |
3597 fi | 3602 fi |
3598 echo "$as_me:3598: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 3603 echo "$as_me:3603: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
3599 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 | 3604 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 |
3600 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | 3605 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then |
3601 PTHREAD_LIBS="-lpthreads" | 3606 PTHREAD_LIBS="-lpthreads" |
3602 else | 3607 else |
3603 echo "$as_me:3603: checking for pthread_attr_init in -lc_r" >&5 | 3608 echo "$as_me:3608: checking for pthread_attr_init in -lc_r" >&5 |
3604 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 | 3609 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 |
3605 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | 3610 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then |
3606 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3611 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3607 else | 3612 else |
3608 ac_check_lib_save_LIBS=$LIBS | 3613 ac_check_lib_save_LIBS=$LIBS |
3609 LIBS="-lc_r $LIBS" | 3614 LIBS="-lc_r $LIBS" |
3610 cat >conftest.$ac_ext <<_ACEOF | 3615 cat >conftest.$ac_ext <<_ACEOF |
3611 #line 3611 "configure" | 3616 #line 3616 "configure" |
3612 #include "confdefs.h" | 3617 #include "confdefs.h" |
3613 | 3618 |
3614 /* Override any gcc2 internal prototype to avoid an error. */ | 3619 /* Override any gcc2 internal prototype to avoid an error. */ |
3615 #ifdef __cplusplus | 3620 #ifdef __cplusplus |
3616 extern "C" | 3621 extern "C" |
3625 ; | 3630 ; |
3626 return 0; | 3631 return 0; |
3627 } | 3632 } |
3628 _ACEOF | 3633 _ACEOF |
3629 rm -f conftest.$ac_objext conftest$ac_exeext | 3634 rm -f conftest.$ac_objext conftest$ac_exeext |
3630 if { (eval echo "$as_me:3630: \"$ac_link\"") >&5 | 3635 if { (eval echo "$as_me:3635: \"$ac_link\"") >&5 |
3631 (eval $ac_link) 2>&5 | 3636 (eval $ac_link) 2>&5 |
3632 ac_status=$? | 3637 ac_status=$? |
3633 echo "$as_me:3633: \$? = $ac_status" >&5 | 3638 echo "$as_me:3638: \$? = $ac_status" >&5 |
3634 (exit $ac_status); } && | 3639 (exit $ac_status); } && |
3635 { ac_try='test -s conftest$ac_exeext' | 3640 { ac_try='test -s conftest$ac_exeext' |
3636 { (eval echo "$as_me:3636: \"$ac_try\"") >&5 | 3641 { (eval echo "$as_me:3641: \"$ac_try\"") >&5 |
3637 (eval $ac_try) 2>&5 | 3642 (eval $ac_try) 2>&5 |
3638 ac_status=$? | 3643 ac_status=$? |
3639 echo "$as_me:3639: \$? = $ac_status" >&5 | 3644 echo "$as_me:3644: \$? = $ac_status" >&5 |
3640 (exit $ac_status); }; }; then | 3645 (exit $ac_status); }; }; then |
3641 ac_cv_lib_c_r_pthread_attr_init=yes | 3646 ac_cv_lib_c_r_pthread_attr_init=yes |
3642 else | 3647 else |
3643 echo "$as_me: failed program was:" >&5 | 3648 echo "$as_me: failed program was:" >&5 |
3644 cat conftest.$ac_ext >&5 | 3649 cat conftest.$ac_ext >&5 |
3645 ac_cv_lib_c_r_pthread_attr_init=no | 3650 ac_cv_lib_c_r_pthread_attr_init=no |
3646 fi | 3651 fi |
3647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3648 LIBS=$ac_check_lib_save_LIBS | 3653 LIBS=$ac_check_lib_save_LIBS |
3649 fi | 3654 fi |
3650 echo "$as_me:3650: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 3655 echo "$as_me:3655: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
3651 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 | 3656 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 |
3652 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | 3657 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then |
3653 PTHREAD_LIBS="-lc_r" | 3658 PTHREAD_LIBS="-lc_r" |
3654 else | 3659 else |
3655 { { echo "$as_me:3655: error: pthread library not found. HandyFTP cannot build without it. | 3660 { { echo "$as_me:3660: error: pthread library not found. HandyFTP cannot build without it. |
3656 " >&5 | 3661 " >&5 |
3657 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. | 3662 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. |
3658 " >&2;} | 3663 " >&2;} |
3659 { (exit 1); exit 1; }; } | 3664 { (exit 1); exit 1; }; } |
3660 | 3665 |
3700 fi | 3705 fi |
3701 fi | 3706 fi |
3702 | 3707 |
3703 # Extract the first word of "imlib-config", so it can be a program name with args. | 3708 # Extract the first word of "imlib-config", so it can be a program name with args. |
3704 set dummy imlib-config; ac_word=$2 | 3709 set dummy imlib-config; ac_word=$2 |
3705 echo "$as_me:3705: checking for $ac_word" >&5 | 3710 echo "$as_me:3710: checking for $ac_word" >&5 |
3706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3707 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then | 3712 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then |
3708 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3713 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3709 else | 3714 else |
3710 case $IMLIB_CONFIG in | 3715 case $IMLIB_CONFIG in |
3717 for ac_dir in $ac_dummy; do | 3722 for ac_dir in $ac_dummy; do |
3718 IFS=$ac_save_IFS | 3723 IFS=$ac_save_IFS |
3719 test -z "$ac_dir" && ac_dir=. | 3724 test -z "$ac_dir" && ac_dir=. |
3720 if $as_executable_p "$ac_dir/$ac_word"; then | 3725 if $as_executable_p "$ac_dir/$ac_word"; then |
3721 ac_cv_path_IMLIB_CONFIG="$ac_dir/$ac_word" | 3726 ac_cv_path_IMLIB_CONFIG="$ac_dir/$ac_word" |
3722 echo "$as_me:3722: found $ac_dir/$ac_word" >&5 | 3727 echo "$as_me:3727: found $ac_dir/$ac_word" >&5 |
3723 { ac_try='$ac_dir/$ac_word --version </dev/null >&2' | |
3724 { (eval echo "$as_me:3724: \"$ac_try\"") >&5 | |
3725 (eval $ac_try) 2>&5 | |
3726 ac_status=$? | |
3727 echo "$as_me:3727: \$? = $ac_status" >&5 | |
3728 (exit $ac_status); }; } | |
3729 break | 3728 break |
3730 fi | 3729 fi |
3731 done | 3730 done |
3732 | 3731 |
3733 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" | 3732 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" |
3735 esac | 3734 esac |
3736 fi | 3735 fi |
3737 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG | 3736 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG |
3738 | 3737 |
3739 if test -n "$IMLIB_CONFIG"; then | 3738 if test -n "$IMLIB_CONFIG"; then |
3740 echo "$as_me:3740: result: $IMLIB_CONFIG" >&5 | 3739 echo "$as_me:3739: result: $IMLIB_CONFIG" >&5 |
3741 echo "${ECHO_T}$IMLIB_CONFIG" >&6 | 3740 echo "${ECHO_T}$IMLIB_CONFIG" >&6 |
3742 else | 3741 else |
3743 echo "$as_me:3743: result: no" >&5 | 3742 echo "$as_me:3742: result: no" >&5 |
3744 echo "${ECHO_T}no" >&6 | 3743 echo "${ECHO_T}no" >&6 |
3745 fi | 3744 fi |
3746 | 3745 |
3747 min_imlib_version=1.9.4 | 3746 min_imlib_version=1.9.4 |
3748 echo "$as_me:3748: checking for IMLIB - version >= $min_imlib_version" >&5 | 3747 echo "$as_me:3747: checking for IMLIB - version >= $min_imlib_version" >&5 |
3749 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6 | 3748 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6 |
3750 no_imlib="" | 3749 no_imlib="" |
3751 if test "$IMLIB_CONFIG" = "no" ; then | 3750 if test "$IMLIB_CONFIG" = "no" ; then |
3752 no_imlib=yes | 3751 no_imlib=yes |
3753 else | 3752 else |
3768 rm -f conf.imlibtest | 3767 rm -f conf.imlibtest |
3769 if test "$cross_compiling" = yes; then | 3768 if test "$cross_compiling" = yes; then |
3770 echo $ac_n "cross compiling; assumed OK... $ac_c" | 3769 echo $ac_n "cross compiling; assumed OK... $ac_c" |
3771 else | 3770 else |
3772 cat >conftest.$ac_ext <<_ACEOF | 3771 cat >conftest.$ac_ext <<_ACEOF |
3773 #line 3773 "configure" | 3772 #line 3772 "configure" |
3774 #include "confdefs.h" | 3773 #include "confdefs.h" |
3775 | 3774 |
3776 #include <stdio.h> | 3775 #include <stdio.h> |
3777 #include <stdlib.h> | 3776 #include <stdlib.h> |
3778 #include <gdk_imlib.h> | 3777 #include <gdk_imlib.h> |
3810 } | 3809 } |
3811 } | 3810 } |
3812 | 3811 |
3813 _ACEOF | 3812 _ACEOF |
3814 rm -f conftest$ac_exeext | 3813 rm -f conftest$ac_exeext |
3815 if { (eval echo "$as_me:3815: \"$ac_link\"") >&5 | 3814 if { (eval echo "$as_me:3814: \"$ac_link\"") >&5 |
3816 (eval $ac_link) 2>&5 | 3815 (eval $ac_link) 2>&5 |
3817 ac_status=$? | 3816 ac_status=$? |
3818 echo "$as_me:3818: \$? = $ac_status" >&5 | 3817 echo "$as_me:3817: \$? = $ac_status" >&5 |
3819 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3820 { (eval echo "$as_me:3820: \"$ac_try\"") >&5 | 3819 { (eval echo "$as_me:3819: \"$ac_try\"") >&5 |
3821 (eval $ac_try) 2>&5 | 3820 (eval $ac_try) 2>&5 |
3822 ac_status=$? | 3821 ac_status=$? |
3823 echo "$as_me:3823: \$? = $ac_status" >&5 | 3822 echo "$as_me:3822: \$? = $ac_status" >&5 |
3824 (exit $ac_status); }; }; then | 3823 (exit $ac_status); }; }; then |
3825 : | 3824 : |
3826 else | 3825 else |
3827 echo "$as_me: program exited with status $ac_status" >&5 | 3826 echo "$as_me: program exited with status $ac_status" >&5 |
3828 echo "$as_me: failed program was:" >&5 | 3827 echo "$as_me: failed program was:" >&5 |
3829 cat conftest.$ac_ext >&5 | 3828 cat conftest.$ac_ext >&5 |
3830 no_imlib=yes | 3829 no_imlib=yes |
3831 fi | 3830 fi |
3832 rm -f conftest$ac_exeext conftest.$ac_ext | 3831 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3833 fi | 3832 fi |
3834 CFLAGS="$ac_save_CFLAGS" | 3833 CFLAGS="$ac_save_CFLAGS" |
3835 LIBS="$ac_save_LIBS" | 3834 LIBS="$ac_save_LIBS" |
3836 fi | 3835 fi |
3837 fi | 3836 fi |
3838 if test "x$no_imlib" = x ; then | 3837 if test "x$no_imlib" = x ; then |
3839 echo "$as_me:3839: result: yes" >&5 | 3838 echo "$as_me:3838: result: yes" >&5 |
3840 echo "${ECHO_T}yes" >&6 | 3839 echo "${ECHO_T}yes" >&6 |
3841 cat >>confdefs.h <<\EOF | 3840 cat >>confdefs.h <<\EOF |
3842 #define USE_IMLIB 1 | 3841 #define USE_IMLIB 1 |
3843 EOF | 3842 EOF |
3844 | 3843 |
3845 else | 3844 else |
3846 echo "$as_me:3846: result: no" >&5 | 3845 echo "$as_me:3845: result: no" >&5 |
3847 echo "${ECHO_T}no" >&6 | 3846 echo "${ECHO_T}no" >&6 |
3848 if test "$IMLIB_CONFIG" = "no" ; then | 3847 if test "$IMLIB_CONFIG" = "no" ; then |
3849 echo "*** The imlib-config script installed by IMLIB could not be found" | 3848 echo "*** The imlib-config script installed by IMLIB could not be found" |
3850 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" | 3849 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" |
3851 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" | 3850 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" |
3856 else | 3855 else |
3857 echo "*** Could not run IMLIB test program, checking why..." | 3856 echo "*** Could not run IMLIB test program, checking why..." |
3858 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 3857 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
3859 LIBS="$LIBS $GDK_IMLIB_LIBS" | 3858 LIBS="$LIBS $GDK_IMLIB_LIBS" |
3860 cat >conftest.$ac_ext <<_ACEOF | 3859 cat >conftest.$ac_ext <<_ACEOF |
3861 #line 3861 "configure" | 3860 #line 3860 "configure" |
3862 #include "confdefs.h" | 3861 #include "confdefs.h" |
3863 | 3862 |
3864 #include <stdio.h> | 3863 #include <stdio.h> |
3865 #include <gdk_imlib.h> | 3864 #include <gdk_imlib.h> |
3866 | 3865 |
3871 ; | 3870 ; |
3872 return 0; | 3871 return 0; |
3873 } | 3872 } |
3874 _ACEOF | 3873 _ACEOF |
3875 rm -f conftest.$ac_objext conftest$ac_exeext | 3874 rm -f conftest.$ac_objext conftest$ac_exeext |
3876 if { (eval echo "$as_me:3876: \"$ac_link\"") >&5 | 3875 if { (eval echo "$as_me:3875: \"$ac_link\"") >&5 |
3877 (eval $ac_link) 2>&5 | 3876 (eval $ac_link) 2>&5 |
3878 ac_status=$? | 3877 ac_status=$? |
3879 echo "$as_me:3879: \$? = $ac_status" >&5 | 3878 echo "$as_me:3878: \$? = $ac_status" >&5 |
3880 (exit $ac_status); } && | 3879 (exit $ac_status); } && |
3881 { ac_try='test -s conftest$ac_exeext' | 3880 { ac_try='test -s conftest$ac_exeext' |
3882 { (eval echo "$as_me:3882: \"$ac_try\"") >&5 | 3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5 |
3883 (eval $ac_try) 2>&5 | 3882 (eval $ac_try) 2>&5 |
3884 ac_status=$? | 3883 ac_status=$? |
3885 echo "$as_me:3885: \$? = $ac_status" >&5 | 3884 echo "$as_me:3884: \$? = $ac_status" >&5 |
3886 (exit $ac_status); }; }; then | 3885 (exit $ac_status); }; }; then |
3887 echo "*** The test program compiled, but did not run. This usually means" | 3886 echo "*** The test program compiled, but did not run. This usually means" |
3888 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" | 3887 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" |
3889 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" | 3888 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" |
3890 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 3889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
3906 LIBS="$ac_save_LIBS" | 3905 LIBS="$ac_save_LIBS" |
3907 fi | 3906 fi |
3908 fi | 3907 fi |
3909 GDK_IMLIB_CFLAGS="" | 3908 GDK_IMLIB_CFLAGS="" |
3910 GDK_IMLIB_LIBS="" | 3909 GDK_IMLIB_LIBS="" |
3911 { { echo "$as_me:3911: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 | 3910 { { echo "$as_me:3910: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 |
3912 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} | 3911 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} |
3913 { (exit 1); exit 1; }; } | 3912 { (exit 1); exit 1; }; } |
3914 fi | 3913 fi |
3915 | 3914 |
3916 rm -f conf.gdkimlibtest | 3915 rm -f conf.gdkimlibtest |
3922 LN="ln -s" | 3921 LN="ln -s" |
3923 CP="cp" | 3922 CP="cp" |
3924 MV="mv" | 3923 MV="mv" |
3925 MKDIR="mkdir" | 3924 MKDIR="mkdir" |
3926 | 3925 |
3927 ac_config_files="$ac_config_files Makefile:Makefile.in" | 3926 ac_config_files="$ac_config_files Makefile dw-config" |
3927 | |
3928 cat >confcache <<\_ACEOF | 3928 cat >confcache <<\_ACEOF |
3929 # This file is a shell script that caches the results of configure | 3929 # This file is a shell script that caches the results of configure |
3930 # tests run on this system so they can be shared between configure | 3930 # tests run on this system so they can be shared between configure |
3931 # scripts and configure runs, see configure's option --config-cache. | 3931 # scripts and configure runs, see configure's option --config-cache. |
3932 # It is not useful on other systems. If it contains results you don't | 3932 # It is not useful on other systems. If it contains results you don't |
3952 *ac_space=\ *) | 3952 *ac_space=\ *) |
3953 # `set' does not quote correctly, so add quotes (double-quote | 3953 # `set' does not quote correctly, so add quotes (double-quote |
3954 # substitution turns \\\\ into \\, and sed turns \\ into \). | 3954 # substitution turns \\\\ into \\, and sed turns \\ into \). |
3955 sed -n \ | 3955 sed -n \ |
3956 "s/'/'\\\\''/g; | 3956 "s/'/'\\\\''/g; |
3957 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 3957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3958 ;; | 3958 ;; |
3959 *) | 3959 *) |
3960 # `set' quotes correctly as required by POSIX, so do not add quotes. | 3960 # `set' quotes correctly as required by POSIX, so do not add quotes. |
3961 sed -n \ | 3961 sed -n \ |
3962 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 3962 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
3963 ;; | 3963 ;; |
3964 esac; | 3964 esac; |
3965 } | | 3965 } | |
3966 sed ' | 3966 sed ' |
3967 t clear | 3967 t clear |
4131 EOF | 4131 EOF |
4132 | 4132 |
4133 cat >>$CONFIG_STATUS <<EOF | 4133 cat >>$CONFIG_STATUS <<EOF |
4134 ac_cs_version="\\ | 4134 ac_cs_version="\\ |
4135 config.status | 4135 config.status |
4136 configured by $0, generated by GNU Autoconf 2.49e, | 4136 configured by $0, generated by GNU Autoconf 2.52, |
4137 with options \"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\" | 4137 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
4138 | 4138 |
4139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 4139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
4140 Free Software Foundation, Inc. | 4140 Free Software Foundation, Inc. |
4141 This config.status script is free software; the Free Software Foundation | 4141 This config.status script is free software; the Free Software Foundation |
4142 gives unlimited permission to copy, distribute and modify it." | 4142 gives unlimited permission to copy, distribute and modify it." |
4193 --header | --heade | --head | --hea ) | 4193 --header | --heade | --head | --hea ) |
4194 shift | 4194 shift |
4195 CONFIG_HEADERS="$CONFIG_HEADERS $1" | 4195 CONFIG_HEADERS="$CONFIG_HEADERS $1" |
4196 ac_need_defaults=false;; | 4196 ac_need_defaults=false;; |
4197 | 4197 |
4198 # Handling of arguments. | |
4199 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in" ;; | |
4200 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
4201 | |
4202 # This is an error. | 4198 # This is an error. |
4203 -*) { { echo "$as_me:4203: error: unrecognized option: $1 | 4199 -*) { { echo "$as_me:4199: error: unrecognized option: $1 |
4204 Try \`$0 --help' for more information." >&5 | 4200 Try \`$0 --help' for more information." >&5 |
4205 echo "$as_me: error: unrecognized option: $1 | 4201 echo "$as_me: error: unrecognized option: $1 |
4206 Try \`$0 --help' for more information." >&2;} | 4202 Try \`$0 --help' for more information." >&2;} |
4207 { (exit 1); exit 1; }; } ;; | 4203 { (exit 1); exit 1; }; } ;; |
4208 *) { { echo "$as_me:4208: error: invalid argument: $1" >&5 | 4204 |
4209 echo "$as_me: error: invalid argument: $1" >&2;} | 4205 *) ac_config_targets="$ac_config_targets $1" ;; |
4210 { (exit 1); exit 1; }; };; | 4206 |
4211 esac | 4207 esac |
4212 shift | 4208 shift |
4213 done | 4209 done |
4214 | 4210 |
4215 exec 5>>config.log | 4211 exec 5>>config.log |
4217 | 4213 |
4218 ## ----------------------- ## | 4214 ## ----------------------- ## |
4219 ## Running config.status. ## | 4215 ## Running config.status. ## |
4220 ## ----------------------- ## | 4216 ## ----------------------- ## |
4221 | 4217 |
4222 This file was extended by $as_me 2.49e, executed with | 4218 This file was extended by $as_me 2.52, executed with |
4219 CONFIG_FILES = $CONFIG_FILES | |
4220 CONFIG_HEADERS = $CONFIG_HEADERS | |
4221 CONFIG_LINKS = $CONFIG_LINKS | |
4222 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4223 > $ac_cs_invocation | 4223 > $ac_cs_invocation |
4224 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 4224 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
4225 | 4225 |
4226 _ACEOF | 4226 _ACEOF |
4227 EOF | 4227 EOF |
4228 | 4228 |
4229 cat >>$CONFIG_STATUS <<\EOF | 4229 cat >>$CONFIG_STATUS <<\EOF |
4230 for ac_config_target in $ac_config_targets | |
4231 do | |
4232 case "$ac_config_target" in | |
4233 # Handling of arguments. | |
4234 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
4235 "dw-config" ) CONFIG_FILES="$CONFIG_FILES dw-config" ;; | |
4236 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
4237 *) { { echo "$as_me:4237: error: invalid argument: $ac_config_target" >&5 | |
4238 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
4239 { (exit 1); exit 1; }; };; | |
4240 esac | |
4241 done | |
4242 | |
4230 # If the user did not use the arguments to specify the items to instantiate, | 4243 # If the user did not use the arguments to specify the items to instantiate, |
4231 # then the envvar interface is used. Set only those that are not. | 4244 # then the envvar interface is used. Set only those that are not. |
4232 # We use the long form for the default assignment because of an extremely | 4245 # We use the long form for the default assignment because of an extremely |
4233 # bizarre bug on SunOS 4.1.3. | 4246 # bizarre bug on SunOS 4.1.3. |
4234 if $ac_need_defaults; then | 4247 if $ac_need_defaults; then |
4238 | 4251 |
4239 # Create a temporary directory, and hook for its removal unless debugging. | 4252 # Create a temporary directory, and hook for its removal unless debugging. |
4240 $debug || | 4253 $debug || |
4241 { | 4254 { |
4242 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 4255 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
4243 trap '{ (exit $?); exit $?; }' 1 2 13 15 | 4256 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
4244 } | 4257 } |
4245 | 4258 |
4246 # Create a (secure) tmp directory for tmp files. | 4259 # Create a (secure) tmp directory for tmp files. |
4247 : ${TMPDIR=/tmp} | 4260 : ${TMPDIR=/tmp} |
4248 { | 4261 { |
4291 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 4304 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
4292 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 4305 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
4293 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 4306 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
4294 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 4307 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
4295 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 4308 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
4309 s,@build_alias@,$build_alias,;t t | |
4310 s,@host_alias@,$host_alias,;t t | |
4311 s,@target_alias@,$target_alias,;t t | |
4296 s,@ECHO_C@,$ECHO_C,;t t | 4312 s,@ECHO_C@,$ECHO_C,;t t |
4297 s,@ECHO_N@,$ECHO_N,;t t | 4313 s,@ECHO_N@,$ECHO_N,;t t |
4298 s,@ECHO_T@,$ECHO_T,;t t | 4314 s,@ECHO_T@,$ECHO_T,;t t |
4299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 4315 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
4300 s,@DEFS@,$DEFS,;t t | 4316 s,@DEFS@,$DEFS,;t t |
4301 s,@LIBS@,$LIBS,;t t | 4317 s,@LIBS@,$LIBS,;t t |
4318 s,@DW_MAJOR_VERSION@,$DW_MAJOR_VERSION,;t t | |
4319 s,@DW_MINOR_VERSION@,$DW_MINOR_VERSION,;t t | |
4320 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t | |
4302 s,@CC@,$CC,;t t | 4321 s,@CC@,$CC,;t t |
4303 s,@CFLAGS@,$CFLAGS,;t t | 4322 s,@CFLAGS@,$CFLAGS,;t t |
4304 s,@LDFLAGS@,$LDFLAGS,;t t | 4323 s,@LDFLAGS@,$LDFLAGS,;t t |
4324 s,@CPPFLAGS@,$CPPFLAGS,;t t | |
4305 s,@ac_ct_CC@,$ac_ct_CC,;t t | 4325 s,@ac_ct_CC@,$ac_ct_CC,;t t |
4306 s,@EXEEXT@,$EXEEXT,;t t | 4326 s,@EXEEXT@,$EXEEXT,;t t |
4307 s,@OBJEXT@,$OBJEXT,;t t | 4327 s,@OBJEXT@,$OBJEXT,;t t |
4308 s,@MAKE@,$MAKE,;t t | 4328 s,@MAKE@,$MAKE,;t t |
4309 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 4329 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
4310 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 4330 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
4311 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 4331 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
4312 s,@CPP@,$CPP,;t t | 4332 s,@CPP@,$CPP,;t t |
4313 s,@CPPFLAGS@,$CPPFLAGS,;t t | |
4314 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t | 4333 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t |
4315 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t | 4334 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t |
4316 s,@GLIB_LIBS@,$GLIB_LIBS,;t t | 4335 s,@GLIB_LIBS@,$GLIB_LIBS,;t t |
4317 s,@GTK_CONFIG@,$GTK_CONFIG,;t t | 4336 s,@GTK_CONFIG@,$GTK_CONFIG,;t t |
4318 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | 4337 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t |
4438 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 4457 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
4439 *) ac_INSTALL=$ac_dots$INSTALL ;; | 4458 *) ac_INSTALL=$ac_dots$INSTALL ;; |
4440 esac | 4459 esac |
4441 | 4460 |
4442 if test x"$ac_file" != x-; then | 4461 if test x"$ac_file" != x-; then |
4443 { echo "$as_me:4443: creating $ac_file" >&5 | 4462 { echo "$as_me:4462: creating $ac_file" >&5 |
4444 echo "$as_me: creating $ac_file" >&6;} | 4463 echo "$as_me: creating $ac_file" >&6;} |
4445 rm -f "$ac_file" | 4464 rm -f "$ac_file" |
4446 fi | 4465 fi |
4447 # Let's still pretend it is `configure' which instantiates (i.e., don't | 4466 # Let's still pretend it is `configure' which instantiates (i.e., don't |
4448 # use $as_me), people would be surprised to read: | 4467 # use $as_me), people would be surprised to read: |
4456 for f in $ac_file_in; do | 4475 for f in $ac_file_in; do |
4457 case $f in | 4476 case $f in |
4458 -) echo $tmp/stdin ;; | 4477 -) echo $tmp/stdin ;; |
4459 [\\/$]*) | 4478 [\\/$]*) |
4460 # Absolute (can't be DOS-style, as IFS=:) | 4479 # Absolute (can't be DOS-style, as IFS=:) |
4461 test -f "$f" || { { echo "$as_me:4461: error: cannot find input file: $f" >&5 | 4480 test -f "$f" || { { echo "$as_me:4480: error: cannot find input file: $f" >&5 |
4462 echo "$as_me: error: cannot find input file: $f" >&2;} | 4481 echo "$as_me: error: cannot find input file: $f" >&2;} |
4463 { (exit 1); exit 1; }; } | 4482 { (exit 1); exit 1; }; } |
4464 echo $f;; | 4483 echo $f;; |
4465 *) # Relative | 4484 *) # Relative |
4466 if test -f "$f"; then | 4485 if test -f "$f"; then |
4469 elif test -f "$srcdir/$f"; then | 4488 elif test -f "$srcdir/$f"; then |
4470 # Source tree | 4489 # Source tree |
4471 echo $srcdir/$f | 4490 echo $srcdir/$f |
4472 else | 4491 else |
4473 # /dev/null tree | 4492 # /dev/null tree |
4474 { { echo "$as_me:4474: error: cannot find input file: $f" >&5 | 4493 { { echo "$as_me:4493: error: cannot find input file: $f" >&5 |
4475 echo "$as_me: error: cannot find input file: $f" >&2;} | 4494 echo "$as_me: error: cannot find input file: $f" >&2;} |
4476 { (exit 1); exit 1; }; } | 4495 { (exit 1); exit 1; }; } |
4477 fi;; | 4496 fi;; |
4478 esac | 4497 esac |
4479 done` || { (exit 1); exit 1; } | 4498 done` || { (exit 1); exit 1; } |
4530 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 4549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
4531 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 4550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
4532 * ) ac_file_in=$ac_file.in ;; | 4551 * ) ac_file_in=$ac_file.in ;; |
4533 esac | 4552 esac |
4534 | 4553 |
4535 test x"$ac_file" != x- && { echo "$as_me:4535: creating $ac_file" >&5 | 4554 test x"$ac_file" != x- && { echo "$as_me:4554: creating $ac_file" >&5 |
4536 echo "$as_me: creating $ac_file" >&6;} | 4555 echo "$as_me: creating $ac_file" >&6;} |
4537 | 4556 |
4538 # First look for the input files in the build tree, otherwise in the | 4557 # First look for the input files in the build tree, otherwise in the |
4539 # src tree. | 4558 # src tree. |
4540 ac_file_inputs=`IFS=: | 4559 ac_file_inputs=`IFS=: |
4541 for f in $ac_file_in; do | 4560 for f in $ac_file_in; do |
4542 case $f in | 4561 case $f in |
4543 -) echo $tmp/stdin ;; | 4562 -) echo $tmp/stdin ;; |
4544 [\\/$]*) | 4563 [\\/$]*) |
4545 # Absolute (can't be DOS-style, as IFS=:) | 4564 # Absolute (can't be DOS-style, as IFS=:) |
4546 test -f "$f" || { { echo "$as_me:4546: error: cannot find input file: $f" >&5 | 4565 test -f "$f" || { { echo "$as_me:4565: error: cannot find input file: $f" >&5 |
4547 echo "$as_me: error: cannot find input file: $f" >&2;} | 4566 echo "$as_me: error: cannot find input file: $f" >&2;} |
4548 { (exit 1); exit 1; }; } | 4567 { (exit 1); exit 1; }; } |
4549 echo $f;; | 4568 echo $f;; |
4550 *) # Relative | 4569 *) # Relative |
4551 if test -f "$f"; then | 4570 if test -f "$f"; then |
4554 elif test -f "$srcdir/$f"; then | 4573 elif test -f "$srcdir/$f"; then |
4555 # Source tree | 4574 # Source tree |
4556 echo $srcdir/$f | 4575 echo $srcdir/$f |
4557 else | 4576 else |
4558 # /dev/null tree | 4577 # /dev/null tree |
4559 { { echo "$as_me:4559: error: cannot find input file: $f" >&5 | 4578 { { echo "$as_me:4578: error: cannot find input file: $f" >&5 |
4560 echo "$as_me: error: cannot find input file: $f" >&2;} | 4579 echo "$as_me: error: cannot find input file: $f" >&2;} |
4561 { (exit 1); exit 1; }; } | 4580 { (exit 1); exit 1; }; } |
4562 fi;; | 4581 fi;; |
4563 esac | 4582 esac |
4564 done` || { (exit 1); exit 1; } | 4583 done` || { (exit 1); exit 1; } |
4671 fi | 4690 fi |
4672 cat $tmp/in >>$tmp/config.h | 4691 cat $tmp/in >>$tmp/config.h |
4673 rm -f $tmp/in | 4692 rm -f $tmp/in |
4674 if test x"$ac_file" != x-; then | 4693 if test x"$ac_file" != x-; then |
4675 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 4694 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
4676 { echo "$as_me:4676: $ac_file is unchanged" >&5 | 4695 { echo "$as_me:4695: $ac_file is unchanged" >&5 |
4677 echo "$as_me: $ac_file is unchanged" >&6;} | 4696 echo "$as_me: $ac_file is unchanged" >&6;} |
4678 else | 4697 else |
4679 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 4698 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4680 X"$ac_file" : 'X\(//\)[^/]' \| \ | 4699 X"$ac_file" : 'X\(//\)[^/]' \| \ |
4681 X"$ac_file" : 'X\(//\)$' \| \ | 4700 X"$ac_file" : 'X\(//\)$' \| \ |
4737 exec 5>>config.log | 4756 exec 5>>config.log |
4738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 4757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4739 # would make configure fail if this is the last instruction. | 4758 # would make configure fail if this is the last instruction. |
4740 $ac_cs_success || { (exit 1); exit 1; } | 4759 $ac_cs_success || { (exit 1); exit 1; } |
4741 fi | 4760 fi |
4761 |