Mercurial > dwindows
comparison configure @ 761:39d848c20c05
Support for building on QNX platforms
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 17 Mar 2011 23:57:49 +0000 |
parents | 86c404056262 |
children | c4dae8a3cf9a |
comparison
equal
deleted
inserted
replaced
760:2fb17622a455 | 761:39d848c20c05 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.68. | 3 # Generated by GNU Autoconf 2.65. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
8 # Foundation, Inc. | 8 # Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 # splitting by setting IFS to empty value.) | 88 # splitting by setting IFS to empty value.) |
89 IFS=" "" $as_nl" | 89 IFS=" "" $as_nl" |
90 | 90 |
91 # Find who we are. Look in the path if we contain no directory separator. | 91 # Find who we are. Look in the path if we contain no directory separator. |
92 as_myself= | |
93 case $0 in #(( | 92 case $0 in #(( |
94 *[\\/]* ) as_myself=$0 ;; | 93 *[\\/]* ) as_myself=$0 ;; |
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 for as_dir in $PATH | 95 for as_dir in $PATH |
97 do | 96 do |
213 | 212 |
214 if test "x$CONFIG_SHELL" != x; then : | 213 if test "x$CONFIG_SHELL" != x; then : |
215 # We cannot yet assume a decent shell, so we have to provide a | 214 # We cannot yet assume a decent shell, so we have to provide a |
216 # neutralization value for shells without unset; and this also | 215 # neutralization value for shells without unset; and this also |
217 # works around shells that cannot unset nonexistent variables. | 216 # works around shells that cannot unset nonexistent variables. |
218 # Preserve -v and -x to the replacement shell. | |
219 BASH_ENV=/dev/null | 217 BASH_ENV=/dev/null |
220 ENV=/dev/null | 218 ENV=/dev/null |
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 export CONFIG_SHELL | 220 export CONFIG_SHELL |
223 case $- in # (((( | 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
224 *v*x* | *x*v* ) as_opts=-vx ;; | |
225 *v* ) as_opts=-v ;; | |
226 *x* ) as_opts=-x ;; | |
227 * ) as_opts= ;; | |
228 esac | |
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
230 fi | 222 fi |
231 | 223 |
232 if test x$as_have_required = xno; then : | 224 if test x$as_have_required = xno; then : |
233 $as_echo "$0: This script requires a shell more modern than all" | 225 $as_echo "$0: This script requires a shell more modern than all" |
234 $as_echo "$0: the shells that I found on your system." | 226 $as_echo "$0: the shells that I found on your system." |
322 } | 314 } |
323 s/.*/./; q'` | 315 s/.*/./; q'` |
324 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
325 done | 317 done |
326 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
328 | 320 |
329 | 321 |
330 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
331 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
332 # ---------------------- | 324 # ---------------------- |
362 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
363 } | 355 } |
364 fi # as_fn_arith | 356 fi # as_fn_arith |
365 | 357 |
366 | 358 |
367 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 359 # as_fn_error ERROR [LINENO LOG_FD] |
368 # ---------------------------------------- | 360 # --------------------------------- |
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
371 # script with STATUS, using 1 if that was 0. | 363 # script with status $?, using 1 if that was 0. |
372 as_fn_error () | 364 as_fn_error () |
373 { | 365 { |
374 as_status=$1; test $as_status -eq 0 && as_status=1 | 366 as_status=$?; test $as_status -eq 0 && as_status=1 |
375 if test "$4"; then | 367 if test "$3"; then |
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
378 fi | 370 fi |
379 $as_echo "$as_me: error: $2" >&2 | 371 $as_echo "$as_me: error: $1" >&2 |
380 as_fn_exit $as_status | 372 as_fn_exit $as_status |
381 } # as_fn_error | 373 } # as_fn_error |
382 | 374 |
383 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
536 | 528 |
537 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
538 exec 6>&1 | 530 exec 6>&1 |
539 | 531 |
540 # Name of the host. | 532 # Name of the host. |
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
542 # so uname gets run too. | 534 # so uname gets run too. |
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
544 | 536 |
545 # | 537 # |
546 # Initializations. | 538 # Initializations. |
606 COMPAT_OBJECT | 598 COMPAT_OBJECT |
607 BROWSER_OBJECT | 599 BROWSER_OBJECT |
608 DW_DEFINE | 600 DW_DEFINE |
609 DW_DIR | 601 DW_DIR |
610 DW_SRC | 602 DW_SRC |
603 TARGETS | |
611 SONAME | 604 SONAME |
605 LIBPREFIX | |
606 LIBSUFFIX | |
612 SOSUFFIX | 607 SOSUFFIX |
613 SHAREDFLAG | 608 SHAREDFLAG |
614 MKDIR | 609 MKDIR |
615 MV | 610 MV |
616 CP | 611 CP |
617 LN | 612 LN |
618 RM | 613 RM |
614 ARFLAGS | |
615 PLATCCFLAGS | |
619 INCLUDES | 616 INCLUDES |
617 SYSCONF_LINK_TARGET_STATIC | |
618 SYSCONF_LINK_TARGET_SHARED2 | |
619 SYSCONF_LINK_TARGET_SHARED | |
620 GDK_IMLIB_LIBS | 620 GDK_IMLIB_LIBS |
621 GDK_IMLIB_CFLAGS | 621 GDK_IMLIB_CFLAGS |
622 IMLIB_CONFIG | 622 IMLIB_CONFIG |
623 GTK_LIBS | 623 GTK_LIBS |
624 GTK_CFLAGS | 624 GTK_CFLAGS |
628 GLIB_CONFIG | 628 GLIB_CONFIG |
629 PKG_CFG | 629 PKG_CFG |
630 EGREP | 630 EGREP |
631 GREP | 631 GREP |
632 CPP | 632 CPP |
633 SYSCONF_LINK_TARGET_SHARED2 | 633 target_os |
634 SYSCONF_LINK_TARGET_SHARED | 634 target_vendor |
635 target_cpu | |
636 target | |
637 host_os | |
638 host_vendor | |
639 host_cpu | |
640 host | |
641 build_os | |
642 build_vendor | |
643 build_cpu | |
644 build | |
635 INSTALL_DATA | 645 INSTALL_DATA |
636 INSTALL_SCRIPT | 646 INSTALL_SCRIPT |
637 INSTALL_PROGRAM | 647 INSTALL_PROGRAM |
638 MAKE | 648 MAKE |
639 ac_ct_CXX | 649 ac_ct_CXX |
692 ac_subst_files='' | 702 ac_subst_files='' |
693 ac_user_opts=' | 703 ac_user_opts=' |
694 enable_option_checking | 704 enable_option_checking |
695 with_compat | 705 with_compat |
696 with_gtk | 706 with_gtk |
707 with_gtkframework | |
697 with_gtkhtml | 708 with_gtkhtml |
698 with_gtkmozembed | 709 with_gtkmozembed |
699 with_arch | 710 with_arch |
700 with_glib_prefix | 711 with_glib_prefix |
701 with_glib_exec_prefix | 712 with_glib_exec_prefix |
715 LDFLAGS | 726 LDFLAGS |
716 LIBS | 727 LIBS |
717 CPPFLAGS | 728 CPPFLAGS |
718 CXX | 729 CXX |
719 CXXFLAGS | 730 CXXFLAGS |
720 LDFLAGS | |
721 LIBS | |
722 CPPFLAGS | |
723 CCC | 731 CCC |
724 CPP' | 732 CPP' |
725 | 733 |
726 | 734 |
727 # Initialize some variables set by options. | 735 # Initialize some variables set by options. |
782 ac_prev= | 790 ac_prev= |
783 continue | 791 continue |
784 fi | 792 fi |
785 | 793 |
786 case $ac_option in | 794 case $ac_option in |
787 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 795 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
788 *=) ac_optarg= ;; | 796 *) ac_optarg=yes ;; |
789 *) ac_optarg=yes ;; | |
790 esac | 797 esac |
791 | 798 |
792 # Accept the important Cygnus configure options, so we can diagnose typos. | 799 # Accept the important Cygnus configure options, so we can diagnose typos. |
793 | 800 |
794 case $ac_dashdash$ac_option in | 801 case $ac_dashdash$ac_option in |
829 | 836 |
830 -disable-* | --disable-*) | 837 -disable-* | --disable-*) |
831 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 838 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
832 # Reject names that are not valid shell variable names. | 839 # Reject names that are not valid shell variable names. |
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
834 as_fn_error $? "invalid feature name: $ac_useropt" | 841 as_fn_error "invalid feature name: $ac_useropt" |
835 ac_useropt_orig=$ac_useropt | 842 ac_useropt_orig=$ac_useropt |
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
837 case $ac_user_opts in | 844 case $ac_user_opts in |
838 *" | 845 *" |
839 "enable_$ac_useropt" | 846 "enable_$ac_useropt" |
855 | 862 |
856 -enable-* | --enable-*) | 863 -enable-* | --enable-*) |
857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 864 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
858 # Reject names that are not valid shell variable names. | 865 # Reject names that are not valid shell variable names. |
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
860 as_fn_error $? "invalid feature name: $ac_useropt" | 867 as_fn_error "invalid feature name: $ac_useropt" |
861 ac_useropt_orig=$ac_useropt | 868 ac_useropt_orig=$ac_useropt |
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
863 case $ac_user_opts in | 870 case $ac_user_opts in |
864 *" | 871 *" |
865 "enable_$ac_useropt" | 872 "enable_$ac_useropt" |
1059 | 1066 |
1060 -with-* | --with-*) | 1067 -with-* | --with-*) |
1061 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1062 # Reject names that are not valid shell variable names. | 1069 # Reject names that are not valid shell variable names. |
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1064 as_fn_error $? "invalid package name: $ac_useropt" | 1071 as_fn_error "invalid package name: $ac_useropt" |
1065 ac_useropt_orig=$ac_useropt | 1072 ac_useropt_orig=$ac_useropt |
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1067 case $ac_user_opts in | 1074 case $ac_user_opts in |
1068 *" | 1075 *" |
1069 "with_$ac_useropt" | 1076 "with_$ac_useropt" |
1075 | 1082 |
1076 -without-* | --without-*) | 1083 -without-* | --without-*) |
1077 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1078 # Reject names that are not valid shell variable names. | 1085 # Reject names that are not valid shell variable names. |
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1080 as_fn_error $? "invalid package name: $ac_useropt" | 1087 as_fn_error "invalid package name: $ac_useropt" |
1081 ac_useropt_orig=$ac_useropt | 1088 ac_useropt_orig=$ac_useropt |
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1083 case $ac_user_opts in | 1090 case $ac_user_opts in |
1084 *" | 1091 *" |
1085 "with_$ac_useropt" | 1092 "with_$ac_useropt" |
1105 ac_prev=x_libraries ;; | 1112 ac_prev=x_libraries ;; |
1106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1108 x_libraries=$ac_optarg ;; | 1115 x_libraries=$ac_optarg ;; |
1109 | 1116 |
1110 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1117 -*) as_fn_error "unrecognized option: \`$ac_option' |
1111 Try \`$0 --help' for more information" | 1118 Try \`$0 --help' for more information." |
1112 ;; | 1119 ;; |
1113 | 1120 |
1114 *=*) | 1121 *=*) |
1115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1116 # Reject names that are not valid shell variable names. | 1123 # Reject names that are not valid shell variable names. |
1117 case $ac_envvar in #( | 1124 case $ac_envvar in #( |
1118 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1125 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1119 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1126 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1120 esac | 1127 esac |
1121 eval $ac_envvar=\$ac_optarg | 1128 eval $ac_envvar=\$ac_optarg |
1122 export $ac_envvar ;; | 1129 export $ac_envvar ;; |
1123 | 1130 |
1124 *) | 1131 *) |
1125 # FIXME: should be removed in autoconf 3.0. | 1132 # FIXME: should be removed in autoconf 3.0. |
1126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1133 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1135 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 1136 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1130 ;; | 1137 ;; |
1131 | 1138 |
1132 esac | 1139 esac |
1133 done | 1140 done |
1134 | 1141 |
1135 if test -n "$ac_prev"; then | 1142 if test -n "$ac_prev"; then |
1136 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1143 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1137 as_fn_error $? "missing argument to $ac_option" | 1144 as_fn_error "missing argument to $ac_option" |
1138 fi | 1145 fi |
1139 | 1146 |
1140 if test -n "$ac_unrecognized_opts"; then | 1147 if test -n "$ac_unrecognized_opts"; then |
1141 case $enable_option_checking in | 1148 case $enable_option_checking in |
1142 no) ;; | 1149 no) ;; |
1143 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 1150 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1151 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1145 esac | 1152 esac |
1146 fi | 1153 fi |
1147 | 1154 |
1148 # Check all directory arguments for consistency. | 1155 # Check all directory arguments for consistency. |
1161 # Be sure to have absolute directory names. | 1168 # Be sure to have absolute directory names. |
1162 case $ac_val in | 1169 case $ac_val in |
1163 [\\/$]* | ?:[\\/]* ) continue;; | 1170 [\\/$]* | ?:[\\/]* ) continue;; |
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1165 esac | 1172 esac |
1166 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1173 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1167 done | 1174 done |
1168 | 1175 |
1169 # There might be people who depend on the old broken behavior: `$host' | 1176 # There might be people who depend on the old broken behavior: `$host' |
1170 # used to hold the argument of --host etc. | 1177 # used to hold the argument of --host etc. |
1171 # FIXME: To remove some day. | 1178 # FIXME: To remove some day. |
1175 | 1182 |
1176 # FIXME: To remove some day. | 1183 # FIXME: To remove some day. |
1177 if test "x$host_alias" != x; then | 1184 if test "x$host_alias" != x; then |
1178 if test "x$build_alias" = x; then | 1185 if test "x$build_alias" = x; then |
1179 cross_compiling=maybe | 1186 cross_compiling=maybe |
1180 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1187 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1181 If a cross compiler is detected then cross compile mode will be used" >&2 | 1188 If a cross compiler is detected then cross compile mode will be used." >&2 |
1182 elif test "x$build_alias" != "x$host_alias"; then | 1189 elif test "x$build_alias" != "x$host_alias"; then |
1183 cross_compiling=yes | 1190 cross_compiling=yes |
1184 fi | 1191 fi |
1185 fi | 1192 fi |
1186 | 1193 |
1191 | 1198 |
1192 | 1199 |
1193 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1200 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1194 ac_ls_di=`ls -di .` && | 1201 ac_ls_di=`ls -di .` && |
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1202 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1196 as_fn_error $? "working directory cannot be determined" | 1203 as_fn_error "working directory cannot be determined" |
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1204 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1198 as_fn_error $? "pwd does not report name of working directory" | 1205 as_fn_error "pwd does not report name of working directory" |
1199 | 1206 |
1200 | 1207 |
1201 # Find the source files, if location was not specified. | 1208 # Find the source files, if location was not specified. |
1202 if test -z "$srcdir"; then | 1209 if test -z "$srcdir"; then |
1203 ac_srcdir_defaulted=yes | 1210 ac_srcdir_defaulted=yes |
1232 else | 1239 else |
1233 ac_srcdir_defaulted=no | 1240 ac_srcdir_defaulted=no |
1234 fi | 1241 fi |
1235 if test ! -r "$srcdir/$ac_unique_file"; then | 1242 if test ! -r "$srcdir/$ac_unique_file"; then |
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1243 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1244 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1238 fi | 1245 fi |
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1246 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1240 ac_abs_confdir=`( | 1247 ac_abs_confdir=`( |
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1248 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1242 pwd)` | 1249 pwd)` |
1243 # When building in place, set srcdir=. | 1250 # When building in place, set srcdir=. |
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1251 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1245 srcdir=. | 1252 srcdir=. |
1246 fi | 1253 fi |
1276 Configuration: | 1283 Configuration: |
1277 -h, --help display this help and exit | 1284 -h, --help display this help and exit |
1278 --help=short display options specific to this package | 1285 --help=short display options specific to this package |
1279 --help=recursive display the short help of all the included packages | 1286 --help=recursive display the short help of all the included packages |
1280 -V, --version display version information and exit | 1287 -V, --version display version information and exit |
1281 -q, --quiet, --silent do not print \`checking ...' messages | 1288 -q, --quiet, --silent do not print \`checking...' messages |
1282 --cache-file=FILE cache test results in FILE [disabled] | 1289 --cache-file=FILE cache test results in FILE [disabled] |
1283 -C, --config-cache alias for \`--cache-file=config.cache' | 1290 -C, --config-cache alias for \`--cache-file=config.cache' |
1284 -n, --no-create do not create output files | 1291 -n, --no-create do not create output files |
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1292 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1286 | 1293 |
1318 --pdfdir=DIR pdf documentation [DOCDIR] | 1325 --pdfdir=DIR pdf documentation [DOCDIR] |
1319 --psdir=DIR ps documentation [DOCDIR] | 1326 --psdir=DIR ps documentation [DOCDIR] |
1320 _ACEOF | 1327 _ACEOF |
1321 | 1328 |
1322 cat <<\_ACEOF | 1329 cat <<\_ACEOF |
1330 | |
1331 System types: | |
1332 --build=BUILD configure for building on BUILD [guessed] | |
1333 --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1334 --target=TARGET configure for building compilers for TARGET [HOST] | |
1323 _ACEOF | 1335 _ACEOF |
1324 fi | 1336 fi |
1325 | 1337 |
1326 if test -n "$ac_init_help"; then | 1338 if test -n "$ac_init_help"; then |
1327 | 1339 |
1338 Optional Packages: | 1350 Optional Packages: |
1339 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1351 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1340 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1352 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1341 --with-compat specify this to build the optional dwcompat library | 1353 --with-compat specify this to build the optional dwcompat library |
1342 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) | 1354 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) |
1355 --with-gtkframework specify this to build dwindows with GTK+ Framework (only relevant for OSX) | |
1343 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 | 1356 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 |
1344 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed | 1357 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed |
1345 --with-arch specify architecture: one of all, 32bit, 64bit, ppc, ppc64, x86_64, i386 | 1358 --with-arch specify architecture: one of all, 32bit, 64bit, ppc, ppc64, x86_64, i386 |
1346 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) | 1359 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) |
1347 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) | 1360 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) |
1427 | 1440 |
1428 test -n "$ac_init_help" && exit $ac_status | 1441 test -n "$ac_init_help" && exit $ac_status |
1429 if $ac_init_version; then | 1442 if $ac_init_version; then |
1430 cat <<\_ACEOF | 1443 cat <<\_ACEOF |
1431 configure | 1444 configure |
1432 generated by GNU Autoconf 2.68 | 1445 generated by GNU Autoconf 2.65 |
1433 | 1446 |
1434 Copyright (C) 2010 Free Software Foundation, Inc. | 1447 Copyright (C) 2009 Free Software Foundation, Inc. |
1435 This configure script is free software; the Free Software Foundation | 1448 This configure script is free software; the Free Software Foundation |
1436 gives unlimited permission to copy, distribute and modify it. | 1449 gives unlimited permission to copy, distribute and modify it. |
1437 _ACEOF | 1450 _ACEOF |
1438 exit | 1451 exit |
1439 fi | 1452 fi |
1473 $as_echo "$as_me: failed program was:" >&5 | 1486 $as_echo "$as_me: failed program was:" >&5 |
1474 sed 's/^/| /' conftest.$ac_ext >&5 | 1487 sed 's/^/| /' conftest.$ac_ext >&5 |
1475 | 1488 |
1476 ac_retval=1 | 1489 ac_retval=1 |
1477 fi | 1490 fi |
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1491 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1479 as_fn_set_status $ac_retval | 1492 as_fn_set_status $ac_retval |
1480 | 1493 |
1481 } # ac_fn_c_try_compile | 1494 } # ac_fn_c_try_compile |
1482 | 1495 |
1483 # ac_fn_cxx_try_compile LINENO | 1496 # ac_fn_cxx_try_compile LINENO |
1511 $as_echo "$as_me: failed program was:" >&5 | 1524 $as_echo "$as_me: failed program was:" >&5 |
1512 sed 's/^/| /' conftest.$ac_ext >&5 | 1525 sed 's/^/| /' conftest.$ac_ext >&5 |
1513 | 1526 |
1514 ac_retval=1 | 1527 ac_retval=1 |
1515 fi | 1528 fi |
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1517 as_fn_set_status $ac_retval | 1530 as_fn_set_status $ac_retval |
1518 | 1531 |
1519 } # ac_fn_cxx_try_compile | 1532 } # ac_fn_cxx_try_compile |
1520 | 1533 |
1521 # ac_fn_c_try_cpp LINENO | 1534 # ac_fn_c_try_cpp LINENO |
1537 grep -v '^ *+' conftest.err >conftest.er1 | 1550 grep -v '^ *+' conftest.err >conftest.er1 |
1538 cat conftest.er1 >&5 | 1551 cat conftest.er1 >&5 |
1539 mv -f conftest.er1 conftest.err | 1552 mv -f conftest.er1 conftest.err |
1540 fi | 1553 fi |
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1542 test $ac_status = 0; } > conftest.i && { | 1555 test $ac_status = 0; } >/dev/null && { |
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1544 test ! -s conftest.err | 1557 test ! -s conftest.err |
1545 }; then : | 1558 }; then : |
1546 ac_retval=0 | 1559 ac_retval=0 |
1547 else | 1560 else |
1548 $as_echo "$as_me: failed program was:" >&5 | 1561 $as_echo "$as_me: failed program was:" >&5 |
1549 sed 's/^/| /' conftest.$ac_ext >&5 | 1562 sed 's/^/| /' conftest.$ac_ext >&5 |
1550 | 1563 |
1551 ac_retval=1 | 1564 ac_retval=1 |
1552 fi | 1565 fi |
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1554 as_fn_set_status $ac_retval | 1567 as_fn_set_status $ac_retval |
1555 | 1568 |
1556 } # ac_fn_c_try_cpp | 1569 } # ac_fn_c_try_cpp |
1557 | 1570 |
1558 # ac_fn_c_try_run LINENO | 1571 # ac_fn_c_try_run LINENO |
1590 sed 's/^/| /' conftest.$ac_ext >&5 | 1603 sed 's/^/| /' conftest.$ac_ext >&5 |
1591 | 1604 |
1592 ac_retval=$ac_status | 1605 ac_retval=$ac_status |
1593 fi | 1606 fi |
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1596 as_fn_set_status $ac_retval | 1609 as_fn_set_status $ac_retval |
1597 | 1610 |
1598 } # ac_fn_c_try_run | 1611 } # ac_fn_c_try_run |
1599 | 1612 |
1600 # ac_fn_c_try_link LINENO | 1613 # ac_fn_c_try_link LINENO |
1636 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 1649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1637 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 1650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1638 # interfere with the next link command; also delete a directory that is | 1651 # interfere with the next link command; also delete a directory that is |
1639 # left behind by Apple's compiler. We do this before executing the actions. | 1652 # left behind by Apple's compiler. We do this before executing the actions. |
1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1642 as_fn_set_status $ac_retval | 1655 as_fn_set_status $ac_retval |
1643 | 1656 |
1644 } # ac_fn_c_try_link | 1657 } # ac_fn_c_try_link |
1645 | 1658 |
1646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 1659 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1649 # the include files in INCLUDES and setting the cache variable VAR | 1662 # the include files in INCLUDES and setting the cache variable VAR |
1650 # accordingly. | 1663 # accordingly. |
1651 ac_fn_c_check_header_mongrel () | 1664 ac_fn_c_check_header_mongrel () |
1652 { | 1665 { |
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1654 if eval \${$3+:} false; then : | 1667 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1656 $as_echo_n "checking for $2... " >&6; } | 1669 $as_echo_n "checking for $2... " >&6; } |
1657 if eval \${$3+:} false; then : | 1670 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1658 $as_echo_n "(cached) " >&6 | 1671 $as_echo_n "(cached) " >&6 |
1659 fi | 1672 fi |
1660 eval ac_res=\$$3 | 1673 eval ac_res=\$$3 |
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1662 $as_echo "$ac_res" >&6; } | 1675 $as_echo "$ac_res" >&6; } |
1688 if ac_fn_c_try_cpp "$LINENO"; then : | 1701 if ac_fn_c_try_cpp "$LINENO"; then : |
1689 ac_header_preproc=yes | 1702 ac_header_preproc=yes |
1690 else | 1703 else |
1691 ac_header_preproc=no | 1704 ac_header_preproc=no |
1692 fi | 1705 fi |
1693 rm -f conftest.err conftest.i conftest.$ac_ext | 1706 rm -f conftest.err conftest.$ac_ext |
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1695 $as_echo "$ac_header_preproc" >&6; } | 1708 $as_echo "$ac_header_preproc" >&6; } |
1696 | 1709 |
1697 # So? What about this header? | 1710 # So? What about this header? |
1698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1716 ;; | 1729 ;; |
1717 esac | 1730 esac |
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1719 $as_echo_n "checking for $2... " >&6; } | 1732 $as_echo_n "checking for $2... " >&6; } |
1720 if eval \${$3+:} false; then : | 1733 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1721 $as_echo_n "(cached) " >&6 | 1734 $as_echo_n "(cached) " >&6 |
1722 else | 1735 else |
1723 eval "$3=\$ac_header_compiler" | 1736 eval "$3=\$ac_header_compiler" |
1724 fi | 1737 fi |
1725 eval ac_res=\$$3 | 1738 eval ac_res=\$$3 |
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1727 $as_echo "$ac_res" >&6; } | 1740 $as_echo "$ac_res" >&6; } |
1728 fi | 1741 fi |
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1730 | 1743 |
1731 } # ac_fn_c_check_header_mongrel | 1744 } # ac_fn_c_check_header_mongrel |
1732 | 1745 |
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1734 # ------------------------------------------------------- | 1747 # ------------------------------------------------------- |
1737 ac_fn_c_check_header_compile () | 1750 ac_fn_c_check_header_compile () |
1738 { | 1751 { |
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1741 $as_echo_n "checking for $2... " >&6; } | 1754 $as_echo_n "checking for $2... " >&6; } |
1742 if eval \${$3+:} false; then : | 1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1743 $as_echo_n "(cached) " >&6 | 1756 $as_echo_n "(cached) " >&6 |
1744 else | 1757 else |
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1746 /* end confdefs.h. */ | 1759 /* end confdefs.h. */ |
1747 $4 | 1760 $4 |
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1756 fi | 1769 fi |
1757 eval ac_res=\$$3 | 1770 eval ac_res=\$$3 |
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1759 $as_echo "$ac_res" >&6; } | 1772 $as_echo "$ac_res" >&6; } |
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1761 | 1774 |
1762 } # ac_fn_c_check_header_compile | 1775 } # ac_fn_c_check_header_compile |
1763 | 1776 |
1764 # ac_fn_c_check_func LINENO FUNC VAR | 1777 # ac_fn_c_check_func LINENO FUNC VAR |
1765 # ---------------------------------- | 1778 # ---------------------------------- |
1767 ac_fn_c_check_func () | 1780 ac_fn_c_check_func () |
1768 { | 1781 { |
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1771 $as_echo_n "checking for $2... " >&6; } | 1784 $as_echo_n "checking for $2... " >&6; } |
1772 if eval \${$3+:} false; then : | 1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1773 $as_echo_n "(cached) " >&6 | 1786 $as_echo_n "(cached) " >&6 |
1774 else | 1787 else |
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1776 /* end confdefs.h. */ | 1789 /* end confdefs.h. */ |
1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1822 conftest$ac_exeext conftest.$ac_ext | 1835 conftest$ac_exeext conftest.$ac_ext |
1823 fi | 1836 fi |
1824 eval ac_res=\$$3 | 1837 eval ac_res=\$$3 |
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1826 $as_echo "$ac_res" >&6; } | 1839 $as_echo "$ac_res" >&6; } |
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1828 | 1841 |
1829 } # ac_fn_c_check_func | 1842 } # ac_fn_c_check_func |
1830 cat >config.log <<_ACEOF | 1843 cat >config.log <<_ACEOF |
1831 This file contains any messages produced by compilers while | 1844 This file contains any messages produced by compilers while |
1832 running configure, to aid debugging if configure makes a mistake. | 1845 running configure, to aid debugging if configure makes a mistake. |
1833 | 1846 |
1834 It was created by $as_me, which was | 1847 It was created by $as_me, which was |
1835 generated by GNU Autoconf 2.68. Invocation command line was | 1848 generated by GNU Autoconf 2.65. Invocation command line was |
1836 | 1849 |
1837 $ $0 $@ | 1850 $ $0 $@ |
1838 | 1851 |
1839 _ACEOF | 1852 _ACEOF |
1840 exec 5>>config.log | 1853 exec 5>>config.log |
1940 trap 'exit_status=$? | 1953 trap 'exit_status=$? |
1941 # Save into config.log some information that might help in debugging. | 1954 # Save into config.log some information that might help in debugging. |
1942 { | 1955 { |
1943 echo | 1956 echo |
1944 | 1957 |
1945 $as_echo "## ---------------- ## | 1958 cat <<\_ASBOX |
1959 ## ---------------- ## | |
1946 ## Cache variables. ## | 1960 ## Cache variables. ## |
1947 ## ---------------- ##" | 1961 ## ---------------- ## |
1962 _ASBOX | |
1948 echo | 1963 echo |
1949 # The following way of writing the cache mishandles newlines in values, | 1964 # The following way of writing the cache mishandles newlines in values, |
1950 ( | 1965 ( |
1951 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1966 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1952 eval ac_val=\$$ac_var | 1967 eval ac_val=\$$ac_var |
1976 esac | | 1991 esac | |
1977 sort | 1992 sort |
1978 ) | 1993 ) |
1979 echo | 1994 echo |
1980 | 1995 |
1981 $as_echo "## ----------------- ## | 1996 cat <<\_ASBOX |
1997 ## ----------------- ## | |
1982 ## Output variables. ## | 1998 ## Output variables. ## |
1983 ## ----------------- ##" | 1999 ## ----------------- ## |
2000 _ASBOX | |
1984 echo | 2001 echo |
1985 for ac_var in $ac_subst_vars | 2002 for ac_var in $ac_subst_vars |
1986 do | 2003 do |
1987 eval ac_val=\$$ac_var | 2004 eval ac_val=\$$ac_var |
1988 case $ac_val in | 2005 case $ac_val in |
1991 $as_echo "$ac_var='\''$ac_val'\''" | 2008 $as_echo "$ac_var='\''$ac_val'\''" |
1992 done | sort | 2009 done | sort |
1993 echo | 2010 echo |
1994 | 2011 |
1995 if test -n "$ac_subst_files"; then | 2012 if test -n "$ac_subst_files"; then |
1996 $as_echo "## ------------------- ## | 2013 cat <<\_ASBOX |
2014 ## ------------------- ## | |
1997 ## File substitutions. ## | 2015 ## File substitutions. ## |
1998 ## ------------------- ##" | 2016 ## ------------------- ## |
2017 _ASBOX | |
1999 echo | 2018 echo |
2000 for ac_var in $ac_subst_files | 2019 for ac_var in $ac_subst_files |
2001 do | 2020 do |
2002 eval ac_val=\$$ac_var | 2021 eval ac_val=\$$ac_var |
2003 case $ac_val in | 2022 case $ac_val in |
2007 done | sort | 2026 done | sort |
2008 echo | 2027 echo |
2009 fi | 2028 fi |
2010 | 2029 |
2011 if test -s confdefs.h; then | 2030 if test -s confdefs.h; then |
2012 $as_echo "## ----------- ## | 2031 cat <<\_ASBOX |
2032 ## ----------- ## | |
2013 ## confdefs.h. ## | 2033 ## confdefs.h. ## |
2014 ## ----------- ##" | 2034 ## ----------- ## |
2035 _ASBOX | |
2015 echo | 2036 echo |
2016 cat confdefs.h | 2037 cat confdefs.h |
2017 echo | 2038 echo |
2018 fi | 2039 fi |
2019 test "$ac_signal" != 0 && | 2040 test "$ac_signal" != 0 && |
2064 # Let the site file select an alternate cache file if it wants to. | 2085 # Let the site file select an alternate cache file if it wants to. |
2065 # Prefer an explicitly selected file to automatically selected ones. | 2086 # Prefer an explicitly selected file to automatically selected ones. |
2066 ac_site_file1=NONE | 2087 ac_site_file1=NONE |
2067 ac_site_file2=NONE | 2088 ac_site_file2=NONE |
2068 if test -n "$CONFIG_SITE"; then | 2089 if test -n "$CONFIG_SITE"; then |
2069 # We do not want a PATH search for config.site. | 2090 ac_site_file1=$CONFIG_SITE |
2070 case $CONFIG_SITE in #(( | |
2071 -*) ac_site_file1=./$CONFIG_SITE;; | |
2072 */*) ac_site_file1=$CONFIG_SITE;; | |
2073 *) ac_site_file1=./$CONFIG_SITE;; | |
2074 esac | |
2075 elif test "x$prefix" != xNONE; then | 2091 elif test "x$prefix" != xNONE; then |
2076 ac_site_file1=$prefix/share/config.site | 2092 ac_site_file1=$prefix/share/config.site |
2077 ac_site_file2=$prefix/etc/config.site | 2093 ac_site_file2=$prefix/etc/config.site |
2078 else | 2094 else |
2079 ac_site_file1=$ac_default_prefix/share/config.site | 2095 ac_site_file1=$ac_default_prefix/share/config.site |
2084 test "x$ac_site_file" = xNONE && continue | 2100 test "x$ac_site_file" = xNONE && continue |
2085 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2101 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2088 sed 's/^/| /' "$ac_site_file" >&5 | 2104 sed 's/^/| /' "$ac_site_file" >&5 |
2089 . "$ac_site_file" \ | 2105 . "$ac_site_file" |
2090 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2092 as_fn_error $? "failed to load site script $ac_site_file | |
2093 See \`config.log' for more details" "$LINENO" 5; } | |
2094 fi | 2106 fi |
2095 done | 2107 done |
2096 | 2108 |
2097 if test -r "$cache_file"; then | 2109 if test -r "$cache_file"; then |
2098 # Some versions of bash will fail to source /dev/null (special files | 2110 # Some versions of bash will fail to source /dev/null (special files |
2164 if $ac_cache_corrupted; then | 2176 if $ac_cache_corrupted; then |
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2180 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2169 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2181 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2170 fi | 2182 fi |
2171 ## -------------------- ## | 2183 ## -------------------- ## |
2172 ## Main body of script. ## | 2184 ## Main body of script. ## |
2173 ## -------------------- ## | 2185 ## -------------------- ## |
2174 | 2186 |
2194 DW_DIR=gtk | 2206 DW_DIR=gtk |
2195 DW_SRC=dw.c | 2207 DW_SRC=dw.c |
2196 DW_DEFINE=__UNIX__ | 2208 DW_DEFINE=__UNIX__ |
2197 SHAREDFLAG=-shared | 2209 SHAREDFLAG=-shared |
2198 SOSUFFIX=so | 2210 SOSUFFIX=so |
2211 LIBSUFFIX=a | |
2212 LIBPREFIX=lib | |
2199 | 2213 |
2200 | 2214 |
2201 | 2215 |
2202 | 2216 |
2203 INCLUDES="-I." | 2217 INCLUDES="-I." |
2210 if test -n "$ac_tool_prefix"; then | 2224 if test -n "$ac_tool_prefix"; then |
2211 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2225 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2212 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2226 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2214 $as_echo_n "checking for $ac_word... " >&6; } | 2228 $as_echo_n "checking for $ac_word... " >&6; } |
2215 if ${ac_cv_prog_CC+:} false; then : | 2229 if test "${ac_cv_prog_CC+set}" = set; then : |
2216 $as_echo_n "(cached) " >&6 | 2230 $as_echo_n "(cached) " >&6 |
2217 else | 2231 else |
2218 if test -n "$CC"; then | 2232 if test -n "$CC"; then |
2219 ac_cv_prog_CC="$CC" # Let the user override the test. | 2233 ac_cv_prog_CC="$CC" # Let the user override the test. |
2220 else | 2234 else |
2250 ac_ct_CC=$CC | 2264 ac_ct_CC=$CC |
2251 # Extract the first word of "gcc", so it can be a program name with args. | 2265 # Extract the first word of "gcc", so it can be a program name with args. |
2252 set dummy gcc; ac_word=$2 | 2266 set dummy gcc; ac_word=$2 |
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2254 $as_echo_n "checking for $ac_word... " >&6; } | 2268 $as_echo_n "checking for $ac_word... " >&6; } |
2255 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2256 $as_echo_n "(cached) " >&6 | 2270 $as_echo_n "(cached) " >&6 |
2257 else | 2271 else |
2258 if test -n "$ac_ct_CC"; then | 2272 if test -n "$ac_ct_CC"; then |
2259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2260 else | 2274 else |
2303 if test -n "$ac_tool_prefix"; then | 2317 if test -n "$ac_tool_prefix"; then |
2304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2318 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2305 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2319 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2307 $as_echo_n "checking for $ac_word... " >&6; } | 2321 $as_echo_n "checking for $ac_word... " >&6; } |
2308 if ${ac_cv_prog_CC+:} false; then : | 2322 if test "${ac_cv_prog_CC+set}" = set; then : |
2309 $as_echo_n "(cached) " >&6 | 2323 $as_echo_n "(cached) " >&6 |
2310 else | 2324 else |
2311 if test -n "$CC"; then | 2325 if test -n "$CC"; then |
2312 ac_cv_prog_CC="$CC" # Let the user override the test. | 2326 ac_cv_prog_CC="$CC" # Let the user override the test. |
2313 else | 2327 else |
2343 if test -z "$CC"; then | 2357 if test -z "$CC"; then |
2344 # Extract the first word of "cc", so it can be a program name with args. | 2358 # Extract the first word of "cc", so it can be a program name with args. |
2345 set dummy cc; ac_word=$2 | 2359 set dummy cc; ac_word=$2 |
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2347 $as_echo_n "checking for $ac_word... " >&6; } | 2361 $as_echo_n "checking for $ac_word... " >&6; } |
2348 if ${ac_cv_prog_CC+:} false; then : | 2362 if test "${ac_cv_prog_CC+set}" = set; then : |
2349 $as_echo_n "(cached) " >&6 | 2363 $as_echo_n "(cached) " >&6 |
2350 else | 2364 else |
2351 if test -n "$CC"; then | 2365 if test -n "$CC"; then |
2352 ac_cv_prog_CC="$CC" # Let the user override the test. | 2366 ac_cv_prog_CC="$CC" # Let the user override the test. |
2353 else | 2367 else |
2402 do | 2416 do |
2403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2417 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2418 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2406 $as_echo_n "checking for $ac_word... " >&6; } | 2420 $as_echo_n "checking for $ac_word... " >&6; } |
2407 if ${ac_cv_prog_CC+:} false; then : | 2421 if test "${ac_cv_prog_CC+set}" = set; then : |
2408 $as_echo_n "(cached) " >&6 | 2422 $as_echo_n "(cached) " >&6 |
2409 else | 2423 else |
2410 if test -n "$CC"; then | 2424 if test -n "$CC"; then |
2411 ac_cv_prog_CC="$CC" # Let the user override the test. | 2425 ac_cv_prog_CC="$CC" # Let the user override the test. |
2412 else | 2426 else |
2446 do | 2460 do |
2447 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2461 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2448 set dummy $ac_prog; ac_word=$2 | 2462 set dummy $ac_prog; ac_word=$2 |
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2450 $as_echo_n "checking for $ac_word... " >&6; } | 2464 $as_echo_n "checking for $ac_word... " >&6; } |
2451 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2452 $as_echo_n "(cached) " >&6 | 2466 $as_echo_n "(cached) " >&6 |
2453 else | 2467 else |
2454 if test -n "$ac_ct_CC"; then | 2468 if test -n "$ac_ct_CC"; then |
2455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2456 else | 2470 else |
2500 fi | 2514 fi |
2501 | 2515 |
2502 | 2516 |
2503 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2517 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2505 as_fn_error $? "no acceptable C compiler found in \$PATH | 2519 as_fn_error "no acceptable C compiler found in \$PATH |
2506 See \`config.log' for more details" "$LINENO" 5; } | 2520 See \`config.log' for more details." "$LINENO" 5; } |
2507 | 2521 |
2508 # Provide some information about the compiler. | 2522 # Provide some information about the compiler. |
2509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2510 set X $ac_compile | 2524 set X $ac_compile |
2511 ac_compiler=$2 | 2525 ac_compiler=$2 |
2615 $as_echo "$as_me: failed program was:" >&5 | 2629 $as_echo "$as_me: failed program was:" >&5 |
2616 sed 's/^/| /' conftest.$ac_ext >&5 | 2630 sed 's/^/| /' conftest.$ac_ext >&5 |
2617 | 2631 |
2618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2620 as_fn_error 77 "C compiler cannot create executables | 2634 { as_fn_set_status 77 |
2621 See \`config.log' for more details" "$LINENO" 5; } | 2635 as_fn_error "C compiler cannot create executables |
2636 See \`config.log' for more details." "$LINENO" 5; }; } | |
2622 else | 2637 else |
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2624 $as_echo "yes" >&6; } | 2639 $as_echo "yes" >&6; } |
2625 fi | 2640 fi |
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2658 esac | 2673 esac |
2659 done | 2674 done |
2660 else | 2675 else |
2661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2663 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2678 as_fn_error "cannot compute suffix of executables: cannot compile and link |
2664 See \`config.log' for more details" "$LINENO" 5; } | 2679 See \`config.log' for more details." "$LINENO" 5; } |
2665 fi | 2680 fi |
2666 rm -f conftest conftest$ac_cv_exeext | 2681 rm -f conftest conftest$ac_cv_exeext |
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2668 $as_echo "$ac_cv_exeext" >&6; } | 2683 $as_echo "$ac_cv_exeext" >&6; } |
2669 | 2684 |
2716 if test "$cross_compiling" = maybe; then | 2731 if test "$cross_compiling" = maybe; then |
2717 cross_compiling=yes | 2732 cross_compiling=yes |
2718 else | 2733 else |
2719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2721 as_fn_error $? "cannot run C compiled programs. | 2736 as_fn_error "cannot run C compiled programs. |
2722 If you meant to cross compile, use \`--host'. | 2737 If you meant to cross compile, use \`--host'. |
2723 See \`config.log' for more details" "$LINENO" 5; } | 2738 See \`config.log' for more details." "$LINENO" 5; } |
2724 fi | 2739 fi |
2725 fi | 2740 fi |
2726 fi | 2741 fi |
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2728 $as_echo "$cross_compiling" >&6; } | 2743 $as_echo "$cross_compiling" >&6; } |
2729 | 2744 |
2730 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 2745 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2731 ac_clean_files=$ac_clean_files_save | 2746 ac_clean_files=$ac_clean_files_save |
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2733 $as_echo_n "checking for suffix of object files... " >&6; } | 2748 $as_echo_n "checking for suffix of object files... " >&6; } |
2734 if ${ac_cv_objext+:} false; then : | 2749 if test "${ac_cv_objext+set}" = set; then : |
2735 $as_echo_n "(cached) " >&6 | 2750 $as_echo_n "(cached) " >&6 |
2736 else | 2751 else |
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2738 /* end confdefs.h. */ | 2753 /* end confdefs.h. */ |
2739 | 2754 |
2769 $as_echo "$as_me: failed program was:" >&5 | 2784 $as_echo "$as_me: failed program was:" >&5 |
2770 sed 's/^/| /' conftest.$ac_ext >&5 | 2785 sed 's/^/| /' conftest.$ac_ext >&5 |
2771 | 2786 |
2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2774 as_fn_error $? "cannot compute suffix of object files: cannot compile | 2789 as_fn_error "cannot compute suffix of object files: cannot compile |
2775 See \`config.log' for more details" "$LINENO" 5; } | 2790 See \`config.log' for more details." "$LINENO" 5; } |
2776 fi | 2791 fi |
2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2792 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2778 fi | 2793 fi |
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2780 $as_echo "$ac_cv_objext" >&6; } | 2795 $as_echo "$ac_cv_objext" >&6; } |
2781 OBJEXT=$ac_cv_objext | 2796 OBJEXT=$ac_cv_objext |
2782 ac_objext=$OBJEXT | 2797 ac_objext=$OBJEXT |
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2799 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2785 if ${ac_cv_c_compiler_gnu+:} false; then : | 2800 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2786 $as_echo_n "(cached) " >&6 | 2801 $as_echo_n "(cached) " >&6 |
2787 else | 2802 else |
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2789 /* end confdefs.h. */ | 2804 /* end confdefs.h. */ |
2790 | 2805 |
2817 fi | 2832 fi |
2818 ac_test_CFLAGS=${CFLAGS+set} | 2833 ac_test_CFLAGS=${CFLAGS+set} |
2819 ac_save_CFLAGS=$CFLAGS | 2834 ac_save_CFLAGS=$CFLAGS |
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2821 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2836 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2822 if ${ac_cv_prog_cc_g+:} false; then : | 2837 if test "${ac_cv_prog_cc_g+set}" = set; then : |
2823 $as_echo_n "(cached) " >&6 | 2838 $as_echo_n "(cached) " >&6 |
2824 else | 2839 else |
2825 ac_save_c_werror_flag=$ac_c_werror_flag | 2840 ac_save_c_werror_flag=$ac_c_werror_flag |
2826 ac_c_werror_flag=yes | 2841 ac_c_werror_flag=yes |
2827 ac_cv_prog_cc_g=no | 2842 ac_cv_prog_cc_g=no |
2895 CFLAGS= | 2910 CFLAGS= |
2896 fi | 2911 fi |
2897 fi | 2912 fi |
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2899 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2914 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2900 if ${ac_cv_prog_cc_c89+:} false; then : | 2915 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2901 $as_echo_n "(cached) " >&6 | 2916 $as_echo_n "(cached) " >&6 |
2902 else | 2917 else |
2903 ac_cv_prog_cc_c89=no | 2918 ac_cv_prog_cc_c89=no |
2904 ac_save_CC=$CC | 2919 ac_save_CC=$CC |
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3006 do | 3021 do |
3007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3008 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3010 $as_echo_n "checking for $ac_word... " >&6; } | 3025 $as_echo_n "checking for $ac_word... " >&6; } |
3011 if ${ac_cv_prog_CXX+:} false; then : | 3026 if test "${ac_cv_prog_CXX+set}" = set; then : |
3012 $as_echo_n "(cached) " >&6 | 3027 $as_echo_n "(cached) " >&6 |
3013 else | 3028 else |
3014 if test -n "$CXX"; then | 3029 if test -n "$CXX"; then |
3015 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 3030 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3016 else | 3031 else |
3050 do | 3065 do |
3051 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3066 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3052 set dummy $ac_prog; ac_word=$2 | 3067 set dummy $ac_prog; ac_word=$2 |
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3054 $as_echo_n "checking for $ac_word... " >&6; } | 3069 $as_echo_n "checking for $ac_word... " >&6; } |
3055 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 3070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3056 $as_echo_n "(cached) " >&6 | 3071 $as_echo_n "(cached) " >&6 |
3057 else | 3072 else |
3058 if test -n "$ac_ct_CXX"; then | 3073 if test -n "$ac_ct_CXX"; then |
3059 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 3074 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3060 else | 3075 else |
3128 test $ac_status = 0; } | 3143 test $ac_status = 0; } |
3129 done | 3144 done |
3130 | 3145 |
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3132 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 3147 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3133 if ${ac_cv_cxx_compiler_gnu+:} false; then : | 3148 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3134 $as_echo_n "(cached) " >&6 | 3149 $as_echo_n "(cached) " >&6 |
3135 else | 3150 else |
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3137 /* end confdefs.h. */ | 3152 /* end confdefs.h. */ |
3138 | 3153 |
3165 fi | 3180 fi |
3166 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3181 ac_test_CXXFLAGS=${CXXFLAGS+set} |
3167 ac_save_CXXFLAGS=$CXXFLAGS | 3182 ac_save_CXXFLAGS=$CXXFLAGS |
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3169 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 3184 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3170 if ${ac_cv_prog_cxx_g+:} false; then : | 3185 if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3171 $as_echo_n "(cached) " >&6 | 3186 $as_echo_n "(cached) " >&6 |
3172 else | 3187 else |
3173 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3188 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3174 ac_cxx_werror_flag=yes | 3189 ac_cxx_werror_flag=yes |
3175 ac_cv_prog_cxx_g=no | 3190 ac_cv_prog_cxx_g=no |
3252 | 3267 |
3253 # Extract the first word of "gmake", so it can be a program name with args. | 3268 # Extract the first word of "gmake", so it can be a program name with args. |
3254 set dummy gmake; ac_word=$2 | 3269 set dummy gmake; ac_word=$2 |
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3256 $as_echo_n "checking for $ac_word... " >&6; } | 3271 $as_echo_n "checking for $ac_word... " >&6; } |
3257 if ${ac_cv_prog_MAKE+:} false; then : | 3272 if test "${ac_cv_prog_MAKE+set}" = set; then : |
3258 $as_echo_n "(cached) " >&6 | 3273 $as_echo_n "(cached) " >&6 |
3259 else | 3274 else |
3260 if test -n "$MAKE"; then | 3275 if test -n "$MAKE"; then |
3261 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3276 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3262 else | 3277 else |
3290 if test x"$MAKE" = x; then | 3305 if test x"$MAKE" = x; then |
3291 # Extract the first word of "make", so it can be a program name with args. | 3306 # Extract the first word of "make", so it can be a program name with args. |
3292 set dummy make; ac_word=$2 | 3307 set dummy make; ac_word=$2 |
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3294 $as_echo_n "checking for $ac_word... " >&6; } | 3309 $as_echo_n "checking for $ac_word... " >&6; } |
3295 if ${ac_cv_prog_MAKE+:} false; then : | 3310 if test "${ac_cv_prog_MAKE+set}" = set; then : |
3296 $as_echo_n "(cached) " >&6 | 3311 $as_echo_n "(cached) " >&6 |
3297 else | 3312 else |
3298 if test -n "$MAKE"; then | 3313 if test -n "$MAKE"; then |
3299 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3314 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3300 else | 3315 else |
3327 | 3342 |
3328 fi | 3343 fi |
3329 | 3344 |
3330 ac_aux_dir= | 3345 ac_aux_dir= |
3331 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3346 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3332 if test -f "$ac_dir/install-sh"; then | 3347 for ac_t in install-sh install.sh shtool; do |
3333 ac_aux_dir=$ac_dir | 3348 if test -f "$ac_dir/$ac_t"; then |
3334 ac_install_sh="$ac_aux_dir/install-sh -c" | 3349 ac_aux_dir=$ac_dir |
3335 break | 3350 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3336 elif test -f "$ac_dir/install.sh"; then | 3351 break 2 |
3337 ac_aux_dir=$ac_dir | 3352 fi |
3338 ac_install_sh="$ac_aux_dir/install.sh -c" | 3353 done |
3339 break | |
3340 elif test -f "$ac_dir/shtool"; then | |
3341 ac_aux_dir=$ac_dir | |
3342 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3343 break | |
3344 fi | |
3345 done | 3354 done |
3346 if test -z "$ac_aux_dir"; then | 3355 if test -z "$ac_aux_dir"; then |
3347 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3356 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3348 fi | 3357 fi |
3349 | 3358 |
3350 # These three variables are undocumented and unsupported, | 3359 # These three variables are undocumented and unsupported, |
3351 # and are intended to be withdrawn in a future Autoconf release. | 3360 # and are intended to be withdrawn in a future Autoconf release. |
3352 # They can cause serious problems if a builder's source tree is in a directory | 3361 # They can cause serious problems if a builder's source tree is in a directory |
3371 # ./install, which can be erroneously created by make from ./install.sh. | 3380 # ./install, which can be erroneously created by make from ./install.sh. |
3372 # Reject install programs that cannot install multiple files. | 3381 # Reject install programs that cannot install multiple files. |
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3374 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 3383 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3375 if test -z "$INSTALL"; then | 3384 if test -z "$INSTALL"; then |
3376 if ${ac_cv_path_install+:} false; then : | 3385 if test "${ac_cv_path_install+set}" = set; then : |
3377 $as_echo_n "(cached) " >&6 | 3386 $as_echo_n "(cached) " >&6 |
3378 else | 3387 else |
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3380 for as_dir in $PATH | 3389 for as_dir in $PATH |
3381 do | 3390 do |
3450 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3451 | 3460 |
3452 | 3461 |
3453 | 3462 |
3454 | 3463 |
3464 # Make sure we can run config.sub. | |
3465 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
3466 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
3467 | |
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
3469 $as_echo_n "checking build system type... " >&6; } | |
3470 if test "${ac_cv_build+set}" = set; then : | |
3471 $as_echo_n "(cached) " >&6 | |
3472 else | |
3473 ac_build_alias=$build_alias | |
3474 test "x$ac_build_alias" = x && | |
3475 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
3476 test "x$ac_build_alias" = x && | |
3477 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | |
3478 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
3479 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
3480 | |
3481 fi | |
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
3483 $as_echo "$ac_cv_build" >&6; } | |
3484 case $ac_cv_build in | |
3485 *-*-*) ;; | |
3486 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | |
3487 esac | |
3488 build=$ac_cv_build | |
3489 ac_save_IFS=$IFS; IFS='-' | |
3490 set x $ac_cv_build | |
3491 shift | |
3492 build_cpu=$1 | |
3493 build_vendor=$2 | |
3494 shift; shift | |
3495 # Remember, the first character of IFS is used to create $*, | |
3496 # except with old shells: | |
3497 build_os=$* | |
3498 IFS=$ac_save_IFS | |
3499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
3500 | |
3501 | |
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
3503 $as_echo_n "checking host system type... " >&6; } | |
3504 if test "${ac_cv_host+set}" = set; then : | |
3505 $as_echo_n "(cached) " >&6 | |
3506 else | |
3507 if test "x$host_alias" = x; then | |
3508 ac_cv_host=$ac_cv_build | |
3509 else | |
3510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
3511 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
3512 fi | |
3513 | |
3514 fi | |
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
3516 $as_echo "$ac_cv_host" >&6; } | |
3517 case $ac_cv_host in | |
3518 *-*-*) ;; | |
3519 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | |
3520 esac | |
3521 host=$ac_cv_host | |
3522 ac_save_IFS=$IFS; IFS='-' | |
3523 set x $ac_cv_host | |
3524 shift | |
3525 host_cpu=$1 | |
3526 host_vendor=$2 | |
3527 shift; shift | |
3528 # Remember, the first character of IFS is used to create $*, | |
3529 # except with old shells: | |
3530 host_os=$* | |
3531 IFS=$ac_save_IFS | |
3532 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
3533 | |
3534 | |
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | |
3536 $as_echo_n "checking target system type... " >&6; } | |
3537 if test "${ac_cv_target+set}" = set; then : | |
3538 $as_echo_n "(cached) " >&6 | |
3539 else | |
3540 if test "x$target_alias" = x; then | |
3541 ac_cv_target=$ac_cv_host | |
3542 else | |
3543 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | |
3544 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | |
3545 fi | |
3546 | |
3547 fi | |
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | |
3549 $as_echo "$ac_cv_target" >&6; } | |
3550 case $ac_cv_target in | |
3551 *-*-*) ;; | |
3552 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; | |
3553 esac | |
3554 target=$ac_cv_target | |
3555 ac_save_IFS=$IFS; IFS='-' | |
3556 set x $ac_cv_target | |
3557 shift | |
3558 target_cpu=$1 | |
3559 target_vendor=$2 | |
3560 shift; shift | |
3561 # Remember, the first character of IFS is used to create $*, | |
3562 # except with old shells: | |
3563 target_os=$* | |
3564 IFS=$ac_save_IFS | |
3565 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | |
3566 | |
3567 | |
3568 # The aliases save the names the user supplied, while $host etc. | |
3569 # will get canonicalized. | |
3570 test -n "$target_alias" && | |
3571 test "$program_prefix$program_suffix$program_transform_name" = \ | |
3572 NONENONEs,x,x, && | |
3573 program_prefix=${target_alias}- | |
3574 | |
3575 | |
3455 | 3576 |
3456 # Check whether --with-compat was given. | 3577 # Check whether --with-compat was given. |
3457 if test "${with_compat+set}" = set; then : | 3578 if test "${with_compat+set}" = set; then : |
3458 withval=$with_compat; with_compat=$withval | 3579 withval=$with_compat; with_compat=$withval |
3459 else | 3580 else |
3468 COMPAT_OBJECT="" | 3589 COMPAT_OBJECT="" |
3469 INSTALL_COMPAT="" | 3590 INSTALL_COMPAT="" |
3470 SYSCONF_LINK_TARGET_SHARED2="" | 3591 SYSCONF_LINK_TARGET_SHARED2="" |
3471 fi | 3592 fi |
3472 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.$DW_MAJOR_VERSION.$DW_MINOR_VERSION" | 3593 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.$DW_MAJOR_VERSION.$DW_MINOR_VERSION" |
3473 | 3594 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" |
3474 | |
3475 | 3595 |
3476 | 3596 |
3477 # Check whether --with-gtk was given. | 3597 # Check whether --with-gtk was given. |
3478 if test "${with_gtk+set}" = set; then : | 3598 if test "${with_gtk+set}" = set; then : |
3479 withval=$with_gtk; with_gtk=$withval | 3599 withval=$with_gtk; with_gtk=$withval |
3480 else | 3600 else |
3481 with_gtk=no | 3601 with_gtk=no |
3602 fi | |
3603 | |
3604 | |
3605 | |
3606 # Check whether --with-gtkframework was given. | |
3607 if test "${with_gtkframework+set}" = set; then : | |
3608 withval=$with_gtkframework; with_gtkframework=$withval | |
3609 else | |
3610 with_gtkframework=no | |
3482 fi | 3611 fi |
3483 | 3612 |
3484 | 3613 |
3485 | 3614 |
3486 # Check whether --with-gtkhtml was given. | 3615 # Check whether --with-gtkhtml was given. |
3520 # On Suns, sometimes $CPP names a directory. | 3649 # On Suns, sometimes $CPP names a directory. |
3521 if test -n "$CPP" && test -d "$CPP"; then | 3650 if test -n "$CPP" && test -d "$CPP"; then |
3522 CPP= | 3651 CPP= |
3523 fi | 3652 fi |
3524 if test -z "$CPP"; then | 3653 if test -z "$CPP"; then |
3525 if ${ac_cv_prog_CPP+:} false; then : | 3654 if test "${ac_cv_prog_CPP+set}" = set; then : |
3526 $as_echo_n "(cached) " >&6 | 3655 $as_echo_n "(cached) " >&6 |
3527 else | 3656 else |
3528 # Double quotes because CPP needs to be expanded | 3657 # Double quotes because CPP needs to be expanded |
3529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3658 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3530 do | 3659 do |
3550 | 3679 |
3551 else | 3680 else |
3552 # Broken: fails on valid input. | 3681 # Broken: fails on valid input. |
3553 continue | 3682 continue |
3554 fi | 3683 fi |
3555 rm -f conftest.err conftest.i conftest.$ac_ext | 3684 rm -f conftest.err conftest.$ac_ext |
3556 | 3685 |
3557 # OK, works on sane cases. Now check whether nonexistent headers | 3686 # OK, works on sane cases. Now check whether nonexistent headers |
3558 # can be detected and how. | 3687 # can be detected and how. |
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3560 /* end confdefs.h. */ | 3689 /* end confdefs.h. */ |
3566 else | 3695 else |
3567 # Passes both tests. | 3696 # Passes both tests. |
3568 ac_preproc_ok=: | 3697 ac_preproc_ok=: |
3569 break | 3698 break |
3570 fi | 3699 fi |
3571 rm -f conftest.err conftest.i conftest.$ac_ext | 3700 rm -f conftest.err conftest.$ac_ext |
3572 | 3701 |
3573 done | 3702 done |
3574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3575 rm -f conftest.i conftest.err conftest.$ac_ext | 3704 rm -f conftest.err conftest.$ac_ext |
3576 if $ac_preproc_ok; then : | 3705 if $ac_preproc_ok; then : |
3577 break | 3706 break |
3578 fi | 3707 fi |
3579 | 3708 |
3580 done | 3709 done |
3609 | 3738 |
3610 else | 3739 else |
3611 # Broken: fails on valid input. | 3740 # Broken: fails on valid input. |
3612 continue | 3741 continue |
3613 fi | 3742 fi |
3614 rm -f conftest.err conftest.i conftest.$ac_ext | 3743 rm -f conftest.err conftest.$ac_ext |
3615 | 3744 |
3616 # OK, works on sane cases. Now check whether nonexistent headers | 3745 # OK, works on sane cases. Now check whether nonexistent headers |
3617 # can be detected and how. | 3746 # can be detected and how. |
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3619 /* end confdefs.h. */ | 3748 /* end confdefs.h. */ |
3625 else | 3754 else |
3626 # Passes both tests. | 3755 # Passes both tests. |
3627 ac_preproc_ok=: | 3756 ac_preproc_ok=: |
3628 break | 3757 break |
3629 fi | 3758 fi |
3630 rm -f conftest.err conftest.i conftest.$ac_ext | 3759 rm -f conftest.err conftest.$ac_ext |
3631 | 3760 |
3632 done | 3761 done |
3633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3634 rm -f conftest.i conftest.err conftest.$ac_ext | 3763 rm -f conftest.err conftest.$ac_ext |
3635 if $ac_preproc_ok; then : | 3764 if $ac_preproc_ok; then : |
3636 | 3765 |
3637 else | 3766 else |
3638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 3769 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
3641 See \`config.log' for more details" "$LINENO" 5; } | 3770 See \`config.log' for more details." "$LINENO" 5; } |
3642 fi | 3771 fi |
3643 | 3772 |
3644 ac_ext=c | 3773 ac_ext=c |
3645 ac_cpp='$CPP $CPPFLAGS' | 3774 ac_cpp='$CPP $CPPFLAGS' |
3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3777 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3649 | 3778 |
3650 | 3779 |
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3781 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3653 if ${ac_cv_path_GREP+:} false; then : | 3782 if test "${ac_cv_path_GREP+set}" = set; then : |
3654 $as_echo_n "(cached) " >&6 | 3783 $as_echo_n "(cached) " >&6 |
3655 else | 3784 else |
3656 if test -z "$GREP"; then | 3785 if test -z "$GREP"; then |
3657 ac_path_GREP_found=false | 3786 ac_path_GREP_found=false |
3658 # Loop through the user's path and test for each of PROGNAME-LIST | 3787 # Loop through the user's path and test for each of PROGNAME-LIST |
3697 done | 3826 done |
3698 done | 3827 done |
3699 done | 3828 done |
3700 IFS=$as_save_IFS | 3829 IFS=$as_save_IFS |
3701 if test -z "$ac_cv_path_GREP"; then | 3830 if test -z "$ac_cv_path_GREP"; then |
3702 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3831 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3703 fi | 3832 fi |
3704 else | 3833 else |
3705 ac_cv_path_GREP=$GREP | 3834 ac_cv_path_GREP=$GREP |
3706 fi | 3835 fi |
3707 | 3836 |
3711 GREP="$ac_cv_path_GREP" | 3840 GREP="$ac_cv_path_GREP" |
3712 | 3841 |
3713 | 3842 |
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3715 $as_echo_n "checking for egrep... " >&6; } | 3844 $as_echo_n "checking for egrep... " >&6; } |
3716 if ${ac_cv_path_EGREP+:} false; then : | 3845 if test "${ac_cv_path_EGREP+set}" = set; then : |
3717 $as_echo_n "(cached) " >&6 | 3846 $as_echo_n "(cached) " >&6 |
3718 else | 3847 else |
3719 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3848 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3720 then ac_cv_path_EGREP="$GREP -E" | 3849 then ac_cv_path_EGREP="$GREP -E" |
3721 else | 3850 else |
3763 done | 3892 done |
3764 done | 3893 done |
3765 done | 3894 done |
3766 IFS=$as_save_IFS | 3895 IFS=$as_save_IFS |
3767 if test -z "$ac_cv_path_EGREP"; then | 3896 if test -z "$ac_cv_path_EGREP"; then |
3768 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3897 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3769 fi | 3898 fi |
3770 else | 3899 else |
3771 ac_cv_path_EGREP=$EGREP | 3900 ac_cv_path_EGREP=$EGREP |
3772 fi | 3901 fi |
3773 | 3902 |
3778 EGREP="$ac_cv_path_EGREP" | 3907 EGREP="$ac_cv_path_EGREP" |
3779 | 3908 |
3780 | 3909 |
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3782 $as_echo_n "checking for ANSI C header files... " >&6; } | 3911 $as_echo_n "checking for ANSI C header files... " >&6; } |
3783 if ${ac_cv_header_stdc+:} false; then : | 3912 if test "${ac_cv_header_stdc+set}" = set; then : |
3784 $as_echo_n "(cached) " >&6 | 3913 $as_echo_n "(cached) " >&6 |
3785 else | 3914 else |
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3787 /* end confdefs.h. */ | 3916 /* end confdefs.h. */ |
3788 #include <stdlib.h> | 3917 #include <stdlib.h> |
3893 ac_header_dirent=no | 4022 ac_header_dirent=no |
3894 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 4023 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
3895 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 4024 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
3897 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | 4026 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
3898 if eval \${$as_ac_Header+:} false; then : | 4027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : |
3899 $as_echo_n "(cached) " >&6 | 4028 $as_echo_n "(cached) " >&6 |
3900 else | 4029 else |
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3902 /* end confdefs.h. */ | 4031 /* end confdefs.h. */ |
3903 #include <sys/types.h> | 4032 #include <sys/types.h> |
3920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3921 fi | 4050 fi |
3922 eval ac_res=\$$as_ac_Header | 4051 eval ac_res=\$$as_ac_Header |
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3924 $as_echo "$ac_res" >&6; } | 4053 $as_echo "$ac_res" >&6; } |
3925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4054 eval as_val=\$$as_ac_Header |
4055 if test "x$as_val" = x""yes; then : | |
3926 cat >>confdefs.h <<_ACEOF | 4056 cat >>confdefs.h <<_ACEOF |
3927 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 4057 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
3928 _ACEOF | 4058 _ACEOF |
3929 | 4059 |
3930 ac_header_dirent=$ac_hdr; break | 4060 ac_header_dirent=$ac_hdr; break |
3933 done | 4063 done |
3934 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 4064 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
3935 if test $ac_header_dirent = dirent.h; then | 4065 if test $ac_header_dirent = dirent.h; then |
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3937 $as_echo_n "checking for library containing opendir... " >&6; } | 4067 $as_echo_n "checking for library containing opendir... " >&6; } |
3938 if ${ac_cv_search_opendir+:} false; then : | 4068 if test "${ac_cv_search_opendir+set}" = set; then : |
3939 $as_echo_n "(cached) " >&6 | 4069 $as_echo_n "(cached) " >&6 |
3940 else | 4070 else |
3941 ac_func_search_save_LIBS=$LIBS | 4071 ac_func_search_save_LIBS=$LIBS |
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3943 /* end confdefs.h. */ | 4073 /* end confdefs.h. */ |
3967 if ac_fn_c_try_link "$LINENO"; then : | 4097 if ac_fn_c_try_link "$LINENO"; then : |
3968 ac_cv_search_opendir=$ac_res | 4098 ac_cv_search_opendir=$ac_res |
3969 fi | 4099 fi |
3970 rm -f core conftest.err conftest.$ac_objext \ | 4100 rm -f core conftest.err conftest.$ac_objext \ |
3971 conftest$ac_exeext | 4101 conftest$ac_exeext |
3972 if ${ac_cv_search_opendir+:} false; then : | 4102 if test "${ac_cv_search_opendir+set}" = set; then : |
3973 break | 4103 break |
3974 fi | 4104 fi |
3975 done | 4105 done |
3976 if ${ac_cv_search_opendir+:} false; then : | 4106 if test "${ac_cv_search_opendir+set}" = set; then : |
3977 | 4107 |
3978 else | 4108 else |
3979 ac_cv_search_opendir=no | 4109 ac_cv_search_opendir=no |
3980 fi | 4110 fi |
3981 rm conftest.$ac_ext | 4111 rm conftest.$ac_ext |
3990 fi | 4120 fi |
3991 | 4121 |
3992 else | 4122 else |
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3994 $as_echo_n "checking for library containing opendir... " >&6; } | 4124 $as_echo_n "checking for library containing opendir... " >&6; } |
3995 if ${ac_cv_search_opendir+:} false; then : | 4125 if test "${ac_cv_search_opendir+set}" = set; then : |
3996 $as_echo_n "(cached) " >&6 | 4126 $as_echo_n "(cached) " >&6 |
3997 else | 4127 else |
3998 ac_func_search_save_LIBS=$LIBS | 4128 ac_func_search_save_LIBS=$LIBS |
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4000 /* end confdefs.h. */ | 4130 /* end confdefs.h. */ |
4024 if ac_fn_c_try_link "$LINENO"; then : | 4154 if ac_fn_c_try_link "$LINENO"; then : |
4025 ac_cv_search_opendir=$ac_res | 4155 ac_cv_search_opendir=$ac_res |
4026 fi | 4156 fi |
4027 rm -f core conftest.err conftest.$ac_objext \ | 4157 rm -f core conftest.err conftest.$ac_objext \ |
4028 conftest$ac_exeext | 4158 conftest$ac_exeext |
4029 if ${ac_cv_search_opendir+:} false; then : | 4159 if test "${ac_cv_search_opendir+set}" = set; then : |
4030 break | 4160 break |
4031 fi | 4161 fi |
4032 done | 4162 done |
4033 if ${ac_cv_search_opendir+:} false; then : | 4163 if test "${ac_cv_search_opendir+set}" = set; then : |
4034 | 4164 |
4035 else | 4165 else |
4036 ac_cv_search_opendir=no | 4166 ac_cv_search_opendir=no |
4037 fi | 4167 fi |
4038 rm conftest.$ac_ext | 4168 rm conftest.$ac_ext |
4053 inttypes.h stdint.h unistd.h | 4183 inttypes.h stdint.h unistd.h |
4054 do : | 4184 do : |
4055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4057 " | 4187 " |
4058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4188 eval as_val=\$$as_ac_Header |
4189 if test "x$as_val" = x""yes; then : | |
4059 cat >>confdefs.h <<_ACEOF | 4190 cat >>confdefs.h <<_ACEOF |
4060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4061 _ACEOF | 4192 _ACEOF |
4062 | 4193 |
4063 fi | 4194 fi |
4066 | 4197 |
4067 | 4198 |
4068 for ac_header in unistd.h | 4199 for ac_header in unistd.h |
4069 do : | 4200 do : |
4070 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" | 4201 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
4071 if test "x$ac_cv_header_unistd_h" = xyes; then : | 4202 if test "x$ac_cv_header_unistd_h" = x""yes; then : |
4072 cat >>confdefs.h <<_ACEOF | 4203 cat >>confdefs.h <<_ACEOF |
4073 #define HAVE_UNISTD_H 1 | 4204 #define HAVE_UNISTD_H 1 |
4074 _ACEOF | 4205 _ACEOF |
4075 | 4206 |
4076 fi | 4207 fi |
4078 done | 4209 done |
4079 | 4210 |
4080 for ac_header in sys/stat.h | 4211 for ac_header in sys/stat.h |
4081 do : | 4212 do : |
4082 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" | 4213 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
4083 if test "x$ac_cv_header_sys_stat_h" = xyes; then : | 4214 if test "x$ac_cv_header_sys_stat_h" = x""yes; then : |
4084 cat >>confdefs.h <<_ACEOF | 4215 cat >>confdefs.h <<_ACEOF |
4085 #define HAVE_SYS_STAT_H 1 | 4216 #define HAVE_SYS_STAT_H 1 |
4086 _ACEOF | 4217 _ACEOF |
4087 | 4218 |
4088 fi | 4219 fi |
4091 | 4222 |
4092 | 4223 |
4093 for ac_func in pipe | 4224 for ac_func in pipe |
4094 do : | 4225 do : |
4095 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" | 4226 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" |
4096 if test "x$ac_cv_func_pipe" = xyes; then : | 4227 if test "x$ac_cv_func_pipe" = x""yes; then : |
4097 cat >>confdefs.h <<_ACEOF | 4228 cat >>confdefs.h <<_ACEOF |
4098 #define HAVE_PIPE 1 | 4229 #define HAVE_PIPE 1 |
4099 _ACEOF | 4230 _ACEOF |
4100 | 4231 |
4101 $as_echo "#define HAVE_PIPE 1" >>confdefs.h | 4232 $as_echo "#define HAVE_PIPE 1" >>confdefs.h |
4105 | 4236 |
4106 | 4237 |
4107 for ac_func in connect | 4238 for ac_func in connect |
4108 do : | 4239 do : |
4109 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" | 4240 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
4110 if test "x$ac_cv_func_connect" = xyes; then : | 4241 if test "x$ac_cv_func_connect" = x""yes; then : |
4111 cat >>confdefs.h <<_ACEOF | 4242 cat >>confdefs.h <<_ACEOF |
4112 #define HAVE_CONNECT 1 | 4243 #define HAVE_CONNECT 1 |
4113 _ACEOF | 4244 _ACEOF |
4114 | 4245 |
4115 fi | 4246 fi |
4117 | 4248 |
4118 if test x"$ac_cv_func_connect" = x"no"; then | 4249 if test x"$ac_cv_func_connect" = x"no"; then |
4119 if test -z "$libsocket"; then | 4250 if test -z "$libsocket"; then |
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 | 4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
4121 $as_echo_n "checking for socket in -lsocket... " >&6; } | 4252 $as_echo_n "checking for socket in -lsocket... " >&6; } |
4122 if ${ac_cv_lib_socket_socket+:} false; then : | 4253 if test "${ac_cv_lib_socket_socket+set}" = set; then : |
4123 $as_echo_n "(cached) " >&6 | 4254 $as_echo_n "(cached) " >&6 |
4124 else | 4255 else |
4125 ac_check_lib_save_LIBS=$LIBS | 4256 ac_check_lib_save_LIBS=$LIBS |
4126 LIBS="-lsocket $LIBS" | 4257 LIBS="-lsocket $LIBS" |
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4151 conftest$ac_exeext conftest.$ac_ext | 4282 conftest$ac_exeext conftest.$ac_ext |
4152 LIBS=$ac_check_lib_save_LIBS | 4283 LIBS=$ac_check_lib_save_LIBS |
4153 fi | 4284 fi |
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 | 4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
4155 $as_echo "$ac_cv_lib_socket_socket" >&6; } | 4286 $as_echo "$ac_cv_lib_socket_socket" >&6; } |
4156 if test "x$ac_cv_lib_socket_socket" = xyes; then : | 4287 if test "x$ac_cv_lib_socket_socket" = x""yes; then : |
4157 LIBS="$LIBS -lsocket" | 4288 LIBS="$LIBS -lsocket" |
4158 fi | 4289 fi |
4159 | 4290 |
4160 fi | 4291 fi |
4161 | 4292 |
4162 if test -z "$libinet"; then | 4293 if test -z "$libinet"; then |
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 | 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 |
4164 $as_echo_n "checking for socket in -linet... " >&6; } | 4295 $as_echo_n "checking for socket in -linet... " >&6; } |
4165 if ${ac_cv_lib_inet_socket+:} false; then : | 4296 if test "${ac_cv_lib_inet_socket+set}" = set; then : |
4166 $as_echo_n "(cached) " >&6 | 4297 $as_echo_n "(cached) " >&6 |
4167 else | 4298 else |
4168 ac_check_lib_save_LIBS=$LIBS | 4299 ac_check_lib_save_LIBS=$LIBS |
4169 LIBS="-linet $LIBS" | 4300 LIBS="-linet $LIBS" |
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4194 conftest$ac_exeext conftest.$ac_ext | 4325 conftest$ac_exeext conftest.$ac_ext |
4195 LIBS=$ac_check_lib_save_LIBS | 4326 LIBS=$ac_check_lib_save_LIBS |
4196 fi | 4327 fi |
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 | 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 |
4198 $as_echo "$ac_cv_lib_inet_socket" >&6; } | 4329 $as_echo "$ac_cv_lib_inet_socket" >&6; } |
4199 if test "x$ac_cv_lib_inet_socket" = xyes; then : | 4330 if test "x$ac_cv_lib_inet_socket" = x""yes; then : |
4200 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 4331 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
4201 fi | 4332 fi |
4202 | 4333 |
4203 fi | 4334 fi |
4204 | 4335 |
4205 if test -z "$libnsl"; then | 4336 if test -z "$libnsl"; then |
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 | 4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 |
4207 $as_echo_n "checking for gethostname in -lnsl... " >&6; } | 4338 $as_echo_n "checking for gethostname in -lnsl... " >&6; } |
4208 if ${ac_cv_lib_nsl_gethostname+:} false; then : | 4339 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then : |
4209 $as_echo_n "(cached) " >&6 | 4340 $as_echo_n "(cached) " >&6 |
4210 else | 4341 else |
4211 ac_check_lib_save_LIBS=$LIBS | 4342 ac_check_lib_save_LIBS=$LIBS |
4212 LIBS="-lnsl $LIBS" | 4343 LIBS="-lnsl $LIBS" |
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4237 conftest$ac_exeext conftest.$ac_ext | 4368 conftest$ac_exeext conftest.$ac_ext |
4238 LIBS=$ac_check_lib_save_LIBS | 4369 LIBS=$ac_check_lib_save_LIBS |
4239 fi | 4370 fi |
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 | 4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 |
4241 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } | 4372 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } |
4242 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then : | 4373 if test "x$ac_cv_lib_nsl_gethostname" = x""yes; then : |
4243 LIBS="$LIBS -lnsl" | 4374 LIBS="$LIBS -lnsl" |
4244 fi | 4375 fi |
4245 | 4376 |
4246 fi | 4377 fi |
4247 fi | 4378 fi |
4248 | 4379 |
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 | 4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 |
4250 $as_echo_n "checking for getpwnam in -lsun... " >&6; } | 4381 $as_echo_n "checking for getpwnam in -lsun... " >&6; } |
4251 if ${ac_cv_lib_sun_getpwnam+:} false; then : | 4382 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then : |
4252 $as_echo_n "(cached) " >&6 | 4383 $as_echo_n "(cached) " >&6 |
4253 else | 4384 else |
4254 ac_check_lib_save_LIBS=$LIBS | 4385 ac_check_lib_save_LIBS=$LIBS |
4255 LIBS="-lsun $LIBS" | 4386 LIBS="-lsun $LIBS" |
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4280 conftest$ac_exeext conftest.$ac_ext | 4411 conftest$ac_exeext conftest.$ac_ext |
4281 LIBS=$ac_check_lib_save_LIBS | 4412 LIBS=$ac_check_lib_save_LIBS |
4282 fi | 4413 fi |
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 | 4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 |
4284 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } | 4415 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } |
4285 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then : | 4416 if test "x$ac_cv_lib_sun_getpwnam" = x""yes; then : |
4286 LIBS="$LIBS -lsun" | 4417 LIBS="$LIBS -lsun" |
4287 fi | 4418 fi |
4288 | 4419 |
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 | 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 |
4290 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } | 4421 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } |
4291 if ${ac_cv_lib_dgc_inet_addr+:} false; then : | 4422 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then : |
4292 $as_echo_n "(cached) " >&6 | 4423 $as_echo_n "(cached) " >&6 |
4293 else | 4424 else |
4294 ac_check_lib_save_LIBS=$LIBS | 4425 ac_check_lib_save_LIBS=$LIBS |
4295 LIBS="-ldgc $LIBS" | 4426 LIBS="-ldgc $LIBS" |
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4320 conftest$ac_exeext conftest.$ac_ext | 4451 conftest$ac_exeext conftest.$ac_ext |
4321 LIBS=$ac_check_lib_save_LIBS | 4452 LIBS=$ac_check_lib_save_LIBS |
4322 fi | 4453 fi |
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 | 4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 |
4324 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } | 4455 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } |
4325 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then : | 4456 if test "x$ac_cv_lib_dgc_inet_addr" = x""yes; then : |
4326 LIBS="$LIBS -ldgc" | 4457 LIBS="$LIBS -ldgc" |
4327 fi | 4458 fi |
4328 | 4459 |
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 | 4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 |
4330 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } | 4461 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } |
4331 if ${ac_cv_lib_resolv_gethostbyname+:} false; then : | 4462 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then : |
4332 $as_echo_n "(cached) " >&6 | 4463 $as_echo_n "(cached) " >&6 |
4333 else | 4464 else |
4334 ac_check_lib_save_LIBS=$LIBS | 4465 ac_check_lib_save_LIBS=$LIBS |
4335 LIBS="-lresolv $LIBS" | 4466 LIBS="-lresolv $LIBS" |
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4360 conftest$ac_exeext conftest.$ac_ext | 4491 conftest$ac_exeext conftest.$ac_ext |
4361 LIBS=$ac_check_lib_save_LIBS | 4492 LIBS=$ac_check_lib_save_LIBS |
4362 fi | 4493 fi |
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
4364 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } | 4495 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } |
4365 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then : | 4496 if test "x$ac_cv_lib_resolv_gethostbyname" = x""yes; then : |
4366 LIBS="$LIBS -lresolv" | 4497 LIBS="$LIBS -lresolv" |
4367 fi | 4498 fi |
4368 | 4499 |
4369 | 4500 |
4501 build_gtk="yes" | |
4502 check_pthreads="yes" | |
4503 TARGETS="$SYSCONF_LINK_TARGET_SHARED $SYSCONF_LINK_TARGET_SHARED2" | |
4504 PLATLIBS="" | |
4370 SONAME="" | 4505 SONAME="" |
4371 OPSYSTEM=`uname -s` | 4506 PLATCCFLAGS="-g -O2 -fPIC -Wall" |
4372 case "$OPSYSTEM" in | 4507 ARFLAGS="cqs" |
4373 MINGW32*) | 4508 |
4509 case "$target" in | |
4510 *cygwin*) | |
4511 ;; | |
4512 *mingw32) | |
4374 $as_echo "#define DW_USE_GTK 1" >>confdefs.h | 4513 $as_echo "#define DW_USE_GTK 1" >>confdefs.h |
4375 | 4514 |
4376 ;; | 4515 ;; |
4377 *Linux*) | 4516 *linux*) |
4378 SONAME="-Wl,-soname,lib$TARGET.so.$DW_MAJOR_VERSION" | 4517 SONAME="-Wl,-soname,lib$TARGET.so.$DW_MAJOR_VERSION" |
4379 ;; | 4518 ;; |
4519 *nto-qnx*) | |
4520 DW_DIR="photon" | |
4521 DW_DEFINE=__PHOTON__ | |
4522 build_gtk="no" | |
4523 ;; | |
4524 *qnx*) | |
4525 DW_DIR="photon" | |
4526 DW_DEFINE=__PHOTON__ | |
4527 build_gtk="no" | |
4528 check_pthreads="no" | |
4529 LIBSUFFIX="lib" | |
4530 LIBPREFIX="" | |
4531 SYSCONF_LINK_TARGET_STATIC="$TARGET.lib" | |
4532 TARGETS="$TARGET.lib" | |
4533 PLATCCFLAGS="" | |
4534 PLATLIBS="-lphoton_s -lphexlib3r" | |
4535 ARFLAGS="r" | |
4536 ;; | |
4537 *apple-darwin*) | |
4538 case "$with_arch" in | |
4539 no) | |
4540 ARCH="" | |
4541 ;; | |
4542 all) | |
4543 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386" | |
4544 ;; | |
4545 32bit) | |
4546 ARCH="-arch ppc -arch i386" | |
4547 ;; | |
4548 64bit) | |
4549 ARCH="-arch ppc64 -arch x86_64" | |
4550 ;; | |
4551 *) | |
4552 ARCH="-arch $with_arch" | |
4553 ;; | |
4554 esac | |
4555 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" | |
4556 SOSUFFIX=dylib | |
4557 if test $with_gtkframework = yes; then | |
4558 DW_DIR=gtk | |
4559 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" | |
4560 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" | |
4561 build_gtk="no" | |
4562 elif test $with_gtk = yes; then | |
4563 build_gtk="yes" | |
4564 else | |
4565 DW_DIR=mac | |
4566 DW_SRC=dw.m | |
4567 DW_DEFINE=__MAC__ | |
4568 LIBS="$LIBS -framework Cocoa -framework WebKit" | |
4569 build_gtk="no" | |
4570 fi | |
4571 ;; | |
4572 *) | |
4573 ;; | |
4380 esac | 4574 esac |
4381 | 4575 |
4382 if test $OPSYSTEM = "Darwin"; then | 4576 if test $build_gtk = "yes"; then |
4383 case "$with_arch" in | |
4384 no) | |
4385 ARCH="" | |
4386 ;; | |
4387 all) | |
4388 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386" | |
4389 ;; | |
4390 32bit) | |
4391 ARCH="-arch ppc -arch i386" | |
4392 ;; | |
4393 64bit) | |
4394 ARCH="-arch ppc84 -arch x86_64" | |
4395 ;; | |
4396 *) | |
4397 ARCH="-arch $with_arch" | |
4398 ;; | |
4399 esac | |
4400 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" | |
4401 SOSUFFIX=dylib | |
4402 if test $with_gtk = yes; then | |
4403 DW_DIR=gtk | |
4404 DW_SRC=dw.c | |
4405 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" | |
4406 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" | |
4407 else | |
4408 DW_DIR=mac | |
4409 DW_SRC=dw.m | |
4410 DW_DEFINE=__MAC__ | |
4411 LIBS="$LIBS -framework Cocoa -framework WebKit" | |
4412 fi | |
4413 else | |
4414 # Extract the first word of "pkg-config", so it can be a program name with args. | 4577 # Extract the first word of "pkg-config", so it can be a program name with args. |
4415 set dummy pkg-config; ac_word=$2 | 4578 set dummy pkg-config; ac_word=$2 |
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4417 $as_echo_n "checking for $ac_word... " >&6; } | 4580 $as_echo_n "checking for $ac_word... " >&6; } |
4418 if ${ac_cv_prog_PKG_CFG+:} false; then : | 4581 if test "${ac_cv_prog_PKG_CFG+set}" = set; then : |
4419 $as_echo_n "(cached) " >&6 | 4582 $as_echo_n "(cached) " >&6 |
4420 else | 4583 else |
4421 if test -n "$PKG_CFG"; then | 4584 if test -n "$PKG_CFG"; then |
4422 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 4585 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
4423 else | 4586 else |
4546 | 4709 |
4547 # Extract the first word of "glib-config", so it can be a program name with args. | 4710 # Extract the first word of "glib-config", so it can be a program name with args. |
4548 set dummy glib-config; ac_word=$2 | 4711 set dummy glib-config; ac_word=$2 |
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4550 $as_echo_n "checking for $ac_word... " >&6; } | 4713 $as_echo_n "checking for $ac_word... " >&6; } |
4551 if ${ac_cv_path_GLIB_CONFIG+:} false; then : | 4714 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then : |
4552 $as_echo_n "(cached) " >&6 | 4715 $as_echo_n "(cached) " >&6 |
4553 else | 4716 else |
4554 case $GLIB_CONFIG in | 4717 case $GLIB_CONFIG in |
4555 [\\/]* | ?:[\\/]*) | 4718 [\\/]* | ?:[\\/]*) |
4556 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | 4719 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. |
4753 LIBS="$ac_save_LIBS" | 4916 LIBS="$ac_save_LIBS" |
4754 fi | 4917 fi |
4755 fi | 4918 fi |
4756 GLIB_CFLAGS="" | 4919 GLIB_CFLAGS="" |
4757 GLIB_LIBS="" | 4920 GLIB_LIBS="" |
4758 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 4921 as_fn_error "as_fn_error \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
4759 fi | 4922 fi |
4760 | 4923 |
4761 | 4924 |
4762 rm -f conf.glibtest | 4925 rm -f conf.glibtest |
4763 | 4926 |
4809 | 4972 |
4810 # Extract the first word of "gtk-config", so it can be a program name with args. | 4973 # Extract the first word of "gtk-config", so it can be a program name with args. |
4811 set dummy gtk-config; ac_word=$2 | 4974 set dummy gtk-config; ac_word=$2 |
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4813 $as_echo_n "checking for $ac_word... " >&6; } | 4976 $as_echo_n "checking for $ac_word... " >&6; } |
4814 if ${ac_cv_path_GTK_CONFIG+:} false; then : | 4977 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then : |
4815 $as_echo_n "(cached) " >&6 | 4978 $as_echo_n "(cached) " >&6 |
4816 else | 4979 else |
4817 case $GTK_CONFIG in | 4980 case $GTK_CONFIG in |
4818 [\\/]* | ?:[\\/]*) | 4981 [\\/]* | ?:[\\/]*) |
4819 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | 4982 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
5018 LIBS="$ac_save_LIBS" | 5181 LIBS="$ac_save_LIBS" |
5019 fi | 5182 fi |
5020 fi | 5183 fi |
5021 GTK_CFLAGS="" | 5184 GTK_CFLAGS="" |
5022 GTK_LIBS="" | 5185 GTK_LIBS="" |
5023 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 5186 as_fn_error "as_fn_error \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
5024 fi | 5187 fi |
5025 | 5188 |
5026 | 5189 |
5027 rm -f conf.gtktest | 5190 rm -f conf.gtktest |
5028 | 5191 |
5065 | 5228 |
5066 # Extract the first word of "imlib-config", so it can be a program name with args. | 5229 # Extract the first word of "imlib-config", so it can be a program name with args. |
5067 set dummy imlib-config; ac_word=$2 | 5230 set dummy imlib-config; ac_word=$2 |
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5069 $as_echo_n "checking for $ac_word... " >&6; } | 5232 $as_echo_n "checking for $ac_word... " >&6; } |
5070 if ${ac_cv_path_IMLIB_CONFIG+:} false; then : | 5233 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then : |
5071 $as_echo_n "(cached) " >&6 | 5234 $as_echo_n "(cached) " >&6 |
5072 else | 5235 else |
5073 case $IMLIB_CONFIG in | 5236 case $IMLIB_CONFIG in |
5074 [\\/]* | ?:[\\/]*) | 5237 [\\/]* | ?:[\\/]*) |
5075 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. | 5238 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. |
5240 LIBS="$ac_save_LIBS" | 5403 LIBS="$ac_save_LIBS" |
5241 fi | 5404 fi |
5242 fi | 5405 fi |
5243 GDK_IMLIB_CFLAGS="" | 5406 GDK_IMLIB_CFLAGS="" |
5244 GDK_IMLIB_LIBS="" | 5407 GDK_IMLIB_LIBS="" |
5245 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 | 5408 as_fn_error "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 |
5246 fi | 5409 fi |
5247 | 5410 |
5248 | 5411 |
5249 rm -f conf.gdkimlibtest | 5412 rm -f conf.gdkimlibtest |
5250 | 5413 |
5252 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` | 5415 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` |
5253 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` | 5416 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` |
5254 fi | 5417 fi |
5255 fi | 5418 fi |
5256 | 5419 |
5257 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 5420 if test $check_pthreads = "yes"; then |
5258 if test "x$ac_cv_header_pthread_h" = xyes; then : | 5421 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
5259 | 5422 if test "x$ac_cv_header_pthread_h" = x""yes; then : |
5260 else | 5423 |
5261 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 | 5424 else |
5262 fi | 5425 as_fn_error "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 |
5263 | 5426 fi |
5264 | 5427 |
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 | 5428 |
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 | |
5266 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } | 5430 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
5267 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : | 5431 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then : |
5268 $as_echo_n "(cached) " >&6 | 5432 $as_echo_n "(cached) " >&6 |
5269 else | 5433 else |
5270 ac_check_lib_save_LIBS=$LIBS | 5434 ac_check_lib_save_LIBS=$LIBS |
5271 LIBS="-lpthread $LIBS" | 5435 LIBS="-lpthread $LIBS" |
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5296 conftest$ac_exeext conftest.$ac_ext | 5460 conftest$ac_exeext conftest.$ac_ext |
5297 LIBS=$ac_check_lib_save_LIBS | 5461 LIBS=$ac_check_lib_save_LIBS |
5298 fi | 5462 fi |
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
5300 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 5464 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
5301 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : | 5465 if test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then : |
5302 PTHREAD_LIBS="-lpthread" | 5466 PTHREAD_LIBS="-lpthread" |
5303 else | 5467 else |
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 | 5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 |
5305 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } | 5469 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } |
5306 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then : | 5470 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then : |
5307 $as_echo_n "(cached) " >&6 | 5471 $as_echo_n "(cached) " >&6 |
5308 else | 5472 else |
5309 ac_check_lib_save_LIBS=$LIBS | 5473 ac_check_lib_save_LIBS=$LIBS |
5310 LIBS="-lpthreads $LIBS" | 5474 LIBS="-lpthreads $LIBS" |
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5335 conftest$ac_exeext conftest.$ac_ext | 5499 conftest$ac_exeext conftest.$ac_ext |
5336 LIBS=$ac_check_lib_save_LIBS | 5500 LIBS=$ac_check_lib_save_LIBS |
5337 fi | 5501 fi |
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
5339 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } | 5503 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
5340 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then : | 5504 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = x""yes; then : |
5341 PTHREAD_LIBS="-lpthreads" | 5505 PTHREAD_LIBS="-lpthreads" |
5342 else | 5506 else |
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 | 5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 |
5344 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } | 5508 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } |
5345 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then : | 5509 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then : |
5346 $as_echo_n "(cached) " >&6 | 5510 $as_echo_n "(cached) " >&6 |
5347 else | 5511 else |
5348 ac_check_lib_save_LIBS=$LIBS | 5512 ac_check_lib_save_LIBS=$LIBS |
5349 LIBS="-lc_r $LIBS" | 5513 LIBS="-lc_r $LIBS" |
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5374 conftest$ac_exeext conftest.$ac_ext | 5538 conftest$ac_exeext conftest.$ac_ext |
5375 LIBS=$ac_check_lib_save_LIBS | 5539 LIBS=$ac_check_lib_save_LIBS |
5376 fi | 5540 fi |
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
5378 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } | 5542 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
5379 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then : | 5543 if test "x$ac_cv_lib_c_r_pthread_attr_init" = x""yes; then : |
5380 PTHREAD_LIBS="-lc_r" | 5544 PTHREAD_LIBS="-lc_r" |
5381 else | 5545 else |
5382 as_fn_error $? "pthread library not found. dwindows cannot build without it. | 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc" >&5 |
5383 " "$LINENO" 5 | 5547 $as_echo_n "checking for pthread_attr_init in -lc... " >&6; } |
5384 | 5548 if test "${ac_cv_lib_c_pthread_attr_init+set}" = set; then : |
5385 fi | 5549 $as_echo_n "(cached) " >&6 |
5386 | 5550 else |
5387 | 5551 ac_check_lib_save_LIBS=$LIBS |
5388 fi | 5552 LIBS="-lc $LIBS" |
5389 | 5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5390 | 5554 /* end confdefs.h. */ |
5391 fi | 5555 |
5392 | 5556 /* Override any GCC internal prototype to avoid an error. |
5557 Use char because int might match the return type of a GCC | |
5558 builtin and then its argument prototype would still apply. */ | |
5559 #ifdef __cplusplus | |
5560 extern "C" | |
5561 #endif | |
5562 char pthread_attr_init (); | |
5563 int | |
5564 main () | |
5565 { | |
5566 return pthread_attr_init (); | |
5567 ; | |
5568 return 0; | |
5569 } | |
5570 _ACEOF | |
5571 if ac_fn_c_try_link "$LINENO"; then : | |
5572 ac_cv_lib_c_pthread_attr_init=yes | |
5573 else | |
5574 ac_cv_lib_c_pthread_attr_init=no | |
5575 fi | |
5576 rm -f core conftest.err conftest.$ac_objext \ | |
5577 conftest$ac_exeext conftest.$ac_ext | |
5578 LIBS=$ac_check_lib_save_LIBS | |
5579 fi | |
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5 | |
5581 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; } | |
5582 if test "x$ac_cv_lib_c_pthread_attr_init" = x""yes; then : | |
5583 PTHREAD_LIBS="-lc" | |
5584 else | |
5585 as_fn_error "pthread library not found. dwindows cannot build without it." "$LINENO" 5 | |
5586 | |
5587 fi | |
5588 | |
5589 | |
5590 fi | |
5591 | |
5592 | |
5593 fi | |
5594 | |
5595 | |
5596 fi | |
5597 | |
5598 fi | |
5393 | 5599 |
5394 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" | 5600 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" |
5395 | 5601 |
5396 BROWSER_OBJECT="" | 5602 BROWSER_OBJECT="" |
5397 if test x"$MOZEMBED_CFLAGS" != x; then | 5603 if test x"$MOZEMBED_CFLAGS" != x; then |
5399 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5605 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
5400 BROWSER_OBJECT="browser.o" | 5606 BROWSER_OBJECT="browser.o" |
5401 if test $with_gtkmozembed = yes; then | 5607 if test $with_gtkmozembed = yes; then |
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
5403 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } | 5609 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } |
5404 if ${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+:} false; then : | 5610 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then : |
5405 $as_echo_n "(cached) " >&6 | 5611 $as_echo_n "(cached) " >&6 |
5406 else | 5612 else |
5407 ac_check_lib_save_LIBS=$LIBS | 5613 ac_check_lib_save_LIBS=$LIBS |
5408 LIBS="-lgtkembedmoz $LIBS" | 5614 LIBS="-lgtkembedmoz $LIBS" |
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5433 conftest$ac_exeext conftest.$ac_ext | 5639 conftest$ac_exeext conftest.$ac_ext |
5434 LIBS=$ac_check_lib_save_LIBS | 5640 LIBS=$ac_check_lib_save_LIBS |
5435 fi | 5641 fi |
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
5437 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } | 5643 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
5438 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = xyes; then : | 5644 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = x""yes; then : |
5439 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h | 5645 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h |
5440 | 5646 |
5441 else | 5647 else |
5442 BROWSER_OBJECT="" | 5648 BROWSER_OBJECT="" |
5443 fi | 5649 fi |
5444 | 5650 |
5445 elif test $with_gtkhtml = yes; then | 5651 elif test $with_gtkhtml = yes; then |
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 | 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 |
5447 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } | 5653 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } |
5448 if ${ac_cv_lib_gtkhtml_2_html_document_new+:} false; then : | 5654 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then : |
5449 $as_echo_n "(cached) " >&6 | 5655 $as_echo_n "(cached) " >&6 |
5450 else | 5656 else |
5451 ac_check_lib_save_LIBS=$LIBS | 5657 ac_check_lib_save_LIBS=$LIBS |
5452 LIBS="-lgtkhtml-2 $LIBS" | 5658 LIBS="-lgtkhtml-2 $LIBS" |
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5477 conftest$ac_exeext conftest.$ac_ext | 5683 conftest$ac_exeext conftest.$ac_ext |
5478 LIBS=$ac_check_lib_save_LIBS | 5684 LIBS=$ac_check_lib_save_LIBS |
5479 fi | 5685 fi |
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 | 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 |
5481 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } | 5687 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } |
5482 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = xyes; then : | 5688 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = x""yes; then : |
5483 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h | 5689 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h |
5484 | 5690 |
5485 else | 5691 else |
5486 BROWSER_OBJECT="" | 5692 BROWSER_OBJECT="" |
5487 fi | 5693 fi |
5488 | 5694 |
5489 else | 5695 else |
5490 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | 5696 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | 5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
5492 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } | 5698 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } |
5493 if eval \${$as_ac_Lib+:} false; then : | 5699 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5494 $as_echo_n "(cached) " >&6 | 5700 $as_echo_n "(cached) " >&6 |
5495 else | 5701 else |
5496 ac_check_lib_save_LIBS=$LIBS | 5702 ac_check_lib_save_LIBS=$LIBS |
5497 LIBS="-l$WEBKIT_LIB $LIBS" | 5703 LIBS="-l$WEBKIT_LIB $LIBS" |
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5523 LIBS=$ac_check_lib_save_LIBS | 5729 LIBS=$ac_check_lib_save_LIBS |
5524 fi | 5730 fi |
5525 eval ac_res=\$$as_ac_Lib | 5731 eval ac_res=\$$as_ac_Lib |
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5527 $as_echo "$ac_res" >&6; } | 5733 $as_echo "$ac_res" >&6; } |
5528 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5734 eval as_val=\$$as_ac_Lib |
5735 if test "x$as_val" = x""yes; then : | |
5529 $as_echo "#define USE_WEBKIT 1" >>confdefs.h | 5736 $as_echo "#define USE_WEBKIT 1" >>confdefs.h |
5530 | 5737 |
5531 else | 5738 else |
5532 BROWSER_OBJECT="" | 5739 BROWSER_OBJECT="" |
5533 fi | 5740 fi |
5535 BROWSER_OBJECT="" | 5742 BROWSER_OBJECT="" |
5536 fi | 5743 fi |
5537 LIBS="$SAVE_LIBS" | 5744 LIBS="$SAVE_LIBS" |
5538 fi | 5745 fi |
5539 | 5746 |
5540 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5747 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS $PLATLIBS" |
5541 | 5748 |
5542 RM="rm -f" | 5749 RM="rm -f" |
5543 LN="ln -s" | 5750 LN="ln -s" |
5544 CP="cp" | 5751 CP="cp" |
5545 MV="mv" | 5752 MV="mv" |
5546 MKDIR="mkdir" | 5753 MKDIR="mkdir" |
5754 | |
5755 | |
5756 | |
5757 | |
5758 | |
5759 | |
5760 | |
5761 | |
5547 | 5762 |
5548 | 5763 |
5549 | 5764 |
5550 | 5765 |
5551 | 5766 |
5629 t end | 5844 t end |
5630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 5845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5631 :end' >>confcache | 5846 :end' >>confcache |
5632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 5847 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5633 if test -w "$cache_file"; then | 5848 if test -w "$cache_file"; then |
5634 if test "x$cache_file" != "x/dev/null"; then | 5849 test "x$cache_file" != "x/dev/null" && |
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 5850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5636 $as_echo "$as_me: updating cache $cache_file" >&6;} | 5851 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5637 if test ! -f "$cache_file" || test -h "$cache_file"; then | 5852 cat confcache >$cache_file |
5638 cat confcache >"$cache_file" | |
5639 else | |
5640 case $cache_file in #( | |
5641 */* | ?:*) | |
5642 mv -f confcache "$cache_file"$$ && | |
5643 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
5644 *) | |
5645 mv -f confcache "$cache_file" ;; | |
5646 esac | |
5647 fi | |
5648 fi | |
5649 else | 5853 else |
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 5854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 5855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5652 fi | 5856 fi |
5653 fi | 5857 fi |
5659 | 5863 |
5660 DEFS=-DHAVE_CONFIG_H | 5864 DEFS=-DHAVE_CONFIG_H |
5661 | 5865 |
5662 ac_libobjs= | 5866 ac_libobjs= |
5663 ac_ltlibobjs= | 5867 ac_ltlibobjs= |
5664 U= | |
5665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 5868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5666 # 1. Remove the extension, and $U if already installed. | 5869 # 1. Remove the extension, and $U if already installed. |
5667 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 5870 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5668 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 5871 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
5669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 5872 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5675 | 5878 |
5676 LTLIBOBJS=$ac_ltlibobjs | 5879 LTLIBOBJS=$ac_ltlibobjs |
5677 | 5880 |
5678 | 5881 |
5679 | 5882 |
5680 : "${CONFIG_STATUS=./config.status}" | 5883 : ${CONFIG_STATUS=./config.status} |
5681 ac_write_fail=0 | 5884 ac_write_fail=0 |
5682 ac_clean_files_save=$ac_clean_files | 5885 ac_clean_files_save=$ac_clean_files |
5683 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 5886 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 5887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5685 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 5888 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5776 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 5979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
5777 # splitting by setting IFS to empty value.) | 5980 # splitting by setting IFS to empty value.) |
5778 IFS=" "" $as_nl" | 5981 IFS=" "" $as_nl" |
5779 | 5982 |
5780 # Find who we are. Look in the path if we contain no directory separator. | 5983 # Find who we are. Look in the path if we contain no directory separator. |
5781 as_myself= | |
5782 case $0 in #(( | 5984 case $0 in #(( |
5783 *[\\/]* ) as_myself=$0 ;; | 5985 *[\\/]* ) as_myself=$0 ;; |
5784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5986 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5785 for as_dir in $PATH | 5987 for as_dir in $PATH |
5786 do | 5988 do |
5822 | 6024 |
5823 # CDPATH. | 6025 # CDPATH. |
5824 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 6026 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
5825 | 6027 |
5826 | 6028 |
5827 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 6029 # as_fn_error ERROR [LINENO LOG_FD] |
5828 # ---------------------------------------- | 6030 # --------------------------------- |
5829 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 6031 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
5830 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 6032 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
5831 # script with STATUS, using 1 if that was 0. | 6033 # script with status $?, using 1 if that was 0. |
5832 as_fn_error () | 6034 as_fn_error () |
5833 { | 6035 { |
5834 as_status=$1; test $as_status -eq 0 && as_status=1 | 6036 as_status=$?; test $as_status -eq 0 && as_status=1 |
5835 if test "$4"; then | 6037 if test "$3"; then |
5836 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 6038 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
5837 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 6039 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
5838 fi | 6040 fi |
5839 $as_echo "$as_me: error: $2" >&2 | 6041 $as_echo "$as_me: error: $1" >&2 |
5840 as_fn_exit $as_status | 6042 as_fn_exit $as_status |
5841 } # as_fn_error | 6043 } # as_fn_error |
5842 | 6044 |
5843 | 6045 |
5844 # as_fn_set_status STATUS | 6046 # as_fn_set_status STATUS |
6030 } | 6232 } |
6031 s/.*/./; q'` | 6233 s/.*/./; q'` |
6032 test -d "$as_dir" && break | 6234 test -d "$as_dir" && break |
6033 done | 6235 done |
6034 test -z "$as_dirs" || eval "mkdir $as_dirs" | 6236 test -z "$as_dirs" || eval "mkdir $as_dirs" |
6035 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 6237 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
6036 | 6238 |
6037 | 6239 |
6038 } # as_fn_mkdir_p | 6240 } # as_fn_mkdir_p |
6039 if mkdir -p . 2>/dev/null; then | 6241 if mkdir -p . 2>/dev/null; then |
6040 as_mkdir_p='mkdir -p "$as_dir"' | 6242 as_mkdir_p='mkdir -p "$as_dir"' |
6084 # Save the log message, to keep $0 and so on meaningful, and to | 6286 # Save the log message, to keep $0 and so on meaningful, and to |
6085 # report actual input values of CONFIG_FILES etc. instead of their | 6287 # report actual input values of CONFIG_FILES etc. instead of their |
6086 # values after options handling. | 6288 # values after options handling. |
6087 ac_log=" | 6289 ac_log=" |
6088 This file was extended by $as_me, which was | 6290 This file was extended by $as_me, which was |
6089 generated by GNU Autoconf 2.68. Invocation command line was | 6291 generated by GNU Autoconf 2.65. Invocation command line was |
6090 | 6292 |
6091 CONFIG_FILES = $CONFIG_FILES | 6293 CONFIG_FILES = $CONFIG_FILES |
6092 CONFIG_HEADERS = $CONFIG_HEADERS | 6294 CONFIG_HEADERS = $CONFIG_HEADERS |
6093 CONFIG_LINKS = $CONFIG_LINKS | 6295 CONFIG_LINKS = $CONFIG_LINKS |
6094 CONFIG_COMMANDS = $CONFIG_COMMANDS | 6296 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6146 _ACEOF | 6348 _ACEOF |
6147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 6350 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6149 ac_cs_version="\\ | 6351 ac_cs_version="\\ |
6150 config.status | 6352 config.status |
6151 configured by $0, generated by GNU Autoconf 2.68, | 6353 configured by $0, generated by GNU Autoconf 2.65, |
6152 with options \\"\$ac_cs_config\\" | 6354 with options \\"\$ac_cs_config\\" |
6153 | 6355 |
6154 Copyright (C) 2010 Free Software Foundation, Inc. | 6356 Copyright (C) 2009 Free Software Foundation, Inc. |
6155 This config.status script is free software; the Free Software Foundation | 6357 This config.status script is free software; the Free Software Foundation |
6156 gives unlimited permission to copy, distribute and modify it." | 6358 gives unlimited permission to copy, distribute and modify it." |
6157 | 6359 |
6158 ac_pwd='$ac_pwd' | 6360 ac_pwd='$ac_pwd' |
6159 srcdir='$srcdir' | 6361 srcdir='$srcdir' |
6165 # The default lists apply if the user does not specify any file. | 6367 # The default lists apply if the user does not specify any file. |
6166 ac_need_defaults=: | 6368 ac_need_defaults=: |
6167 while test $# != 0 | 6369 while test $# != 0 |
6168 do | 6370 do |
6169 case $1 in | 6371 case $1 in |
6170 --*=?*) | 6372 --*=*) |
6171 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 6373 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
6172 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 6374 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
6173 ac_shift=: | |
6174 ;; | |
6175 --*=) | |
6176 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6177 ac_optarg= | |
6178 ac_shift=: | 6375 ac_shift=: |
6179 ;; | 6376 ;; |
6180 *) | 6377 *) |
6181 ac_option=$1 | 6378 ac_option=$1 |
6182 ac_optarg=$2 | 6379 ac_optarg=$2 |
6196 debug=: ;; | 6393 debug=: ;; |
6197 --file | --fil | --fi | --f ) | 6394 --file | --fil | --fi | --f ) |
6198 $ac_shift | 6395 $ac_shift |
6199 case $ac_optarg in | 6396 case $ac_optarg in |
6200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 6397 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
6201 '') as_fn_error $? "missing file argument" ;; | |
6202 esac | 6398 esac |
6203 as_fn_append CONFIG_FILES " '$ac_optarg'" | 6399 as_fn_append CONFIG_FILES " '$ac_optarg'" |
6204 ac_need_defaults=false;; | 6400 ac_need_defaults=false;; |
6205 --header | --heade | --head | --hea ) | 6401 --header | --heade | --head | --hea ) |
6206 $ac_shift | 6402 $ac_shift |
6209 esac | 6405 esac |
6210 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 6406 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6211 ac_need_defaults=false;; | 6407 ac_need_defaults=false;; |
6212 --he | --h) | 6408 --he | --h) |
6213 # Conflict between --help and --header | 6409 # Conflict between --help and --header |
6214 as_fn_error $? "ambiguous option: \`$1' | 6410 as_fn_error "ambiguous option: \`$1' |
6215 Try \`$0 --help' for more information.";; | 6411 Try \`$0 --help' for more information.";; |
6216 --help | --hel | -h ) | 6412 --help | --hel | -h ) |
6217 $as_echo "$ac_cs_usage"; exit ;; | 6413 $as_echo "$ac_cs_usage"; exit ;; |
6218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 6414 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6219 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 6415 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6220 ac_cs_silent=: ;; | 6416 ac_cs_silent=: ;; |
6221 | 6417 |
6222 # This is an error. | 6418 # This is an error. |
6223 -*) as_fn_error $? "unrecognized option: \`$1' | 6419 -*) as_fn_error "unrecognized option: \`$1' |
6224 Try \`$0 --help' for more information." ;; | 6420 Try \`$0 --help' for more information." ;; |
6225 | 6421 |
6226 *) as_fn_append ac_config_targets " $1" | 6422 *) as_fn_append ac_config_targets " $1" |
6227 ac_need_defaults=false ;; | 6423 ac_need_defaults=false ;; |
6228 | 6424 |
6271 case $ac_config_target in | 6467 case $ac_config_target in |
6272 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 6468 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
6273 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 6469 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
6274 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | 6470 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; |
6275 | 6471 |
6276 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 6472 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6277 esac | 6473 esac |
6278 done | 6474 done |
6279 | 6475 |
6280 | 6476 |
6281 # If the user did not use the arguments to specify the items to instantiate, | 6477 # If the user did not use the arguments to specify the items to instantiate, |
6293 # Hook for its removal unless debugging. | 6489 # Hook for its removal unless debugging. |
6294 # Note that there is a small window in which the directory will not be cleaned: | 6490 # Note that there is a small window in which the directory will not be cleaned: |
6295 # after its creation but before its name has been assigned to `$tmp'. | 6491 # after its creation but before its name has been assigned to `$tmp'. |
6296 $debug || | 6492 $debug || |
6297 { | 6493 { |
6298 tmp= ac_tmp= | 6494 tmp= |
6299 trap 'exit_status=$? | 6495 trap 'exit_status=$? |
6300 : "${ac_tmp:=$tmp}" | 6496 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
6301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
6302 ' 0 | 6497 ' 0 |
6303 trap 'as_fn_exit 1' 1 2 13 15 | 6498 trap 'as_fn_exit 1' 1 2 13 15 |
6304 } | 6499 } |
6305 # Create a (secure) tmp directory for tmp files. | 6500 # Create a (secure) tmp directory for tmp files. |
6306 | 6501 |
6307 { | 6502 { |
6308 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 6503 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6309 test -d "$tmp" | 6504 test -n "$tmp" && test -d "$tmp" |
6310 } || | 6505 } || |
6311 { | 6506 { |
6312 tmp=./conf$$-$RANDOM | 6507 tmp=./conf$$-$RANDOM |
6313 (umask 077 && mkdir "$tmp") | 6508 (umask 077 && mkdir "$tmp") |
6314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 6509 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
6315 ac_tmp=$tmp | |
6316 | 6510 |
6317 # Set up the scripts for CONFIG_FILES section. | 6511 # Set up the scripts for CONFIG_FILES section. |
6318 # No need to generate them if there are no CONFIG_FILES. | 6512 # No need to generate them if there are no CONFIG_FILES. |
6319 # This happens for instance with `./config.status config.h'. | 6513 # This happens for instance with `./config.status config.h'. |
6320 if test -n "$CONFIG_FILES"; then | 6514 if test -n "$CONFIG_FILES"; then |
6327 if test "x$ac_cr" = x; then | 6521 if test "x$ac_cr" = x; then |
6328 eval ac_cr=\$\'\\r\' | 6522 eval ac_cr=\$\'\\r\' |
6329 fi | 6523 fi |
6330 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 6524 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6331 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 6525 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6332 ac_cs_awk_cr='\\r' | 6526 ac_cs_awk_cr='\r' |
6333 else | 6527 else |
6334 ac_cs_awk_cr=$ac_cr | 6528 ac_cs_awk_cr=$ac_cr |
6335 fi | 6529 fi |
6336 | 6530 |
6337 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 6531 echo 'BEGIN {' >"$tmp/subs1.awk" && |
6338 _ACEOF | 6532 _ACEOF |
6339 | 6533 |
6340 | 6534 |
6341 { | 6535 { |
6342 echo "cat >conf$$subs.awk <<_ACEOF" && | 6536 echo "cat >conf$$subs.awk <<_ACEOF" && |
6343 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 6537 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6344 echo "_ACEOF" | 6538 echo "_ACEOF" |
6345 } >conf$$subs.sh || | 6539 } >conf$$subs.sh || |
6346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 6540 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6347 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 6541 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
6348 ac_delim='%!_!# ' | 6542 ac_delim='%!_!# ' |
6349 for ac_last_try in false false false false false :; do | 6543 for ac_last_try in false false false false false :; do |
6350 . ./conf$$subs.sh || | 6544 . ./conf$$subs.sh || |
6351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 6545 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6352 | 6546 |
6353 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 6547 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6354 if test $ac_delim_n = $ac_delim_num; then | 6548 if test $ac_delim_n = $ac_delim_num; then |
6355 break | 6549 break |
6356 elif $ac_last_try; then | 6550 elif $ac_last_try; then |
6357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 6551 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
6358 else | 6552 else |
6359 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6360 fi | 6554 fi |
6361 done | 6555 done |
6362 rm -f conf$$subs.sh | 6556 rm -f conf$$subs.sh |
6363 | 6557 |
6364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6365 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 6559 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
6366 _ACEOF | 6560 _ACEOF |
6367 sed -n ' | 6561 sed -n ' |
6368 h | 6562 h |
6369 s/^/S["/; s/!.*/"]=/ | 6563 s/^/S["/; s/!.*/"]=/ |
6370 p | 6564 p |
6408 } | 6602 } |
6409 ' >>$CONFIG_STATUS || ac_write_fail=1 | 6603 ' >>$CONFIG_STATUS || ac_write_fail=1 |
6410 rm -f conf$$subs.awk | 6604 rm -f conf$$subs.awk |
6411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6412 _ACAWK | 6606 _ACAWK |
6413 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 6607 cat >>"\$tmp/subs1.awk" <<_ACAWK && |
6414 for (key in S) S_is_set[key] = 1 | 6608 for (key in S) S_is_set[key] = 1 |
6415 FS = "" | 6609 FS = "" |
6416 | 6610 |
6417 } | 6611 } |
6418 { | 6612 { |
6440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6441 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 6635 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6442 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 6636 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6443 else | 6637 else |
6444 cat | 6638 cat |
6445 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 6639 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
6446 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 6640 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
6447 _ACEOF | 6641 _ACEOF |
6448 | 6642 |
6449 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 6643 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
6450 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 6644 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
6451 # trailing colons and then remove the whole line if VPATH becomes empty | 6645 # trailing colons and then remove the whole line if VPATH becomes empty |
6452 # (actually we leave an empty line to preserve line numbers). | 6646 # (actually we leave an empty line to preserve line numbers). |
6453 if test "x$srcdir" = x.; then | 6647 if test "x$srcdir" = x.; then |
6454 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 6648 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6455 h | 6649 s/:*\$(srcdir):*/:/ |
6456 s/// | 6650 s/:*\${srcdir}:*/:/ |
6457 s/^/:/ | 6651 s/:*@srcdir@:*/:/ |
6458 s/[ ]*$/:/ | 6652 s/^\([^=]*=[ ]*\):*/\1/ |
6459 s/:\$(srcdir):/:/g | |
6460 s/:\${srcdir}:/:/g | |
6461 s/:@srcdir@:/:/g | |
6462 s/^:*// | |
6463 s/:*$// | 6653 s/:*$// |
6464 x | |
6465 s/\(=[ ]*\).*/\1/ | |
6466 G | |
6467 s/\n// | |
6468 s/^[^=]*=[ ]*$// | 6654 s/^[^=]*=[ ]*$// |
6469 }' | 6655 }' |
6470 fi | 6656 fi |
6471 | 6657 |
6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6474 | 6660 |
6475 # Set up the scripts for CONFIG_HEADERS section. | 6661 # Set up the scripts for CONFIG_HEADERS section. |
6476 # No need to generate them if there are no CONFIG_HEADERS. | 6662 # No need to generate them if there are no CONFIG_HEADERS. |
6477 # This happens for instance with `./config.status Makefile'. | 6663 # This happens for instance with `./config.status Makefile'. |
6478 if test -n "$CONFIG_HEADERS"; then | 6664 if test -n "$CONFIG_HEADERS"; then |
6479 cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 6665 cat >"$tmp/defines.awk" <<\_ACAWK || |
6480 BEGIN { | 6666 BEGIN { |
6481 _ACEOF | 6667 _ACEOF |
6482 | 6668 |
6483 # Transform confdefs.h into an awk script `defines.awk', embedded as | 6669 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6484 # here-document in config.status, that substitutes the proper values into | 6670 # here-document in config.status, that substitutes the proper values into |
6486 | 6672 |
6487 # Create a delimiter string that does not exist in confdefs.h, to ease | 6673 # Create a delimiter string that does not exist in confdefs.h, to ease |
6488 # handling of long lines. | 6674 # handling of long lines. |
6489 ac_delim='%!_!# ' | 6675 ac_delim='%!_!# ' |
6490 for ac_last_try in false false :; do | 6676 for ac_last_try in false false :; do |
6491 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 6677 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
6492 if test -z "$ac_tt"; then | 6678 if test -z "$ac_t"; then |
6493 break | 6679 break |
6494 elif $ac_last_try; then | 6680 elif $ac_last_try; then |
6495 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 6681 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6496 else | 6682 else |
6497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6683 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6498 fi | 6684 fi |
6499 done | 6685 done |
6500 | 6686 |
6575 } | 6761 } |
6576 { print } | 6762 { print } |
6577 _ACAWK | 6763 _ACAWK |
6578 _ACEOF | 6764 _ACEOF |
6579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6580 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 6766 as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
6581 fi # test -n "$CONFIG_HEADERS" | 6767 fi # test -n "$CONFIG_HEADERS" |
6582 | 6768 |
6583 | 6769 |
6584 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | 6770 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
6585 shift | 6771 shift |
6588 case $ac_tag in | 6774 case $ac_tag in |
6589 :[FHLC]) ac_mode=$ac_tag; continue;; | 6775 :[FHLC]) ac_mode=$ac_tag; continue;; |
6590 esac | 6776 esac |
6591 case $ac_mode$ac_tag in | 6777 case $ac_mode$ac_tag in |
6592 :[FHL]*:*);; | 6778 :[FHL]*:*);; |
6593 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 6779 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
6594 :[FH]-) ac_tag=-:-;; | 6780 :[FH]-) ac_tag=-:-;; |
6595 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 6781 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
6596 esac | 6782 esac |
6597 ac_save_IFS=$IFS | 6783 ac_save_IFS=$IFS |
6598 IFS=: | 6784 IFS=: |
6607 :[FH]) | 6793 :[FH]) |
6608 ac_file_inputs= | 6794 ac_file_inputs= |
6609 for ac_f | 6795 for ac_f |
6610 do | 6796 do |
6611 case $ac_f in | 6797 case $ac_f in |
6612 -) ac_f="$ac_tmp/stdin";; | 6798 -) ac_f="$tmp/stdin";; |
6613 *) # Look for the file first in the build tree, then in the source tree | 6799 *) # Look for the file first in the build tree, then in the source tree |
6614 # (if the path is not absolute). The absolute path cannot be DOS-style, | 6800 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6615 # because $ac_f cannot contain `:'. | 6801 # because $ac_f cannot contain `:'. |
6616 test -f "$ac_f" || | 6802 test -f "$ac_f" || |
6617 case $ac_f in | 6803 case $ac_f in |
6618 [\\/$]*) false;; | 6804 [\\/$]*) false;; |
6619 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 6805 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6620 esac || | 6806 esac || |
6621 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 6807 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6622 esac | 6808 esac |
6623 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 6809 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6624 as_fn_append ac_file_inputs " '$ac_f'" | 6810 as_fn_append ac_file_inputs " '$ac_f'" |
6625 done | 6811 done |
6626 | 6812 |
6642 sed 's/[\\\\&|]/\\\\&/g'`;; #( | 6828 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
6643 *) ac_sed_conf_input=$configure_input;; | 6829 *) ac_sed_conf_input=$configure_input;; |
6644 esac | 6830 esac |
6645 | 6831 |
6646 case $ac_tag in | 6832 case $ac_tag in |
6647 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 6833 *:-:* | *:-) cat >"$tmp/stdin" \ |
6648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 6834 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
6649 esac | 6835 esac |
6650 ;; | 6836 ;; |
6651 esac | 6837 esac |
6652 | 6838 |
6653 ac_dir=`$as_dirname -- "$ac_file" || | 6839 ac_dir=`$as_dirname -- "$ac_file" || |
6773 s&@abs_builddir@&$ac_abs_builddir&;t t | 6959 s&@abs_builddir@&$ac_abs_builddir&;t t |
6774 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 6960 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6775 s&@INSTALL@&$ac_INSTALL&;t t | 6961 s&@INSTALL@&$ac_INSTALL&;t t |
6776 $ac_datarootdir_hack | 6962 $ac_datarootdir_hack |
6777 " | 6963 " |
6778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 6964 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
6779 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6965 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6780 | 6966 |
6781 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 6967 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6782 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 6968 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
6783 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | 6969 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
6784 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6786 which seems to be undefined. Please make sure it is defined" >&5 | 6971 which seems to be undefined. Please make sure it is defined." >&5 |
6787 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6972 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6788 which seems to be undefined. Please make sure it is defined" >&2;} | 6973 which seems to be undefined. Please make sure it is defined." >&2;} |
6789 | 6974 |
6790 rm -f "$ac_tmp/stdin" | 6975 rm -f "$tmp/stdin" |
6791 case $ac_file in | 6976 case $ac_file in |
6792 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 6977 -) cat "$tmp/out" && rm -f "$tmp/out";; |
6793 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 6978 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
6794 esac \ | 6979 esac \ |
6795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6980 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6796 ;; | 6981 ;; |
6797 :H) | 6982 :H) |
6798 # | 6983 # |
6799 # CONFIG_HEADER | 6984 # CONFIG_HEADER |
6800 # | 6985 # |
6801 if test x"$ac_file" != x-; then | 6986 if test x"$ac_file" != x-; then |
6802 { | 6987 { |
6803 $as_echo "/* $configure_input */" \ | 6988 $as_echo "/* $configure_input */" \ |
6804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 6989 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
6805 } >"$ac_tmp/config.h" \ | 6990 } >"$tmp/config.h" \ |
6806 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6991 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6807 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | 6992 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 6993 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
6809 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 6994 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
6810 else | 6995 else |
6811 rm -f "$ac_file" | 6996 rm -f "$ac_file" |
6812 mv "$ac_tmp/config.h" "$ac_file" \ | 6997 mv "$tmp/config.h" "$ac_file" \ |
6813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6998 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6814 fi | 6999 fi |
6815 else | 7000 else |
6816 $as_echo "/* $configure_input */" \ | 7001 $as_echo "/* $configure_input */" \ |
6817 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 7002 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
6818 || as_fn_error $? "could not create -" "$LINENO" 5 | 7003 || as_fn_error "could not create -" "$LINENO" 5 |
6819 fi | 7004 fi |
6820 ;; | 7005 ;; |
6821 | 7006 |
6822 | 7007 |
6823 esac | 7008 esac |
6828 as_fn_exit 0 | 7013 as_fn_exit 0 |
6829 _ACEOF | 7014 _ACEOF |
6830 ac_clean_files=$ac_clean_files_save | 7015 ac_clean_files=$ac_clean_files_save |
6831 | 7016 |
6832 test $ac_write_fail = 0 || | 7017 test $ac_write_fail = 0 || |
6833 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 7018 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
6834 | 7019 |
6835 | 7020 |
6836 # configure is writing to config.log, and then calls config.status. | 7021 # configure is writing to config.log, and then calls config.status. |
6837 # config.status does its own redirection, appending to config.log. | 7022 # config.status does its own redirection, appending to config.log. |
6838 # Unfortunately, on DOS this fails, as config.log is still kept open | 7023 # Unfortunately, on DOS this fails, as config.log is still kept open |
6849 exec 5>/dev/null | 7034 exec 5>/dev/null |
6850 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 7035 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6851 exec 5>>config.log | 7036 exec 5>>config.log |
6852 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 7037 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6853 # would make configure fail if this is the last instruction. | 7038 # would make configure fail if this is the last instruction. |
6854 $ac_cs_success || as_fn_exit 1 | 7039 $ac_cs_success || as_fn_exit $? |
6855 fi | 7040 fi |
6856 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 7041 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
6858 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 7043 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6859 fi | 7044 fi |